:root {
  --font-name: Cinzel, "Trajan Pro", Georgia, serif;
  --font-head: "Cormorant Garamond", "Iowan Old Style", Georgia, "Noto Serif SC", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, "PingFang SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --font-cjk: "Noto Serif SC", "Songti SC", "STSong", serif;
  --radius: 10px; --radius-sm: 6px;
  --side: 288px; --gap: 40px;
}
:root, [data-theme="day"] {
  color-scheme: light;
  --bg: #f3f1eb; --card: #fffdf8; --tint: #e9eef3; --line: #e2dccf; --line-strong: #cdd5df;
  --ink: #1d2733; --muted: #5a6572; --navy: #193d65; --blue: #235bb0; --red: #a8402b;
  --gold: #d9ac55; --gold-ink: #7e5a12; --glow: #fbf8f1;
  --chart: #193d65; --chart-red: #a8402b; --chart-op: .12;
  --shadow: 0 1px 2px rgba(25,61,101,.05), 0 8px 24px rgba(25,61,101,.06);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) {
  color-scheme: dark;
  --bg: #0e1622; --card: #142033; --tint: #1b2a40; --line: #24364d; --line-strong: #2f4561;
  --ink: #e7e3d9; --muted: #a6afba; --navy: #dce6f3; --blue: #8fb4ef; --red: #f0927a;
  --gold: #e2bd6e; --gold-ink: #e2bd6e; --glow: #15233a;
  --chart: #8fb4ef; --chart-red: #f0927a; --chart-op: .1;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
} }
[data-theme="night"] {
  color-scheme: dark;
  --bg: #0e1622; --card: #142033; --tint: #1b2a40; --line: #24364d; --line-strong: #2f4561;
  --ink: #e7e3d9; --muted: #a6afba; --navy: #dce6f3; --blue: #8fb4ef; --red: #f0927a;
  --gold: #e2bd6e; --gold-ink: #e2bd6e; --glow: #15233a;
  --chart: #8fb4ef; --chart-red: #f0927a; --chart-op: .1;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
}

