/* =========================================================
   星空体育 · 共享样式 /assets/site.css
   夜间看台 · 堆叠面板 · 星轨索引
   ========================================================= */

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #08102B;
  --ink-2: #131A3D;
  --ink-3: #050A1C;
  --nebula: #5A3D9E;
  --signal: #FF7A1A;
  --signal-soft: #FFB066;
  --paper: #F3EBDD;
  --paper-ink: #17171B;
  --paper-muted: #4B4B54;
  --red: #D92B3F;
  --amber: #F2B705;
  --silver: #C7D2E7;
  --turf: #2E8B6F;

  --line: rgba(199, 210, 231, 0.16);
  --line-strong: rgba(199, 210, 231, 0.34);
  --line-paper: rgba(23, 23, 27, 0.14);

  --radius: 3px;
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-space: clamp(3rem, 7vw, 6.5rem);

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --font-score: "Barlow Condensed", "Noto Sans SC", "Arial Narrow", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  margin: 0;
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 620px at 84% -10%, rgba(90, 61, 158, 0.42), transparent 70%),
    radial-gradient(720px 520px at 4% 10%, rgba(90, 61, 158, 0.20), transparent 72%),
    radial-gradient(1040px 720px at 50% 112%, rgba(46, 139, 111, 0.12), transparent 68%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--silver);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--signal);
  color: #10162B;
}

#main-content { display: block; }

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

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.section--panel {
  background: rgba(19, 26, 61, 0.66);
  border-block: 1px solid var(--line);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}
.section--paper .rule { background: var(--line-paper); }

/* ---------- 5. 排版组件 ---------- */
.h-display {
  margin: 0;
  font-family: var(--font-score);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.2vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.28;
}
.h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.85;
  color: rgba(199, 210, 231, 0.86);
}
.section--paper .lede,
.panel--paper .lede { color: var(--paper-muted); }

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

.stat-figure {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.micro {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(199, 210, 231, 0.62);
}
.section--paper .micro,
.panel--paper .micro { color: rgba(23, 23, 27, 0.55); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.section--paper .eyebrow,
.panel--paper .eyebrow { color: #A24B08; }

.prose { max-width: 68ch; }
.prose p { margin-block: 0 1.05em; line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }
.prose ul {
  list-style: disc;
  padding-left: 1.25em;
  display: grid;
  gap: 0.4em;
}
.prose a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section--paper .prose a,
.panel--paper .prose a { color: #A24B08; }

/* ---------- 6. 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  background: rgba(19, 26, 61, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 60px -52px rgba(0, 0, 0, 0.95);
}

.panel--paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-color: var(--line-paper);
  box-shadow: 0 28px 60px -52px rgba(0, 0, 0, 0.6);
}

.panel--offset { transform: translateY(-1.5rem); }

.panel__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--signal);
}

/* ---------- 7. 状态标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(8, 16, 43, 0.35);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--silver);
  white-space: nowrap;
}
.chip--signal { border-color: var(--signal); color: var(--signal); background: rgba(255, 122, 26, 0.08); }
.chip--red { border-color: var(--red); color: #FF7C89; background: rgba(217, 43, 63, 0.12); }
.chip--amber { border-color: var(--amber); color: var(--amber); background: rgba(242, 183, 5, 0.1); }
.chip--live { border-color: var(--turf); color: #6ED8B4; background: rgba(46, 139, 111, 0.12); }
.chip--muted { border-color: rgba(199, 210, 231, 0.2); color: rgba(199, 210, 231, 0.6); }

.section--paper .chip { border-color: var(--line-paper); color: var(--paper-muted); background: rgba(23, 23, 27, 0.04); }

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

.btn--signal {
  background: var(--signal);
  color: #10162B;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 10px 24px -16px rgba(255, 122, 26, 1);
}
.btn--signal:hover {
  background: #FF9142;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
              0 14px 28px -16px rgba(255, 122, 26, 0.95);
}

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

.btn--paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.btn--paper:hover { background: #FFFFFF; }

.btn--sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* ---------- 9. 图片容器（页面阶段复用） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 82% 0%, rgba(90, 61, 158, 0.55), transparent 62%),
    linear-gradient(160deg, #131A3D 0%, #08102B 58%, #120F33 100%);
}

.media-frame > img,
.media-frame > picture > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  background: repeating-linear-gradient(
    118deg,
    rgba(199, 210, 231, 0.07) 0 1px,
    transparent 1px 22px
  );
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 10, 28, 0.85), transparent);
}

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

.media-frame__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  padding-block: 1.1rem;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.breadcrumb__link {
  color: rgba(199, 210, 231, 0.68);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.breadcrumb__link:hover { color: var(--signal); }
.breadcrumb__sep { color: rgba(199, 210, 231, 0.3); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 11. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  top: -4rem;
  left: var(--gutter);
  z-index: 999;
  display: inline-block;
  padding: 0.65rem 1.05rem;
  background: var(--signal);
  color: #10162B;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0 0 2px 2px;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 0; }

/* =========================================================
   页头
   ========================================================= */
.site-header {
  position: relative;
  z-index: 80;
}

.header-rail {
  background: #060B1E;
  border-bottom: 1px solid rgba(199, 210, 231, 0.14);
}

.header-rail__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding-block: 0.45rem;
}

.rail-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(199, 210, 231, 0.55);
  white-space: nowrap;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(199, 210, 231, 0.8);
  white-space: nowrap;
}

.header-status__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--turf);
  box-shadow: 0 0 0 3px rgba(46, 139, 111, 0.2);
}

.header-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(8, 16, 43, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  min-height: 68px;
  padding-block: 0.5rem;
}

/* 品牌台号 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  padding-block: 0.3rem;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  color: #0B1226;
  background: linear-gradient(150deg, var(--signal), var(--signal-soft));
  border-radius: 3px 3px 3px 12px;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35),
              0 10px 22px -16px rgba(255, 122, 26, 1);
  transition: border-radius 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand-mark:hover .brand-mark__glyph,
.brand-mark:focus-visible .brand-mark__glyph {
  border-radius: 12px 3px 12px 3px;
  transform: translateY(-1px);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark__name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.brand-mark__meta {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(199, 210, 231, 0.6);
}

.brand-mark--footer .brand-mark__name { color: var(--paper); }

/* 导航 */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.5rem);
}

.nav__item { list-style: none; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.55rem 0.1rem;
  border-bottom: 2px solid transparent;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(199, 210, 231, 0.38);
  transition: color 0.24s var(--ease);
}

.nav__link:hover { color: var(--paper); }
.nav__link:hover .nav__index { color: var(--signal); }

.nav__link[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--signal);
}
.nav__link[aria-current="page"] .nav__index { color: var(--signal); }

/* 操作区 */
.header-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.nav-toggle:hover { border-color: var(--signal); color: var(--signal); }

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.26s var(--ease), opacity 0.26s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(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(-5px) rotate(-45deg);
}

.nav-toggle__label { white-space: nowrap; }

/* 滚动进度 */
.scroll-progress {
  position: relative;
  height: 2px;
  background: rgba(199, 210, 231, 0.1);
}
.scroll-progress__bar {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, var(--nebula) 0%, var(--signal) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.5rem, 7vw, 6rem);
  background: var(--ink-3);
  border-top: 1px solid var(--line);
  color: var(--silver);
}

.footer-orbit {
  position: absolute;
  top: -46%;
  right: -14%;
  width: min(680px, 92vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(90, 61, 158, 0.4);
  pointer-events: none;
}
.footer-orbit::before,
.footer-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(199, 210, 231, 0.1);
}
.footer-orbit::before { inset: 14%; }
.footer-orbit::after { inset: 32%; border-color: rgba(255, 122, 26, 0.18); }

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(1.5rem, 4vw, 3rem);
}

.footer-brand__line {
  max-width: 34ch;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(199, 210, 231, 0.68);
}

.footer-col__title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(199, 210, 231, 0.58);
}

.footer-list {
  display: grid;
  gap: 0.55rem;
}

.footer-list a,
.footer-list span {
  color: var(--silver);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-list a {
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

.footer-list--contact span {
  color: rgba(199, 210, 231, 0.78);
  line-height: 1.6;
}

.footer-note {
  max-width: 40ch;
  margin-top: 1rem;
  font-size: 0.76rem;
  line-height: 1.75;
  color: rgba(199, 210, 231, 0.5);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.1rem 1.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(199, 210, 231, 0.58);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
}
.footer-legal a {
  color: rgba(199, 210, 231, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--signal);
  border-bottom-color: var(--signal);
}
.footer-sep { color: rgba(199, 210, 231, 0.26); }

.footer-copy {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* =========================================================
   显现动效协议
   ========================================================= */
[data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal="idle"] {
  opacity: 0;
  transform: translateY(18px);
}
[data-reveal="in"] {
  opacity: 1;
  transform: none;
}

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--paper :focus-visible,
.panel--paper :focus-visible {
  outline-color: #B4530A;
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
  .nav__list { gap: 0.55rem; }
  .nav__link { font-size: 0.84rem; }
  .nav__index { display: none; }
}

@media (max-width: 900px) {
  .header-bar__inner {
    flex-wrap: wrap;
    row-gap: 0;
    min-height: 62px;
  }

  .header-bar__actions { margin-left: auto; }

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

  .nav {
    order: 3;
    flex: 0 0 100%;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.34s var(--ease), visibility 0.34s var(--ease);
  }
  .nav[data-open="true"] {
    max-height: 68vh;
    overflow-y: auto;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.35rem 0.9rem;
    border-top: 1px solid var(--line);
  }
  .nav__item { width: 100%; }

  .nav__link {
    display: flex;
    width: 100%;
    padding: 0.85rem 0.25rem 0.85rem 0.1rem;
    border-bottom: 1px solid rgba(199, 210, 231, 0.1);
    border-left: 2px solid transparent;
    font-size: 0.95rem;
  }
  .nav__index { display: inline-block; }

  .nav__link[aria-current="page"] {
    border-bottom-color: rgba(199, 210, 231, 0.1);
    border-left-color: var(--signal);
    padding-left: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

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

  .panel--offset { transform: none; }

  .footer-orbit {
    top: -34%;
    right: -34%;
    opacity: 0.55;
  }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .rail-tag { display: none; }
  .header-rail__inner { justify-content: flex-start; min-height: 38px; }
  .header-status { font-size: 10.5px; letter-spacing: 0.08em; }

  .brand-mark__meta { display: none; }
  .brand-mark__glyph { width: 34px; height: 34px; font-size: 0.95rem; }
  .brand-mark__name { font-size: 0.95rem; }

  .header-bar__actions .btn--sm {
    padding: 0.45rem 0.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .nav-toggle { padding: 0.45rem 0.6rem; font-size: 0.7rem; }
  .nav-toggle__label { display: none; }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .breadcrumb { padding-block: 0.85rem; }
}

/* ---------- 减少动效 ---------- */
@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;
  }

  .skip-link { transition: none; }

  [data-reveal],
  [data-reveal="idle"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (scripting: none) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
