/* ============================================================
   优德赛场 · 共享样式表 /assets/site.css
   夜场战术数据台：深墨绿暗场 + 荧光青柠 + 等宽数字
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; }

/* ---------- 变量 ---------- */
:root {
  --ink-900: #071A14;
  --ink-800: #0D241C;
  --ink-700: #143A2D;
  --ink-600: #2E5A49;
  --lime:    #B6FF3B;
  --mint:    #7DF7C4;
  --amber:   #F2B84B;
  --paper:   #FFF7E8;
  --mist:    #A9BDB2;
  --coral:   #FF6B57;

  --line: rgba(46, 90, 73, 0.62);
  --line-soft: rgba(169, 189, 178, 0.16);
  --glass: rgba(13, 36, 28, 0.55);

  --font-display: "Oswald", "Archivo Narrow", "Arial Narrow", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "JetBrains Mono", Consolas, "Noto Sans SC", monospace;

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-48: 3rem;
  --fs-64: 4rem;
  --fs-88: 5.5rem;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-offset: 94px;
  --radius: 2px;
}

/* ---------- 基础排版 ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 80% -10%, rgba(182, 255, 59, 0.11), transparent 62%),
    radial-gradient(780px 480px at 4% 2%, rgba(125, 247, 196, 0.07), transparent 66%),
    repeating-linear-gradient(90deg, rgba(46, 90, 73, 0.20) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(46, 90, 73, 0.12) 0 1px, transparent 1px 96px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
p { text-wrap: pretty; }

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

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   页头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 26, 20, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.scroll-progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: rgba(46, 90, 73, 0.45);
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mint), var(--lime));
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -64px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 8px; }

/* 状态条 */
.header-meta {
  border-bottom: 1px dashed var(--line-soft);
}
.header-meta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 7px;
}
.meta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.4;
}
.meta-note--end { color: rgba(169, 189, 178, 0.66); }
.pulse-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(182, 255, 59, 0.55);
  animation: pulseDot 2.6s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(182, 255, 59, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(182, 255, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 255, 59, 0); }
}

/* 主栏 */
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-block: 13px 15px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--ink-600);
  background: linear-gradient(150deg, rgba(182, 255, 59, 0.22), rgba(7, 26, 20, 0) 64%);
  overflow: hidden;
}
.brand-mark-line {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1px;
  height: 140%;
  background: rgba(169, 189, 178, 0.42);
}
.brand-mark-line:nth-child(1) { transform: rotate(24deg) translateX(-5px); }
.brand-mark-line:nth-child(2) { transform: rotate(24deg) translateX(6px); background: var(--lime); opacity: 0.85; }
.brand-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  background: var(--lime);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--paper);
}
.brand-sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
}
.brand:hover .brand-word { color: var(--lime); }

/* 主导航 */
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.4vw, 22px);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 20px);
}
.nav-item { display: block; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 2px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 247, 232, 0.78);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.22s ease;
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-600);
  transition: color 0.2s ease;
}
.nav-label { display: inline; }
.nav-link:hover { color: var(--lime); }
.nav-link:hover .nav-index { color: var(--mint); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--lime); }
.nav-link[aria-current="page"] .nav-index { color: var(--lime); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-expert { display: none; }

/* 右侧动作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.quick-rank {
  display: none;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.quick-rank:hover { background: var(--lime); color: var(--ink-900); }

.expert-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--lime);
  border: 1px solid var(--lime);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.expert-entry-arrow { font-size: 12px; line-height: 1; }
.expert-entry:hover {
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-2px);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--paper);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}
.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle:hover .nav-toggle-bars i { background: var(--lime); }
.nav-toggle[aria-expanded="true"] { border-color: var(--lime); color: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i { background: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 36, 28, 0.92), rgba(7, 26, 20, 1));
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--gutter);
  width: 128px;
  height: 2px;
  background: var(--lime);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.9fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(40px, 6vw, 76px) clamp(24px, 4vw, 44px);
}
.footer-brand { max-width: 40ch; }
.footer-brandline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 0.04em;
  line-height: 1.28;
  color: var(--paper);
}
.footer-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}
.footer-cta { margin-top: 20px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.footer-col { min-width: 0; }
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-links li + li { margin-top: 10px; }
.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(255, 247, 232, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-link:hover { color: var(--lime); border-bottom-color: var(--lime); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 28px;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
}
.footer-contact-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.footer-contact-value {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.footer-legal, .footer-icp { line-height: 1.5; }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease, border-color 0.2s ease, color 0.2s ease;
}
.to-top[data-visible="false"] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--lime); color: var(--lime); }

/* ============================================================
   通用组件
   ============================================================ */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-900);
}
.btn--lime:hover { background: var(--mint); border-color: var(--mint); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 13px; letter-spacing: 0.08em; }

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.crumbs a { color: var(--mist); transition: color 0.2s ease; }
.crumbs a:hover { color: var(--lime); }
.crumbs-sep { color: var(--ink-600); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* 章节 */
.section { padding-block: clamp(40px, 6vw, 88px); }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(20px, 3vw, 36px); }
.section-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: rgba(169, 189, 178, 0.20);
}
@supports (-webkit-text-stroke: 1px #fff) {
  .section-num { color: transparent; -webkit-text-stroke: 1px rgba(169, 189, 178, 0.42); }
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: 0.02em;
  color: var(--paper);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
  color: rgba(255, 247, 232, 0.82);
}
.divider {
  height: 1px;
  margin-block: clamp(24px, 4vw, 48px);
  background: linear-gradient(90deg, var(--line), transparent);
}

/* 栅格 */
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--rail { grid-template-columns: minmax(64px, 88px) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 40px); }

/* 索引栏 */
.rail {
  position: sticky;
  top: calc(var(--header-offset) + 16px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.rail-item {
  display: block;
  padding: 3px 0;
  color: var(--mist);
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}
.rail-item:hover { color: var(--lime); }
.rail-item[aria-current] {
  color: var(--lime);
  box-shadow: inset 2px 0 0 var(--lime);
  padding-left: 8px;
  margin-left: -8px;
}

/* 面板 */
.panel {
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel--glass {
  background: var(--glass);
  border-color: rgba(169, 189, 178, 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}
.panel--raised { background: var(--ink-700); }

/* 数据 */
.data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}
.tag--lime { color: var(--lime); }
.tag--mint { color: var(--mint); }
.tag--amber { color: var(--amber); }
.tag--coral { color: var(--coral); }
.tag--mute { color: var(--mist); }

/* 图片容器（页面阶段放置图片） */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--ink-800);
  background-image:
    repeating-linear-gradient(90deg, rgba(46, 90, 73, 0.35) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(46, 90, 73, 0.28) 0 1px, transparent 1px 44px),
    radial-gradient(120% 90% at 70% 0%, rgba(182, 255, 59, 0.12), transparent 62%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 9px;
  background: rgba(7, 26, 20, 0.82);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.media-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* 装饰光斑 */
.spotlight {
  position: absolute;
  pointer-events: none;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 255, 59, 0.16), transparent 66%);
  z-index: 0;
}

/* 渐显（JS 开启后才生效） */
[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-js="on"] [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .nav-link { font-size: 14px; }
  .primary-nav { gap: 10px; }
  .nav-list { gap: 8px; }
}

@media (max-width: 960px) {
  :root { --header-offset: 88px; }

  .meta-note { font-size: 10px; letter-spacing: 0.12em; }
  .meta-note--end { display: none; }

  .header-main {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding-block: 11px 13px;
  }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: 17px; letter-spacing: 0.14em; }
  .brand-sub { font-size: 9px; letter-spacing: 0.24em; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100vh - var(--header-offset));
    overflow-y: auto;
    padding: 4px var(--gutter) 24px;
    background: rgba(7, 26, 20, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }
  .primary-nav[data-open="true"] { display: flex; animation: navDrop 0.2s ease-out; }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 2px;
    font-size: 16px;
  }
  .nav-link::after { display: none; }
  .nav-index { font-size: 11px; }
  .nav-link[aria-current="page"] { box-shadow: inset 2px 0 0 var(--lime); padding-left: 10px; }

  .nav-expert {
    display: block;
    margin-top: 18px;
    padding: 13px 18px;
    text-align: center;
    background: var(--lime);
    color: var(--ink-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
  }
  .nav-expert:hover { background: var(--mint); }

  .quick-rank { display: inline-flex; }
  .expert-entry { display: none; }
  .nav-toggle { display: inline-flex; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--rail { grid-template-columns: 1fr; }
  .rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
    gap: 8px 16px;
  }
  .rail-item[aria-current] { box-shadow: none; padding-left: 0; margin-left: 0; color: var(--lime); }
}

@media (max-width: 720px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { font-size: 11px; }
  .to-top { order: 3; }
}

@media (max-width: 520px) {
  .meta-note { letter-spacing: 0.08em; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-brandline { font-size: 19px; }
  .footer-contact { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
}

/* ---------- 可访问性降级 ---------- */
@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-js="on"] [data-reveal] { opacity: 1; transform: none; }
}
