/* LingoBright Design Tokens — Playful Daylight & Exam Focus Themes */
:root {
  --bg-page: #f0f9ff;
  --bg-gradient: radial-gradient(circle at 12% 10%, #fef9c3 0%, rgba(254, 249, 195, 0) 38%),
    radial-gradient(circle at 88% 12%, #e0f2fe 0%, rgba(224, 242, 254, 0) 42%),
    linear-gradient(180deg, #f0f9ff 0%, #fffdf7 100%);
  --bg-card: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tray: #eef6ff;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-inverse: #ffffff;

  --border-soft: #cbd5e1;
  --border-card: #bae6fd;

  --sky: #0ea5e9;
  --sky-dark: #0284c7;
  --sun: #fbbf24;
  --sun-dark: #d97706;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --coral: #f43f5e;
  --coral-dark: #e11d48;
  --violet: #8b5cf6;
  --violet-dark: #6d28d9;
  --orange: #f97316;
  --orange-dark: #c2410c;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 24px -6px rgba(14, 165, 233, 0.14), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-tile: 0 4px 0 #cbd5e1;
  --shadow-btn-sky: 0 4px 0 #0369a1;
  --shadow-btn-emerald: 0 4px 0 #047857;
  --shadow-btn-sun: 0 4px 0 #b45309;
  --shadow-btn-coral: 0 4px 0 #be123c;
  --shadow-btn-violet: 0 4px 0 #5b21b6;

  --font-ui: "Nunito", "Quicksand", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "Noto Sans Arabic", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --tactile-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --space-unit: 16px;
}

/* Calmer Exam Focus mode (triggered automatically or by toggle on B2/C1/C2/IELTS/TOEIC/TESOL/N1-N2) */
html[data-mode="exam_focus"] {
  --bg-page: #f8fafc;
  --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --bg-tray: #f1f5f9;
  --border-card: #cbd5e1;
  --shadow-card: 0 6px 18px -4px rgba(15, 23, 42, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --tactile-bounce: ease;
  }
}

