/* ============================================================
   云体育安装 · 共享站点样式 /assets/site.css
   0 reset  1 tokens  2 基础排版  3 头部  4 页脚  5 通用组件
   6 图片容器  7 交互状态  8 响应式  9 动效降级
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

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

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

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

button { font: inherit; color: inherit; background: none; border: 0; }

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

table { border-collapse: collapse; }

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #050B12;
  --panel: #0B1B2B;
  --steel: #17384A;
  --cyan: #00E5C3;
  --orange: #FF6B2C;
  --turf: #35D07F;
  --chalk: #F2F7FA;
  --mist: #8FA3B0;
  --warn: #F5C84C;

  --line-cyan: rgba(0, 229, 195, 0.24);
  --line-mist: rgba(143, 163, 176, 0.26);

  --font-display: "Archivo Black", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 68px;
  --radius: 2px;

  --shadow-hard: 8px 8px 0 rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 26px 60px -34px rgba(0, 0, 0, 0.9);
}

/* ---------- 2. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(16px, 0.32vw + 15px, 17px);
  line-height: 1.75;
  color: var(--chalk);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(0, 229, 195, 0.10), transparent 68%),
    radial-gradient(900px 520px at 4% 2%, rgba(255, 107, 44, 0.07), transparent 70%),
    radial-gradient(780px 700px at 50% 108%, rgba(53, 208, 127, 0.07), transparent 72%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.4vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.45rem); letter-spacing: -0.02em; }
h4 { font-size: clamp(1rem, 1.1vw, 1.1rem); letter-spacing: 0; }

p { text-wrap: pretty; }

strong { font-weight: 700; color: var(--chalk); }

::selection { background: var(--cyan); color: #04120F; }

#main-content { display: block; }
#main-content:focus { outline: none; }

[data-section] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 3. 头部 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #04120F;
  background: var(--cyan);
  border: 2px solid #04120F;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.7);
  transform: translateY(-220%);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(11, 27, 43, 0.98), rgba(5, 11, 18, 0.96));
  border-bottom: 1px solid var(--line-cyan);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 1);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 6px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(0, 229, 195, 0.34) 0 1px, transparent 1px 16px);
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.15) 78%, transparent 96%);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.15) 78%, transparent 96%);
}

.header-meter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(23, 56, 74, 0.85);
  overflow: hidden;
}

.header-meter__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--turf), var(--cyan) 52%, var(--orange));
  box-shadow: 0 0 14px rgba(0, 229, 195, 0.9);
  transition: width 0.12s linear;
}

.header-shell {
  position: relative;
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding: 10px var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  color: #04120F;
  background: linear-gradient(142deg, var(--cyan), var(--turf));
  border: 2px solid #04120F;
  box-shadow: 3px 3px 0 rgba(0, 229, 195, 0.32);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 74% 100%, 0 100%);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--chalk);
  white-space: nowrap;
}

.brand__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  line-height: 1.3;
  color: var(--mist);
  white-space: nowrap;
}

.brand__version {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.08);
  border: 1px solid rgba(0, 229, 195, 0.5);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  order: 3;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.07);
  border: 1px solid rgba(0, 229, 195, 0.45);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover { background: rgba(0, 229, 195, 0.14); border-color: var(--cyan); }

.nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(143, 163, 176, 0.72);
  transition: color 0.18s ease;
}

.site-nav__label { white-space: nowrap; }

.site-nav__link:hover {
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.07);
  border-color: rgba(0, 229, 195, 0.32);
}
.site-nav__link:hover .site-nav__index { color: var(--cyan); }

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(0, 229, 195, 0.06);
}
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 195, 0.9);
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--orange); }

/* ---------- 4. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: linear-gradient(180deg, var(--ink), var(--panel) 58%, var(--ink));
  border-top: 2px solid var(--steel);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(5, 11, 18, 0.88) 0 2px, transparent 2px 20px),
    linear-gradient(90deg, var(--turf), var(--cyan) 44%, var(--orange));
}

.footer-shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 52px) var(--gutter) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(180px, 0.75fr) minmax(250px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(26px, 3.4vw, 44px);
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-brand-line {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--chalk);
}

.footer-note {
  margin-top: 12px;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 6px 12px;
  background: rgba(23, 56, 74, 0.5);
  border: 1px solid var(--steel);
  border-left: 3px solid var(--orange);
}

.footer-stamp__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.footer-stamp__value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--chalk);
}

.footer-list { display: grid; gap: 9px; }

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: var(--chalk);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-link:hover { color: var(--cyan); border-bottom-color: rgba(0, 229, 195, 0.6); }

.footer-contact-list { display: grid; gap: 14px; }

.footer-contact-item { display: grid; gap: 6px; }

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.footer-address {
  font-size: 14px;
  line-height: 1.65;
  color: var(--chalk);
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--chalk);
  background: rgba(23, 56, 74, 0.45);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  cursor: pointer;
  overflow-wrap: anywhere;
  text-align: left;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.copy-chip::after {
  content: "复制";
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.copy-chip:hover {
  color: var(--cyan);
  border-color: rgba(0, 229, 195, 0.6);
  background: rgba(0, 229, 195, 0.08);
}
.copy-chip[data-copied] { color: var(--turf); border-color: rgba(53, 208, 127, 0.6); }
.copy-chip[data-copied]::after { content: "已复制"; color: var(--turf); }
.copy-chip[data-copy-failed] { color: var(--warn); border-color: rgba(245, 200, 76, 0.55); }
.copy-chip[data-copy-failed]::after { content: "请手动复制"; color: var(--warn); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer-base__legal { color: var(--chalk); }
.footer-base__meta { text-align: right; }

/* ---------- 5. 通用组件 ---------- */
.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 88px); }
.section + .section { border-top: 1px solid rgba(143, 163, 176, 0.12); }

.band {
  padding-block: clamp(24px, 3.6vw, 42px);
  background: linear-gradient(90deg, rgba(0, 229, 195, 0.13), rgba(0, 229, 195, 0.02) 62%, transparent);
  border-block: 1px solid rgba(0, 229, 195, 0.22);
}
.band--orange {
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.15), rgba(255, 107, 44, 0.02) 62%, transparent);
  border-block-color: rgba(255, 107, 44, 0.3);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 195, 0.9);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-head__index {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0, 229, 195, 0.3);
}

.section-head__title { margin-top: 6px; }

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(160deg, rgba(11, 27, 43, 0.96), rgba(5, 11, 18, 0.96));
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}
.panel--glow {
  border-color: rgba(0, 229, 195, 0.42);
  box-shadow: 0 0 0 1px rgba(0, 229, 195, 0.16), 10px 10px 0 rgba(0, 0, 0, 0.52);
}
.panel--cut {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--chalk);
  --btn-bd: var(--steel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}
.btn--primary {
  --btn-bg: var(--cyan);
  --btn-fg: #04120F;
  --btn-bd: #04120F;
  box-shadow: 4px 4px 0 rgba(0, 229, 195, 0.3);
}
.btn--primary:hover { --btn-bg: #2BF2D4; box-shadow: 6px 6px 0 rgba(0, 229, 195, 0.38); }
.btn--alert {
  --btn-bg: var(--orange);
  --btn-fg: #1A0A02;
  --btn-bd: #1A0A02;
}
.btn--ghost {
  --btn-bd: rgba(0, 229, 195, 0.55);
  --btn-fg: var(--cyan);
}
.btn--ghost:hover { --btn-bd: var(--cyan); background: rgba(0, 229, 195, 0.08); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(23, 56, 74, 0.35);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}
.tag--info { color: var(--cyan); border-color: rgba(0, 229, 195, 0.45); background: rgba(0, 229, 195, 0.08); }
.tag--live { color: var(--orange); border-color: rgba(255, 107, 44, 0.5); background: rgba(255, 107, 44, 0.1); }
.tag--ok { color: var(--turf); border-color: rgba(53, 208, 127, 0.45); background: rgba(53, 208, 127, 0.1); }
.tag--warn { color: var(--warn); border-color: rgba(245, 200, 76, 0.45); background: rgba(245, 200, 76, 0.1); }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: dot-pulse 1.8s ease-out infinite;
}

@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 currentColor; }
  70% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(20px, 3vw, 34px);
  background: linear-gradient(90deg, var(--cyan), rgba(0, 229, 195, 0.06));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--steel); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--chalk); }

.prose { max-width: 42em; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; }
.prose ul,
.prose ol { padding-left: 1.25em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }

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

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

.stat {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--chalk);
}

/* ---------- 6. 图片容器 ---------- */
.figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--steel);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(0, 229, 195, 0.05) 0 10px, transparent 10px 20px),
    linear-gradient(155deg, var(--panel), var(--ink) 72%);
  box-shadow: var(--shadow-hard);
  isolation: isolate;
}
.figure > img,
.figure > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--turf) 50%, var(--orange));
  opacity: 0.8;
}
.figure--wide { aspect-ratio: 21 / 9; }
.figure--tall { aspect-ratio: 4 / 5; }

.figure__caption {
  margin-top: 10px;
  padding-left: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

/* ---------- 7. 交互状态 ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius);
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.26s ease, transform 0.26s ease;
  will-change: opacity, transform;
}
html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1080px) {
  .site-nav__link { padding: 9px 9px 11px; font-size: 13.5px; }
  .brand__meta { display: none; }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 22px;
    background: linear-gradient(180deg, var(--panel), var(--ink));
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 28px 56px -26px rgba(0, 0, 0, 1);
  }

  .site-nav[data-open] {
    display: block;
    animation: nav-in 0.22s ease both;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(var(--shell), 100%);
    margin-inline: auto;
  }

  .site-nav__link {
    justify-content: flex-start;
    padding: 14px 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(143, 163, 176, 0.16);
  }

  .site-nav__index { font-size: 11px; }

  .site-nav__link[aria-current="page"] {
    background: rgba(0, 229, 195, 0.09);
    border-color: rgba(0, 229, 195, 0.3);
  }
  .site-nav__link[aria-current="page"]::after {
    left: auto;
    right: 12px;
    top: 50%;
    bottom: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base__meta { text-align: left; }
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  :root { --header-h: 62px; }
  .brand__mark { width: 36px; height: 36px; font-size: 17px; }
  .brand__name { font-size: 0.96rem; }
  .brand__version { display: none; }
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .copy-chip { font-size: 12px; }
}

/* ---------- 9. 动效降级 ---------- */
@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;
  }
  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .header-meter__fill { transition: none; }
}
