/* ============================================================
   浩瀚体育主站 · /assets/site.css
   共享外壳：重置 / 设计变量 / 中文排版 / 页头 / 页脚 / 基础组件
   页面专属布局在各自页面 CSS 中追加，勿在此覆盖头部骨架
   ============================================================ */

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

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

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

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

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

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

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩：夜间赛场记分牌体系 */
  --ah-ink: #0B1B2B;
  --ah-turf: #12362B;
  --ah-turf-deep: #0E2C24;
  --ah-amber: #F2A93B;
  --ah-cyan: #4FD8D0;
  --ah-bone: #F5F1E8;
  --ah-stone: #7C8794;
  --ah-clay: #B4633B;
  --ah-bronze: #7A4E1D;
  --ah-red: #E0564A;
  --ah-glass: rgba(245, 241, 232, 0.08);

  --ah-line: rgba(122, 78, 29, 0.42);
  --ah-line-soft: rgba(245, 241, 232, 0.12);
  --ah-body-text: rgba(245, 241, 232, 0.82);
  --ah-dim: rgba(245, 241, 232, 0.6);

  /* 结构 */
  --ah-wrap-max: 1200px;
  --ah-gutter: clamp(16px, 4vw, 40px);
  --ah-radius: 4px;
  --ah-ease: cubic-bezier(0.22, 0.72, 0.24, 1);

  /* 字体：窄体无衬线标题 + 中性正文 + 等宽数字 + 衬线编辑感 */
  --ah-font-head: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ah-font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ah-font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, serif;
  --ah-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ah-ink);
  background-image:
    radial-gradient(120% 68% at 84% -12%, rgba(18, 54, 43, 0.88), rgba(11, 27, 43, 0) 62%),
    radial-gradient(85% 55% at -6% 108%, rgba(122, 78, 29, 0.24), rgba(11, 27, 43, 0) 66%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--ah-body-text);
  font-family: var(--ah-font-body);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ah-amber); color: var(--ah-ink); }

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

.ah-wrap {
  width: 100%;
  max-width: var(--ah-wrap-max);
  margin-inline: auto;
  padding-inline: var(--ah-gutter);
}

.ah-main {
  display: block;
  padding-block: clamp(26px, 4.6vw, 60px) clamp(48px, 7vw, 96px);
}

.ah-anchor { scroll-margin-top: 136px; }

/* ---------- 4. 页头：双层信息导航 ---------- */
.ah-skip {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ah-amber);
  color: var(--ah-ink);
  font-family: var(--ah-font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  transition: top 0.2s var(--ah-ease);
}
.ah-skip:focus { top: 12px; }

.ah-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ah-ink);
  border-bottom: 1px solid var(--ah-line);
}

/* 上层：品牌说明带 */
.ah-header__band {
  background: linear-gradient(90deg, #0B1B2B 0%, rgba(18, 54, 43, 0.62) 72%, rgba(122, 78, 29, 0.28) 100%);
  border-bottom: 1px solid var(--ah-line-soft);
}

.ah-header__band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding-block: 9px;
}

.ah-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ah-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: var(--ah-amber);
  color: var(--ah-ink);
  font-family: var(--ah-font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(122, 78, 29, 0.85);
}

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

.ah-brand__name {
  font-family: var(--ah-font-head);
  font-size: 18px;
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: 0.02em;
  color: var(--ah-bone);
}

.ah-brand__sub {
  font-family: var(--ah-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-stone);
}

.ah-brand__tagline {
  font-family: var(--ah-font-serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 232, 0.66);
  text-align: right;
}

.ah-brand__tagline::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--ah-amber);
}

/* 下层：栏目索引带 */
.ah-header__rail {
  background: rgba(18, 54, 43, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ah-header__rail-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  min-height: 54px;
}

.ah-nav { flex: 1 1 auto; min-width: 0; }

.ah-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 2.4vw, 30px);
}

.ah-nav__item { display: block; }

.ah-nav__link {
  position: relative;
  display: inline-block;
  padding: 17px 2px;
  font-family: var(--ah-font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 232, 0.74);
  text-decoration: none;
  transition: color 0.2s var(--ah-ease);
}

.ah-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 2px;
  background: var(--ah-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s var(--ah-ease), background-color 0.26s var(--ah-ease);
}

.ah-nav__link:hover { color: var(--ah-bone); }
.ah-nav__link:hover::after { transform: scaleX(1); }

.ah-nav__link[aria-current="page"] { color: var(--ah-amber); }
.ah-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--ah-cyan);
}

.ah-nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: var(--ah-glass);
  border: 1px solid var(--ah-line-soft);
  border-radius: 3px;
  color: var(--ah-bone);
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s var(--ah-ease), color 0.2s var(--ah-ease);
}
.ah-nav-toggle:hover { border-color: var(--ah-cyan); color: var(--ah-cyan); }

.ah-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ah-cyan);
  transition: background-color 0.22s var(--ah-ease);
}
.ah-nav-toggle__bars::before,
.ah-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ah-cyan);
  transition: transform 0.22s var(--ah-ease), top 0.22s var(--ah-ease), background-color 0.22s var(--ah-ease);
}
.ah-nav-toggle__bars::before { top: -6px; }
.ah-nav-toggle__bars::after { top: 6px; }

.ah-nav-toggle[aria-expanded="true"] { border-color: rgba(242, 169, 59, 0.6); }
.ah-nav-toggle[aria-expanded="true"] .ah-nav-toggle__bars { background: var(--ah-amber); }
.ah-nav-toggle[aria-expanded="true"] .ah-nav-toggle__bars::before {
  top: 0;
  background: var(--ah-amber);
  transform: rotate(45deg);
}
.ah-nav-toggle[aria-expanded="true"] .ah-nav-toggle__bars::after {
  top: 0;
  background: var(--ah-amber);
  transform: rotate(-45deg);
}

/* 滚动进度：像回放进度条 */
.ah-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(245, 241, 232, 0.06);
}
.ah-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ah-amber), var(--ah-cyan));
  box-shadow: 0 0 10px rgba(79, 216, 208, 0.5);
  transition: width 0.12s linear;
}

@keyframes ah-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 5. 页脚 ---------- */
.ah-footer {
  position: relative;
  background: linear-gradient(180deg, var(--ah-ink) 0%, var(--ah-turf) 26%, var(--ah-turf-deep) 100%);
  border-top: 1px solid var(--ah-line);
  color: var(--ah-body-text);
}

.ah-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ah-amber) 0%, var(--ah-clay) 38%, rgba(79, 216, 208, 0) 82%);
}

.ah-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.4fr;
  gap: clamp(24px, 3.4vw, 52px);
  padding-block: clamp(38px, 5vw, 66px);
}

.ah-footer__col { min-width: 0; }

.ah-footer__brand { max-width: 38ch; }

.ah-footer__mark {
  font-family: var(--ah-font-head);
  font-size: 20px;
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: 0.02em;
  color: var(--ah-bone);
  margin-bottom: 12px;
}

.ah-footer__note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ah-dim);
}
.ah-footer__note + .ah-footer__note { margin-top: 12px; }

.ah-footer__title {
  margin-bottom: 16px;
  font-family: var(--ah-font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ah-amber);
}

.ah-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ah-footer__link {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ah-ease), border-color 0.18s var(--ah-ease);
}
.ah-footer__link:hover {
  color: var(--ah-amber);
  border-bottom-color: var(--ah-amber);
}

.ah-footer__addr {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ah-dim);
  word-break: break-word;
}

.ah-footer__bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  background: rgba(11, 27, 43, 0.55);
}

.ah-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 18px;
}

.ah-footer__copy {
  font-family: var(--ah-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ah-stone);
}

.ah-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- 6. 通用按钮 ---------- */
.ah-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  font-family: var(--ah-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--ah-ink);
  background: var(--ah-amber);
  border: 1px solid var(--ah-amber);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ah-ease), box-shadow 0.18s var(--ah-ease),
              background-color 0.18s var(--ah-ease), color 0.18s var(--ah-ease),
              border-color 0.18s var(--ah-ease);
}
.ah-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgba(242, 169, 59, 0.9);
}
.ah-btn:active { transform: translateY(0); }

.ah-btn--ghost {
  background: transparent;
  color: var(--ah-amber);
  border-color: rgba(242, 169, 59, 0.6);
}
.ah-btn--ghost:hover { background: rgba(242, 169, 59, 0.12); }

.ah-btn--quiet {
  background: var(--ah-glass);
  color: var(--ah-bone);
  border-color: var(--ah-line-soft);
}
.ah-btn--quiet:hover { border-color: var(--ah-cyan); color: var(--ah-cyan); }

/* ---------- 7. 面包屑与章节 ---------- */
.ah-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(16px, 2.5vw, 28px);
  font-family: var(--ah-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-stone);
}
.ah-crumb li { display: inline-flex; align-items: center; gap: 10px; }
.ah-crumb li + li::before { content: "/"; color: rgba(124, 135, 148, 0.6); }
.ah-crumb a { color: var(--ah-stone); text-decoration: none; }
.ah-crumb a:hover { color: var(--ah-amber); }
.ah-crumb [aria-current="page"] { color: var(--ah-bone); }

.ah-section {
  position: relative;
  padding-block: clamp(24px, 4vw, 52px);
}

.ah-section--turf {
  background: linear-gradient(180deg, rgba(18, 54, 43, 0.6), rgba(18, 54, 43, 0.2));
  border-block: 1px solid var(--ah-line-soft);
}

.ah-section__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--ah-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--ah-stone);
}

.ah-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(242, 169, 59, 0.7), rgba(180, 99, 59, 0.25) 46%, rgba(79, 216, 208, 0));
}

/* ---------- 8. 标题与文本 ---------- */
.ah-h1,
.ah-h2,
.ah-h3,
.ah-h4 {
  font-family: var(--ah-font-head);
  font-weight: 800;
  font-stretch: condensed;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ah-bone);
}
.ah-h1 { font-size: clamp(34px, 5.6vw, 56px); }
.ah-h2 { font-size: clamp(26px, 3.6vw, 40px); }
.ah-h3 { font-size: clamp(20px, 2.2vw, 28px); }
.ah-h4 { font-size: 18px; letter-spacing: 0; }

.ah-serif-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ah-bone);
}

.ah-lede {
  max-width: 60ch;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.78);
}

.ah-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ah-amber);
}
.ah-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.ah-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-stone);
}

.ah-prose {
  max-width: 68ch;
  color: var(--ah-body-text);
}
.ah-prose > * + * { margin-top: 1.15em; }
.ah-prose h2,
.ah-prose h3 {
  font-family: var(--ah-font-serif);
  font-weight: 600;
  line-height: 1.42;
  color: var(--ah-bone);
}
.ah-prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 2em; }
.ah-prose h3 { font-size: 20px; margin-top: 1.6em; }
.ah-prose p { max-width: 68ch; }
.ah-prose strong { color: var(--ah-bone); font-weight: 700; }
.ah-prose a {
  color: var(--ah-amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.18s var(--ah-ease);
}
.ah-prose a:hover { color: var(--ah-cyan); }
.ah-prose ul { padding-left: 1.4em; }
.ah-prose ul li { position: relative; }
.ah-prose ul li + li { margin-top: 0.5em; }
.ah-prose ul li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.85em;
  width: 6px;
  height: 6px;
  background: var(--ah-clay);
  transform: rotate(45deg);
}
.ah-prose ol { padding-left: 1.5em; list-style: decimal; }
.ah-prose ol li + li { margin-top: 0.5em; }
.ah-prose ol li::marker {
  font-family: var(--ah-font-mono);
  font-weight: 700;
  color: var(--ah-amber);
}
.ah-prose blockquote {
  padding-left: 1.2em;
  border-left: 2px solid var(--ah-amber);
  font-family: var(--ah-font-serif);
  color: rgba(245, 241, 232, 0.72);
}
.ah-prose code {
  padding: 2px 6px;
  font-family: var(--ah-font-mono);
  font-size: 0.92em;
  color: var(--ah-cyan);
  background: var(--ah-glass);
  border-radius: 2px;
}

/* ---------- 9. 数字锚点与状态 ---------- */
.ah-num {
  font-family: var(--ah-font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ah-amber);
}
.ah-num--xl { font-size: clamp(44px, 7vw, 64px); }
.ah-num--lg { font-size: clamp(28px, 4vw, 40px); }
.ah-num--sm { font-size: 22px; }

.ah-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ah-cyan);
}
.ah-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ah-cyan);
  animation: ah-pulse 2s infinite;
}

@keyframes ah-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 216, 208, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(79, 216, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 216, 208, 0); }
}

.ah-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-family: var(--ah-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ah-stone);
  background: rgba(245, 241, 232, 0.045);
  border: 1px solid var(--ah-line-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.18s var(--ah-ease), background-color 0.18s var(--ah-ease),
              border-color 0.18s var(--ah-ease);
}
.ah-tag:hover { color: var(--ah-bone); border-color: rgba(242, 169, 59, 0.5); }
.ah-tag[aria-pressed="true"],
.ah-tag[data-active] {
  color: #062020;
  background: var(--ah-cyan);
  border-color: var(--ah-cyan);
  font-weight: 700;
}

/* ---------- 10. 容器组件 ---------- */
.ah-card {
  position: relative;
  padding: clamp(18px, 2.3vw, 28px);
  background: linear-gradient(170deg, rgba(18, 54, 43, 0.92), rgba(18, 54, 43, 0.55));
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
}

.ah-card--bone {
  background: var(--ah-bone);
  border-color: rgba(11, 27, 43, 0.14);
  color: rgba(11, 27, 43, 0.78);
}
.ah-card--bone .ah-h3,
.ah-card--bone .ah-h4 { color: #0B1B2B; }
.ah-card--bone .ah-num { color: #7A4E1D; }
.ah-card--bone .ah-kicker { color: var(--ah-clay); }

.ah-card--bare {
  background: none;
  border-color: var(--ah-line-soft);
}

.ah-glass {
  background: var(--ah-glass);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: var(--ah-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 首屏对角错位色块 */
.ah-slab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ah-slab::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%;
  right: -6%;
  width: min(62%, 760px);
  height: 140%;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(18, 54, 43, 0.92), rgba(18, 54, 43, 0) 72%);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- 11. 技能树式路径 ---------- */
.ah-steps { display: grid; }

.ah-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 18px;
  padding-block: clamp(16px, 2.2vw, 24px);
  border-top: 1px solid var(--ah-line-soft);
}

.ah-step__num {
  font-family: var(--ah-font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ah-amber);
}

.ah-step__body { max-width: 62ch; }
.ah-step__body > * + * { margin-top: 0.6em; }
.ah-step__body h3 {
  font-family: var(--ah-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ah-bone);
}
.ah-step__body p { font-size: 15.5px; color: var(--ah-dim); }

/* ---------- 12. 可复用图片容器 ---------- */
.ah-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--ah-turf);
  background-image:
    linear-gradient(155deg, rgba(18, 54, 43, 0.95), rgba(11, 27, 43, 0.92) 62%),
    repeating-linear-gradient(115deg, rgba(242, 169, 59, 0.14) 0 2px, rgba(0, 0, 0, 0) 2px 22px);
  border: 1px solid var(--ah-line);
  border-radius: var(--ah-radius);
}
.ah-media--wide { aspect-ratio: 21 / 9; }
.ah-media--tall { aspect-ratio: 3 / 4; }
.ah-media--square { aspect-ratio: 1 / 1; }

.ah-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(11, 27, 43, 0.92), rgba(11, 27, 43, 0));
  font-family: var(--ah-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.86);
}

/* ---------- 13. 显现动效 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ah-ease), transform 0.6s var(--ah-ease);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 网格 ---------- */
.ah-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 24px);
}
.ah-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ah-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ah-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ah-grid--auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1024px) {
  .ah-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-footer__grid { grid-template-columns: 1fr 1fr; }
}

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

  .ah-nav {
    display: none;
    flex: 1 1 100%;
    order: 3;
  }
  .ah-nav[data-open] {
    display: block;
    padding: 6px 0 14px;
    border-top: 1px solid var(--ah-line-soft);
    animation: ah-drop 0.24s var(--ah-ease) both;
  }
  .ah-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }
  .ah-nav__item { border-bottom: 1px solid rgba(245, 241, 232, 0.08); }
  .ah-nav__item:last-child { border-bottom: 0; }
  .ah-nav__link { display: block; padding: 14px 4px; font-size: 16px; }
  .ah-nav__link::after { display: none; }
  .ah-nav__link[aria-current="page"] { color: var(--ah-cyan); }

  .ah-header__rail-inner { padding-block: 6px; }
}

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

@media (max-width: 680px) {
  body { font-size: 16px; }
  .ah-brand__tagline { display: none; }
  .ah-header__band-inner { min-height: 56px; }
  .ah-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

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

  .ah-footer__grid { grid-template-columns: 1fr; }
  .ah-step { grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; }
}

/* ---------- 16. 动效降级 ---------- */
@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.js [data-reveal] { opacity: 1; transform: none; }

  .ah-live::before {
    animation: none;
    box-shadow: 0 0 0 3px rgba(79, 216, 208, 0.25);
  }
}
