/* ============================================================
   Eggbeater Water Polo — Apple TV (tvOS 26) "Liquid Glass"
   Lean-back, 10-foot, read-only spectator display.
   Designed at 1920×1080, 16:9. Title-safe: 60px top/bottom,
   80px left/right. Focus engine driven (Siri Remote).
   ============================================================ */

:root {
  /* ── Brand: navy gradient base ── */
  --navy-0:    #002a68;
  --navy-1:    #001f56;
  --navy-2:    #001a4a;
  --navy-3:    #00112e;
  --navy-deep: #000a1f;

  /* ── Accents ── */
  --teal:        #2bb5b0;
  --teal-bright: #4dd6d2;
  --accent-glow: #6ff0ec;
  --teal-glow:   rgba(77, 214, 210, 0.45);
  --live:        #ff6b6b;
  --live-deep:   #e0413f;
  --gold:        #ffd45e;
  --ball-gold:   #f0b429;

  /* ── Text on dark ── */
  --tx-1: #ffffff;
  --tx-2: rgba(233, 240, 255, 0.78);
  --tx-3: rgba(206, 219, 245, 0.55);
  --tx-4: rgba(190, 205, 235, 0.38);

  /* ── Liquid Glass material (iOS recipe) ── */
  --glass-blur: 30px;
  --glass-base: rgba(30, 46, 80, 0.56);   /* elevated navy panel */
  --glass-fill: rgba(255, 255, 255, 0.08);
  --glass-fill-2: rgba(255, 255, 255, 0.03);
  --glass-rim: rgba(255, 255, 255, 0.14);
  --glass-rim-top: rgba(255, 255, 255, 0.42);
  --glass-shadow:
    0 18px 44px rgba(0, 6, 24, 0.55), 0 3px 10px rgba(0, 4, 16, 0.42),
    inset 1px 1px 1px rgba(255,255,255,0.22), inset -1px -1px 1px rgba(255,255,255,0.05);

  /* focused glass — brighter, lifted */
  --glass-focus-fill: rgba(255, 255, 255, 0.16);
  --glass-focus-rim: rgba(255, 255, 255, 0.7);

  --r-sm:  14px;
  --r:     22px;
  --r-lg:  30px;
  --r-pill: 999px;

  --safe-x: 80px;
  --safe-y: 60px;

  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  /* display/mono pair — standard skin: system rounded + system mono;
     swapped to Bricolage Grotesque + Space Mono under [data-skin="jo"] below */
  --font-display: ui-rounded, "SF Pro Rounded", var(--font);
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.9,.27,1);
  --ease-focus: cubic-bezier(.2,.85,.3,1.1);
}

/* NAVY AND SUN (2026-10-04): the standard look's ONE face, Lexend — the same
   @font-face lines as spectator-app/src/styles/fonts.css, self-hosted from the
   SITE ROOT (/assets/fonts; this sheet is served at /marketing/tv-embed/tvos/).
   The face is declared 100-700 ON PURPOSE: every 800/900 in these sheets
   resolves to the real 700. LEXEND HAS NO TABULAR FIGURES, so 'Lexend Figures'
   (Lexend's digits, made tabular; unicode-range 0-9) goes FIRST in the stack:
   every digit is a tabular Lexend digit, so a running clock does not jitter.
   The standard tokens point --font/--font-display/--font-mono at --eb-font
   below; JO keeps its own faces. */
@font-face { font-family: 'Lexend'; src: url('/assets/fonts/Lexend-var.woff2') format('woff2'); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend Figures'; src: url('/assets/fonts/LexendFigures-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: 'Lexend Figures'; src: url('/assets/fonts/LexendFigures-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: 'Lexend Figures'; src: url('/assets/fonts/LexendFigures-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: 'Lexend Figures'; src: url('/assets/fonts/LexendFigures-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
:root {
  --eb-font: 'Lexend Figures', 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Site-hosted display faces (same files the marketing pages self-host;
   ../../../ = the site root from tv-embed/tvos/). Referenced only while the
   JO skin is active — the standard skin is Lexend (above). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../../../assets/fonts/BricolageGrotesque-var-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../../../assets/fonts/SpaceMono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../../../assets/fonts/SpaceMono-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* glass intensity variants */
[data-glass="soft"] { --glass-blur: 16px; --glass-base: rgba(38, 60, 110, 0.62); --glass-fill: rgba(255,255,255,0.1); --glass-fill-2: rgba(255,255,255,0.06); }
[data-glass="rich"] { --glass-blur: 46px; --glass-base: rgba(30, 50, 96, 0.34); --glass-fill: rgba(255,255,255,0.06); --glass-fill-2: rgba(255,255,255,0.03); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: #000;
  overflow: hidden;
  color: var(--tx-1);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; }

/* ── Stage + canvas scaling ── */
.tv-stage {
  position: fixed; inset: 0;
  background: #000;
  display: grid; place-items: center;
  overflow: hidden;
}
.tv-canvas {
  position: relative;
  width: 1920px; height: 1080px;
  flex-shrink: 0;
  overflow: hidden;
  transform-origin: center center;
  color: var(--tx-1);
}

/* ── Background layers ── */
.tv-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(77,214,210,0.20), transparent 50%),
    radial-gradient(80% 75% at 4% 110%, rgba(13,138,147,0.28), transparent 55%),
    radial-gradient(140% 120% at 50% -12%, #06335a 0%, transparent 58%),
    linear-gradient(168deg, #001230 0%, #00112e 40%, #03283f 78%, #073b41 100%);
}
.tv-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
  background-size: 64px 64px;
  opacity: 0.025;
}
[data-theme="light"] {
  --tx-1: #0a2a5e; --tx-2: #41506c; --tx-3: #6b7894; --tx-4: #9aa6bd;
  --glass-base: rgba(255,255,255,0.74);
  --glass-fill: rgba(255,255,255,0.5); --glass-fill-2: rgba(255,255,255,0.34);
  --glass-rim: rgba(255,255,255,0.9); --glass-rim-top: rgba(255,255,255,0.97);
  --glass-focus-fill: rgba(255,255,255,0.96); --glass-focus-rim: #ffffff;
  --glass-shadow:
    0 1px 3px rgba(8,30,72,0.05), 0 16px 40px rgba(8,30,72,0.11),
    inset 1px 1px 1px rgba(255,255,255,0.96), inset -1px -1px 1px rgba(255,255,255,0.45);
}
[data-theme="light"] .tv-bg {
  background:
    radial-gradient(68% 75% at 86% -8%, rgba(77,214,210,0.22), transparent 50%),
    radial-gradient(55% 66% at 2% 110%, rgba(13,138,147,0.1), transparent 55%),
    linear-gradient(170deg, #f7fafd 0%, #eef4f8 50%, #e4edf2 100%);
}
[data-theme="light"] .tv-bg::after {
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, rgba(8,30,72,0.4) 1px, transparent 0);
}

/* ── Title-safe region ── */
.safe {
  position: absolute; z-index: 2;
  top: var(--safe-y); right: var(--safe-x); bottom: var(--safe-y); left: var(--safe-x);
}

/* ── Generic Liquid Glass surface ── */
.glass {
  position: relative;
  background:
    linear-gradient(160deg, var(--glass-fill) 0%, var(--glass-fill-2) 100%),
    var(--glass-base);
  border: 1px solid var(--glass-rim);
  border-radius: var(--r);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  box-shadow: var(--glass-shadow);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.06) 26%, transparent 52%);
  opacity: 0.9; mix-blend-mode: screen;
}
/* iOS-style specular sheen on light glass */
[data-theme="light"] .glass::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 24%, rgba(255,255,255,0) 50%);
  opacity: 1; mix-blend-mode: normal;
}
/* Light mode: flat interactive tiles become frosted white glass tiles
   (specular top edge + ambient shadow + crisp rim) to match the iOS reskin */
[data-theme="light"] .key,
[data-theme="light"] .code-cell,
[data-theme="light"] .titem,
[data-theme="light"] .tab,
[data-theme="light"] .divpill,
[data-theme="light"] .entry-theme,
[data-theme="light"] .gd-back,
[data-theme="light"] .gd-tab,
[data-theme="light"] .gd-clockpill,
[data-theme="light"] .btn-tv {
  background: rgba(255,255,255,0.7);
  border-color: rgba(8,30,72,0.06);
  box-shadow: 0 1px 3px rgba(8,30,72,0.05), 0 10px 26px rgba(8,30,72,0.1), inset 0 1px 0 rgba(255,255,255,0.96);
}
/* Dark mode: same tiles get an iOS specular top edge + ambient lift */
[data-theme="dark"] .key,
[data-theme="dark"] .code-cell,
[data-theme="dark"] .titem,
[data-theme="dark"] .tab,
[data-theme="dark"] .divpill,
[data-theme="dark"] .entry-theme,
[data-theme="dark"] .gd-back,
[data-theme="dark"] .gd-tab,
[data-theme="dark"] .gd-clockpill,
[data-theme="dark"] .btn-tv {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 10px rgba(0,4,16,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ============================================================
   FOCUS ENGINE — every focusable lifts + scales + glows
   ============================================================ */
.tvf {
  outline: none;
  transition:
    transform .26s var(--ease-focus),
    box-shadow .26s var(--ease),
    background-color .2s var(--ease),
    border-color .2s var(--ease),
    filter .2s var(--ease);
  will-change: transform;
}
.tvf.is-focused {
  z-index: 30;
}
/* glass cards when focused — 3px ring + glow, scale 1.05 (cards only) */
.glass.tvf.is-focused {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(160deg, var(--glass-focus-fill), var(--glass-fill)), var(--glass-base);
  border-color: var(--glass-focus-rim);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.72),
    0 0 22px 1px var(--teal-glow),
    0 22px 50px rgba(0,4,18,0.5);
}
.gcard.tvf.is-focused { transform: scale(1.05) translateY(-4px); }
[data-theme="light"] .glass.tvf.is-focused {
  box-shadow:
    0 0 0 3px var(--teal-bright),
    0 0 40px 4px var(--teal-glow),
    0 36px 70px rgba(10,30,70,0.28);
}

/* ── Header band ── */
.hdr {
  position: absolute; top: var(--safe-y); left: var(--safe-x); right: var(--safe-x); z-index: 3;
  display: flex; align-items: center; gap: 26px;
}
.crest {
  width: 92px; height: 92px; border-radius: 22px; flex-shrink: 0;
  display: grid; place-items: center;
  font-weight: 800; font-size: 34px; letter-spacing: -1px; color: #fff;
  box-shadow: 0 16px 40px rgba(0,8,30,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.hdr-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hdr-host { font-size: 18px; font-weight: 600; color: var(--teal-bright); letter-spacing: 0.04em; text-transform: uppercase; }
.hdr-name { font-family: var(--font-display); font-size: 34px; font-weight: 900; letter-spacing: -0.8px; line-height: 1; color: var(--tx-1); }
.hdr-meta { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.hdr-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 600; color: var(--tx-2);
}
.hdr-chip svg { width: 20px; height: 20px; stroke: var(--teal-bright); }
.hdr-dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--tx-4); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.hdr-pills { display: flex; align-items: center; gap: 12px; }
.hdr-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: var(--r-pill);
  font-size: 18px; font-weight: 700; color: var(--tx-1);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}
.hdr-pill svg { width: 20px; height: 20px; stroke: var(--teal-bright); }
.hdr-pill.tvf.is-focused {
  background: #fff; color: var(--navy-2); border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5), 0 0 22px 1px var(--teal-glow), 0 14px 30px rgba(0,4,18,0.45);
}
.hdr-pill.tvf.is-focused svg { stroke: var(--navy-2); }
[data-theme="light"] .hdr-pill { background: rgba(20,40,90,0.06); border-color: rgba(20,40,90,0.14); }
.clock { font-family: var(--font-mono); font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.5px; color: var(--tx-1); }

/* LIVE pill */
.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 15px; border-radius: var(--r-pill);
  background: rgba(255,107,107,0.18); border: 1px solid rgba(255,107,107,0.5);
  font-size: 20px; font-weight: 800; letter-spacing: 0.06em; color: #fff;
}
.live-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--live); box-shadow: 0 0 12px var(--live); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ============================================================
   LIVE RAIL
   ============================================================ */
.rail { display: grid; gap: 26px; grid-auto-flow: column; grid-auto-columns: 1fr; }
.gcard { padding: 26px 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; min-height: 360px; }
.gcard-top { display: flex; align-items: center; justify-content: space-between; }
.gcard-tag { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); }
.gcard-live { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; letter-spacing: 0.06em; color: var(--live); }
.gcard-live .live-dot { width: 11px; height: 11px; }
.gteam { display: flex; align-items: center; gap: 16px; }
.gteam-id { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.gteam-name { font-size: 30px; font-weight: 700; letter-spacing: -0.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gteam-score { margin-left: auto; flex-shrink: 0; font-size: 56px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 0.9; letter-spacing: -1px; }
.gteam.lead .gteam-name { color: #fff; }
.gteam.trail .gteam-name, .gteam.trail .gteam-score { color: var(--tx-3); }
.gteam.lead .gteam-score { color: #fff; }
.gcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; border-top: 1px solid var(--glass-rim); }
.gcard-clock { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--teal-bright); flex-shrink: 0; }
.gcard-venue { font-size: 16px; color: var(--tx-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* team dot */
.tdot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25); }
.tdot.dark { background: #16233f !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4); }
.tdot.white { background: #f3f7ff !important; box-shadow: inset 0 0 0 2px rgba(0,30,80,0.35); }
/* generated club crest badge (monogram on club-color gradient) — the team-logo look */
.tcrest { display: inline-grid; place-items: center; border-radius: 28%; flex-shrink: 0; color: #fff; font-weight: 800; line-height: 1; letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0,8,24,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 2px 7px rgba(0,8,24,0.28); }
.tcrest.dark  { box-shadow: inset 0 0 0 2px #16233f, 0 2px 7px rgba(0,8,24,0.28); }
.tcrest.white { box-shadow: inset 0 0 0 2px #f3f7ff, 0 2px 7px rgba(0,8,24,0.28); }
/* real club logo badge (from /club-logo) — the team-logo look */
.tlogo { border-radius: 24%; object-fit: cover; flex-shrink: 0; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,30,80,0.10), 0 2px 7px rgba(0,8,24,0.22); }
.tlogo.dark  { box-shadow: inset 0 0 0 2px #16233f, 0 2px 7px rgba(0,8,24,0.22); }
.tlogo.white { box-shadow: inset 0 0 0 2px #f3f7ff, 0 2px 7px rgba(0,8,24,0.22); }

/* ============================================================
   TAB BAR
   ============================================================ */
/* v3.6 tab row: wider gutter (36px scaled), fixed-size pills, spacer, then
   the TV Mode pill + circular Exit chip. Pills do NOT scale on focus. */
.tabbar { display: flex; align-items: center; gap: 36px; width: 100%; }
.tab {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  width: 200px; height: 56px; padding: 0 10px; flex-shrink: 0;
  border-radius: var(--r-pill);
  font-size: 22px; font-weight: 700; letter-spacing: -0.2px; color: var(--tx-2);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
}
.tab svg { width: 24px; height: 24px; stroke: currentColor; flex-shrink: 0; }
.tab.active { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.28); }
.tab.tvf.is-focused {
  transform: translateY(-2px);
  background: #fff; color: var(--navy-2);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.55), 0 0 24px 1px var(--teal-glow), 0 16px 32px rgba(0,4,18,0.45);
}
.tab.tvf.is-focused svg { stroke: var(--navy-2); }
.tab .tab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--r-pill);
  background: var(--live); color: #fff; font-size: 15px; font-weight: 800;
}
.tab-spacer { flex: 1; min-width: 12px; }
.tab.tab-util { width: auto; padding: 0 26px; }
.tab-exit {
  display: inline-grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%; color: var(--tx-2);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
}
.tab-exit svg { width: 24px; height: 24px; stroke: currentColor; }
.tab-exit.tvf.is-focused {
  background: #fff; color: var(--navy-2); border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.55), 0 0 24px 1px var(--teal-glow), 0 16px 32px rgba(0,4,18,0.45);
}
.tab-exit.tvf.is-focused svg { stroke: var(--navy-2); }
[data-theme="light"] .tab-exit { background: rgba(255,255,255,0.7); border-color: rgba(8,30,72,0.06); }
[data-theme="dark"] .tab-exit { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); }
/* JO skin: active tab carries a 4px gold gradient underline (standard: none) */
[data-skin="jo"] .tab.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 7px;
  width: 58px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #F8CF5A, #F2983C);
}

/* division switcher pills */
.divs { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.divs-lbl { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); margin-right: 6px; flex-shrink: 0; }
.divs-row { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; overflow: hidden; }
.divpill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border-radius: var(--r-pill); flex-shrink: 0;
  font-size: 19px; font-weight: 600; color: var(--tx-2);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.divpill.on { background: rgba(77,214,210,0.16); border-color: rgba(77,214,210,0.5); color: #fff; }
[data-theme="light"] .divpill.on { color: var(--tx-1); background: rgba(13,138,147,0.13); border-color: rgba(13,138,147,0.45); }
.divpill.tvf.is-focused {
  transform: translateY(-2px); background: #fff; color: var(--navy-2); border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5), 0 0 30px 3px var(--teal-glow), 0 18px 36px rgba(0,4,18,0.5);
}
.divpill .pl { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
/* live-count prefix: dot + number, only when the division has live games */
.divpill .pl-ct { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; color: var(--live); font-variant-numeric: tabular-nums; }
[data-theme="light"] .divpill .pl-ct { color: #cc1f1f; }
/* MORE › — pinned at the row's right end when >4 divisions */
.divpill.more { margin-left: auto; font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); gap: 6px; }
.divpill.more .chev { font-size: 20px; line-height: 1; transform: translateY(-1px); }
.divpill.more.tvf.is-focused { color: var(--navy-2); }

/* ── Panel area ── */
.panel { position: absolute; left: var(--safe-x); right: var(--safe-x); }
.panel-fade { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { transform: translateY(16px); } }

.sec-hd { font-size: 17px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 16px; }

/* ── JO 2026 seasonal skin ──────────────────────────────────────────────────
   Gated on html[data-skin="jo"], set by the /skin-state worker flag (see the
   bootstrap in app.jsx) — flips together with tvOS/app/web and auto-reverts
   when the flag drops after the event. The dusk world applies over EITHER
   base theme: vars are re-declared on the [data-theme] wrapper too, since CSS
   custom properties resolve by DOM proximity, not selector specificity. */
[data-skin="jo"],
[data-skin="jo"] [data-theme] {
  --font-display: "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --teal: #F2983C;
  --teal-bright: #F8CF5A;
  --accent-glow: #FCEBB8;
  --teal-glow: rgba(248, 207, 90, 0.4);
  --gold: #F8CF5A;
  --ball-gold: #F8CF5A;
  --glass-base: rgba(46, 28, 66, 0.58);
  --glass-fill: rgba(251, 239, 210, 0.08);
  --glass-rim: rgba(251, 239, 210, 0.18);
  --glass-rim-top: rgba(251, 239, 210, 0.45);
  --glass-focus-fill: rgba(251, 239, 210, 0.16);
  --glass-focus-rim: rgba(248, 207, 90, 0.8);
  --tx-1: #FBEFD2;
  --tx-2: #F6D89A;
  --tx-3: #D9B98C;
  --tx-4: #B99A77;
  --glass-shadow:
    0 1px 3px rgba(10, 4, 20, 0.25), 0 16px 40px rgba(10, 4, 20, 0.35),
    inset 1px 1px 1px rgba(251, 239, 210, 0.18), inset -1px -1px 1px rgba(251, 239, 210, 0.06);
}
[data-skin="jo"] .tv-bg {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(248, 207, 90, 0.20), transparent 50%),
    radial-gradient(80% 75% at 4% 110%, rgba(237, 94, 44, 0.28), transparent 55%),
    radial-gradient(140% 120% at 50% -12%, #3A2C5F 0%, transparent 58%),
    linear-gradient(168deg, #2B2A57 0%, #402D61 40%, #4A2E63 62%, #7A2F66 84%, #B23A5E 100%);
}
[data-skin="jo"] .tv-bg::after {
  opacity: 0.025;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.5) 1px, transparent 0);
}
/* Game detail rides the same dusk world — without this the overlay keeps the
   base-theme backdrop and tears the material seam when it opens. */
[data-skin="jo"] .gd,
[data-skin="jo"] [data-theme] .gd {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(248, 207, 90, 0.16), transparent 50%),
    radial-gradient(80% 75% at 4% 110%, rgba(237, 94, 44, 0.22), transparent 55%),
    linear-gradient(168deg, rgba(32, 26, 66, 0.92) 0%, rgba(58, 30, 74, 0.92) 55%, rgba(122, 47, 102, 0.9) 100%);
}
[data-skin="jo"] [data-theme="light"] .gd-tab.on { background: var(--glass-focus-fill); border-color: var(--glass-rim); }
[data-skin="jo"] [data-theme="light"] .gd-bar .track { background: rgba(251, 239, 210, 0.12); }

/* ── Per-panel scene backdrops — BOTH skins (native SceneTable, Backdrop.swift):
      JO's graded photos, the bay banner under the standard look. app.jsx picks
      the file. The vignette is the standard look's (native SceneBackground):
      the photo fades into the ground colour toward the edges, where the chrome
      sits; the splash (hero) adds the downward scrim. ── */
.tv-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; pointer-events: none; transition: opacity .5s var(--ease); }
.tv-scene-vig {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 220px, var(--bg-base, #060D1F) 1180px);
}
.tv-scene-vig.hero {
  background:
    linear-gradient(180deg, transparent 0%, var(--bg-scrim, rgba(6, 13, 31, 0.74)) 100%),
    radial-gradient(circle at 50% 50%, transparent 520px, var(--bg-base, #060D1F) 1500px);
}
.crest-img { border-radius: 22%; object-fit: cover; box-shadow: 0 10px 26px rgba(10,4,20,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
/* The detail overlay becomes a scrim over the scene rather than an opaque
   gradient, so scene-detail shows through like the native app. */
[data-skin="jo"] .gd,
[data-skin="jo"] [data-theme] .gd {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(248, 207, 90, 0.10), transparent 50%),
    linear-gradient(168deg, rgba(24, 16, 44, 0.66) 0%, rgba(40, 20, 52, 0.62) 55%, rgba(84, 32, 72, 0.60) 100%);
}

/* ── JO skin, LIGHT theme (native 3.6 has a real light variant: cream base,
      plum ink, coral accent, deep-ochre gold). Declared AFTER the shared JO
      block so it wins on the same selector weight. ── */
[data-skin="jo"] [data-theme="light"] {
  --tx-1: #1B1226; --tx-2: #45305C; --tx-3: #77628E; --tx-4: #A18FB6;
  --teal: #C94818; --teal-bright: #C94818; --accent-glow: #E0A019;
  --teal-glow: rgba(201, 72, 24, 0.28);
  --gold: #B0790A; --ball-gold: #E0A019;
  --glass-base: rgba(253, 248, 235, 0.66);
  --glass-fill: rgba(255, 255, 255, 0.55); --glass-fill-2: rgba(255, 255, 255, 0.34);
  --glass-rim: rgba(27, 18, 38, 0.12); --glass-rim-top: rgba(255, 255, 255, 0.92);
  --glass-focus-fill: rgba(255, 255, 255, 0.95); --glass-focus-rim: rgba(201, 72, 24, 0.92);
  --glass-shadow:
    0 1px 3px rgba(64, 28, 20, 0.08), 0 16px 40px rgba(64, 28, 20, 0.14),
    inset 1px 1px 1px rgba(255, 255, 255, 0.95), inset -1px -1px 1px rgba(255, 255, 255, 0.4);
}
[data-skin="jo"] [data-theme="light"] .tv-bg {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(224, 160, 25, 0.20), transparent 50%),
    radial-gradient(80% 75% at 4% 110%, rgba(201, 72, 24, 0.12), transparent 55%),
    linear-gradient(168deg, #F6EAD0 0%, #F4E4C8 52%, #EFD6BC 100%);
}
[data-skin="jo"] [data-theme="light"] .gd,
[data-skin="jo"] [data-theme="light"] [data-theme] .gd {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(224, 160, 25, 0.14), transparent 50%),
    linear-gradient(168deg, rgba(246, 234, 208, 0.78) 0%, rgba(244, 226, 198, 0.74) 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVY AND SUN (2026-10-04) — THE STANDARD LOOK
   ═══════════════════════════════════════════════════════════════════════════
   Owner rulings for the TV: navy and sun is the PERMANENT standard look (JO is
   the only seasonal skin; varsity is retired and renders as this); NO club or
   team colours at all; the bay banner is the backdrop (TV only). A transcription
   of native tvOS Theme.swift `.standard` — every value is a token from
   waterpolo/design/navy-sun/TOKENS.md (light column on paper, night column in
   dark). Token NAMES did not move, so no rule had to:
     --teal-bright  = THE accent (Theme.accent): navy on paper, the SUN at night
                      (an ink at almost every site; the sun reads ≈13:1 on night)
     --teal         = navy-text family (mid blue on paper, #9DBDF2 at night)
     --teal-glow    = focus glow (accent @ .40 / .50); --focus-ring = navy / sun
     --gold         = sun-deep #7A5200 on paper (gold as TEXT), the sun at night
     --tx-1..4      = ink · ink-body · muted · muted-lighter (AA on paper + glass)
     --cta-bg/-ink  = the primary button pair: navy/white by day, sun/navy at night
   Scoped to `:root:not([data-skin="jo"])` so the JO sheet above is untouched
   byte for byte (custom properties resolve by DOM proximity, so the values go
   on the [data-theme] canvas, like the JO block). Component overrides for the
   panel / detail / screensaver sheets sit at the end of those files.
   LIVE stays broadcast red: no --live value changes here. Caps stay caps. */

/* Fallback crest — skin-independent, like native Crest: the brand navy under
   white initials whatever the club's colour (white on #2A5DB8 = 6.3:1). */
[data-theme] { --crest-fill: linear-gradient(150deg, #2A5DB8, #002F6C); }
[data-theme="light"] { --crest-fill: linear-gradient(150deg, #002F6C, #00285C); }

:root:not([data-skin="jo"]) {
  --font: var(--eb-font);
  --font-text: var(--eb-font);
  --font-display: var(--eb-font);
  --font-mono: var(--eb-font);     /* no monospace face: a clock is Lexend's tabular figures */
}
/* NIGHT (dark) — set on the canvas for both themes; LIGHT overrides below. */
:root:not([data-skin="jo"]) [data-theme] {
  --navy-0: #002F6C; --navy-1: #002F6C; --navy-2: #002F6C; --navy-3: #002F6C; --navy-deep: #00285C;
  --teal: #9DBDF2;
  --teal-bright: #FFD862;
  --accent-glow: #FFD862;
  --teal-glow: rgba(255, 216, 98, 0.50);
  --focus-ring: rgba(255, 216, 98, 0.95);
  --accent-wash: rgba(255, 216, 98, 0.20);
  --accent-edge: rgba(255, 216, 98, 0.60);
  --accent-2: #9DBDF2;
  --kicker: #98A2B8;
  --gold: #FFD862;
  --ball-gold: #FFD862;
  --win: #6FD69A;
  --amber: #FFB38A;   /* feed status = orange-text (night); the #d97706 fallback was the old look */
  --cta-bg: #FFD862; --cta-ink: #002F6C;
  --bg-base: #060D1F; --bg-scrim: rgba(6, 13, 31, 0.74);
  --line-soft: rgba(157, 189, 242, 0.12);
  --tx-1: #F6F1E7; --tx-2: #C9CFDD; --tx-3: #98A2B8; --tx-4: rgba(152, 162, 184, 0.8);
  --glass-base: rgba(13, 24, 48, 0.60);
  --glass-fill: rgba(255, 255, 255, 0.05); --glass-fill-2: rgba(255, 255, 255, 0.015);
  --glass-rim: rgba(157, 189, 242, 0.16); --glass-rim-top: rgba(255, 255, 255, 0.28);
  --glass-focus-fill: rgba(255, 255, 255, 0.10); --glass-focus-rim: rgba(255, 216, 98, 0.95);
  --glass-shadow:
    0 18px 44px rgba(0, 0, 0, 0.50), 0 3px 10px rgba(0, 0, 0, 0.32),
    inset 1px 1px 1px rgba(255, 255, 255, 0.10), inset -1px -1px 1px rgba(255, 255, 255, 0.03);
}
/* LIGHT — warm paper, navy ink, navy accent; tx-4 is a solid a hair lighter than
   muted so it still clears AA on paper (4.75:1) — native's muted@.8 does not. */
:root:not([data-skin="jo"]) [data-theme="light"] {
  --teal: #2A5DB8;
  --teal-bright: #002F6C;
  --accent-glow: #2A5DB8;
  --teal-glow: rgba(0, 47, 108, 0.40);
  --focus-ring: rgba(0, 47, 108, 0.90);
  --accent-wash: #E6ECF5;
  --accent-edge: rgba(0, 47, 108, 0.45);
  --accent-2: #002F6C;
  --kicker: #5D6577;
  --gold: #7A5200;
  --ball-gold: #FFD862;
  --win: #1B6B3A;
  --amber: #A8480F;   /* orange-text on paper, 5.4:1 (the #d97706 fallback was 3.2:1) */
  --cta-bg: #002F6C; --cta-ink: #FFFFFF;
  --bg-base: #FAF6EF; --bg-scrim: rgba(250, 246, 239, 0.74);
  --line-soft: rgba(0, 47, 108, 0.10);
  --tx-1: #14182B; --tx-2: #3B4256; --tx-3: #5D6577; --tx-4: #666E80;
  --glass-base: rgba(255, 255, 255, 0.74);
  --glass-fill: rgba(255, 255, 255, 0.5); --glass-fill-2: rgba(255, 255, 255, 0.34);
  --glass-rim: #E6DFD3; --glass-rim-top: rgba(255, 255, 255, 0.97);
  --glass-focus-fill: rgba(255, 255, 255, 0.96); --glass-focus-rim: rgba(0, 47, 108, 0.90);
  --glass-shadow:
    0 1px 3px rgba(0, 47, 108, 0.05), 0 16px 40px rgba(0, 47, 108, 0.10),
    inset 1px 1px 1px rgba(255, 255, 255, 0.96), inset -1px -1px 1px rgba(255, 255, 255, 0.45);
}

/* Ground: surface-pool with the last of the sun in the top corner — orange
   top-right, pink beyond it (native standardBackground, eggbeater3 `body`).
   No dot texture. The bay banner (.tv-scene) draws over this. */
:root:not([data-skin="jo"]) .tv-bg {
  background:
    radial-gradient(circle 1100px at 100% -8%, rgba(247, 136, 74, 0.14), transparent),
    radial-gradient(circle 1500px at 78% -16%, rgba(204, 59, 114, 0.12), transparent),
    #060D1F;
}
:root:not([data-skin="jo"]) [data-theme="light"] .tv-bg {
  background:
    radial-gradient(circle 1100px at 100% -8%, rgba(247, 136, 74, 0.18), transparent),
    radial-gradient(circle 1500px at 78% -16%, rgba(204, 59, 114, 0.09), transparent),
    #FAF6EF;
}
:root:not([data-skin="jo"]) .tv-bg::after { content: none; }

/* Glass sheen: native sheenTop is white .08 at night (the base screen-blend
   0.4 read as a white smear on the night card); paper keeps the iOS sheen. */
:root:not([data-skin="jo"]) .glass::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 26%, transparent 52%);
  opacity: 1; mix-blend-mode: normal;
}
:root:not([data-skin="jo"]) [data-theme="light"] .glass::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 24%, rgba(255, 255, 255, 0) 50%);
}

/* Tiles (keys, pills, list rows): the card as glass — white on paper with the
   warm line + a navy-tinted shadow; the night card with a blue rim at night.
   ⚠ This outranks the base STATE rules, so every state below is restated. */
:root:not([data-skin="jo"]) [data-theme="light"] :is(.key, .code-cell, .titem, .tab, .tab-exit, .hdr-pill, .divpill, .entry-theme, .gd-back, .gd-tab, .gd-clockpill, .btn-tv) {
  background: rgba(255, 255, 255, 0.74);
  border-color: #E6DFD3;
  box-shadow: 0 1px 3px rgba(0, 47, 108, 0.05), 0 10px 26px rgba(0, 47, 108, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}
:root:not([data-skin="jo"]) [data-theme="dark"] :is(.key, .code-cell, .titem, .tab, .tab-exit, .hdr-pill, .divpill, .entry-theme, .gd-back, .gd-tab, .gd-clockpill, .btn-tv) {
  background: rgba(13, 24, 48, 0.60);
  border-color: rgba(157, 189, 242, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Fit: Lexend sets wider than the system stack these FIXED 200px tab pills were
   cut for — "Championship" (icon + label) overran its pill by ~15px at 22px.
   A notch smaller, a tighter gap: every label fits, the row geometry is unchanged. */
:root:not([data-skin="jo"]) [data-theme] .tab { font-size: 21px; letter-spacing: -0.4px; gap: 8px; }
:root:not([data-skin="jo"]) [data-theme] .tab:not(.tab-util) { padding: 0 6px; }

/* Active = the accent wash + accent ink + accent edge (native TabPill / DivPill:
   accent @.22 fill, accent text, accent @.65 stroke; on paper the navy-subtle
   token is that wash). AA: sun on its wash 8.2:1, navy on navy-subtle 10.9:1. */
:root:not([data-skin="jo"]) [data-theme] .tab.active,
:root:not([data-skin="jo"]) [data-theme] .divpill.on,
:root:not([data-skin="jo"]) [data-theme] .gd-tab.on {
  background: var(--accent-wash); color: var(--teal-bright); border-color: var(--accent-edge);
}

/* FOCUS — the bespoke treatment, standard: a WHITE plate with navy ink (native
   focusFill / onAccent) and a 3px ring in the brightest token — the SUN at
   night, the NAVY on paper (a white ring on the light stage was invisible from
   ten feet). Pills are native "Grammar B": the plate flip + ring, no glow. */
:root:not([data-skin="jo"]) [data-theme] :is(.tab, .tab-exit, .hdr-pill, .divpill, .entry-theme, .gd-back, .gd-tab).tvf.is-focused {
  background: #fff; color: #002F6C; border-color: #fff;
  box-shadow: 0 0 0 3px var(--focus-ring), 0 14px 30px rgba(0, 0, 0, 0.38);
}
:root:not([data-skin="jo"]) [data-theme="light"] :is(.tab, .tab-exit, .hdr-pill, .divpill, .entry-theme, .gd-back, .gd-tab).tvf.is-focused {
  box-shadow: 0 0 0 3px var(--focus-ring), 0 14px 30px rgba(0, 47, 108, 0.18);
}
/* Cards (glass) — the ring + the accent glow + the lift (native ebFocus). */
:root:not([data-skin="jo"]) [data-theme] .glass.tvf.is-focused {
  border-color: var(--glass-focus-rim);
  box-shadow: 0 0 0 3px var(--focus-ring), 0 0 22px 1px var(--teal-glow), 0 22px 50px rgba(0, 0, 0, 0.45);
}
:root:not([data-skin="jo"]) [data-theme="light"] .glass.tvf.is-focused {
  box-shadow: 0 0 0 3px var(--focus-ring), 0 0 30px 2px var(--teal-glow), 0 30px 60px rgba(0, 47, 108, 0.22);
}

/* Kicker ("Hosted by …") is MUTED in the standard look (TOKENS: the eyebrow
   kicker; native Theme.kicker → tx3). Section heads stay on the accent. */
:root:not([data-skin="jo"]) [data-theme] .hdr-host { color: var(--kicker); }

/* Emphasis that was hard white for the old night stage → the ink token (warm
   #F6F1E7 at night, ink on paper). */
:root:not([data-skin="jo"]) [data-theme] .gteam.lead .gteam-name,
:root:not([data-skin="jo"]) [data-theme] .gteam.lead .gteam-score { color: var(--tx-1); }

/* The lockup — the sun and the wordmark as ONE drawing (/assets/brand, the same
   art as the new site's header and native NSLockup). Navy wordmark on paper,
   the reversed white one at night. Rendered by components.jsx <Lockup/> in the
   standard look only; sizes are the native heights (splash stacked 448 =
   LogoLockup 240 × 896/480, entry 58, footer 28, ambient 46). */
.ns-lockup {
  display: block; flex-shrink: 0;
  width: 316.7px; height: 58px; aspect-ratio: 1944 / 356;
  background: url('/assets/brand/eggbeater-lockup-horizontal.svg') no-repeat center / contain;
}
[data-theme="dark"] .ns-lockup { background-image: url('/assets/brand/eggbeater-lockup-horizontal-reversed.svg'); }
.ns-lockup.stacked {
  width: 797px; height: 448px; aspect-ratio: 1594 / 896;
  background-image: url('/assets/brand/eggbeater-lockup-stacked.svg');
}
[data-theme="dark"] .ns-lockup.stacked { background-image: url('/assets/brand/eggbeater-lockup-stacked-reversed.svg'); }
.dash-foot .ns-lockup { width: 152.9px; height: 28px; }
.ss-brand .ns-lockup { width: 251.2px; height: 46px; }

/* ── VARSITY (high-school) seasonal skin ────────────────────────────────────
   ⛔ RETIRED (owner, 2026-10-04): high schools wear navy and sun. app.jsx never
   sets data-skin="varsity" any more (the wire value still decodes, as the
   standard look), so every [data-skin="varsity"] rule below is inert. Kept,
   not deleted, as the record of the retired skin. */
/* ── VARSITY (high-school) seasonal skin ────────────────────────────────────
   Gated on html[data-skin="varsity"], set by the same /skin-state worker flag
   as every other surface (bootstrap in app.jsx) — flips together with
   tvOS/app/web and auto-reverts when the flag drops. Tokens transcribed from
   the native tvOS varsity theme (waterpolo/tvos-app EggbeaterTV/Theme.swift,
   skin == .varsity), which itself transcribes design_handoff_varsity:
   night navy #091A26 / chalk #EEF2F6 stages, POOL-BLUE #3E86E6·#1E63C8 for
   every ACTIVE control and the focus ring, GOLD #F4B740·#A5720A reserved for
   kickers/numerals/wins/the wordmark. LIVE stays broadcast red. Vars are
   re-declared on the [data-theme] wrapper too (CSS custom properties resolve
   by DOM proximity, not selector specificity). */
[data-skin="varsity"],
[data-skin="varsity"] [data-theme] {
  --font-display: "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Consolas, monospace;
  /* kicker/emphasis family (--teal-*) goes GOLD; actives are handled per-control */
  --teal: #F4B740;
  --teal-bright: #F4B740;
  --accent-glow: #6FB0F2;
  --teal-glow: rgba(62, 134, 230, 0.5);
  --gold: #F4B740;
  --ball-gold: #F4B740;
  --glass-base: rgba(19, 52, 66, 0.62);
  --glass-fill: rgba(238, 243, 246, 0.08);
  --glass-fill-2: rgba(238, 243, 246, 0.03);
  --glass-rim: rgba(150, 196, 214, 0.22);
  --glass-rim-top: rgba(238, 243, 246, 0.42);
  --glass-focus-fill: rgba(238, 243, 246, 0.16);
  --glass-focus-rim: rgba(62, 134, 230, 0.85);
  --tx-1: #EEF3F6;
  --tx-2: #B9CAD6;
  --tx-3: rgba(238, 243, 246, 0.62);
  --tx-4: rgba(238, 243, 246, 0.40);
  --glass-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.38),
    inset 1px 1px 1px rgba(238, 243, 246, 0.16), inset -1px -1px 1px rgba(238, 243, 246, 0.05);
}
/* Night stage — Friday-night wash: gold radial left, pool-blue radial right
   over the teal-navy ramp (the /high-school hero geometry). */
[data-skin="varsity"] .tv-bg {
  background:
    radial-gradient(54% 40% at 14% -8%, rgba(244, 183, 64, 0.16), transparent 62%),
    radial-gradient(54% 40% at 86% -8%, rgba(62, 134, 230, 0.18), transparent 62%),
    radial-gradient(140% 120% at 50% -12%, #123A50 0%, transparent 58%),
    linear-gradient(168deg, #071620 0%, #091A26 45%, #0C2331 78%, #123A50 100%);
}
[data-skin="varsity"] .tv-bg::after {
  opacity: 0.025;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.5) 1px, transparent 0);
}
/* Game-detail overlay rides the same night world. */
[data-skin="varsity"] .gd,
[data-skin="varsity"] [data-theme] .gd {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(244, 183, 64, 0.1), transparent 50%),
    linear-gradient(168deg, rgba(7, 22, 32, 0.9) 0%, rgba(9, 26, 38, 0.88) 55%, rgba(18, 58, 80, 0.86) 100%);
}

/* ── Varsity LIGHT — "chalk & sun": chalk paper, navy ink, deep-ochre gold.
   Declared AFTER the shared block so it wins on the same selector weight. ── */
[data-skin="varsity"] [data-theme="light"] {
  --tx-1: #0E1D2E; --tx-2: #33485B; --tx-3: #64778A; --tx-4: #8494A3;
  --teal: #A5720A; --teal-bright: #A5720A; --accent-glow: #1E63C8;
  --teal-glow: rgba(30, 99, 200, 0.32);
  --gold: #A5720A; --ball-gold: #C68A1C;
  --glass-base: rgba(255, 255, 255, 0.66);
  --glass-fill: rgba(255, 255, 255, 0.55); --glass-fill-2: rgba(255, 255, 255, 0.34);
  --glass-rim: rgba(18, 58, 80, 0.16); --glass-rim-top: rgba(255, 255, 255, 0.92);
  --glass-focus-fill: rgba(255, 255, 255, 0.95); --glass-focus-rim: rgba(30, 99, 200, 0.9);
  --glass-shadow:
    0 1px 3px rgba(18, 58, 80, 0.08), 0 16px 40px rgba(18, 58, 80, 0.14),
    inset 1px 1px 1px rgba(255, 255, 255, 0.95), inset -1px -1px 1px rgba(255, 255, 255, 0.4);
}
[data-skin="varsity"] [data-theme="light"] .tv-bg {
  background:
    radial-gradient(52% 36% at 14% -6%, rgba(198, 138, 28, 0.16), transparent 62%),
    radial-gradient(52% 36% at 86% -6%, rgba(30, 99, 200, 0.13), transparent 62%),
    linear-gradient(168deg, #F6F8FA 0%, #EEF2F6 52%, #E9EFF2 100%);
}
[data-skin="varsity"] [data-theme="light"] .tv-bg::after {
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, rgba(14, 29, 46, 0.4) 1px, transparent 0);
}
[data-skin="varsity"] [data-theme="light"] .gd {
  background:
    radial-gradient(85% 80% at 82% -8%, rgba(198, 138, 28, 0.12), transparent 50%),
    linear-gradient(168deg, rgba(246, 248, 250, 0.82) 0%, rgba(238, 242, 246, 0.78) 100%);
}

/* ── ACTIVE controls are POOL-BLUE (the varsity inversion of JO's gold law).
   Active fills carry the chalk ink; the focused state stays the chalk plate
   with deep-navy ink (native onAccent #0E1D2E). ── */
[data-skin="varsity"] [data-theme] .tab.active {
  background: #3E86E6; border-color: rgba(255, 255, 255, 0.28); color: #F2F7FB;
}
[data-skin="varsity"] [data-theme="light"] .tab.active {
  background: #1E63C8; border-color: rgba(14, 29, 46, 0.12); color: #F2F7FB;
}
[data-skin="varsity"] .tab.active::after { content: none; }
[data-skin="varsity"] [data-theme] .divpill.on {
  background: rgba(62, 134, 230, 0.2); border-color: rgba(62, 134, 230, 0.55); color: #EEF3F6;
}
[data-skin="varsity"] [data-theme="light"] .divpill.on {
  background: rgba(30, 99, 200, 0.13); border-color: rgba(30, 99, 200, 0.45); color: var(--tx-1);
}
[data-skin="varsity"] [data-theme] .seg.on::after {
  background: linear-gradient(90deg, #6FB0F2, #3E86E6);
}
[data-skin="varsity"] [data-theme="light"] .seg.on::after {
  background: linear-gradient(90deg, #3E86E6, #1E63C8);
}

/* ── Focus — pool-blue ring + glow (the native varsity focusRing/focusGlow),
   ink on the chalk focus plate = deep navy #0E1D2E. Restated because the base
   rules bake the glow color into their shadows. ── */
[data-skin="varsity"] [data-theme] .glass.tvf.is-focused {
  border-color: var(--glass-focus-rim);
  box-shadow:
    0 0 0 3px rgba(62, 134, 230, 0.92),
    0 0 24px 2px rgba(62, 134, 230, 0.5),
    0 22px 50px rgba(2, 8, 16, 0.5);
}
[data-skin="varsity"] [data-theme="light"] .glass.tvf.is-focused {
  box-shadow:
    0 0 0 3px rgba(30, 99, 200, 0.9),
    0 0 36px 4px rgba(30, 99, 200, 0.3),
    0 36px 70px rgba(18, 58, 80, 0.24);
}
[data-skin="varsity"] [data-theme] .tab.tvf.is-focused,
[data-skin="varsity"] [data-theme] .tab-exit.tvf.is-focused,
[data-skin="varsity"] [data-theme] .hdr-pill.tvf.is-focused,
[data-skin="varsity"] [data-theme] .divpill.tvf.is-focused {
  background: #EEF3F6; border-color: #EEF3F6; color: #0E1D2E;
  box-shadow: 0 0 0 3px rgba(62, 134, 230, 0.85), 0 0 24px 1px rgba(62, 134, 230, 0.45), 0 16px 32px rgba(2, 8, 16, 0.45);
}
[data-skin="varsity"] [data-theme] .tab.tvf.is-focused svg,
[data-skin="varsity"] [data-theme] .tab-exit.tvf.is-focused svg { stroke: #0E1D2E; }
[data-skin="varsity"] [data-theme] .hdr-pill.tvf.is-focused svg { stroke: #0E1D2E; }
[data-skin="varsity"] [data-theme] .seg.tvf.is-focused { box-shadow: 0 0 0 3px rgba(62, 134, 230, 0.55); }
[data-skin="varsity"] [data-theme="light"] .seg.tvf.is-focused { box-shadow: 0 0 0 3px rgba(30, 99, 200, 0.45); }

/* ── Championship canvas: wires + champion name wear the locked gold ramp
   (the one display-text place varsity gold runs as a gradient). ── */
[data-skin="varsity"] [data-theme] .champ-wires { --wa: #6FB0F2; --wb: #F4B740; }
[data-skin="varsity"] [data-theme="light"] .champ-wires { --wa: #1E63C8; --wb: #A5720A; }
[data-skin="varsity"] [data-theme] .champ-card.winner .cc-name {
  background: linear-gradient(97deg, #FBE3A1 8%, #F4B740 55%, #F4A24A 96%);
  -webkit-background-clip: text; background-clip: text;
}
[data-skin="varsity"] [data-theme="light"] .champ-card.winner .cc-name {
  background: linear-gradient(97deg, #E0A019 8%, #C68A1C 55%, #A5720A 96%);
  -webkit-background-clip: text; background-clip: text;
}
[data-skin="varsity"] [data-theme="light"] .champ-rounds .cr.gold { color: #A5720A; }
[data-skin="varsity"] .champ-bar .cb-round { color: var(--gold); }
/* standings leader seed: light needs the amber FILL (deep-ochre ink would
   sink the navy numeral — fill vs ink are different golds on chalk). */
[data-skin="varsity"] [data-theme="light"] .stand tr.top .seed { background: #C68A1C; color: #fff; }

/* ── Chrome: the footer lockup is the WORDMARK ALONE under varsity (no ball
   icon), wearing the locked gold ramp — and the splash/entry wordmarks pick
   the theme's pair. Display faces go Bricolage via --font-display above. ── */
[data-skin="varsity"] .dash-foot img { display: none; }
[data-skin="varsity"] [data-theme] .df-word,
[data-skin="varsity"] [data-theme] .splash-word .w,
[data-skin="varsity"] [data-theme] .entry-brand .ew .w {
  font-family: var(--font-display);
  background: linear-gradient(120deg, #FBE3A1, #F4A24A);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
[data-skin="varsity"] [data-theme="light"] .df-word,
[data-skin="varsity"] [data-theme="light"] .splash-word .w,
[data-skin="varsity"] [data-theme="light"] .entry-brand .ew .w {
  background: linear-gradient(120deg, #E8B33A, #C68A1C);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
[data-skin="varsity"] [data-theme] .hdr-name { font-family: var(--font-display); letter-spacing: -0.4px; }
/* kickers are Space Mono at the law's 700 cap */
[data-skin="varsity"] [data-theme] .sec-hd,
[data-skin="varsity"] [data-theme] .hdr-host,
[data-skin="varsity"] [data-theme] .divs-lbl,
[data-skin="varsity"] [data-theme] .gcard-tag,
[data-skin="varsity"] [data-theme] .champ-rounds .cr {
  font-family: var(--font-mono); font-weight: 700;
}
/* Follow CTA — varsity law: CTAs are pool-blue (the base gradient would read
   blue-into-gold once the kicker family went amber). Chalk ink on the fill. */
[data-skin="varsity"] [data-theme] .gd-follow {
  background: linear-gradient(135deg, #6FB0F2, #3E86E6);
  color: #F2F7FB;
  box-shadow: 0 12px 30px rgba(62, 134, 230, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
[data-skin="varsity"] [data-theme="light"] .gd-follow {
  background: linear-gradient(135deg, #3E86E6, #1E63C8);
  box-shadow: 0 12px 30px rgba(30, 99, 200, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
[data-skin="varsity"] [data-theme] .gd-follow.on { background: rgba(255, 255, 255, 0.08); color: var(--tx-1); box-shadow: none; }

/* ============================================================
   THE STREAMLINED TV (tvOS 5.3, 2026-10-31) — native Chrome.swift.
   One top band (eyebrow · the division as the headline switcher ·
   Now · Games · Standings · Team · the clock · a gear), one footer
   (the lockup · Follow live on your phone + a real QR · the code ·
   ▶︎❙❙ Board), solid cards on the navy-and-sun page, and ONE focus
   treatment: scale 1.05, a 4 px ring just outside the shape (the sun
   at night, navy on paper) and a lifted shadow. Every class here is
   .sl-* (the retired chrome's classes above are left alone).
   ============================================================ */
.tv-canvas { --ts: 1; }
.tv-canvas[data-text="large"] { --ts: 1.18; }   /* native Theme.textScale */
[data-theme="light"] {
  --sl-page: #FAF6EF; --sl-surface: #FFFFFF; --sl-surface2: #F1EBE1; --sl-group: #FAF6EF;
  --sl-seg: #FFFFFF; --sl-seg-ink: #14182B; --sl-seg-off: #3B4256; --sl-focus-surface: #FFFFFF;
  --sl-border: #E6DFD3; --sl-divider: #E6DFD3; --sl-conn: #D5CCBC;
  --sl-ink: #14182B; --sl-ink2: #3B4256; --sl-muted: #5D6577;
  --sl-ring: #002F6C; --sl-lift: rgba(0, 47, 108, 0.22); --sl-card-shadow: 0 8px 24px rgba(0, 47, 108, 0.07);
  --sl-mono-bg: #E8EDF6; --sl-mono-ink: #002F6C; --sl-cap-bg: #E8EDF6;
  --sl-live: #D92D20; --sl-win: #1E7A46; --sl-win-bg: #E2F3E8; --sl-loss: #B42318; --sl-loss-bg: #FDE7E4; --sl-tie-bg: #EEF0F4;
  --sl-sun-ink: #7A5200; --sl-sun-wash: #FFF4D1; --sl-final-bg: #EEF0F4; --sl-final-ink: #3B4256;
  --sl-sel-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); --sl-scrim: rgba(4, 7, 16, 0.32); --sl-sheet-rim: #E6DFD3;
  --sl-sheet-shadow: 0 40px 120px rgba(0, 0, 0, 0.22); --sl-goal-wash: rgba(255, 216, 98, 0.16); --sl-switch-off: #D9D2C5;
  --sl-acc-fill: none; --sl-acc-ink: #B02A5E;
  --sl-glow1: radial-gradient(closest-side, rgba(255, 216, 98, 0.36) 0%, rgba(247, 136, 74, 0.12) 42%, rgba(250, 246, 239, 0) 72%); --sl-glow2: none;
}
[data-theme="dark"] {
  --sl-page: #070B18; --sl-surface: #0F1629; --sl-surface2: #16203A; --sl-group: #16203A;
  --sl-seg: #2C3A5E; --sl-seg-ink: #FFFFFF; --sl-seg-off: #98A2B8; --sl-focus-surface: #1C2746;
  --sl-border: rgba(255, 255, 255, 0.08); --sl-divider: rgba(255, 255, 255, 0.08); --sl-conn: rgba(255, 255, 255, 0.16);
  --sl-ink: #F6F1E7; --sl-ink2: #C9CFDC; --sl-muted: #98A2B8;
  --sl-ring: #FFD862; --sl-lift: rgba(0, 0, 0, 0.6); --sl-card-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
  --sl-mono-bg: #1B2540; --sl-mono-ink: #FFD862; --sl-cap-bg: #24304F;
  --sl-live: #FF5A4F; --sl-win: #4ADE80; --sl-win-bg: rgba(74, 222, 128, 0.14); --sl-loss: #F87171; --sl-loss-bg: rgba(248, 113, 113, 0.14); --sl-tie-bg: rgba(255, 255, 255, 0.08);
  --sl-sun-ink: #FFD862; --sl-sun-wash: rgba(255, 216, 98, 0.14); --sl-final-bg: rgba(255, 255, 255, 0.08); --sl-final-ink: #C9CFDC;
  --sl-sel-shadow: 0 2px 5px rgba(0, 0, 0, 0.35); --sl-scrim: rgba(4, 7, 16, 0.55); --sl-sheet-rim: rgba(255, 255, 255, 0.12);
  --sl-sheet-shadow: 0 40px 120px rgba(0, 0, 0, 0.65); --sl-goal-wash: rgba(255, 216, 98, 0.09); --sl-switch-off: rgba(255, 255, 255, 0.18);
  --sl-acc-fill: linear-gradient(90deg, #FFD862, #F7884A); --sl-acc-ink: transparent;
  --sl-glow1: radial-gradient(closest-side, rgba(204, 59, 114, 0.22) 0%, rgba(58, 47, 122, 0.13) 42%, rgba(7, 11, 24, 0) 72%);
  --sl-glow2: radial-gradient(closest-side, rgba(247, 136, 74, 0.16) 0%, rgba(247, 136, 74, 0) 70%);
}
/* High contrast: a heavier hairline, the muted ink a rung up, no glow (native Theme.highContrast). */
[data-contrast="high"][data-theme="light"], [data-contrast="high"] [data-theme="light"] { --sl-border: #9C927F; --sl-divider: #9C927F; --sl-ink2: #14182B; --sl-muted: #3B4256; }
[data-contrast="high"][data-theme="dark"], [data-contrast="high"] [data-theme="dark"] { --sl-border: rgba(255, 255, 255, 0.34); --sl-divider: rgba(255, 255, 255, 0.34); --sl-ink2: #F6F1E7; --sl-muted: #C9CFDD; }
[data-contrast="high"] .sl-page::before, [data-contrast="high"] .sl-page::after { display: none; }

/* ── The page: paper (or night) with the last of the sun in one corner — top right on the
   dashboard, bottom left on the Board (native PageBackground). ── */
.sl-page { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; background: var(--sl-page); overflow: hidden; pointer-events: none; }
.sl-page::before, .sl-page::after { content: ''; position: absolute; border-radius: 50%; }
.sl-page::before { width: 2200px; height: 1440px; }
.sl-page::after { width: 1120px; height: 760px; }
.sl-page.glow-tr::before { left: calc(100% - 1100px); top: -720px; }
.sl-page.glow-tr::after { left: calc(100% - 560px); top: -380px; }
.sl-page.glow-bl::before { left: -1100px; top: calc(100% - 720px); }
.sl-page.glow-bl::after { left: -560px; top: calc(100% - 380px); }
.sl-page::before { background: var(--sl-glow1); }
.sl-page::after { background: var(--sl-glow2); }

/* ── Type, marks, chips ── */
.sl-dash, .sl-board, .sl-scrim, .sl-goal, .sl-legend { font-family: var(--eb-font); color: var(--sl-ink); }
.sl-eyebrow { display: block; font-weight: 700; text-transform: uppercase; color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; }
.sl-headline { font-weight: 700; line-height: 1.1; color: var(--sl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-headline .acc, .sl-sheet-hd .acc { background: var(--sl-acc-fill); -webkit-background-clip: text; background-clip: text; color: var(--sl-acc-ink); }
.sl-mono { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--sl-mono-bg); color: var(--sl-mono-ink); font-family: var(--eb-font); font-weight: 700; line-height: 1; letter-spacing: 0.02em; }
.sl-mono.empty { background: transparent; border: 2px dashed var(--sl-muted); opacity: 0.6; }
.sl-crest { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: #FFFFFF; overflow: hidden; box-shadow: inset 0 0 0 1.5px rgba(93, 101, 119, 0.25); }
.sl-crest img { object-fit: contain; }
.sl-crest.sun { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); }
.sl-mono.sun { background: #1B2540; color: #FFD862; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); }
.sl-cap { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--sl-cap-bg); color: var(--sl-ink); font-family: var(--eb-font); font-weight: 700; }
.sl-cap.gk { background: transparent; box-shadow: inset 0 0 0 2px var(--sl-ink); }
.sl-live { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sl-live); color: #fff; font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2.2px; white-space: nowrap; }
.sl-live .dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: slPulse 1.6s ease-in-out infinite; }
.sl-live .c { font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.sl-live.big { height: 48px; padding: 0 20px; gap: 12px; font-size: calc(26px * var(--ts)); letter-spacing: 2.6px; }
.sl-live.big .dot { width: 12px; height: 12px; }
.sl-live.stale { background: var(--sl-muted); }
.sl-live.stale .dot { animation: none; }
@keyframes slPulse { 50% { opacity: 0.35; } }
.sl-chip { display: inline-flex; align-items: center; flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--sl-final-bg); color: var(--sl-final-ink); font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2.2px; white-space: nowrap; }
.sl-chip.upNext { background: var(--sl-sun-wash); color: var(--sl-sun-ink); }
.sl-result { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; font: 700 24px var(--eb-font); }
.sl-result.w { color: var(--sl-win); background: var(--sl-win-bg); }
.sl-result.l { color: var(--sl-loss); background: var(--sl-loss-bg); }
.sl-result.t { color: var(--sl-muted); background: var(--sl-tie-bg); }
.sl-divider { height: 1px; background: var(--sl-divider); flex: none; }
.sl-divider.inset { margin: 0 30px; }
.sl-card { background: var(--sl-surface); border: 1px solid var(--sl-border); border-radius: 28px; box-shadow: var(--sl-card-shadow); }
.sl-qr { display: block; flex: none; border-radius: 6px; }
.sl-lockup.ns-lockup { width: 240px; height: 44px; }
.sl-board .ns-lockup { background-image: url('/assets/brand/eggbeater-lockup-horizontal-reversed.svg'); }
.sl-jo-mark { display: flex; align-items: center; gap: 12px; font: 700 34px var(--eb-font); }
.sl-jo-mark img { width: 44px; height: 44px; object-fit: contain; } /* the sun (was ball-cut), no clip, no shadow */
/* The sunset — LIVE heroes and the game detail only; its chips always wear the night tokens. */
.sunset { background: linear-gradient(to bottom right, #002F6C 0%, #3A2F7A 45%, #CC3B72 100%); color: #fff;
  --sl-live: #FF5A4F; --sl-final-bg: rgba(255, 255, 255, 0.08); --sl-final-ink: #C9CFDC; --sl-sun-wash: rgba(255, 216, 98, 0.14); --sl-sun-ink: #FFD862; --sl-ring: #FFD862; }

/* ── Pills: one segmented track; each pill its own focus stop ── */
.sl-track { display: inline-flex; flex: none; gap: 6px; padding: 6px; border-radius: 999px; background: var(--sl-surface2); border: 1px solid var(--sl-border); }
.sl-pill { display: flex; align-items: center; height: 56px; padding: 0 30px; border-radius: 999px; font: 600 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-seg-off); white-space: nowrap; }
.sl-pill.on { background: var(--sl-seg); color: var(--sl-seg-ink); font-weight: 700; box-shadow: var(--sl-sel-shadow); }
.sl-track.lg .sl-pill { padding: 0 34px; font-size: calc(30px * var(--ts)); }
.sl-track.sm .sl-pill { height: 52px; padding: 0 24px; font-size: calc(24px * var(--ts)); }
.sl-track.xs .sl-pill { height: 48px; padding: 0 22px; font-size: calc(22px * var(--ts)); }
.sl-chipbtn { display: flex; align-items: center; flex: none; height: 60px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--sl-border); font: 600 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-seg-off); white-space: nowrap; }
.sl-chipbtn.on { background: var(--sl-seg); color: var(--sl-seg-ink); font-weight: 700; border-color: transparent; box-shadow: var(--sl-sel-shadow); }
.sl-switch { position: relative; flex: none; width: 76px; height: 44px; border-radius: 999px; background: var(--sl-switch-off); transition: background .2s; }
.sl-switch span { position: absolute; top: 4px; left: 4px; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: left .2s, background .2s; }
.sl-switch.on { background: #FFD862; }
.sl-switch.on span { left: 36px; background: #14182B; }
.sl-ppkey { display: inline-grid; place-items: center; flex: none; width: 64px; height: 40px; border-radius: 999px; border: 2px solid var(--sl-muted); color: var(--sl-ink); }
.sl-ppkey svg { width: 20px; height: 20px; }

/* ── THE focus treatment (native tvFocus): scale ~1.05, a 4 px ring just outside the shape,
   a lifted shadow, drawn above its neighbours. ── */
.sl-dash .tvf.is-focused, .sl-scrim .tvf.is-focused {
  transform: scale(1.05); z-index: 30; position: relative;
  box-shadow: 0 0 0 4px var(--sl-ring), 0 26px 50px var(--sl-lift);
}
.sl-dash .sl-card.tvf.is-focused, .sl-dash .sl-row.tvf.is-focused, .sl-scrim .tvf.is-focused:not(.sl-pill):not(.sl-done) { background-color: var(--sl-focus-surface); }
.sl-dash .sunset.tvf.is-focused { background-color: transparent; }
.sl-pill.tvf.is-focused:not(.on), .sl-chipbtn.tvf.is-focused:not(.on) { color: var(--sl-ink); background: var(--sl-focus-surface); }
.sl-headbtn.tvf.is-focused { transform: scale(1.04); }
.sl-gear.tvf.is-focused { transform: scale(1.08); }
.sl-pbp.tvf.is-focused, .sl-statrow.tvf.is-focused, .sl-dblock.tvf.is-focused, .sl-other.tvf.is-focused { transform: scale(1.02); }
.sl-dash .sl-row.mine.tvf.is-focused::before { border-radius: 22px 0 0 22px; }

/* ── The dashboard: band 176 · content 784 · footer 120 ── */
.sl-dash { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; flex-direction: column; transition: filter .25s; }
.sl-dash.dim { filter: blur(14px); }
.sl-band { position: relative; flex: none; height: 176px; }
.sl-band-eyebrow { position: absolute; left: 96px; top: 54px; max-width: 1728px; }
.sl-band-head { position: absolute; left: 96px; top: 88px; height: 72px; display: flex; align-items: center; max-width: 470px; z-index: 2; }
.sl-headbtn { display: flex; align-items: center; gap: 16px; height: 72px; padding-right: 4px; border-radius: 24px; max-width: 470px; }
.sl-headbtn .sl-headline { min-width: 0; }
.sl-headbtn .chev { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sl-surface2); border: 1px solid var(--sl-border); color: var(--sl-ink); }
.sl-band-tabs { position: absolute; left: 0; right: 0; top: 90px; display: flex; justify-content: center; pointer-events: none; }
.sl-band-tabs .sl-track { pointer-events: auto; }
.sl-band-right { position: absolute; right: 96px; top: 88px; height: 72px; display: flex; align-items: center; gap: 24px; }
.sl-clock { font: 600 calc(40px * var(--ts)) var(--eb-font); color: var(--sl-ink); white-space: nowrap; }
.sl-gear { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--sl-surface2); border: 1px solid var(--sl-border); color: var(--sl-ink); }
.sl-content { position: relative; flex: none; height: 784px; }
.sl-tab { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 0 96px; display: flex; flex-direction: column; animation: slFade .22s ease; }
@keyframes slFade { from { opacity: 0; } }
.sl-foot { flex: none; height: 120px; padding: 10px 96px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; }
.sl-foot > div { height: 62px; display: flex; align-items: center; }
.sl-foot .c { gap: 18px; font: 400 calc(24px * var(--ts)) var(--eb-font); white-space: nowrap; }
.sl-foot .r { justify-content: flex-end; gap: 14px; font: 400 calc(24px * var(--ts)) var(--eb-font); }
.sl-foot .m { color: var(--sl-muted); }
.sl-foot b { font-weight: 600; color: var(--sl-ink); }
.sl-foot .code b { font-weight: 700; letter-spacing: 0.5px; }
.sl-stale { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; margin-right: 10px; border-radius: 999px; background: var(--sl-live); color: #fff; font-weight: 700; font-size: 22px; }
.sl-announce { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 16px 30px; border-radius: 22px; background: var(--sl-sun-wash); position: relative; font: 600 calc(28px * var(--ts)) var(--eb-font); color: var(--sl-ink); }
.sl-announce svg { color: var(--sl-sun-ink); flex: none; }
.sl-announce::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 22px 0 0 22px; background: #FFD862; }

/* A list that scrolls by focus (focus.jsx ensureVisible): widened by the focus halo so a
   lifted row is never clipped at its edges. */
.sl-scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; margin: 0 -60px; padding: 0 60px; }
.sl-scroll-in { padding-top: 14px; padding-bottom: 40px; transition: transform .3s var(--ease); }

/* ── NOW ── */
.sl-now-row { display: flex; gap: 48px; align-items: flex-start; }
.sl-now-hero { width: 980px; flex: none; }
.sl-now-right { width: 700px; flex: none; position: relative; }
.sl-now-right[data-tv-scroll] { overflow: hidden; margin: -18px -24px; padding: 18px 24px; box-sizing: content-box; }
.sl-now-right-in { transition: transform .3s var(--ease); }
.sl-hero { width: 100%; height: 100%; border-radius: 28px; padding: 44px 56px 48px; display: flex; flex-direction: column; }
.sl-hero.sunset { border: none; }
[data-theme="light"] .sl-hero.sunset { box-shadow: 0 20px 48px rgba(58, 47, 122, 0.25); }
.sl-hero .top { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.sl-hero .meta { font: 600 calc(28px * var(--ts)) var(--eb-font); color: var(--sl-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-hero.sunset .meta { color: rgba(255, 255, 255, 0.92); }
.sl-hero .mid { flex: 1; display: flex; align-items: center; justify-content: space-between; min-height: 0; }
.sl-hero .side { width: 250px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sl-hero .side .nm { font: 600 calc(34px * var(--ts))/1.2 var(--eb-font); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-hero .side.dim .nm { color: var(--sl-muted); }
.sl-hero .score { display: flex; align-items: center; gap: 25px; font: 700 180px/1 var(--eb-font); white-space: nowrap; }
.sl-hero .score i { font-style: normal; font-weight: 600; font-size: 99px; opacity: 0.55; }
.sl-hero .score.plain { font-size: 150px; color: var(--sl-ink); }
.sl-hero .score.plain i { font-size: 80px; color: var(--sl-muted); opacity: 0.7; }
.sl-hero .score b.dim { color: var(--sl-muted); }
.sl-hero .vs { font: 600 calc(64px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-hero .foot { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 40px; }
.sl-hero .goal { display: flex; align-items: center; gap: 14px; font: 400 calc(28px * var(--ts)) var(--eb-font); color: rgba(255, 255, 255, 0.92); white-space: nowrap; }
.sl-hero .goal svg { color: #FFD862; flex: none; }
.sl-hero .goal b { color: #fff; font-weight: 700; }
.sl-hero .when { font: 700 calc(56px * var(--ts)) var(--eb-font); color: var(--sl-ink); white-space: nowrap; }
.sl-hero .when.sm { font: 600 calc(30px * var(--ts)) var(--eb-font); color: var(--sl-ink2); }
.sl-hero .cd { font: 600 calc(30px * var(--ts)) var(--eb-font); color: var(--sl-sun-ink); }
.sl-hero-empty { width: 100%; height: 716px; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.sl-hero-empty .t, .sl-empty .t { font: 700 calc(56px * var(--ts)) var(--eb-font); }
.sl-hero-empty .s, .sl-empty .s { font: 400 calc(28px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-empty { padding: 30px 40px; border-radius: 24px; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sl-empty .t { font-size: calc(34px * var(--ts)); font-weight: 600; }
.sl-empty .s { font-size: calc(26px * var(--ts)); }
.sl-glance { margin-bottom: 26px; }
.sl-glance-row { display: flex; align-items: center; gap: 20px; padding: 18px 30px; border-radius: 24px; }
.sl-glance-row .txt { flex: 1; min-width: 0; }
.sl-glance-row .t { margin-top: 6px; font: 600 calc(34px * var(--ts))/1.2 var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-glance-row .s { margin-top: 4px; font: 400 calc(26px * var(--ts))/1.2 var(--eb-font); color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-glance-score { display: flex; align-items: center; gap: 12px; flex: none; }
.sl-glance-score b { font: 700 calc(36px * var(--ts)) var(--eb-font); }
.sl-rail-sec { display: flex; flex-direction: column; gap: 20px; }
.sl-rail-sec + .sl-rail-sec { margin-top: 14px; }
.sl-rail-sec > .sl-eyebrow { margin-bottom: -10px; }
.sl-mini { width: 700px; height: 204px; flex: none; padding: 22px 30px; display: flex; flex-direction: column; }
.sl-mini .top { display: flex; align-items: center; gap: 16px; }
.sl-mini .lbl { font: 600 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-mini .lines { margin-top: auto; }
.sl-mini .ln { display: flex; align-items: center; gap: 16px; height: 60px; }
.sl-mini .nm { flex: 1; min-width: 0; font: 600 calc(32px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-mini .sc { font: 700 calc(40px * var(--ts)) var(--eb-font); }
.sl-mini .ln.dim .nm, .sl-mini .ln.dim .sc { color: var(--sl-muted); }
.sl-hs.hs-line { font-family: var(--eb-font); margin-top: 14px; }
.sl-row .sl-hs.hs-line { margin-top: 0; align-self: center; }
.sl-dash .hs-pair, .sl-dash .hs-pair b, .sl-board .hs-pair, .sl-board .hs-pair b { color: var(--sl-ink); }
.sl-dash .hs-pair .hs-lbl, .sl-dash .hs-pair .hs-dash, .sl-board .hs-lbl, .sl-board .hs-dash { color: var(--sl-muted); }
.sl-dash .hs-call, .sl-board .hs-call { color: var(--sl-sun-ink); font-weight: 700; }
.sl-dash .hs-grid th, .sl-dash .hs-grid td { color: var(--sl-ink); font-family: var(--eb-font); border-color: var(--sl-divider); }
.sl-dash .hs-grid td.l, .sl-dash .hs-note { color: var(--sl-muted); }
.sl-dash .hs-pred { color: var(--sl-ink); }

/* ── GAMES ── */
.sl-tabbar { display: flex; align-items: center; gap: 24px; padding-top: 10px; flex: none; }
.sl-tabbar .sp { flex: 1; }
.sl-games .sl-scroll { margin-top: 2px; }
.sl-day + .sl-day { margin-top: 26px; }
.sl-dayhd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sl-counts { font: 400 calc(24px * var(--ts)) var(--eb-font); color: var(--sl-ink); white-space: nowrap; }
.sl-counts b { font-weight: 600; }
.sl-counts .m, .sl-counts.m { color: var(--sl-muted); }
.sl-quiet { font: 400 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-muted); padding: 0 0 6px 8px; }
.sl-row { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 80px; margin-bottom: 10px; padding: 6px 28px 6px 40px; border-radius: 22px; background: var(--sl-surface); border: 1px solid var(--sl-border); }
.sl-row.mine::before, .sl-trow.mine::before, .sl-banner::before, .sl-divtile.cur::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: #FFD862; border-radius: 22px 0 0 22px; }
.sl-row .main { display: flex; align-items: center; }
.sl-row .l { width: 220px; flex: none; min-width: 0; }
.sl-row .time { font: 600 calc(28px * var(--ts)) var(--eb-font); white-space: nowrap; }
.sl-row .sub { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-row .c { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.sl-row .c .nm { width: 380px; flex: none; font: 600 calc(32px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-row .c .nm.h { text-align: right; }
.sl-row .c .nm.dim { color: var(--sl-muted); }
.sl-row .c.path { justify-content: flex-start; padding-left: 24px; }
.sl-row .c.path .nm { width: auto; flex: 1; font-size: calc(30px * var(--ts)); }
.sl-row .sc { width: 150px; flex: none; display: flex; flex-direction: column; align-items: center; font: 700 calc(34px * var(--ts)) var(--eb-font); white-space: nowrap; }
.sl-row .sc .vs { font: 600 calc(28px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-row .sc .so { font: 600 calc(18px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-row .r { width: 270px; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 0; }

/* ── STANDINGS ── */
.sl-banner { position: relative; flex: none; display: flex; align-items: center; gap: 20px; height: 84px; margin-top: 12px; padding: 0 30px 0 38px; border-radius: 24px; background: var(--sl-surface); border: 1px solid var(--sl-border); }
.sl-banner::before { border-radius: 24px 0 0 24px; }
.sl-banner .txt { flex: 1; min-width: 0; font: 500 calc(30px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-banner b { font-weight: 700; }
.sl-stpane { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-top: 22px; }
.sl-stpane > .sl-scroll { margin-top: -14px; }
.sl-pools { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: start; }
.sl-pools.one { grid-template-columns: 1fr; }
.sl-table { padding: 24px 28px 16px; }
.sl-table .ttl { padding: 0 20px 8px; }
.sl-table .hd { display: flex; align-items: center; height: 40px; padding: 0 20px; font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2.2px; text-transform: uppercase; color: var(--sl-muted); }
.sl-table .rk { width: 44px; flex: none; }
.sl-table .nmh { flex: 1; padding-left: 72px; }
.sl-table .rec { width: 110px; flex: none; text-align: right; white-space: nowrap; }
.sl-table .gdf { width: 92px; flex: none; text-align: right; }
.sl-table .pts { width: 76px; flex: none; text-align: right; }
.sl-trow { position: relative; display: flex; align-items: center; min-height: 88px; padding: 0 20px; border-radius: 20px; }
.sl-trow.mine::before { border-radius: 20px 0 0 20px; }
.sl-trow .rk { font: 700 calc(32px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-trow.mine .rk { color: var(--sl-sun-ink); }
.sl-trow .nmc { flex: 1; min-width: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 2px; }
.sl-trow .nm { font: 600 calc(32px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-trow .nx { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-trow .nx b { font-weight: 700; }
.sl-trow .nx b.live { color: var(--sl-live); }
.sl-trow .rec { font: 600 calc(32px * var(--ts)) var(--eb-font); }
.sl-trow .gdf { font: 600 calc(30px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-trow .gdf.pos { color: var(--sl-win); }
.sl-trow .gdf.neg { color: var(--sl-loss); }
.sl-trow .pts { font: 700 calc(34px * var(--ts)) var(--eb-font); }
.sl-tree { flex: 1; min-height: 0; display: flex; gap: 56px; padding: 6px 0 24px; }
.sl-tree .col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sl-tree .lbl { margin-bottom: 14px; }
.sl-tree .nodes { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 20px; }
.sl-node { position: relative; padding: 16px 24px 18px; border-radius: 24px; }
.sl-node.mine { box-shadow: inset 8px 0 0 #FFD862, var(--sl-card-shadow); }
.sl-node .chips { min-height: 0; margin-bottom: 4px; display: flex; }
.sl-node .chips:empty { display: none; }
.sl-node .ln { display: flex; align-items: center; gap: 14px; height: 58px; }
.sl-node .nm { flex: 1; min-width: 0; font: 600 calc(28px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-node .ln.dim .nm, .sl-node .ln.dim .sc { color: var(--sl-muted); }
.sl-node .sc { font: 700 calc(34px * var(--ts)) var(--eb-font); }
.sl-node .ft { margin-top: 6px; font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-tree .col.joined .sl-node::before, .sl-tree .col.joined .sl-champ::before { content: ''; position: absolute; right: 100%; top: 50%; width: 56px; height: 3px; margin-top: -1.5px; background: var(--sl-conn); }
.sl-champ { position: relative; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; border: 3px solid rgba(255, 216, 98, 0.55); }
.sl-champ .nm { font: 700 calc(34px * var(--ts)) var(--eb-font); }
.sl-champ .s { font: 400 calc(24px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-path + .sl-path { margin-top: 26px; }
.sl-pad { padding-top: 4px; }

/* ── TEAM ── */
.sl-chips { display: flex; gap: 12px; overflow: hidden; padding: 12px 14px 10px; margin: -10px -14px 0; flex: none; }
.sl-team-line { display: flex; align-items: center; gap: 28px; min-height: 68px; flex: none; }
.sl-team-line .sum { font: 400 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.sl-team-line .sum b { font-weight: 600; color: var(--sl-ink); }
.sl-tiles { display: flex; gap: 24px; margin-top: 22px; flex: none; }
.sl-tile { width: 414px; height: 160px; flex: none; padding: 22px 28px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.sl-tile .top { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.sl-tile .v { font: 700 calc(64px * var(--ts))/1 var(--eb-font); white-space: nowrap; }
.sl-tile .who { display: flex; align-items: center; gap: 14px; font: 600 calc(28px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; }
.sl-tile .none { font: 400 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.sl-roster-wrap { margin-top: 30px; flex: none; }
.sl-roster-wrap .hdrow { display: flex; gap: 24px; margin-bottom: 10px; }
.sl-roster-wrap .half { width: 852px; display: flex; align-items: center; }
.sl-roster-wrap .half.end { justify-content: flex-end; }
.sl-heads { display: flex; margin-left: auto; padding-right: 26px; }
.sl-heads span { width: 84px; text-align: right; font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2.2px; color: var(--sl-muted); }
.sl-roster-wrap .cols { display: flex; gap: 24px; align-items: flex-start; }
.sl-roster { width: 852px; flex: none; padding: 6px 16px; border-radius: 24px; --k: 1; }
.sl-roster .pr { display: flex; align-items: center; gap: 16px; padding: 0 10px; border-radius: 12px; }
.sl-roster .pr.lit { background: var(--sl-sun-wash); }
.sl-roster .nm { flex: 1; min-width: 0; font: 600 calc(28px * var(--k) * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-roster .nm .gk { font: 500 calc(22px * var(--k) * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-roster .nums { display: flex; flex: none; }
.sl-roster .nums span { width: 84px; text-align: right; font: 600 calc(28px * var(--k) * var(--ts)) var(--eb-font); }
.sl-roster .sv { width: 252px; flex: none; text-align: right; font: 600 calc(22px * var(--k) * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-roster .sv b { font-size: calc(28px * var(--k) * var(--ts)); font-weight: 700; color: var(--sl-ink); }
.sl-roster .pos { font: 400 calc(22px * var(--k) * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-roster .pr.total .nm { font-size: calc(24px * var(--k) * var(--ts)); color: var(--sl-muted); }
.sl-roster .pr.total .nums span { font-weight: 700; }

/* ── A GAME ── */
.sl-dhero { position: relative; flex: none; height: 270px; margin-top: 4px; border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.sl-dhero .side { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 24px; max-width: 560px; }
.sl-dhero .side.l { left: 48px; }
.sl-dhero .side.r { right: 48px; }
.sl-dhero .side .txt { display: flex; flex-direction: column; min-width: 0; }
.sl-dhero .side.r .txt { align-items: flex-end; text-align: right; }
.sl-dhero .side .nm { font: 700 calc(40px * var(--ts))/1.15 var(--eb-font); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-dhero .mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sl-dhero .score { height: 150px; display: flex; align-items: center; gap: 22px; font: 700 150px/1 var(--eb-font); white-space: nowrap; }
.sl-dhero .score i { font-style: normal; font-weight: 600; font-size: 84px; opacity: 0.55; }
.sl-dhero .when { height: 150px; display: flex; align-items: center; font: 700 calc(56px * var(--ts)) var(--eb-font); white-space: nowrap; }
.sl-dhero .extra { font: 400 calc(24px * var(--ts)) var(--eb-font); color: rgba(255, 255, 255, 0.88); white-space: nowrap; }
.sl-tabbar.detail { padding-top: 22px; }
.sl-dbody { display: flex; gap: 36px; margin-top: 22px; align-items: flex-start; }
.sl-dleft { width: 720px; flex: none; padding: 24px 28px 14px; }
.sl-dleft .qhd { display: flex; align-items: center; height: 40px; margin-top: 10px; }
.sl-dleft .qhd .sp { flex: 1; }
.sl-dleft .qhd span:not(.sp) { width: 56px; text-align: center; font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2px; color: var(--sl-muted); }
.sl-dleft .qhd .cur { color: var(--sl-sun-ink); }
.sl-dleft .qhd .t, .sl-dleft .qrow .t { width: 72px; }
.sl-dleft .qrow { display: flex; align-items: center; height: 76px; }
.sl-dleft .qrow .nm { flex: 1; min-width: 0; padding-left: 16px; font: 600 calc(28px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-dleft .qrow .v { width: 56px; align-self: stretch; display: grid; place-items: center; font: 600 calc(34px * var(--ts)) var(--eb-font); }
.sl-dleft .qrow .v.fut { color: var(--sl-muted); }
.sl-dleft .qrow .v.cur { background: rgba(255, 216, 98, 0.10); }
.sl-dleft .qrow .t { text-align: center; font: 700 calc(40px * var(--ts)) var(--eb-font); }
.sl-dleft .big { margin-top: 6px; font: 600 calc(30px * var(--ts)) var(--eb-font); }
.sl-dleft .mid { margin-top: 6px; font: 600 calc(28px * var(--ts)) var(--eb-font); }
.sl-dleft .gap, .sl-helpcols .gap { margin-top: 18px; }
.sl-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sl-flow span { padding: 6px 14px; border-radius: 999px; background: var(--sl-surface2); border: 1px solid var(--sl-border); font: 600 22px var(--eb-font); }
.sl-dright { width: 972px; height: 388px; flex: none; display: flex; flex-direction: column; padding: 22px 0 12px; }
.sl-dright .hd { display: flex; align-items: center; gap: 14px; padding: 0 20px 10px; flex: none; }
.sl-dright .hd .sp { flex: 1; }
.sl-dright .hd .m { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.sl-dright .sl-scroll { margin: 0; padding: 0 20px; }
.sl-dright .sl-scroll-in { padding-top: 8px; padding-bottom: 12px; }
.sl-dright.stats { padding: 0; }
.sl-dright.stats .sl-scroll-in { padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.sl-pbp { display: flex; align-items: center; gap: 18px; min-height: 50px; margin-bottom: 4px; padding: 0 20px; border-radius: 18px; }
.sl-pbp.goal { min-height: 74px; background: var(--sl-goal-wash); }
.sl-pbp .t { width: 110px; flex: none; font: 600 calc(24px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.sl-pbp .w { width: 172px; flex: none; font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2.2px; text-transform: uppercase; color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-pbp.goal .w { color: var(--sl-sun-ink); }
.sl-pbp .who { flex: 1; min-width: 0; font: 500 calc(26px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-pbp.goal .who { font-size: calc(28px * var(--ts)); font-weight: 700; }
.sl-pbp .run { font: 700 calc(32px * var(--ts)) var(--eb-font); flex: none; }
.sl-pbp.empty { display: block; padding: 20px; font: 400 calc(24px * var(--ts))/1.35 var(--eb-font); color: var(--sl-muted); }
.sl-statrow { display: flex; gap: 28px; padding: 10px 14px; border-radius: 18px; }
.sl-statbar { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sl-statbar .nums { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sl-statbar .nums b { font: 700 calc(28px * var(--ts)) var(--eb-font); }
.sl-statbar .nums span { font: 700 calc(20px * var(--ts)) var(--eb-font); letter-spacing: 1.5px; color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-statbar .bars { display: flex; gap: 6px; height: 12px; }
.sl-statbar .bars > span { flex: 1; display: flex; }
.sl-statbar .bars .h { justify-content: flex-end; }
.sl-statbar .bars i { display: block; height: 12px; border-radius: 6px; min-width: 2px; }
.sl-statbar .bars .h i { background: var(--sl-ring); }
.sl-statbar .bars .a i { background: var(--sl-muted); opacity: 0.6; }
.sl-dblock { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; }
.sl-dblock .s { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-dright.tour .sl-scroll-in > .sl-eyebrow { margin-bottom: 10px; }
.sl-other { display: flex; align-items: center; gap: 16px; min-height: 64px; margin-bottom: 10px; padding: 0 16px; border-radius: 18px; background: var(--sl-group); }
.sl-other .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sl-other .t { font: 600 calc(26px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-other .s { font: 400 calc(20px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-other .sc { font: 700 calc(28px * var(--ts)) var(--eb-font); }
.sl-dtable { margin-top: 8px; }
.sl-dtable .sl-table { box-shadow: none; }

/* ── Sheets (Settings · More · Help · the pickers) over the blurred dashboard ── */
.sl-scrim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; display: grid; place-items: center; background: var(--sl-scrim); animation: slFade .25s ease; }
.sl-sheet { display: flex; flex-direction: column; padding: 40px 48px; border-radius: 36px; background: var(--sl-surface); border: 1px solid var(--sl-sheet-rim); box-shadow: var(--sl-sheet-shadow); }
.sl-sheet-hd { display: flex; align-items: center; justify-content: space-between; min-height: 64px; flex: none; }
.sl-sheet-hd .ttl { font: 700 calc(60px * var(--ts)) var(--eb-font); letter-spacing: -0.6px; white-space: nowrap; }
.sl-done { display: flex; align-items: center; height: 60px; padding: 0 32px; border-radius: 999px; background: var(--sl-surface2); border: 1px solid var(--sl-border); font: 600 calc(26px * var(--ts)) var(--eb-font); white-space: nowrap; }
.sl-done.small { height: 52px; padding: 0 26px; font-size: calc(24px * var(--ts)); background: var(--sl-surface); }
.sl-scrim .sl-done.tvf.is-focused { background: var(--sl-focus-surface); }
.sl-setcols { display: flex; gap: 40px; margin-top: 28px; }
.sl-setcols .col { width: 652px; display: flex; flex-direction: column; }
.sl-setcols .col > .sl-eyebrow, .sheet-gap { margin-bottom: 12px; }
.sheet-gap { margin-top: 28px; }
.sl-yourteam { display: flex; align-items: center; gap: 18px; min-height: 104px; margin-bottom: 32px; padding: 0 24px; border-radius: 24px; background: var(--sl-group); border: 1px solid var(--sl-border); }
.sl-yourteam .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sl-yourteam .t { font: 600 calc(30px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-yourteam .s { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-yourteam .eye, .sl-picktile .eye { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--sl-mono-bg); color: var(--sl-muted); }
.sl-rowgroup { border-radius: 24px; background: var(--sl-group); border: 1px solid var(--sl-border); }
.sl-rowgroup.gap { margin-top: 32px; }
.sl-setrow { display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 0 24px; border-radius: 22px; }
.sl-setrow.tall { min-height: 92px; }
.sl-setrow .ico { display: grid; place-items: center; flex: none; width: 36px; color: var(--sl-ink2); }
.sl-setrow .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sl-setrow .t { font: 600 calc(32px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-setrow .s { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-setrow .trail { display: flex; align-items: center; gap: 12px; flex: none; }
.sl-setrow .sl-track.readout .sl-pill { padding: 0 18px; }
.sl-orpress { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-skinlbl { font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 1.5px; color: var(--sl-sun-ink); }
.sl-version { margin-top: 24px; font: 400 20px var(--eb-font); color: var(--sl-muted); }
.sl-divgrid { max-height: 640px; overflow: hidden; margin: 0 -8px; padding: 24px 8px; }
.sl-divgrid .in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; transition: transform .3s var(--ease); }
.sl-divgrid.three .in { grid-template-columns: repeat(3, 1fr); }
.sl-divtile { position: relative; display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 0 28px; border-radius: 22px; background: var(--sl-group); border: 1px solid var(--sl-border); }
.sl-divtile .t { flex: 1; min-width: 0; font: 600 calc(32px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-helpcols { display: flex; gap: 48px; margin-top: 32px; }
.sl-helpcols .col { width: 500px; display: flex; flex-direction: column; gap: 14px; }
.sl-helpline { display: flex; align-items: flex-start; gap: 14px; font: 500 calc(24px * var(--ts))/1.35 var(--eb-font); }
.sl-helpline .ico { width: 34px; flex: none; display: grid; place-items: center; color: var(--sl-sun-ink); }
.sl-helpline .n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sl-sun-ink); color: var(--sl-surface); font-weight: 700; font-size: 18px; }
.sl-remote { width: 210px; height: 440px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 32px; border-radius: 46px; background: var(--sl-surface2); border: 2px solid var(--sl-border); color: var(--sl-ink); }
.sl-remote .pad { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
.sl-remote .ring { position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 3px solid var(--sl-ink2); opacity: 0.8; }
.sl-remote .dot { width: 46px; height: 46px; border-radius: 50%; background: #FFD862; }
.sl-remote .keys { display: flex; gap: 22px; }
.sl-remote .k { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sl-surface); border: 1px solid var(--sl-border); }
.sl-pick-h1 { font: 700 calc(52px * var(--ts)) var(--eb-font); letter-spacing: -0.5px; }
.sl-pick-sub { margin-top: 8px; font: 400 calc(24px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-pickgrid { max-height: 600px; overflow: hidden; margin: 0 -10px; padding: 24px 10px; }
.sl-pickgrid .in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; transition: transform .3s var(--ease); }
.sl-picktile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 14px; border-radius: 24px; background: var(--sl-group); border: 1px solid var(--sl-border); }
.sl-picktile .eye { width: 80px; height: 80px; }
.sl-picktile .nm { height: 64px; font: 600 calc(26px * var(--ts))/1.2 var(--eb-font); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sl-picktile.on::after { content: ''; position: absolute; top: 8px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: #FFD862; }
.sl-pick-foot { margin-top: 8px; text-align: center; font: 500 calc(20px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.sl-legend { position: absolute; left: 50%; bottom: 130px; z-index: 40; transform: translateX(-50%); display: flex; gap: 34px; padding: 14px 30px; border-radius: 999px; background: var(--sl-surface); border: 1px solid var(--sl-border); box-shadow: 0 10px 40px var(--sl-lift); font: 600 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-ink2); white-space: nowrap; pointer-events: none; animation: slFade .3s ease; }
.sl-legend .it { display: flex; align-items: center; gap: 10px; }
.sl-legend svg { color: var(--sl-sun-ink); }
.sl-goal { position: absolute; top: 36px; left: 50%; z-index: 70; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 16px 36px; border-radius: 999px; background: #FFD862; color: #14182B; box-shadow: 0 10px 44px rgba(0, 0, 0, 0.35); white-space: nowrap; animation: slGoalIn .35s ease; }
.sl-goal .g { font: 700 28px var(--eb-font); letter-spacing: 3px; }
.sl-goal .l { font: 700 32px var(--eb-font); }
@keyframes slGoalIn { from { opacity: 0; transform: translate(-50%, -40px); } }

/* ── THE BOARD (TV-Board): always dark ── */
.board.sl-board { padding: 0; background: none; }
.bd2 { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; flex-direction: column; padding: 54px 96px 53px; }
.bd2 > .sp { flex: 1; }
.bd2-hd { flex: none; }
.bd2-hd .row { display: flex; align-items: center; height: 72px; margin-top: 8px; }
.bd2-hd .row .sp { flex: 1; }
.bd2-hd .sl-headline { max-width: 1100px; }
.bd2-hd .clk { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.sl-clock.big { font-size: calc(44px * var(--ts)); }
.bd2-hd .stale { font: 700 22px var(--eb-font); color: var(--sl-live); }
.bd2-liverow { display: flex; gap: 32px; height: 500px; margin-top: 16px; flex: none; }
.sl-hero.bd2-hero { width: 1180px; flex: none; height: 500px; padding: 38px 52px 40px; box-shadow: 0 0 120px rgba(204, 59, 114, 0.28); }
.bd2-hero .side { width: 270px; }
.bd2-hero .side .nm { font-size: calc(38px * var(--ts)); }
.bd2-hero .score { font-size: 220px; gap: 31px; }
.bd2-hero .score i { font-size: 121px; }
.bd2-hero .meta { font-size: calc(32px * var(--ts)); }
.bd2-hero .goal { font-size: calc(30px * var(--ts)); }
.bd2-sidecol { width: 516px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.sl-mini.bd2-side { width: 516px; height: 240px; }
.sl-mini.bd2-side .sc { font-size: calc(44px * var(--ts)); }
.bd2-pools { display: flex; gap: 24px; margin-top: 28px; flex: none; }
.bd2-pools .bd2-pool { flex: 1; min-width: 0; }
.bd2-pool { padding: 14px 28px; border-radius: 24px; }
.bd2-pool .hd { display: flex; align-items: center; height: 32px; padding: 0 16px; font: 700 calc(22px * var(--ts)) var(--eb-font); letter-spacing: 2px; text-transform: uppercase; color: var(--sl-muted); }
.bd2-pool .hd .sp { flex: 1; }
.bd2-pool .hd .sl-eyebrow { flex: 1; min-width: 0; }
.bd2-pool .c { width: 110px; flex: none; text-align: right; white-space: nowrap; }
.bd2-pool .c.p { width: 84px; }
.bd2-pool .tr { position: relative; display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-radius: 14px; }
.bd2-pool .tr.mine { background: rgba(255, 255, 255, 0.05); }
.bd2-pool .tr.mine::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: #FFD862; }
.bd2-pool .rk { width: 28px; flex: none; font: 700 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.bd2-pool .tr.mine .rk { color: var(--sl-sun-ink); }
.bd2-pool .nm { flex: 1; min-width: 0; font: 600 calc(28px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd2-pool .tr .c { font: 600 calc(28px * var(--ts)) var(--eb-font); color: var(--sl-ink); }
.bd2-pool .tr .c.p { font-weight: 700; font-size: calc(30px * var(--ts)); }
.bd2-center { display: flex; justify-content: center; flex: none; animation: slFade .5s ease; }
.bd2-sched { width: 1500px; padding: 30px 44px; }
.bd2-sched > .sl-eyebrow { margin-bottom: 14px; }
.bd2-sched .r { display: flex; align-items: center; gap: 22px; height: 84px; }
.bd2-sched .r .sp { flex: 1; }
.bd2-sched .when { width: 200px; flex: none; display: flex; flex-direction: column; }
.bd2-sched .when b { font: 600 calc(30px * var(--ts)) var(--eb-font); }
.bd2-sched .when span { font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.bd2-sched .nm { font: 600 calc(32px * var(--ts)) var(--eb-font); white-space: nowrap; }
.bd2-sched .vs { font: 400 calc(26px * var(--ts)) var(--eb-font); color: var(--sl-muted); }
.bd2-sched .meta { font: 400 calc(24px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.bd2-stpage { display: flex; gap: 28px; align-items: flex-start; }
.bd2-stpage .bd2-pool { width: 760px; }
.bd2-score { width: 1100px; padding: 36px 48px; display: flex; flex-direction: column; gap: 18px; }
.bd2-score .top { display: flex; align-items: center; gap: 16px; }
.bd2-score .meta { font: 600 calc(28px * var(--ts)) var(--eb-font); color: var(--sl-ink2); white-space: nowrap; }
.bd2-score .sr { display: flex; align-items: center; gap: 22px; }
.bd2-score .sr .sp { flex: 1; }
.bd2-score .sr .nm { font: 600 calc(44px * var(--ts)) var(--eb-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd2-score .sr .sc { font: 700 calc(72px * var(--ts)) var(--eb-font); }
.bd2-score .sr.dim .nm, .bd2-score .sr.dim .sc { color: var(--sl-muted); }
.bd2-score .so { font: 600 24px var(--eb-font); color: var(--sl-muted); }
.bd2-champ { min-width: 900px; padding: 44px 64px; display: flex; flex-direction: column; align-items: center; gap: 18px; border-radius: 28px; background: var(--sl-surface); border: 3px solid rgba(255, 216, 98, 0.55); }
.bd2-champ .nm { font: 700 calc(60px * var(--ts)) var(--eb-font); }
.bd2-empty { font: 600 calc(40px * var(--ts)) var(--eb-font); color: var(--sl-ink2); }
.bd2-dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex: none; }
.bd2-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--sl-ink); opacity: 0.3; }
.bd2-dots span.on { opacity: 0.9; }
.bd2-foot { flex: none; height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.bd2-foot .c { font: 400 calc(24px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.bd2-foot .r { justify-self: end; display: flex; align-items: center; gap: 14px; }
.bd2-foot .txt { display: flex; flex-direction: column; font: 400 calc(22px * var(--ts)) var(--eb-font); color: var(--sl-muted); white-space: nowrap; }
.bd2-foot .txt > b { font-weight: 600; color: var(--sl-ink); }
.bd2-foot .txt span b { font-weight: 700; color: var(--sl-ink); }

/* ── THE BOARD ON THE TV (parent-path wave 5, tv-board.jsx; BOARD-SPEC §1, §9, §10) ──
   Sizes are set inline (the spec's points × one scale); this sheet holds the ground, the colours and the motion.
   Ground A: surface-pool, a sun wash centred on the top edge (26 % day / 10 % night), a navy-subtle wash rising from
   45 % of the height (75 % / 90 %). LIVE broadcast red, PAUSED grey. Caps are data: the dots never re-tint. */
[data-theme="light"] { --tvb-sun: rgba(255, 216, 98, 0.26); --tvb-navy: rgba(230, 236, 245, 0.75); }
[data-theme="dark"] { --tvb-sun: rgba(255, 216, 98, 0.10); --tvb-navy: rgba(20, 38, 74, 0.90); }
.tvb-focus { display: block; width: 100%; height: 100%; border-radius: 28px; }
.tvb { position: relative; box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: radial-gradient(ellipse 75% 47.5% at 50% 0%, var(--tvb-sun, rgba(255,216,98,.26)), rgba(255, 216, 98, 0) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, var(--tvb-navy, rgba(230,236,245,.75)) 100%), var(--sl-page);
  border: 1px solid var(--sl-border); font-family: var(--eb-font); color: var(--sl-ink); }
.tvb-in { display: flex; flex-direction: column; }
.tvb-chiprow { display: flex; align-items: center; justify-content: space-between; }
.tvb-live { display: inline-flex; align-items: center; border-radius: 999px; background: #D32B27; color: #fff; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.tvb-live.stale { background: var(--sl-muted); }
.tvb-live .dot { border-radius: 50%; background: #fff; animation: tvb-pulse .9s ease-in-out infinite alternate; }
.tvb-live.stale .dot { animation: none; }
@keyframes tvb-pulse { from { opacity: 1; } to { opacity: .3; } }
.tvb-eyebrow { color: var(--sl-muted); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 12px; }
.tvb-row { display: flex; align-items: flex-start; }
.tvb-team { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tvb-name { font-weight: 600; color: var(--sl-ink); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; box-sizing: border-box; }
.tvb-cap { display: flex; align-items: center; color: var(--sl-muted); font-weight: 500; }
.tvb-dot { display: inline-block; border-radius: 50%; box-sizing: border-box; }
.tvb-dot.white { background: #FFFFFF; border: 1.5px solid #6F6A78; }
.tvb-dot.dark { background: #2A4785; border: 1px solid #C9CFDD; }
.tvb-score { display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1; color: var(--sl-ink); }
.tvb-num { display: inline-block; animation: tvb-roll .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes tvb-roll { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.tvb-centre { display: flex; align-items: center; justify-content: center; box-sizing: content-box; }
.tvb-clock { display: flex; align-items: center; gap: .3em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--sl-ink); }
.tvb-clock .sep { opacity: .45; }
.tvb-clock .none { color: var(--sl-muted); }
.tvb-line { display: flex; align-items: center; justify-content: center; }
.tvb-sentence { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-align: center; font-weight: 500; color: var(--sl-ink2); animation: tvb-fade .25s ease-in-out; }
@keyframes tvb-fade { from { opacity: 0; } to { opacity: 1; } }
.tvb-pill { display: inline-flex; align-items: center; border-radius: 999px; background: #FFD862; color: #002F6C; font-weight: 700; white-space: nowrap; animation: tvb-pill-in .3s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes tvb-pill-in { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.tvb-sunbar { position: absolute; left: 0; top: 0; width: 100%; background: linear-gradient(to right, #FFD862 0%, #F7884A 55%, #CC3B72 100%);
  transform-origin: left center; animation: tvb-sweep .6s ease-out both, tvb-bar-out .35s ease-out .6s both; }
@keyframes tvb-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tvb-bar-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tvb-num, .tvb-sentence { animation: tvb-fade .25s ease-in-out; }
  .tvb-pill { animation: none; }
  .tvb-sunbar { display: none; }
}
