@font-face { font-family: "Source Han Sans SC"; src: url("assets/fonts/SourceHanSansSC-VF.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --color-primary: #FFC44F;
  --color-primary-pressed: #dfc15d;
  --color-pink-surface: #f7edc9;
  --color-pink-text: #65500d;
  --color-blue-surface: #f8f0d6;
  --color-blue-text: #594900;
  --color-background: #fffdf5;
  --color-surface: #ffffff;
  --color-text: #242116;
  --color-text-secondary: #696454;
  --color-border-subtle: #eee9d9;
  --color-border-control: #a49b7c;
  --color-success: #206343;
  --color-success-surface: #e9f5ed;
  --color-warning: #735300;
  --color-warning-surface: #f8f0d6;
  --color-error: #b3261e;
  --color-error-surface: #fcedea;
  --color-disabled: #f1eddf;
  --color-overlay: rgb(36 39 36 / 40%);
  --space-4: .25rem;
  --space-8: .5rem;
  --space-12: .75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --font-title: 600 1.5rem/2rem var(--font-family);
  --font-section: 600 1.125rem/1.625rem var(--font-family);
  --font-card: 600 1rem/1.5rem var(--font-family);
  --font-body: 400 1rem/1.5rem var(--font-family);
  --font-secondary: 400 .875rem/1.25rem var(--font-family);
  --font-label: 500 .75rem/1.125rem var(--font-family);
  --font-family: "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius-tag: .5rem;
  --radius-input: .75rem;
  --radius-button: .875rem;
  --radius-photo: 1rem;
  --radius-card: 1.25rem;
  --radius-modal: 1.5rem;
  --size-touch-min: 2.75rem;
  --size-control: 3rem;
  --size-nav-min: 4rem;
  --shadow-floating: 0 4px 16px rgb(36 39 36 / 8%);
  --shadow-modal: 0 12px 32px rgb(36 39 36 / 16%);
  --motion-press: 120ms;
  --motion-panel: 200ms;
}
/* rem基于浏览器默认16px，保留用户字体偏好，不固定锁死根字号。 */
@media (prefers-reduced-motion: reduce) {
  :root { --motion-press: 0ms; --motion-panel: 0ms; }
}
