/* Billionaires Digest v3 (Track A): base styles and components, sports-network look. Needs assets/v2/tokens.css first.
   Reference: design.html (style guide). Class prefix: v2-. Light canvas, white cards with thin rules, a dark scores
   ticker and black top bar, bold condensed headlines (Barlow Condensed 800), red accents. Dark mode via tokens.
   Numbers always carry + / − (never color alone). Motion is short and optional; none with prefers-reduced-motion.
   Class names from the casino version are kept (v2-odo, v2-lamp, v2-led, v2-bulbs …) and restyled. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 var(--s1); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
[hidden] { display: none !important; }
.num, table { font-variant-numeric: tabular-nums; }
.v2-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
::selection { background: var(--brand); color: #fff; }

/* focus: visible 3px ring (blue on light, light blue on dark chrome) */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.v2-top :focus-visible, .v2-ticker :focus-visible, .v2-foot :focus-visible, .v2-hero :focus-visible, .v2-dark :focus-visible { outline-color: #8AB4FF; }

/* skip link */
.v2-skip {
  position: absolute; left: var(--s1); top: -100px; z-index: 100;
  background: var(--surface); color: var(--text); padding: var(--s0) var(--s1);
  border-radius: var(--radius); font-weight: 700; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.v2-skip:focus { top: var(--s1); }

/* ---------- type ---------- */
.v2-display, .v2-h1, .v2-h2, .v2-h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  line-height: 1;
  color: var(--text);
}
.v2-display, .v2-h1 { text-transform: uppercase; letter-spacing: .005em; }
.v2-h1 { font-size: var(--fs-3xl); }
.v2-h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .01em; }
.v2-h3 { font-size: var(--fs-lg); line-height: 1.1; }
.v2-hero-num {
  font-family: var(--font-display); font-weight: var(--fw-display);
  font-size: var(--fs-hero); line-height: .85; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.v2-kicker {
  display: block;
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); line-height: 1.3;
}
.v2-kicker--plain { color: inherit; }
.v2-kicker--red { color: var(--brand-ink); }
.v2-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.v2-lede { font-size: var(--fs-lg); color: var(--text-muted); }
.v2-small { font-size: var(--fs-sm); color: var(--text-muted); }

/* play-money line (keep on every game page) */
.v2-play {
  margin: 0 0 var(--s1); text-align: left;
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
}
.v2-play--big {
  text-align: center; font-size: var(--fs-sm); color: var(--text-muted);
  border-top: 1px solid var(--line); padding: var(--s1) 0 0; margin: var(--s3) 0 0;
}

/* ---------- layout ---------- */
.v2-wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--margin); padding-right: var(--margin); }
.v2-main { padding-top: var(--s2); padding-bottom: var(--s5); }
.v2-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.v2-grid > * { min-width: 0; }
.span-12 { grid-column: span 12; } .span-9 { grid-column: span 9; } .span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.v2-stack > * + * { margin-top: var(--gutter); }
@media (max-width: 767px) {
  .v2-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .v2-grid > [class*="span-"] { grid-column: 1 / -1; }
  .v2-main { padding-top: 12px; padding-bottom: var(--s3); }
  .v2-stack > * + * { margin-top: 12px; }
}

/* page head: bold condensed title, dek, side slot */
.v2-pagehead { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s0) var(--s3); margin: var(--s0) 0 var(--s2); }
.v2-pagehead__h { font-size: 52px; margin: 0; }
.v2-pagehead__dek { margin: 0; font-size: var(--fs-lg); color: var(--text-muted); flex: 1 1 280px; }
@media (max-width: 767px) {
  .v2-pagehead { margin: var(--s-1) 0 var(--s1); gap: var(--s-1) var(--s1); }
  .v2-pagehead__h { font-size: 38px; }
  .v2-pagehead__dek { font-size: var(--fs-md); flex-basis: 100%; }
}

/* ---------- cards: white, thin border, rounded ---------- */
.v2-card {
  position: relative; border-radius: var(--radius-card); padding: var(--s1) var(--s2) var(--s2);
  background: var(--card); color: var(--text);
  border: 0; box-shadow: var(--shadow);
}
.v2-card__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s1);
  border-bottom: 1px solid var(--line); padding: 4px 0 10px; margin-bottom: 12px;
}
.v2-card__head .v2-h2 { margin: 0; }
.v2-card__meta { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); white-space: nowrap; }
.v2-card--tint { background: var(--info-tint); box-shadow: none; }
.v2-card--tint .v2-kicker { color: var(--info-ink); }
.v2-card--flush { padding: 0; overflow: hidden; }
@media (max-width: 767px) { .v2-card { padding: 12px var(--s1) var(--s1); } }

/* hero: dark scoreboard card (both themes) */
.v2-hero, .v2-dark {
  --text: #FFFFFF; --text-muted: #B9BFC7; --line: #33373C; --positive: #3CC985; --negative: #FF6B64; --brand-ink: #FF6B64;
  position: relative; color: #fff; background: var(--ink-2); border-radius: var(--radius-card); padding: var(--s2);
  box-shadow: var(--shadow);
}
.v2-hero .v2-label { color: var(--on-ink-muted); }
.v2-hero a:not(.v2-btn) { color: #fff; }
@media (max-width: 767px) { .v2-hero { padding: var(--s1); } }

/* marquee bulbs: retired in this look */
.v2-bulbs { display: none; }

/* ---------- buttons: pill shape ---------- */
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s0);
  min-height: var(--tap); padding: 8px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.v2-btn--primary, .v2-btn--gold { background: var(--brand); color: #fff; border-color: var(--brand); }
.v2-btn--primary:hover, .v2-btn--gold:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.v2-btn--secondary { background: transparent; border-color: var(--brand-ink); color: var(--brand-ink); }
.v2-btn--secondary:hover { background: var(--brand-tint); }
.v2-btn--selected { background: var(--positive-tint); border-color: var(--positive); color: var(--positive); }
.v2-btn--ghost { background: var(--card); color: var(--text); border-color: var(--line-2); }
.v2-btn--ghost:hover { border-color: var(--text); }
.v2-hero .v2-btn--ghost, .v2-dark .v2-btn--ghost { background: transparent; color: #fff; border-color: #7C848E; }
.v2-hero .v2-btn--ghost:hover, .v2-dark .v2-btn--ghost:hover { border-color: #fff; }
.v2-btn--light { background: #fff; color: #121417; border-color: #fff; }
.v2-btn--light:hover { background: #E9EBEE; }
.v2-btn--block { display: flex; width: 100%; white-space: normal; text-align: center; }
.v2-btn--big { min-height: 50px; font-size: 16px; padding-left: 28px; padding-right: 28px; }
.v2-btn--sm { min-height: var(--tap); padding: 6px 14px; font-size: 14px; }
.v2-btn[disabled], .v2-btn[aria-disabled="true"], .v2-btn--disabled {
  background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--disabled-ink); cursor: not-allowed;
}
.v2-link { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; }
.v2-btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s1); }

/* ---------- badges and pills ---------- */
.v2-badge-c {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 4px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: var(--fs-xs);
}
.v2-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px;
  border-radius: 4px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.v2-hero .v2-pill, .v2-dark .v2-pill { background: #2A2D31; border-color: #3A3E44; color: #fff; }
.v2-pill--light { background: var(--disabled-bg); color: var(--text); border-color: var(--line); }
.v2-pill--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.v2-tag {
  display: inline-block; padding: 1px 7px; border-radius: 4px; border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted);
}

/* CEO badge: a small dark pill next to a CEO player's name (billionaires get none). Inverts on dark surfaces. */
.v2-ceo {
  display: inline-block; vertical-align: .15em; margin-left: 6px; padding: 0 6px; border-radius: 999px;
  background: var(--ink-2); color: #fff; border: 1px solid var(--ink-2);
  font: 700 10px/16px var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  text-decoration: none;
}
.v2-hero .v2-ceo, .v2-dark .v2-ceo, .pp-hero .v2-ceo { background: #fff; color: #16181B; border-color: #fff; }
:root[data-theme="dark"] .v2-ceo { background: #F1F2F4; color: #16181B; border-color: #F1F2F4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .v2-ceo { background: #F1F2F4; color: #16181B; border-color: #F1F2F4; }
}

/* segmented control (All · Billionaires · CEOs): buttons with aria-pressed in a role="group" */
.v2-seg { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 0 0 var(--s1); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); }
.v2-seg__b {
  min-height: var(--tap); padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: none; cursor: pointer;
  color: var(--text-muted); font: 600 var(--fs-sm)/1 var(--font-body);
}
.v2-seg__b:first-child { border-left: 0; }
.v2-seg__b:hover { color: var(--text); }
.v2-seg__b[aria-pressed="true"] { background: var(--ink-2); color: #fff; font-weight: 700; }
.v2-seg__b:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
:root[data-theme="dark"] .v2-seg__b[aria-pressed="true"] { background: #F1F2F4; color: #16181B; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .v2-seg__b[aria-pressed="true"] { background: #F1F2F4; color: #16181B; }
}

/* ---------- numbers (sign always in the text; color only adds to it) ---------- */
.v2-pos { color: var(--positive); }
.v2-neg { color: var(--negative); }
.v2-zero { color: var(--text-muted); }

/* ---------- tables: dense, thin rules ---------- */
.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th {
  text-align: left; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); padding: 8px var(--s0); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.v2-table td { padding: 8px var(--s0); border-bottom: 1px solid var(--line); vertical-align: middle; }
.v2-table tbody th { border-bottom: 1px solid var(--line); }
.v2-table th:first-child, .v2-table td:first-child { padding-left: 0; }
.v2-table th:last-child, .v2-table td:last-child { padding-right: 0; }
.v2-table .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v2-table td.n { font-size: var(--fs-md); font-weight: 600; }
.v2-table td.n.v2-strong { font-weight: 700; }
.v2-table tbody tr:hover td { background: var(--surface-2); }

/* player cell */
.v2-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.v2-player__txt { min-width: 0; flex: 1 1 auto; }
.v2-player__name { display: block; font-size: var(--fs-md); font-weight: 700; line-height: 1.2; color: var(--text); text-decoration: none; }
a.v2-player__name:hover { text-decoration: underline; text-underline-offset: 2px; }
.v2-player__sub { display: block; font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .02em; }

/* ---------- avatar: initials on a sector plate (optional image) ---------- */
.v2-av {
  --av: 40px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: var(--av); height: var(--av); border-radius: 50%; overflow: hidden;
  background: var(--plate, #E6E9ED); color: #121417;
  font-weight: 700; font-size: calc(var(--av) * .36); letter-spacing: .02em; line-height: 1;
  isolation: isolate;
}
.v2-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* painted portrait (white background melts into the sector plate, face centered) */
.v2-av--pic { color: transparent; }
.v2-av--pic img { object-position: 50% 0; transform: scale(1.7); transform-origin: 50% 22%; mix-blend-mode: multiply; }
.v2-av--sm { --av: 32px; }
.v2-av--lg { --av: 72px; }
.v2-av[data-sector="ai-tech"] { --plate: #DCE6F2; }
.v2-av[data-sector="finance"] { --plate: #DCEBE2; }
.v2-av[data-sector="aerospace"] { --plate: #E2E1F0; }
.v2-av[data-sector="luxury-retail"] { --plate: #F1E2E1; }
.v2-av[data-sector="real-estate"] { --plate: #EDE6D8; }
.v2-av[data-sector="energy"] { --plate: #F2E8D2; }
.v2-av[data-sector="media"] { --plate: #EADFEC; }
.v2-av[data-sector="autos"] { --plate: #DFE6EA; }
.v2-av[data-sector="industrials"] { --plate: #E4E4DC; }
.v2-av[data-sector="health"] { --plate: #DAEDEA; }
.v2-av[data-sector="other"] { --plate: #E6E9ED; }

/* ---------- stat blocks ---------- */
.v2-stat { display: flex; flex-direction: column; gap: 2px; }
.v2-stat__label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.v2-stat__value { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
.v2-stats { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- stats bar (was the LED board): white strip with separators ---------- */
.v2-led {
  position: relative; border-radius: var(--radius-card); padding: 12px var(--s2);
  background: var(--card); box-shadow: var(--shadow);
}
.v2-led__k { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.v2-led__v {
  display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 28px; line-height: 1.05;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.v2-led__v.v2-neg { color: var(--negative); }
.v2-led__v.v2-pos { color: var(--positive); }
@media (max-width: 767px) { .v2-led { padding: 10px var(--s1); } .v2-led__v { font-size: 22px; } }

/* ---------- scoreboard number (was the odometer). JS may roll the digit strips once; plain digits otherwise ---------- */
.v2-odo { font-family: var(--font-display); font-weight: var(--fw-display); line-height: 1; color: var(--text); letter-spacing: -.01em; }
.v2-odo__digits { display: inline-flex; align-items: stretch; max-width: 100%; }
.v2-odo__col, .v2-odo__ch { display: inline-block; height: 1em; overflow: hidden; line-height: 1; text-align: center; }
.v2-odo__ch { min-width: .25em; }
.v2-odo__blank { width: .5em; border-bottom: .06em solid var(--line); }
.v2-odo__strip { display: block; transform: translateY(0); will-change: transform; }
.v2-odo__d { display: block; height: 1em; line-height: 1; }
.v2-odo--big { font-size: 96px; }
.v2-odo--mid { font-size: 56px; }
.v2-odo--sm { font-size: 36px; }
.v2-odo.v2-pos { color: var(--positive); }
.v2-odo.v2-neg { color: var(--negative); }
.v2-odo.v2-zero { color: var(--text-muted); }
.v2-odo--gold, .v2-odo--gold.v2-pos { color: var(--text); }
@media (max-width: 767px) { .v2-odo--big { font-size: 68px; } .v2-odo--mid { font-size: 44px; } .v2-odo--sm { font-size: 30px; } }

/* ---------- result status pill (was the lamp; the word carries the meaning) ---------- */
.v2-lamp {
  display: inline-flex; flex-direction: row; align-items: center; gap: 8px; align-self: flex-start;
  padding: 4px 12px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface-2);
}
.v2-hero .v2-lamp, .v2-dark .v2-lamp { background: #2A2D31; border-color: #3A3E44; }
.v2-lamp__k { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.v2-lamp__word { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text); }
.v2-lamp.is-win { border-color: var(--positive); }
.v2-lamp.is-win .v2-lamp__word { color: var(--positive); }
.v2-lamp.is-loss { border-color: var(--negative); }
.v2-lamp.is-loss .v2-lamp__word { color: var(--negative); }

/* ---------- cap meter ---------- */
.v2-cap { display: flex; flex-direction: column; gap: 6px; }
.v2-cap__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s1); }
.v2-cap__num { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.v2-cap__bar { height: 8px; border-radius: 999px; background: var(--disabled-bg); overflow: hidden; }
.v2-cap__fill { height: 100%; width: 0; border-radius: 999px; background: var(--text); transition: width var(--t-base) var(--ease); }
.v2-cap--over .v2-cap__fill { background: var(--brand); }
.v2-cap--over .v2-cap__num { color: var(--negative); }

/* ---------- forms ---------- */
.v2-field { display: flex; flex-direction: column; gap: 4px; }
.v2-field label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.v2-input, .v2-select {
  min-height: var(--tap); padding: 8px 12px; width: 100%;
  background-color: var(--card); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius);
}
.v2-select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.v2-select option { background: var(--card); color: var(--text); }
.v2-input:hover, .v2-select:hover { border-color: var(--text); }
.v2-input::placeholder { color: var(--disabled-ink); }

/* ---------- empty state, messages ---------- */
.v2-empty { text-align: left; padding: var(--s1) 0; }
.v2-empty .v2-h2 { margin-bottom: var(--s0); }
.v2-empty p { color: var(--text-muted); max-width: 52ch; }
.v2-msg { font-size: var(--fs-sm); color: var(--text-muted); }
.v2-msg--bad { color: var(--negative); font-weight: 600; }
.v2-loading { color: var(--text-muted); }
.v2-skel { display: block; height: 12px; border-radius: 4px; background: var(--disabled-bg); margin: 10px 0; }
.v2-skel--lg { height: 48px; width: 40%; }
.v2-banner {
  background: var(--warning-tint); color: var(--warning); border-left: 4px solid var(--warning); border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--s0) var(--s1); font-size: var(--fs-sm); font-weight: 600;
}

/* toasts (role=status live region) */
.v2-toasts {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: var(--s3); z-index: 60;
  display: flex; flex-direction: column; gap: var(--s0); width: min(560px, calc(100% - 32px)); pointer-events: none;
}
.v2-toast {
  background: #16181B; color: #fff; padding: 12px var(--s1); border-radius: var(--radius); border-left: 5px solid #3CC985;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35); font-weight: 600; pointer-events: auto;
}
.v2-toast--bad { border-left-color: var(--brand); }

/* ---------- scores ticker (filled by assets/v2/ticker.js; hidden until it has real data) ---------- */
.v2-ticker { background: var(--ticker); color: #fff; border-bottom: 1px solid #000; }
.v2-ticker__in { display: flex; align-items: stretch; min-height: 64px; max-width: 1600px; margin: 0 auto; }
.v2-ticker__lead {
  flex: none; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 0 var(--s1); min-width: 112px; border-right: 1px solid var(--ticker-2);
  color: #fff; text-decoration: none;
}
.v2-ticker__lead span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #B9BFC7; }
.v2-ticker__lead strong { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 18px; text-transform: uppercase; line-height: 1; }
.v2-ticker__lead:hover strong { text-decoration: underline; text-underline-offset: 2px; }
.v2-ticker__row {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #4A4E54 transparent;
}
.v2-ticker__row::-webkit-scrollbar { height: 4px; }
.v2-ticker__row::-webkit-scrollbar-thumb { background: #4A4E54; border-radius: 2px; }
.v2-ticker__row > li { display: flex; flex: none; }
.v2-ticker__lg {
  display: flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--ticker-2);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; white-space: nowrap;
  background: rgba(255, 255, 255, .04);
}
.v2-ticker__g {
  display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 150px; padding: 6px 14px;
  border-right: 1px solid var(--ticker-2); color: #D5D9DE; text-decoration: none; font-size: 13px; line-height: 1.25;
}
.v2-ticker__g:hover { background: rgba(255, 255, 255, .06); }
.v2-ticker__g:focus-visible { outline-offset: -3px; }
.v2-ticker__st { font-size: 11px; font-weight: 700; color: #B9BFC7; white-space: nowrap; }
.v2-ticker__st.is-live { color: #FF8A84; }
.v2-ticker__t { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.v2-ticker__n { overflow: hidden; text-overflow: ellipsis; }
.v2-ticker__p { font-variant-numeric: tabular-nums; }
.v2-ticker__t.is-win { color: #fff; font-weight: 700; }
.v2-ticker__t.is-lose { color: #9AA1AA; }
@media (max-width: 767px) {
  .v2-ticker__in { min-height: 58px; }
  .v2-ticker__lead { min-width: 0; padding: 0 12px; }
  .v2-ticker__lead strong { font-size: 16px; }
  .v2-ticker__g { min-width: 132px; padding: 6px 12px; }
}

/* ---------- top bar: black, wordmark, section tabs, icon actions ---------- */
.v2-top { position: relative; background: var(--bar); color: #fff; }
.v2-top__in { display: flex; align-items: center; gap: var(--s2); min-height: var(--topbar-h); }
.v2-mark { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; min-height: var(--tap); }
.v2-mark__bd {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--brand); color: #fff; border-radius: 3px;
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: 23px; line-height: 1; letter-spacing: -.01em;
}
.v2-mark__name { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 24px; line-height: 1; text-transform: uppercase; white-space: nowrap; color: #fff; letter-spacing: .01em; }
.v2-mark--sm .v2-mark__bd { width: 28px; height: 28px; font-size: 18px; }
.v2-mark--sm .v2-mark__name { font-size: 18px; }
.v2-topnav { display: flex; align-items: stretch; gap: 4px; align-self: stretch; }
.v2-topnav a {
  display: inline-flex; align-items: center; padding: 0 12px; position: relative;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
}
.v2-topnav a:hover { background: rgba(255, 255, 255, .08); }
.v2-topnav a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: var(--brand); }
.v2-topnav a:focus-visible { outline-offset: -3px; }
.v2-top__right { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.v2-top__act {
  display: inline-flex; align-items: center; gap: 7px; min-height: var(--tap); padding: 0 10px; border-radius: 4px;
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.v2-top__act svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v2-top__act:hover { background: rgba(255, 255, 255, .1); }
.v2-top__act--team { background: var(--brand); padding: 0 14px; margin-left: 6px; }
.v2-top__act--team:hover { background: var(--brand-hover); }
.v2-top__search { }
.v2-menubtn {
  display: none; min-height: var(--tap); min-width: var(--tap); padding: 0 10px; gap: 6px;
  background: transparent; border: 1px solid #4A4E54; border-radius: 4px; color: #fff;
  font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; cursor: pointer;
}
@media (max-width: 1180px) {
  .v2-top__in { gap: var(--s1); }
  .v2-mark__name { font-size: 20px; }
  .v2-topnav a { padding: 0 9px; }
  .v2-top__act--draft span { display: none; }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .v2-mark__name { display: none; }
  .v2-top__act:not(.v2-top__act--team) span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* sub-tab bar: white (dark in dark mode), section label on the left */
.v2-subtabs { background: var(--subbar); border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.v2-subtabs__in { display: flex; align-items: stretch; gap: var(--s2); }
.v2-subtabs__label {
  display: flex; align-items: center; gap: 8px; padding-right: var(--s2); border-right: 1px solid var(--line);
  font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; margin: 10px 0;
}
.v2-subtabs__label::before { content: ''; width: 10px; height: 10px; background: var(--brand); border-radius: 2px; flex: none; }
.v2-subtabs__list { display: flex; gap: var(--s2); margin: 0; padding: 0; list-style: none; min-width: 0; }
.v2-subtabs__list li { display: flex; }
.v2-subtabs__list a {
  display: inline-flex; align-items: center; min-height: 48px; position: relative; white-space: nowrap;
  color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 600;
}
.v2-subtabs__list a:hover { color: var(--text); }
.v2-subtabs__list a[aria-current] { color: var(--text); font-weight: 700; }
.v2-subtabs__list a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); }
.v2-subtabs__list a:focus-visible { outline-offset: -3px; }
@media (max-width: 1100px) { .v2-subtabs__list { gap: var(--s1); } .v2-subtabs__label { font-size: 14px; padding-right: var(--s1); } }

/* score strip (phone, team page) */
.v2-strip { background: var(--card); border-bottom: 1px solid var(--line); display: none; }
.v2-strip__in { display: flex; align-items: stretch; gap: var(--s1); padding-top: 10px; padding-bottom: 10px; }
.v2-strip__cell { flex: 1 1 0; min-width: 0; }
.v2-strip__cell + .v2-strip__cell { border-left: 1px solid var(--line); padding-left: var(--s1); }
.v2-strip__k { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.v2-strip__v { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* phone bottom tabs (icons drawn with CSS masks, one per section in order: Play, Learn, Players, News) */
.v2-tabs { display: none; }

/* phone MENU sheet */
.v2-menu { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .55); }
.v2-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 100%);
  background: var(--card); color: var(--text); box-shadow: -8px 0 30px rgba(0, 0, 0, .35);
  overflow-y: auto; padding: 0 var(--s1) calc(var(--s3) + env(safe-area-inset-bottom));
}
.v2-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--topbar-h); border-bottom: 1px solid var(--line); }
.v2-menu__title { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-xl); text-transform: uppercase; }
.v2-menu__close { min-height: var(--tap); min-width: var(--tap); background: none; border: 0; color: var(--text); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-sm); cursor: pointer; }
.v2-menu__list, .v2-menu__list ul { list-style: none; margin: 0; padding: 0; }
.v2-menu__list > li { border-bottom: 1px solid var(--line); }
.v2-menu__list a { display: flex; align-items: center; min-height: var(--tap); text-decoration: none; }
.v2-menu__top { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 22px; text-transform: uppercase; }
.v2-menu__top[aria-current] { color: var(--brand-ink); }
.v2-menu__list ul { padding: 0 0 var(--s0) var(--s1); }
.v2-menu__list ul a { font-weight: 600; color: var(--text-muted); }
.v2-menu__list ul a:hover { color: var(--text); }
.v2-menu__list ul a[aria-current] { color: var(--text); box-shadow: inset 3px 0 0 var(--brand); padding-left: 12px; }
html.v2-lock, html.v2-lock body { overflow: hidden; }

@media (max-width: 767px) {
  .v2-top__in { gap: var(--s0); }
  .v2-topnav { display: none; }
  .v2-top__right { gap: 0; }
  .v2-top__act { display: none; }
  .v2-top__act.v2-top__search { display: inline-flex; padding: 0 10px; }
  .v2-top__search span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v2-menubtn { display: inline-flex; align-items: center; }
  .v2-mark { gap: 8px; }
  .v2-mark__bd { width: 32px; height: 32px; font-size: 21px; }
  .v2-mark__name { font-size: 19px; display: inline; }
  .v2-subtabs__label { display: none; }
  .v2-subtabs__in { padding-left: 0; padding-right: 0; }
  .v2-subtabs__list {
    gap: var(--s2); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding: 0 var(--margin-mobile); width: 100%;
  }
  .v2-subtabs__list::-webkit-scrollbar { display: none; }
  .v2-subtabs__list a { min-height: 46px; font-size: 15px; }
  .v2-strip { display: block; }

  .v2-tabs {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .v2-tabs a {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: var(--tabs-h); color: var(--text-muted); text-decoration: none;
    font-size: 11px; font-weight: 700; letter-spacing: .02em;
  }
  .v2-tabs a::before {
    content: ''; width: 24px; height: 24px; background: currentColor;
    -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  }
  .v2-tabs a:nth-child(1) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='3'/%3E%3Cpath d='M7 12h4M9 10v4'/%3E%3Ccircle cx='15.5' cy='11' r='1'/%3E%3Ccircle cx='17.5' cy='13' r='1'/%3E%3C/svg%3E"); }
  .v2-tabs a:nth-child(2) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); }
  .v2-tabs a:nth-child(3) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.5-3.5 3.2-5.5 6.5-5.5s6 2 6.5 5.5'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 010 7M18.5 14.8c1.8.8 2.8 2.6 3 5.2'/%3E%3C/svg%3E"); }
  .v2-tabs a:nth-child(4) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h10M7 16h6'/%3E%3C/svg%3E"); }
  .v2-tabs a[aria-current] { color: var(--brand-ink); box-shadow: inset 0 3px 0 var(--brand); }
  .v2-tabs a:focus-visible { outline-offset: -3px; }
  body.v2 { padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom)); }
  .v2-toasts { bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + var(--s1)); }
}

/* ---------- footer ---------- */
.v2-foot { position: relative; background: var(--bar); color: #B9BFC7; margin-top: var(--s3); }
.v2-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); padding-top: var(--s2); padding-bottom: var(--s2); }
.v2-foot__notes { flex: 1 1 280px; }
.v2-foot__notes p { margin: 0; font-size: var(--fs-sm); }
.v2-foot__notes p:first-child { color: #fff; font-weight: 600; }
.v2-foot__links { display: flex; flex-wrap: wrap; gap: 0 var(--s2); }
.v2-foot__links a { display: inline-flex; align-items: center; min-height: var(--tap); color: #fff; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.v2-foot__links a:hover { text-decoration: underline; text-underline-offset: 2px; }
.v2-foot__copy { flex-basis: 100%; margin: 0; padding-top: var(--s1); border-top: 1px solid #2A2D31; font-size: var(--fs-xs); color: #9AA1AA; }

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

/* Prototype label: shown only on the Cloudflare preview (*.pages.dev), set by chrome.js */
.v2-proto { background: #FFC862; color: #1A1200; font-size: var(--fs-sm); font-weight: 600; text-align: center; padding: 6px var(--s2); }
.v2-proto a { color: #1A1200; }
