/* FOOZBALL design tokens.
   Generated from docs/design-system/tokens/{colors,typography,spacing,effects}.css
   (fonts.css is omitted: index.html loads Orbitron and Rubik with <link>).
   Edit the design-system files, then replace everything below this comment with:
     cat docs/design-system/tokens/{colors,typography,spacing,effects}.css
   The canvas reads the same colours from PALETTE in src/config.js. */

:root{
  /* base — from styles.css / config.js PALETTE + TEAMS */
  --ink:#05060f;
  --table:#0c1120;
  --table-edge:#1b2440;
  --cyan:#22e0ff;
  --cyan-deep:#0a5f7a;
  --cyan-pale:#c9f7ff;
  --magenta:#ff3ea5;
  --magenta-deep:#7a0a45;
  --magenta-pale:#ffd2ea;
  --amber:#ffc23d;
  --violet:#8f5cff;
  --lime:#9dff5c;
  --periwinkle:#8fa6ff;
  --red:#ff3d5a;
  --coral:#ff6f6f;
  --ball:#ffffff;
  --ball-glow:#ffe9a8;
  /* sky plate (world.js) */
  --sky-0:#0a0618;
  --sky-1:#160a33;
  --sky-2:#2a0d47;
  --sky-3:#100726;
  --sky-4:#04040d;
  /* text ladder (HUD) */
  --text-bright:#eafcff;
  --text-body:#e9f6ff;
  --text-soft:#c9dced;
  --text-muted:#9fb6c9;
  --text-dim:#8fb6cf;
  --text-faint:#7fa6c0;
  --text-ghost:#5f7386;
  --text-foot:#4f6c82;
  --text-info:#9fd8ff;
  /* semantic */
  --side-blue:var(--cyan);
  --side-pink:var(--magenta);
  --role-hand:var(--amber);
  --role-anyone:var(--text-info);
  --surface-panel:rgba(6,9,20,.72);
  --surface-panel-strong:rgba(6,8,20,.975);
  --surface-card:rgba(8,10,22,.93);
  --surface-card-ready:rgba(16,14,38,.97);
  --surface-card-on:rgba(20,16,46,.95);
  --surface-row:rgba(8,10,20,.62);
  --surface-row-on:rgba(18,22,42,.94);
  --surface-keycap:rgba(9,13,26,.96);
  --surface-scrim:rgba(3,4,12,.74);
  --surface-veil:rgba(3,4,12,.68);
  --surface-cpu:rgba(40,26,10,.92);
  --surface-player:rgba(14,22,40,.92);
  --border-idle:rgba(120,150,190,.28);
  --border-idle-strong:rgba(120,150,190,.3);
  --border-plaque:rgba(160,210,255,.35);
  --border-panel:rgba(34,224,255,.55);
  --border-rule:rgba(34,224,255,.22);
  --border-code:rgba(255,255,255,.16);
  --fill-code:rgba(255,255,255,.07);
  --meter-gradient:linear-gradient(90deg,#ff3ea5 0%,#8f5cff 50%,#ffc23d 100%); /* @kind other */
  --cta-gradient:linear-gradient(180deg,#8ff4ff,#22e0ff 45%,#12a7c9); /* @kind other */
  --boot-gradient:radial-gradient(120% 90% at 50% 110%,rgba(255,62,165,.22),transparent 60%),radial-gradient(120% 90% at 50% -20%,rgba(34,224,255,.20),transparent 60%),linear-gradient(#05060f,#05060f); /* @kind other */
  --sky-gradient:linear-gradient(180deg,#0a0618 0%,#160a33 34%,#2a0d47 52%,#100726 62%,#04040d 100%); /* @kind other */
  --grid-line:rgba(120,190,255,.10);
  --cost-short:#c26a7a;
  --warn:#ff5a5a;
  /* HUD extras — exact values hud.js paints with (PALETTE.ui in config.js) */
  --text-score:#f2fbff;
  --text-tile:#dff3ff;
  --text-timer:#cfe6ff;
  --text-card-off:#8fa4b8;
  --text-count-off:#7c93a8;
  --text-tile-off:#7c8ea0;
  --text-role-desc:#7f97ab;
  --text-card-body-off:#6d8296;
  --text-tile-label-off:#66798c;
  --keycap-idle:#6d8cb0;
  --hint-strong:rgba(140,170,200,.8);
  --hint:rgba(140,170,200,.72);
  --hint-soft:rgba(140,170,200,.7);
  --hint-dim:rgba(140,170,200,.6);
  --hint-off:rgba(140,170,200,.32);
  --surface-plaque:rgba(6,9,20,.75);
  --surface-chip:rgba(6,9,20,.9);
  --surface-meter:rgba(6,9,20,.92);
  --surface-card-idle:rgba(8,10,22,.8);
  --surface-pill:rgba(8,11,24,.93);
  --surface-setup:rgba(4,5,13,.82);
  --surface-over:rgba(4,5,13,.76);
  --border-meter:rgba(160,210,255,.3);
  --border-row-on:rgba(34,224,255,.7);
  --border-hint:rgba(255,194,61,.8);
  --tick-off:rgba(255,255,255,.22);
  --replay-bar:rgba(255,62,165,.7);
  --mascot:var(--card-mascot);
  /* wildcard tints (config.js) */
  --card-cut:#ff6f6f;
  --card-reno:#ffc23d;
  --card-lobby:#8f5cff;
  --card-buyout:#9dff5c;
  --card-naming:#22e0ff;
  --card-paywall:#8fa6ff;
  --card-tranches:#ff6fd8;
  --card-mascot:#ffb03d;
  --card-private:#ff3d5a;
}
:root{
  --font-display:'Orbitron',system-ui,sans-serif;
  --font-body:'Rubik',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-mono:ui-monospace,'SFMono-Regular',Menlo,monospace;
  /* display weights */
  --weight-display:900;
  --weight-display-strong:800;
  --weight-body:400;
  --weight-body-strong:600;
  --weight-body-heavy:700;
  /* sizes (HUD at s=1, 1440×810) */
  --size-wordmark:clamp(38px,8.4vw,104px);
  --size-banner:64px;
  --size-score:50px;
  --size-headline:29px;
  --size-title:26px;
  --size-badge:17px;
  --size-label:15px;
  --size-cta:17px;
  --size-body:13px;
  --size-caption:12px;
  --size-micro:11px;
  --size-tiny:9px;
  /* tracking */
  --tracking-wordmark:.06em;
  --tracking-cta:.16em;
  --tracking-label:.14em;
  --tracking-tagline:.42em;
  --tracking-foot:.22em;
  /* leading */
  --leading-wordmark:.95;
  --leading-keys:1.9;
  --leading-body:1.5;
}
:root{
  /* spacing (literal HUD values at s=1) */
  --space-1:4px;
  --space-2:6px;
  --space-3:8px;
  --space-4:10px;
  --space-5:12px;
  --space-6:16px;
  --space-7:18px;
  --space-8:20px;
  --space-9:22px;
  --space-10:26px;
  --space-11:30px;
  --space-12:40px;
  --space-13:44px;
  /* radii */
  --radius-code:6px;
  --radius-keycap:6px;
  --radius-pill:8px;
  --radius-chip:9px;
  --radius-badge:10px;
  --radius-card:12px;
  --radius-plaque:14px;
  --radius-panel:16px;
  --radius-dialog:20px;
  --radius-round:999px;
  /* fixed HUD geometry at s=1 */
  --score-panel-w:210px;
  --score-panel-h:92px;
  --plaque-w:300px;
  --plaque-h:76px;
  --tile-w:112px;
  --tile-h:86px;
  --tile-gap:7px;
  --pill-w:208px;
  --pill-h:30px;
  --keycap-h:25px;
  --mode-card-w:240px;
  --mode-card-h:200px;
  --count-box:132px;
  --owner-chip-w:180px;
  --owner-chip-h:40px;
  --meter-h:12px;
  --stroke-idle:1.6px;
  --stroke-on:2.4px;
  --stroke-selected:3.4px;
}
:root{
  /* neon glows — text-shadow / box-shadow / drop-shadow */
  --glow-text-cyan:0 0 4px #fff,0 0 22px #22e0ff,0 0 48px rgba(34,224,255,.55);
  --glow-text-magenta:0 0 4px #fff,0 0 22px #ff3ea5,0 0 48px rgba(255,62,165,.55);
  --glow-text-amber:0 0 14px #ffc23d;
  --glow-soft-cyan:0 0 16px rgba(34,224,255,.7);
  --glow-soft-magenta:0 0 16px rgba(255,62,165,.7);
  --glow-box-cyan:0 0 24px rgba(34,224,255,.45);
  --glow-box-magenta:0 0 24px rgba(255,62,165,.45);
  --glow-box-amber:0 0 18px rgba(255,194,61,.55);
  --glow-box-violet:0 0 16px rgba(143,92,255,.6);
  --glow-wordmark:drop-shadow(0 0 26px rgba(34,224,255,.35)); /* @kind shadow */
  --shadow-cta:0 0 0 2px rgba(255,255,255,.5),0 12px 40px rgba(34,224,255,.45),inset 0 -3px 0 rgba(0,0,0,.25);
  --shadow-cta-hover:0 0 0 2px #fff,0 16px 52px rgba(34,224,255,.7),inset 0 -3px 0 rgba(0,0,0,.25);
  /* motion */
  --ease-out:ease; /* @kind other */
  --dur-press:.12s; /* @kind other */
  --dur-hover:.2s; /* @kind other */
  --dur-fade:.45s; /* @kind other */
  --dur-ticker:3.2s; /* @kind other */
  --dur-telegraph:.75s; /* @kind other */
  --lift-hover:translateY(-2px) scale(1.02); /* @kind other */
  --press-active:translateY(1px) scale(.99); /* @kind other */
  /* CRT */
  --scanline:repeating-linear-gradient(0deg,rgba(0,0,0,.18) 0 1px,transparent 1px 3px); /* @kind other */
  --vignette:radial-gradient(ellipse at center,rgba(0,0,0,0) 55%,rgba(0,0,0,.62) 100%); /* @kind other */
}
