/**
 * CITADEL VAR design tokens.
 *
 * One source of truth for colour, type, spacing and motion, shared by every
 * station (referee, VAR, fourth official, admin, tournament).
 *
 * Two constraints shape the palette:
 *  1. Stadium conditions. Screens are read in daylight on a tablet at the
 *     touchline, often at an angle. Contrast ratios are kept high and nothing
 *     relies on a subtle hue difference alone to carry meaning.
 *  2. Colour is never the only signal. Every verdict pill also carries a text
 *     label, because colour-blind referees are a real population and a
 *     misread verdict must never be possible.
 */

:root {
  /* Surfaces */
  --bg: #0b1020;
  --bg-2: #121a31;
  --panel: #151d38;
  --panel-2: #1b2444;
  --panel-3: #222d54;
  --line: #27314f;
  --line-strong: #3a4770;

  /* Text */
  --text: #e8ecf8;
  --text-muted: #94a0c4;
  --text-dim: #6b7799;

  /* Brand */
  --accent: #4dd4ac;
  --accent-2: #5aa9ff;
  --accent-ink: #04121b;

  /* Semantic - each is paired with a text label in the UI */
  --ok: #35c98b;
  --warn: #ffb020;
  --danger: #ff5d6c;
  --info: #5aa9ff;

  /* Verdict-specific, used by the review station */
  --offside: #ff5d6c;
  --on-side: #35c98b;
  --indeterminate: #ffb020;

  /* Broadcast offside line */
  --line-offside: #ff2d55;
  --line-offside-soft: rgba(255, 45, 85, 0.28);

  /* Type scale */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  --fs-xs: 0.7rem;
  --fs-sm: 0.8rem;
  --fs-base: 0.9rem;
  --fs-md: 1.05rem;
  --fs-lg: 1.35rem;
  --fs-xl: 1.75rem;
  --fs-clock: 2rem;

  /* Spacing scale (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.45);

  --motion: 120ms ease;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-2);
}