/* Theme tokens: "Matchday" (docs/themes.html). Every colour in the app is one of these.
   Light values on :root, dark under prefers-color-scheme, and [data-theme] on <html>
   overrides the system setting for a future manual toggle. */

:root {
  color-scheme: dark;
  --head-font: 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --hw: 900;
  --ht: uppercase;
  --hs: 'Arial Narrow', Arial, sans-serif;
  --r: 2px;
  --sh: none;

  --bg: #0b1f3a;
  --surface: #14305a;
  --text: #fff;
  --muted: #a9bddb;
  --accent: #12b86a;
  --on: #04210f;
  --correct: #12b86a;
  --wrong: #e5484d;
  --bd: #2a4a7c;
  --qr-fg: #0b1f3a;
  --qr-bg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #05080f;
    --surface: #0e1a2d;
    --text: #fff;
    --muted: #8fa3c2;
    --accent: #12b86a;
    --on: #04210f;
    --correct: #12b86a;
    --wrong: #ff5a5f;
    --bd: #1d2e49;
    --qr-fg: #05080f;
    --qr-bg: #fff;
  }
}

:root[data-theme='dark'] {
  --bg: #05080f;
  --surface: #0e1a2d;
  --text: #fff;
  --muted: #8fa3c2;
  --accent: #12b86a;
  --on: #04210f;
  --correct: #12b86a;
  --wrong: #ff5a5f;
  --bd: #1d2e49;
  --qr-fg: #05080f;
  --qr-bg: #fff;
}
