/* Design tokens. Warm "game cabinet" palette: paper + ink with tomato, teal and mustard accents. */
:root {
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-display: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --radius: 18px;
  --radius-sm: 12px;
  --accent: #e4572e;
  --accent-ink: #fff;
  --teal: #17a398;
  --gold: #f2b134;
  --good: #1f9d63;
  --bad: #d64545;
  --nav-h: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14131c;
  --bg-2: #1b1a26;
  --card: #22212f;
  --card-2: #2b2a3b;
  --ink: #f4efe6;
  --ink-2: #b9b4c7;
  --line: #34324a;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --board-a: #343253;
  --board-b: #4a4770;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6efe3;
  --bg-2: #efe6d6;
  --card: #fffaf0;
  --card-2: #f3e9d7;
  --ink: #231f2e;
  --ink-2: #6b6477;
  --line: #e1d5bd;
  --shadow: 0 8px 22px rgba(80, 56, 20, 0.14);
  --board-a: #f3e6c8;
  --board-b: #e2cc9c;
}

/* Player colours (Ludo / tokens). Always paired with a number or shape, never colour alone. */
:root {
  --p0: #e24b4b;
  --p1: #2fa84f;
  --p2: #f0b429;
  --p3: #3b82f6;
}
