/* ===== 设计令牌 =====
   全站唯一的令牌来源，必须在其他样式表之前加载。
   其他文件只通过 var() 引用；改色、改圆角、改曲线只改这里。说明见 _design/design-system.md 第 2 节 */
:root{
  /* 品牌色：酒红为主色，金色只做点缀线、菱形、悬停描边，浅底上的金色小字用 --gold-deep */
  --wine:#7c1417;
  --wine-deep:#4e0b0e;
  --wine-soft:#a33a34;
  --gold:#c3a063;
  --gold-soft:#e3cfa6;
  /* 深金：浅底上的金色小字（如时间轴日期），对比度纸底约 5.3:1、米底约 4.9:1 */
  --gold-deep:#84652b;
  /* 按钮悬停：比主色提亮的朱红扫光，入口卡片按钮与 .btn 共用 */
  --wine-bright:#c23a2c;
  --wine-sweep:linear-gradient(90deg,#a5201d,#c23a2c);

  /* 底色：页面底 cream → 卡片底 paper；浅金高亮底 hl 用于表格标色行、上下条悬停 */
  --cream:#f8f3ea;
  --paper:#fffdf8;
  --hl:#f6ecd8;
  --line:rgba(124,20,23,.14);

  /* 文字层级：标题 ink → 正文 text → 长文 text-article → 导航 text-nav → 辅助 muted；深底上的亮字 on-dark */
  --ink:#241714;
  --text:#4c3b34;
  --text-article:#41312b;
  --text-nav:#43322c;
  --muted:#796860;
  --on-dark:#fffdf6;

  /* 字体：Center Serif / Center Sans 为 core.css 中 @font-face 声明的内嵌子集字体 */
  --serif:"Center Serif","Noto Serif SC","Source Han Serif SC","Songti SC","STSong",SimSun,serif;
  --sans:"Center Sans","Noto Sans SC","Source Han Sans SC","PingFang SC","Microsoft YaHei",sans-serif;

  /* 版心：1280 屏 1200，1920 屏 1400，中间线性过渡（含左右各 28px 内边距） */
  --wrap:clamp(1256px,calc(31.25vw + 856px),1456px);

  /* 动效曲线：悬停 .3–.45s，进场 .8s */
  --ease:cubic-bezier(.22,.61,.36,1);

  /* 圆角阶梯：大卡 16 → 中卡 12 → 按钮 8 → 标签 4，嵌套内框 = 外圆角 − 内缩距离 */
  --r-lg:16px;
  --r-md:12px;
  --r-sm:8px;
  --r-xs:4px;
}
