/* =========================================================
   凤凰体育 IFENG · 共享样式 /assets/site.css
   深夜球场战术板：左侧直立轨道 + 精密网格 + 火焰锚点
   ========================================================= */

/* ---------- 1 · reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, video, canvas { 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 { font: inherit; color: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- 2 · 变量 ---------- */
:root {
  --ink: #0B0D0C;
  --paper: #F2F0EB;
  --flame: #FF4D1A;
  --ember: #D93A0E;
  --pitch: #0E3B2E;
  --mint: #1FA97A;
  --amber: #FFC24B;
  --graphite: #9AA3A0;
  --sand: #E8E4DA;
  --clay: #5B2B1A;

  --line: rgba(242, 240, 235, 0.13);
  --line-2: rgba(242, 240, 235, 0.28);
  --on-pitch: rgba(242, 240, 235, 0.78);

  --rail-w: 124px;
  --top-h: 62px;
  --pad: clamp(20px, 4.2vw, 64px);
  --maxw: 1320px;

  --font-title: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3 · 页面底色与排版 ---------- */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  padding-left: var(--rail-w);
  min-height: 100vh;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#main-content { scroll-margin-top: calc(var(--top-h) + 12px); }

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--flame);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateY(-220%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 4 · 头部轨道 ---------- */
.site-header {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 120;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border-right: 1px solid var(--line);
}

/* 品牌徽标 */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 22px 16px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--paper);
}
.brand-rule {
  display: block;
  width: 26px;
  height: 3px;
  margin: 6px 0 4px;
  background: var(--flame);
}
.brand-cn {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  line-height: 1.5;
}

/* 轨道导航 */
.site-nav {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.nav-list { display: flex; flex-direction: column; }
.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s var(--ease), padding-left 0.16s var(--ease);
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--graphite);
  transition: color 0.16s var(--ease);
}
.nav-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: rgba(242, 240, 235, 0.86);
  transition: color 0.16s var(--ease);
}
.nav-link:hover { background: rgba(255, 77, 26, 0.08); }
.nav-link:hover .nav-label { color: var(--paper); }
.nav-link:hover .nav-num { color: var(--flame); }
.nav-link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(255, 77, 26, 0.16), rgba(255, 77, 26, 0));
}
.nav-link[aria-current="page"] .nav-label { color: var(--paper); font-weight: 700; }
.nav-link[aria-current="page"] .nav-num { color: var(--flame); }
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 26px;
  margin-top: -13px;
  background: var(--flame);
}

/* 轨道底部 */
.rail-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 18px;
  border-top: 1px solid var(--line);
}
.rail-cta {
  display: block;
  text-align: center;
  padding: 11px 6px;
  background: var(--flame);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}
.rail-cta:hover { background: var(--ember); transform: translateY(-2px); }
.rail-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color 0.16s var(--ease);
}
.rail-search:hover { color: var(--amber); }
.rail-search-icon {
  position: relative;
  flex: none;
  width: 13px; height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.rail-search-icon::after {
  content: "";
  position: absolute;
  right: -5px; bottom: -3px;
  width: 7px; height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}

/* 站内检索面板 */
.site-search {
  position: fixed;
  z-index: 130;
  left: var(--rail-w);
  top: 0;
  width: min(330px, 84vw);
  max-height: 100vh;
  overflow-y: auto;
  padding: 28px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #111514;
  border-right: 1px solid var(--line-2);
  visibility: hidden;
  opacity: 0;
  transform: translateX(-14px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s linear;
}
.site-search[data-open] {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.site-search-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--flame);
}
.site-search-input {
  width: 100%;
  padding: 10px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--paper);
}
.site-search-input::placeholder { color: rgba(154, 163, 160, 0.72); }
.site-search-input:focus { outline: none; border-bottom-color: var(--amber); }
.site-search-results { display: flex; flex-direction: column; }
.search-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: rgba(242, 240, 235, 0.85);
  transition: color 0.16s var(--ease), padding-left 0.16s var(--ease);
}
.search-result:hover { color: var(--amber); padding-left: 8px; }
.search-result-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--graphite);
}
.site-search-empty {
  font-size: 13px;
  line-height: 1.8;
  color: var(--graphite);
}

/* 移动端开关按钮 */
.nav-toggle { display: none; }
.nav-toggle-lines { display: block; width: 20px; }
.nav-toggle-lines i {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.site-header[data-open] .nav-toggle-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle-lines i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: fixed;
  z-index: 140;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 5 · 通用容器与排版组件 ---------- */
.wrap {
  width: min(var(--maxw), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: clamp(20px, 3vw, 38px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.breadcrumb a { transition: color 0.16s var(--ease); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { color: rgba(154, 163, 160, 0.45); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

.section { padding-block: clamp(48px, 7vw, 104px); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 3vw, 44px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--flame); }

.speedline {
  height: 1px;
  width: 100%;
  opacity: 0.55;
  background-image: repeating-linear-gradient(90deg, var(--flame) 0 26px, transparent 26px 46px);
}
.speedline--anim { animation: ifeng-slide 1.5s linear infinite; }
@keyframes ifeng-slide {
  from { background-position: 0 0; }
  to { background-position: 46px 0; }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn-primary { background: var(--flame); color: #fff; }
.btn-primary:hover { background: var(--ember); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-2); color: var(--paper); }
.btn-outline:hover { border-color: var(--flame); color: var(--flame); transform: translateY(-2px); }
.btn-ghost { padding-inline: 0; color: var(--mint); }
.btn-ghost::after {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  transition: width 0.16s var(--ease);
}
.btn-ghost:hover::after { width: 34px; }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.tag--flame { color: var(--flame); border-color: rgba(255, 77, 26, 0.5); }
.tag--mint { color: var(--mint); border-color: rgba(31, 169, 122, 0.45); }
.tag--amber { color: var(--amber); border-color: rgba(255, 194, 75, 0.45); }

/* 数据块 */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
}
.stat-unit { font-size: 0.5em; margin-left: 0.25em; color: var(--graphite); }
.stat-label { font-size: 12.5px; letter-spacing: 0.04em; color: var(--graphite); }

/* Bento 栅格 */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bento > * {
  min-width: 0;
  padding: clamp(18px, 2.2vw, 32px);
  background: var(--ink);
}
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* 折叠内容组 */
.disclosure { border-top: 1px solid var(--line); }
.disclosure:last-child { border-bottom: 1px solid var(--line); }
.disclosure > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  transition: color 0.16s var(--ease);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { color: var(--flame); }
.disclosure > summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  margin-top: 8px;
  background:
    linear-gradient(var(--flame), var(--flame)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--flame), var(--flame)) center / 1.5px 12px no-repeat;
  transition: transform 0.2s var(--ease);
}
.disclosure[open] > summary::after { transform: rotate(45deg); }
.disclosure-body {
  padding-bottom: 26px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.9;
  color: var(--on-pitch);
}

/* 正文 */
.prose {
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(242, 240, 235, 0.82);
}
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--paper);
  margin: 1.6em 0 0.6em;
}
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); }
.prose h3 { font-size: clamp(18px, 2vw, 22px); }
.prose ul { margin: 0.8em 0; }
.prose li { position: relative; padding-left: 18px; margin: 0.5em 0; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 8px; height: 1px;
  background: var(--flame);
}
.prose strong { color: var(--paper); font-weight: 700; }
.prose a {
  color: var(--mint);
  border-bottom: 1px solid rgba(31, 169, 122, 0.4);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.prose a:hover { color: var(--amber); border-bottom-color: var(--amber); }

/* 图片容器基础规则 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: #0A1410;
  background-image:
    linear-gradient(160deg, rgba(14, 59, 46, 0.9), rgba(11, 13, 12, 0.96)),
    repeating-linear-gradient(0deg, rgba(242, 240, 235, 0.07) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(242, 240, 235, 0.07) 0 1px, transparent 1px 40px);
}
.media > img,
.media > picture,
.media > picture > img,
.media > svg,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(255, 77, 26, 0.14), transparent 46%),
    linear-gradient(0deg, rgba(11, 13, 12, 0.55), transparent 62%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--16-9 { aspect-ratio: 16 / 9; }
.media--4-3 { aspect-ratio: 4 / 3; }
.media--1-1 { aspect-ratio: 1 / 1; }
.media--4-5 { aspect-ratio: 4 / 5; }
.media-caption {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(242, 240, 235, 0.85);
}

/* 缓动出现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 6 · 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 132px);
  background: var(--pitch);
  border-top: 2px solid var(--flame);
  color: var(--paper);
}
.footer-inner {
  width: min(var(--maxw), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) 0 clamp(22px, 3vw, 34px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: clamp(24px, 3vw, 48px);
}
.footer-brand { display: flex; flex-direction: column; }
.footer-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--paper);
  line-height: 1.1;
}
.footer-cn {
  margin-top: 5px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.1em;
}
.footer-note {
  margin-top: 14px;
  max-width: 26ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(242, 240, 235, 0.7);
}
.footer-col { min-width: 0; }
.footer-h {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(242, 240, 235, 0.18);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13.5px;
  color: rgba(242, 240, 235, 0.8);
  transition: color 0.16s var(--ease);
}
.footer-links a::before {
  content: "";
  width: 0; height: 1px;
  background: var(--flame);
  transition: width 0.16s var(--ease);
}
.footer-links a:hover { color: var(--paper); }
.footer-links a:hover::before { width: 12px; }

.footer-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: rgba(11, 13, 12, 0.38);
  border: 1px solid rgba(242, 240, 235, 0.22);
}
.footer-feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}
.footer-feature-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
}
.footer-feature-text {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(242, 240, 235, 0.68);
}
.footer-feature-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--flame);
}
.footer-feature-link::after {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  transition: width 0.16s var(--ease);
}
.footer-feature-link:hover::after { width: 30px; }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(242, 240, 235, 0.18);
}
.footer-contact-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.footer-contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
}
.footer-contact-val {
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}
.footer-contact-val.is-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(242, 240, 235, 0.18);
  font-size: 12px;
  color: var(--graphite);
}
.footer-tagline {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer-copy { letter-spacing: 0.02em; }
.footer-version { font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ---------- 7 · 平板 ---------- */
@media (max-width: 1023px) {
  :root { --rail-w: 100px; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-feature { grid-column: span 3; }
  .col-2, .col-3, .col-4 { grid-column: span 6; }
  .col-5, .col-7, .col-8 { grid-column: span 12; }
}

/* ---------- 8 · 手机：轨道收起为顶栏 + 抽屉 ---------- */
@media (max-width: 767px) {
  :root { --rail-w: 0px; --top-h: 62px; }

  body { padding-left: 0; padding-top: var(--top-h); }

  .site-header {
    top: 0; bottom: auto; left: 0; right: 0;
    width: auto;
    height: var(--top-h);
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
    background: rgba(11, 13, 12, 0.97);
  }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 0 0 var(--pad);
    border-bottom: 0;
  }
  .brand-mark { font-size: 14px; }
  .brand-rule { display: none; }
  .brand-cn { font-size: 15px; }
  .brand-sub { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--top-h);
    height: var(--top-h);
    margin-left: auto;
    border-left: 1px solid var(--line);
    color: var(--paper);
  }

  .site-nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--top-h);
    z-index: 118;
    flex: none;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    background: #101413;
    border-bottom: 1px solid var(--line-2);
    transition: max-height 0.3s var(--ease);
  }
  .site-header[data-open] .site-nav {
    max-height: calc(100vh - var(--top-h));
    overflow-y: auto;
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.55);
  }

  .nav-link {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 16px var(--pad);
  }
  .nav-num { font-size: 11px; }
  .nav-label { font-size: 15px; }
  .nav-link[aria-current="page"]::before { height: 18px; margin-top: -9px; }

  .rail-foot {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    padding: 16px var(--pad) 20px;
    border-top: 1px solid var(--line);
  }
  .rail-cta { flex: 1 1 auto; font-size: 13px; padding: 12px 10px; }
  .rail-search { padding: 8px 0; font-size: 11px; }

  .site-search {
    left: 0; right: 0;
    top: var(--top-h);
    width: auto;
    max-height: 72vh;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-10px);
  }
  .site-search[data-open] { transform: none; }

  .scroll-progress { left: 0; top: var(--top-h); }

  .bento [class*="col-"] { grid-column: span 12; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-feature { grid-column: span 1; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 9 · 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .speedline--anim { animation: none; }
}
