/* ==========================================================================
   九博看台 · /assets/site.css
   共享外壳：reset / tokens / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ds-950);
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, hr {
  margin: 0;
}

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

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

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

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Design tokens ---------- */
:root {
  --ds-950: #050B1A;
  --ds-900: #0A1428;
  --ds-800: #12203C;
  --ds-700: #1B2E52;
  --steel-500: #6C82A8;
  --mist-100: #E8EEF8;
  --orange: #FF6A1F;
  --orange-deep: #C94A0C;
  --cyan: #29E0D6;
  --gold: #F2C14E;
  --paper: #F5F7FB;
  --ink-900: #101826;

  --line: rgba(108, 130, 168, 0.24);
  --line-soft: rgba(108, 130, 168, 0.14);
  --line-strong: rgba(108, 130, 168, 0.42);

  --rail-w: 88px;
  --shell-max: 1200px;

  --radius-pill: 999px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-soft: 0 10px 28px rgba(3, 8, 20, 0.55);
  --shadow-deep: 0 18px 44px rgba(3, 8, 20, 0.72);

  --font-display: "Archivo Narrow", "Oswald", "PingFang SC", "Noto Sans SC",
    "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist-100);
  background-color: var(--ds-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 3% 扫描线质感：模拟看台混凝土与屏幕混光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(0deg, rgba(232, 238, 248, 0.028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(232, 238, 248, 0.018) 0 1px, transparent 1px 4px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--mist-100);
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 5vw, 60px); }
h2 { font-size: clamp(22px, 2.6vw, 28px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }

p { max-width: 72ch; }

strong, b { font-weight: 600; color: var(--mist-100); }

::selection {
  background: rgba(255, 106, 31, 0.32);
  color: var(--mist-100);
}

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ds-950); }
::-webkit-scrollbar-thumb {
  background: var(--ds-700);
  border: 2px solid var(--ds-950);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--steel-500); }

/* 主内容区基准偏移（头部为 fixed） */
#main-content {
  display: block;
  scroll-margin-top: 104px;
  padding-top: clamp(104px, 12vw, 142px);
}

/* 桌面端为左侧轨道让位 */
@media (min-width: 1100px) {
  body { padding-left: var(--rail-w); }
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--ds-950);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translate(-50%, -240%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- 5. 顶部外壳 ---------- */
.site-head {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 18px clamp(14px, 3vw, 28px) 0;
  padding-left: calc(var(--rail-w) + clamp(14px, 3vw, 28px));
  pointer-events: none;
}

@media (max-width: 1099px) {
  .site-head { padding-left: clamp(14px, 3vw, 28px); }
}

/* ---------- 6. 左侧分类轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: none;
  width: var(--rail-w);
  flex-direction: column;
  justify-content: center;
  padding: 118px 0 44px;
  background: var(--ds-900);
  border-right: 1px solid var(--line-soft);
  pointer-events: auto;
}

.rail::after {
  content: "";
  position: absolute;
  top: 132px;
  bottom: 132px;
  left: 50%;
  width: 1px;
  background: var(--line-soft);
}

@media (min-width: 1100px) {
  .rail { display: flex; }
}

.rail__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 10px;
}

.rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--steel-500);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.rail__item:hover {
  color: var(--mist-100);
  border-color: var(--line);
  background: var(--ds-800);
}

.rail__item[aria-current="page"] {
  color: var(--orange);
  border-color: rgba(255, 106, 31, 0.42);
  background: rgba(255, 106, 31, 0.09);
}

.rail__num {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.85;
}

.rail__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1;
}

/* ---------- 7. 悬浮胶囊导航 ---------- */
.capsule {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--shell-max);
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(10, 20, 40, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(232, 238, 248, 0.06);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.capsule.is-scrolled {
  background: rgba(8, 16, 34, 0.94);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-deep);
}

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

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid rgba(5, 11, 26, 0.85);
  border-radius: 2px;
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mist-100);
}

.brand__sub {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--steel-500);
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 16px 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(27, 46, 82, 0.5);
  color: var(--mist-100);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(27, 46, 82, 0.8);
}

.nav-toggle__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 10px;
}

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

.nav-toggle__icon::before { top: 1px; }
.nav-toggle__icon::after { bottom: 1px; }

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

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

/* 导航面板 */
.nav-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--steel-500);
  white-space: nowrap;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--mist-100);
  border-color: var(--line);
  background: rgba(27, 46, 82, 0.55);
}

.nav-link[aria-current="page"] {
  color: var(--ds-950);
  font-weight: 600;
  background: var(--orange);
  border-color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--line-soft);
}

/* 更新标记 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(242, 193, 78, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(242, 193, 78, 0.1);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(242, 193, 78, 0.9);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist-100);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.btn:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.btn--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ds-950);
}

.btn--accent:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: #FFFFFF;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--steel-500);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: rgba(41, 224, 214, 0.45);
}

/* ---------- 9. 滚动进度条 ---------- */
.scroll-meter {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- 10. 页脚 ---------- */
.site-foot {
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--line-soft);
  background: var(--ds-900);
  color: var(--steel-500);
  font-size: 13.5px;
}

.site-foot__inner {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 40px);
}

.site-foot__brand { min-width: 0; }

.site-foot__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mist-100);
}

.site-foot__desc {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel-500);
}

.site-foot__meta {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.foot-col__title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mist-100);
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-col a {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  color: var(--steel-500);
  font-size: 13.5px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.foot-col a:hover {
  color: var(--mist-100);
  border-bottom-color: var(--orange);
}

.site-foot__bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 4vw, 40px) clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line-soft);
}

.foot-line {
  max-width: none;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steel-500);
}

.foot-line--dim { color: rgba(108, 130, 168, 0.7); }

/* ---------- 11. 版心与分节 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding-block: clamp(40px, 6vw, 84px); }

.section--tight { padding-block: clamp(22px, 3.5vw, 46px); }

.divider {
  height: 1px;
  margin-block: clamp(28px, 4vw, 52px);
  border: 0;
  background: var(--line-soft);
}

/* ---------- 12. 网格 ---------- */
.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)); }
.grid--asym { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--asym-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

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

/* ---------- 13. 文字组件 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(27, 46, 82, 0.4);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--steel-500);
  white-space: nowrap;
}

.tag--live {
  color: var(--cyan);
  border-color: rgba(41, 224, 214, 0.35);
  background: rgba(41, 224, 214, 0.08);
}

.tag--hold {
  color: var(--gold);
  border-color: rgba(242, 193, 78, 0.35);
  background: rgba(242, 193, 78, 0.08);
}

.tag--hot {
  color: var(--orange);
  border-color: rgba(255, 106, 31, 0.35);
  background: rgba(255, 106, 31, 0.08);
}

/* ---------- 14. 容器组件 ---------- */
.panel {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--ds-900);
}

.panel--flat {
  background: transparent;
  border-color: var(--line-soft);
}

.panel--accent {
  border-color: rgba(255, 106, 31, 0.34);
  background: rgba(255, 106, 31, 0.06);
}

/* ---------- 15. 正文与浅底阅读区 ---------- */
.prose {
  font-size: 16.5px;
  line-height: 1.85;
  color: #CBD6E8;
}

.prose > * + * { margin-top: 1.05em; }

.prose h2 { margin-top: 1.9em; margin-bottom: 0.55em; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.45em; }

.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.prose ul li {
  position: relative;
  padding-left: 1.25em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange);
}

.prose ol li {
  padding-left: 1.9em;
  position: relative;
}

.prose ol li::before {
  content: counter(list-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cyan);
}

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--orange); }

.surface-paper {
  padding: clamp(22px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink-900);
}

.surface-paper h2,
.surface-paper h3,
.surface-paper h4 { color: var(--ink-900); }

.surface-paper .prose { color: #23304A; }
.surface-paper .prose a { color: var(--orange-deep); }

/* ---------- 16. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--steel-500);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: rgba(108, 130, 168, 0.45);
}

.breadcrumb a:hover { color: var(--orange); }

.breadcrumb [aria-current="page"] { color: var(--mist-100); }

/* ---------- 17. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background-color: var(--ds-900);
  background-image:
    radial-gradient(120% 90% at 12% 6%, rgba(41, 224, 214, 0.1), transparent 56%),
    radial-gradient(90% 80% at 88% 100%, rgba(255, 106, 31, 0.12), transparent 62%);
}

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

.media--wide { aspect-ratio: 16 / 7; }
.media--std { aspect-ratio: 4 / 3; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--mist-100);
  background: linear-gradient(180deg, transparent, rgba(5, 11, 26, 0.9));
}

/* 无图时的抽象网格光影占位 */
.media--grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 130, 168, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 130, 168, 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 18%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 18%, transparent 78%);
}

/* ---------- 18. 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

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

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .brand__sub { display: none; }

  .nav-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    padding: 14px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: rgba(8, 16, 34, 0.97);
    box-shadow: var(--shadow-deep);
  }

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

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

  .nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-link[aria-current="page"] {
    color: var(--orange);
    background: rgba(255, 106, 31, 0.14);
    border-color: rgba(255, 106, 31, 0.36);
  }

  .nav-actions {
    flex-wrap: wrap;
    margin: 6px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }
}

@media (max-width: 860px) {
  .site-foot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

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

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  #main-content { padding-top: 100px; }
  .brand__name { font-size: 16px; }
  .nav-toggle { padding: 9px 12px 9px 14px; }
  .nav-toggle__label { display: none; }
  .chip { display: none; }
  .foot-line { font-size: 12px; }
}

@media (max-width: 480px) {
  .site-foot__cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 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;
  }

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

  .skip-link:focus { transform: translate(-50%, 0); }
}
