/* =========================================================
   华体会体育场 · /assets/site.css
   共享层：reset / 令牌 / 排版 / 容器 / 按钮 / 头部 / 页脚 / 组件基元
   ========================================================= */

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

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

body {
  margin: 0;
  min-height: 100%;
  background-color: #061427;
  background-image:
    radial-gradient(1000px 560px at 8% -8%, rgba(77, 240, 140, .09), transparent 62%),
    radial-gradient(820px 480px at 96% 2%, rgba(255, 107, 61, .075), transparent 64%),
    linear-gradient(180deg, #061427 0%, #050f1d 52%, #061427 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--c-ice);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --c-deep: #061427;
  --c-stand: #0B1F38;
  --c-rail: #14365E;
  --c-neon: #4DF08C;
  --c-neon-soft: #A8FFC7;
  --c-pulse: #FF6B3D;
  --c-amber: #FFC24B;
  --c-ice: #DCE8F7;
  --c-mist: #8CA3BF;
  --c-frost: #F4F8FF;
  --c-ink: #0A1B30;

  --c-line: rgba(140, 163, 191, .20);
  --c-line-2: rgba(140, 163, 191, .34);
  --c-line-neon: rgba(77, 240, 140, .42);

  --ff-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --ff-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  --ff-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;

  --shell-wide: min(1360px, 94vw);
  --shell-narrow: min(820px, 92vw);
  --gut: clamp(16px, 2.4vw, 30px);
  --sp-section: clamp(48px, 7vw, 112px);

  --r-sm: 3px;
  --r-md: 5px;

  --ease: cubic-bezier(.22, .68, .28, 1);
  --t-fast: 180ms;
  --t-mid: 240ms;

  --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, .85);
}

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--ff-display);
  font-weight: 400;
  font-stretch: 88%;
  letter-spacing: -.015em;
  line-height: 1.04;
  color: #FFFFFF;
}
h1 { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.02em; line-height: .98; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.005em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }

.display-1 {
  margin: 0;
  font-family: var(--ff-display);
  font-stretch: 88%;
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: #FFFFFF;
}
.display-2 {
  margin: 0;
  font-family: var(--ff-display);
  font-stretch: 88%;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  color: #FFFFFF;
}
.num {
  font-family: var(--ff-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .01em;
  color: var(--c-amber);
}
.index-tag {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-mist);
}
.index-tag::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--c-neon);
}
.rail {
  height: 1px;
  border: 0;
  margin: var(--sp-section) 0;
  background: linear-gradient(90deg, var(--c-line-neon) 0%, rgba(20, 54, 94, .9) 38%, transparent 100%);
}

/* ---------- 4. 容器 / 网格 ---------- */
.shell { width: var(--shell-wide); margin-inline: auto; }
.shell--narrow { width: var(--shell-narrow); margin-inline: auto; }
.section { padding-block: var(--sp-section); }
main { display: block; min-height: 40vh; }
#main-content { scroll-margin-top: 88px; }

.grid { display: grid; gap: var(--gut); }
.grid-12 {
  display: grid;
  grid-template-columns: repeat(var(--cols, 12), minmax(0, 1fr));
  gap: var(--gut);
}
@media (max-width: 1023px) { .grid-12 { --cols: 8; } }
@media (max-width: 700px) { .grid-12 { --cols: 4; } }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn--neon { background: var(--c-neon); color: #04101d; font-weight: 600; }
.btn--neon:hover { background: var(--c-neon-soft); }
.btn--ghost {
  background: rgba(20, 54, 94, .42);
  border-color: var(--c-line-2);
  color: var(--c-ice);
}
.btn--ghost:hover {
  background: rgba(20, 54, 94, .66);
  border-color: var(--c-line-neon);
  color: var(--c-neon-soft);
}
.btn--pulse { background: var(--c-pulse); color: #200800; font-weight: 600; }
.btn--pulse:hover { background: #FF8A64; }

/* ---------- 6. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7em;
  margin: 0 0 18px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mist);
}
.crumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.crumbs a:hover { color: var(--c-neon-soft); border-bottom-color: var(--c-line-neon); }
.crumbs__sep { opacity: .45; }
.crumbs [aria-current="page"] { color: var(--c-ice); }

/* ---------- 7. 正文 / 浅色长文区 ---------- */
.prose { max-width: 44em; color: #C6D6EA; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.7em 0 .6em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: .4em 0; }
.prose a {
  color: var(--c-neon-soft);
  text-decoration: underline;
  text-decoration-color: rgba(77, 240, 140, .42);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--c-neon); }
.prose strong { color: var(--c-ice); font-weight: 600; }
.prose code {
  font-family: var(--ff-mono);
  font-size: .9em;
  color: var(--c-amber);
  background: rgba(20, 54, 94, .55);
  padding: .1em .4em;
  border-radius: var(--r-sm);
}
.prose blockquote {
  margin: 1.4em 0;
  padding: .2em 0 .2em 1.2em;
  border-left: 2px solid var(--c-line-neon);
  color: var(--c-mist);
}

.light-zone { background: var(--c-frost); color: var(--c-ink); }
.light-zone h1, .light-zone h2, .light-zone h3, .light-zone h4 { color: var(--c-ink); }
.light-zone .prose { color: #2A4A75; }
.light-zone .prose strong { color: var(--c-ink); }
.light-zone .prose a { color: #0F5C36; text-decoration-color: rgba(15, 92, 54, .4); }
.light-zone .prose code { color: #0F5C36; background: rgba(10, 27, 48, .08); }
.light-zone .prose blockquote { border-left-color: rgba(15, 92, 54, .45); color: #4C6C93; }
.light-zone .crumbs { color: #5E7AA0; }
.light-zone .crumbs [aria-current="page"] { color: var(--c-ink); }
.light-zone .index-tag { color: #5E7AA0; }
.light-zone .index-tag::before { background: #157A46; }
.light-zone .rail { background: linear-gradient(90deg, rgba(15, 92, 54, .5) 0%, rgba(10, 27, 48, .18) 42%, transparent 100%); }
.light-zone .figure { border-color: rgba(10, 27, 48, .16); }
.light-zone .figure__cap { background: rgba(244, 248, 255, .86); color: #0F5C36; border-color: rgba(15, 92, 54, .3); }
.light-zone .plate {
  background: linear-gradient(156deg, #FFFFFF 0%, #E7EFFB 100%);
  border-color: rgba(10, 27, 48, .14);
}
.light-zone .plate--neon { border-color: rgba(15, 92, 54, .3); box-shadow: inset 0 1px 0 rgba(15, 92, 54, .12); }
.light-zone :focus-visible { outline-color: #0F5C36; }

/* ---------- 8. 图框 / 面板 ---------- */
.figure {
  --figure-ratio: 16 / 10;
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--figure-ratio);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(148deg, rgba(20, 54, 94, .9) 0%, rgba(11, 31, 56, .72) 46%, rgba(6, 20, 39, .96) 100%);
  box-shadow: var(--shadow-soft);
}
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(140, 163, 191, .10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(140, 163, 191, .08) 1px, transparent 1px),
    radial-gradient(120% 90% at 82% 6%, rgba(77, 240, 140, .14), transparent 58%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
  opacity: .85;
}
.figure--band { --figure-ratio: 21 / 9; }
.figure--wide { --figure-ratio: 16 / 9; }
.figure--tall { --figure-ratio: 3 / 4; }
.figure--square { --figure-ratio: 1 / 1; }
.figure__media {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__cap {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 4px 10px;
  border: 1px solid var(--c-line-neon);
  border-radius: 999px;
  background: rgba(6, 20, 39, .78);
  color: var(--c-neon-soft);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.plate {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: linear-gradient(156deg, rgba(20, 54, 94, .82) 0%, rgba(11, 31, 56, .5) 58%, rgba(6, 20, 39, .92) 100%);
}
.plate--neon {
  border-color: rgba(77, 240, 140, .34);
  box-shadow: inset 0 1px 0 rgba(77, 240, 140, .12);
}

/* ---------- 9. 头部 ---------- */
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  z-index: 120;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  background: var(--c-neon);
  color: #04101d;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: top var(--t-mid) var(--ease);
}
.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 20, 39, .97) 0%, rgba(8, 24, 45, .93) 100%);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(77, 240, 140, .55) 12%,
    rgba(77, 240, 140, .55) 62%,
    rgba(255, 107, 61, .45) 86%,
    transparent 100%);
  opacity: .5;
}

.hud {
  width: var(--shell-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  min-height: 62px;
  padding-block: 7px;
}

.hud__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 6px 4px 0;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: inherit;
}
.hud__mark {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  padding: 5px 6px;
  border-radius: var(--r-sm);
  background: var(--c-neon);
  color: #04101d;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  box-shadow: 0 0 0 1px rgba(77, 240, 140, .35), 0 6px 16px -8px rgba(77, 240, 140, .8);
}
.hud__brand-copy { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.hud__name { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: #F2F8FF; }
.hud__ver {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--c-mist);
  white-space: nowrap;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__item { display: block; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  padding: 9px 11px 11px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  color: var(--c-mist);
  font-size: 13.5px;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.nav__label { font-weight: 400; letter-spacing: .04em; }
.nav__idx {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(140, 163, 191, .7);
  transition: color var(--t-fast) var(--ease);
}
.nav__link:hover {
  color: var(--c-neon-soft);
  background: rgba(77, 240, 140, .07);
  border-color: rgba(77, 240, 140, .26);
}
.nav__link:hover .nav__idx { color: var(--c-neon); }
.nav__link[aria-current="page"] {
  color: var(--c-neon);
  background: rgba(77, 240, 140, .1);
  border-color: rgba(77, 240, 140, .34);
}
.nav__link[aria-current="page"] .nav__idx { color: var(--c-neon); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-neon);
}

.hud__tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.zone-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 11px;
  border: 1px solid rgba(77, 240, 140, .34);
  border-radius: 999px;
  background: rgba(77, 240, 140, .07);
  color: var(--c-neon-soft);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.zone-switch:hover {
  background: rgba(77, 240, 140, .14);
  border-color: rgba(77, 240, 140, .6);
  color: #D6FFE6;
}
.zone-switch__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 0 3px rgba(77, 240, 140, .16);
}
.zone-switch__text { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  background: rgba(20, 54, 94, .5);
  color: var(--c-ice);
  font-size: 12.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--c-line-neon); color: var(--c-neon-soft); }
.nav-toggle__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; }
.nav-toggle__icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 12px;
}
.nav-toggle__icon > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle__icon > span:nth-child(1) { top: 0; }
.nav-toggle__icon > span:nth-child(2) { top: 5px; }
.nav-toggle__icon > span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] {
  border-color: var(--c-line-neon);
  background: rgba(77, 240, 140, .1);
  color: var(--c-neon);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 8px 3vw 20px;
    background: linear-gradient(180deg, #071729 0%, #061427 100%);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .95);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), visibility var(--t-mid);
  }
  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item + .nav__item { border-top: 1px solid var(--c-line); }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 6px;
    border: 0;
    border-radius: 0;
    font-size: 15.5px;
    color: var(--c-ice);
  }
  .nav__link:hover { background: rgba(77, 240, 140, .06); border-color: transparent; }
  .nav__link[aria-current="page"] { background: rgba(77, 240, 140, .08); border-color: transparent; }
  .nav__link[aria-current="page"]::after {
    left: auto;
    right: 6px;
    top: 50%;
    bottom: auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .nav__idx { font-size: 11px; }
}

@media (max-width: 560px) {
  .hud__ver { display: none; }
  .zone-switch { padding: 8px; gap: 0; }
  .zone-switch__text { display: none; }
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(11, 31, 56, .62) 0%, rgba(6, 20, 39, .98) 68%, #04101d 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(77, 240, 140, .55) 0 16px, transparent 16px 40px);
  opacity: .35;
}

.foot-grid {
  width: var(--shell-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) repeat(3, minmax(112px, .85fr)) minmax(220px, 1.35fr);
  gap: clamp(20px, 2.6vw, 44px);
  padding: clamp(38px, 5.5vw, 74px) 0 clamp(26px, 3.6vw, 46px);
}

.foot-brand__name {
  margin: 0 0 6px;
  font-family: var(--ff-display);
  font-stretch: 88%;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: .02em;
  color: #F2F8FF;
}
.foot-brand__sub {
  margin: 0 0 12px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-neon);
}
.foot-brand__desc {
  margin: 0;
  max-width: 22em;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-mist);
}

.foot-col__title {
  margin: 0 0 12px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-mist);
}
.foot-col__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-link {
  display: inline-block;
  color: #B9CBE2;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.foot-link:hover { color: var(--c-neon-soft); border-bottom-color: rgba(77, 240, 140, .45); }

.foot-contact__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.foot-contact__list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: baseline;
}
.foot-key {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--c-mist);
}
.foot-val {
  font-size: 13.5px;
  line-height: 1.6;
  color: #C6D6EA;
  word-break: break-word;
}
.foot-hint {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--c-mist);
}

.foot-legal {
  border-top: 1px solid var(--c-line);
  background: rgba(4, 16, 29, .78);
}
.foot-legal__inner {
  width: var(--shell-wide);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 18px 0 26px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--c-mist);
}
.foot-legal__item { word-break: break-word; }
.foot-legal__sep { opacity: .4; }
.foot-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}
.foot-legal__links .foot-link {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

@media (max-width: 1023px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .foot-brand, .foot-contact { grid-column: auto; }
  .foot-legal__links { margin-left: 0; width: 100%; }
}

/* ---------- 11. 动效 / 进度轨道 ---------- */
.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--c-neon) 0%, var(--c-neon-soft) 55%, var(--c-pulse) 100%);
}

[data-reveal] { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-js [data-reveal] { opacity: 0; transform: translateY(16px); }
.has-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 12. 焦点与降级 ---------- */
:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
  .scroll-rail { transition: none; }
  .skip-link { transition: none; }
}

@media (max-width: 900px) {
  body { background-attachment: scroll; }
}
