/* =====================================================================
   Respawn · design tokens
   Gaming venues and esports. Light is "Lights on"; dark is "Lights off".
   --neon is the one accent (buttons, links, chosen stations, the winning side of the bracket).
   --cyan is a screen-glow cyan, for fills only (the grid floor, free stations, rating chips, the totals panel); text on it is ink. --cyan-ink is its text colour.
   --ok marks free stations and games a player can play; --alert marks invalid fields and games a player can't.
   ===================================================================== */
:root {
  color-scheme: light;
  --paper: #f3f4f8;
  --card: #ffffff;
  --well: #e6e8f0;
  --line: #d4d7e3;
  --ink: #0e1020;
  --ink-2: #32364c;
  --muted: #565a70;
  --neon: #a3106f;
  --neon-2: #860b5b;
  --on-neon: #ffffff;
  --neon-soft: #f9e1ef;
  --cyan: #4ee6f5;
  --cyan-soft: #dcf7fa;
  --cyan-ink: #005f69;
  --ok: #1d6b45;
  --alert: #b3261e;
  --focus: #a3106f;
  --shadow-card: 0 1px 2px rgba(14, 16, 32, 0.06), 0 18px 36px -26px rgba(14, 16, 32, 0.42);
  --shadow-lift: 0 30px 60px -30px rgba(14, 16, 32, 0.5);

  --display: "Chakra Petch", system-ui, sans-serif;
  --body: "Asap", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Kode Mono", ui-monospace, Menlo, monospace;

  --fs-h1: clamp(46px, 6.4vw, 96px);
  --fs-h2: clamp(34px, 4vw, 58px);
  --fs-h3: 22px;
  --fs-lead: clamp(17.5px, 1.35vw, 20.5px);
  --fs-body: 16.5px;
  --fs-small: 15px;
  --fs-label: 12px;

  --wrap: 1200px;
  --gutter: max(20px, 4vw);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 104px;

  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --d-fast: 150ms;
  --d: 300ms;
  --d-slow: 900ms;
}

/* ---------- Lights off ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0b0c16;
    --card: #151729;
    --well: #10111e;
    --line: #2a2d45;
    --ink: #eef0fa;
    --ink-2: #c9cce0;
    --muted: #9da1b8;
    --neon: #ff7ac8;
    --neon-2: #ffa3d8;
    --on-neon: #2b0019;
    --neon-soft: #2a1426;
    --cyan: #4ee6f5;
    --cyan-soft: #0f2a30;
    --cyan-ink: #4ee6f5;
    --ok: #7fd6a0;
    --alert: #ff9a90;
    --focus: #ff7ac8;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
    --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b0c16;
  --card: #151729;
  --well: #10111e;
  --line: #2a2d45;
  --ink: #eef0fa;
  --ink-2: #c9cce0;
  --muted: #9da1b8;
  --neon: #ff7ac8;
  --neon-2: #ffa3d8;
  --on-neon: #2b0019;
  --neon-soft: #2a1426;
  --cyan: #4ee6f5;
  --cyan-soft: #0f2a30;
  --cyan-ink: #4ee6f5;
  --ok: #7fd6a0;
  --alert: #ff9a90;
  --focus: #ff7ac8;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
}
