/* Design tokens. Every colour/size used by the UI comes from here. */
:root {
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;

  --bg: #070d18;
  --bg-2: #0a1424;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --surface-solid: #101b2e;
  --surface-raised: #132238;
  --text: #eef3fb;
  --muted: #93a3bb;
  --faint: #5d6e88;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --accent: #a3e635;          /* pitch-lime */
  --accent-2: #22d3ee;
  --accent-ink: #0b1406;
  --pitch: #0f3b2a;
  --pitch-line: rgba(163, 230, 53, 0.08);

  --player-one: #22d3ee;      /* electric cyan */
  --player-one-2: #3b82f6;
  --player-two: #fb7185;      /* coral red */
  --player-two-2: #f97316;

  --success: #4ade80;
  --danger: #f87171;
  --warning: #fbbf24;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --glow-1: 0 0 0 1px rgba(34, 211, 238, 0.45), 0 8px 30px -8px rgba(34, 211, 238, 0.55);
  --glow-2: 0 0 0 1px rgba(251, 113, 133, 0.45), 0 8px 30px -8px rgba(251, 113, 133, 0.55);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --fast: 140ms;
  --med: 260ms;

  --header-h: 64px;
  --container: 1180px;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #eef3f0;
  --bg-2: #e3ebe6;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-2: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-raised: #ffffff;
  --text: #0c1a14;
  --muted: #4b5d55;
  --faint: #7c8c85;
  --border: rgba(12, 26, 20, 0.1);
  --border-strong: rgba(12, 26, 20, 0.2);
  --accent: #4d7c0f;
  --accent-2: #0e7490;
  --accent-ink: #ffffff;
  --pitch: #cfe8d8;
  --pitch-line: rgba(21, 128, 61, 0.09);
  --player-one: #0891b2;
  --player-one-2: #2563eb;
  --player-two: #e11d48;
  --player-two-2: #ea580c;
  --shadow: 0 10px 30px -14px rgba(16, 40, 30, 0.35);
  --shadow-lg: 0 30px 60px -24px rgba(16, 40, 30, 0.4);
  color-scheme: light;
}

/* Breakpoints (documented, used in media queries):
   --bp-sm: 560px  phones landscape
   --bp-md: 860px  tablets
   --bp-lg: 1100px desktop */
