/* Design tokens. Tweak the game's look here. Sizes are generous and high-contrast for
   players spanning roughly ages 9 to 90 (spec §6). */
:root {
  /* Colour */
  --color-bg: #f4f1fa;
  --color-surface: #ffffff;
  --color-surface-alt: #efeaf8;
  --color-ink: #1d1530;
  --color-ink-soft: #5a5170;
  --color-primary: #5b3fb8;
  --color-primary-dark: #46309a;
  --color-on-primary: #ffffff;
  --color-accent: #e8694a;
  --color-prompt-bg: #fff4d6;
  --color-prompt-ink: #5c3d11;
  --color-good: #2f9e57;
  --color-spent: #fce3b4;
  --color-spent-ink: #6b4a05;
  --color-new: #d9f0e4;
  --color-border: #ded6ef;
  --color-focus: #e8a33d;
  --color-danger: #c0392b;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Typography — large by default */
  --font-base: 1.125rem; /* 18px */
  --font-sm: 1rem;
  --font-lg: 1.375rem;
  --font-xl: 1.75rem;
  --font-2xl: 2.25rem;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --line: 1.5;

  /* Shape */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 6px 18px rgba(40, 24, 90, 0.12);
  --shadow-soft: 0 2px 8px rgba(40, 24, 90, 0.08);

  /* Minimum tap target (spec: 48dp) */
  --tap: 48px;

  /* Layout */
  --app-max: 520px;
  --header-h: 56px;
  --nav-h: 68px;
}
