/* JSON tokens are applied before rendering. These matching defaults cover loading/errors. */
:root {
  color-scheme: dark;
  --color-background: #101722;
  --color-panel: #182433;
  --color-raised: #223247;
  --color-border: #425267;
  --color-text: #f3f1eb;
  --color-muted: #b7c5d3;
  --color-accent: #f4b963;
  --color-on-accent: #16202b;
  --color-focus: #7cd8cf;
  --color-paper: #f4efe4;
  --color-paper-text: #24313d;
  --color-paper-link: #235c78;
  --color-success: #86d6a4;
  --color-warning: #f4b963;
  --color-error: #ffaaa6;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-body: 1rem;
  --font-reading: 1.125rem;
  --font-mobile-reading: 1.0625rem;
  --font-hero: 3.5rem;
  --font-mobile-hero: 2.125rem;
  --motion-micro: 150ms;
  --motion-transition: 240ms;
  --motion-intro: 600ms;
  --reading-line-height: 1.7;
  --reading-max-width: 70ch;
  --radius-button: 10px;
  --radius-card: 12px;
  --min-touch: 44px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}
