/* =========================================================================
   8868体育 · 共享站点样式 /assets/site.css
   高原夜空底色 · 经幡五色状态信号 · 精密网格与直角 · 胶囊只用于导航
   ========================================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --night-900: #071522;
  --night-800: #0D2238;
  --night-700: #16344F;
  --cloud: #F4F7FA;
  --cyan: #2CC6D9;
  --cyan-soft: rgba(44, 198, 217, .12);
  --white: #FFFFFF;
  --red: #E4572E;
  --green: #3FAE6A;
  --yellow: #F2C14E;
  --ink: #16202A;
  --grid: #2E4A66;

  --bg: var(--night-900);
  --surface: var(--night-800);
  --surface-2: var(--night-700);
  --fg: var(--cloud);
  --fg-muted: rgba(244, 247, 250, .66);
  --fg-faint: rgba(244, 247, 250, .42);
  --line: var(--grid);
  --accent: var(--cyan);
  --accent-ink: #04121D;
  --link: var(--cyan);

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

  --w-max: 1280px;
  --gutter: clamp(18px, 4vw, 44px);
  --radius: 2px;
  --flag-stripe: linear-gradient(90deg,
      var(--cyan) 0 20%,
      var(--white) 20% 40%,
      var(--red) 40% 60%,
      var(--green) 60% 80%,
      var(--yellow) 80% 100%);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

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

/* ---------- 3. 中文排版与基础元素 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 5.2vw, 64px); }
h2 { font-size: clamp(25px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -.005em; }
h4 { font-size: 18px; }

p { text-wrap: pretty; }

a { color: var(--link); }

strong, b { font-weight: 700; }

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

.visually-hidden {
  position: absolute !important;
  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;
}

.skip-link {
  position: absolute;
  top: 10px; left: 12px;
  z-index: 300;
  transform: translateY(-220%);
  padding: 12px 20px;
  background: var(--cyan);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(44px, 6vw, 88px);
  background: var(--bg);
  color: var(--fg);
}

.section--deep {
  --bg: var(--night-800);
  background: var(--bg);
}

.section--light {
  --bg: var(--cloud);
  --surface: #FFFFFF;
  --surface-2: #E7EEF4;
  --fg: var(--ink);
  --fg-muted: rgba(22, 32, 42, .68);
  --fg-faint: rgba(22, 32, 42, .5);
  --line: #C6D4E1;
  --link: #0B7B8B;
  background: var(--bg);
  color: var(--fg);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

/* ---------- 5. 通用文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.section-head { display: grid; gap: 14px; max-width: 62ch; }
.section-title { font-size: clamp(25px, 3.4vw, 40px); }
.section-lead {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--fg-muted);
  max-width: 62ch;
}

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--fg);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(23px, 2.8vw, 32px); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-block: .4em; }
.prose li::marker { color: var(--accent); }
.prose a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 18px;
  border-left: 2px solid var(--accent);
  color: var(--fg-muted);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--cyan); border-color: var(--cyan); color: var(--accent-ink); }
.btn--primary:hover { background: #4AD8E8; border-color: #4AD8E8; }

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

.btn--sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13.5px;
}

/* ---------- 7. 标签 / 数据 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--cyan);
  background: rgba(44, 198, 217, .1);
  border: 1px solid currentColor;
  border-radius: var(--radius);
}
.tag::before {
  content: "";
  width: 5px; height: 5px;
  background: currentColor;
}
.tag--red { color: var(--red); background: rgba(228, 87, 46, .1); }
.tag--green { color: var(--green); background: rgba(63, 174, 106, .1); }
.tag--yellow { color: var(--yellow); background: rgba(242, 193, 78, .1); }
.tag--white { color: var(--cloud); background: rgba(244, 247, 250, .1); }

.stat {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  background: var(--surface-2);
  border-left: 2px solid var(--accent);
}
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--fg-muted);
}

/* ---------- 8. 卡片 ---------- */
.card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--cyan); transform: translate(-2px, -2px); }
.card-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-title { font-size: 19px; line-height: 1.4; }
.card-text { font-size: 15px; line-height: 1.75; color: var(--fg-muted); }

/* ---------- 9. 面包屑 ---------- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--fg-faint);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line); }
.breadcrumbs a {
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.breadcrumbs a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--fg); }

/* ---------- 10. 图片容器基础 ---------- */
.figure { margin: 0; }
.figure-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.figure-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.figure-media--square { aspect-ratio: 1 / 1; }
.figure-media--portrait { aspect-ratio: 4 / 5; }
.figure-media--wide { aspect-ratio: 21 / 9; }
.figure-media::before,
.figure-media::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--cyan);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.figure-media::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.figure-media::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.figure:hover .figure-media::before,
.figure:hover .figure-media::after { opacity: 1; }

.figure-caption {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ---------- 11. 侧边数据轴 ---------- */
.data-axis {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 2px;
  padding-block: 10px;
  border-left: 1px solid var(--line);
}
.axis-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -1px;
  padding: 8px 0 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--fg-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.axis-link::before {
  content: attr(data-index);
  font-size: 10px;
  color: var(--fg-faint);
}
.axis-link:hover { color: var(--fg); }
.axis-link[data-active="true"] {
  color: var(--fg);
  border-left-color: var(--cyan);
  background: var(--cyan-soft);
}

/* ---------- 12. 页头 ---------- */
.site-header {
  --fg: var(--cloud);
  --fg-muted: rgba(244, 247, 250, .66);
  --fg-faint: rgba(244, 247, 250, .42);
  --line: var(--grid);

  position: sticky;
  top: 0;
  z-index: 120;
  padding-block: 18px;
  background: rgba(7, 21, 34, .74);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: padding .25s ease, background-color .25s ease, border-color .25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.site-header[data-scrolled="true"] {
  padding-block: 8px;
  background: rgba(13, 34, 56, .96);
  border-bottom-color: var(--grid);
}
.site-header[data-scrolled="true"]::after { opacity: .7; }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 56px;
}

/* 品牌方章 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: var(--night-700);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--flag-stripe);
}
.brand-text { display: grid; gap: 4px; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--white);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* 悬浮胶囊导航 */
.nav-capsule {
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding: 5px;
  background: rgba(22, 52, 79, .6);
  border: 1px solid var(--grid);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  color: rgba(244, 247, 250, .78);
  text-decoration: none;
  border-radius: 999px;
  transition: color .18s ease, background-color .18s ease;
}
.nav-link:hover { color: var(--white); background: rgba(44, 198, 217, .16); }
.nav-link[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--cyan);
  font-weight: 700;
}
.nav-link[aria-current="page"]:hover { background: #4AD8E8; }

/* 右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.link-quiet {
  padding: 6px 2px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 247, 250, .72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.link-quiet:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(22, 52, 79, .8);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  color: var(--cloud);
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color .2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  --fg: var(--cloud);
  --fg-muted: rgba(244, 247, 250, .66);
  --fg-faint: rgba(244, 247, 250, .42);
  --line: var(--grid);

  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--night-800);
  border-top: 1px solid var(--grid);
  color: var(--fg);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 220px;
  height: 3px;
  background: var(--flag-stripe);
}

.footer-inner {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
}

.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-desc {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-muted);
}

.footer-col { display: grid; gap: 14px; align-content: start; }
.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--cyan);
}
.footer-heading::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
}

.footer-list { display: grid; gap: 8px; }
.footer-link {
  display: inline-block;
  padding: 2px 0;
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-link:hover { color: var(--white); border-bottom-color: var(--cyan); }

.footer-contact { display: grid; gap: 14px; }
.contact-item { display: grid; gap: 3px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--fg-faint);
}
.contact-value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg);
  word-break: break-word;
}

.footer-note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--yellow);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--fg-faint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--grid);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--fg-faint);
}

.btn-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-top:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-1px); }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 11px; font-size: 13.5px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 1023px) {
  html { scroll-padding-top: 88px; }

  .nav-toggle { display: inline-flex; }
  .link-quiet { display: none; }

  .nav-capsule {
    --fg: var(--cloud);
    --line: var(--grid);

    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    z-index: 160;
    margin: 0;
    padding: 12px;
    display: block;
    max-height: min(72vh, 540px);
    overflow-y: auto;
    background: rgba(13, 34, 56, .98);
    border: 1px solid var(--grid);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .55);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.2, .8, .3, 1),
                opacity .22s ease, visibility .3s linear;
  }
  .nav-capsule[data-nav][data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-capsule::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-bottom: 10px;
    background: var(--flag-stripe);
  }
  .nav-list {
    display: grid;
    gap: 2px;
  }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    font-size: 15px;
    border-radius: var(--radius);
    color: var(--cloud);
    border-bottom: 1px solid rgba(46, 74, 102, .5);
  }
  .nav-list li:last-child .nav-link { border-bottom: 0; }
  .nav-link[aria-current="page"] { color: var(--accent-ink); background: var(--cyan); }
  .nav-link[aria-current="page"]::after {
    content: "当前";
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
  }

  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }

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

  .data-axis {
    position: static;
    top: auto;
    display: flex;
    gap: 4px;
    padding: 0;
    overflow-x: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 8px;
    scrollbar-width: thin;
  }
  .axis-link {
    flex: 0 0 auto;
    margin-left: 0;
    padding: 8px 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .axis-link[data-active="true"] {
    border-left-color: transparent;
    border-bottom-color: var(--cyan);
  }

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

@media (max-width: 639px) {
  body { font-size: 16px; }

  .section { padding-block: clamp(34px, 9vw, 56px); }
  .site-header { padding-block: 12px; }
  .header-inner { min-height: 48px; }
  .header-actions .btn { display: none; }
  .brand-mark { width: 36px; height: 36px; font-size: 12px; }
  .brand-name { font-size: 16px; }

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

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-meta { font-size: 12px; }

  .btn { width: 100%; }
  .header-actions .btn,
  .btn--inline { width: auto; }
  .btn-top { width: auto; }
}

/* ---------- 15. 动效退让 ---------- */
@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,
  .btn:hover,
  .btn-top:hover { transform: none; }
}
