/* =====================================================================
 * 花海打野训练系统 · 桌面版样式  V3
 * 设计语言：电竞作战终端 HUD / 激进霓虹 / 切角面板 / 瞄准框 / 网格辉光
 * 仅重构视觉层，全部 class 与 ID 名保持不变，算法与 DOM 结构不动。
 * ===================================================================== */

:root {
  /* —— 基底：近黑蓝紫，压暗以突出霓虹 —— */
  --bg:       #06070c;
  --bg-2:     #0a0c14;
  --sidebar:  #070910;
  --panel:    #0e1018;
  --panel-2:  #131622;
  --ink:      #eef2fb;
  --ink-soft: #b6bfd4;
  --muted:    #6b748f;
  --line:     #1b2030;
  --line-2:   #283044;

  /* —— 霓虹色板 —— */
  --neon:     #00e5ff;   /* 主青 */
  --neon-2:   #1f9bff;   /* 蓝（渐变用） */
  --neon-dim: rgba(0,229,255,.45);
  --lime:     #c6ff00;   /* 酸性绿 / 达标 / 激活 */
  --hot:      #ff2d78;   /* 品红 / 危险高亮 */
  --gold:     #ffc53d;   /* 段位金 */
  --danger:   #ff3b5c;
  --good:     #c6ff00;

  --radius:   14px;
  --notch:    polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --mono:     "Share Tech Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display:  "Rajdhani", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font:     -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
              "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}
::selection { background: rgba(0,229,255,.3); color: #fff; }

/* ---------- 背景：霓虹网格 + 顶部辉光 ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,229,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 85%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(110% 70% at 50% -12%, rgba(0,229,255,.12), transparent 55%),
    radial-gradient(80% 60% at 100% 110%, rgba(255,45,120,.08), transparent 60%);
}

/* ---------- 移动端自适应 ---------- */
@media (max-width: 768px) {
  .app-shell { flex-direction: column; }
  .sidebar {
    width: 100% !important; flex: 0 0 auto !important;
    padding: 12px 12px 8px !important;
    border-right: none !important; border-bottom: 1px solid var(--line);
  }
  .sidebar::after { display: none; }
  .brand { padding-bottom: 12px; }
  .nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
  .nav-group { display: none; }
  .nav button {
    flex: 1; min-width: calc(25% - 4px); padding: 8px 10px !important;
    font-size: 11px !important;
  }
  .main { padding: 12px !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .hud-row { flex-direction: column !important; gap: 8px !important; }
  .hud-stat { flex: 1; width: 100%; }
  h1 { font-size: 20px !important; }
  .card { padding: 12px !important; }
  body { overflow: auto !important; }
  .app-shell { height: auto !important; min-height: 100vh; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr !important; }
  .brand-title { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
}

/* ---------- 整体骨架 ---------- */
.app-shell { position: relative; z-index: 1; display: flex; height: 100vh; overflow: hidden; }

/* ---------- 侧边栏 ---------- */
.sidebar {
  width: 256px; flex: 0 0 256px;
  background: linear-gradient(180deg, var(--sidebar), #05060b);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 22px 16px 16px; position: relative;
}
.sidebar::after {
  content: ""; position: absolute; top: 0; right: -1px; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--neon-dim), transparent);
  opacity: .6;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 6px 22px; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 22px; font-weight: 700; color: #04121a;
  background: linear-gradient(135deg, var(--neon), var(--neon-2) 60%, var(--hot));
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  box-shadow: 0 0 18px rgba(0,229,255,.45);
}
.brand-title { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.brand-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; letter-spacing: .5px; }

.nav { flex: 1; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.nav-group {
  font-family: var(--display); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--neon-dim); padding: 18px 12px 8px; font-weight: 600;
}
.nav-group:first-child { padding-top: 4px; }
.nav-item {
  width: 100%; display: flex; align-items: center; gap: 11px;
  background: transparent; border: 1px solid transparent; color: var(--ink-soft);
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .5px;
  text-align: left; margin-bottom: 3px; transition: .15s; position: relative;
}
.nav-item:hover { background: rgba(0,229,255,.06); color: var(--ink); border-color: rgba(0,229,255,.18); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(0,229,255,.14), rgba(0,229,255,.02));
  color: var(--neon); font-weight: 700;
  border-color: rgba(0,229,255,.35);
  box-shadow: inset 3px 0 0 var(--neon), 0 0 16px rgba(0,229,255,.12);
}
.nav-ico { width: 18px; text-align: center; opacity: .95; font-size: 15px; }

.side-foot { display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.mini-btn {
  flex: 1; background: var(--panel); border: 1px solid var(--line-2);
  color: var(--ink-soft); padding: 9px; border-radius: 9px; cursor: pointer;
  font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .5px; transition: .15s;
}
.mini-btn:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 12px rgba(0,229,255,.18); }

/* ---------- 主区域 ---------- */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.main-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,12,20,.7), rgba(6,7,12,.4));
  position: relative;
}
.main-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent); opacity: .55;
}
.main-head h1 {
  font-family: var(--display); font-size: 24px; margin: 0; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
  text-shadow: 0 0 18px rgba(0,229,255,.35);
}
.main-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .3px; }
.head-chip {
  position: relative; font-family: var(--display); font-size: 12px; letter-spacing: 1px;
  color: var(--lime); border: 1px solid rgba(198,255,0,.35);
  background: rgba(198,255,0,.07); padding: 6px 12px 6px 24px; border-radius: 20px; text-transform: uppercase;
}
.head-chip::before {
  content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 9px var(--lime); animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.content { flex: 1; overflow-y: auto; padding: 26px 32px 60px; }

/* ---------- 视图切换 ---------- */
.view { display: none; animation: fade .2s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 卡片：切角 + 瞄准框四角 ---------- */
.card {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 20px;
  clip-path: var(--notch);
  transition: border-color .15s, filter .15s;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
}
.card::before { top: 9px; left: 9px; border-top: 2px solid var(--neon); border-left: 2px solid var(--neon); }
.card::after  { bottom: 9px; right: 9px; border-bottom: 2px solid var(--neon); border-right: 2px solid var(--neon); }
.card:hover { border-color: var(--neon-dim); filter: drop-shadow(0 0 12px rgba(0,229,255,.18)); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-2 .card { margin-bottom: 0; }
.grid-2 + .card, .card + .grid-2 { margin-top: 20px; }
.card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.card h2 {
  font-family: var(--display); font-size: 18px; margin: 0; font-weight: 700;
  letter-spacing: 1px; color: #fff; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.card h2::before {
  content: ""; width: 5px; height: 18px; background: linear-gradient(180deg, var(--neon), var(--hot));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); box-shadow: 0 0 10px rgba(0,229,255,.5);
}
.pill {
  font-family: var(--display); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--neon); background: rgba(0,229,255,.08);
  border: 1px solid rgba(0,229,255,.35); padding: 3px 11px; border-radius: 20px; white-space: nowrap;
}
.pad { padding: 2px 2px; }

/* ---------- 表单 ---------- */
.lbl {
  display: block; font-family: var(--display); font-size: 13px; letter-spacing: .8px; text-transform: uppercase;
  color: var(--ink-soft); margin: 14px 0 6px; font-weight: 600;
}
.field {
  width: 100%; padding: 11px 13px; background: #05070d;
  border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--ink); font-size: 15px; font-family: inherit; transition: .15s;
}
.field:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0,229,255,.18); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qitem { margin-bottom: 6px; }
.inline { display: flex; gap: 10px; align-items: center; }
.inline .field { flex: 1; }
.hint { color: var(--muted); font-size: 13.5px; margin: 10px 0; line-height: 1.6; }

/* ---------- 按钮：切角 + 霓虹渐变 ---------- */
.btn {
  background: linear-gradient(100deg, var(--neon), var(--neon-2));
  color: #04121a; border: none; padding: 11px 24px; border-radius: 10px; cursor: pointer;
  font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  clip-path: var(--notch); transition: filter .15s, transform .05s; margin-top: 14px;
  box-shadow: 0 0 18px rgba(0,229,255,.35);
}
.btn:hover { filter: brightness(1.12) saturate(1.1); box-shadow: 0 0 26px rgba(0,229,255,.55); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--neon); border: 1px solid var(--neon); box-shadow: none; }
.btn.ghost:hover { background: rgba(0,229,255,.1); box-shadow: 0 0 18px rgba(0,229,255,.25); }
.hidden { display: none !important; }

/* ---------- 勾选清单 ---------- */
.checklist .ci {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.checklist .ci:last-child { border-bottom: none; }
.checklist .ci input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--neon); flex: 0 0 18px; }
.checklist .ci span { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 日志 / 列表 ---------- */
.log { margin-top: 12px; font-size: 13px; color: var(--muted); max-height: 200px; overflow: auto;
  font-family: var(--mono); letter-spacing: .3px; }
.log div { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.ordered { padding-left: 22px; }
.ordered li { margin-bottom: 9px; color: var(--ink-soft); font-size: 14.5px; }
.recent-item { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.recent-item:last-child { border-bottom: none; }
.recent-item .t { color: var(--neon); font-family: var(--mono); font-size: 12.5px; margin-right: 8px; }

/* ---------- 统计网格 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 20px; }
.stat {
  position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px;
  clip-path: var(--notch); overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--neon), transparent);
}
.stat .num {
  font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--neon);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(0,229,255,.45);
}
.stat .lbl { color: var(--muted); font-size: 12.5px; margin-top: 4px; letter-spacing: .5px; text-transform: uppercase; }

/* ---------- 节奏 / 时间轴 ---------- */
.phase-out { margin-top: 14px; padding: 16px; border-radius: 12px;
  background: rgba(0,229,255,.05); border: 1px solid rgba(0,229,255,.28); }
.phase-out .ptag { display: inline-block; background: var(--neon); color: #04121a; padding: 4px 12px;
  border-radius: 20px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.phase-out p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.phase-out ul { margin: 8px 0 0; padding-left: 20px; }
.phase-out li { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.timeline { position: relative; }
.timeline .tl { position: relative; padding: 9px 0 9px 18px; border-left: 2px solid var(--line-2); }
.timeline .tl::before { content: ""; position: absolute; left: -7px; top: 16px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px rgba(0,229,255,.2), 0 0 12px rgba(0,229,255,.6); }
.timeline .tl b { font-family: var(--mono); color: var(--neon); margin-right: 6px; font-variant-numeric: tabular-nums; }
.timeline .tl { font-size: 14px; color: var(--ink-soft); }

/* ---------- 分段训练 ---------- */
.phase-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 6px; }
.phase-btn {
  text-align: left; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; cursor: pointer;
  font-family: inherit; transition: .15s; color: var(--ink-soft); position: relative; overflow: hidden;
  clip-path: var(--notch);
}
.phase-btn::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--neon), var(--hot)); opacity: 0; transition: .15s; }
.phase-btn:hover { border-color: var(--neon); }
.phase-btn.active { border-color: var(--neon); background: linear-gradient(180deg, rgba(0,229,255,.12), var(--bg-2));
  box-shadow: 0 0 18px rgba(0,229,255,.18); }
.phase-btn.active::after { opacity: 1; box-shadow: 0 0 12px rgba(0,229,255,.6); }
.phase-btn .pb-range { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.phase-btn .pb-name { font-family: var(--display); font-size: 17px; font-weight: 700; color: #fff; margin: 3px 0; letter-spacing: .5px; }
.phase-btn .pb-tag { font-size: 12.5px; color: var(--neon); }

.band-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.band-head .bh-name { font-family: var(--display); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.band-head .bh-range { font-family: var(--mono); font-size: 13px; color: var(--gold); }
.band-tagline { color: var(--neon); font-size: 14px; margin: 2px 0 16px; letter-spacing: .5px; }
.goals { list-style: none; padding: 0; margin: 0 0 4px; }
.goals li { position: relative; padding: 7px 0 7px 24px; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.goals li::before { content: "▸"; position: absolute; left: 4px; color: var(--neon); }
.goals li:last-child { border-bottom: none; }

.radar-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.radar-legend span { font-size: 13px; color: var(--ink-soft); }
.radar-legend b { color: var(--neon); }

/* 分步训练步骤：任务卡 / 六边形编号 */
.step {
  display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line-2);
  border-radius: 12px; margin-bottom: 12px; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  transition: .15s; position: relative; clip-path: var(--notch);
}
.step.done { border-color: rgba(198,255,0,.5); background: rgba(198,255,0,.05); box-shadow: 0 0 14px rgba(198,255,0,.12); }
.step-no {
  flex: 0 0 46px; height: 46px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--neon), var(--neon-2)); color: #04121a;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  box-shadow: 0 0 14px rgba(0,229,255,.4);
}
.step-body { flex: 1; }
.step-day { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.step-name { font-family: var(--display); font-size: 16px; font-weight: 700; color: #fff; margin: 2px 0 4px; letter-spacing: .5px; }
.step-ins { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.step-metric { font-size: 12.5px; color: var(--lime); margin-top: 6px; letter-spacing: .3px; }
.step-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; justify-content: center; }
.step-min { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.step-check { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 13px;
  color: var(--ink-soft); cursor: pointer; letter-spacing: .5px; text-transform: uppercase; }
.step-check input { width: 18px; height: 18px; accent-color: var(--lime); }

.progress-bar { height: 9px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 8px 0 4px; }
.progress-bar > span { display: block; height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 8px, transparent 8px 16px), linear-gradient(90deg, var(--neon), var(--lime));
  background-size: 22px 22px, 100% 100%;
  box-shadow: 0 0 12px rgba(0,229,255,.5); transition: width .3s; animation: stripe .8s linear infinite; }
@keyframes stripe { to { background-position: 22px 0, 0 0; } }
.progress-text { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.passline { width: 100%; border-collapse: collapse; font-size: 14px; }
.passline th, .passline td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.passline th { background: var(--panel-2); color: var(--neon); font-weight: 600; font-family: var(--display); letter-spacing: .5px; text-transform: uppercase; }
.passline td b { color: var(--lime); }

/* ---------- KPI 评估 ---------- */
.eval-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; margin: 10px 0; }
.eval { border: 1px solid var(--line-2); border-radius: 11px; padding: 13px; background: var(--panel); position: relative; overflow: hidden; }
.eval::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--neon), transparent); }
.eval .v { font-family: var(--mono); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.eval .pass { color: var(--lime); text-shadow: 0 0 12px rgba(198,255,0,.4); }
.eval .fail { color: var(--danger); text-shadow: 0 0 12px rgba(255,59,92,.4); }
.eval .t { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.bar { height: 8px; background: var(--line); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), var(--lime)); box-shadow: 0 0 10px rgba(0,229,255,.4); }
.suggest { background: rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.3); padding: 13px 15px; border-radius: 11px;
  margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.suggest::before { content: "▸ "; color: var(--neon); }

/* ---------- 计时器 ---------- */
.timer { font-family: var(--mono); font-size: 46px; font-weight: 700; text-align: center; color: #fff;
  margin: 16px 0; letter-spacing: 2px; text-shadow: 0 0 22px rgba(0,229,255,.5); }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.table th { background: var(--panel-2); color: var(--neon); font-weight: 600; font-family: var(--display); text-transform: uppercase; letter-spacing: .5px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; font-family: var(--display); letter-spacing: .5px; }
.badge.ok { background: rgba(198,255,0,.16); color: var(--lime); }
.badge.no { background: rgba(255,59,92,.16); color: var(--danger); }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-dim); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .phase-nav { grid-template-columns: repeat(2, 1fr); }
  .row-2 { grid-template-columns: 1fr; }
  .sidebar { width: 200px; flex-basis: 200px; }
  .content { padding: 20px; }
}
