/* factions.css — Wizard + Commoner skin overlays, audit-consensus rebuild.
   Layered on top of style.css. Both skins render the same DOM from the same
   state object; only the root attribute changes.

   Named "factions.css" rather than "skins.css" on purpose: some ad/content
   blockers ship generic filters matching any URL containing "skin" (a
   leftover from CS:GO skin-gambling ad campaigns), which silently drops this
   entire stylesheet with no console error — every Wizard/Commoner rule below
   just never applies, and the page quietly falls back to style.css's
   skin-agnostic defaults. Do not rename this file back.

   Wizard   — NFL Blitz 98 / PS1 broadcast. Flat phosphor fills, zero radius,
              hard integer-pixel offset shadows (no blur), condensed caps with
              a cyan drop shade, pixel numerals on scores only, stepped easing.
              Colour is assigned by role: gold achievement, magenta the skin's
              voice, red live-now, cyan chrome.
   Commoner — machined matte carbon. Near-black base (#131418), elevation
              ladder in fixed white percentages, a lit/occluded edge pair as
              the control affordance, one lime backlight per state. No texture,
              no painted glow.

   Default (no attribute) = wizard, per the mode switch spec. */

@font-face {
  font-family: 'SuperRetroM54';
  src: url('/assets/fonts/Super-Retro-M54.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SuperRetroM54';
  src: url('/assets/fonts/Super-Retro-Italic-M54.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Milker';
  src: url('/assets/fonts/Milker.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Stadium LED terminal face for scoreboard numerals. VT323 is the closest
   free-license match to the halftone-dot billboard look in the audit
   reference: clean bitmap glyphs, distinctive digits, ~14 KB WOFF2.
   Applied through the --f-scoreboard token below. */
@font-face {
  font-family: 'VT323';
  src: url('/assets/fonts/VT323.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* The two masthead faces, one per skin. Both ship in assets/fonts and are the
   original display faces for this project.

   62DRAGZ carries its slant in the outlines, so anything using it must set
   font-style: normal — a synthetic oblique on top double-slants the glyphs.

   Neither face is a general-purpose text face: 62DRAGZ has 80 glyphs and no
   period, comma, apostrophe or middot, and Dollar Bill has no middot. They are
   scoped to .brand-title, which renders the fixed string "MLB SUMMER RUSH"
   (letters and spaces only). Do not promote either to --f-cond: the card titles
   there include apostrophes ("Wizard's Staff") that would fall back mid-word. */
@font-face {
  font-family: '62DRAGZ';
  src: url('/assets/fonts/62DRAGZ.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DollarBill';
  src: url('/assets/fonts/Dollar-Bill.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bauhaus Bernard 1926 by Damien Gosset, commercially licensed for this
   project. This is the masthead's dot-matrix face: its glyphs are genuinely
   built from dots at the outline level, which is what gives the marquee-bulb
   lockup its density. Array — the previous primary — is a display face whose
   dots are far finer and set upright, so it read thin and static next to the
   reference. The same two files back /design/'s concept board (see
   design/css/wizard.css), which is why they sit in the shared /assets/fonts. */
@font-face {
  font-family: 'Bauhaus Bernard 1926';
  src: url('/assets/fonts/BauhausBernard1926-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bauhaus Bernard 1926';
  src: url('/assets/fonts/BauhausBernard1926-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --skin-accent: var(--blue);
  --skin-accent-2: var(--blue-2);
  --skin-glow: color-mix(in srgb, var(--blue) 55%, transparent);
  --skin-card-border: transparent;
  --skin-card-border-w: 0px;
  --skin-title-stroke: transparent;
  --skin-tick-bg: color-mix(in srgb, var(--bg) 88%, transparent);

  /* Display faces match /design/'s concept board exactly: Array (Wizard) /
     Space Mono (Commoner) for every numeral, Chakra Petch (Wizard) / Satoshi
     (Commoner) for titles and chrome. Each skin below overrides these three
     with its own pairing; the self-hosted pixel/condensed faces stay as the
     fallback tier for offline/blocked-CDN cases, never the primary choice. */
  --f-scoreboard: 'Array', 'VT323', 'SuperRetroM54', 'SFSportsNight', ui-monospace, monospace;
  --f-pixel: 'SuperRetroM54', 'SFSportsNight', 'Arial Narrow', monospace;
  --f-cond: 'Chakra Petch', 'Milker', 'SFSportsNight', 'Arial Narrow', system-ui, sans-serif;
  /* Masthead-only face. Each skin overrides it; the default matches Wizard. */
  --f-brand: 'Bauhaus Bernard 1926', 'Array', '62DRAGZ', 'Milker', 'SFSportsNight', 'Arial Narrow', sans-serif;
}

/* ============================================================
   WIZARD — flat layers, stepped ink, role colour
   ============================================================ */
[data-skin='wizard'] {
  --bg: #0a0e24;
  --bg-hi: #10173a;
  --surf: #131a3e;
  --surf-2: #182252;
  --surf-in: #070b1e;
  --tx: #f2f5ff;
  --mut: #9db1e8;
  --fnt: #5f6fa8;
  --hair: #2a3766;
  --hair-hi: #3a4a86;

  /* Club marks sit in a well sunk below the card rather than on a plate raised
     above it — deeper and cooler than --surf, which is the direction this skin's
     whole palette already runs. Deep also buys the most room for the marks
     themselves: a third of them are pure white artwork. The ring is periwinkle
     rather than the cyan used for focus, so a mark is never mistaken for a
     focused control. */
  --logo-surf: #0C1233;
  --logo-ring: #5C74C8;
  --logo-ink: #DCE6FF;

  --skin-accent: #FF56B0;
  --skin-accent-2: #FF8ACB;
  --skin-glow: none;
  --gold: #FFC21E;
  --red: #FF5233;
  --red-2: #FF7D66;
  --blue: #5FE3FF;
  --blue-2: #8FEDFF;
  --green: #4ae3a0;

  --skin-card-border: #04050c;
  --skin-card-border-w: 2px;
  --skin-title-stroke: #04050c;

  --r-card: 0px;
  --r-tile: 0px;
  --r-pill: 0px;

  /* Stepped ink offset replaces soft occlusion. Integer pixels only. */
  --nm-out: 4px 4px 0 #04050c;
  --nm-out-sm: 3px 3px 0 #04050c;
  --nm-in: inset 0 0 0 2px #04050c;
  --nm-in-sm: inset 0 0 0 2px #04050c;
  --ring: 0 0 0 2px #04050c;

  /* Glow utilities become solid 2px role-colour frames — flat, never blurred. */
  --glow-red: 0 0 0 2px var(--red);
  --glow-blue: 0 0 0 2px var(--blue);
  --glow-gold: 0 0 0 2px var(--gold);
  --glow-green: 0 0 0 2px var(--green);

  --focus-ring: #5FE3FF;
  --focus-offset: 3px;
}

/* Page field: deep navy with a faint phosphor grid, masked out of the centre
   band where the scores live so no texture ever sits under a numeral. */
[data-skin='wizard'] body {
  background-image:
    repeating-linear-gradient(90deg, rgba(95, 227, 255, .045) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(95, 227, 255, .045) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #0d1330 0%, #070b1e 100%);
  background-size: 4px 4px, 4px 4px, 100% 100%;
  background-attachment: fixed;
}

/* Brand lockup — condensed italic caps, magenta fill, cyan offset shade,
   black knockout. This single treatment does most of the era signalling. */
[data-skin='wizard'] .brand-title,
[data-skin='wizard'] h2.ttl,
[data-skin='wizard'] .card-title,
[data-skin='wizard'] .screen-head .ttl {
  font-family: var(--f-cond);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--skin-accent);
  -webkit-text-stroke: 0;
  filter: none;
  text-shadow: 3px 3px 0 #04050c, 5px 5px 0 rgba(95, 227, 255, .55);
}
/* Wizard masthead: the marquee lockup, ported from /design/'s .wz-title so the
   live site and the concept board render the same thing.

   Three things carry it, and all three were missing before. The face is
   Bauhaus Bernard 1926 (see the @font-face above), whose glyphs are dots in
   the outlines — the previous primary, Array, has a much finer dot at a
   lighter weight and read thin. The lockup skews, so it reads italic like the
   reference instead of standing upright. And each line is lit rather than
   filled: a flat bright colour blended with a low-contrast shine under
   soft-light (a full-strength gradient flattens the dots back into smooth
   chrome), then a drop-shadow stack — three offset steps for depth, a tight
   blur that silhouettes the dots themselves, and a wide soft pass behind the
   whole glyph as ambient back-glow. drop-shadow, never text-shadow: the
   latter blurs one solid copy of the glyph, which is a halo behind the
   letter rather than a glow around each bulb.

   This is the one place Wizard spends a blurred glow; every other title stays
   on the crisp stepped-ink language. */
[data-skin='wizard'] .brand-title {
  font-family: var(--f-brand);
  /* Black, not Bold. Bauhaus Bernard's weights differ by dot diameter rather
     than stroke width, so Bold leaves visible gaps between neighbouring dots
     and reads thin at masthead size; Black grows each dot until they almost
     touch, which is the density the reference lockup has. */
  font-weight: 900;
  font-style: normal;
  letter-spacing: .01em;
  text-shadow: none;
  transform: skewX(-7deg);
}
[data-skin='wizard'] .brand-title .bt-l1,
[data-skin='wizard'] .brand-title .bt-l2 {
  color: transparent;
  /* No text-stroke: on a face this fine a 1px stroke traces every individual
     dot and closes the gaps between them, which turns the marquee back into a
     solid slab. The dots have to stay separated to read as bulbs. */
  -webkit-text-stroke: 0;
}
/* background-clip must come after the background shorthand in each rule below
   — background resets its own background-clip sub-property, so declaring the
   clip in the shared rule above (ahead of these) gets silently reset back to
   border-box the moment either of these sets `background`. */
/* Lit, not shaded: the fill is a flat bright colour, and the only thing over it
   is a translucent white highlight that lifts the top and bottom edges. An
   earlier pass ran a shine containing a dark band through soft-light, which
   dropped the middle of each line into grey and read as brushed metal — the
   reference is uniformly bright top to bottom. */
[data-skin='wizard'] .brand-title .bt-l1 {
  background:
    linear-gradient(178deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .3) 100%),
    linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, .97)) drop-shadow(0 4px 0 rgba(0, 0, 0, .8)) drop-shadow(0 6px 3px rgba(0, 0, 0, .5))
    drop-shadow(0 0 10px rgba(226, 214, 255, .95)) drop-shadow(0 0 38px rgba(255, 86, 176, .65));
}
[data-skin='wizard'] .brand-title .bt-l2 {
  background:
    linear-gradient(178deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .25) 100%),
    linear-gradient(#ffce4a, #ffce4a);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 2px 0 #3a2100) drop-shadow(0 4px 0 rgba(0, 0, 0, .85)) drop-shadow(0 7px 3px rgba(0, 0, 0, .55))
    drop-shadow(0 0 11px rgba(255, 206, 74, 1)) drop-shadow(0 0 40px rgba(255, 86, 176, .5));
}
[data-skin='wizard'] .brand-mark {
  border-radius: 0;
  background: var(--surf-2);
  box-shadow: 4px 4px 0 #04050c, 0 0 0 2px #04050c;
}
[data-skin='wizard'] .brand-eyebrow { color: var(--blue); letter-spacing: .34em; }

/* Scoreboard numerals — scores, run totals, ranks. The dot-matrix face is
   applied in BOTH skins so the numeric identity of the app stays consistent
   whether the user is in Wizard or Commoner. Body copy always stays in the
   neutral sans; pixel text anywhere else is the top readability killer. */
[data-skin='wizard'] .motd-runs,
[data-skin='wizard'] .g-score,
[data-skin='wizard'] .cg-score,
[data-skin='wizard'] .lead-runs,
[data-skin='wizard'] .dt-runs,
[data-skin='wizard'] .week-val,
[data-skin='wizard'] .st-total,
[data-skin='wizard'] .st-rank {
  font-family: var(--f-scoreboard);
  font-style: normal;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  text-shadow: 2px 2px 0 #04050c;
}

/* Manager names, standings names, section titles: condensed italic caps. The
   Matchup slab-pill is intentionally excluded — pill labels read badly in
   italic and the slab wants upright type for contrast against the dark card. */
[data-skin='wizard'] .week-mgr,
[data-skin='wizard'] .st-name,
[data-skin='wizard'] .wc-title,
[data-skin='wizard'] .motd-critical-title {
  font-family: var(--f-cond);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .04em;
}
/* Card titles must hold one line: the knockout shade breaks if the lockup
   wraps, and a two-line arcade title reads as a rendering error, not a style.
   .motd-title is a slab-pill and manages its own sizing. */
[data-skin='wizard'] .wc-title,
[data-skin='wizard'] .card-title,
[data-skin='wizard'] .screen-head .ttl {
  white-space: nowrap;
  font-size: clamp(15px, 4.6vw, 22px);
}
/* Big card titles get the cyan offset shade so the broadcast grammar holds at
   every scale. .motd-title is deliberately excluded: it is a magenta slab-pill
   with dark text (see .motd-title in style.css), so a cyan text-shadow would
   fight the slab and ruin the contrast the pill was built for. */
[data-skin='wizard'] .wc-title {
  color: var(--skin-accent);
  text-shadow: 2px 2px 0 #04050c, 4px 4px 0 rgba(95, 227, 255, .45);
}

/* Wizard slab treatment on the Matchup header. Gold, not magenta — matching
   /design/'s .wz-badge exactly, the one surface exception to "gold marks a
   figure, never a fill" because this is the hero's own headline plate, not a
   card in a list. Keeps the ink-frame shadow and clears any inherited cyan
   text-shadow / stroke that would fight the dark foreground on the pill. */
[data-skin='wizard'] .motd-title {
  color: var(--wz-gold-ink, #150F00);
  background: var(--wz-gold, #FFC21E);
  text-shadow: none;
  -webkit-text-stroke: 0;
  box-shadow:
    4px 4px 0 #04050c,
    0 0 0 2px #04050c;
  font-size: clamp(13px, 3.6vw, 15px);
  padding: 10px 20px 9px;
  letter-spacing: .08em;
}
/* Hero manager names: Array at full weight, not the condensed italic every
   other name in the app uses — matches /design/'s .wz-mgr treatment for the
   one place a matchup is presented as a broadcast graphic instead of a list
   row. */
[data-skin='wizard'] .motd-mgr {
  font-family: var(--f-scoreboard);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-shadow: 2px 2px 0 var(--wz-ink, #04050c);
}
/* Hero live status: a steady (never blinking, per the LIVE-indicator note
   below) red dot ahead of the magenta status text, matching /design/'s
   .wz-livepill colouring without reintroducing the pulse this grammar
   deliberately rejected. */
[data-skin='wizard'] .motd-live.is-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wz-magenta);
}
[data-skin='wizard'] .motd-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wz-red);
  box-shadow: 0 0 6px var(--wz-red);
}
/* The tension line: a skewed cyan-to-magenta bar down the centre seam of the
   hero, with VS as a small black skewed chip riding on top of it. This is the
   kinetic element the card is built around — the two totals are the weight,
   this is the thing they are being weighed across. Matches /design/'s
   .wz-slash. The base rule in style.css draws a quiet vertical hairline
   instead, which is what Commoner keeps. */
[data-skin='wizard'] .motd-slash { width: 42px; }
[data-skin='wizard'] .motd-slash::before {
  top: -4px;
  bottom: -4px;
  width: 9px;
  transform: translateX(-50%) skewX(-16deg);
  background: linear-gradient(180deg, var(--wz-cyan), var(--wz-magenta));
  box-shadow: 0 0 10px color-mix(in srgb, var(--wz-cyan) 55%, transparent);
}
[data-skin='wizard'] .motd-slash span {
  font-family: var(--f-scoreboard);
  font-size: 14px;
  letter-spacing: .04em;
  color: #fff;
  background: var(--wz-ink);
  padding: 2px 5px;
  transform: skewX(-16deg);
}

/* Cards: flat fill, hard 2px ink frame, 4px offset plate shadow. No gradient. */
[data-skin='wizard'] .nm.card,
[data-skin='wizard'] .feature-card,
[data-skin='wizard'] .st-well,
[data-skin='wizard'] .card {
  border: var(--skin-card-border-w) solid var(--skin-card-border);
  background: var(--surf);
  border-radius: 0;
}

/* The feature-card rainbow halo is a Commoner-era artefact. Wizard kills it
   outright — pseudo-elements fully removed so no corner bloom survives — and
   lets the hard frame carry the edge. */
[data-skin='wizard'] .feature-card::before,
[data-skin='wizard'] .feature-card::after {
  content: none;
  background: none;
  filter: none;
  opacity: 0;
  display: none;
}
[data-skin='wizard'] .feature-card {
  background: var(--surf);
  box-shadow: var(--nm-out);
}
/* The wc-frame wrapper around the matchup card carries conic corner blooms.
   Wizard swaps the soft blooms for a flat hard frame; Commoner drops the
   padding collar and lets the machined shadow carry the edge. */
[data-skin='wizard'] .wc-frame { border-radius: 0; padding: 0; }
[data-skin='wizard'] .wc-frame::before,
[data-skin='wizard'] .wc-frame::after { content: none; }
[data-skin='commoner'] .wc-frame { padding: 0; }
[data-skin='commoner'] .wc-frame::before,
[data-skin='commoner'] .wc-frame::after { content: none; }

/* Eyebrow tags get flat role-colour chips instead of tinted text. */
[data-skin='wizard'] .eye { font-family: var(--f-body); font-weight: 800; }
[data-skin='wizard'] .eye.gold { color: var(--gold); }
[data-skin='wizard'] .eye.red { color: var(--red); }

/* Score chips and meta chips: square, inset ink frame, flat. */
[data-skin='wizard'] .motd-chip,
[data-skin='wizard'] .status-pill,
[data-skin='wizard'] .club-chip,
[data-skin='wizard'] .impact-chip,
[data-skin='wizard'] .count-badge,
[data-skin='wizard'] .cg-row,
[data-skin='wizard'] .lead-row,
[data-skin='wizard'] .pf-rank,
[data-skin='wizard'] .pf-badge,
[data-skin='wizard'] .pf-stat,
[data-skin='wizard'] .pf-club,
[data-skin='wizard'] .pf-empty,
[data-skin='wizard'] .pf-editor > summary,
[data-skin='wizard'] .week-track {
  border-radius: 0;
}

/* The active tab is the gold parallelogram wafer — see the GOLD OVERLAY section
   at the foot of the Wizard grammar, which owns every gold surface in one place. */
[data-skin='wizard'] .tabs-wrap,
[data-skin='wizard'] .filter-bar {
  border-radius: 0;
  background: var(--surf-in);
  box-shadow: var(--nm-in-sm);
}
[data-skin='wizard'] .tab-btn {
  border-radius: 0;
  font-family: var(--f-body);
  font-weight: 800;
}
[data-skin='wizard'] .tab-btn:hover {
  color: var(--blue);
  box-shadow: none;
}

/* LIVE indicator: solid magenta — no infinite animation. The audit reference
   holds a steady tag; a blinking one flags the eye like a fire alarm and
   also trips the 'no infinite animation on a resting page' cliché-check. */

/* Bottom ticker label: flat magenta plate. */
[data-skin='wizard'] .bt-label {
  background: var(--skin-accent);
  color: #04050c;
  border-radius: 0;
  box-shadow: 3px 3px 0 #04050c;
}

/* Segmented skin toggle — Wizard variant.
   Square corners, hard integer-pixel offset shadow, magenta accent thumb,
   stepped transitions. Matches the PS1/NFL Blitz phosphor language. */
[data-skin='wizard'] .skin-seg__pill {
  border-radius: 0;
  background: #04050c;
  box-shadow: inset 0 0 0 2px var(--skin-accent), 2px 2px 0 #04050c;
}
[data-skin='wizard'] .skin-seg__thumb {
  border-radius: 0;
  background: var(--skin-accent);
  box-shadow: 2px 2px 0 #04050c;
  transition: transform .12s steps(3, end), background .12s steps(2, end);
}
[data-skin='wizard'] .skin-seg__opt { color: var(--skin-accent); letter-spacing: .14em; }
[data-skin='wizard'] .skin-seg__input:checked ~ .skin-seg__pill .skin-seg__opt--wiz,
[data-skin='wizard'] .skin-seg__input:not(:checked) ~ .skin-seg__pill .skin-seg__opt--com {
  color: #04050c;
}

/* Wildcard glow utilities flatten to solid role frames on both grammar tiers. */
[data-skin='wizard'] .glow-blue-sm { box-shadow: var(--nm-out-sm), 0 0 0 2px var(--blue); }
[data-skin='wizard'] .glow-red-sm { box-shadow: var(--nm-out-sm), 0 0 0 2px var(--red); }
[data-skin='wizard'] .glow-gold { box-shadow: var(--nm-out-sm), 0 0 0 2px var(--gold); }

/* ============================================================
   COMMONER — machined matte carbon
   ============================================================ */
[data-skin='commoner'] {
  --bg: #131418;
  --bg-hi: #16181b;
  --surf: #1e2124;
  --surf-2: #262a2e;
  --surf-in: #0f1113;
  --tx: #edf0f3;
  --mut: #a8b0b7;
  --fnt: #7c858c;
  --hair: #2a2e32;
  --hair-hi: #2e3337;

  /* Club marks get the one warm surface in an otherwise cool carbon skin, which
     is what separates them from the machined plates around them without adding a
     third hue family. Red-leaning rather than red: this skin's signature is lime
     and its only red is the Coup accent, so a saturated red well here would read
     as a state. The ring is a muted rose — warm enough to belong to the plate,
     dull enough not to compete with the mark. */
  --logo-surf: #1F1A1B;
  --logo-ring: #9C6D75;
  --logo-ink: #F1E7E8;

  --skin-accent: #c8ff00;
  --skin-accent-2: #dcff6a;
  --skin-glow: 0 0 24px -6px rgba(200, 255, 0, .5);
  --blue: #7dd3fc;
  --blue-2: #a5e3fd;

  --skin-card-border: transparent;
  --skin-card-border-w: 0px;

  --r-card: 16px;
  --r-tile: 8px;

  /* The machined edge pair: a deep occluded cast plus exactly one lit seam,
     locked to a single 315deg light source for the whole app. */
  --edge-lit: rgba(255, 255, 255, .36);
  --edge-occ: rgba(0, 0, 0, .72);
  --nm-out: 10px 10px 22px var(--edge-occ), inset 0 1px 0 var(--edge-lit);
  --nm-out-sm: 5px 5px 12px rgba(0, 0, 0, .6), inset 0 1px 0 var(--edge-lit);
  --nm-in: inset 6px 6px 14px var(--edge-occ), inset 0 -1px 0 var(--edge-lit);
  --nm-in-sm: inset 3px 3px 8px rgba(0, 0, 0, .62), inset 0 -1px 0 var(--edge-lit);
  --ring: 0 0 0 0 transparent;

  /* Role glows stay borderless — one soft bloom per state, never a paint. */
  --glow-red: 0 0 24px -6px color-mix(in srgb, var(--red) 55%, transparent);
  --glow-blue: 0 0 24px -6px color-mix(in srgb, var(--blue) 55%, transparent);
  --glow-gold: 0 0 24px -6px color-mix(in srgb, var(--gold) 50%, transparent);
  --glow-green: 0 0 24px -6px color-mix(in srgb, var(--green) 50%, transparent);

  --focus-ring: #c8ff00;
  --focus-offset: 2px;

  /* Commoner display faces: Satoshi (chrome/titles) + Space Mono (numerals),
     matching /design/'s concept board exactly. Overrides the Array/Chakra
     Petch defaults above, which are tuned for Wizard. */
  --f-cond: 'Satoshi', 'Milker', 'SFSportsNight', system-ui, sans-serif;
  --f-scoreboard: 'Space Mono', 'VT323', 'SuperRetroM54', ui-monospace, monospace;
}

[data-skin='commoner'] body {
  background-image:
    radial-gradient(1100px 620px at 12% -8%, #181a1e, transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(200, 255, 0, .03), transparent 60%);
  background-attachment: fixed;
}

/* Brand lockup: quiet. Whiteout ink, no glow, no stroke. The material is the
   surface; neon is reserved for state, never for the wordmark. */
[data-skin='commoner'] .brand-title,
[data-skin='commoner'] h2.ttl,
[data-skin='commoner'] .card-title,
[data-skin='commoner'] .screen-head .ttl {
  font-family: var(--f-cond);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tx);
}
/* Commoner card titles stay upright and quiet — machined type on a machined
   plate. The italic broadcast voice belongs to Wizard alone. .motd-title is
   excluded because it is a slab-pill with its own colour and layout. */
[data-skin='commoner'] .motd-mgr,
[data-skin='commoner'] .wc-title,
[data-skin='commoner'] .st-name,
[data-skin='commoner'] .week-mgr {
  font-style: normal;
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--tx);
}
/* Same one-line lockup rule as Wizard — a wrapped machined title reads as a
   rendering error too. .motd-title excluded: slab-pill manages its own sizing. */
[data-skin='commoner'] .wc-title,
[data-skin='commoner'] .card-title,
[data-skin='commoner'] .screen-head .ttl {
  white-space: nowrap;
  font-size: clamp(15px, 4.6vw, 22px);
}

/* Commoner slab treatment mirrors Wizard's shape (solid pill, dark foreground,
   hard offset shadow) but fills with this skin's own signature lime accent
   rather than borrowing Wizard's magenta. */
[data-skin='commoner'] .motd-title {
  color: #0b0b0f;
  background: var(--skin-accent);
  text-shadow: none;
  box-shadow:
    4px 4px 0 rgba(0, 0, 0, .55),
    0 0 0 2px rgba(0, 0, 0, .35);
  font-size: clamp(13px, 3.6vw, 15px);
  padding: 10px 20px 9px;
  letter-spacing: .08em;
  font-family: var(--f-cond);
  font-style: normal;
  text-transform: uppercase;
}
/* Commoner masthead: Satoshi, matching /design/'s concept board — the same
   face as the rest of the skin's chrome, at full weight, rather than a
   separate display face. Whiteout ink, no glow, per the lockup rule above. */
[data-skin='commoner'] {
  --f-brand: 'Satoshi', 'DollarBill', 'Milker', 'SFSportsNight', sans-serif;
}
[data-skin='commoner'] .brand-title {
  font-family: var(--f-brand);
  font-style: normal;
  letter-spacing: .03em;
}
[data-skin='commoner'] .brand-eyebrow { color: var(--mut); }

/* Commoner numerics: the same dot-matrix scoreboard face as Wizard, so the
   numeric identity of the app is skin-agnostic. Only the surrounding chrome
   changes with skin, never the numbers themselves. Tabular figures keep the
   digits aligned across rows and prevent layout jitter as scores update. */
[data-skin='commoner'] .motd-runs,
[data-skin='commoner'] .g-score,
[data-skin='commoner'] .st-total {
  font-family: var(--f-scoreboard);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  letter-spacing: .02em;
}

[data-skin='commoner'] .feature-card {
  background: var(--surf);
  box-shadow: var(--nm-out);
}
[data-skin='commoner'] .feature-card::before,
[data-skin='commoner'] .feature-card::after { content: none; }

/* Active tab: machined plate with a single lime backlight. */
[data-skin='commoner'] .tab-btn.on,
[data-skin='commoner'] .tab-btn[aria-selected='true'] {
  background: var(--surf-2);
  color: var(--skin-accent);
  box-shadow: var(--nm-out-sm), 0 0 20px -6px var(--skin-accent);
}

[data-skin='commoner'] .bt-label {
  background: var(--surf-2);
  color: var(--skin-accent);
  box-shadow: var(--nm-out-sm);
}

[data-skin='commoner'] .glow-blue-sm,
[data-skin='commoner'] .glow-red-sm,
[data-skin='commoner'] .glow-gold {
  box-shadow: var(--nm-out-sm);
}
[data-skin='commoner'] .glow-blue-sm { border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent); }
[data-skin='commoner'] .glow-red-sm { border: 1px solid color-mix(in srgb, var(--red) 22%, transparent); }
[data-skin='commoner'] .glow-gold { border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }

/* Skin switch spacing next to demo/rules controls */
.head-actions .skin-seg { margin-right: 4px; }

/* ============================================================
   ============================================================
   RENDERING CONTRACTS

   Both skins render the same DOM from the same state object. Only the root
   attribute changes. Nothing below adds, removes or reorders an element, and no
   accessible name, no announcement text and no tab order differs between them —
   if a rule here changed what the page *says* rather than how it *looks*, the two
   skins would stop being two grammars for one set of facts.

   The split is a grammar, not a palette swap:

     Wizard   — hard-sorted flat layers. Depth comes from stacking order and a
                stepped ink offset, never from a soft blur. Radius 0. One
                parallelogram primitive. Colour is assigned by role.
     Commoner — machined matte carbon. Depth comes from an elevation overlay
                ladder plus a lit/occluded edge pair. The seam is the affordance.

   Tiers govern what each grammar is allowed to touch:

     T1 Protect  standing, gap, score. Size and weight only. Never skewed, never
                 textured, never chromatically offset.
     T2 Explain  one status hue plus a glyph plus text. Never colour alone.
     T3 Disclose neutral colour, progressive disclosure, two levels deep at most.
   ============================================================
   ============================================================ */


/* ============================================================
   WIZARD — flat layers, stepped ink, role colour
   ============================================================ */
[data-skin='wizard'] {
  /* Role colours. Gold is achievement, magenta is the skin's own voice, red is
     reserved for "live now" and is spent on exactly one element per screen, and
     cyan is chrome only — it never carries status, so it can never be confused
     for one. */
  --wz-gold: #FFC21E;
  --wz-magenta: #FF56B0;
  --wz-red: #FF5233;
  --wz-cyan: #5FE3FF;
  --wz-ink: #04050c;

  /* Gold overlay set. Gold is the only role colour this grammar spends on
     structure as well as on text, so it needs more than the one hue: a lit face
     for the top of a wafer, a deep face for the layer the wafer sits on, an ink
     that clears 11:1 against the plate, and a hairline for the boxes that frame
     a figure without filling behind it. Declared only here — Commoner has no
     gold role and must not inherit one. */
  --wz-gold-lit: #FFD75E;
  --wz-gold-deep: #B87A00;
  --wz-gold-ink: #150F00;
  --wz-gold-line: color-mix(in srgb, var(--wz-gold) 78%, transparent);
  --wz-gold-wash: color-mix(in srgb, var(--wz-gold) 10%, transparent);
  /* The two geometry constants the overlay is built from: the trailing cut that
     makes a plate a parallelogram, and the width of the status rail. */
  --wz-cut: 10px;
  --wz-rail-w: 4px;

  --skin-accent: var(--wz-magenta);
  --skin-accent-2: #FF8ACB;
  --gold: var(--wz-gold);
  --red: var(--wz-red);
  --red-2: #FF7D66;

  /* Cyan is chrome, and the focus ring is chrome. */
  --focus-ring: var(--wz-cyan);
  --focus-offset: 2px;

  /* Radius 0 everywhere. A rounded corner implies a moulded, lit surface; this
     grammar has neither. */
  --r-card: 0px;
  --r-tile: 0px;
  --r-pill: 0px;
  --wc-r-outer: 0px;
  --wc-r-inner: 0px;

  /* Stepped ink offset replaces soft occlusion. Integer pixels only: a
     fractional offset resamples on a subpixel grid and the hard edge turns to
     mush, which is the whole thing this grammar is built out of. */
  --wz-step: 0 3px 0 var(--wz-ink);
  --wz-step-sm: 0 2px 0 var(--wz-ink);
  --wz-key: inset 0 0 0 1px var(--wz-ink);

  --nm-out: var(--wz-step), var(--wz-key);
  --nm-out-sm: var(--wz-step-sm), var(--wz-key);
  --nm-in: inset 0 0 0 1px rgba(120, 150, 220, .34);
  --nm-in-sm: inset 0 0 0 1px rgba(120, 150, 220, .28);
}

/* Radius 0 has to reach the shapes that hard-code their own. Count pips and the
   crest are the documented exceptions — a pip row and a club mark are circles in
   every broadcast grammar there is. */
[data-skin='wizard'] .status-pill,
[data-skin='wizard'] .close-badge,
[data-skin='wizard'] .g-changed,
[data-skin='wizard'] .g-diamond,
[data-skin='wizard'] .g-count-grid,
[data-skin='wizard'] .g-dueup-chip,
[data-skin='wizard'] .du-hit,
[data-skin='wizard'] .pill,
[data-skin='wizard'] .wc-opt__box,
[data-skin='wizard'] .wc-disc__summary,
[data-skin='wizard'] .wc-disc__panel,
[data-skin='wizard'] .wc-tip__body { border-radius: 0; }

/* Interactive surfaces get the step. Static plates do not: the offset is what
   marks a thing as pressable, so spending it on everything would say nothing. */
[data-skin='wizard'] .wc-nm-btn,
[data-skin='wizard'] .wc-disc__summary,
[data-skin='wizard'] .tab-btn,
[data-skin='wizard'] .pill {
  box-shadow: var(--wz-step-sm), var(--wz-key);
  transition: box-shadow .12s steps(2, end), transform .12s steps(2, end);
}
/* Pressed reads as the plate travelling down onto its own shadow — the offset
   collapses rather than a new colour appearing. */
[data-skin='wizard'] .wc-nm-btn:active,
[data-skin='wizard'] .pill:active,
[data-skin='wizard'] .tab-btn:active {
  box-shadow: 0 1px 0 var(--wz-ink), var(--wz-key);
  transform: translateY(2px);
}
[data-skin='wizard'] .wc-nm-btn:hover .wc-nm-btn__core { color: var(--wz-cyan); }
[data-skin='wizard'] .wc-nm-btn__core { box-shadow: none; border-radius: 0; }

/* Disabled is a value change plus a removed affordance, never a hue. */
[data-skin='wizard'] button:disabled,
[data-skin='wizard'] .pill:disabled,
[data-skin='wizard'] input:disabled + .wc-opt__box {
  box-shadow: var(--wz-key);
  color: var(--fnt);
  transform: none;
  cursor: not-allowed;
}

/* T1 protection. The score, the gap and a manager total are never skewed,
   textured or chromatically offset, whatever else this skin is doing.
   Note this bans distortion, not motion: the takeover's vertical digit roll is a
   state change on the figure, and blanket-killing transform here would take it
   out along with the skew it is actually aimed at. */
[data-skin='wizard'] .g-score,
[data-skin='wizard'] .st-total,
[data-skin='wizard'] .num {
  text-shadow: none;
  -webkit-text-stroke: 0;
  filter: none;
  font-style: normal;
  /* Individual transform properties, so the skew is refused without touching the
     `transform` shorthand the takeover animates. */
  rotate: none;
  scale: none;
}
/* Hero score exception: the two run totals in the Matchup-of-the-Day hero are
   the one score presented as a broadcast graphic rather than a flat list
   figure, and the reference for this card calls for the stroke + glow
   /design/'s .wz-score carries. Scoped to the two-class .motd-runs.num (higher
   specificity than the bare .num above) so every other score on the page —
   game rows, standings, box scores — stays on the flat language above. */
[data-skin='wizard'] .motd-runs.num {
  -webkit-text-stroke: 2px var(--wz-ink);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--wz-ink), 0 0 16px rgba(242, 245, 255, .35);
}
[data-skin='wizard'] .motd-runs.num.lead {
  text-shadow: 0 3px 0 var(--wz-ink), 0 0 20px rgba(255, 194, 30, .55);
}

/* The one decorative texture channel: a static ordered-dither wash on the page
   field. Bounded, no animation, and masked out of the centre band where the
   scores live so it never sits under a numeral. */
[data-skin='wizard'] body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(90deg, rgba(95, 227, 255, .05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,  rgba(95, 227, 255, .05) 0 1px, transparent 1px 3px);
  background-size: 3px 3px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 22%, transparent 78%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0, transparent 22%, transparent 78%, #000 100%);
}
/* Lifting the page bands above the wash. The header is deliberately absent: it
   already carries a sticky z-index of 60, and re-declaring it here would drop it
   to 1 — below `main`, which paints later — burying the header's own popovers
   under the page content. */
[data-skin='wizard'] main,
[data-skin='wizard'] .site-footer { position: relative; z-index: 1; }


/* ============================================================
   WIZARD — GOLD OVERLAY
   ============================================================
   The broadcast overlay layer. Everything gold in this skin is declared here so
   there is exactly one place to look, and every rule is built from four
   primitives rather than from per-element colour:

     .wz-gold-wafer  angled gold plate, ink text, stacked drop shadow
     .wz-gold-rail   slim vertical rail down the leading edge of a band
     .wz-gold-box    hairline gold frame around a figure, unfilled
     .wz-gold-fig    the figure itself, gold on the page field

   Production markup opts in through those classes; the rules below also bind
   them to the elements the reference calls out, so no template has to carry a
   presentational class it does not otherwise need.

   Gold is achievement. It marks the current selection, the leading total and
   the gap between two draft slots — never a whole surface, never body copy.
   Commoner declares no --wz-* token, so none of this can leak into it even if a
   shared class name is reused there later. */

/* --- primitive 1: the angled wafer ---------------------------------------
   The plate is a pseudo-element rather than the control's own background, for
   two reasons. Clipping the control itself would take its focus outline with it
   — an outline is painted outside the border box, so the same clip that cuts
   the trailing edge erases the ring entirely. And the depth layers have to be
   drop-shadows, because a box-shadow is painted from the border box and would
   be sliced off by the clip, whereas drop-shadow follows the clipped outline
   and gives the angled stack the reference relies on.

   z-index 0 on the control opens a stacking context; the plate at -1 then
   paints above the tab strip's own background but below the label, so the label
   never needs a z-index of its own. */
[data-skin='wizard'] .wz-gold-wafer,
[data-skin='wizard'] .tab-btn.on,
[data-skin='wizard'] .tab-btn[aria-selected='true'] {
  position: relative;
  z-index: 0;
  background: transparent;
  color: var(--wz-gold-ink);
  box-shadow: none;
  padding-right: calc(.35rem + var(--wz-cut));
}
[data-skin='wizard'] .wz-gold-wafer::before,
[data-skin='wizard'] .tab-btn.on::before,
[data-skin='wizard'] .tab-btn[aria-selected='true']::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wz-gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--wz-cut)) 100%, 0 100%);
  filter:
    drop-shadow(2px 2px 0 var(--wz-gold-deep))
    drop-shadow(4px 4px 0 var(--wz-ink));
}
/* Pressed collapses the stack onto the plate, matching the step every other
   Wizard control uses. The shared :active box-shadow rule has nothing to paint
   on a transparent control, so the offset travels through the plate instead. */
[data-skin='wizard'] .tab-btn.on:active::before,
[data-skin='wizard'] .tab-btn[aria-selected='true']:active::before {
  filter: drop-shadow(1px 1px 0 var(--wz-ink));
}
/* A count badge inside the active wafer is sitting on gold, not on the field. */
[data-skin='wizard'] .tab-btn.on .count-badge,
[data-skin='wizard'] .tab-btn[aria-selected='true'] .count-badge {
  background: var(--wz-gold-ink);
  color: var(--wz-gold-lit);
}

/* --- primitive 2: the status rail ---------------------------------------
   A slim gold bar down the leading edge of a band, with a one-pixel ink step to
   its right so it reads as a layer over the field rather than a border of it.
   Pure decoration on a pseudo-element: it adds no node and no announcement. */
[data-skin='wizard'] .wz-gold-rail,
[data-skin='wizard'] .screen-head {
  position: relative;
  padding-left: calc(var(--wz-rail-w) + 10px);
}
[data-skin='wizard'] .wz-gold-rail::before,
[data-skin='wizard'] .screen-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--wz-rail-w);
  background: var(--wz-gold);
  box-shadow: 2px 0 0 var(--wz-ink);
  pointer-events: none;
}

/* --- primitive 3: the unfilled gold box ---------------------------------
   Frames a figure without putting a plate behind it, so the numeral keeps the
   page field as its background and stays at full contrast. Markup opts in
   through .wz-gold-box. */
[data-skin='wizard'] .wz-gold-box {
  border: 2px solid var(--wz-gold);
  background: var(--wz-gold-wash);
  box-shadow: 3px 3px 0 var(--wz-ink);
}

/* --- primitive 4: the gold figure ---------------------------------------
   Colour only. These are all T1 figures, so the rule above them bans skew,
   texture and chromatic offset; a role hue is the one channel left, and it is
   the one the reference uses. */
[data-skin='wizard'] .wz-gold-fig,
[data-skin='wizard'] .motd-runs.lead,
[data-skin='wizard'] .st-row.rank-1 .st-total,
[data-skin='wizard'] #topThree .lead-row:first-child .lead-runs,
[data-skin='wizard'] .brand-year {
  color: var(--wz-gold);
}
/* Rank 1 already carries a cyan frame from the base sheet. Cyan is chrome in
   this grammar and cannot also mean "leader", so the frame goes gold with it. */
[data-skin='wizard'] .st-row.rank-1 {
  box-shadow: var(--nm-out-sm), 0 0 0 2px var(--wz-gold);
}
[data-skin='wizard'] .st-row.rank-1 .st-rank { color: var(--wz-gold); }

/* The gap chip on a live card is the same claim as the run-gap box, one card
   deeper, so it gets the same frame at chip scale. */
[data-skin='wizard'] .impact-chip.flip {
  color: var(--wz-gold);
  background: var(--wz-gold-wash);
  box-shadow: inset 0 0 0 2px var(--wz-gold);
}
[data-skin='wizard'] .impact-chip.flip .ic-need { color: var(--wz-gold-lit); }

/* The persistent change marker is an achievement too — it says a score moved.
   Filled rather than framed, because it has to survive being scanned past. */
[data-skin='wizard'] .g-changed {
  background: var(--wz-gold);
  color: var(--wz-gold-ink);
  box-shadow: 2px 2px 0 var(--wz-ink);
}

@media (max-width: 640px) {
  /* The cut and the rail both scale down rather than switching off: the phone
     rendering is the one the reference was captured at, and the wafer losing its
     trailing edge there would take the overlay's whole signature with it. A
     smaller cut is what keeps the last glyph clear of the angle. */
  [data-skin='wizard'] {
    --wz-cut: 7px;
    --wz-rail-w: 3px;
  }
  [data-skin='wizard'] .tab-btn.on,
  [data-skin='wizard'] .tab-btn[aria-selected='true'] {
    padding-right: calc(.32rem + var(--wz-cut));
  }
  [data-skin='wizard'] .screen-head {
    padding-left: calc(var(--wz-rail-w) + 7px);
  }
}


/* ============================================================
   COMMONER — machined matte carbon
   ============================================================ */
[data-skin='commoner'] {
  /* Elevation is an overlay ladder over one base plane, the way a dark material
     surface actually behaves: each step is a fixed white percentage, so two
     surfaces one step apart are always the same distance apart in value. */
  --cm-plane: #131418;
  --cm-e1: #1E2124;   /* +5%  */
  --cm-e2: #262A2E;   /* +9%  */
  --cm-e3: #2E3337;   /* +16% */
  --cm-sunk: #0F1113;

  --bg: var(--cm-plane);
  --bg-hi: #16181B;
  --surf: var(--cm-e1);
  --surf-2: var(--cm-e2);
  --surf-in: var(--cm-sunk);
  --tx: #EDF0F3;
  --mut: #A8B0B7;
  --fnt: #7C858C;
  --hair: #2A2E32;
  --hair-hi: var(--cm-e3);

  /* The machined edge pair. The lit edge clears 3:1 against e1, which is what
     makes it usable as the affordance rather than as decoration — a control's
     boundary is perceivable without relying on its fill or its label. */
  --edge-lit: rgba(255, 255, 255, .36);
  --edge-occ: rgba(0, 0, 0, .72);

  /* Lime is the single signature and is spent on one or two elements per screen.
     It is never the only carrier of a state. */
  --skin-accent: #c8ff00;
  --skin-accent-2: #dcff6a;

  --focus-ring: #c8ff00;
  --focus-offset: 2px;

  /* Radii: 8 for controls, 16 for plates, 50% for pips and crests. Nothing else. */
  --r-card: 16px;
  --r-tile: 8px;
  --wc-r-outer: 8px;
  --wc-r-inner: 8px;

  /* The shadow pair stays — it is what gives a plate mass — but the seam is what
     is added on top, and the seam is the part that carries the affordance. */
  --nm-out: 10px 10px 22px var(--edge-occ), inset 0 1px 0 var(--edge-lit);
  --nm-out-sm: 5px 5px 12px rgba(0,0,0,.6), inset 0 1px 0 var(--edge-lit);
  --nm-in: inset 6px 6px 14px var(--edge-occ), inset 0 -1px 0 var(--edge-lit);
  --nm-in-sm: inset 3px 3px 8px rgba(0,0,0,.62), inset 0 -1px 0 var(--edge-lit);
}

/* Every interactive plate carries the parting seam. This is the one rule that
   makes the skin legible: a control is anything with a milled top edge. */
[data-skin='commoner'] .wc-nm-btn,
[data-skin='commoner'] .wc-disc__summary,
[data-skin='commoner'] .tab-btn,
[data-skin='commoner'] .pill,
[data-skin='commoner'] .g-row {
  border-radius: 8px;
}
[data-skin='commoner'] .wc-nm-btn:hover,
[data-skin='commoner'] .wc-disc__summary:hover,
[data-skin='commoner'] .pill:hover {
  box-shadow: 5px 5px 12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
}
/* Pressed inverts the seam to the bottom edge: the plate has gone into the well,
   so the lit edge is now the one facing up out of it. */
[data-skin='commoner'] .wc-nm-btn:active,
[data-skin='commoner'] .wc-disc__summary:active,
[data-skin='commoner'] .pill:active {
  box-shadow: inset 3px 3px 8px rgba(0,0,0,.66), inset 0 -1px 0 var(--edge-lit);
  transform: none;
}
[data-skin='commoner'] button:disabled,
[data-skin='commoner'] .pill:disabled,
[data-skin='commoner'] input:disabled + .wc-opt__box {
  box-shadow: inset 0 0 0 1px var(--hair);
  color: var(--fnt);
  cursor: not-allowed;
}

/* No decorative texture channel in Commoner. The material is the surface; a
   pattern laid over machined carbon reads as dirt. */

/* ============================================================
   SF SPORTS NIGHT — manager names + card titles, both skins
   Deliberately NOT .brand-title: the masthead keeps its own dedicated
   display face (Bauhaus Bernard 1926 / Satoshi), regardless of skin. Same
   family in both skins so name/title identity reads consistently; only the
   font-family, casing and italic are touched here — each skin's own colour,
   shadow and sizing rules above are left alone. font-style is forced back to
   normal because a synthetic italic slant warps this face's square glyphs.

   .dt-name (Double Trouble) is deliberately excluded: that row is one of the
   tightest in the app, and this face's wider glyphs pushed names down to a
   truncated initial there. It keeps the plain --f-title treatment instead.
   ============================================================ */
[data-skin='wizard'] .card-title,
[data-skin='wizard'] .screen-head .ttl,
[data-skin='wizard'] .wc-title,
[data-skin='wizard'] .wc-winner,
[data-skin='wizard'] .motd-mgr,
[data-skin='wizard'] .st-name,
[data-skin='wizard'] .week-mgr,
[data-skin='wizard'] .mover-name,
[data-skin='wizard'] .lead-name,
[data-skin='commoner'] .card-title,
[data-skin='commoner'] .screen-head .ttl,
[data-skin='commoner'] .wc-title,
[data-skin='commoner'] .wc-winner,
[data-skin='commoner'] .motd-mgr,
[data-skin='commoner'] .st-name,
[data-skin='commoner'] .week-mgr,
[data-skin='commoner'] .mover-name,
[data-skin='commoner'] .lead-name {
  font-family: 'SFSportsNight', var(--f-cond);
  font-style: normal;
  text-transform: uppercase;
}

