/* ============================================================
   安博赛事 · 共享外壳样式  (/assets/site.css)
   技术蓝图网格 + 粗野主义卡片 + 冬夜配色
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: #F4F8FB;
  background-image:
    linear-gradient(to right, rgba(11, 27, 51, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 27, 51, .05) 1px, transparent 1px);
  background-size: 96px 96px;
  color: #10161F;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: #4FA3D1; }

h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --ab-night: #0B1B33;
  --ab-ice: #C9D8E4;
  --ab-mist: #F4F8FB;
  --ab-locust: #2F6B4F;
  --ab-amber: #F2B33D;
  --ab-red: #FF5A3C;
  --ab-green: #35D07F;
  --ab-blue: #4FA3D1;
  --ab-ink: #10161F;
  --ab-note: #55697A;

  --ab-line: rgba(11, 27, 51, .16);
  --ab-line-soft: rgba(11, 27, 51, .08);
  --ab-on-night: rgba(201, 216, 228, .78);

  --ab-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ab-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --ab-w: min(1440px, 92vw);
  --ab-gap: 24px;
  --ab-shadow: 8px 8px 0 rgba(11, 27, 51, .16);
  --ab-shadow-hover: 12px 12px 0 rgba(11, 27, 51, .22);
  --ab-border: 3px solid var(--ab-night);
}

/* ---------- 3. 跳过链接 ---------- */
.ab-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ab-amber);
  color: var(--ab-night);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 3px solid var(--ab-night);
  transition: top .16s ease;
}

.ab-skip:focus { top: 12px; }

/* ---------- 4. 页首 ---------- */
.ab-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ab-night);
  color: var(--ab-ice);
  border-bottom: 3px solid rgba(242, 179, 61, .45);
  --ab-progress: 0;
}

.ab-header__inner {
  position: relative;
  width: var(--ab-w);
  margin-inline: auto;
}

.ab-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
  transition: padding .22s ease;
}

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

.ab-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.ab-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: var(--ab-amber);
  color: var(--ab-night);
  border: 2px solid rgba(11, 27, 51, .92);
  font-family: var(--ab-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: width .22s ease, height .22s ease, font-size .22s ease;
}

.ab-brand__text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.ab-brand__name {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: .06em;
  color: #FFFFFF;
  transition: color .18s ease, font-size .22s ease;
}

.ab-brand__link:hover .ab-brand__name { color: var(--ab-amber); }

.ab-brand__dot { color: var(--ab-amber); font-weight: 700; }

.ab-brand__sub {
  font-family: var(--ab-mono);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--ab-ice);
  opacity: .82;
}

.ab-brand__note {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(201, 216, 228, .28);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(201, 216, 228, .7);
  max-width: 30ch;
}

.ab-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.ab-round {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 2px solid rgba(242, 179, 61, .55);
  background: rgba(242, 179, 61, .08);
  color: var(--ab-amber);
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.ab-round::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--ab-green);
  box-shadow: 0 0 0 3px rgba(53, 208, 127, .2);
}

.ab-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: var(--ab-amber);
  color: var(--ab-night);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
  border: 2px solid var(--ab-night);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .38);
  transition: transform .16s ease, box-shadow .16s ease;
}

.ab-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .42);
}

.ab-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: transparent;
  border: 2px solid rgba(201, 216, 228, .5);
  color: var(--ab-ice);
  font-family: var(--ab-mono);
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.ab-navtoggle:hover { border-color: var(--ab-amber); color: #FFFFFF; }

.ab-navtoggle[aria-expanded="true"] {
  background: var(--ab-amber);
  border-color: var(--ab-amber);
  color: var(--ab-night);
}

.ab-navtoggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.ab-navtoggle__label { font-weight: 700; }

.ab-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(201, 216, 228, .22);
}

.ab-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-nav__item { display: block; }

.ab-nav__link {
  display: inline-block;
  padding: 14px 16px;
  color: rgba(201, 216, 228, .86);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, padding .22s ease;
}

.ab-nav__link:hover {
  color: #FFFFFF;
  background: rgba(79, 163, 209, .16);
  border-bottom-color: rgba(242, 179, 61, .45);
}

.ab-nav__link[aria-current="page"] {
  color: var(--ab-amber);
  border-bottom-color: var(--ab-amber);
  background: rgba(242, 179, 61, .1);
}

.ab-nav__coord {
  margin: 0;
  font-family: var(--ab-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(201, 216, 228, .5);
  white-space: nowrap;
  transition: opacity .2s ease;
}

.ab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ab-amber), var(--ab-green) 60%, var(--ab-blue));
  transform: scaleX(var(--ab-progress, 0));
  transform-origin: 0 50%;
  pointer-events: none;
  transition: transform .12s linear;
}

/* 滚动收拢态 */
.ab-header[data-condensed="true"] .ab-topbar { padding: 9px 0 7px; }
.ab-header[data-condensed="true"] .ab-brand__note { display: none; }
.ab-header[data-condensed="true"] .ab-brand__mark { width: 32px; height: 32px; font-size: 12px; }
.ab-header[data-condensed="true"] .ab-brand__name { font-size: 20px; }
.ab-header[data-condensed="true"] .ab-nav__link { padding: 10px 16px; }
.ab-header[data-condensed="true"] .ab-nav__coord { opacity: 0; }

/* ---------- 5. 页脚 ---------- */
.ab-footer {
  position: relative;
  margin-top: clamp(56px, 7vw, 112px);
  background: var(--ab-night);
  color: var(--ab-ice);
  border-top: 4px solid var(--ab-amber);
}

.ab-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(201, 216, 228, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 216, 228, .06) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.ab-footer__grid {
  position: relative;
  z-index: 1;
  width: var(--ab-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(44px, 5vw, 72px) 0 clamp(28px, 3vw, 44px);
}

.ab-footer__zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ab-footer__zone--brand {
  padding-left: 20px;
  border-left: 3px solid rgba(242, 179, 61, .6);
}

.ab-footer__brand {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: .06em;
  color: #FFFFFF;
}

.ab-footer__tag {
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--ab-amber);
}

.ab-footer__line {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ab-on-night);
  max-width: 34ch;
}

.ab-footer__copy {
  font-family: var(--ab-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(201, 216, 228, .58);
}

.ab-footer__title {
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(201, 216, 228, .22);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #FFFFFF;
}

.ab-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.ab-footer__list a {
  color: var(--ab-ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}

.ab-footer__list a:hover {
  color: var(--ab-amber);
  border-bottom-color: var(--ab-amber);
}

.ab-footer__list--data {
  font-family: var(--ab-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(201, 216, 228, .72);
}

.ab-footer__value {
  color: #FFFFFF;
  word-break: break-word;
}

.ab-footer__hint {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(201, 216, 228, .6);
}

.ab-footer__base {
  position: relative;
  z-index: 1;
  width: var(--ab-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
  border-top: 2px solid rgba(201, 216, 228, .22);
}

.ab-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}

.ab-footer__legal a {
  color: var(--ab-ice);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 216, 228, .45);
  transition: color .16s ease, border-color .16s ease;
}

.ab-footer__legal a:hover {
  color: var(--ab-amber);
  border-bottom-color: var(--ab-amber);
}

.ab-footer__icp {
  margin: 0;
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(201, 216, 228, .6);
}

/* ---------- 6. 通用布局组件 ---------- */
.ab-container {
  width: var(--ab-w);
  margin-inline: auto;
}

.ab-section {
  position: relative;
  padding: clamp(56px, 7vw, 112px) 0;
}

.ab-section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

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

.ab-col-4 { grid-column: span 4; }
.ab-col-5 { grid-column: span 5; }
.ab-col-6 { grid-column: span 6; }
.ab-col-7 { grid-column: span 7; }
.ab-col-8 { grid-column: span 8; }
.ab-col-12 { grid-column: 1 / -1; }

.ab-surface {
  position: relative;
  padding: clamp(28px, 4vw, 64px);
  background: var(--ab-mist);
  border: var(--ab-border);
}

.ab-surface--dark {
  background: var(--ab-night);
  border-color: var(--ab-night);
  color: var(--ab-ice);
}

.ab-surface--silver {
  background: var(--ab-ice);
  border-color: var(--ab-night);
}

.ab-divider {
  height: 3px;
  background: var(--ab-night);
  border: 0;
}

/* ---------- 7. 排版组件 ---------- */
.ab-h1 {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ab-ink);
}

.ab-h2 {
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ab-ink);
}

.ab-h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.26;
  color: var(--ab-ink);
}

.ab-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.8;
  color: var(--ab-note);
  max-width: 60ch;
}

.ab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ab-mono);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ab-locust);
}

.ab-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--ab-locust);
}

.ab-surface--dark .ab-h1,
.ab-surface--dark .ab-h2,
.ab-surface--dark .ab-h3 { color: #FFFFFF; }

.ab-surface--dark .ab-lede { color: var(--ab-on-night); }

.ab-surface--dark .ab-kicker { color: var(--ab-amber); }
.ab-surface--dark .ab-kicker::before { background: var(--ab-amber); }

.ab-note {
  font-family: var(--ab-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--ab-note);
}

.ab-note--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .28em;
}

/* ---------- 8. 数据组件 ---------- */
.ab-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ab-stat__value {
  font-family: var(--ab-mono);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 120px);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--ab-ink);
}

.ab-stat__unit {
  font-family: var(--ab-mono);
  font-size: 15px;
  color: var(--ab-note);
}

.ab-stat__label {
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--ab-note);
}

.ab-surface--dark .ab-stat__value { color: #FFFFFF; }
.ab-surface--dark .ab-stat__unit,
.ab-surface--dark .ab-stat__label { color: var(--ab-on-night); }

.ab-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  border: 2px solid var(--ab-line);
  background: rgba(201, 216, 228, .3);
}

.ab-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ab-mono);
  font-size: 12.5px;
  color: var(--ab-note);
}

.ab-legend__swatch {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--ab-ice);
  border: 2px solid var(--ab-night);
}

.ab-legend__swatch--up { background: var(--ab-green); }
.ab-legend__swatch--down { background: var(--ab-red); }
.ab-legend__swatch--flat { background: var(--ab-ice); }
.ab-legend__swatch--live { background: var(--ab-amber); }
.ab-legend__swatch--local { background: var(--ab-locust); }

/* ---------- 9. 卡片 / 标签 / 按钮 ---------- */
.ab-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 32px);
  background: var(--ab-mist);
  border: var(--ab-border);
  box-shadow: var(--ab-shadow);
  transition: box-shadow .18s ease, transform .18s ease;
}

.ab-card:hover {
  box-shadow: var(--ab-shadow-hover), inset 0 0 0 1px var(--ab-night);
  transform: translate(-2px, -2px);
}

.ab-card__kicker {
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--ab-locust);
}

.ab-card__title {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ab-ink);
}

.ab-card__text {
  font-size: 15.5px;
  line-height: 1.8;
  color: #35424E;
}

.ab-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid var(--ab-line-soft);
  font-family: var(--ab-mono);
  font-size: 12.5px;
  color: var(--ab-note);
}

.ab-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 2px solid currentColor;
  background: rgba(47, 107, 79, .08);
  color: var(--ab-locust);
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
}

.ab-tag--live { color: #8A5A00; border-color: #F2B33D; background: rgba(242, 179, 61, .2); }
.ab-tag--up { color: #10603A; border-color: #35D07F; background: rgba(53, 208, 127, .16); }
.ab-tag--down { color: #A32A12; border-color: #FF5A3C; background: rgba(255, 90, 60, .14); }
.ab-tag--local { color: #2F6B4F; border-color: #2F6B4F; background: rgba(47, 107, 79, .1); }
.ab-tag--link {
  color: #2A6E96;
  border-color: #4FA3D1;
  background: rgba(79, 163, 209, .14);
  text-decoration: none;
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ab-mist);
  color: var(--ab-ink);
  border: 3px solid var(--ab-night);
  box-shadow: 5px 5px 0 rgba(11, 27, 51, .2);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ab-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(11, 27, 51, .26);
}

.ab-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 rgba(11, 27, 51, .24);
}

.ab-btn--primary {
  background: var(--ab-amber);
  color: var(--ab-night);
}

.ab-btn--ghost {
  background: transparent;
  color: #2A6E96;
  border-color: var(--ab-blue);
  box-shadow: none;
}

.ab-btn--ghost:hover {
  background: rgba(79, 163, 209, .14);
  transform: none;
  box-shadow: none;
}

/* ---------- 10. 面包屑 / 正文 ---------- */
.ab-crumb {
  padding: 18px 0 6px;
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ab-note);
}

.ab-crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-crumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ab-crumb__item:not(:last-child)::after {
  content: "/";
  color: rgba(85, 105, 122, .55);
}

.ab-crumb__item a {
  color: #2A6E96;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.ab-crumb__item a:hover { color: var(--ab-amber); }

.ab-prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: #232F3B;
}

.ab-prose p { margin: 0 0 1.1em; }

.ab-prose h2 {
  margin: 1.6em 0 .6em;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.24;
  color: var(--ab-ink);
}

.ab-prose h3 {
  margin: 1.4em 0 .5em;
  font-size: 19px;
  font-weight: 800;
  color: var(--ab-ink);
}

.ab-prose ul,
.ab-prose ol {
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}

.ab-prose li {
  position: relative;
  padding-left: 24px;
  margin-bottom: .55em;
}

.ab-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 9px;
  height: 9px;
  background: var(--ab-locust);
}

.ab-prose a {
  color: #2A6E96;
  text-decoration: none;
  border-bottom: 2px solid rgba(79, 163, 209, .45);
}

.ab-prose a:hover { border-bottom-color: var(--ab-amber); }

/* ---------- 11. 图片容器 ---------- */
.ab-figure {
  margin: 0;
  overflow: hidden;
  background: var(--ab-ice);
  border: var(--ab-border);
  box-shadow: var(--ab-shadow);
}

.ab-figure__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.96) contrast(1.04);
}

.ab-figure__ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-image: linear-gradient(148deg, rgba(11, 27, 51, .94) 0%, rgba(11, 27, 51, .74) 36%, rgba(47, 107, 79, .58) 64%, rgba(242, 179, 61, .4) 100%);
}

.ab-figure__ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 248, 251, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 248, 251, .16) 1px, transparent 1px);
  background-size: 44px 44px;
}

.ab-figure__cap {
  padding: 10px 14px;
  background: var(--ab-mist);
  border-top: 2px solid var(--ab-night);
  font-family: var(--ab-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ab-note);
}

.ab-figure--wide .ab-figure__img,
.ab-figure--wide .ab-figure__ph { aspect-ratio: 16 / 9; }

.ab-figure--tall .ab-figure__img,
.ab-figure--tall .ab-figure__ph { aspect-ratio: 3 / 4; }

/* ---------- 12. 数据带 ---------- */
.ab-band {
  position: relative;
  background: var(--ab-ice);
  border-top: 3px solid var(--ab-night);
  border-bottom: 3px solid var(--ab-night);
}

.ab-band__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.ab-band__track:active { cursor: grabbing; }

.ab-band__item {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 20px 24px;
  border-right: 2px solid rgba(11, 27, 51, .18);
  scroll-snap-align: start;
}

.ab-band__value {
  display: block;
  font-family: var(--ab-mono);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  color: var(--ab-ink);
}

.ab-band__label {
  display: block;
  margin-top: 6px;
  font-family: var(--ab-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ab-note);
}

/* ---------- 13. 坐标索引 ---------- */
.ab-index {
  position: fixed;
  right: max(14px, 2vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px;
  background: rgba(244, 248, 251, .88);
  border: 2px solid var(--ab-line);
  backdrop-filter: blur(3px);
}

.ab-index__title {
  font-family: var(--ab-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ab-note);
}

.ab-index__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-index__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 3px solid transparent;
  font-family: var(--ab-mono);
  font-size: 11.5px;
  color: var(--ab-note);
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease;
}

.ab-index__link:hover { color: #2A6E96; }

.ab-index__link[aria-current="true"] {
  color: var(--ab-ink);
  border-left-color: var(--ab-amber);
  font-weight: 700;
}

.ab-index__num { color: var(--ab-blue); }

/* ---------- 14. 主题筛选 ---------- */
.ab-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ab-filter__btn {
  padding: 8px 14px;
  background: transparent;
  border: 2px solid var(--ab-line);
  color: var(--ab-note);
  font-family: var(--ab-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.ab-filter__btn:hover {
  color: var(--ab-ink);
  border-color: var(--ab-night);
}

.ab-filter__btn[aria-pressed="true"] {
  background: var(--ab-amber);
  border-color: var(--ab-night);
  color: var(--ab-night);
  font-weight: 700;
}

[data-hidden="true"] { display: none !important; }

/* ---------- 15. 焦点与动效 ---------- */
:focus-visible {
  outline: 3px solid var(--ab-amber);
  outline-offset: 3px;
}

.ab-surface--dark :focus-visible,
.ab-footer :focus-visible {
  outline-color: var(--ab-green);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1180px) {
  .ab-index { display: none; }
}

@media (max-width: 1080px) {
  .ab-brand__note { display: none; }
  .ab-nav__coord { display: none; }
  .ab-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .ab-footer__zone--brand { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .ab-col-4,
  .ab-col-5,
  .ab-col-6,
  .ab-col-7,
  .ab-col-8 { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .ab-navtoggle { display: inline-flex; }

  .ab-topbar { padding: 14px 0 12px; }

  .ab-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
    background: var(--ab-night);
    border-top: 2px solid rgba(242, 179, 61, .5);
    border-bottom: 3px solid var(--ab-amber);
    box-shadow: 0 22px 0 rgba(11, 27, 51, .18);
  }

  .ab-nav[data-open="true"] { display: flex; }

  .ab-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .ab-nav__link {
    display: block;
    padding: 14px 5vw;
    border-bottom: 2px solid rgba(201, 216, 228, .16);
    border-left: 4px solid transparent;
  }

  .ab-nav__link:hover { border-bottom-color: rgba(201, 216, 228, .16); }

  .ab-nav__link[aria-current="page"] {
    border-bottom-color: rgba(242, 179, 61, .35);
    border-left-color: var(--ab-amber);
  }

  .ab-header[data-condensed="true"] .ab-nav__link { padding: 14px 5vw; }
}

@media (max-width: 760px) {
  body { font-size: 16px; background-size: 64px 64px; }

  .ab-cta { display: none; }

  .ab-brand__mark { width: 34px; height: 34px; font-size: 12px; }

  .ab-brand__sub { display: none; }

  .ab-footer__grid { grid-template-columns: 1fr; }

  .ab-footer__base { flex-direction: column; align-items: flex-start; }

  .ab-figure { box-shadow: 5px 5px 0 rgba(11, 27, 51, .16); }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  .ab-card:hover,
  .ab-btn:hover,
  .ab-cta:hover { transform: none; }
}

/* ---------- 18. 打印兜底 ---------- */
@media print {
  .ab-header,
  .ab-index,
  .ab-progress { display: none !important; }
}
