/* Kop On! — "Floodlights" */
:root {
  --bg: #0b0b0f;
  --bg-2: #13131a;
  --bg-3: #1b1b24;
  --fg: #ececf2;
  --fg-2: #c6c6d4;
  --muted: #a4a4b6;
  --muted-2: #8f8fa2;
  --line: #22222c;
  --line-2: #34343f;
  --red: #c8102e;
  --red-hi: #e0203f;
  --red-text: #ff5a6e;
  --red-text-hi: #ff8a99;
  --gold: #ffb347;
  --display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.has-mini { padding-bottom: 96px; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { color: var(--red-text-hi); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Header ------------------------------------------------------------- */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 26px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 10px; border-radius: 8px; }
.site-nav a:hover { color: #fff; background: var(--bg-3); }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.site-nav a.nav-patreon { color: var(--red-text); }
@media (max-width: 600px) {
  .brand { font-size: 22px; }
  .site-nav { margin-left: -10px; }
}

/* ---- Type helpers ------------------------------------------------------- */
.kicker { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.section-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
.section-head a { font-size: 15px; text-decoration: none; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; }
.page-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; }
.lede { overflow-wrap: anywhere; margin: 18px 0 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--fg-2); }

/* ---- Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { background: var(--bg-3); color: #fff; border-color: #4a4a58; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn-light { background: #fff; border-color: #fff; color: #0b0b0f; font-weight: 600; }
.btn-light:hover { background: #e9e9ef; color: #0b0b0f; border-color: #e9e9ef; }
.icon { width: 16px; height: 16px; flex: none; fill: currentColor; }
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.text-link { color: var(--muted); font-size: 15px; padding: 12px 6px; }
.text-link:hover { color: var(--fg); }

/* ---- Hero (home) -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-glow { position: absolute; top: -284px; left: 50%; width: 1000px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(200, 16, 46, 0.38), rgba(200, 16, 46, 0)); pointer-events: none; }
.hero-grid { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 9vw, 120px); line-height: 0.92; letter-spacing: 0.005em; text-transform: uppercase; color: #fff; overflow-wrap: break-word; }
.hero-title.is-long { font-size: clamp(46px, 7vw, 92px); }
.hero-title.is-xlong { font-size: clamp(38px, 5.6vw, 72px); }
.hero-title a { color: inherit; text-decoration: none; }
.hero-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-decoration-color: var(--red); }
.hero .lede { margin-top: 22px; max-width: 580px; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-more { margin: 18px 0 0; font-size: 15px; }
.hero-art { flex: 1 1 260px; max-width: 340px; min-width: 0; }
.hero-art .art { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 80px rgba(200, 16, 46, 0.28); }
@media (max-width: 600px) {
  .hero-grid { padding-top: 28px; padding-bottom: 44px; gap: 36px; }
  .hero-art { max-width: none; flex-basis: 100%; }
  .hero-art .art { max-width: 320px; }
}

/* ---- Waveform seek bar ----------------------------------------------------- */
.wave { position: relative; height: 44px; margin-top: 22px; }
.wave .bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 3px; pointer-events: none; }
.wave .bar { flex: 1; min-width: 2px; border-radius: 2px; background: #3a3a46; transition: background .15s; }
.wave .bar.on { background: var(--red); }
.wave .seek { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wave:focus-within { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.times { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.resume-note { margin: 10px 0 0; font-size: 14px; color: var(--gold); }

/* ---- Two-column home body ------------------------------------------------- */
.home-cols { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 64px; }
.home-eps { flex: 999 1 560px; min-width: 0; }
.home-wire { flex: 1 1 300px; min-width: 0; }

/* ---- Episode rows ------------------------------------------------------------- */
.ep-list { list-style: none; margin: 0; padding: 0; }
.ep-row { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.ep-row:hover .ep-title { color: var(--red-text-hi); }
.play-btn { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid #3a3a46; background: transparent; color: var(--red-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, border-color .15s; }
.play-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.play-btn.is-playing { background: var(--red); border-color: var(--red); color: #fff; }
.play-btn .icon { width: 14px; height: 14px; }
.ep-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--bg-3); }
@media (max-width: 520px) { .ep-thumb { width: 52px; height: 52px; border-radius: 8px; } .ep-row { gap: 14px; } }
.ep-text { flex: 1; min-width: 0; padding-top: 2px; }
.ep-title { overflow-wrap: anywhere; display: block; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--fg); text-decoration: none; }
.ep-title::after { content: ""; position: absolute; inset: 0; }
.ep-meta { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.ep-excerpt { overflow-wrap: anywhere; margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 720px; }

/* ---- News wire (home) --------------------------------------------------------- */
.wire-note { margin: 0 0 6px; font-size: 13px; color: var(--muted-2); }
.wire-list { list-style: none; margin: 0; padding: 0; }
.wire-item a { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.wire-item a:hover .wire-title { color: #fff; text-decoration: underline; text-decoration-color: var(--red); }
.wire-src { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-text); }
.wire-title { overflow-wrap: anywhere; display: block; margin-top: 6px; font-size: 16px; line-height: 1.45; }
.wire-time { display: block; margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.wire-empty, .news-empty { color: var(--muted); padding: 16px 0; border-top: 1px solid var(--line); }

/* ---- Community card ------------------------------------------------------------ */
.community-band { margin-top: 72px; }
.community-card { border: 1px solid #26262f; border-radius: 22px; background: var(--bg-2); padding: 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.community-card > div:first-child { flex: 999 1 420px; min-width: 0; }
.community-card h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.05; text-transform: uppercase; }
.community-card p { margin: 10px 0 0; max-width: 560px; color: #b8b8c8; }
.community-card .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .community-card { padding: 28px 22px; } .community-card h2 { font-size: 34px; } }

/* ---- Footer ---------------------------------------------------------------------- */
.site-footer { padding-top: 64px; padding-bottom: 48px; }
.site-footer .kicker { color: var(--muted-2); margin-bottom: 14px; }
.listen-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.listen-links a { color: var(--fg); padding: 6px 0; }
.listen-links a:hover { color: #fff; }
.legal { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.legal a { color: var(--muted); }

/* ---- Page header (inner pages) ------------------------------------------------------ */
.page-head { padding-top: 40px; padding-bottom: 36px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .page-head::after { left: 16px; right: 16px; } }
.crumbs { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--fg); }

/* ---- Episode page ------------------------------------------------------------------- */
.ep-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.ep-hero .hero-glow { top: -320px; }
/* The red glow fades in behind the header, however tall the header is (the menu wraps onto two lines
   on phones): it's allowed past the top of its section, but still cut off at the sides and the bottom. */
@supports (overflow: clip) {
  .hero, .ep-hero { overflow: visible; overflow-x: clip; clip-path: inset(-1000px 0 0 0); }
}
.ep-hero-inner { position: relative; padding-top: 28px; padding-bottom: 48px; }
.ep-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ep-hero-copy { flex: 1 1 auto; min-width: 0; }
.ep-art { flex: none; width: 240px; height: 240px; border-radius: 18px; object-fit: cover; box-shadow: 0 24px 60px rgba(200, 16, 46, 0.25); }
@media (max-width: 760px) {
  .ep-hero-grid { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .ep-art { width: 160px; height: 160px; border-radius: 14px; }
}
.ep-hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6.6vw, 88px); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; color: #fff; overflow-wrap: break-word; max-width: 980px; }
.player-lg { margin-top: 32px; display: flex; gap: 22px; align-items: center; max-width: 900px; }
.big-play { flex: none; width: 76px; height: 76px; border-radius: 999px; border: 0; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 14px 40px rgba(200, 16, 46, .35); transition: background .15s, transform .1s; }
.big-play:hover { background: var(--red-hi); }
.big-play:active { transform: scale(.97); }
.big-play .icon { width: 26px; height: 26px; }
.player-main { flex: 1; min-width: 0; }
.player-main .wave { margin-top: 0; }
.player-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.ctrls { display: flex; gap: 6px; }
.ctrl { min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-variant-numeric: tabular-nums; }
.ctrl:hover { background: var(--bg-3); }
.ctrl .icon { width: 18px; height: 18px; }
.listen-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.listen-row .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 600px) {
  .player-lg { gap: 14px; }
  .big-play { width: 60px; height: 60px; }
  .big-play .icon { width: 22px; height: 22px; }
  .ctrl { min-width: 40px; padding: 0 8px; }
}

.ep-body { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 48px; }
.notes-col { flex: 999 1 560px; min-width: 0; }
.side-col { flex: 1 1 280px; min-width: 0; }
.notes { font-size: 17px; line-height: 1.7; color: var(--fg-2); overflow-wrap: anywhere; max-width: 720px; }
.notes p { margin: 0 0 1em; }
.notes ul, .notes ol { padding-left: 1.3em; }
.notes a { color: var(--red-text); }
.notes h3, .notes h4 { color: var(--fg); font-size: 19px; margin: 1.4em 0 .5em; }
.notes blockquote { margin: 1em 0; padding-left: 16px; border-left: 3px solid var(--line-2); }
.ts { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 2px 10px 2px 8px; border: 1px solid #5a2430; border-radius: 999px; background: rgba(200, 16, 46, .14); color: #ffd1d8; font-size: .86em; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; vertical-align: 1px; line-height: 1.5; }
.ts::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.ts:hover { background: var(--red); border-color: var(--red); color: #fff; }
.h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; letter-spacing: 0.01em; }
.pn { display: grid; gap: 12px; }
.pn a { display: block; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px; color: var(--fg); text-decoration: none; }
.pn a:hover { background: var(--bg-2); border-color: #4a4a58; }
.pn small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pn strong { display: block; margin-top: 6px; font-size: 17px; line-height: 1.35; }
.discussion { margin-bottom: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.comments-soon { border: 1px dashed var(--line-2); border-radius: 18px; padding: 28px; background: var(--bg-2); max-width: 760px; }
.comments-soon h3 { margin: 0; font-size: 20px; }
.comments-soon p { margin: 8px 0 0; color: var(--muted); }

/* ---- Episodes index ------------------------------------------------------------- */
.search-box { margin-top: 28px; position: relative; max-width: 520px; }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none; }
.search-box input { width: 100%; min-height: 52px; padding: 0 18px 0 48px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg); font: inherit; font-size: 16px; }
.search-box input::placeholder { color: var(--muted-2); }
.search-box input:focus { outline: none; border-color: var(--red-text); box-shadow: 0 0 0 3px rgba(255, 90, 110, .25); }
.ep-count { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.ep-group h2 { margin: 48px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ep-empty { padding: 40px 0; color: var(--muted); }

/* ---- News page ---------------------------------------------------------------------- */
.updated { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 24px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-size: 15px; font-weight: 500; cursor: pointer; }
.chip:hover { background: var(--bg-3); }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0b0b0f; font-weight: 600; }
.news-featured { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.chips + .news-featured { margin-top: 0; }
.news-card { min-width: 0; }
.news-card a { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid #26262f; color: var(--fg); text-decoration: none; transition: border-color .15s, transform .15s; }
.news-card a:hover { border-color: #4a4a58; transform: translateY(-2px); }
.news-card.is-lead { grid-row: span 2; }
.news-media { display: block; aspect-ratio: 16 / 9; background: #1d1d27; overflow: hidden; }
.news-card.is-lead .news-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 280px; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-media.is-blank, .news-media.is-broken { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #7a0a1c, #2a0a12); }
.news-media.is-blank span, .news-media.is-broken span { font-family: var(--display); font-size: 64px; color: rgba(255, 255, 255, .9); letter-spacing: 0.04em; }
.news-body { display: block; padding: 18px 20px 22px; }
.news-meta { display: block; font-size: 13px; color: var(--muted); }
.news-src { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--red-text); }
.news-title { overflow-wrap: anywhere; display: block; margin-top: 8px; font-size: 19px; font-weight: 600; line-height: 1.35; }
.news-card.is-lead .news-title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; text-transform: uppercase; }
.news-list { list-style: none; margin: 40px 0 0; padding: 0; }
.news-row a { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.news-row a:hover .news-row-title { text-decoration: underline; text-decoration-color: var(--red); }
.news-row-text { flex: 1; min-width: 0; }
.news-row-title { overflow-wrap: anywhere; display: block; margin-top: 6px; font-size: 17px; line-height: 1.45; }
.news-thumb { flex: none; width: 132px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #1d1d27; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb.is-broken { display: none; }
.sources-note { margin-top: 40px; font-size: 14px; color: var(--muted); }
.sources-note a { color: var(--muted); }
@media (max-width: 760px) {
  .news-featured { grid-template-columns: minmax(0, 1fr); }
  .news-card.is-lead { grid-row: auto; }
  .news-card.is-lead .news-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .news-thumb { width: 96px; }
}

/* ---- Community -------------------------------------------------------------------- */
.rooms { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.room a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; border-radius: 18px; background: var(--bg-2); border: 1px solid #26262f; color: var(--fg); text-decoration: none; }
.room a:hover { border-color: var(--red); }
.room h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.room p { margin: 0; color: var(--muted); }
.room .go { margin-top: auto; padding-top: 8px; color: var(--red-text); font-weight: 600; font-size: 15px; }
.thread-list { list-style: none; margin: 0; padding: 0; }
.thread-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.thread-list a:hover strong { color: var(--red-text-hi); }
.thread-list span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.block { margin-top: 64px; }

/* ---- 404 ---------------------------------------------------------------------------- */
.lost { padding-top: 64px; padding-bottom: 40px; }

/* ---- Mini player ---------------------------------------------------------------------- */
.mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(21, 21, 28, .96); border-top: 1px solid var(--line-2); box-shadow: 0 -10px 40px rgba(0, 0, 0, .45); }
@supports (backdrop-filter: blur(8px)) { .mini { background: rgba(21, 21, 28, .85); backdrop-filter: blur(14px); } }
.mini-inner { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 14px; }
.mini-inner > img { width: 48px; height: 48px; border-radius: 10px; flex: none; object-fit: cover; }
.mini-info { flex: 1; min-width: 0; }
.mini-title { display: block; color: var(--fg); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-title:hover { color: #fff; text-decoration: underline; }
.mini-time { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini.has-error .mini-time { color: var(--gold); }
.mini-ctrls { display: flex; align-items: center; gap: 6px; }
.mini-toggle { width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mini-toggle:hover { background: var(--red-hi); }
.mini-toggle .icon { width: 18px; height: 18px; }
.mini-seek { position: absolute; left: 0; right: 0; top: -8px; width: 100%; height: 16px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.mini-seek::-webkit-slider-runnable-track { height: 3px; background: #3a3a46; }
.mini-seek::-moz-range-track { height: 3px; background: #3a3a46; }
.mini-seek::-moz-range-progress { height: 3px; background: var(--red); }
.mini-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; background: var(--red); border: 0; }
.mini-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 0; }
@media (max-width: 600px) {
  .mini-inner { gap: 10px; }
  .mini-inner > img { display: none; }
  .mini .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Home: "Latest episode" label, previous-episodes link ------------------ */
.hero-label { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-text); }
.hero-meta { margin: 14px 0 0; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prev-link { margin: 10px 0 0; font-size: 14px; }
.prev-link a { color: var(--muted); }
.prev-link a:hover { color: var(--fg); }

/* ---- Home: full-width news ---------------------------------------------------- */
.home-news { padding-top: 64px; }
.news-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.news-grid .news-media { aspect-ratio: 16 / 9; }
.news-grid .news-media.is-blank span, .news-grid .news-media.is-broken span { font-size: 48px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* ---- Episode page: YouTube Shorts ------------------------------------------------ */
.shorts { margin-bottom: 48px; }
.shorts-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.short { flex: none; width: 168px; scroll-snap-align: start; }
.short-play { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #1d1d27; cursor: pointer; }
.short-play img { width: 100%; height: 100%; object-fit: cover; }
.short-icon { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 999px; background: rgba(200, 16, 46, .92); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: transform .15s; }
.short-icon .icon { width: 18px; height: 18px; }
.short-play:hover .short-icon { transform: scale(1.08); }
.short iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 14px; background: #000; }
.short-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--fg-2); text-decoration: none; }
.short-title:hover { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { .short { width: 150px; } }

/* ---- Disqus gate ------------------------------------------------------------------ */
.comments-gate { border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; background: var(--bg-2); max-width: 760px; }
.comments-gate p { margin: 0 0 18px; color: var(--muted); }
.comments-gate a { color: var(--muted); }
#disqus_thread { max-width: 900px; }

/* ---- Top stories ------------------------------------------------------------------ */
.top-stories { margin-bottom: 56px; }
.top-list { list-style: none; margin: 18px 0 0; padding: 0; border: 1px solid #26262f; border-radius: 22px; background: var(--bg-2); overflow: hidden; }
.top-item { display: flex; gap: 22px; padding: 24px 28px; border-top: 1px solid var(--line); }
.top-item:first-child { border-top: 0; }
.top-num { flex: none; width: 34px; font-family: var(--display); font-size: 44px; line-height: 0.9; color: var(--red-text); text-align: center; }
.top-text { flex: 1; min-width: 0; }
.top-headline { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.top-headline a { color: var(--fg); text-decoration: none; }
.top-headline a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); }
.top-summary { margin: 8px 0 0; color: var(--fg-2); line-height: 1.6; overflow-wrap: anywhere; max-width: 820px; }
.top-meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.top-count { font-weight: 600; color: var(--gold); }
.top-pin { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.top-sources a { color: var(--muted); }
.top-sources a:hover { color: var(--fg); }
@media (max-width: 600px) {
  .top-item { gap: 14px; padding: 20px 18px; }
  .top-num { width: 24px; font-size: 34px; }
  .top-headline { font-size: 18px; }
}

/* ---- Editor ----------------------------------------------------------------------- */
.editor { padding-top: 32px; max-width: 900px; }
.editor-status { min-height: 1.6em; margin: 0 0 16px; color: var(--muted); }
.editor-status.is-error { color: #ff8a99; }
.editor-status.is-ok { color: #8be0a4; }
.ed-login { display: grid; gap: 12px; max-width: 420px; }
.ed-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 10px; padding: 12px 0; background: var(--bg); }
.ed-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.ed-card { padding: 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); display: grid; gap: 10px; }
.ed-card.is-top { border-color: #5a2430; }
.ed-card.is-hidden { opacity: .55; }
.ed-tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ed-label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.ed-input { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; font-weight: 400; }
textarea.ed-input { resize: vertical; line-height: 1.5; }
.ed-input:focus { outline: none; border-color: var(--red-text); box-shadow: 0 0 0 3px rgba(255, 90, 110, .25); }
.ed-sources, .ed-help { margin: 0; font-size: 14px; color: var(--muted); }
.ed-row { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.ed-check { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.ed-check input { width: 20px; height: 20px; }
.ed-small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.ed-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ed-add { margin-bottom: 8px; }

/* ---- Stats --------------------------------------------------------------- */
.fine { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-2); }
.stats-empty { padding: 28px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); color: var(--fg-2); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; margin-top: 12px; }
.select { min-height: 44px; padding: 0 40px 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c6c6d4' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; color: var(--fg); font: inherit; font-size: 15px; appearance: none; max-width: 100%; }
.crest { display: inline-block; flex: none; object-fit: contain; }
.crest-blank { border-radius: 50%; background: var(--bg-3); }
.stats .block:first-child { margin-top: 40px; }
.stats-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; margin-top: 40px; }
@media (max-width: 960px) { .stats-top { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* results badges */
.res { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #fff; flex: none; }
.res-w { background: #17783f; }
.res-d { background: #5d5d6c; }
.res-l { background: var(--red); }

/* next matches */
.fixtures { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.fixture a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "comp when" "opp go"; gap: 6px 16px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--bg-2); border: 1px solid #26262f; color: var(--fg); text-decoration: none; transition: border-color .15s, transform .15s; }
.fixture a:hover { border-color: var(--red); color: var(--fg); }
.fixture:first-child a { background: linear-gradient(135deg, #2a0a12, var(--bg-2) 60%); border-color: #4a1420; }
.fx-comp { grid-area: comp; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fx-when { grid-area: when; font-size: 14px; color: var(--fg-2); text-align: right; }
.fx-opp { grid-area: opp; display: flex; align-items: center; gap: 14px; min-width: 0; }
.fx-opp > span { display: flex; flex-direction: column; min-width: 0; }
.fx-opp strong { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
.fx-ha { font-size: 13px; color: var(--muted); }
.fx-go { grid-area: go; justify-self: end; color: var(--red-text); font-weight: 600; font-size: 15px; white-space: nowrap; }
@media (max-width: 600px) {
  .fixture a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "comp" "opp" "when" "go"; padding: 16px; }
  .fx-when { text-align: left; }
  .fx-go { justify-self: start; }
  .fx-opp strong { font-size: 24px; }
}

/* results */
.results { list-style: none; margin: 0; padding: 0; }
.result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.result .res { grid-row: span 2; }
.rs-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 500; }
.rs-team.us { color: #fff; font-weight: 700; }
.rs-score { font-variant-numeric: tabular-nums; font-weight: 700; padding: 0 8px; border-radius: 6px; background: var(--bg-3); }
.rs-meta { font-size: 13px; color: var(--muted); }

/* season tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; padding: 18px 20px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.tile-v { font-family: var(--display); font-size: 44px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.tile-l { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.tile-s { font-size: 13px; color: var(--muted); }

/* league tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.league, .players { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.league th, .league td, .players th, .players td { padding: 10px 10px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.league thead th, .players thead th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-3); }
.league abbr, .players abbr { text-decoration: none; }
.league tbody tr:last-child > *, .players tbody tr:last-child > * { border-bottom: 0; }
.league .c-team { text-align: left; font-weight: 500; }
.league tbody .c-team { display: flex; align-items: center; gap: 10px; }
.league .c-pos { width: 44px; color: var(--muted); border-left: 3px solid transparent; }
.league .c-pts { font-weight: 700; color: #fff; }
.league .c-form .res { width: 20px; height: 20px; font-size: 11px; margin: 0 1px; }
.league tr.us > * { background: rgba(200, 16, 46, 0.16); }
.league tr.us .c-team { color: #fff; font-weight: 700; }
.league tr.z-ucl .c-pos, .league tr.z-ko .c-pos { border-left-color: #2f7de1; }
.league tr.z-po .c-pos { border-left-color: var(--gold); }
.league tr.z-down .c-pos, .league tr.z-out .c-pos { border-left-color: #6b6b7a; }
.league.is-collapsed tr.more { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.legend .key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; background: #2f7de1; vertical-align: -1px; }
.legend .key.z-po::before { background: var(--gold); }
.legend .key.z-down::before, .legend .key.z-out::before { background: #6b6b7a; }
.legend .src { margin-left: auto; }
@media (max-width: 600px) {
  .league .hide-sm { display: none; }
  .league th, .league td { padding: 10px 6px; }
  .legend .src { margin-left: 0; }
}

/* team rankings */
.compare-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 8px 0 24px; }
.compare-pick label { font-weight: 600; }
.rank-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
@media (max-width: 860px) { .rank-groups { grid-template-columns: minmax(0, 1fr); } }
.rank-group h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; color: var(--fg-2); }
.ranks { margin: 0; }
.rank { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank dt { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.rank dd { margin: 0; display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 64px 44px; align-items: center; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.bar-name { color: var(--muted); font-weight: 600; }
.bar { height: 10px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: #6b6b7a; transition: width .3s; }
.bar-row.us .bar > span { background: var(--red-hi); }
.bar-row.us .bar-name, .bar-row.us .bar-v { color: #fff; }
.bar-v { text-align: right; }
.bar-r { font-weight: 700; text-align: right; color: var(--fg-2); }
.bar-r.r-top { color: #4cd38a; }
.bar-r.r-low { color: var(--red-text); }

/* players */
.leaders { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
@media (max-width: 960px) { .leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.leader { display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.ld-l { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ld-v { font-family: var(--display); font-size: 40px; line-height: 1.1; color: #fff; }
.ld-n { font-size: 14px; color: var(--fg-2); overflow-wrap: anywhere; }
.player-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; }
.player-tools .chips { margin: 20px 0 16px; }
.players .c-player { text-align: left; position: sticky; left: 0; background: var(--bg-2); z-index: 1; font-weight: 600; }
.players thead .c-player { background: var(--bg-3); }
.players tbody tr:hover > * { background: var(--bg-3); }
.sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; padding: 0 2px; box-sizing: border-box; }
.sort:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
th[aria-sort="descending"] .sort::after { content: " ▼"; font-size: 9px; margin-left: 3px; color: var(--red-text); }
th[aria-sort="ascending"] .sort::after { content: " ▲"; font-size: 9px; margin-left: 3px; color: var(--red-text); }
th[aria-sort="descending"], th[aria-sort="ascending"] { color: #fff !important; }

/* top scorers */
.scorers { list-style: none; margin: 0; padding: 0; counter-reset: sc; max-width: 640px; }
.scorers li { display: grid; grid-template-columns: 28px 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); counter-increment: sc; }
.scorers li::before { content: counter(sc); color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.scorers li.us .sc-name { color: #fff; }
.sc-name { display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.sc-team { font-size: 13px; font-weight: 400; color: var(--muted); }
.sc-g { text-align: right; font-size: 14px; color: var(--fg-2); }
.sc-g strong { font-size: 18px; color: #fff; }
.sc-a { display: block; font-size: 12px; color: var(--muted); }

/* match preview */
.match-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: clamp(38px, 6vw, 72px); }
.mt-team { display: inline-flex; align-items: center; gap: 16px; }
.mt-team .crest { width: 0.8em; height: 0.8em; }
.mt-v { font-size: 0.5em; color: var(--muted); }
@media (max-width: 600px) { .match-title { flex-direction: column; align-items: flex-start; } .mt-v { padding-left: calc(0.8em + 16px); font-size: 0.4em; } }
.match-meta { margin: 18px 0 0; font-size: 17px; color: var(--fg-2); }
.preview .block.first { margin-top: 40px; }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.points li { position: relative; padding: 14px 18px 14px 44px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--red-hi); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }
.form-list, .out-list { list-style: none; margin: 0; padding: 0; }
.form-list li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "b s o" "b m m"; gap: 0 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.form-list .res { grid-area: b; }
.fl-score { grid-area: s; font-weight: 700; font-variant-numeric: tabular-nums; }
.fl-opp { grid-area: o; min-width: 0; overflow-wrap: anywhere; }
.fl-meta { grid-area: m; font-size: 13px; color: var(--muted); }
.out-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.out-name { font-weight: 600; }
.out-why { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 6px; background: var(--red); color: #fff; }
.out-why.why-doubtful { background: #8a5a00; }
.out-why.why-suspended { background: #4a4a58; }
.out-why.why-unavailable, .out-why.why-not-eligible { background: #4a4a58; }
.out-since { white-space: nowrap; opacity: 0.8; }
.out-detail { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.duel { width: 100%; max-width: 720px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.duel thead th { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0 0 10px; color: var(--fg-2); }
.duel thead th:first-child { text-align: left; }
.duel thead th:last-child { text-align: right; }
.duel tbody th { font-weight: 500; font-size: 14px; color: var(--fg-2); padding: 10px 12px; text-align: center; white-space: nowrap; width: 1%; }
.duel td { padding: 10px 0; border-bottom: 1px solid var(--line); width: 50%; }
.duel tbody th { border-bottom: 1px solid var(--line); }
.duel .d-h, .duel .d-a { display: table-cell; }
.duel .d-h { text-align: left; }
.duel .d-a { text-align: right; }
.d-v { font-weight: 700; color: #fff; }
.d-bar { display: inline-block; vertical-align: middle; width: calc(100% - 56px); height: 8px; margin: 0 10px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.d-h .d-bar { direction: rtl; }
.d-bar > span { display: block; height: 100%; background: #6b6b7a; border-radius: 999px; }
.d-h .d-bar > span { background: var(--red-hi); }
.d-rank { font-size: 13px; color: var(--muted); }
.duel-ranks .better .d-v { color: #4cd38a; }
@media (max-width: 600px) {
  .duel tbody th { white-space: normal; width: 34%; font-size: 13px; }
  .d-bar { display: none; }
}
.player-key { margin-top: 12px; }
.player-key span { white-space: nowrap; }
.player-key b { color: var(--fg-2); }
@media (max-width: 420px) { .site-nav { gap: 2px; } .site-nav a { padding: 10px 7px; } }

/* ======================= Fan zone ======================= */
.muted { color: var(--muted); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* player faces (Flappy Jim: photo in a circle with a white ring, initials underneath) */
.face { position: relative; display: inline-block; flex: none; width: var(--fs, 48px); height: var(--fs, 48px); border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #d1213f, #7d0a1d); box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(0,0,0,.35); }
.face-opp { background: linear-gradient(180deg, #475569, #1e293b); }
.face-ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: calc(var(--fs, 48px) * .36); color: #fff; letter-spacing: .02em; }
.face img { position: absolute; left: 0; top: 0; width: 100%; height: 118%; object-fit: cover; object-position: 50% 6%; background: #1b1b24; }
.face-xs { --fs: 30px; box-shadow: 0 0 0 1.5px #fff; }
.face-sm { --fs: 40px; }
.face-md { --fs: 48px; }
.face-lg { --fs: 60px; }
.face-xl { --fs: 132px; box-shadow: 0 0 0 4px #fff, 0 16px 40px rgba(0,0,0,.45); }
@media (max-width: 600px) { .face-lg { --fs: 46px; } .face-xl { --fs: 104px; } }

/* rating chips and bars (Flappy Jim's colours: green 8+ … red under 5) */
.rchip { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 52px; height: 36px; padding: 0 8px; border-radius: 9px; background: var(--rc, #33333f); color: #fff; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.rchip-none { background: rgba(255,255,255,.1); color: var(--muted); text-shadow: none; }
.rchip-big { min-width: 96px; height: 64px; font-size: 34px; border-radius: 14px; }
.rbar { flex: 1 1 120px; max-width: 220px; height: 8px; border-radius: 99px; background: rgba(0,0,0,.4); overflow: hidden; }
.rbar > span { display: block; height: 100%; border-radius: 99px; background: var(--rc, var(--red)); }

/* ---- hub and home band ---- */
.fz { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; padding-top: 40px; }
.fz-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: var(--bg-2); border: 1px solid #26262f; color: var(--fg); text-decoration: none; }
a.fz-card:hover { border-color: var(--red); }
.fz-card .kicker { margin: 0; }
.fz-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.fz-sub { color: var(--muted); }
.fz-faces { display: flex; padding: 6px 0 4px 6px; }
.fz-faces .face { margin-left: -8px; }
.fz-card .go { margin-top: auto; color: var(--red-text); font-weight: 600; }
.fz-matches { list-style: none; margin: 0; padding: 0; }
.fz-matches a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.fz-matches a:hover b { color: var(--red-text-hi); }
.fz-m { flex: 1; min-width: 0; }
.fz-m b, .fz-m small { display: block; }
.fz-m small { color: var(--muted); }
.fz-open { color: var(--red-text); font-weight: 600; font-size: 14px; white-space: nowrap; }
.fz-band { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 40px; padding: 16px 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.fz-band .kicker { margin: 0; color: var(--gold); }
.fz-band a { color: var(--fg); font-weight: 600; text-decoration: none; padding: 8px 0; }
.fz-band a:hover { color: var(--red-text-hi); text-decoration: underline; }
.fz-inline { margin: 0 0 24px; }

/* ---- the pitch ---- */
.xi-wrap { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 36px; align-items: flex-start; }
.xi-pitch-col { flex: 1 1 480px; max-width: 560px; min-width: 0; margin: 0 auto; }
.xi-side { flex: 999 1 340px; min-width: 0; }
.pitch { position: relative; width: 100%; container-type: inline-size; aspect-ratio: 68 / 84; border-radius: 22px; overflow: hidden; background: repeating-linear-gradient(180deg, #1f7a45 0 8.33%, #1a6d3d 8.33% 16.66%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.4); }
.pitch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.08), transparent 60%), linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.25)); pointer-events: none; }
/* Liverpool's half, to scale top to bottom (1 m = 1.6% of the height; the pitch-lines box is 96% tall,
   so 1 m = 1.667% inside it): halfway line 52.5 m from the goal line, box 16.5 m, six-yard box 5.5 m,
   penalty spot 11 m, circles 9.15 m across the width (68 m). Touchlines run off the top edge. */
.pitch-lines { position: absolute; top: -4px; left: 4%; right: 4%; bottom: 4%; border: 2px solid rgba(255,255,255,.55); border-top: 0; border-radius: 0 0 4px 4px; }
.pitch-lines span { position: absolute; border: 2px solid rgba(255,255,255,.55); }
.pl-half { left: -2px; right: -2px; top: 12.5%; height: 0; border-width: 2px 0 0 !important; }
.pl-circle { left: 50%; top: 12.5%; width: 26.9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.pl-cspot, .pl-pspot { left: 50%; width: 6px; height: 6px; border: 0 !important; border-radius: 50%; background: rgba(255,255,255,.7); transform: translate(-50%, -50%); }
.pl-cspot { top: 12.5%; }
.pl-pspot { bottom: 18.3%; transform: translate(-50%, 50%); }
.pl-box { left: 20.35%; right: 20.35%; bottom: -2px; height: 27.5%; border-bottom: 0 !important; }
.pl-six { left: 36.5%; right: 36.5%; bottom: -2px; height: 9.2%; border-bottom: 0 !important; }
/* the "D": the part of a 9.15 m circle round the penalty spot that's outside the box */
.pl-arc { left: 36.5%; right: 36.5%; bottom: 3.05%; height: 30.5%; border-radius: 50%; clip-path: inset(0 0 80% 0); }
@media (max-width: 600px) { .pitch { aspect-ratio: 68 / 92; } }
.spots { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.spot { position: absolute; transform: translate(-50%, -50%); z-index: 1; display: flex; justify-content: center; }
.spot > * { max-width: 100%; }
.spot .spot-btn, .spot.spot-ro { min-width: 0; }
.spot-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.spot-btn:hover .face, .spot-btn:focus-visible .face { box-shadow: 0 0 0 3px var(--gold), 0 6px 16px rgba(0,0,0,.35); }
.spot-btn:disabled { cursor: default; }
.spot-empty .spot-plus { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; border: 2px dashed rgba(167, 243, 208, .85); background: rgba(10, 40, 24, .45); font-size: 30px; font-weight: 300; color: #d1fae5; }
.spot-empty:hover .spot-plus, .spot-empty:focus-visible .spot-plus { border-style: solid; border-color: var(--gold); color: var(--gold); }
.spot-role { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #d1fae5; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.spot-name { display: inline-block; max-width: min(128px, 100%); box-sizing: border-box; padding: 3px clamp(5px, 1.6cqw, 9px); border-radius: 999px; background: rgba(11, 11, 15, .88); border: 1px solid rgba(255,255,255,.18); font-size: clamp(9.5px, 2.5cqw, 12px); font-weight: 700; line-height: 1.25; letter-spacing: clamp(0px, .2cqw, .02em); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.spot-num { position: absolute; top: calc(var(--fs, 60px) - 14px); left: calc(50% - var(--fs, 60px) / 2 - 6px); z-index: 2; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: #111; font-size: 11.5px; font-weight: 900; line-height: 20px; text-align: center; box-shadow: 0 0 0 1.5px #0b0b0f; }
.spot-btn .spot-num { top: calc(4px + var(--fs, 60px) - 14px); }
.spot-btn { --fs: 60px; }
.spot-ro { --fs: 40px; }
.spot-flag { position: absolute; top: 2px; left: calc(50% + 14px); width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1.5px #fff; }
.armband { position: absolute; top: 0; left: calc(50% - 36px); z-index: 2; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #111; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 2px #fff; }
.spot-out .face { box-shadow: 0 0 0 3px var(--red), 0 6px 16px rgba(0,0,0,.35); }
.spot-doubt .face { box-shadow: 0 0 0 3px var(--gold), 0 6px 16px rgba(0,0,0,.35); }
.spot-ro { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.spot-ro .armband { left: calc(50% - 30px); }
.spot-pct { font-size: 12px; font-weight: 800; color: var(--gold); text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.pitch-mini { max-width: 420px; margin: 8px 0 18px; }
.pitch-mini .spot-name { max-width: min(96px, 100%); font-size: clamp(9px, 2.5cqw, 11px); padding: 2px clamp(4px, 1.4cqw, 7px); }
.pitch-mini .spot-num { min-width: 18px; height: 17px; line-height: 17px; font-size: 10px; }
.is-predicted .face { box-shadow: 0 0 0 2px var(--gold); }
.is-doubt .face { box-shadow: 0 0 0 2px var(--red); }
@media (max-width: 600px) {
  .spot-empty .spot-plus { width: 46px; height: 46px; font-size: 24px; }
  .spot-btn { --fs: 46px; }
  .spot-name { max-width: min(110px, 100%); padding-top: 2px; padding-bottom: 2px; }
  .spot-num { min-width: 18px; height: 17px; line-height: 17px; font-size: 10px; }
  .spot-role { font-size: 10px; }
  .armband { left: calc(50% - 28px); width: 19px; height: 19px; font-size: 11px; }
  .spot-flag { left: calc(50% + 10px); width: 17px; height: 12px; }
  .pitch-mini .face-sm { --fs: 32px; }
  .pitch-mini .spot-ro { --fs: 32px; }
  .pitch-mini .spot-name { max-width: min(80px, 100%); letter-spacing: 0; }
}

.formations { border: 0; margin: 0; padding: 0; }
.formations legend { padding: 0; margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.formations .chips { margin: 8px 0 16px; }
.formations .chip { min-height: 44px; padding: 0 14px; font-variant-numeric: tabular-nums; }
.xi-count { margin: 0 0 14px; color: var(--fg-2); }
.xi-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.xi-status { min-height: 1.5em; margin: 0 0 18px; color: var(--fg-2); }
.xi-status.is-ok { color: #6ee7a8; }
.xi-status.is-warn { color: var(--gold); }
.xi-status.is-error { color: var(--red-text-hi); }
.fans-xi { margin-top: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.fx-score { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 14px; font-size: 18px; }
.fx-big { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--gold); }
.fx-big small { font-size: 26px; color: var(--muted); }
.fx-others { list-style: none; margin: 0; padding: 0; }
.fx-others li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.fx-others li > span:nth-child(2) { flex: 0 1 180px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-others .rbar > span { background: var(--gold); }
.fx-others b { width: 44px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---- the player picker ---- */
.picker { width: min(560px, calc(100vw - 24px)); max-height: min(86vh, 760px); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-2); color: var(--fg); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.picker::backdrop { background: rgba(5, 5, 8, .72); }
.pk-inner { display: flex; flex-direction: column; max-height: min(86vh, 760px); }
.pk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 8px; }
.pk-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.pk-search { margin: 4px 20px 0; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: inherit; }
.pk-search:focus { outline: none; border-color: var(--red-text); box-shadow: 0 0 0 3px rgba(255, 90, 110, .25); }
.pk-lines { margin: 12px 20px 6px; flex-wrap: nowrap; overflow-x: auto; }
.pk-lines .chip { flex: none; padding: 0 14px; }
.pk-list { list-style: none; margin: 0; padding: 4px 12px 12px; overflow-y: auto; flex: 1; }
.pk-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 8px 10px; border: 0; border-radius: 14px; background: none; color: var(--fg); text-align: left; cursor: pointer; font: inherit; }
.pk-row:hover, .pk-row:focus-visible { background: var(--bg-3); }
.pk-row[aria-current="true"] { background: rgba(200, 16, 46, .18); }
.pk-num { width: 28px; text-align: center; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.pk-name { flex: 1; min-width: 0; }
.pk-name b { display: block; }
.pk-name small { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--bg-3); color: var(--fg-2); font-size: 12px; font-weight: 600; }
.tag-on { background: rgba(200, 16, 46, .3); color: #fff; }
.tag-out { background: rgba(200, 16, 46, .9); color: #fff; }
.tag-doubt { background: rgba(255, 179, 71, .9); color: #111; }
.pk-empty { padding: 20px; color: var(--muted); }
.pk-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.pk-foot:empty { display: none; }

/* ---- the opposition's flip-out tab ---- */
.opp-tab { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; min-width: 48px; padding: 16px 12px; border: 1px solid var(--line-2); border-right: 0; border-radius: 14px 0 0 14px; background: #1b1b24; color: #fff; font: 700 14px var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; box-shadow: -10px 0 30px rgba(0,0,0,.4); }
.opp-tab:hover { background: #262632; }
.opp-tab .crest { writing-mode: horizontal-tb; }
.opp-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100vw); overflow-y: auto; padding: 22px 22px 40px; background: #13131a; border-left: 1px solid var(--line-2); box-shadow: -30px 0 60px rgba(0,0,0,.55); transform: translateX(100%); transition: transform .25s ease; }
.opp-drawer.is-open { transform: none; }
.opp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.opp-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1.05; }
.opp-head h2:focus { outline: none; }
.opp-list { margin: 0 0 18px; padding-left: 18px; color: var(--fg-2); }
.opp-list li { margin: 4px 0; }
body.opp-open .opp-tab { visibility: hidden; }
@media (max-width: 600px) {
  .opp-tab { top: auto; bottom: 96px; transform: none; writing-mode: horizontal-tb; padding: 10px 14px; border-radius: 14px 0 0 14px; font-size: 13px; }
}

/* ---- ratings ---- */
.rate-wrap { padding-top: 36px; }
.r-head { max-width: 860px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.r-head .h2 { margin: 0; }
.r-tabs { margin: 16px 0 20px; }
.rr-list, .rf-list { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.rr, .rf-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; }
.rr:nth-child(odd), .rf-row:nth-child(odd) { background: rgba(255,255,255,.035); }
.rr-num { width: 26px; flex: none; text-align: center; font-weight: 800; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.rr-name { flex: 1 1 160px; min-width: 0; }
.rr-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-name small { display: block; color: var(--muted); font-size: 13px; }
.is-revealing .rr { animation: rr-in .45s cubic-bezier(.2, .9, .3, 1.25) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes rr-in { from { opacity: 0; transform: translateX(-24px) scale(.96); } to { opacity: 1; transform: none; } }
.rf-ctl { display: flex; align-items: center; gap: 10px; flex: 0 1 360px; }
.rf-ctl input[type=range] { flex: 1; min-width: 90px; height: 44px; accent-color: var(--red); background: transparent; }
.rf-row:not(.is-rated) input[type=range] { opacity: .45; }
.rf-clear, .rf-motm { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.rf-clear:hover, .rf-motm:hover { color: #fff; background: var(--bg-3); }
.rf-motm[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #111; }
.r-cards { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; max-width: 860px; }
.motm-card, .avg-card { flex: 1 1 260px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(200, 16, 46, .28), var(--bg-2) 60%); border: 1px solid #2b2b36; text-align: center; }
.avg-card { justify-content: center; background: var(--bg-2); }
.motm-label { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.motm-card .face-xl { margin: 8px 0 4px; }
.motm-name { font-family: var(--display); font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.avg-big { font-family: var(--display); font-size: 96px; line-height: 1; font-variant-numeric: tabular-nums; }
.motm-card .fine, .avg-card .fine { margin: 0; }
.r-note { margin: 0 0 18px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--bg-2); border-radius: 0 12px 12px 0; color: var(--fg-2); max-width: 860px; }
.xi-vs .fx-score { margin-top: 0; }
.manager { margin-top: 56px; }
.manager summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mgr-login { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.mgr-login label, .mgr-note-l { width: 100%; font-size: 14px; color: var(--muted); }
.mgr-login input, #mgr-note { min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); font: inherit; }
#mgr-note { display: block; width: 100%; max-width: 860px; margin: 6px 0 10px; resize: vertical; }
@media (max-width: 600px) {
  .rr, .rf-row { flex-wrap: wrap; gap: 8px 12px; padding: 10px; }
  .rr .rbar { order: 5; flex-basis: 100%; max-width: none; }
  .rf-ctl { flex-basis: 100%; }
  .rr-num { display: none; }
  .avg-big { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) { .is-revealing .rr { animation: none; } .opp-drawer { transition: none; } }

/* ---- About (home) ---------------------------------------------------------------- */
.about-band { padding-top: 8px; padding-bottom: 56px; max-width: 860px; }
.about-band h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: 0.01em; }
.about-band p { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.about-band a { color: var(--fg); }

/* ---- Live match centre ------------------------------------------------------------- */
.lv-board { margin: 8px 0 28px; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); text-align: center; transition: box-shadow .4s, border-color .4s; }
.lv-board.is-live { border-color: rgba(200, 16, 46, .55); box-shadow: 0 0 0 1px rgba(200, 16, 46, .25), 0 20px 60px rgba(200, 16, 46, .18); }
.lv-board.is-goal { animation: lv-goal 1.2s ease-in-out 3; }
@keyframes lv-goal { 50% { box-shadow: 0 0 0 4px var(--red), 0 0 80px rgba(200, 16, 46, .7); } }
@media (prefers-reduced-motion: reduce) { .lv-board.is-goal { animation: none; border-color: var(--red); } }
.lv-quiet { text-align: left; }
.lv-quiet .lede, .lv-next { margin: 0; font-size: 18px; }
.lv-meta { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lv-count, .lv-last { margin: 10px 0 0; color: var(--muted); }
.lv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: start; }
.lv-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.lv-crest { display: block; width: 56px; height: 56px; object-fit: contain; }
.lv-name { font-weight: 700; font-size: 18px; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; max-width: 100%; }
.lv-scorers { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.lv-score { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; min-width: 120px; padding-top: 6px; }
.lv-num { font-family: var(--display); font-size: clamp(52px, 10vw, 76px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.lv-dash { font-family: var(--display); font-size: 40px; color: var(--muted); }
.lv-clock { flex-basis: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.lv-clock.is-live { color: #fff; }
.lv-pre .lv-ko { font-family: var(--display); font-size: 48px; line-height: 1; }
.lv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(200, 16, 46, .7); animation: lv-pulse 1.6s infinite; flex: none; }
@keyframes lv-pulse { 70% { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); } }
@media (prefers-reduced-motion: reduce) { .lv-dot { animation: none; } }
.lv-after { margin: 14px 0 0; }
.lv-pens { flex-basis: 100%; font-size: 13px; font-weight: 700; color: var(--gold); }
.lv-note { margin: -12px 0 20px; padding: 10px 14px; border-radius: 12px; background: var(--bg-3); color: var(--fg-2); font-size: 14px; }
.lv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
@media (max-width: 900px) { .lv-grid { grid-template-columns: minmax(0, 1fr); } }
.lv-feed { list-style: none; margin: 0; padding: 0; }
.lv-ev { display: grid; grid-template-columns: 54px 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lv-min { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--fg-2); padding-top: 1px; }
.lv-ico { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; font-size: 13px; font-weight: 800; color: var(--muted); }
.lv-txt { line-height: 1.5; overflow-wrap: anywhere; }
.lv-txt strong { color: #fff; }
.lv-big .lv-txt strong { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; margin-right: 4px; }
.lv-big.lv-ours { background: linear-gradient(90deg, rgba(200, 16, 46, .22), transparent 70%); border-radius: 10px; padding-left: 8px; }
.lv-ev.is-new { animation: lv-in 1.5s ease-out; }
@keyframes lv-in { from { background: rgba(255, 179, 71, .28); } }
.lv-ht .lv-txt strong, .lv-end .lv-txt strong, .lv-kickoff .lv-txt strong { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.lv-card { display: inline-block; width: 13px; height: 18px; border-radius: 2px; margin: 2px 6px 0; box-shadow: 0 0 0 1px rgba(0,0,0,.4); flex: none; }
.lv-card-y { background: #ffd400; }
.lv-card-r { background: #e1132f; }
.lv-more { margin-top: 14px; }
.lv-stats { max-width: none; }
.lv-stats .d-v { display: inline-block; min-width: 42px; }
.lv-stats .d-h, .lv-stats .d-a { white-space: nowrap; }
.lv-stats .d-bar { width: calc(100% - 66px); }
.lv-tabs { margin: 0 0 12px; }
.lv-form { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.lv-pitch .lv-was { opacity: .62; }
.lv-marks { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.lv-marks .lv-card { width: 9px; height: 12px; margin: 0 2px; }
.lv-m-off { color: #ffb4b4; }
.lv-list { list-style: none; margin: 0 0 8px; padding: 0; columns: 2 260px; column-gap: 32px; }
.lv-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.lv-pn { min-width: 0; overflow-wrap: anywhere; }
.lv-pn b { color: var(--muted); font-weight: 700; margin-right: 2px; }
.lv-pd { margin-left: auto; font-size: 13px; color: var(--muted); text-align: right; }
.lv-foot { margin-top: 28px; }
@media (max-width: 600px) {
  .lv-board { padding: 18px 12px 16px; }
  .lv-crest { width: 40px; height: 40px; }
  .lv-name { font-size: 15px; }
  .lv-score { min-width: 96px; }
  .lv-ev { grid-template-columns: 46px 26px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 400px) {
  .lv-row { gap: 6px; }
  .lv-score { min-width: 78px; }
  .lv-num { font-size: 44px; }
  .lv-dash { font-size: 28px; }
  .lv-name { font-size: 14px; }
  .lv-pre .lv-ko { font-size: 36px; }
}

/* the LIVE strip under the header on every page */
.live-strip { position: sticky; top: 0; z-index: 30; background: #1a0b10; border-bottom: 1px solid rgba(200, 16, 46, .5); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.ls-inner { display: flex; align-items: center; gap: 8px; }
.ls-link { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 0; color: #fff; text-decoration: none; font-size: 15px; }
.ls-link:hover .ls-go { text-decoration: underline; }
.ls-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 6px; background: var(--bg-3); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ls-tag.is-live { background: var(--red); }
.ls-tag.is-live .lv-dot { background: #fff; }
.ls-match { font-weight: 600; }
.ls-match b { font-variant-numeric: tabular-nums; margin: 0 2px; }
.ls-clock { color: var(--fg-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.ls-go { margin-left: auto; color: var(--red-text); font-weight: 600; white-space: nowrap; }
.ls-close { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; border-radius: 10px; }
.ls-close:hover { color: #fff; background: var(--bg-3); }
.site-nav a.is-live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--red); vertical-align: 1px; animation: lv-pulse 1.6s infinite; }

/* stats features (/stats/<slug>/): a ranked table grouped by stat */
.feature .notes { margin-top: 40px; }
.ftable { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ftable th, .ftable td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 400; }
.ftable thead th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-3); }
.ftable .c-stat { text-align: left; vertical-align: top; white-space: normal; width: 150px; font-weight: 700; color: #fff; }
.ftable thead .c-stat { color: var(--muted); font-weight: 600; }
.ftable .c-name { text-align: left; font-weight: 500; }
.ftable .c-rank { text-align: center; color: var(--muted); }
.ftable .c-all { font-weight: 700; color: #fff; background: var(--bg-3); }
.ftable thead .c-all { color: var(--gold); }
.ftable .per { color: var(--gold); }
.ftable tbody tr:first-child > * { border-top: 2px solid var(--line-2); }
.ftable tr.us > td, .ftable tr.us > .c-name { background: rgba(200, 16, 46, 0.16); }
.ftable tr.us > .c-all { background: rgba(200, 16, 46, 0.3); }
.ftable tr.us .c-name { color: #fff; font-weight: 700; }
.features .rooms { margin-top: 16px; }
.features .room h3 { font-size: 26px; line-height: 1.1; }
