/* tokens.css — Windows XP Luna 2009 视觉设计令牌 */
:root {
  /* 经典 XP Luna 蓝银色板（明确功能角色） */
  --xp-blue-deep: #003cb8;
  --xp-blue-mid: #0a58dc;
  --xp-blue-bright: #3a8cff;
  --xp-blue-border: #002e99;
  --xp-inactive-top: #7b98df;
  --xp-inactive-bot: #9cb4ec;

  --xp-surface: #ece9d8;
  --xp-surface-alt: #f5f3e8;
  --xp-surface-dark: #d8d2bd;
  --xp-paper: #ffffff;
  --xp-border-light: #ffffff;
  --xp-border-mid: #aca899;
  --xp-border-dark: #716f64;

  /* 任务栏 & 开始按钮 */
  --taskbar-h: 36px;
  --start-green-top: #4eb24e;
  --start-green-mid: #3a963a;
  --start-green-bot: #287528;
  --tray-cyan-top: #1895eb;
  --tray-cyan-bot: #0c6bc4;

  /* 语义状态色（线索/警告/加密/解密成功） */
  --clue-gold: #d97706;
  --clue-bg: #fff9db;
  --clue-border: #f0b429;
  --danger-red: #c92a2a;
  --danger-bg: #fff0f0;
  --success-green: #2b8a3e;
  --success-bg: #ebfbee;
  --secret-purple: #6741d9;

  /* 文本对比度 */
  --ink-primary: #1a1d24;
  --ink-secondary: #4a505c;
  --ink-muted: #6c727f;
  --ink-white: #ffffff;

  /* 字体层级 */
  --font-ui: "Tahoma", "Microsoft YaHei", "SimSun", "PingFang SC", sans-serif;
  --font-song: "SimSun", "NSimSun", "Songti SC", "Microsoft YaHei", serif;
  --font-mono: "Consolas", "Courier New", "Lucida Console", monospace;

  /* 窗口阴影与动效 */
  --win-shadow-active: 0 12px 34px rgba(0, 18, 56, 0.42), 0 2px 6px rgba(0, 0, 0, 0.25);
  --win-shadow-inactive: 0 5px 16px rgba(0, 18, 56, 0.22);
  --radius-win: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000;
  color: var(--ink-primary);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* 允许阅读文档和聊天内容时选中 */
.selectable {
  user-select: text;
}

/* 经典复古滚动条 */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
::-webkit-scrollbar-track {
  background: #f1efe2;
  border-left: 1px solid #d4d0c8;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #dce7fa, #b8cef5 55%, #a1bef0);
  border: 1px solid #7f9db9;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #e7f0ff, #c5d9fa 55%, #aec9f7);
}
