/* 年轮 · 设计 token 与共用件（两端共用同一套视觉语言：暖纸、低饱和、单一强调色） */
:root {
  --paper: #FBF6EE;
  --paper-2: #F6EFE4;
  --surface: #FFFFFF;
  --ink: #2A2521;
  --ink-2: #5A5147;
  --ink-3: #8B8074;
  --line: #E7DCCD;
  --accent: #A94F32;
  --accent-deep: #8B3D25;
  --accent-soft: #F8E7DD;
  --ok: #3F6B50;
  --warn: #8A5A1F;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --font-ui: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei",
    "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "WenQuanYi Zen Hei",
    "Songti SC", serif;
  --shadow-card: 0 1px 0 rgba(80, 60, 40, 0.04), 0 16px 36px -18px rgba(80, 55, 30, 0.28);
  --shadow-sheet: 0 -12px 40px -12px rgba(60, 40, 25, 0.28);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
button:focus-visible { outline: 3px solid rgba(169, 79, 50, 0.45); outline-offset: 2px; }

/* 轻提示（两端共用） */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px);
  background: rgba(42, 37, 33, 0.92);
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  padding: 11px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 86vw;
  text-align: center;
  z-index: 99;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
