/* ============================================================
   tokens.css — HIFI音响 设计变量唯一来源
   值抽取自 03-ui/home-ui-desktop.png（深炭底 + 暖金强调）
   三页共用：index.html / category.html / detail.html 均先 link 本文件
   ============================================================ */

:root {
  /* —— 底色层次 —— */
  --bg: #01101f;            /* 页面主底色 */
  --bg-deep: #000b16;       /* 路径带 / 页脚（更深一层） */
  --surface: #0b2138;       /* 卡片基础面 */
  --surface-hi: #0d2540;    /* 卡片渐变亮端、说明盒 */
  --surface-lo: #091b30;    /* 卡片渐变暗端 */
  --surface-4: #041a30;     /* 页头渐变、移动菜单底 */
  --surface-5: #041527;     /* 说明盒暗端 */

  /* —— 线条与描边 —— */
  --line: rgba(216, 182, 120, 0.16);
  --line-strong: rgba(216, 182, 120, 0.34);
  --line-soft: rgba(255, 255, 255, 0.06);

  /* —— 强调色（金）—— */
  --gold: #d9b45f;
  --gold-soft: #f0d89a;
  --gold-light: #f3dda2;
  --gold-deep: #a8813a;
  --on-gold: #221806;       /* 金色按钮上的文字 */

  /* —— 米色面板（精选卡）—— */
  --cream: #f7eed6;
  --cream-2: #efe4c8;
  --cream-ink: #1b2430;
  --cream-ink-2: #3c4855;
  --cream-ink-3: #5d6a77;

  /* —— 文字色 —— */
  --ink: #f1f4f8;
  --ink-strong: #f6f2e8;    /* 深底上的标题与强调句 */
  --ink-cream-strong: #f3ead6; /* 首屏衬线小标 */
  --ink-2: #cdd8e4;
  --ink-3: #a8b7c8;
  --ink-4: #7d8b9c;
  --on-dark: #ffffff;

  /* —— 阴影与交互态 —— */
  --shadow-gold: 0 6px 18px rgba(217, 180, 95, 0.22);
  --shadow-gold-hover: 0 10px 24px rgba(217, 180, 95, 0.3);
  --shadow-card: 0 12px 26px rgba(0, 0, 0, 0.35);
  --ghost-fill: rgba(255, 255, 255, 0.02);
  --arrow: rgba(216, 182, 120, 0.45);

  /* —— 遮罩 —— */
  --scrim: rgba(0, 11, 22, 0.72);
  --scrim-strong: rgba(0, 11, 22, 0.96);
  --scrim-clear: rgba(0, 11, 22, 0);

  /* —— 字体 —— */
  --serif: 'Songti SC',SimSun,'Noto Serif SC',Georgia,serif;
  --sans: 'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;

  /* —— 字号阶（桌面基准 1440）—— */
  --fs-1: 12px;
  --fs-2: 12.5px;
  --fs-3: 13.5px;
  --fs-4: 14px;
  --fs-5: 15px;
  --fs-6: 16px;
  --fs-7: 17px;
  --fs-8: 18px;
  --fs-9: 20px;
  --fs-10: 24px;
  --fs-11: 26px;
  --fs-12: 28px;
  --fs-13: 46px;
  --fs-14: 64px;
  --fs-15: 76px;
  --fs-16: 92px;

  /* —— 圆角 —— */
  --r-1: 4px;
  --r-2: 6px;
  --r-pill: 999px;

  /* —— 版式与节奏 —— */
  --shell: 1440px;
  --gutter: 40px;
  --radius: 4px;

  /* 区块高度预算（视觉稿量得，1440 空间） */
  --h-header: 84px;
  --h-hero: 467px;
  --h-categories: 433px;
  --h-featured: 444px;
  --h-path: 252px;
  --h-notes: 169px;
  --h-footer: 311px;
}
