/* ============================================================
   b体育手机版 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 通用组件
   ============================================================ */

/* ---------- 1. 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, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
table { width: 100%; border-collapse: collapse; }
summary { list-style: none; }

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

/* ---------- 2. Design Tokens ---------- */
:root {
  --ink-900: #050F0D;
  --ink-800: #0C1F1B;
  --ink-700: #123A32;
  --cyan: #2EF2C8;
  --orange: #FF8A3D;
  --indigo: #6C4BD6;
  --wine: #8C1F45;
  --amber: #FFD166;
  --mist: #EAF6F2;
  --sage: #9FB8B1;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --pill: 999px;

  --wrap: 1180px;
  --gap: clamp(16px, 2.2vw, 28px);
  --pad-x: clamp(16px, 4vw, 40px);
  --header-h: 110px;

  --font-sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow: 0 24px 60px -40px rgba(0, 0, 0, .95);
  --line: 1px solid var(--ink-700);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(90vw 60vh at 78% -8%, rgba(46, 242, 200, .10), transparent 62%),
    radial-gradient(70vw 50vh at 4% 10%, rgba(108, 75, 214, .14), transparent 60%),
    radial-gradient(60vw 45vh at 48% 112%, rgba(255, 138, 61, .07), transparent 66%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-cond);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.16;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 5.2vw, 44px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); }
h3 { font-size: clamp(19px, 2.4vw, 24px); }
h4 { font-size: 18px; line-height: 1.38; }
p { text-wrap: pretty; }
strong { color: var(--mist); font-weight: 800; }

.num, time, .u-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

main { display: block; padding-top: var(--header-h); }
.bleed-under-header { margin-top: calc(var(--header-h) * -1); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

/* ---------- 4. 工具类 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 130;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: #04140F;
  font-weight: 800;
  font-size: 14px;
  transition: top .22s var(--ease);
}
.skip-link:focus { top: 12px; }

.divider { height: 1px; background: var(--ink-700); border: 0; }
.muted { color: var(--sage); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-align: center;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary {
  background: var(--cyan);
  color: #04140F;
  border-color: rgba(46, 242, 200, .7);
  box-shadow: 0 12px 30px -18px rgba(46, 242, 200, .9);
}
.btn-primary:hover { background: #55F7D6; transform: translateY(-1px); }
.btn-ghost {
  background: rgba(234, 246, 242, .05);
  color: var(--mist);
  border-color: var(--ink-700);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 6. 胶囊标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--ink-700);
  border-radius: var(--pill);
  background: rgba(234, 246, 242, .05);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.tag--live { background: var(--cyan); color: #04140F; border-color: transparent; }
.tag--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #04140F;
  animation: pulse 2.4s ease-in-out infinite;
}
.tag--orange { color: var(--orange); border-color: rgba(255, 138, 61, .45); background: rgba(255, 138, 61, .10); }
.tag--amber { color: var(--amber); border-color: rgba(255, 209, 102, .42); background: rgba(255, 209, 102, .10); }
.tag--indigo { color: #C8B8FF; border-color: rgba(108, 75, 214, .55); background: rgba(108, 75, 214, .18); }
.tag--wine { color: #F3A9C2; border-color: rgba(140, 31, 69, .62); background: rgba(140, 31, 69, .24); }

/* ---------- 7. 章节与面板 ---------- */
.section { padding: clamp(34px, 6vw, 72px) 0; }
.section--tight { padding: clamp(22px, 3.6vw, 42px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.section-title { font-size: clamp(24px, 3.6vw, 32px); }
.section-lead { max-width: 58ch; color: var(--sage); font-size: 15px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.panel {
  position: relative;
  background: var(--ink-800);
  border: var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow: var(--shadow);
}
.panel--flat { box-shadow: none; }
.panel--cyan {
  background: linear-gradient(160deg, rgba(46, 242, 200, .15), var(--ink-800) 58%);
  border-color: rgba(46, 242, 200, .42);
}
.panel--indigo {
  background: linear-gradient(165deg, rgba(108, 75, 214, .32), var(--ink-800) 62%);
  border-color: rgba(108, 75, 214, .58);
}
.panel--wine {
  background: linear-gradient(165deg, rgba(140, 31, 69, .34), var(--ink-800) 60%);
  border-color: rgba(140, 31, 69, .62);
}
.panel--amber {
  background: linear-gradient(165deg, rgba(255, 209, 102, .16), var(--ink-800) 62%);
  border-color: rgba(255, 209, 102, .45);
}
.panel--ticked::before {
  content: "";
  position: absolute;
  left: clamp(18px, 2.6vw, 30px);
  right: clamp(18px, 2.6vw, 30px);
  top: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, rgba(255, 209, 102, .6) 0 1px, transparent 1px 14px);
  opacity: .55;
  pointer-events: none;
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-title { font-size: clamp(19px, 2.4vw, 24px); }

/* ---------- 8. 栅格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--asym-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.stack--sm { gap: 12px; }

/* ---------- 9. 卡片与索引列表 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--ink-800);
  border: var(--line);
  border-radius: var(--radius-lg);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: rgba(46, 242, 200, .42); }
.card-index { color: var(--amber); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; }
.card-title { font-size: 19px; }
.card-meta { color: var(--sage); font-size: 13px; }

.list-divided { display: flex; flex-direction: column; border-top: 1px solid var(--ink-700); }
.list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 2px;
  border-bottom: 1px solid var(--ink-700);
  transition: background-color .2s var(--ease);
}
.list-item:hover { background: linear-gradient(90deg, rgba(46, 242, 200, .07), transparent 72%); }
.index-num { color: var(--amber); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; }
.list-main { min-width: 0; }
.list-tail { color: var(--sage); font-size: 13px; }

/* ---------- 10. 数据块 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.stat {
  padding: 14px 16px;
  background: rgba(5, 15, 13, .58);
  border: var(--line);
  border-radius: var(--radius-md);
}
.stat-value {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
}
.stat-label { margin-top: 4px; color: var(--sage); font-size: 12.5px; }

/* ---------- 11. 展开组（使用教程 / 问答） ---------- */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion details {
  background: rgba(12, 31, 27, .74);
  border: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-top: -4px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform .24s var(--ease), margin .24s var(--ease);
}
.accordion details[open] summary { background: rgba(46, 242, 200, .08); color: var(--cyan); }
.accordion details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.accordion .accordion-body {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--ink-700);
  color: var(--sage);
  font-size: 15px;
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(14px, 2vw, 22px);
  color: var(--sage);
  font-size: 13px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(159, 184, 177, .55); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--mist); font-weight: 800; }

/* ---------- 13. 正文容器 ---------- */
.prose {
  max-width: 72ch;
  color: rgba(234, 246, 242, .9);
  font-size: 15.5px;
  line-height: 1.8;
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(20px, 2.6vw, 26px); }
.prose h3 { margin-top: 1.6em; font-size: 19px; }
.prose ul { display: flex; flex-direction: column; gap: .6em; }
.prose li { position: relative; padding-left: 18px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(46, 242, 200, .42); }
.prose blockquote {
  padding-left: 16px;
  border-left: 2px solid var(--amber);
  color: var(--sage);
}

/* ---------- 14. 图片容器（供页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #0C1F1B, #0A2A24 55%, #06201B);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame__caption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 8px 12px;
  border: var(--line);
  border-radius: var(--pill);
  background: rgba(5, 15, 13, .74);
  color: var(--mist);
  font-size: 12.5px;
  backdrop-filter: blur(6px);
}
.media-frame__tag { position: absolute; top: 12px; left: 12px; }

/* ---------- 15. 页头 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: transparent;
  transition: background-color .28s var(--ease), box-shadow .28s var(--ease);
}
.site-header[data-scrolled] {
  background: rgba(12, 31, 27, .95);
  box-shadow: 0 1px 0 var(--ink-700), 0 22px 44px -34px rgba(0, 0, 0, .95);
  backdrop-filter: blur(10px);
}

.header-rail {
  background: linear-gradient(90deg, rgba(46, 242, 200, .10), rgba(108, 75, 214, .16) 55%, rgba(140, 31, 69, .18));
  border-bottom: 1px solid var(--ink-700);
}
.rail-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--sage);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.rail-live {
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 242, 200, .16);
  animation: pulse 2.4s ease-in-out infinite;
}
.rail-copy { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rail-time { margin-left: auto; color: var(--amber); font-size: 12.5px; }

.header-bar { padding: 8px 0; }
.bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  min-height: 60px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--cyan), #12A88E);
  color: #04140F;
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(46, 242, 200, .55);
}
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.brand-line {
  color: var(--sage);
  font-size: 11.5px;
  letter-spacing: .06em;
  line-height: 1.4;
}

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: rgba(234, 246, 242, .82);
  font-size: 15px;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.nav-list a:hover {
  color: var(--mist);
  background: rgba(46, 242, 200, .09);
  border-color: rgba(46, 242, 200, .28);
}
.nav-list a[aria-current="page"] {
  background: var(--cyan);
  color: #04140F;
  font-weight: 800;
  border-color: rgba(46, 242, 200, .6);
  box-shadow: 0 0 22px -6px rgba(46, 242, 200, .75);
}
.nav-foot { display: none; }

.bar-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: var(--line);
  border-radius: var(--pill);
  background: rgba(234, 246, 242, .05);
  color: var(--mist);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .24s var(--ease);
}
.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.scroll-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-line span {
  display: block;
  width: 100%; height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

/* ---------- 16. 右侧频道索引球 ---------- */
.quick-dock {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  top: 46%;
  z-index: 95;
}
.quick-ball {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(46, 242, 200, .5);
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(46, 242, 200, .22), rgba(12, 31, 27, .96));
  cursor: pointer;
  box-shadow: 0 18px 40px -22px rgba(46, 242, 200, .85);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.quick-ball:hover { transform: scale(1.06); border-color: var(--cyan); }
.quick-ball-icon { display: grid; gap: 3px; }
.quick-ball-icon i { display: block; height: 2px; border-radius: 2px; background: var(--cyan); }
.quick-ball-icon i:nth-child(1) { width: 16px; }
.quick-ball-icon i:nth-child(2) { width: 11px; background: var(--amber); }
.quick-ball-icon i:nth-child(3) { width: 6px; background: var(--orange); }

.quick-drawer {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  width: min(320px, calc(100vw - 92px));
  padding: 16px;
  background: rgba(9, 26, 22, .97);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(12px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.quick-dock[data-open] .quick-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.drawer-title {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.drawer-note { margin: 6px 0 12px; color: var(--sage); font-size: 12.5px; line-height: 1.6; }
.index-list { display: flex; flex-direction: column; }
.index-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 4px;
  border-bottom: 1px solid var(--ink-700);
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.index-item:hover { background: rgba(46, 242, 200, .08); padding-left: 10px; }
.index-label { font-size: 15px; font-weight: 700; }
.index-sub { color: var(--sage); font-size: 12px; }
body.is-nav-open .quick-dock { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(28px, 4vw, 52px) 0 22px;
  border-top: 1px solid var(--ink-700);
  background: linear-gradient(180deg, rgba(12, 31, 27, .55), rgba(4, 16, 14, .98));
}
.footer-ruler {
  height: 8px;
  margin-bottom: clamp(20px, 3vw, 34px);
  border-radius: 4px;
  background-image: repeating-linear-gradient(90deg, rgba(255, 209, 102, .55) 0 1px, transparent 1px 16px);
  opacity: .5;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.footer-brand {
  padding: clamp(18px, 2.4vw, 24px);
  border: var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(46, 242, 200, .12), var(--ink-800) 58%);
}
.footer-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--cyan);
  color: #04140F;
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.footer-brand-name {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.footer-brand-copy { margin-top: 8px; color: var(--sage); font-size: 14.5px; }
.footer-tagline { margin-top: 14px; color: var(--amber); font-size: 12px; letter-spacing: .08em; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(18px, 2.4vw, 24px);
  border: var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 31, 27, .62);
}
.footer-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-group-title::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  color: rgba(234, 246, 242, .84);
  font-size: 14.5px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-links a:hover { color: var(--cyan); border-color: rgba(46, 242, 200, .5); }

.footer-contact {
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(108, 75, 214, .45);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(108, 75, 214, .22), var(--ink-800) 62%);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(18, 58, 50, .95);
}
.contact-row:last-child { border-bottom: 0; }
.contact-label {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-value { color: var(--mist); font-size: 14.5px; word-break: break-word; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid var(--ink-700);
  color: var(--sage);
  font-size: 13px;
}
.footer-legal { font-family: var(--font-mono); letter-spacing: .06em; }
.footer-copy { color: rgba(159, 184, 177, .9); }

/* ---------- 18. 显现协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(.99);
  transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 110px; }
  .bar-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-left: 0;
    padding: 18px var(--pad-x) 34px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(12, 31, 27, .99), #06150F);
    border-top: 1px solid var(--ink-700);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: var(--line);
    border-radius: var(--radius-md);
    background: rgba(234, 246, 242, .035);
    font-size: 17px;
  }
  .nav-list a::after { content: "›"; color: var(--cyan); font-size: 16px; }
  .nav-foot { display: grid; gap: 10px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-nav { grid-column: span 2; }
}

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

@media (max-width: 768px) {
  :root { --header-h: 76px; }
  body { font-size: 15.5px; line-height: 1.72; }
  .header-rail { display: none; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; font-size: 21px; }
  .brand-line { display: none; }

  .quick-dock { top: auto; bottom: 20px; right: 16px; }
  .quick-drawer {
    top: auto;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(300px, calc(100vw - 32px));
    transform: translateY(10px);
  }
  .quick-dock[data-open] .quick-drawer { transform: translateY(0); }

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

@media (max-width: 680px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-base { justify-content: flex-start; }
  .media-frame--wide { aspect-ratio: 16 / 10; }
}

/* ---------- 20. 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .quick-ball:hover { transform: none; }
  .card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}
