/* Moon Lab design tokens. Source palette: Pastel Studio (nicklesh/pastel-studio).
   Locked theme: teal base, orange accent, navy ink, 60/30/10. See DESIGN.md. */

:root {
  /* 60%: page and surfaces */
  --ml-ground: #eef0f8;
  --ml-surface: #ffffff;

  /* 30%: structure (teal tints, ink, night stage) */
  --ml-teal-50: #e0fefc;
  --ml-teal-100: #c1f0ec;
  --ml-teal-200: #a2e1dd;
  --ml-teal-300: #81d2ce;
  --ml-teal-700: #006966; /* links, headings, strong controls */
  --ml-teal-800: #014644;
  --ml-line: #c9cbd1;
  --ml-ink: #16193a;
  --ml-muted: #5d6385;
  --ml-stage: #16193a; /* night game stage */
  --ml-stage-raised: #272b5b;
  --ml-stage-edge: #3b4272;
  --ml-stage-text: #f7f5ff;

  /* 10%: accent (bright orange). Buttons use INK text, never white. */
  --ml-accent: #f0954a;
  --ml-accent-soft: #faab6f; /* stars and glow on the night stage */
  --ml-accent-edge: #a05d23; /* 2px edge or bottom shadow on buttons */
  --ml-accent-text: #7b4310; /* orange as text, only this shade */
  --ml-on-accent: #16193a;
  --ml-on-strong: #ffffff; /* text on teal or ink buttons */
  --ml-bad-fill: #f1ebff;

  /* Feedback: always paired with an icon and a word */
  --ml-correct-fill: #baf1cf;
  --ml-correct-text: #036039;
  --ml-tryagain-fill: #e4daff;
  --ml-tryagain-text: #5e399b;

  /* Neon: night stage only (celebrations and hints), never on light pages */
  --ml-neon-correct: #39ff14;
  --ml-neon-hint: #00e5ff;

  /* Shape and type (from Pastel Studio) */
  --ml-radius-card: 20px;
  --ml-radius-panel: 26px;
  --ml-radius-pill: 999px;
  --ml-font-display: "Lexend", system-ui, sans-serif; /* self-hosted */
  --ml-font-body: "Nunito Sans", system-ui, sans-serif; /* self-hosted */
}

/* Dark theme: night ground, bright teal for links and headings. The game stage is already dark in both themes. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ml-ground: #0f1228;
  --ml-surface: #1a1e3f;
  --ml-teal-50: #14313a;
  --ml-teal-100: #17414a;
  --ml-teal-200: #2a5a62;
  --ml-teal-300: #3d7f84;
  --ml-teal-700: #5fe0d8;
  --ml-teal-800: #9aeee8;
  --ml-line: #3b4272;
  --ml-ink: #f1f0ff;
  --ml-muted: #aab0d4;
  --ml-stage: #0b0e22;
  --ml-stage-raised: #232850;
  --ml-stage-edge: #3b4272;
  --ml-accent-text: #ffc08f;
  --ml-on-strong: #0f1228;
  --ml-bad-fill: #2b2452;
  --ml-correct-fill: #14412b;
  --ml-correct-text: #a8f3c6;
  --ml-tryagain-fill: #2d2554;
  --ml-tryagain-text: #d6c6ff;
}
