/* ===========================================================
   鄂菜菜谱大全 · 设计变量（唯一来源）
   从 03-ui/home-ui-desktop.png 读出；设计基准宽度 1440，内容栏 1440（左右各 44px 内边距）
   内页（category.html / detail.html）必须引用本文件，不得另写字面量
   =========================================================== */
:root {
  /* ---------- 背景层次：四个暖白/暖米档，靠明度差分区，不用阴影堆层 ---------- */
  --bg: #faf3ef;              /* 基础暖白：首屏、技法区 */
  --bg-featured: #faf2eb;     /* 精选区暖白 */
  --bg-warm: #f1e5db;         /* 分类区浅米 */
  --bg-bottom: #f6eee7;       /* 底部三栏米白 */
  --bg-tech: #f3e7de;         /* 技法区浅暖 */
  --bg-steam: #ecdccd;        /* 蒸菜区米棕 */

  /* ---------- 唯一强调色（页脚整块 + 所有眉标/编号/大标题/主按钮） ---------- */
  --accent: #86251d;
  --accent-dark: #6d1c16;
  --accent-soft: rgba(134, 37, 29, .12);
  --ink-invert: #f7ece4;      /* 深底上的文字 */

  /* ---------- 文字与分隔线 ---------- */
  --ink: #211a17;
  --ink-soft: #4b3f39;
  --muted: #6f6058;
  --line: rgba(134, 37, 29, .16);
  --line-soft: rgba(33, 26, 23, .10);

  /* ---------- 字体：衬线标题 + 无衬线正文（系统字体栈，离线可用） ---------- */
  --font-serif: 'Songti SC',SimSun,'Noto Serif SC',Georgia,serif;
  --font-sans: 'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;

  /* ---------- 栅格 ---------- */
  --wrap: 1440px;
  --gutter: 44px;

  /* ---------- 分区高度预算（1440 基准，合计 2160px，与稿等高） ---------- */
  --h-header: 80px;
  --h-hero: 400px;
  --h-cats: 272px;
  --h-featured: 412px;
  --h-steam: 285px;
  --h-tech: 188px;
  --h-bottom: 262px;
  --h-footer: 250px;

  /* ---------- 字号阶（首页实际用到，内页在同一阶里取值） ---------- */
  --fs-1: 10px;
  --fs-2: 10px;
  --fs-3: 10.5px;
  --fs-4: 11px;
  --fs-5: 11.5px;
  --fs-6: 12px;
  --fs-7: 12.5px;
  --fs-8: 13px;
  --fs-9: 14px;
  --fs-10: 14.5px;
  --fs-11: 15.5px;
  --fs-12: 16px;
  --fs-13: 17px;
  --fs-14: 19px;
  --fs-15: 22px;
  --fs-16: 23px;
  --fs-17: 27px;
  --fs-18: 30px;
  --fs-19: 37px;

  /* ---------- 圆角与阴影：稿上几乎硬边，只有极轻的浮层阴影 ---------- */
  --r-1: 2px;
  --radius: var(--r-1);
  --shadow-1: 0 12px 24px rgba(33, 26, 23, .08);
}
