/* Fantasy Stat Studio broadcast graphics: design tokens.
   Everything is sized for a 1920x1080 (or 1080x1920) canvas that will be watched on a phone:
   no text below 22px, numbers always tabular, spacing on an 8px grid.
   Two families only, self-hosted (SIL Open Font License): Saira Condensed (display + numerals; digits patched to
   tabular widths so numbers never jitter) and Barlow Condensed (labels and running text, tnum on). */
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:500;font-display:block;src:url('fonts/saira-condensed-500.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:600;font-display:block;src:url('fonts/saira-condensed-600.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:700;font-display:block;src:url('fonts/saira-condensed-700.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:800;font-display:block;src:url('fonts/saira-condensed-800.woff2') format('woff2');}
@font-face{font-family:'Saira Condensed';font-style:normal;font-weight:900;font-display:block;src:url('fonts/saira-condensed-900.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:700;font-display:block;src:url('fonts/barlow-condensed-700-italic.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:800;font-display:block;src:url('fonts/barlow-condensed-800-italic.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:block;src:url('fonts/barlow-condensed-500.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:block;src:url('fonts/barlow-condensed-600.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:block;src:url('fonts/barlow-condensed-700.woff2') format('woff2');}
:root {
  /* ---- type families ---- */
  --f-display: 'Saira Condensed', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-label: 'Barlow Condensed', 'Saira Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  /* ---- type scale (px at 1080p). Nothing on air is smaller than --fs-xs. ---- */
  --fs-xs: 22px;     /* micro labels, chart axis */
  --fs-sm: 24px;     /* labels */
  --fs-md: 28px;     /* body / sub lines */
  --fs-lg: 34px;     /* names in lists, secondary headline */
  --fs-xl: 44px;     /* tile values, LT title (column) */
  --fs-2xl: 56px;    /* LT title, card numbers */
  --fs-3xl: 72px;    /* player last name, hero numbers */
  --fs-4xl: 96px;    /* title card (column) */
  --fs-5xl: 128px;   /* title card (wide) */

  --lh-tight: 0.92;
  --lh-snug: 1.08;
  --track-label: 0.09em;
  --track-display: 0.005em;

  /* ---- 8px grid ---- */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px;

  /* ---- color (2026-10 redesign "Graphite + Volt"): flat matte graphite surfaces, one signal colour, team colours as solid blocks ---- */
  --ink-950: #060708;
  --ink-900: #0a0b0e;
  --ink-850: #0f1114;
  --ink-800: #14161a;    /* card surface */
  --ink-700: #1b1e23;    /* raised row / track */
  --ink-600: #262a31;
  --ink-500: #353a43;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text-hi: #f6f7f3;
  --text-mid: #c4c8cf;   /* 11:1 on ink-800 */
  --text-lo: #8f96a2;    /* 5.8:1 on ink-800, labels only */

  --accent: #d4ff3a;     /* "volt": the one signal colour (leader, best value, verdict, kickers). brand.accent overrides it */
  --accent-ink: #0d1400;
  --gold: var(--accent); /* old "gold = best" now uses the signal colour, so a show's own colour replaces both */
  --gold-ink: var(--accent-ink);
  --good: #45e08f;
  --bad: #ff5a4f;
  --live: #ff3b47;
  --neutral: #8f96a2;

  /* yard-line track: a bar's empty track carries a tick every 10% (like yard lines), the signature of every bar */
  --track: rgba(255, 255, 255, 0.055);
  --ticks: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px) 0 0 / 10% 100% repeat-x;

  /* ---- geometry: square, flat. (the old corner cut is gone; --cut stays defined so old clip-paths resolve to rectangles) ---- */
  --cut: 0px;
  --cut-sm: 0px;
  --slant: 14deg;        /* wipe angle (transitions only) */
  --rule: 4px;

  /* ---- motion ---- */
  --e-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --e-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --e-in: cubic-bezier(0.64, 0, 0.78, 0);
  --e-inout: cubic-bezier(0.83, 0, 0.17, 1);
  --e-back: cubic-bezier(0.34, 1.45, 0.64, 1);
  --d-enter: 500ms;
  --d-exit: 300ms;
  --d-stagger: 30ms;

  /* ---- depth ---- */
  --shadow-panel: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  --hl: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
