/* ==========================================================================
   6686体育看台 · 共享样式 /assets/site.css
   夜场看台 · 左侧轨道导航 · 档案卡与胶囊标签体系
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd,
section, article, aside, nav, header, footer, main { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 设计变量 ---------- */
:root {
  --night: #070B12;
  --stand: #101B2D;
  --stand-2: #16243A;
  --green: #00C46A;
  --green-deep: #0E7A4A;
  --action: #FF5A36;
  --cyan: #58F6E8;
  --cold: #EAF6F2;
  --mist: #94A3A8;
  --amber: #FFB020;

  --line: rgba(234, 246, 242, .12);
  --line-soft: rgba(234, 246, 242, .06);
  --line-cyan: rgba(88, 246, 232, .42);

  --rail-w: 266px;
  --topbar-h: 66px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.22, .68, .28, 1);

  --font-sans: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", SFMono-Regular, ui-monospace,
    Menlo, Consolas, monospace;
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(72% 46% at 88% -6%, rgba(0, 196, 106, .16), transparent 62%),
    radial-gradient(50% 42% at 4% 6%, rgba(88, 246, 232, .08), transparent 66%);
  background-repeat: no-repeat;
  color: var(--cold);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: .06em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.26;
  letter-spacing: .05em;
}
h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .03em;
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
}

p { line-height: 1.85; }

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

.sr-only {
  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;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.text-mist { color: var(--mist); }
.text-cyan { color: var(--cyan); }

/* ---------- 跳到主内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 220;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04211C;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--cyan) 55%, var(--action));
  pointer-events: none;
}

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

/* 左侧看台轨道 */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 120;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vh, 34px);
  padding: 26px 20px 22px;
  background: linear-gradient(180deg, #0B1524 0%, #070B12 72%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 246, 232, .3) transparent;
}
.rail::after {
  content: "";
  position: absolute;
  top: 0; right: -1px;
  width: 1px; height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 196, 106, .75) 30%,
    rgba(88, 246, 232, .6) 64%,
    transparent 100%);
  pointer-events: none;
}

.rail-brand {
  display: grid;
  gap: 4px;
  padding: 4px 6px 15px;
  border-bottom: 1px solid var(--line-soft);
}
.rail-brand__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--cyan);
}
.rail-brand__word {
  font-size: 23px;
  font-weight: 300;
  letter-spacing: .16em;
  line-height: 1.2;
  color: var(--cold);
}
.rail-brand__tag {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--mist);
}

.rail-nav { display: grid; gap: 12px; }
.rail-nav__cap {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--mist);
  padding-left: 14px;
}
.rail-nav__list { display: grid; gap: 3px; }
.rail-nav__item { display: block; }
.rail-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  color: var(--mist);
  font-size: 15px;
  letter-spacing: .04em;
  transition: color .2s var(--ease), background-color .2s var(--ease),
    border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.rail-nav__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--green);
  min-width: 20px;
}
.rail-nav__label { line-height: 1.4; }
.rail-nav__link:hover {
  color: var(--cold);
  background: rgba(16, 27, 45, .85);
  border-color: var(--line);
}
.rail-nav__link:hover .rail-nav__idx { color: var(--cyan); }
.rail-nav__link[aria-current="page"] {
  color: var(--cold);
  background: linear-gradient(100deg, rgba(0, 196, 106, .24), rgba(88, 246, 232, .07));
  border-color: var(--line-cyan);
  box-shadow: inset 0 0 0 1px rgba(88, 246, 232, .12);
}
.rail-nav__link[aria-current="page"] .rail-nav__idx { color: var(--cyan); }

.rail-foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding: 16px 6px 4px;
  border-top: 1px solid var(--line-soft);
}
.rail-foot__cap {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--mist);
}
.rail-foot__links { display: flex; flex-wrap: wrap; gap: 8px; }
.rail-foot__link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--cold);
  font-size: 13px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease),
    color .2s var(--ease);
}
.rail-foot__link:hover {
  border-color: var(--line-cyan);
  background: rgba(88, 246, 232, .08);
  color: var(--cyan);
}
.rail-foot__stat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}
.rail-foot__stat .num { color: var(--cyan); font-weight: 700; }

/* 抽屉遮罩（仅移动端启用） */
.rail-scrim { display: none; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: relative;
  z-index: 115;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  min-height: var(--topbar-h);
  padding: 11px var(--pad);
  background: rgba(8, 13, 21, .88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(16, 27, 45, .7);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--line-cyan); }
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cold);
  transition: transform .24s var(--ease), opacity .2s linear;
}
.site-header[data-open] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.topbar-brand {
  display: none;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .16em;
  white-space: nowrap;
  color: var(--cold);
}

/* 关注列表切换器 */
.follow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}
.follow__cap {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
  white-space: nowrap;
}
.follow__track {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: none;
}
.follow__track::-webkit-scrollbar { display: none; }
.follow__btn {
  flex: 0 0 auto;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(16, 27, 45, .6);
  color: var(--mist);
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease),
    background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.follow__btn:hover { color: var(--cold); border-color: var(--line-cyan); }
.follow__btn[aria-pressed="true"] {
  color: #04211C;
  font-weight: 600;
  background: linear-gradient(120deg, var(--green), var(--cyan));
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(88, 246, 232, .5), 0 8px 20px rgba(0, 196, 106, .22);
}

/* 同步脉冲 */
.pulse {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  white-space: nowrap;
}
.pulse__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 196, 106, .55);
  animation: beacon 2.6s var(--ease) infinite;
}
.pulse__text { color: var(--mist); letter-spacing: .14em; }
.pulse__num { color: var(--cyan); font-weight: 700; min-width: 2ch; text-align: right; }
.pulse__unit { color: var(--mist); }
@keyframes beacon {
  0%   { box-shadow: 0 0 0 0 rgba(0, 196, 106, .55); }
  70%  { box-shadow: 0 0 0 11px rgba(0, 196, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 196, 106, 0); }
}

/* ---------- 通用容器与节奏 ---------- */
.shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(44px, 7vh, 104px); }
.section--tight { padding-block: clamp(26px, 4vh, 56px); }
.stack { display: grid; gap: clamp(14px, 2vh, 26px); }
.stack--loose { gap: clamp(26px, 4.5vh, 56px); }
.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(28px, 4vh, 56px);
}

/* ---------- 页面头部与标题 ---------- */
.page-head {
  display: grid;
  gap: clamp(14px, 2vh, 24px);
  padding-block: clamp(38px, 7vh, 88px) clamp(20px, 3vh, 40px);
}
.eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--green);
}
.display {
  font-size: clamp(2.3rem, 6.6vw, 5.6rem);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: .08em;
  color: var(--cold);
}
.display em { font-style: normal; color: var(--cyan); }
.lede {
  max-width: 64ch;
  color: var(--mist);
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.85;
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mist);
}
.crumbs a {
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.crumbs a:hover { color: var(--cyan); border-bottom-color: rgba(88, 246, 232, .5); }
.crumbs__sep { color: rgba(148, 163, 168, .5); }
.crumbs [aria-current="page"] { color: var(--cold); }

/* ---------- 编号章节 ---------- */
.chap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
}
.chap__num {
  font-family: var(--font-mono);
  font-size: clamp(38px, 5.4vw, 74px);
  font-weight: 200;
  line-height: .9;
  letter-spacing: -.02em;
  background: linear-gradient(160deg, rgba(0, 196, 106, .92), rgba(88, 246, 232, .28));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .chap__num { color: rgba(0, 196, 106, .7); background: none; }
}
.chap__body { display: grid; gap: 10px; min-width: 0; }
.chap__title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: .05em;
}
.chap__text { color: var(--mist); max-width: 62ch; }

/* ---------- 档案卡 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 27, 45, .9), rgba(10, 17, 28, .94));
  transition: transform .28s var(--ease), border-color .28s var(--ease),
    box-shadow .28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .42);
}
.card--arch { padding-top: clamp(26px, 3vw, 40px); }
.card--arch::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(20px, 2.4vw, 32px);
  width: 64px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}
.card__head { display: grid; gap: 8px; margin-bottom: 14px; }
.card__title {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: .03em;
}
.card__meta { font-size: 12px; letter-spacing: .14em; color: var(--mist); }
.card__body { color: var(--mist); font-size: 15.5px; line-height: 1.85; }

/* ---------- 胶囊标签 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(16, 27, 45, .6);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
  white-space: nowrap;
}
.pill--live {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(88, 246, 232, .09);
}
.pill--green {
  border-color: rgba(0, 196, 106, .45);
  color: #5BE39D;
  background: rgba(0, 196, 106, .11);
}
.pill--action {
  border-color: rgba(255, 90, 54, .5);
  color: #FF8A6B;
  background: rgba(255, 90, 54, .11);
}
.pill--amber {
  border-color: rgba(255, 176, 32, .5);
  color: var(--amber);
  background: rgba(255, 176, 32, .1);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .05em;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease),
    border-color .24s var(--ease), background-color .24s var(--ease),
    color .24s var(--ease);
}
.btn--action {
  background: linear-gradient(120deg, var(--action), #FF8A4B);
  color: #1B0A05;
  box-shadow: 0 10px 26px rgba(255, 90, 54, .26);
}
.btn--action:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 90, 54, .34); }
.btn--ghost {
  border-color: var(--line);
  color: var(--cold);
  background: rgba(16, 27, 45, .55);
}
.btn--ghost:hover {
  border-color: var(--line-cyan);
  color: var(--cyan);
  background: rgba(88, 246, 232, .08);
}
.btn--quiet { border-color: var(--line); color: var(--mist); }
.btn--quiet:hover { color: var(--cold); border-color: var(--line-cyan); }
.btn--text {
  padding: 0 0 3px;
  border-radius: 0;
  color: var(--cyan);
  border-bottom: 1px solid rgba(88, 246, 232, .42);
}
.btn--text:hover { border-bottom-color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 栅格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.grid--2, .grid--3, .grid--split { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}

/* ---------- 图片占位容器（可复用，响应式） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(0, 196, 106, .16), rgba(7, 11, 18, 0) 58%),
    linear-gradient(180deg, rgba(16, 27, 45, .95), rgba(9, 14, 24, .95));
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(88, 246, 232, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(88, 246, 232, .075) 1px, transparent 1px);
  background-size: 46px 46px;
}
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1 / 1; }
.media__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 18px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--mist);
  background: linear-gradient(0deg, rgba(7, 11, 18, .9), rgba(7, 11, 18, 0));
}
.media__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* ---------- 数据块 ---------- */
.stat { display: grid; gap: 4px; }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--mist);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 10vh, 132px);
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(0, 196, 106, .16), transparent 58%),
    radial-gradient(90% 80% at 92% 8%, rgba(88, 246, 232, .1), transparent 60%),
    linear-gradient(180deg, #0A121E, #05080E);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green) 30%, var(--cyan) 62%, transparent);
  opacity: .75;
}
.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 44px);
  padding-block: clamp(42px, 6.5vh, 78px) clamp(26px, 4vh, 44px);
}
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand__link { display: inline-flex; align-items: baseline; gap: 10px; }
.footer-brand__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--cyan);
}
.footer-brand__word {
  font-size: 21px;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--cold);
}
.footer-brand__line {
  max-width: 34ch;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.85;
}
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-col { display: grid; gap: 14px; align-content: start; }
.footer-col__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--cold);
}
.footer-col__list { display: grid; gap: 10px; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-size: 15px;
  color: var(--mist);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-link::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 196, 106, .55);
  transition: background-color .2s var(--ease);
}
.footer-link:hover { color: var(--cold); border-bottom-color: rgba(88, 246, 232, .45); }
.footer-link:hover::before { background: var(--cyan); }

.footer-contact {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 27, 45, .85), rgba(9, 14, 24, .9));
}
.footer-contact__list { display: grid; gap: 12px; }
.footer-contact__row { display: grid; gap: 3px; }
.footer-contact__k {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
}
.footer-contact__v {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cold);
  word-break: break-word;
}
.footer-contact__note {
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-base {
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 14, .6);
}
.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-block: 18px 26px;
  font-size: 12.5px;
  color: var(--mist);
}
.footer-base__copy,
.footer-base__icp { margin: 0; }
.footer-base__icp { font-family: var(--font-mono); letter-spacing: .06em; }

/* ---------- 桌面端：为固定轨道让出空间 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (min-width: 720px) {
  .footer-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .footer-shell { grid-template-columns: 1.45fr .8fr .9fr 1.45fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- 平板与移动：抽屉导航 ---------- */
@media (max-width: 1023px) {
  .rail {
    width: min(84vw, 336px);
    transform: translateX(-102%);
    transition: transform .34s var(--ease);
    box-shadow: 28px 0 70px rgba(0, 0, 0, .55);
  }
  .rail[data-open] { transform: none; }

  .rail-scrim {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    background: rgba(3, 6, 11, .74);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .rail-scrim[data-open] { display: block; }

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

  .topbar {
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 58px;
    padding: 10px 16px;
  }
  .topbar-brand { display: inline-block; font-size: 15px; }
  .follow { order: 4; flex: 1 1 100%; }
  .follow__cap { display: none; }
  .pulse { order: 3; }

  html.is-nav-locked,
  html.is-nav-locked body { overflow: hidden; }
}

@media (max-width: 560px) {
  .display { letter-spacing: .04em; }
  .chap { grid-template-columns: minmax(0, 1fr); }
  .chap__num { font-size: 42px; }
  .footer-base__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
  .btn--action:hover { transform: none; }
  .pulse__dot {
    animation: none;
    box-shadow: 0 0 0 4px rgba(0, 196, 106, .18);
  }
}
