/* ==========================================================================
   易倍体育赛场 · 共享样式 /assets/site.css
   夜场看台 × 数据战术板：深墨绿底、青柠高亮、暖橙红差异、极细蓝图结构
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 变量 ---------- */
:root {
  --moor: #0B1F1A;
  --char: #111614;
  --turf: #16352B;
  --stand: #2E4A40;
  --mist: #E8F1EA;
  --lime: #B8FF3D;
  --ember: #FF6B3D;
  --ash: #9FB3A6;
  --lamp: #F5E6C8;

  --line: rgba(232, 241, 234, 0.14);
  --line-strong: rgba(232, 241, 234, 0.28);
  --lime-soft: rgba(184, 255, 61, 0.08);
  --lime-line: rgba(184, 255, 61, 0.42);
  --ember-soft: rgba(255, 107, 61, 0.1);
  --ember-line: rgba(255, 107, 61, 0.45);
  --ink: #08150F;

  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  --skew: -7deg;
  --radius: 3px;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 122px;
}

/* ---------- 基础排版 ---------- */
html { background-color: var(--moor); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--mist);
  background-color: var(--moor);
  background-image:
    linear-gradient(rgba(232, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 241, 234, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--mist);
}

h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; line-height: 1.15; }
h4 { font-size: 1.05rem; line-height: 1.2; }

p { max-width: 68ch; }

strong, b { font-weight: 700; color: var(--mist); }

::selection { background: var(--lime); color: var(--ink); }

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

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

.mono,
.data-mono {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
  letter-spacing: 0.02em;
}

.data-mono { font-size: 0.875rem; line-height: 1.4; }
.data-mono--lime { color: var(--lime); }

/* ---------- 容器 ---------- */
.shell {
  width: min(var(--shell-w), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 999;
  display: inline-block;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--mist);
  outline-offset: 2px;
}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--moor);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* 上层：品牌层 */
.header-top {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(22, 53, 43, 0.55) 0%, rgba(11, 31, 26, 0.2) 55%, rgba(11, 31, 26, 0) 100%);
}

.header-top__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 64px;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  min-width: 0;
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--lime-line);
  background: linear-gradient(135deg, rgba(184, 255, 61, 0.16), rgba(184, 255, 61, 0) 62%);
  transform: skewX(-8deg);
}

.brand__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: var(--lime-line);
  transform: translateX(-50%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 3px;
  background: var(--lime);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--mist);
  transform: skewX(-4deg);
  transform-origin: left center;
}

.brand__line {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ash);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(17, 22, 20, 0.45);
}

.header-utility__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 61, 0.14);
}

.header-utility__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ash);
  white-space: nowrap;
}

.header-cta { flex: 0 0 auto; }

/* 下层：索引带 */
.header-main { position: relative; }

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.nav-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  white-space: nowrap;
}

.nav-label__num {
  padding: 0 0.32rem;
  font-size: 0.64rem;
  color: var(--lime);
  border: 1px solid var(--lime-line);
  border-radius: 2px;
  line-height: 1.5;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(17, 22, 20, 0.6);
  color: var(--mist);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.nav-toggle:hover { border-color: var(--lime-line); background: var(--lime-soft); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--mist);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.nav-toggle[aria-expanded="true"] { border-color: var(--lime-line); background: var(--lime-soft); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: var(--lime); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 主导航 */
.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0.1rem;
}

.site-nav__item { display: flex; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.6rem 0.78rem;
  border-radius: 2px;
  color: var(--mist);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.32rem;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--ash);
  opacity: 0.62;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.site-nav__label {
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.site-nav__link:hover { color: var(--lime); background: rgba(184, 255, 61, 0.05); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link:hover .site-nav__index { color: var(--lime); opacity: 1; }

.site-nav__link[aria-current="page"] {
  color: var(--lime);
  background: var(--lime-soft);
}

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--lime);
  opacity: 1;
}

.site-nav__link[aria-current="page"] .site-nav__label { font-weight: 700; }

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime) 70%, var(--ember) 100%);
  transition: width 0.12s linear;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.58rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn--lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.btn--lime:hover {
  background: #d2ff77;
  border-color: #d2ff77;
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--mist);
  background: transparent;
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: var(--lime);
  border-color: var(--lime-line);
  background: var(--lime-soft);
}

/* ==========================================================================
   章节 / 网格 / 通用组件
   ========================================================================== */
.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--turf { background: var(--turf); }
.section--char { background: var(--char); }

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.section-index::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--lime-line);
}

.section-title {
  margin-bottom: 1rem;
  transform: skewX(-4deg);
  transform-origin: left center;
}

.lede {
  max-width: 64ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(232, 241, 234, 0.78);
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(1.75rem, 4vw, 3rem);
  background: var(--line);
}

.prose p + p { margin-top: 1rem; }
.prose h2 { margin-top: 2.25rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose ul { margin-top: 1rem; }
.prose li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  color: rgba(232, 241, 234, 0.82);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 1px;
  background: var(--lime);
}
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.grid--split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.grid--split--mirror { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }

.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel--turf { background: var(--turf); }

.card {
  padding: 1.1rem 1.25rem;
  background: rgba(17, 22, 20, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.band {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: linear-gradient(100deg, var(--turf) 0%, rgba(17, 22, 20, 0.92) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
}

.band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--ash);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  white-space: nowrap;
}

.tag--lime {
  color: var(--lime);
  border-color: var(--lime-line);
  background: var(--lime-soft);
}

.tag--ember {
  color: var(--ember);
  border-color: var(--ember-line);
  background: var(--ember-soft);
}

/* 面包屑 */
.breadcrumb {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ash);
}

.breadcrumb__item { display: inline-flex; align-items: center; gap: 0.5rem; }

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--stand);
}

.breadcrumb__link {
  color: var(--ash);
  transition: color 0.18s ease;
}

.breadcrumb__link:hover { color: var(--lime); }

.breadcrumb__current { color: var(--mist); }

/* 图片容器基础规则（页面阶段放 <img>） */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 255, 61, 0.5), transparent);
  transform: rotate(-7deg);
  pointer-events: none;
}

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

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(232, 241, 234, 0.82);
  background: linear-gradient(0deg, rgba(11, 31, 26, 0.92), rgba(11, 31, 26, 0));
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 1.75rem;
  background: var(--moor);
  border-top: 1px solid var(--line-strong);
}

/* 看台斜线：一条贯穿细线 + 一道底部条纹带 */
.site-footer::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 74, 64, 0.9), transparent);
  transform: rotate(-7deg);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -30px;
  height: 150px;
  background: repeating-linear-gradient(
    -7deg,
    rgba(46, 74, 64, 0.55) 0 1px,
    transparent 1px 24px
  );
  opacity: 0.45;
  pointer-events: none;
}

.site-footer__inner { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.brand--footer { margin-right: 0; margin-bottom: 1rem; }

.brand--footer .brand__name { font-size: 1.2rem; }

.brand--footer .brand__line { white-space: normal; letter-spacing: 0.08em; }

.footer-brand__summary {
  max-width: 42ch;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(232, 241, 234, 0.7);
}

.footer-brand__stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ash);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.footer-brand__stamp-num {
  color: var(--lime);
  letter-spacing: 0.1em;
}

.footer-col__title {
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.footer-list__item + .footer-list__item { margin-top: 0.5rem; }

.footer-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime-line);
}

.footer-contact__list { display: grid; gap: 0.65rem; }

.footer-contact__item {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  font-size: 0.86rem;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ash);
  padding-top: 0.22rem;
}

.footer-contact__value {
  color: var(--mist);
  word-break: break-word;
  line-height: 1.7;
}

.footer-contact__item:nth-child(2) .footer-contact__value { font-family: var(--font-mono); letter-spacing: 0.04em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ash);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  max-width: none;
}

.footer-legal .footer-link { font-size: 0.78rem; color: var(--ash); }
.footer-legal .footer-link:hover { color: var(--lime); }

.footer-icp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  max-width: none;
  font-size: 0.76rem;
}

.footer-icp .mono { color: rgba(232, 241, 234, 0.82); letter-spacing: 0.04em; }
.footer-icp__sep { color: var(--stand); }

.to-top {
  padding: 0.42rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(17, 22, 20, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, border-color 0.18s ease, color 0.18s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--lime);
  border-color: var(--lime-line);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .header-utility { display: none; }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  :root { --header-h: 112px; }

  .header-top__inner { min-height: 56px; gap: 0.75rem; }

  .brand__name { font-size: 1.15rem; }
  .brand__line { font-size: 0.66rem; letter-spacing: 0.06em; }

  .header-cta { display: none; }

  .header-main__inner {
    min-height: 54px;
    justify-content: space-between;
  }

  .nav-label { font-size: 0.66rem; letter-spacing: 0.12em; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 90;
    padding: 0.5rem var(--gutter) 1rem;
    background: var(--char);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav[data-open] { display: block; }

  .site-nav__list { flex-direction: column; gap: 0; }

  .site-nav__link {
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: flex-start;
    gap: 0.65rem;
  }

  .site-nav__link::after { display: none; }

  .site-nav__label { font-size: 0.98rem; white-space: normal; }

  .site-nav__index { font-size: 0.7rem; opacity: 0.8; }

  .site-nav__link[aria-current="page"] {
    background: transparent;
    border-bottom-color: var(--lime-line);
  }

  .grid--split,
  .grid--split--mirror,
  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .footer-bottom { align-items: flex-start; }
  .footer-icp { margin-left: 0; }
  .to-top { margin-left: auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.15rem; --header-h: 106px; }

  body { font-size: 0.96rem; }

  .header-top__inner { min-height: 52px; }
  .brand__mark { width: 24px; height: 24px; }
  .brand__line { display: none; }

  .footer-contact__item { grid-template-columns: 2.9rem minmax(0, 1fr); }
  .footer-brand__summary { font-size: 0.84rem; }
  .to-top { width: 100%; margin-left: 0; justify-content: center; }
}

/* ==========================================================================
   动效降级
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-progress__bar { transition: none; }
  .to-top { transform: none; }
  .site-nav__link::after { transition: none; }
}
