/* =========================================================
   奇异果体育网 · 共享样式 /assets/site.css
   技术蓝图网格 + 球场边线秩序
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色 */
  --seed: #0D1412;
  --deep: #14231E;
  --kiwi: #2FD18A;
  --electric: #37E0C8;
  --kiwi-dark: #1B9E6B;
  --violet: #7B61FF;
  --line: #E4E8E4;
  --paper: #F6F8F6;
  --graphite: #5A6663;
  --alarm: #E0453C;
  --warn: #F2B417;
  --white: #FFFFFF;

  --ink-soft: rgba(13, 20, 18, 0.64);
  --grid-line: rgba(13, 20, 18, 0.05);
  --dark-line: rgba(228, 232, 228, 0.14);

  /* 形状与深度 */
  --radius-s: 3px;
  --radius-m: 6px;
  --radius-l: 14px;
  --pill: 999px;
  --shadow-1: 0 1px 0 rgba(13, 20, 18, 0.05), 0 6px 18px -14px rgba(13, 20, 18, 0.55);
  --shadow-2: 0 2px 0 rgba(13, 20, 18, 0.04), 0 18px 40px -26px rgba(13, 20, 18, 0.65);

  /* 尺度 */
  --wrap: 1200px;
  --narrow: 760px;
  --gap: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--seed);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 88px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-stretch: condensed;
}

h1 { font-size: clamp(28px, 4.4vw, 46px); }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: clamp(17px, 2vw, 21px); }

p { max-width: 40em; }

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

strong { font-weight: 800; }

::selection { background: var(--kiwi); color: var(--seed); }

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

.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--kiwi);
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--seed);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  transition: top 0.18s var(--ease);
}

.skip-link:focus { top: 0; }

/* ---------- 5. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow { max-width: var(--narrow); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.col--3 { grid-column: span 3; }
.col--4 { grid-column: span 4; }
.col--5 { grid-column: span 5; }
.col--6 { grid-column: span 6; }
.col--7 { grid-column: span 7; }
.col--8 { grid-column: span 8; }
.col--9 { grid-column: span 9; }
.col--12 { grid-column: span 12; }

/* ---------- 6. 章节节奏 ---------- */
.section {
  position: relative;
  padding: 72px 0;
}

.section--tight { padding: 44px 0; }

.section--ruled { border-top: 1px solid var(--line); }

.section--dark {
  background: var(--seed);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  color: #DDE6E1;
  border-top: 3px solid var(--kiwi);
}

.section__coord {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 10px;
}

.section--dark .section__coord { color: var(--electric); }

.section__title { margin-bottom: 14px; }
.section--dark .section__title { color: #fff; }

.section__lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section--dark .section__lead { color: rgba(221, 230, 225, 0.76); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--primary {
  background: var(--kiwi);
  color: var(--seed);
  border-color: var(--kiwi);
  box-shadow: 0 1px 0 rgba(13, 20, 18, 0.08);
}

.btn--primary:hover {
  background: var(--kiwi-dark);
  border-color: var(--kiwi-dark);
  color: #fff;
}

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

.btn--ghost:hover {
  border-color: var(--kiwi);
  color: var(--kiwi-dark);
  background: rgba(47, 209, 138, 0.07);
}

.btn--mini {
  padding: 7px 14px;
  font-size: 13px;
}

/* ---------- 8. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 248, 246, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--kiwi), var(--electric));
  z-index: 3;
}

.header-top { padding: 12px 0 8px; }

.header-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: var(--shadow-1);
  transition: padding 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

/* 品牌锁合 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: var(--pill);
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #EFFBF5 0 34%, #B8EFD6 34% 66%, var(--kiwi) 66% 100%);
  box-shadow: inset 0 0 0 3px var(--white), 0 0 0 1px rgba(13, 20, 18, 0.22);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 50% 26%, var(--seed) 0 1.3px, transparent 1.7px),
    radial-gradient(circle at 29% 52%, var(--seed) 0 1.3px, transparent 1.7px),
    radial-gradient(circle at 71% 52%, var(--seed) 0 1.3px, transparent 1.7px),
    radial-gradient(circle at 50% 77%, var(--seed) 0 1.3px, transparent 1.7px);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--graphite);
  white-space: nowrap;
}

/* 移动端按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--seed);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}

.nav-toggle__bars::before { top: 2px; }
.nav-toggle__bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

/* 胶囊导航 */
.capsule-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--seed);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-list__link:hover {
  background: var(--deep);
  color: #fff;
}

.nav-list__link[aria-current="page"] {
  background: rgba(47, 209, 138, 0.15);
  color: var(--kiwi-dark);
  box-shadow: inset 0 0 0 1px rgba(47, 209, 138, 0.45);
}

.capsule-nav__cta { margin-left: 4px; }

/* 滚动收拢 */
.site-header.is-condensed .header-top { padding: 7px 0 6px; }

.site-header.is-condensed .brand__meta { display: none; }

.site-header.is-condensed .header-capsule {
  padding: 4px 6px 4px 10px;
  box-shadow: var(--shadow-2);
}

.site-header.is-condensed .brand__mark { width: 28px; height: 28px; }

/* ---------- 9. 双轴筛选条 ---------- */
.axis-bar {
  max-height: 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  visibility: visible;
  transition: max-height 0.28s var(--ease), opacity 0.2s linear, visibility 0.28s linear;
}

.site-header.is-condensed .axis-bar {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}

.axis-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 24px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.axis-bar__inner::-webkit-scrollbar { height: 4px; }
.axis-bar__inner::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.axis-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.axis-group--rail { margin-left: auto; }

.axis-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-right: 2px;
}

.axis-pill {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.axis-pill:hover {
  border-color: var(--kiwi);
  color: var(--kiwi-dark);
}

.axis-pill.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--electric);
}

.axis-round {
  min-width: 46px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--graphite);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.axis-round:hover { border-color: var(--kiwi); color: var(--kiwi-dark); }

.axis-round.is-active {
  background: var(--kiwi);
  border-color: var(--kiwi);
  color: var(--seed);
  font-weight: 700;
}

.axis-round.is-current {
  border-color: var(--kiwi-dark);
  color: var(--kiwi-dark);
  font-weight: 700;
}

.axis-round.is-current.is-active { color: var(--seed); }

.axis-round.is-current { animation: round-pulse 1.2s var(--ease) 1; }

@keyframes round-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 209, 138, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(47, 209, 138, 0); }
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

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

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

.breadcrumbs a:hover { color: var(--kiwi-dark); }

/* ---------- 11. 研究板 / 卡片 ---------- */
.panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  padding: 20px 20px 18px;
}

.panel--tick::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--kiwi);
  border-left: 2px solid var(--kiwi);
  border-radius: var(--radius-m) 0 0 0;
}

.panel__coord {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}

.panel__title {
  font-size: 18px;
  margin: 8px 0 10px;
}

.panel__text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: none;
}

.panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--graphite);
}

.section--dark .panel {
  background: var(--deep);
  border-color: var(--dark-line);
  box-shadow: none;
}

.section--dark .panel__title { color: #fff; }
.section--dark .panel__text { color: rgba(221, 230, 225, 0.74); }
.section--dark .panel__foot { border-top-color: var(--dark-line); color: rgba(221, 230, 225, 0.6); }

/* ---------- 12. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border: 1px solid rgba(47, 209, 138, 0.42);
  border-radius: var(--radius-s);
  background: rgba(47, 209, 138, 0.12);
  color: var(--kiwi-dark);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tag--violet {
  border-color: rgba(123, 97, 255, 0.4);
  background: rgba(123, 97, 255, 0.12);
  color: var(--violet);
}

.tag--warn {
  border-color: rgba(242, 180, 23, 0.5);
  background: rgba(242, 180, 23, 0.16);
  color: #8A6400;
}

.tag--alarm {
  border-color: rgba(224, 69, 60, 0.45);
  background: rgba(224, 69, 60, 0.12);
  color: var(--alarm);
}

/* ---------- 13. 数据表 ---------- */
.data-table {
  width: 100%;
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.data-table th {
  background: var(--seed);
  color: #E8EFEA;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 11px 14px;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--seed);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table tbody tr:hover { background: rgba(47, 209, 138, 0.06); }

.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.data-table .up { color: var(--kiwi-dark); font-family: var(--font-mono); }
.data-table .down { color: var(--alarm); font-family: var(--font-mono); }
.data-table .hold { color: var(--warn); font-family: var(--font-mono); }

/* ---------- 14. 图片容器 ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-color: #EDF1EE;
  background-image: repeating-linear-gradient(45deg, rgba(13, 20, 18, 0.05) 0 1px, transparent 1px 11px);
}

.img-frame > img,
.img-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame--16x9 { aspect-ratio: 16 / 9; }
.img-frame--4x3 { aspect-ratio: 4 / 3; }
.img-frame--1x1 { aspect-ratio: 1 / 1; }
.img-frame--wide { aspect-ratio: 21 / 9; }

.img-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #EAF3EE;
  background: linear-gradient(to top, rgba(13, 20, 18, 0.8), rgba(13, 20, 18, 0));
}

/* ---------- 15. 章节目录 ---------- */
.toc {
  position: sticky;
  top: 108px;
  align-self: start;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.toc__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 12px;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc__link {
  display: block;
  margin-left: -18px;
  padding: 6px 0 6px 18px;
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.5;
  color: var(--graphite);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.toc__link:hover { color: var(--seed); }

.toc__link.is-active {
  border-left-color: var(--kiwi);
  color: var(--kiwi-dark);
  font-weight: 700;
}

/* ---------- 16. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--seed);
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s linear, border-color 0.18s var(--ease);
}

.to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top:hover { border-color: var(--kiwi); color: var(--kiwi-dark); }

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 17. 显现动效 ---------- */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .has-js .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
    will-change: opacity, transform;
  }

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

/* ---------- 18. 页脚 ---------- */
.site-footer {
  position: relative;
  padding: 60px 0 28px;
  background-color: var(--seed);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  border-top: 3px solid var(--kiwi);
  color: #C8D2CE;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand { max-width: 34ch; }

.brand--footer { padding: 0; }

.brand--footer .brand__name { color: #fff; font-size: 17px; }

.brand--footer .brand__meta { color: rgba(200, 210, 206, 0.68); }

.brand--footer .brand__mark {
  box-shadow: inset 0 0 0 3px var(--seed), 0 0 0 1px rgba(47, 209, 138, 0.55);
}

.footer-brand__line {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(200, 210, 206, 0.78);
  max-width: 34ch;
}

.footer-coord {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--electric);
}

.footer-col__title {
  position: relative;
  padding-left: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-col__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--kiwi);
  border-radius: 2px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-list a {
  color: rgba(200, 210, 206, 0.86);
  transition: color 0.18s var(--ease);
  border-bottom: 1px solid transparent;
}

.footer-list a:hover {
  color: var(--kiwi);
  border-bottom-color: rgba(47, 209, 138, 0.45);
}

.footer-list--plain li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  line-height: 1.6;
  color: rgba(200, 210, 206, 0.8);
}

.footer-k {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 210, 206, 0.5);
}

.footer-v { word-break: break-word; }
.footer-v.mono { font-size: 12.5px; color: rgba(228, 236, 231, 0.92); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  font-size: 12.5px;
  color: rgba(200, 210, 206, 0.66);
}

.footer-legal { max-width: 46ch; }

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-nav a {
  color: rgba(228, 236, 231, 0.9);
  font-weight: 600;
  border-bottom: 1px solid rgba(47, 209, 138, 0.4);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal-nav a:hover {
  color: var(--kiwi);
  border-bottom-color: var(--kiwi);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-note {
  margin-top: 14px;
  max-width: none;
  font-size: 12px;
  color: rgba(200, 210, 206, 0.5);
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { max-width: none; grid-column: span 2; }
}

@media (max-width: 900px) {
  .container { padding-inline: 18px; }

  .grid-12 { gap: 18px; }

  .col--3, .col--4, .col--5, .col--6, .col--7, .col--8, .col--9 { grid-column: span 12; }

  .section { padding: 52px 0; }
  .section--tight { padding: 34px 0; }

  .toc {
    position: static;
    border-left: 0;
    border-top: 2px solid var(--line);
    padding: 14px 0 0;
  }

  .toc__link { margin-left: 0; padding-left: 14px; }

  /* 胶囊导航转为浮岛面板 */
  .capsule-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-2);
  }

  .capsule-nav[data-open] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list__link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .capsule-nav__cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .axis-bar__inner { gap: 14px; padding: 10px 18px 12px; }
  .axis-group--rail { margin-left: 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { justify-content: flex-start; }

  .to-top { right: 16px; bottom: 18px; }
}

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

@media (max-width: 560px) {
  body { font-size: 15.5px; }

  .header-capsule { padding: 5px 6px 5px 10px; }

  .brand__meta { display: none; }

  .site-header.is-condensed .brand__meta { display: none; }

  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 9px 10px; }
}

/* ---------- 20. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .has-js .reveal[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-progress { transition: none; }
}
