/* ===========================================================
   硬核榜 HARD-BENCH — 主样式
   =========================================================== */
:root {
  --bg: #07080a;
  --bg-2: #0a0c10;
  --panel: #0f1218;
  --panel-2: #131720;
  --panel-3: #171c26;
  --line: #1d222b;
  --line-2: #2a3140;
  --text: #eef2f8;
  --text-2: #b8c2d0;
  --muted: #8b95a6;
  --dim: #5f6a7b;
  --lime: #d8ff3e;
  --lime-soft: rgba(216, 255, 62, 0.12);
  --cyan: #45e0c0;
  --violet: #9a8cff;
  --up: #ff6070;
  --down: #35d29a;
  --radius: 14px;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.85);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(216, 255, 62, 0.07), transparent 70%),
    radial-gradient(760px 480px at 92% 2%, rgba(154, 140, 255, 0.08), transparent 68%),
    radial-gradient(900px 700px at 50% 108%, rgba(69, 224, 192, 0.05), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7, 8, 10, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--lime);
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(216, 255, 62, 0.25);
}
.brand-mark svg { display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 15px; letter-spacing: 0.02em; font-weight: 700; }
.brand-txt span { font-family: var(--mono); font-size: 9px; color: var(--dim); letter-spacing: 0.16em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav-links a {
  padding: 7px 13px; border-radius: 9px; font-size: 13.5px; color: var(--text-2);
  transition: color 0.16s, background 0.16s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.nav-links a.on { color: #07080a; background: var(--lime); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-tag {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  border: 1px solid var(--line-2); padding: 5px 9px; border-radius: 7px;
  display: flex; align-items: center; gap: 6px;
}
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--down); box-shadow: 0 0 8px var(--down); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.nav-burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 9px; }

/* 分组下拉 */
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: 9px; font-size: 13.5px; color: var(--text-2);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color 0.16s, background 0.16s;
}
.nav-trigger:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.nav-trigger.on { color: #07080a; background: var(--lime); font-weight: 600; }
.nav-trigger svg { opacity: 0.65; transition: transform 0.18s; }
.nav-group.open .nav-trigger svg { transform: rotate(180deg); }

.nav-drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow); z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.nav-group:hover .nav-drop,
.nav-group.open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 11px; border-radius: 8px; transition: background 0.14s;
}
.nav-drop a:hover { background: rgba(255, 255, 255, 0.05); }
.nav-drop a b { font-size: 13px; font-weight: 600; color: var(--text); }
.nav-drop a span { font-size: 11.5px; color: var(--dim); line-height: 1.4; }

.nav-cta {
  padding: 7px 14px; border-radius: 9px; border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--text-2); white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.nav-cta:hover { border-color: var(--lime); color: var(--lime); }

/* ---------------- 通用组件 ---------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); background: rgba(255, 255, 255, 0.02);
}
.chip.lime { color: var(--lime); border-color: rgba(216, 255, 62, 0.35); background: var(--lime-soft); }
.chip.cyan { color: var(--cyan); border-color: rgba(69, 224, 192, 0.3); background: rgba(69, 224, 192, 0.08); }
.chip.violet { color: var(--violet); border-color: rgba(154, 140, 255, 0.3); background: rgba(154, 140, 255, 0.08); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: #07080a; box-shadow: 0 10px 30px -10px rgba(216, 255, 62, 0.5); }
.btn-lime:hover { background: #e4ff69; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: #3a4354; background: rgba(255, 255, 255, 0.05); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.card-pad { padding: 22px; }

.panel-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.panel-head h3 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: 0.01em; }
.panel-head .hint { font-size: 12px; color: var(--dim); margin-left: auto; font-family: var(--mono); }

.sec { padding: 64px 0; position: relative; z-index: 1; }
.sec-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-idx { font-family: var(--mono); font-size: 11px; color: var(--lime); letter-spacing: 0.18em; }
.sec-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 8px 0 0; font-weight: 700; letter-spacing: -0.02em; }
.sec-desc { color: var(--muted); font-size: 14px; max-width: 620px; margin: 10px 0 0; }
.sec-head .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.grid { display: grid; gap: 16px; }

/* ---------------- HERO ---------------- */
.hero { padding: 62px 0 40px; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 52px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.06; margin: 0; letter-spacing: -0.035em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--lime); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.09em;
  background: linear-gradient(90deg, rgba(216, 255, 62, 0.45), rgba(216, 255, 62, 0));
  border-radius: 2px;
}
.hero-sub { margin: 22px 0 0; color: var(--text-2); font-size: 16px; max-width: 520px; line-height: 1.75; }
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stat .num { font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.hero-stat .num i { font-style: normal; color: var(--lime); font-size: 15px; margin-left: 2px; }
.hero-stat .lab { font-size: 11.5px; color: var(--dim); letter-spacing: 0.08em; margin-top: 2px; }

/* 领奖台 */
.podium { display: grid; gap: 12px; }
.podium-title { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.14em; margin-bottom: 4px; }
.podium-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prow {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
  padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--panel-2), rgba(15, 18, 24, 0.6));
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  position: relative; overflow: hidden;
}
.prow:hover { transform: translateX(3px); border-color: var(--line-2); }
.prow.top1 { border-color: rgba(216, 255, 62, 0.32); background: linear-gradient(90deg, rgba(216, 255, 62, 0.09), rgba(15, 18, 24, 0.7)); }
.prow.top1::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--lime); }
.prow-rank { font-family: var(--mono); font-size: 15px; color: var(--dim); text-align: center; }
.prow.top1 .prow-rank { color: var(--lime); }
.prow-name { font-weight: 640; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.prow-meta { font-size: 11.5px; color: var(--dim); margin-top: 2px; font-family: var(--mono); }
.prow-score { font-family: var(--mono); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.prow.top1 .prow-score { color: var(--lime); }
.prow-score span { font-size: 10px; color: var(--dim); font-weight: 400; margin-left: 3px; }

/* ---------------- 榜单表格 ---------------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.lb { width: 100%; border-collapse: collapse; min-width: 940px; }
table.lb thead th {
  position: sticky; top: 0; z-index: 2;
  background: #0d1015; border-bottom: 1px solid var(--line);
  font-size: 11.5px; font-weight: 500; color: var(--muted);
  text-align: left; padding: 12px 14px; white-space: nowrap; letter-spacing: 0.03em;
  cursor: pointer; user-select: none; transition: color 0.15s, background 0.15s;
}
table.lb thead th:hover { color: var(--text); background: #12161d; }
table.lb thead th.no-sort { cursor: default; }
table.lb thead th.no-sort:hover { color: var(--muted); background: #0d1015; }
table.lb thead th .arw { color: var(--lime); font-size: 9px; margin-left: 3px; }
table.lb tbody tr { border-bottom: 1px solid #151a22; transition: background 0.13s; }
table.lb tbody tr:last-child { border-bottom: none; }
table.lb tbody tr:hover { background: rgba(216, 255, 62, 0.032); }
table.lb tbody td { padding: 11px 14px; font-size: 13.5px; vertical-align: middle; }
td.rk { font-family: var(--mono); color: var(--dim); width: 46px; }
td.rk.m1 { color: var(--lime); font-weight: 700; }
td.rk.m2 { color: #cfd8e3; font-weight: 600; }
td.rk.m3 { color: #c79a68; font-weight: 600; }
.mcell { display: flex; align-items: center; gap: 10px; }
.mavatar {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700;
  background: var(--panel-3); border: 1px solid var(--line-2); color: var(--text);
}
.mname { font-weight: 600; font-size: 13.8px; line-height: 1.3; }
.msub { font-size: 11px; color: var(--dim); font-family: var(--mono); margin-top: 1px; }
.vendor-cell { color: var(--text-2); font-size: 12.5px; white-space: nowrap; }
.scorebar { display: flex; align-items: center; gap: 8px; min-width: 96px; }
.scorebar .bar { flex: 1; height: 5px; background: #1b212b; border-radius: 3px; overflow: hidden; min-width: 34px; }
.scorebar .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #6f8f1f, var(--lime)); }
.scorebar .v { font-family: var(--mono); font-size: 12.5px; width: 34px; text-align: right; color: var(--text-2); }
.total-cell { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.pill { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 10.5px; font-family: var(--mono); border: 1px solid var(--line-2); color: var(--muted); }
.pill.open { color: var(--cyan); border-color: rgba(69, 224, 192, 0.28); background: rgba(69, 224, 192, 0.07); }
.pill.reason { color: var(--violet); border-color: rgba(154, 140, 255, 0.28); background: rgba(154, 140, 255, 0.07); }
.pill.closed { color: #b6a06a; border-color: rgba(182, 160, 106, 0.26); background: rgba(182, 160, 106, 0.06); }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tabs { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.tabs button {
  border: 0; background: transparent; padding: 7px 14px; border-radius: 7px;
  font-size: 13px; color: var(--muted); cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.tabs button:hover { color: var(--text); }
.tabs button.on { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs button.on.lime { background: var(--lime); color: #07080a; font-weight: 600; box-shadow: none; }

.search {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 13px; color: var(--text); font-size: 13px; min-width: 200px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search:focus { border-color: rgba(216, 255, 62, 0.4); box-shadow: 0 0 0 3px rgba(216, 255, 62, 0.07); }
.search::placeholder { color: var(--dim); }

select.sel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; color: var(--text-2); font-size: 13px; outline: none; cursor: pointer;
}

/* ---------------- 图表容器 ---------------- */
.chart { width: 100%; }
.h-340 { height: 340px; }
.h-420 { height: 420px; }
.h-300 { height: 300px; }
.chart-note { font-size: 11.5px; color: var(--dim); margin-top: 10px; font-family: var(--mono); letter-spacing: 0.01em; }

/* ---------------- 场景榜 ---------------- */
.rank-list { display: flex; flex-direction: column; }
.rrow {
  display: grid; grid-template-columns: 40px 200px 1fr 66px; align-items: center; gap: 16px;
  padding: 12px 6px; border-bottom: 1px dashed #191f28;
}
.rrow:last-child { border-bottom: none; }
.rrow .no { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.rrow .no.hi { color: var(--lime); }
.rrow .nm { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .nm small { display: block; font-weight: 400; color: var(--dim); font-size: 11px; font-family: var(--mono); }
.rrow .track { height: 8px; background: #171c25; border-radius: 4px; overflow: hidden; }
.rrow .track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4c6b12, var(--lime)); transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rrow .vl { font-family: var(--mono); font-size: 14px; text-align: right; color: var(--text); }

/* ---------------- 工具卡片 ---------------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.tool {
  padding: 16px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  display: flex; flex-direction: column; gap: 10px;
}
.tool:hover { transform: translateY(-3px); border-color: #333c4d; box-shadow: var(--shadow); }
.tool-top { display: flex; align-items: center; gap: 11px; }
.tool-logo {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 15px; color: #07080a;
  background: linear-gradient(135deg, var(--lime), #8fd14f);
}
.tool-logo.v2 { background: linear-gradient(135deg, #45e0c0, #2f9fd6); }
.tool-logo.v3 { background: linear-gradient(135deg, #9a8cff, #d78cff); }
.tool-logo.v4 { background: linear-gradient(135deg, #ffb45c, #ff6f91); }
.tool-name { font-weight: 640; font-size: 14px; }
.tool-cat { font-size: 11px; color: var(--dim); font-family: var(--mono); }
.tool-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.tool-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10.5px; padding: 2px 7px; border-radius: 5px; background: #171d26; color: var(--dim); border: 1px solid #212836; }
.tool-price { font-size: 10.5px; font-family: var(--mono); color: var(--lime); margin-left: auto; }

/* ---------------- 模型详情 ---------------- */
.detail-hero { padding: 40px 0 26px; position: relative; z-index: 1; }
.crumb { font-size: 12px; color: var(--dim); margin-bottom: 18px; font-family: var(--mono); }
.crumb a:hover { color: var(--lime); }
.detail-title { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-title h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 750; }
.detail-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.kpi { padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.kpi .k { font-size: 11px; color: var(--dim); letter-spacing: 0.06em; }
.kpi .v { font-family: var(--mono); font-size: 23px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.kpi .v small { font-size: 11px; color: var(--dim); font-weight: 400; }
.kpi .v.lime { color: var(--lime); }

.bench-row { display: grid; grid-template-columns: 160px 1fr 62px 48px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px dashed #191f28; }
.bench-row:last-child { border-bottom: none; }
.bench-row .bn { font-size: 13px; color: var(--text-2); }
.bench-row .bn small { display: block; font-size: 10.5px; color: var(--dim); font-family: var(--mono); }
.bench-row .tr { height: 7px; background: #171c25; border-radius: 4px; overflow: hidden; position: relative; }
.bench-row .tr i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #5c7a17, var(--lime)); }
.bench-row .tr u { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--line-2); }
.bench-row .bv { font-family: var(--mono); font-size: 13.5px; text-align: right; }
.bench-row .br { font-family: var(--mono); font-size: 11px; color: var(--dim); text-align: right; }

/* ---------------- 对比 ---------------- */
.picker { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  padding: 7px 13px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--panel); font-size: 12.5px; color: var(--text-2); cursor: pointer;
  transition: all 0.15s; display: flex; align-items: center; gap: 7px;
}
.pick:hover { border-color: #3d475a; color: var(--text); }
.pick.on { background: var(--lime-soft); border-color: rgba(216, 255, 62, 0.5); color: var(--lime); font-weight: 600; }
.pick .x { font-size: 10px; opacity: 0.7; }
.cmp-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.cmp-legend span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.cmp-legend i { width: 9px; height: 9px; border-radius: 3px; display: block; }

/* ---------------- 方法论 ---------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 16px; margin: 26px 0 10px; color: var(--text); }
.prose p, .prose li { color: var(--text-2); font-size: 14.5px; line-height: 1.85; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose code { font-family: var(--mono); font-size: 12.5px; background: #171d26; padding: 2px 6px; border-radius: 5px; color: var(--lime); border: 1px solid #212836; }
.formula { font-family: var(--mono); font-size: 13px; background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--lime); padding: 13px 16px; border-radius: 8px; color: var(--text-2); overflow-x: auto; margin: 14px 0; }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 46px 0 34px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.foot-col h4 { font-size: 12px; color: var(--dim); letter-spacing: 0.1em; margin: 0 0 14px; font-weight: 500; text-transform: uppercase; }
.foot-col a { display: block; font-size: 13px; color: var(--text-2); padding: 4px 0; transition: color 0.15s; }
.foot-col a:hover { color: var(--lime); }
.foot-brand p { font-size: 12.5px; color: var(--dim); line-height: 1.8; max-width: 300px; margin: 14px 0 0; }
.foot-bot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; color: var(--dim); flex-wrap: wrap; font-family: var(--mono); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; background: #0b0d11; border-bottom: 1px solid var(--line);
    padding: 12px; gap: 4px; align-items: stretch;
  }
  .nav-burger { display: block; margin-left: auto; }
  .nav-right .nav-tag { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-group { width: 100%; }
  .nav-trigger { width: 100%; justify-content: space-between; }
  .nav-group:hover .nav-drop { opacity: 0; visibility: hidden; transform: translateY(-6px); }
  .nav-drop {
    position: static; min-width: 0; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 4px 10px; display: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-group.open .nav-drop { display: block; }
  .rrow { grid-template-columns: 30px 1fr 56px; }
  .rrow .track { display: none; }
  .sec { padding: 44px 0; }
  .hero { padding: 40px 0 20px; }
  .bench-row { grid-template-columns: 120px 1fr 54px; }
  .bench-row .br { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .hero-stats { gap: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .detail-title h1 { font-size: 26px; }
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0c10; }
::-webkit-scrollbar-thumb { background: #222836; border-radius: 5px; border: 2px solid #0a0c10; }
::-webkit-scrollbar-thumb:hover { background: #2e3648; }

::selection { background: rgba(216, 255, 62, 0.24); }

/* 入场动画：默认可见，仅在 JS 就绪后启用隐藏 */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.flat .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
