/* ==========================================================================
   中欧体育 · 共享样式 /assets/site.css
   档案库 × 赛场边线 视觉体系
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:root {
  --ink: #07130F;
  --ink-2: #0E2A22;
  --ink-3: #1B4A3A;
  --mist: #D7DED4;
  --paper: #F3F6EF;
  --lime: #C8FF4D;
  --orange: #FF8A4A;
  --blue: #5B9DFF;
  --smoke: #A8B5AC;
  --white: #FFFFFF;

  --line: rgba(215, 222, 212, 0.16);
  --line-strong: rgba(215, 222, 212, 0.34);
  --glass: rgba(14, 42, 34, 0.55);

  --font-display: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", "Courier New", monospace;

  --rail: 84px;
  --header-h: 68px;
  --wrap: 1440px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 无障碍 ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: transform 180ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); outline: 2px solid var(--ink); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 外壳 ---------- */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 19, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 28px 10px calc(var(--rail) + 24px);
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  width: 14px; height: 26px;
  display: block;
  flex-shrink: 0;
  background:
    linear-gradient(var(--lime), var(--lime)) 0 0 / 100% 9px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 50% / 100% 4px no-repeat,
    linear-gradient(var(--smoke), var(--smoke)) 0 100% / 100% 9px no-repeat;
  border-radius: 2px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-desc {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--smoke);
  white-space: nowrap;
}

.header-search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--smoke);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.header-search:hover { border-color: var(--line-strong); }

.header-search-icon {
  width: 13px; height: 13px;
  flex-shrink: 0;
  border: 1.8px solid var(--lime);
  border-radius: 50%;
  position: relative;
}
.header-search-icon::after {
  content: "";
  position: absolute;
  right: -5px; bottom: -3px;
  width: 6px; height: 1.8px;
  background: var(--lime);
  transform: rotate(45deg);
  border-radius: 1px;
}

.header-search-hint {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.btn--solid {
  background: var(--lime);
  color: #0A1A12;
  border-color: var(--lime);
}
.btn--solid:hover { background: #D8FF7A; border-color: #D8FF7A; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-1px); }

.btn--quiet {
  padding: 8px 0;
  border: 0;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.btn--quiet:hover { border-bottom-color: var(--lime); }

.btn--block { width: 100%; }

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  transition: border-color 180ms var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--mist);
  border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 160ms var(--ease), background 160ms var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] { border-color: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { background: var(--lime); transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { background: var(--lime); transform: translateY(-6px) rotate(-45deg); }

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  transition: width 90ms linear;
}

/* ---------- 侧边索引轨道导航 ---------- */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 22px 0 18px;
  background: linear-gradient(180deg, #0B211A 0%, #07130F 100%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: thin;
}

.nav-index {
  flex-shrink: 0;
  padding: 0 0 16px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.nav-index-label {
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--smoke);
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 4px;
  color: var(--mist);
  border-left: 2px solid transparent;
  transition: color 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--smoke);
  transition: color 160ms var(--ease);
}

.nav-link-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: inherit;
  transition: inherit;
}

.nav-link:hover { color: var(--lime); background: rgba(200, 255, 77, 0.06); }
.nav-link:hover .nav-num { color: var(--lime); }

.nav-link[aria-current="page"] {
  color: var(--lime);
  background: rgba(200, 255, 77, 0.1);
  border-left-color: var(--lime);
}
.nav-link[aria-current="page"] .nav-num { color: var(--lime); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px; bottom: 12px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.nav-foot {
  flex-shrink: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}
.nav-foot .section-label {
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--smoke);
}

.nav-drawer-head { display: none; }
.nav-drawer-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-drawer-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  color: var(--mist);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
}
.nav-drawer-close:hover { color: var(--lime); border-color: var(--lime); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(3, 10, 8, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ---------- 通用排版 ---------- */
.content-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, .h1, h2, .h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.num-lg {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.85;
  color: var(--mist);
  max-width: 62ch;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--smoke);
  text-transform: uppercase;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line-strong) 0%, var(--line) 40%, transparent 100%);
  position: relative;
}
.rule::before {
  content: "";
  position: absolute;
  left: 0; top: -3px;
  width: 2px; height: 7px;
  background: var(--lime);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lime);
  border-bottom: 1px solid transparent;
  transition: gap 180ms var(--ease), border-color 180ms var(--ease);
}
.link-arrow::after { content: "→"; font-family: var(--font-mono); }
.link-arrow:hover { gap: 12px; border-bottom-color: var(--lime); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb-item {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--smoke);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  font-family: var(--font-mono);
  color: rgba(168, 181, 172, 0.5);
}
.breadcrumb-item a { color: var(--smoke); transition: color 160ms var(--ease); }
.breadcrumb-item a:hover { color: var(--lime); }
.breadcrumb-item[aria-current="page"] { color: var(--lime); }

/* ---------- 堆叠面板 ---------- */
.panel {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}

.panel--glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line-strong);
}

.panel--paper {
  background: var(--paper);
  color: #14261F;
  border-color: transparent;
}
.panel--paper h1, .panel--paper h2, .panel--paper h3, .panel--paper .panel-title { color: #0A1A12; }
.panel--paper .lede, .panel--paper p { color: #2B3D35; }
.panel--paper .section-label, .panel--paper .panel-kicker { color: #55705F; }
.panel--paper .rule { background: linear-gradient(90deg, #9DB0A3 0%, #C7D3C9 60%, transparent 100%); }

.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.panel-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
  text-transform: uppercase;
}
.panel-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.panel-body { color: var(--mist); font-size: 15px; line-height: 1.8; }
.panel-body + .panel-body { margin-top: 12px; }

/* ---------- 横切条带 ---------- */
.band {
  position: relative;
  background: linear-gradient(100deg, #0B3A2C 0%, #10261F 62%, #0A1712 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(200, 255, 77, 0.055) 0 1px, transparent 1px 32px);
  pointer-events: none;
}
.band-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 28px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--mist);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}
.tag--lime { color: #0A1A12; background: var(--lime); border-color: var(--lime); }
.tag--muted { color: var(--smoke); border-color: var(--line); }

.version-a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--orange);
  border: 1px solid rgba(255, 138, 74, 0.45);
  background: rgba(255, 138, 74, 0.1);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.version-b {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid rgba(91, 157, 255, 0.45);
  background: rgba(91, 157, 255, 0.1);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--5-7 > *:nth-child(1) { grid-column: span 5; }
.grid--5-7 > *:nth-child(2) { grid-column: span 7; }
.grid--4-8 > *:nth-child(1) { grid-column: span 4; }
.grid--4-8 > *:nth-child(2) { grid-column: span 8; }
.grid--3-6-3 > *:nth-child(1) { grid-column: span 3; }
.grid--3-6-3 > *:nth-child(2) { grid-column: span 6; }
.grid--3-6-3 > *:nth-child(3) { grid-column: span 3; }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), background 200ms var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--white);
}
.card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--smoke);
  margin-top: 10px;
}
.card-text { font-size: 14px; line-height: 1.75; color: var(--smoke); margin-top: 10px; }

/* ---------- 图片容器基础规则 ---------- */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, #123528 0%, #0B1F19 55%, #132C23 100%);
  border: 1px solid var(--line);
}
.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(215, 222, 212, 0.07) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, rgba(200, 255, 77, 0.06) 0 1px, transparent 1px 42px);
  pointer-events: none;
}
.card-media::after {
  content: "";
  position: absolute;
  left: 14px; bottom: 14px;
  width: 46px; height: 32px;
  border-left: 1px solid rgba(200, 255, 77, 0.5);
  border-bottom: 1px solid rgba(200, 255, 77, 0.5);
  pointer-events: none;
}
.card-media > img,
.card-media > svg,
.card-media > picture { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.card-media--tall { aspect-ratio: 4 / 5; }
.card-media--wide { aspect-ratio: 21 / 9; }
.card-media--square { aspect-ratio: 1 / 1; }

/* ---------- 统计块 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 11px; letter-spacing: 0.12em; color: var(--smoke); }

/* ---------- 折叠块 ---------- */
.fold {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(14, 42, 34, 0.4);
  overflow: hidden;
}
.fold + .fold { margin-top: 10px; }
.fold-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mist);
  transition: color 180ms var(--ease), background 180ms var(--ease);
}
.fold-head:hover { color: var(--lime); background: rgba(200, 255, 77, 0.05); }
.fold-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--lime);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: transform 200ms var(--ease);
}
.fold[data-open="true"] .fold-icon { transform: rotate(45deg); }
.fold-body { padding: 0 18px 0; max-height: 0; overflow: hidden; transition: max-height 240ms var(--ease), padding 240ms var(--ease); }
.fold[data-open="true"] .fold-body { padding: 0 18px 18px; }
.fold-body p { font-size: 14px; line-height: 1.8; color: var(--smoke); }
.fold-body p + p { margin-top: 10px; }

/* ---------- 复制按钮 ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  color: var(--mist);
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.copy-btn:hover { color: var(--lime); border-color: var(--lime); }
.copy-btn[data-copied="true"] { color: #0A1A12; background: var(--lime); border-color: var(--lime); }

/* ---------- 双版本对照 ---------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-2);
  padding: 20px;
}
.compare-track { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-pane {
  border-radius: var(--r-sm);
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(7, 19, 15, 0.5);
}
.compare-pane--a { border-left: 3px solid var(--orange); }
.compare-pane--b { border-left: 3px solid var(--blue); }

/* ---------- 技能树路径 ---------- */
.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--lime), rgba(200, 255, 77, 0.1));
}
.timeline-node { position: relative; padding: 0 0 22px 0; }
.timeline-node::before {
  content: "";
  position: absolute;
  left: -22px; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--lime);
}
.timeline-node:last-child { padding-bottom: 0; }

/* ---------- 显现 ---------- */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
[data-reveal][data-revealed="true"] { opacity: 1; transform: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: auto;
  position: relative;
  background: #04100C;
  border-top: 1px solid var(--line);
  color: var(--mist);
}

.footer-tick {
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 14px);
  opacity: 0.7;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 52px 28px calc(28px + env(safe-area-inset-bottom));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .brand-mark { height: 30px; }

.footer-brand-line {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 34ch;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-link {
  font-size: 13px;
  color: var(--smoke);
  letter-spacing: 0.02em;
  transition: color 160ms var(--ease), padding-left 160ms var(--ease);
  display: inline-block;
}
.footer-link:hover { color: var(--lime); padding-left: 4px; }

.footer-contact-row { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(168, 181, 172, 0.65);
  text-transform: uppercase;
}
.footer-contact-value {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--mist);
  word-break: break-all;
  transition: color 160ms var(--ease);
}
a.footer-contact-value:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--smoke);
}

.footer-note {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(168, 181, 172, 0.78);
  max-width: 66ch;
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  :root { --rail: 72px; }
  .header-inner { gap: 16px; padding-left: calc(var(--rail) + 18px); }
  .brand-desc { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }

  .header-inner {
    padding: 9px 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .header-brand { flex: 1 1 auto; }
  .brand-name { font-size: 17px; }
  .header-search { order: 3; flex: 1 1 100%; height: 38px; }
  .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 84vw);
    padding: 20px 0 22px;
    z-index: 70;
    transform: translateX(-102%);
    transition: transform 260ms var(--ease);
    border-right: 1px solid var(--line-strong);
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45);
  }
  .site-nav[data-open="true"] { transform: translateX(0); }

  .nav-index { display: none; }
  .nav-foot { display: none; }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-list { gap: 0; padding: 0 10px; }

  .nav-link {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-left: 2px solid transparent;
    border-radius: var(--r-sm);
  }
  .nav-link-text {
    writing-mode: horizontal-tb;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .nav-num { font-size: 11px; }
  .nav-link[aria-current="page"]::after { right: 14px; bottom: auto; top: 50%; margin-top: -2px; }

  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact .footer-links { flex-direction: row; flex-wrap: wrap; gap: 18px 32px; }

  .grid { gap: 16px; }
  .grid--5-7 > *, .grid--4-8 > *, .grid--3-6-3 > * { grid-column: span 12 !important; }

  .compare-track { grid-template-columns: 1fr; }

  .content-wrap { padding: 0 18px; }
  .panel { padding: 22px; }
  .band-inner { padding: 26px 18px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .header-inner { padding: 8px 14px; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 12px; height: 22px; }

  .content-wrap { padding: 0 14px; }
  .panel { padding: 18px; border-radius: var(--r-md); }
  .band-inner { padding: 22px 14px; }

  .footer-inner { padding: 40px 14px 24px; }
  .footer-groups { grid-template-columns: 1fr; gap: 22px; }
  .footer-contact .footer-links { flex-direction: column; gap: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-brand-line { max-width: none; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .nav-scrim { transition: none; }
}
