/* ==========================================================================
   宝威体育 · 共享站点样式 /assets/site.css
   视觉命题：赛场计时牌 + 西北旷野
   ========================================================================== */

/* ---------- 01 变量 ---------- */
:root {
  --sand: #E9DCC6;
  --sand-deep: #D3C3A6;
  --ink: #14120F;
  --teal: #0B3A3C;
  --night: #06211F;
  --cyan: #12C9B4;
  --orange: #E8551A;
  --orange-deep: #C9430D;
  --green: #86E64B;
  --amber: #E8A93B;
  --ash: #8A8A82;
  --glass: rgba(255, 255, 255, 0.62);
  --line: rgba(20, 18, 15, 0.14);
  --line-soft: rgba(20, 18, 15, 0.08);

  --font-display: "Barlow Condensed", "Oswald", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  --font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", sans-serif;

  --maxw: 1320px;
  --gutter: clamp(16px, 3.5vw, 44px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 02 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--sand);
  background-image: linear-gradient(rgba(20, 18, 15, 0.04) 1px, transparent 1px);
  background-size: 100% 96px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol { margin: 0; padding: 0; }

a { color: inherit; }

button { font: inherit; }

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

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

/* ---------- 03 中文排版与标题 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5vw, 62px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.mono-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

.index-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  padding: 1px 7px 2px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--teal);
  color: var(--cyan);
}

.text-link {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.text-link:hover {
  color: var(--orange-deep);
  border-bottom-color: var(--orange-deep);
}

/* ---------- 04 容器与区块 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(28px, 4vw, 56px); }
.section + .section { border-top: 1px solid var(--line-soft); }

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(16px, 2vw, 28px);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  color: var(--ash);
  transition: color 0.2s var(--ease);
}
.section-head__index::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--cyan);
}
.section-head.is-active .section-head__index,
[data-scrollspy].is-active .section-head__index { color: var(--teal); }

.section-head__title { margin: 0; }
.section-head__lede {
  margin: 0;
  max-width: 62ch;
  color: rgba(20, 18, 15, 0.72);
  font-size: 16px;
}

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.78;
}

/* ---------- 05 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }

/* ---------- 06 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

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

.btn--ghost {
  background: transparent;
  border-color: rgba(11, 58, 60, 0.38);
  color: var(--teal);
}
.btn--ghost:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--sand);
}

.btn--dark {
  background: var(--teal);
  color: var(--sand);
}
.btn--dark:hover { background: var(--night); color: #FFFFFF; }

/* ---------- 07 卡片 ---------- */
.card {
  position: relative;
  display: block;
  padding: clamp(16px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

a.card:hover {
  background: #FFFDF7;
  border-color: var(--teal);
  transform: translateY(-2px);
}

.card--glass {
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card--solid {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--sand);
}
.card--solid .card__index { color: var(--cyan); }
.card--solid .card__title { color: var(--sand); }
.card--solid .card__body { color: rgba(233, 220, 198, 0.76); }
a.card--solid:hover {
  background: var(--night);
  border-color: var(--night);
  color: var(--sand);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--ash);
}

.card__title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(20, 18, 15, 0.74);
}

/* ---------- 08 状态标签与筛选胶囊 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(138, 138, 130, 0.25);
  color: #41413B;
}
.tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tag--live { background: var(--green); color: #10230A; }
.tag--soon { background: var(--amber); color: #241A02; }
.tag--done { background: rgba(138, 138, 130, 0.25); color: #4A4A44; }
.tag--live .tag__dot { animation: bw-pulse 2s var(--ease) infinite; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(11, 58, 60, 0.24);
  border-radius: 999px;
  background: transparent;
  color: var(--teal);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.pill:hover { background: rgba(11, 58, 60, 0.08); }
.pill[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cyan);
}

/* ---------- 09 图片容器（页面阶段填图） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sand-deep);
  aspect-ratio: 16 / 9;
}
.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

.media__overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(6, 33, 31, 0.78), rgba(6, 33, 31, 0));
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.media__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
}

/* ---------- 10 面包屑 ---------- */
.breadcrumb { margin-bottom: clamp(18px, 2.4vw, 28px); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--sand-deep);
}
.breadcrumb__link {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.breadcrumb__link:hover { color: var(--orange-deep); }
.breadcrumb__current { color: var(--ash); }

/* ---------- 11 章节高亮协议 ---------- */
[data-scrollspy] { scroll-margin-top: 110px; }

[data-spy-link] {
  transition: color 0.2s var(--ease), font-weight 0.2s var(--ease);
}
[data-spy-link].is-active {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- 12 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--night);
  color: var(--sand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

/* 12.1 状态刻度条 */
.header-status {
  background: var(--night);
  color: rgba(233, 220, 198, 0.72);
}
.header-status__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 6px var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sand);
  white-space: nowrap;
}
.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(134, 230, 75, 0.18);
  animation: bw-pulse 2s var(--ease) infinite;
}
.header-status__meta {
  margin-left: auto;
  color: rgba(233, 220, 198, 0.5);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

@keyframes bw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.32; }
}

/* 12.2 命令栏 */
.header-bar {
  position: relative;
  background: var(--teal);
  color: var(--sand);
}
.header-bar__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

/* 品牌 */
.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--sand);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--night);
  border: 2px solid var(--cyan);
  border-radius: 2px;
}
.brand__mark::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 5px 0 var(--cyan), 0 -5px 0 rgba(18, 201, 180, 0.45);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand__sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(233, 220, 198, 0.55);
}

/* 导航 */
.site-nav {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__item { display: block; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 2px;
  color: rgba(233, 220, 198, 0.74);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.site-nav__link:hover {
  color: #F6EEDD;
  background: rgba(18, 201, 180, 0.12);
}
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  opacity: 0.82;
}
.site-nav__link[aria-current="page"] {
  color: #FFF8E8;
  background: rgba(18, 201, 180, 0.1);
}
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}
.site-nav__link[aria-current="page"] .site-nav__num { opacity: 1; }

/* 玻璃角标 */
.header-actions {
  order: 3;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--glass);
  color: var(--night);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.chip:hover { background: #FFFFFF; color: var(--teal); }
.chip--subscribe::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.chip--beta {
  background: rgba(18, 201, 180, 0.16);
  border-color: rgba(18, 201, 180, 0.5);
  color: #DFF7F2;
}
.chip--beta:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--night);
}

/* 移动端目录按钮 */
.nav-toggle {
  order: 4;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(233, 220, 198, 0.3);
  border-radius: 2px;
  background: transparent;
  color: var(--sand);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover {
  background: rgba(233, 220, 198, 0.1);
  border-color: rgba(233, 220, 198, 0.55);
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle.is-open .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* 阅读进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(233, 220, 198, 0.16);
}
.header-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: var(--night);
  color: rgba(233, 220, 198, 0.8);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(18, 201, 180, 0.1), transparent 62%),
    radial-gradient(52% 64% at 92% 100%, rgba(232, 85, 26, 0.1), transparent 62%);
}
.site-footer > * { position: relative; }

.footer-inner { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 40px); }

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding-bottom: 18px;
  margin-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid rgba(233, 220, 198, 0.14);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--sand);
  text-decoration: none;
}
.footer-brand:hover { color: var(--cyan); }
.footer-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.footer-col { min-width: 0; }
.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.6;
}
.footer-list a {
  color: rgba(233, 220, 198, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-list a:hover {
  color: var(--sand);
  border-bottom-color: var(--orange);
}
.footer-list--contact li {
  display: grid;
  gap: 2px;
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 220, 198, 0.42);
}
.footer-value {
  color: rgba(233, 220, 198, 0.9);
  overflow-wrap: anywhere;
}
.footer-value--mono {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.footer-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(233, 220, 198, 0.58);
}
.footer-note:first-of-type { margin-top: 16px; }
.footer-note--icp {
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(233, 220, 198, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(233, 220, 198, 0.14);
  background: rgba(0, 0, 0, 0.2);
}
.footer-bottom__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(233, 220, 198, 0.5);
}
.footer-icp { color: rgba(233, 220, 198, 0.72); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .site-nav__link { padding: 9px 8px; font-size: 13.5px; gap: 5px; }
  .brand__sub { display: none; }
  .chip { padding: 6px 11px; font-size: 12px; }
}

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

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

  .header-bar__inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 11px;
    gap: 10px;
  }

  .site-nav {
    order: 5;
    flex-basis: 100%;
    justify-content: flex-start;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.2s var(--ease), visibility 0.2s var(--ease);
  }
  .site-nav[data-open="true"] {
    max-height: 70vh;
    overflow-y: auto;
    visibility: visible;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 6px 0 2px;
  }
  .site-nav__link {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(233, 220, 198, 0.12);
    border-radius: 0;
    font-size: 15px;
  }
  .site-nav__link::after {
    left: 8px;
    right: auto;
    width: 46px;
    bottom: 0;
  }
  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    background: rgba(18, 201, 180, 0.1);
  }
  .site-nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-status__meta { display: none; }

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

@media (max-width: 720px) {
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom__row { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-actions .chip--beta { display: none; }
  .header-status__inner { font-size: 10px; letter-spacing: 0.1em; }
  .brand__name { font-size: 17px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head__index::before { width: 14px; }
}

/* ---------- 动效与无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .header-progress__fill { transition: none; }
}
