/* =====================================================================
   variables.css — 设计令牌
   取自参考站 piaoshu.soul 的原始色值 / 尺寸 / 层级，零改动；
   仅追加作品站新增模块所需令牌（见「作品站扩展」段）。
   ===================================================================== */

:root {
  /* ---- 色彩（原站原值） ---- */
  --bg-deep: #0d0015;
  --bg-purple: #1a0525;
  --accent-purple: #8b3dff;
  --accent-cyan: #00f0ff;
  --accent-pink: #ff00d4;
  --win-gray: #c0c0c0;
  --win-dark: #808080;
  --win-light: #ffffff;
  --text-light: #f0e6ff;
  --text-dark: #0d0015;

  /* ---- 派生令牌 ---- */
  --win-gray-light: #dfdfdf;
  --win-gray-deep: #a8a8a8;
  --titlebar-active-start: #8b3dff;
  --titlebar-active-end: #4a0d8a;
  --titlebar-inactive-start: #9a9aa8;
  --titlebar-inactive-end: #6e6e7a;
  --select-blue: #000080;
  --excel-green: #1f7a3d;
  --excel-green-dark: #145a2b;
  --notepad-yellow: #fff8b0;
  --barkley-header: #ffd23f;

  /* ---- DEMO 徽章 ---- */
  --demo-badge-bg: #1a0525;
  --demo-badge-fg: #ff9bec;
  --demo-badge-border: #ff00d4;

  /* ---- 霓虹光 ---- */
  --neon-glow-cyan: 0 0 6px var(--accent-cyan), 0 0 14px rgba(0, 240, 255, 0.55);
  --neon-glow-pink: 0 0 6px var(--accent-pink), 0 0 16px rgba(255, 0, 212, 0.5);
  --neon-glow-purple: 0 0 8px var(--accent-purple), 0 0 22px rgba(139, 61, 255, 0.5);
  --window-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);

  /* ---- Win9x 像素描边 ---- */
  --border-outline: 1px solid var(--text-dark);
  --bevel-raised:
    inset -1px -1px 0 var(--text-dark),
    inset 1px 1px 0 var(--win-light),
    inset -2px -2px 0 var(--win-dark),
    inset 2px 2px 0 var(--win-gray-light);
  --bevel-pressed:
    inset 1px 1px 0 var(--win-dark),
    inset -1px -1px 0 var(--win-light),
    inset 2px 2px 0 var(--text-dark),
    inset -2px -2px 0 var(--win-gray-light);
  --bevel-window:
    inset -1px -1px 0 var(--text-dark),
    inset 1px 1px 0 var(--win-light),
    inset -2px -2px 0 var(--win-dark),
    inset 2px 2px 0 var(--win-gray);
  --bevel-inset:
    inset 1px 1px 0 var(--win-dark),
    inset -1px -1px 0 var(--win-light),
    inset 2px 2px 0 var(--text-dark),
    inset -2px -2px 0 var(--win-gray-light);

  /* ---- 字体 ---- */
  --font-pixel: "Press Start 2P", "Courier New", monospace;
  --font-pixel-ui: "VT323", "Consolas", monospace;
  --font-cjk-ui: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", "Hiragino Sans GB", sans-serif;
  --font-cjk-label: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", monospace;
  --font-ui: "MS Sans Serif", Tahoma, "Segoe UI", Arial, var(--font-cjk-ui), sans-serif;
  --font-mono: "Consolas", "Courier New", var(--font-pixel-ui), monospace;

  /* ---- 间距 / 尺寸 ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --taskbar-h: 34px;
  --titlebar-h: 24px;

  /* ---- 层级 ---- */
  --z-bg: 0;
  --z-crt: 5;
  --z-sidebar: 20;
  --z-windows: 100;
  --z-barkley: 500;
  --z-startmenu: 900;
  --z-taskbar: 1000;
  --z-boot: 2000;

  /* ---- 动效 ---- */
  --t-fast: 120ms;
  --t-base: 220ms;
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* =====================================================================
     作品站扩展令牌（新增，不与原站冲突）
     ===================================================================== */
  --card-bg: rgba(13, 0, 21, 0.92);
  --card-line: rgba(139, 61, 255, 0.45);
  --card-line-hover: var(--accent-cyan);
  --muted: #b9a9d4;
  --led-on: #45ff8a;
  --led-off: #6b6b7a;
}
