/* ============================================================
   乐鱼赛场 · 运动坐标
   /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, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #050A12;
  --navy: #071C33;
  --glass: #0E2C4A;
  --cyan: #35F0DB;
  --cyan-soft: #A9FFF7;
  --coral: #FF6A45;
  --coral-soft: #FFA48C;
  --paper: #F4F7F8;
  --mist: #A7B7C5;
  --ink-deep: #071018;
  --green: #56D68B;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --rail-w: 264px;
  --edge: clamp(1.05rem, 4vw, 3.2rem);
  --radius: 6px;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

/* ---------- 3. Base & 中文排版 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(53, 240, 219, .11), transparent 62%),
    radial-gradient(820px 520px at -10% 105%, rgba(255, 106, 69, .09), transparent 65%),
    var(--ink);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .95;
  margin-bottom: .35em;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: .45em;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: .4em;
}
p { max-width: 68ch; }

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

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

/* ---------- 4. 通用工具 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--edge);
}
.prose { max-width: 68ch; }
.prose p {
  margin-bottom: 1.1em;
  color: rgba(244, 247, 248, .86);
  line-height: 1.85;
}
.prose p:last-child { margin-bottom: 0; }
.prose--paper p { color: rgba(7, 16, 24, .82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
  flex: 0 0 auto;
}

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 300;
  padding: .65rem 1.05rem;
  border-radius: 3px;
  background: var(--cyan);
  color: #04120F;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: none; }
.skip-link:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

/* ---------- 6. 头部外壳 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

/* --- 6.1 品牌 --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}
.brand__mark {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  background: linear-gradient(transparent 47.5%, rgba(53, 240, 219, .5) 47.5%, rgba(53, 240, 219, .5) 52.5%, transparent 52.5%);
  box-shadow: 0 0 18px -6px rgba(53, 240, 219, .8);
}
.brand__mark::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: rgba(53, 240, 219, .5);
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px rgba(255, 106, 69, .9);
}
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--paper);
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .26em;
  line-height: 1;
  color: var(--cyan);
}
.brand--compact .brand__mark { width: 30px; height: 30px; }
.brand--compact .brand__name { font-size: 1rem; }

/* --- 6.2 桌面侧边轨道 --- */
.rail { display: none; }

.scroll-progress {
  height: 2px;
  margin: 2px 0 6px;
  border-radius: 2px;
  background: rgba(167, 183, 197, .18);
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft) 60%, var(--coral));
  transition: transform .12s linear;
}

.rail__nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.rail__list { position: relative; }
.rail__list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(53, 240, 219, .55), rgba(167, 183, 197, .2) 55%, transparent);
}
.rail__item { position: relative; }
.rail__item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(167, 183, 197, .5);
  z-index: 1;
  transition: background .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.rail__item:hover::before,
.rail__item:focus-within::before {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 240, 219, .12);
}
.rail__item:has(.rail__link[aria-current="page"])::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(53, 240, 219, .85);
}
.rail__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 6px 10px 26px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--mist);
  font-size: .9375rem;
  font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.rail__link:hover { color: var(--paper); background: rgba(53, 240, 219, .07); transform: translateX(2px); }
.rail__index {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: rgba(167, 183, 197, .55);
  transition: color .2s var(--ease);
}
.rail__label { letter-spacing: .04em; }
.rail__link[aria-current="page"] {
  color: var(--paper);
  background: linear-gradient(90deg, rgba(53, 240, 219, .16), rgba(53, 240, 219, 0) 82%);
  box-shadow: inset 2px 0 0 var(--cyan);
}
.rail__link[aria-current="page"] .rail__index { color: var(--cyan); }

.rail__foot { flex: 0 0 auto; padding-top: 14px; border-top: 1px solid rgba(167, 183, 197, .16); }
.rail__cta { width: 100%; }
.rail__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  color: rgba(167, 183, 197, .78);
  max-width: none;
}
.rail__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(86, 214, 139, .9);
  flex: 0 0 auto;
}

/* --- 6.3 移动顶栏 --- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .7rem var(--edge);
  background: rgba(7, 28, 51, .92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(53, 240, 219, .22);
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: .5rem .8rem;
  border: 1px solid rgba(53, 240, 219, .4);
  border-radius: 3px;
  background: rgba(14, 44, 74, .6);
  color: var(--paper);
  font-size: .75rem;
  letter-spacing: .16em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(53, 240, 219, .12); }
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--cyan);
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }

/* --- 6.4 移动抽屉 --- */
.nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(86vw, 348px);
  padding: 1.15rem 1.15rem 1.6rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(170deg, #0A2540 0%, var(--navy) 42%, var(--ink) 100%);
  border-right: 1px solid rgba(53, 240, 219, .3);
  box-shadow: 40px 0 80px -40px #000;
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s var(--ease);
}
.site-header[data-open] .nav-drawer,
.nav-drawer[data-open] {
  transform: none;
  visibility: visible;
}
.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(53, 240, 219, .22);
}
.nav-drawer__title {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .26em;
  color: var(--cyan);
}
.nav-drawer__close {
  padding: .3rem .6rem;
  border: 1px solid rgba(167, 183, 197, .4);
  border-radius: 3px;
  color: var(--mist);
  font-size: .75rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-drawer__close:hover { color: var(--cyan); border-color: var(--cyan); }

.nav-drawer__nav { flex: 1 1 auto; }
.nav-drawer__list { display: grid; gap: 2px; }
.nav-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: .72rem .6rem;
  border-bottom: 1px solid rgba(167, 183, 197, .14);
  text-decoration: none;
  color: var(--paper);
  font-size: 1.0625rem;
  letter-spacing: .02em;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-drawer__link:hover { color: var(--cyan); background: rgba(53, 240, 219, .07); }
.nav-drawer__index {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: rgba(167, 183, 197, .6);
}
.nav-drawer__link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(53, 240, 219, .1);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.nav-drawer__link[aria-current="page"] .nav-drawer__index { color: var(--cyan); }

.nav-drawer__foot { display: grid; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(167, 183, 197, .18); }
.nav-drawer__contact { display: grid; gap: 3px; }
.nav-drawer__contact-label {
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .22em;
  color: rgba(167, 183, 197, .75);
  max-width: none;
}
.nav-drawer__contact-val {
  margin-bottom: 8px;
  font-size: .875rem;
  color: var(--paper);
  word-break: break-all;
  max-width: none;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(2, 6, 11, .68);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.site-header[data-open] .nav-scrim { opacity: 1; visibility: visible; }
body[data-nav-open] { overflow: hidden; }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn--primary {
  background: var(--cyan);
  color: #04120F;
  box-shadow: 0 10px 26px -16px rgba(53, 240, 219, .95);
}
.btn--primary:hover { background: var(--cyan-soft); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(167, 183, 197, .38);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(53, 240, 219, .08);
  transform: translateY(-1px);
}
.panel--paper .btn--ghost { color: var(--ink-deep); border-color: rgba(7, 16, 24, .3); }
.panel--paper .btn--ghost:hover { color: var(--ink-deep); border-color: var(--ink-deep); background: rgba(7, 16, 24, .06); }

/* ---------- 8. 面板 / 网格 / 图片容器 ---------- */
.panel {
  position: relative;
  padding: clamp(1.15rem, 3vw, 2.1rem);
  border: 1px solid rgba(53, 240, 219, .16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(7, 28, 51, .97), rgba(7, 28, 51, .78));
}
.panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  border-right: 1px solid rgba(53, 240, 219, .38);
  border-bottom: 1px solid rgba(53, 240, 219, .38);
  border-bottom-right-radius: var(--radius);
  pointer-events: none;
  opacity: .75;
}
.panel--paper {
  background: var(--paper);
  color: var(--ink-deep);
  border-color: rgba(7, 16, 24, .14);
}
.panel--paper::after { border-color: rgba(7, 16, 24, .22); }
.panel--paper .eyebrow { color: #0A7F74; }
.panel--paper .eyebrow::before { background: #0A7F74; }
.panel--glass {
  background: rgba(14, 44, 74, .52);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: rgba(169, 255, 247, .26);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(53, 240, 219, .2);
  background: linear-gradient(135deg, rgba(14, 44, 74, .92), rgba(5, 10, 18, .96));
  aspect-ratio: 16 / 10;
  isolation: isolate;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(115deg, rgba(53, 240, 219, .1) 0 1px, transparent 1px 34px);
  opacity: .75;
  pointer-events: none;
}
.media-frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.05);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0) 38%, rgba(5, 10, 18, .8) 100%);
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__caption {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  padding: .75rem .9rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--cyan-soft);
  max-width: none;
}
.media-frame__tag {
  position: absolute;
  z-index: 3;
  top: .7rem;
  left: .7rem;
  padding: .28rem .6rem;
  border: 1px solid rgba(53, 240, 219, .45);
  border-radius: 2px;
  background: rgba(5, 10, 18, .72);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- 9. 标签与面包屑 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .3rem .66rem;
  border: 1px solid rgba(169, 255, 247, .28);
  border-radius: 999px;
  background: rgba(14, 44, 74, .7);
  color: var(--cyan-soft);
  font-size: .8125rem;
  line-height: 1.5;
}
.chip--coral {
  border-color: rgba(255, 106, 69, .45);
  background: rgba(255, 106, 69, .14);
  color: var(--coral-soft);
}
.chip--live { color: var(--paper); }
.chip--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(86, 214, 139, .95);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--mist);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: .45rem;
  color: rgba(167, 183, 197, .45);
}
.breadcrumbs a { color: var(--mist); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(2.4rem, 5vw, 4.2rem) var(--edge) 1.6rem;
  overflow: hidden;
  border-top: 1px solid rgba(53, 240, 219, .22);
  background: linear-gradient(180deg, rgba(7, 28, 51, .94) 0%, rgba(5, 10, 18, 1) 62%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(53, 240, 219, .07) 0 1px, transparent 1px 92px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 72%);
}
.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: 1fr;
  max-width: 1180px;
  margin-inline: auto;
}
.footer__brand { display: grid; justify-items: start; align-content: start; }
.footer__tagline {
  max-width: 30ch;
  margin: .95rem 0 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(244, 247, 248, .86);
}
.footer__col-title {
  position: relative;
  margin-bottom: .9rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(167, 183, 197, .22);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--paper);
}
.footer__col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--cyan);
}
.footer__list { display: grid; gap: .18rem; }
.footer__link {
  display: inline-block;
  padding: .2rem 0;
  font-size: .9375rem;
  color: var(--mist);
  text-decoration: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer__link:hover { color: var(--cyan); transform: translateX(3px); }

.footer__contact-list { display: grid; gap: .7rem; margin-bottom: 1rem; }
.footer__contact-item { display: grid; gap: .14rem; }
.footer__contact-key {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .18em;
  color: rgba(167, 183, 197, .72);
}
.footer__contact-val {
  font-size: .9375rem;
  color: var(--paper);
  word-break: break-word;
  max-width: none;
}
.footer__note {
  max-width: 34ch;
  padding-left: .75rem;
  border-left: 2px solid rgba(255, 106, 69, .62);
  font-size: .8125rem;
  line-height: 1.7;
  color: rgba(167, 183, 197, .86);
}

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
  max-width: 1180px;
  margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(167, 183, 197, .18);
  font-size: .8125rem;
  color: var(--mist);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer__legal a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(167, 183, 197, .32);
  padding-bottom: 1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer__legal a:hover { color: var(--cyan); border-color: var(--cyan); }
.footer__record { font-family: var(--font-mono); letter-spacing: .04em; max-width: none; }
.footer__copy { font-family: var(--font-mono); letter-spacing: .06em; color: rgba(167, 183, 197, .88); max-width: none; }

/* ---------- 11. 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 响应式 ---------- */
@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: static; }
  .masthead { display: none; }
  .nav-drawer, .nav-scrim { display: none; }
  .rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: var(--rail-w);
    padding: 26px 20px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, rgba(9, 33, 58, .97), rgba(5, 10, 18, .99));
    border-right: 1px solid rgba(53, 240, 219, .18);
    box-shadow: 24px 0 60px -46px rgba(53, 240, 219, .85);
    scrollbar-width: thin;
    scrollbar-color: rgba(53, 240, 219, .4) transparent;
  }
  .rail::-webkit-scrollbar { width: 6px; }
  .rail::-webkit-scrollbar-thumb { background: rgba(53, 240, 219, .35); border-radius: 3px; }
  .footer__grid { grid-template-columns: 1.45fr .85fr .85fr 1.25fr; }
}

@media (min-width: 1280px) {
  :root { --rail-w: 282px; }
  .footer__grid { grid-template-columns: 1.5fr .8fr .8fr 1.3fr; }
}

@media (max-width: 480px) {
  .nav-toggle__text { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress__bar { transition: none; }
}
