/* Celtic edition colours and design tokens. Every edition has its own theme.css with these same names.
   Loaded before the engine's stylesheets (engine/css). */
:root {
  /* Game show look (used by engine/css/chrome.css) */
  --studio-bg: #06100B;
  --studio-glow-top: rgba(31, 138, 98, 0.50);
  --studio-glow-bottom: rgba(20, 107, 76, 0.40);
  --chrome: linear-gradient(180deg, #fbfdfc 0%, #b9c3bd 20%, #66716b 47%, #e6ebe8 53%, #929d97 80%, #f0f4f2 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #cfd7d2 38%, #76817b 52%, #f2f5f3 60%, #a9b3ad 100%);
  --plate: linear-gradient(180deg, #17513c 0%, #0b2b20 55%, #071c15 100%);
  --plate-hover: linear-gradient(180deg, #1f6a4f 0%, #0e3628 55%, #092219 100%);
  --plate-panel: linear-gradient(180deg, #0f3a2a 0%, #07160f 100%);
  --plate-dull: linear-gradient(180deg, #14211b 0%, #0c1511 100%);
  --gold-plate: linear-gradient(180deg, #f6e2a6 0%, #d2b064 50%, #a78439 100%);
  --gold-plate-hover: linear-gradient(180deg, #fbecbd 0%, #dcbc73 50%, #b08c3e 100%);
  --gold-rim: linear-gradient(180deg, #fff3cf 0%, #e0c27a 25%, #8f6f2c 50%, #f1d999 56%, #c7a45a 100%);
  --ink-gold: #1a1405;
  --gold-pale: #f6e2a6;
  --studio-beam: rgba(220, 255, 240, 0.15);
  --topbar-bg: rgba(6, 16, 11, 0.86);
  --chrome-rule: linear-gradient(90deg, #66716b 0%, #fbfdfc 30%, #929d97 50%, #fbfdfc 70%, #66716b 100%);
  --question-plate: linear-gradient(180deg, #14503a 0%, #0b2c21 50%, #071a14 100%);
  --chrome-disc: linear-gradient(160deg, #ffffff 0%, #aab4ae 45%, #6b7670 55%, #e6ebe8 100%);
  --chrome-disc-ink: #0b1a13;
  --rim-dull: #4f5a54;
  --tick: #6FE0A6;
  --kbd-hint: #A9B8AF;
  --emerald-plate: linear-gradient(180deg, #2aa878 0%, #146B4C 100%);
  --splash-bg: radial-gradient(circle at 50% 45%, rgba(6, 16, 11, 0.82), rgba(3, 8, 5, 0.96));

  /* Backgrounds */
  --bg-main: #09110C;
  --bg-panel: #0D1712;
  --card: #121E17;
  --card-hover: #1B2A21;

  /* Emerald */
  --emerald-dark: #0E4D38;
  --emerald: #146B4C;
  --emerald-bright: #1F8A62;

  /* Gold */
  --gold: #C7A45A;
  --gold-bright: #E0C27A;
  /* The same colours as "r, g, b", for see-through glows: rgba(var(--gold-rgb), 0.3) */
  --gold-rgb: 199, 164, 90;
  --gold-bright-rgb: 224, 194, 122;
  --emerald-rgb: 20, 107, 76;
  --emerald-bright-rgb: 31, 138, 98;
  --emerald-ink: #8fe0b5;

  /* Neutrals */
  --white: #FFFFFF;
  --grey-light: #C8D0CA;
  --grey-muted: #89958D;

  /* Status */
  --success: #3EB76A;
  --danger: #E04E4E;

  /* Lines & glows */
  --line: rgba(200, 208, 202, 0.10);
  --line-strong: rgba(200, 208, 202, 0.18);
  --glow-gold: 0 0 0 1px rgba(199, 164, 90, 0.55), 0 0 24px rgba(199, 164, 90, 0.30);
  --glow-emerald: 0 0 0 1px rgba(31, 138, 98, 0.55), 0 0 22px rgba(31, 138, 98, 0.28);
  --glow-success: 0 0 0 1px rgba(62, 183, 106, 0.7), 0 0 26px rgba(62, 183, 106, 0.35);
  --glow-danger: 0 0 0 1px rgba(224, 78, 78, 0.7), 0 0 26px rgba(224, 78, 78, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);

  /* Type */
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.35rem, 2.6vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 4.5vw, 2.75rem);
  --fs-3xl: clamp(2.1rem, 6.5vw, 4rem);

  /* Spacing & shape */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 450ms;
}
