/* =====================================================================
   ZXS 游戏库 · 设计令牌层（tokens.css）
   方向：复古未来档案馆 —— CRT 终端 × 编辑排版
   配色纪律：近黑油墨底（60%）/ 暖白纸面文字（30%）/ 信号琥珀（10%）
   ===================================================================== */

:root {
  color-scheme: dark;

  /* —— 表面色阶：暖调近黑，拒绝纯黑纯白 —— */
  --ink-900: #0b0c0e;            /* 页面底色 */
  --ink-850: #0e1014;            /* 下沉面（页脚 / 工具带） */
  --ink-800: #12151b;            /* 面板（终端 / 弹层） */
  --ink-700: #171b22;            /* 卡片 */
  --ink-600: #1f242d;            /* 悬浮面 / 骨架 */
  --paper:   #f2eee3;            /* 主文字：暖白 */
  --paper-2: #cdc7b8;            /* 次文字 */
  --muted:   #a39c8a;            /* 弱文字（对 --ink-900 对比约 7:1） */

  /* —— 唯一强调色：信号琥珀 —— */
  --accent:      #ffb224;
  --accent-deep: #e39a10;        /* 按压态 */
  --accent-soft: rgba(255, 178, 36, .13);
  --accent-line: rgba(255, 178, 36, .48);

  /* —— 语义状态色：仅用于状态点与徽标，不作装饰 —— */
  --ok:   #7fd87f;
  --down: #ff6a56;

  /* —— 发丝线 —— */
  --hairline:        rgba(242, 238, 227, .13);
  --hairline-strong: rgba(242, 238, 227, .26);

  /* —— 字体：展示字 / 正文 / 数据字 —— */
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;          /* 档案馆刊头 */
  --font-body:    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono:    "IBM Plex Mono", "Cascadia Mono", "Consolas", monospace; /* 编号 / 数据 / 标签 */

  /* —— 字阶（1.25 模数） —— */
  --fs-xs:   .72rem;
  --fs-sm:   .82rem;
  --fs-base: .95rem;
  --fs-md:   1.08rem;
  --fs-lg:   1.3rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.35rem;
  --fs-3xl:  clamp(2.7rem, 6.2vw, 4.5rem);   /* 首屏大标题 */

  /* —— 间距梯度 4/8/16/24/40/64/96/128 —— */
  --s1: 4px;  --s2: 8px;  --s3: 16px; --s4: 24px;
  --s5: 40px; --s6: 64px; --s7: 96px; --s8: 128px;

  /* —— 圆角：纸卡小圆角，拒绝千篇一律的大圆角 —— */
  --r-card: 4px;
  --r-panel: 6px;
  --r-pill: 999px;

  /* —— 阴影三级，带环境色 —— */
  --sh1: 0 2px 8px rgba(0, 0, 0, .38);
  --sh2: 0 8px 28px rgba(0, 0, 0, .46);
  --sh3: 0 24px 64px rgba(0, 0, 0, .58);

  /* —— 动效 —— */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-slow: 640ms;

  /* —— 版心 —— */
  --wrap: 1240px;
}
