/* ==========================================================================
   B体育 BSPORTS · /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, h6,
p, figure, blockquote, dl, dd,
ul, ol { margin: 0; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

table { border-collapse: collapse; }

/* -------- 2. 变量 -------- */
:root {
  --ink: #06110E;
  --ink-2: #0B1F19;
  --line: #173C31;
  --neon: #37F2C4;
  --mint: #9FF7E2;
  --paper: #F2F5EC;
  --amber: #FFB547;
  --amber-deep: #C97A12;
  --muted: #A8BDB4;
  --glare: #D7FFF4;

  --rail-w: 88px;
  --topbar-h: 60px;

  --radius: 2px;
  --shadow-hard: 6px 6px 0 0 rgba(0, 0, 0, .55);
  --shadow-neon: 4px 4px 0 0 rgba(55, 242, 196, .22);
  --shadow-amber: 4px 4px 0 0 rgba(255, 181, 71, .28);

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

  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 140ms;
  --t-mid: 180ms;
}

@media (min-width: 480px) {
  :root { --rail-w: 96px; }
}

@media (min-width: 1024px) {
  :root {
    --rail-w: 104px;
    --topbar-h: 68px;
  }
}

/* -------- 3. 基础排版 -------- */
body {
  min-height: 100vh;
  padding-top: var(--topbar-h);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 78% at 88% -12%, rgba(55, 242, 196, .10), transparent 62%),
    radial-gradient(96% 62% at -6% 104%, rgba(255, 181, 71, .07), transparent 60%),
    linear-gradient(180deg, #06110E 0%, #050F0C 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--paper);
}

h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
h4 { font-size: 17px; }
h5, h6 { font-size: 15px; }

p { margin: 0; }

small { font-size: 13px; color: var(--muted); }

strong { font-weight: 700; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 焦点环 */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--glare);
  outline-offset: 3px;
  border-radius: 1px;
}

/* 无障碍隐藏 */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* -------- 4. Skip link -------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-block;
  padding: 10px 16px;
  background: var(--neon);
  color: #04120E;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transform: translateY(-180%);
  transition: transform var(--t-mid) var(--ease);
}

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

/* -------- 5. 头部外壳 -------- */
.site-header {
  position: relative;
  z-index: 40;
}

/* 5.1 框架导航轨 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(84vw, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, #0C221B 0%, #071512 62%, #06110E 100%);
  border-right: 1px solid var(--line);
  box-shadow: 16px 0 40px rgba(0, 0, 0, .6);
  transform: translateX(-102%);
  transition: transform 220ms var(--ease);
}

.site-header[data-open] .rail {
  transform: translateX(0);
}

.rail__mark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
  text-decoration: none;
  transition: background-color var(--t-fast) linear;
}

.rail__mark:hover .rail__mark-b { color: var(--neon); }

.rail__mark-b { transition: color var(--t-fast) linear; }

.rail__mark-slash { color: var(--neon); }

.rail__nav { flex: 1 1 auto; }

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 6px;
}

.rail__item { display: block; }

.rail__link {
  display: grid;
  gap: 1px;
  padding: 10px 8px;
  border-left: 2px solid transparent;
  border-radius: 1px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
  text-decoration: none;
  transition:
    color var(--t-fast) linear,
    background-color var(--t-fast) linear,
    border-color var(--t-fast) linear;
}

.rail__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(168, 189, 180, .66);
  transition: color var(--t-fast) linear;
}

.rail__label { display: block; }

.rail__link:hover {
  color: var(--paper);
  background-color: rgba(55, 242, 196, .07);
  border-left-color: var(--neon);
}

.rail__link:hover .rail__idx { color: var(--neon); }

.rail__link[aria-current="page"] {
  color: #04120E;
  background-color: var(--neon);
  border-left-color: var(--glare);
}

.rail__link[aria-current="page"] .rail__idx { color: rgba(4, 18, 14, .62); }

.rail__link[aria-current="page"]:hover {
  background-color: var(--mint);
  border-left-color: var(--glare);
}

.rail__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 16px 10px 20px;
  border-top: 1px solid var(--line);
}

.rail__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 181, 71, .18);
  animation: rail-pulse 2.6s ease-in-out infinite;
}

@keyframes rail-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 2px rgba(255, 181, 71, .22); }
  50% { opacity: .55; box-shadow: 0 0 0 7px rgba(255, 181, 71, 0); }
}

.rail__note {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  color: var(--muted);
}

/* 5.2 移动遮罩 */
.nav-scrim { display: none; }

@media (max-width: 1023px) {
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    padding: 0;
    border: 0;
    background: rgba(3, 10, 8, .74);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 200ms linear;
  }

  .site-header[data-open] .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

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

/* 5.3 顶部比分条 */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 32, 25, .97), rgba(6, 17, 14, .93));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1480px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .topbar__inner { gap: 18px; padding-inline: 24px; }
}

@media (min-width: 1280px) {
  .topbar__inner { padding-inline: 36px; }
}

.topbar__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.topbar__name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--paper);
  white-space: nowrap;
}

.topbar__tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .07em;
  color: var(--muted);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .topbar__tag { display: block; }
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(55, 242, 196, .16);
}

.topbar__status-text { display: none; }

@media (min-width: 1024px) {
  .topbar__status-text { display: inline; }
}

.topbar__cta { display: none; }

@media (min-width: 640px) {
  .topbar__cta { display: inline-flex; }
}

/* 5.4 移动菜单按钮 */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  cursor: pointer;
  transition:
    border-color var(--t-fast) linear,
    color var(--t-fast) linear,
    background-color var(--t-fast) linear;
}

.nav-toggle:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(55, 242, 196, .08);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-mid) var(--ease);
}

.site-header[data-open] .nav-toggle__bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* 5.5 滚动进度（JS 注入） */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon) 0%, var(--mint) 58%, var(--amber) 100%);
  pointer-events: none;
}

/* -------- 6. 桌面端导航轨 -------- */
@media (min-width: 1024px) {
  .rail {
    width: var(--rail-w);
    transform: none;
    box-shadow: none;
    overscroll-behavior: auto;
  }

  .rail__mark { font-size: 24px; padding: 18px 0 14px; }

  .rail__link {
    padding: 10px 6px;
    font-size: 13px;
    text-align: center;
    justify-items: center;
  }

  .rail__idx { font-size: 10px; }

  .rail__foot { padding: 14px 6px 18px; }
}

@media (min-width: 1280px) {
  .rail__link { font-size: 14px; }
}

/* -------- 7. 通用组件 -------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

@media (min-width: 1280px) {
  .container { padding-inline: 40px; }
}

.site-main {
  display: block;
  padding-block: 8px 0;
}

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

/* 7.1 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t-fast) linear,
    border-color var(--t-fast) linear,
    color var(--t-fast) linear,
    box-shadow var(--t-fast) linear;
}

.btn:hover {
  transform: translate(-1px, -1px);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--shadow-neon);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: none;
  border-color: var(--mint);
}

.btn--accent {
  background: var(--neon);
  border-color: var(--neon);
  color: #04120E;
  box-shadow: 3px 3px 0 0 var(--amber);
}

.btn--accent:hover {
  background: var(--mint);
  border-color: var(--glare);
  color: #04120E;
  box-shadow: var(--shadow-amber);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--mint);
}

.btn--ghost:hover {
  background: rgba(55, 242, 196, .08);
  border-color: var(--neon);
  color: var(--neon);
}

.btn--sm {
  padding: 7px 12px;
  font-size: 13px;
}

/* 7.2 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) linear, border-color var(--t-fast) linear;
}

.breadcrumb a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

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

/* 7.3 章节 */
.section { padding-block: 40px; }

@media (min-width: 768px) {
  .section { padding-block: 56px; }
}

@media (min-width: 1024px) {
  .section { padding-block: 64px; }
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.section__lead {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* 7.4 网格 */
.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .grid { gap: 20px; }
}

.grid--bento { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 640px) {
  .grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .grid--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .span-3 { grid-column: span 3; }
}

/* 7.5 面板 / 资料卡 */
.panel {
  position: relative;
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: border-color var(--t-mid) linear, transform var(--t-mid) var(--ease);
}

@media (min-width: 768px) {
  .panel { padding: 22px; }
}

.panel:hover { border-color: rgba(55, 242, 196, .45); }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.panel__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}

/* 7.6 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(23, 60, 49, .4);
  border: 1px solid var(--line);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.6;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--neon {
  color: var(--neon);
  border-color: rgba(55, 242, 196, .45);
  background: rgba(55, 242, 196, .08);
}

.tag--amber {
  color: var(--amber);
  border-color: rgba(255, 181, 71, .45);
  background: rgba(255, 181, 71, .08);
}

/* 7.7 栏目小标 */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
}

/* 7.8 数据条 */
.stat {
  display: grid;
  gap: 2px;
}

.stat__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__v {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}

.stat__v--neon { color: var(--neon); }

/* 7.9 图片容器基础规则 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-2);
  background-image:
    repeating-linear-gradient(135deg, rgba(55, 242, 196, .07) 0 2px, transparent 2px 12px),
    radial-gradient(90% 80% at 70% 10%, rgba(55, 242, 196, .12), transparent 70%);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.06) brightness(.94);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(215, 255, 244, .06);
}

.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

.figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.figure__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--muted);
}

/* 7.10 长文 */
.prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--paper);
}

@media (min-width: 768px) {
  .prose { font-size: 17px; }
}

.prose p { margin: 0 0 1.05em; }

.prose h2, .prose h3, .prose h4 {
  margin: 1.5em 0 .55em;
  line-height: 1.3;
}

.prose ul, .prose ol {
  display: grid;
  gap: .5em;
  margin: 0 0 1.05em;
  padding-left: 0;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 8px;
  height: 2px;
  background: var(--neon);
}

.prose ol { counter-reset: prose-ol; }
.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
}

.prose a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(55, 242, 196, .42);
  transition: border-color var(--t-fast) linear, color var(--t-fast) linear;
}

.prose a:hover {
  color: var(--glare);
  border-bottom-color: var(--glare);
}

.prose strong { color: var(--glare); font-weight: 700; }

.prose blockquote {
  margin: 1.4em 0;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--amber);
  color: var(--mint);
}

/* 7.11 小工具 */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.text-muted { color: var(--muted); }

.rule {
  height: 0;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* 7.12 滚动显现协议 */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* -------- 8. 页脚 -------- */
.site-footer {
  position: relative;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 31, 25, .96) 0%, #050F0C 100%);
}

@media (min-width: 1024px) {
  .site-footer { margin-top: 80px; }
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 132px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--amber));
}

.footer__grid {
  display: grid;
  gap: 30px;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: 44px 20px 34px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    padding: 52px 32px 40px;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
    gap: 40px;
    padding: 60px 40px 44px;
  }
}

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

.footer__mark {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
}

.footer__mark-slash { color: var(--neon); }

.footer__name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--mint);
}

.footer__desc {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer__cta {
  justify-self: start;
  margin-top: 4px;
}

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

.footer__title {
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
}

.footer__list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) linear, border-color var(--t-fast) linear;
}

.footer__link::before {
  content: "›";
  font-family: var(--font-mono);
  color: var(--line);
  transition: color var(--t-fast) linear;
}

.footer__link:hover {
  color: var(--paper);
  border-bottom-color: var(--neon);
}

.footer__link:hover::before { color: var(--neon); }

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

.footer__list--contact { gap: 10px; }

.footer__contact-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.65;
}

.footer__k {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
}

.footer__val {
  color: var(--paper);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer__note {
  margin-top: 4px;
  padding-left: 12px;
  border-left: 2px solid var(--amber-deep);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: 18px 20px 30px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .05em;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer__legal { padding: 20px 32px 34px; }
}

@media (min-width: 1024px) {
  .footer__legal { padding: 20px 40px 38px; }
}

.footer__legal-item { color: var(--muted); }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) linear, border-color var(--t-fast) linear;
}

.footer__legal-link:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

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

  .rail,
  .nav-scrim,
  .skip-link,
  .nav-toggle__bar {
    transition: none !important;
  }

  .rail__pulse { animation: none !important; opacity: 1; }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover { transform: none; }
}
