/* Corpfront components — EVE interface styling. Tokens live in fonts.css. */
.cf {
	--cf-accent: #ff6a00;
	--c-void: var(--nx-void, #0a0f16);
	--c-hull: var(--nx-hull, #111a25);
	--c-plate: var(--nx-plate, #182433);
	--c-plate-2: var(--nx-plate-2, #1e2c3d);
	--c-frame: var(--nx-frame, #2a3a4d);
	--c-text: var(--nx-text, #d6dee8);
	--c-muted: var(--nx-muted, #8a99ab);
	--c-kill: var(--nx-kill, #3ecf8e);
	--c-loss: var(--nx-loss, #ff4f5e);
	--c-hud: var(--nx-hud, "Rajdhani", system-ui, sans-serif);
	--c-body: var(--nx-body, "Barlow", system-ui, sans-serif);
	--c-cut: 14px;
	color: var(--c-text);
	font-family: var(--c-body);
	font-size: 17px;
	line-height: 1.55;
}
.cf *, .cf *::before, .cf *::after { box-sizing: border-box; }
.cf img { display: block; max-width: none; height: auto; border: 0; overflow: hidden; color: transparent; font-size: 0; }
.cf a { color: var(--cf-accent); text-decoration: none; }
.cf h1, .cf h2, .cf h3 { color: #fff; margin: 0; font-family: var(--c-hud); font-weight: 700; letter-spacing: .005em; line-height: 1.05; }
.cf h2 { font-size: 2em; margin-bottom: 14px; }
.cf h3 { font-size: 1.35em; margin-bottom: 10px; }
.cf p { margin: 0 0 1em; }
.cf :focus-visible { outline: 2px solid var(--cf-accent); outline-offset: 3px; }
.cf-muted { color: var(--c-muted); }
.cf-good { color: var(--c-kill) !important; }
.cf-bad { color: var(--c-loss) !important; }

/* Chamfered frame: outer layer is the line, ::before is the fill. */
.cf-frame, .cf-card, .cf-readout, .cf-pilot, .cf-cta, .cf-kill {
	position: relative;
	background: var(--c-frame);
	clip-path: polygon(var(--c-cut) 0, 100% 0, 100% calc(100% - var(--c-cut)), calc(100% - var(--c-cut)) 100%, 0 100%, 0 var(--c-cut));
}
.cf-frame::before, .cf-card::before, .cf-readout::before, .cf-pilot::before, .cf-cta::before, .cf-kill::before {
	content: ""; position: absolute; inset: 1px; z-index: 0; background: var(--c-hull);
	clip-path: polygon(calc(var(--c-cut) - .4px) 0, 100% 0, 100% calc(100% - var(--c-cut) + .4px), calc(100% - var(--c-cut) + .4px) 100%, 0 100%, 0 calc(var(--c-cut) - .4px));
}
.cf-frame > *, .cf-card > *, .cf-readout > *, .cf-pilot > *, .cf-cta > *, .cf-kill > * { position: relative; z-index: 1; }
.cf-card { padding: 24px; }

.cf-btn {
	display: inline-flex; align-items: center; font-family: var(--c-hud); font-weight: 700; font-size: 1.12em; letter-spacing: .03em;
	background: var(--cf-accent); color: #160a00 !important; padding: 11px 26px; border: 0; cursor: pointer; line-height: 1.2;
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.cf-btn:hover { filter: brightness(1.12); }
.cf-btn.cf-ghost { background: var(--c-plate-2); color: #fff !important; }
.cf-btn.cf-ghost:hover { background: var(--c-frame); }

/* ---------- Home ---------- */
.cf-hero {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); gap: 40px; align-items: center;
	padding: 56px 0 44px;
}
.cf-title { font-size: clamp(2.6em, 6.5vw, 5.2em); }
.cf-ticker { display: block; font-size: .36em; color: var(--c-muted); font-weight: 600; letter-spacing: .08em; margin-top: 10px; }
.cf-tagline { font-size: 1.3em; color: var(--c-text); max-width: 34ch; margin: 22px 0 30px !important; line-height: 1.4; }
.cf-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cf-member-of { display: flex; align-items: center; gap: 10px; color: var(--c-muted); font-size: .92em; margin: 26px 0 0 !important; }
.cf-member-of img { width: 28px; height: 28px; }

.cf-reticle { position: relative; width: min(100%, 340px); aspect-ratio: 1; justify-self: center; color: var(--c-frame); }
.cf-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cf-ring-outer { color: var(--c-muted); opacity: .55; }
.cf-ring-inner { color: var(--cf-accent); animation: cf-turn 40s linear infinite; }
.cf-hero-logo {
	position: absolute; inset: 22%; width: 56%; height: 56%;
	background: var(--c-hull); box-shadow: 0 0 0 1px var(--c-frame), 0 0 60px color-mix(in srgb, var(--cf-accent) 25%, transparent);
}
@keyframes cf-turn { to { transform: rotate(360deg); } }

.cf-readout { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 64px; }
.cf-readout > div { padding: 20px 24px; border-left: 1px solid var(--c-frame); }
.cf-readout > div:first-child { border-left: 0; }
.cf-readout dt { font-size: .88em; color: var(--c-muted); }
.cf-readout dd { margin: 0; font-family: var(--c-hud); font-weight: 700; font-size: 2.4em; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }

.cf-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; margin-bottom: 64px; }
.cf-split p { max-width: 64ch; }
.cf-ticks { list-style: none; margin: 0; padding: 0; }
.cf-ticks li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--c-frame); }
.cf-ticks li:last-child { border-bottom: 0; }
.cf-ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 2px; background: var(--cf-accent); }

.cf-sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cf-sechead a { font-family: var(--c-hud); font-weight: 700; font-size: 1.1em; }
.cf-latest { margin-bottom: 64px; }
.cf-kills { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cf-kill { display: flex; flex-direction: column; gap: 2px; padding: 14px; color: var(--c-text) !important; }
.cf-kill img { width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 10px; background: #000; }
.cf-kill:hover::before { background: var(--c-plate); }
.cf-kill-ship { font-family: var(--c-hud); font-weight: 700; font-size: 1.15em; color: #fff; }
.cf-kill-who { color: var(--c-muted); font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-kill-isk { font-family: var(--c-hud); color: var(--cf-accent); font-weight: 700; font-size: 1.05em; margin-top: 4px; }

.cf-cta { padding: 44px 40px; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
.cf-cta::before { background: linear-gradient(110deg, color-mix(in srgb, var(--cf-accent) 22%, var(--c-hull)), var(--c-hull) 55%); }
.cf-cta h2 { margin: 0; grid-column: 1; }
.cf-cta p { color: var(--c-text); margin: 0 !important; grid-column: 1; }
.cf-cta .cf-btn { grid-column: 2; grid-row: 1 / 3; }

/* ---------- Page header ---------- */
.cf-pagehead { margin: 20px 0 36px; }
.cf-pagehead .cf-title { font-size: clamp(2.4em, 5vw, 3.8em); }
.cf-lead { font-size: 1.15em; color: var(--c-muted); max-width: 62ch; margin-top: 14px !important; }
.cf-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--c-hud); font-weight: 700; color: var(--c-kill); margin-bottom: 10px !important; }
.cf-status span { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-kill) 22%, transparent); }

/* ---------- Recruitment ---------- */
.cf-recruit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.cf-recruit-info { display: flex; flex-direction: column; gap: 20px; }
.cf-contact dl { margin: 0 0 18px; display: grid; gap: 12px; }
.cf-contact dt { font-size: .85em; color: var(--c-muted); }
.cf-contact dd { margin: 0; color: #fff; font-weight: 600; }
.cf-apply { position: sticky; top: 24px; }
.cf-form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: .95em; }
.cf-form label span { color: var(--c-muted); font-weight: 500; }
.cf-form input, .cf-form select, .cf-form textarea {
	width: 100%; background: var(--c-void); color: #fff; border: 1px solid var(--c-frame); border-radius: 0;
	padding: 11px 13px; font: inherit; font-size: 1em;
}
.cf-form input:focus, .cf-form select:focus, .cf-form textarea:focus { outline: none; border-color: var(--cf-accent); box-shadow: inset 3px 0 0 var(--cf-accent); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-msg { padding: 12px 14px; font-weight: 600; border-left: 3px solid currentColor; }
.cf-ok { background: color-mix(in srgb, var(--c-kill) 12%, transparent); color: var(--c-kill); }
.cf-err { background: color-mix(in srgb, var(--c-loss) 12%, transparent); color: var(--c-loss); }

/* ---------- Roster ---------- */
.cf-pilots { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cf-pilot { padding: 0 0 16px; display: flex; flex-direction: column; }
.cf-pilot img { width: 100%; height: auto; aspect-ratio: 1; background: var(--c-void); margin-bottom: 12px; }
.cf-pilot h3 { font-size: 1.3em; margin: 0 16px 2px; }
.cf-role { font-family: var(--c-hud); font-weight: 600; color: var(--c-muted); margin: 0 16px 14px !important; }
.cf-ceo .cf-role { color: var(--cf-accent); }
.cf-ceo::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 3px; background: var(--cf-accent); }
.cf-awol { opacity: .5; }
.cf-awol .cf-role { color: var(--c-loss); }
.cf-pstats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 16px 10px; }
.cf-pstats dt { font-size: .78em; color: var(--c-muted); }
.cf-pstats dd { margin: 0; font-family: var(--c-hud); font-weight: 700; font-size: 1.35em; color: #fff; font-variant-numeric: tabular-nums; }
.cf-effbar { display: block; height: 3px; margin: 0 16px; background: var(--c-loss); overflow: hidden; }
.cf-effbar span { display: block; height: 100%; background: var(--c-kill); }
.cf-born { font-size: .82em; margin: 10px 16px 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.cf-hero { grid-template-columns: 1fr; padding: 28px 0; gap: 28px; }
	.cf-reticle { width: 220px; justify-self: start; grid-row: 1; }
	.cf-readout { grid-template-columns: repeat(2, 1fr); }
	.cf-readout > div:nth-child(3) { border-left: 0; }
	.cf-readout > div:nth-child(n+3) { border-top: 1px solid var(--c-frame); }
	.cf-split, .cf-recruit-grid { grid-template-columns: 1fr; gap: 32px; }
	.cf-apply { position: static; }
	.cf-cta { grid-template-columns: 1fr; }
	.cf-cta .cf-btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
}
@media (max-width: 560px) {
	.cf { font-size: 16px; }
	.cf-reticle { width: 170px; }
	.cf-readout dd { font-size: 1.9em; }
	.cf-readout > div { padding: 14px 16px; }
	.cf-grid { grid-template-columns: 1fr; }
	.cf-kills, .cf-pilots { grid-template-columns: repeat(2, 1fr); }
	.cf-pilot h3 { font-size: 1.1em; margin: 0 10px 2px; }
	.cf-role, .cf-pstats, .cf-born { margin-left: 10px !important; margin-right: 10px !important; }
	.cf-effbar { margin: 0 10px; }
	.cf-cta { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.cf-ring-inner { animation: none; }
}

/* ---------- 1.2: banner, social, honours, profiles, news, timeline ---------- */
.cf-hero.cf-has-banner {
	position: relative; padding: 72px 48px 60px; margin-bottom: 18px;
	background: linear-gradient(90deg, rgba(10, 15, 22, .94) 0%, rgba(10, 15, 22, .72) 50%, rgba(10, 15, 22, .3) 100%), var(--cf-banner) center / cover no-repeat;
	clip-path: polygon(var(--c-cut) 0, 100% 0, 100% calc(100% - var(--c-cut)), calc(100% - var(--c-cut)) 100%, 0 100%, 0 var(--c-cut));
	box-shadow: inset 0 0 0 1px var(--c-frame);
}
/* Full width: the banner breaks out of the page column, its content stays aligned with it. */
.cf-hero.cf-has-banner {
	width: 100vw; max-width: none;
	margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%);
	clip-path: none; box-shadow: inset 0 -1px 0 var(--c-frame), inset 0 1px 0 var(--c-frame);
	min-height: 440px;
}
html:has(.cf-has-banner), body:has(.cf-has-banner) { overflow-x: clip; }
.cf-has-banner .cf-reticle { color: rgba(255, 255, 255, .25); }
.cf-has-banner .cf-tagline { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }

.cf-social { display: inline-flex; gap: 6px; align-items: center; }
.cf-social a { display: grid; place-items: center; width: 42px; height: 42px; background: var(--c-plate-2, #1e2c3d); color: var(--c-text, #d6dee8) !important; transition: background .15s, color .15s; }
.cf-social a:hover { background: var(--cf-accent); color: #160a00 !important; }
.cf-social-hero { margin-left: 6px; }
.cf-social-nav { margin-left: 14px; }
.cf-social-nav a { width: 34px; height: 34px; background: transparent; color: var(--nx-muted, #8a99ab) !important; }
.cf-social-nav a:hover { background: transparent; color: #fff !important; }
.cf-ico { display: block; }

.cf-honours { margin-bottom: 64px; }
.cf-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cf-award { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--c-frame);
	clip-path: polygon(var(--c-cut) 0, 100% 0, 100% calc(100% - var(--c-cut)), calc(100% - var(--c-cut)) 100%, 0 100%, 0 var(--c-cut)); }
.cf-award::before { content: ""; position: absolute; inset: 1px; background: var(--c-hull); clip-path: inherit; z-index: 0; }
.cf-award > * { position: relative; z-index: 1; }
.cf-medal-svg { flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.cf-award-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cf-award-name { font-family: var(--c-hud); font-weight: 700; font-size: 1.15em; color: #fff; line-height: 1.1; }
.cf-award-who { display: flex; align-items: center; gap: 8px; color: var(--c-text) !important; font-weight: 600; }
.cf-award-who img { width: 24px; height: 24px; }
.cf-award-who:hover { color: var(--cf-accent) !important; }
.cf-award-why { color: var(--c-muted); font-size: .85em; }

.cf-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 12px !important; }
.cf-tags span { font-family: var(--c-hud); font-weight: 600; font-size: .85em; padding: 1px 8px; border: 1px solid var(--c-frame); color: var(--c-text); }
.cf-pilot { color: var(--c-text) !important; text-decoration: none; }
.cf-pilot:hover::before { background: var(--c-plate); }
.cf-pilot .cf-tags { margin: 0 16px 12px !important; }
.cf-ribbons { display: flex; align-items: center; gap: 2px; margin: 12px 16px 0; flex-wrap: wrap; }
.cf-ribbons em { font-style: normal; color: var(--c-muted); font-size: .85em; margin-left: 4px; }

.cf-backnav { margin: 6px 0 22px; }
.cf-backnav a { font-family: var(--c-hud); font-weight: 700; color: var(--c-muted) !important; }
.cf-backnav a:hover { color: #fff !important; }
.cf-prof-head { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-bottom: 22px; }
.cf-prof-pic { width: 220px; height: 220px; background: var(--c-void); box-shadow: 0 0 0 1px var(--c-frame); }
.cf-prof-head.cf-ceo .cf-prof-pic { box-shadow: 0 0 0 3px var(--cf-accent); }
.cf-prof-main .cf-role { margin: 0 0 6px !important; }
.cf-prof-head.cf-ceo .cf-role { color: var(--cf-accent); }
.cf-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 8px 0 0; }
.cf-facts dt { font-size: .85em; color: var(--c-muted); }
.cf-facts dd { margin: 0; font-family: var(--c-hud); font-weight: 700; font-size: 1.2em; color: #fff; }
.cf-favship { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cf-favship img { width: 140px; height: 140px; background: #000; margin-bottom: 8px; }
.cf-favship span { font-size: .85em; color: var(--c-muted); }
.cf-favship b { font-family: var(--c-hud); color: #fff; font-size: 1.15em; }
.cf-readout.cf-readout-5 { grid-template-columns: repeat(5, 1fr); margin-bottom: 32px; }
.cf-prof-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.cf-bio { margin-bottom: 28px; max-width: 70ch; }
.cf-bio h3, .cf-h3 { font-family: var(--c-hud); font-size: 1.35em; color: #fff; margin: 0 0 12px; }
.cf-prof-side { display: flex; flex-direction: column; gap: 16px; }
.cf-medalbox { padding: 20px; }
.cf-medal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cf-medal-list li { display: flex; gap: 12px; align-items: center; }
.cf-medal-list span { display: flex; flex-direction: column; }
.cf-medal-list b { font-family: var(--c-hud); color: #fff; font-size: 1.1em; }
.cf-medal-list small { color: var(--c-muted); }
.cf-prof-kills.eck { margin: 0; font-size: 15px; }
.cf-prof-ships.eck { margin: 0; }

.cf-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cf-news-card { display: flex; flex-direction: column; background: var(--c-hull); box-shadow: inset 0 0 0 1px var(--c-frame); color: var(--c-text) !important; transition: box-shadow .15s; }
.cf-news-card:hover { box-shadow: inset 0 0 0 1px var(--cf-accent); }
.cf-news-img { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.cf-news-noimg { background: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 60%, #fff6, transparent), radial-gradient(ellipse at 30% 0%, color-mix(in srgb, var(--cf-accent) 30%, transparent), transparent 60%), #070a0e; }
.cf-news-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.cf-news-body time { color: var(--c-muted); font-size: .85em; }
.cf-news-title { font-family: var(--c-hud); font-weight: 700; font-size: 1.3em; color: #fff; line-height: 1.15; }
.cf-news-excerpt { color: var(--c-muted); font-size: .95em; }
.cf-pager { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }

.cf-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; max-width: 760px; }
.cf-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--c-frame); }
.cf-tl-year { position: relative; margin: 26px 0 12px -28px; }
.cf-tl-year:first-child { margin-top: 0; }
.cf-tl-year span { display: inline-block; font-family: var(--c-hud); font-weight: 700; font-size: 1.5em; color: #fff; background: var(--c-plate-2); padding: 2px 14px; }
.cf-tl-item { position: relative; padding: 2px 0 22px; }
.cf-tl-item::before { content: ""; position: absolute; left: -25px; top: 7px; width: 12px; height: 12px; transform: rotate(45deg); background: var(--c-void); border: 2px solid var(--c-muted); }
.cf-tl-kill::before { border-color: var(--c-kill); }
.cf-tl-eve::before { border-color: var(--cf-accent); background: var(--cf-accent); }
.cf-tl-own::before { border-color: #fff; }
.cf-tl-item time { font-size: .85em; color: var(--c-muted); }
.cf-tl-item h3 { font-size: 1.3em; margin: 2px 0 4px; }
.cf-tl-item h3 a { color: #fff !important; }
.cf-tl-item h3 a:hover { color: var(--cf-accent) !important; }
.cf-tl-item p { color: var(--c-text); margin: 0 !important; max-width: 62ch; }

@media (max-width: 900px) {
	.cf-hero.cf-has-banner { padding-top: 40px; padding-bottom: 40px; min-height: 0; }
	.cf-prof-head { grid-template-columns: 140px minmax(0, 1fr); }
	.cf-prof-pic { width: 140px; height: 140px; }
	.cf-favship { grid-column: 1 / -1; flex-direction: row; gap: 12px; text-align: left; }
	.cf-favship img { width: 72px; height: 72px; margin: 0; }
	.cf-readout.cf-readout-5 { grid-template-columns: repeat(3, 1fr); }
	.cf-readout.cf-readout-5 > div:nth-child(4) { border-left: 0; }
	.cf-readout.cf-readout-5 > div:nth-child(n+4) { border-top: 1px solid var(--c-frame); }
	.cf-readout.cf-readout-5 > div:nth-child(3) { border-left: 1px solid var(--c-frame); border-top: 0; }
	.cf-prof-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.cf-prof-head { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
	.cf-prof-pic { width: 96px; height: 96px; }
	.cf-readout.cf-readout-5 { grid-template-columns: repeat(2, 1fr); }
	.cf-social a { width: 38px; height: 38px; }
}
.cf-times { font-style: normal; color: var(--cf-accent); margin-left: 4px; }

/* ---------- 1.3: videos ---------- */
.cf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 36px; }
.cf-chips a { font-family: var(--c-hud); font-weight: 600; font-size: 1.05em; padding: 6px 14px; background: var(--c-plate); color: var(--c-text) !important; }
.cf-chips a:hover { background: var(--cf-accent); color: #160a00 !important; }
.cf-chips span { color: var(--c-muted); font-size: .85em; margin-left: 4px; }
.cf-chips a:hover span { color: #160a00; }
.cf-playlist { margin-bottom: 52px; scroll-margin-top: 90px; }
.cf-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px 14px; }
.cf .cf-video {
	appearance: none; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 0; margin: 0;
	background: none; border: 0; border-radius: 0; color: var(--c-text); font: inherit; cursor: pointer;
}
.cf .cf-video[hidden] { display: none; }
.cf-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--c-frame); }
.cf-video-play {
	position: absolute; left: 50%; top: 50%; width: 54px; height: 38px; transform: translate(-50%, -50%);
	background: rgba(10, 15, 22, .82); transition: background .15s;
	clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.cf-video-play::after { content: ""; position: absolute; left: 22px; top: 11px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.cf-video:hover .cf-video-play, .cf-video:focus-visible .cf-video-play { background: var(--cf-accent); }
.cf-video:hover .cf-video-thumb { box-shadow: inset 0 0 0 1px var(--cf-accent); }
.cf-video-title { font-family: var(--c-hud); font-weight: 700; font-size: 1.1em; color: #fff; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cf-video time { color: var(--c-muted); font-size: .85em; }
.cf-more { margin: 18px 0 0 !important; }
.cf-note { font-size: .85em; margin-top: 10px !important; }
.cf-player { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; color: var(--c-text); }
.cf-player::backdrop { background: rgba(4, 7, 11, .88); }
.cf-player-box { position: relative; padding-top: 50px; }
.cf-player-frame { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 1px var(--c-frame), 0 30px 80px rgba(0, 0, 0, .6); }
.cf-player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cf-player-title { font-family: var(--c-hud); font-weight: 700; font-size: 1.3em; color: #fff; margin: 12px 0 0 !important; }
.cf .cf-player-close { position: absolute; right: 0; top: 0; width: 38px; height: 38px; border: 0; background: var(--c-plate-2); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.cf .cf-player-close:hover { background: var(--cf-accent); color: #160a00; }
@media (max-width: 560px) {
	.cf-videos { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
	.cf-video-title { font-size: 1em; }
	.cf-video-play { width: 44px; height: 30px; }
	.cf-video-play::after { left: 18px; top: 8px; border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
}
