/* Design tokens: shared scale + a single warm light theme, with a festive "fun" variant. */
:root {
  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Typography */
  --font-family: "Segoe UI", Roboto, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.6rem;
  --font-size-2xl: 2rem;
  --line-height: 1.55;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Soft, warm elevation */
  --shadow-card: 0 1px 2px rgba(31, 24, 15, 0.04), 0 8px 24px rgba(31, 24, 15, 0.06);
  --shadow-card-hover: 0 4px 8px rgba(31, 24, 15, 0.08), 0 16px 36px rgba(31, 24, 15, 0.12);
  --shadow-fab: 0 8px 20px rgba(226, 91, 26, 0.4);

  /* Layout */
  --content-max: 480px;
  --nav-height: 76px;

  /* ---- Warm light theme (the default look everywhere) ---- */
  --bg: #f7f3ee;          /* warm cream page */
  --bg-accent: #fdece0;   /* faint peach wash for headers */
  --surface: #ffffff;     /* cards */
  --surface-alt: #fffaf4; /* nested surfaces */
  --surface-sunken: #f4ede4;

  --text: #2a2620;        /* near-black warm ink */
  --text-strong: #1d1a15;
  --text-muted: #8c8577;  /* muted brown-grey */

  --accent: #e85d1a;      /* flame orange */
  --accent-strong: #cf4d10;
  --accent-soft: #fbe3d3; /* light orange fill for pills/soft chips */
  --amber: #f4c04e;       /* trophy / active-nav gold */
  --amber-soft: #fcecc4;

  --border: #ece2d5;      /* hairline warm border */
  --border-strong: #e0d3c1;

  --success: #2f9e6f;
}

/* mode-serious = the standard warm light look (kept for backward-compat with view classes). */
.mode-serious {
  --accent: #e85d1a;
  --accent-strong: #cf4d10;
}

/* mode-fun = brighter, more celebratory variant of the same light theme. */
.mode-fun {
  --bg: #fff3e6;
  --bg-accent: #ffe6cf;
  --surface: #ffffff;
  --surface-alt: #fff6ec;
  --accent: #f4720f;
  --accent-strong: #e2560a;
  --accent-soft: #ffdcc0;
  --amber: #f6b73c;
}
