/* ==========================================================================
   卡车帝国 · 设计变量
   深色科技 + 温暖琥珀。禁止紫渐变。所有动效统一 150-250ms cubic-bezier。
   ========================================================================== */

:root {
  /* ---- 基础色 ---- */
  --bg: #0b1220;
  --bg-deep: #070c16;
  --bg-rail: #0a101c;
  --bg-elevated: #111a2b;
  --bg-elevated-2: #162135;

  /* ---- 玻璃拟态表面 ---- */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.055);
  --surface-3: rgba(255, 255, 255, 0.075);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --surface-sunken: rgba(4, 8, 15, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-hairline: rgba(255, 255, 255, 0.06);
  --inset-line: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ---- 主色：琥珀 ---- */
  --amber: #f5a524;
  --amber-2: #ffbd4a;
  --amber-deep: #b8730a;
  --amber-weak: rgba(245, 165, 36, 0.14);
  --amber-weak-2: rgba(245, 165, 36, 0.22);
  --amber-line: rgba(245, 165, 36, 0.38);
  --amber-glow: rgba(245, 165, 36, 0.28);
  --amber-text: #ffcb70;

  /* ---- 辅色：青 ---- */
  --teal: #2dd4bf;
  --teal-2: #5eead4;
  --teal-weak: rgba(45, 212, 191, 0.13);
  --teal-line: rgba(45, 212, 191, 0.36);

  /* ---- 危险 / 警告 / 成功 ---- */
  --danger: #f43f5e;
  --danger-2: #fb7185;
  --danger-weak: rgba(244, 63, 94, 0.13);
  --danger-line: rgba(244, 63, 94, 0.42);
  --warn: #f59e0b;
  --warn-weak: rgba(245, 158, 11, 0.13);
  --ok: #34d399;
  --ok-weak: rgba(52, 211, 153, 0.13);
  --info: #60a5fa;
  --info-weak: rgba(96, 165, 250, 0.13);

  /* ---- 文本 ---- */
  --text: #e9eef7;
  --text-soft: #c3cddd;
  --text-dim: #93a1b8;
  --text-mute: #66748c;
  --text-faint: #475569;
  --text-on-amber: #1b1204;

  /* ---- 字体 ---- */
  --font-sans: "Source Han Sans SC", "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DIN Alternate", "SF Mono", "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --font-num: var(--font-mono);

  /* ---- 间距 ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;

  /* ---- 圆角 ---- */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-phone: 28px;
  --r-pill: 999px;

  /* ---- 阴影 ---- */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 18px 40px -28px rgba(0, 0, 0, 0.9);
  --shadow-pop: 0 30px 80px -30px rgba(0, 0, 0, 0.92), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --shadow-amber: 0 10px 26px -14px rgba(245, 165, 36, 0.55);
  --shadow-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  /* ---- 动效 ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 150ms;
  --dur-2: 200ms;
  --dur-3: 250ms;

  /* ---- 层级 ---- */
  --z-topbar: 40;
  --z-tabs: 45;
  --z-toast: 80;
  --z-modal: 90;

  /* ---- 布局 ---- */
  --topbar-h: 64px;
  --tabs-h: 62px;
  --col-gap: 16px;
  --page-max: 1560px;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--amber);
}