/* ============================================================
   tokens.css — 设计变量（v1.1 分层拼贴版）
   ============================================================ */

:root {
  /* ---- 颜色：印刷四色 + 一点蓝圆珠笔 ---- */
  --ink: #191410;
  --ink-2: #3b3329;
  --ink-3: #5c5245;
  --ink-ghost: rgba(25, 20, 16, 0.12);

  --bg: #fdf3d6;
  --paper: #fffaf0;
  --paper-2: #fff5dd;
  --paper-3: #ffefca;
  --cream: #f5e6bd;

  --yellow: #ffcc1a;
  --yellow-soft: #ffd95e;
  --yellow-pale: #fff1b8;
  --orange: #f59b18;
  --orange-soft: #ffb84d;
  --red: #e03b2a;
  --red-ink: #a32b20;
  --blue: #2f56b0;
  --white: #ffffff;

  /* ---- 字体 ---- */
  --font-display: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  --font-num: "Archivo Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-doc: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;

  --fs-xs: 0.72rem;
  --fs-sm: 0.82rem;
  --fs-base: 1rem;
  --fs-md: 1.12rem;
  --fs-lg: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.7rem);
  --fs-h1: clamp(3.1rem, 8.6vw, 6.4rem);
  --fs-score: clamp(3.6rem, 9vw, 7rem);

  /* ---- 结构 ---- */
  --bw: 3px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --page: 1240px;
  --gap: clamp(18px, 3vw, 36px);
  --pad: clamp(20px, 4vw, 44px);

  --shadow-hard: 8px 8px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);
  --shadow-lift: 12px 12px 0 var(--ink);
  --shadow-deep: 10px 10px 0 var(--ink), 22px 30px 50px -26px rgba(25, 20, 16, 0.5);
  --shadow-float: 0 24px 40px -22px rgba(25, 20, 16, 0.45);

  /* ---- 动效 ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 140ms;
  --dur: 260ms;
  --dur-slow: 600ms;

  /* ---- 层级 ---- */
  --z-tex: 0;
  --z-content: 1;
  --z-deco: 0;
  --z-ticker: 5;
  --z-float: 20;
  --z-dock: 30;
  --z-toast: 60;
  --z-scanner: 80;
  --z-confetti: 85;
  --z-egg: 90;
}
