/* ============================================================
   英博体育 · /assets/site.css
   轨道导航 + 目录型内容地图 + 夜间球场数据舱
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

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

a { color: var(--cyan); }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #030A08;
  --ink-2: #071C16;
  --surface: #0B2620;
  --line: #17352E;
  --text: #E8F0EC;
  --text-soft: #8FBDB1;
  --cyan: #35F2D0;
  --orange: #FF9E3D;
  --orange-ink: #1B0D00;
  --violet: #A98BFF;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --rail-w: 268px;
  --bar-h: 68px;
  --edge: clamp(18px, 4vw, 56px);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-panel: 0 26px 60px -34px rgba(0, 0, 0, .92);
  --ease: cubic-bezier(.22, .72, .28, 1);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(90% 55% at 82% -8%, rgba(53, 242, 208, .085), transparent 62%),
    radial-gradient(70% 48% at 4% 2%, rgba(169, 139, 255, .06), transparent 64%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.03em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.038em; }
h2 { font-size: clamp(25px, 3vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; }
h4 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }

p { max-width: 42em; }

strong { font-weight: 700; color: var(--text); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: .92em;
  letter-spacing: .02em;
}

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

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

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--edge);
}

.section { padding-block: clamp(40px, 6vw, 88px); }
.section--tight { padding-block: clamp(26px, 4vw, 56px); }

.flow > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: 1fr; }

.split { display: grid; gap: clamp(18px, 3vw, 36px); grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease),
              transform .2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--orange);
  color: var(--orange-ink);
  box-shadow: 0 12px 28px -16px rgba(255, 158, 61, .95);
}
.btn--accent:hover { background: #FFB468; }

.btn--cyan {
  background: var(--cyan);
  color: #04120F;
  box-shadow: 0 12px 28px -16px rgba(53, 242, 208, .9);
}
.btn--cyan:hover { background: #63F7DC; }

.btn--ghost {
  background: rgba(232, 240, 236, .035);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(53, 242, 208, .45);
  color: var(--cyan);
  background: rgba(53, 242, 208, .08);
}

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

/* ---------- 6. 标签胶囊 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(232, 240, 236, .03);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.6;
  white-space: nowrap;
}

.chip--cyan {
  color: var(--cyan);
  border-color: rgba(53, 242, 208, .34);
  background: rgba(53, 242, 208, .08);
}

.chip--orange {
  color: var(--orange);
  border-color: rgba(255, 158, 61, .38);
  background: rgba(255, 158, 61, .1);
}

.chip--violet {
  color: var(--violet);
  border-color: rgba(169, 139, 255, .38);
  background: rgba(169, 139, 255, .1);
}

/* ---------- 7. 面板 / 卡片 ---------- */
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(11, 38, 32, .95), rgba(7, 28, 22, .9));
  box-shadow: var(--shadow-panel);
}

.panel--flat { box-shadow: none; }

.panel--accent::after {
  content: "";
  position: absolute;
  right: -28%;
  bottom: -58%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 242, 208, .22), transparent 68%);
  pointer-events: none;
}

/* ---------- 8. 比分牌式数字 ---------- */
.stat { display: grid; gap: 6px; }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--cyan);
}

.stat-value--orange { color: var(--orange); }
.stat-value--violet { color: var(--violet); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- 9. 图片容器 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface), var(--ink-2));
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(23, 53, 46, .7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 53, 46, .7) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .55;
  pointer-events: none;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 16px;
  background: linear-gradient(0deg, rgba(3, 10, 8, .94), rgba(3, 10, 8, 0));
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  line-height: 1.6;
}

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

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }

.breadcrumb-sep { color: var(--line); }

.breadcrumb-current { color: var(--text); }

/* ---------- 11. 文本件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.6;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

.lede {
  max-width: 40em;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--text-soft);
}

.note {
  max-width: 40em;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-soft);
}

.prose { max-width: 42em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p + p { margin-top: 1em; }

/* ---------- 12. 动效 / 进度 / 返回顶部 ---------- */
html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .52s var(--ease),
    transform .52s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

html[data-js="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 95;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(53, 242, 208, .35);
  border-radius: 50%;
  background: rgba(11, 38, 32, .94);
  color: var(--cyan);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity .24s var(--ease),
    transform .24s var(--ease),
    visibility .24s var(--ease),
    background-color .2s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(53, 242, 208, .16); }
.to-top span { font-size: 15px; line-height: 1; }

/* ---------- 13. 轨道头部 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #04120F;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(4, 18, 15, .98), rgba(3, 10, 8, .98));
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(23, 53, 46, .4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 53, 46, .4) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
  pointer-events: none;
}

.rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 16px;
}

/* 品牌 */
.rail-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.rail-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--cyan), #0FBF9F);
  color: #04120F;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: 0 0 0 1px rgba(53, 242, 208, .35), 0 14px 30px -16px rgba(53, 242, 208, .95);
}

.rail-brand-text { display: grid; gap: 2px; }

.rail-brand-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.rail-brand-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 1.5;
  color: var(--text-soft);
}

/* 批次状态徽章 */
.rail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 13px;
  border: 1px solid rgba(53, 242, 208, .3);
  border-radius: var(--radius-pill);
  background: rgba(53, 242, 208, .07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  line-height: 1.6;
  max-width: none;
}

.rail-badge-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 242, 208, .16);
  animation: railPulse 2.6s ease-in-out infinite;
}

@keyframes railPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid rgba(53, 242, 208, .32);
  border-radius: var(--radius-pill);
  background: rgba(53, 242, 208, .07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.nav-toggle:hover { background: rgba(53, 242, 208, .16); }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 导航（移动端 = 全屏抽屉） */
.site-nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 34px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(53, 242, 208, .1), transparent 62%),
    linear-gradient(180deg, var(--ink-2), var(--ink) 88%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity .2s var(--ease),
    transform .24s var(--ease),
    visibility .24s var(--ease);
}

.site-header[data-open="true"] .site-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-list { display: flex; flex-direction: column; gap: 4px; }

.nav-item { display: block; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-left: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color .2s var(--ease),
    color .2s var(--ease),
    border-color .2s var(--ease),
    padding-left .2s var(--ease);
}

.nav-index {
  flex: 0 0 auto;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  transition: color .2s var(--ease);
}

.nav-text { display: inline-block; }

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(53, 242, 208, .08);
  border-left-color: var(--cyan);
  color: var(--cyan);
  padding-left: 18px;
}

.nav-link:hover .nav-index,
.nav-link:focus-visible .nav-index { color: var(--cyan); }

.nav-link[aria-current="page"] {
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(53, 242, 208, .17), rgba(53, 242, 208, 0));
  color: var(--cyan);
  font-weight: 700;
}

.nav-link[aria-current="page"] .nav-index { color: var(--cyan); }

.nav-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.rail-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.rail-home:hover {
  border-color: rgba(53, 242, 208, .45);
  background: rgba(53, 242, 208, .07);
  color: var(--cyan);
}

body.is-nav-open { overflow: hidden; }

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 96px);
  padding: clamp(36px, 5vw, 64px) var(--edge) 26px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(53, 242, 208, .1), transparent 58%),
    radial-gradient(90% 70% at 92% 8%, rgba(169, 139, 255, .1), transparent 62%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 88%);
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 53, 46, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 53, 46, .45) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .5;
  pointer-events: none;
}

.site-footer > * { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
}

.footer-brand { display: grid; gap: 10px; align-content: start; }

.footer-logo {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.2;
  text-decoration: none;
}

.footer-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(53, 242, 208, .15));
}

.footer-logo:hover { color: var(--cyan); }

.footer-line {
  max-width: none;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  line-height: 1.7;
}

.footer-summary {
  max-width: 26em;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.75;
}

.footer-home {
  justify-self: start;
  margin-top: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
}

.footer-col { display: grid; gap: 12px; align-content: start; }

.footer-title {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.6;
}

.footer-list { display: grid; gap: 9px; }

.footer-list a {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
  text-decoration: none;
  transition: color .18s var(--ease);
}

.footer-list a:hover { color: var(--cyan); }

.footer-mail,
.footer-tel {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  line-height: 1.7;
  word-break: break-all;
}

.footer-address {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.footer-note {
  max-width: 30em;
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.75;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  width: 100%;
  max-width: 1220px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.7;
}

.footer-base p { max-width: none; }

.footer-icp { color: var(--text-soft); }
.footer-copy { color: var(--text-soft); }
.footer-mono { color: var(--violet); }

/* ---------- 15. 平板 / 桌面 ---------- */
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background:
      radial-gradient(120% 60% at 0% 0%, rgba(53, 242, 208, .14), transparent 62%),
      linear-gradient(180deg, #04120F 0%, var(--ink) 78%);
  }

  .rail {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 18px;
    min-height: 100%;
    padding: 26px 20px 22px;
  }

  .rail-badge { align-self: flex-start; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-link { padding: 9px 12px; font-size: 14.6px; }
  .nav-link:hover,
  .nav-link:focus-visible { padding-left: 16px; }

  .nav-actions { margin-top: auto; padding-top: 16px; }

  #main-content { scroll-margin-top: 24px; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  body { padding-left: 0; }

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

@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.5fr .8fr .8fr 1.3fr; gap: 44px; }
}

/* ---------- 16. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  html[data-js="on"] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .rail-badge-dot { animation: none; }
  .btn:hover { transform: none; }
}
