/* ============================================================
   AB赛场 · 共享样式表 /assets/site.css
   1 reset · 2 变量 · 3 基础排版 · 4 容器与按钮 · 5 头部
   6 移动导航 · 7 页脚 · 8 通用组件 · 9 图片容器 · 10 动效与响应式
   ============================================================ */

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

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

body { margin: 0; }

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

button { font: inherit; color: inherit; }

a { color: inherit; }

::selection {
  background: rgba(24, 224, 255, 0.32);
  color: #EAF2FF;
}

/* ---------- 2 变量 ---------- */
:root {
  --ink-900: #070B14;
  --ink-800: #0D1424;
  --panel: #131C30;
  --cyan: #18E0FF;
  --lava: #FF6A2B;
  --lime: #7CFF4F;
  --amber: #FFC53D;
  --paper: #EAF2FF;
  --muted: #8FA3C0;
  --line: #1E2B45;
  --glass: rgba(24, 224, 255, 0.12);
  --glass-strong: rgba(24, 224, 255, 0.24);

  --font-head: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 2px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 117px;
}

/* ---------- 3 基础排版 ---------- */
body {
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 520px at 80% -8%, rgba(24, 224, 255, 0.10), rgba(7, 11, 20, 0) 62%),
    radial-gradient(760px 420px at 4% 10%, rgba(255, 106, 43, 0.08), rgba(7, 11, 20, 0) 60%),
    linear-gradient(rgba(30, 43, 69, 0.40) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 43, 69, 0.40) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px, 88px 88px;
  background-attachment: fixed, fixed, scroll, scroll;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--paper);
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; }

p { margin: 0 0 1.1em; }

.editorial h1,
.editorial h2,
.editorial h3 { font-family: var(--font-serif); letter-spacing: 0.01em; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-size: 1.55em;
  line-height: 1.1;
  color: var(--paper);
}

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

#main-content { display: block; scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 4 容器 / 按钮 / 面包屑 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 68px 0; }
.section--tight { padding: 42px 0; }
.section--panel {
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--cyan); color: var(--cyan); }

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
}
.btn--primary:hover { background: #63ECFF; border-color: #63ECFF; color: #04121A; }

.btn--ghost { border-color: rgba(24, 224, 255, 0.5); color: var(--cyan); }
.btn--ghost:hover { background: var(--glass); border-color: var(--cyan); color: var(--cyan); }

.btn--lava {
  background: var(--lava);
  border-color: var(--lava);
  color: #1B0A02;
}
.btn--lava:hover { background: #FF8B57; border-color: #FF8B57; color: #1B0A02; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.breadcrumbs a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 5 头部 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: -9999px;
  z-index: 1200;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04121A;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { left: 14px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.98), rgba(7, 11, 20, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::before,
.site-header::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 224, 255, 0.35), rgba(24, 224, 255, 0) 42%);
}
.site-header::before { left: 0; }
.site-header::after { right: 0; }

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 5;
  pointer-events: none;
  background: rgba(30, 43, 69, 0.6);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--lava));
}

.hud-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 28px;
  padding: 0 var(--gutter);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px dashed rgba(30, 43, 69, 0.9);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud-strip__coord { flex: none; }
.hud-strip__coord--accent { color: var(--cyan); }
.hud-strip__line {
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 14px);
}

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(24, 224, 255, 0.18), rgba(24, 224, 255, 0));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: background-color 0.25s ease;
}
.brand-lockup:hover .brand-mark { background: var(--glass-strong); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.brand-line {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.28s ease;
}
.primary-nav__link:hover,
.primary-nav__link:focus-visible {
  color: var(--paper);
  background: rgba(24, 224, 255, 0.07);
}
.primary-nav__link:hover::after,
.primary-nav__link:focus-visible::after { transform: scaleX(1); }
.primary-nav__link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(24, 224, 255, 0.09);
  border-left-color: var(--line);
  border-right-color: var(--line);
}
.primary-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.primary-nav__aux { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 13px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transition: transform 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

.header-quick {
  border-top: 1px solid var(--line);
  background: rgba(13, 20, 36, 0.74);
}
.header-quick__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.header-quick__inner::-webkit-scrollbar { display: none; }
.header-quick__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lava);
}
.header-quick__link {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.header-quick__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.side-dock {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.side-dock__link {
  display: block;
  padding: 15px 9px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  background: rgba(13, 20, 36, 0.94);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.side-dock__link:hover {
  background: var(--cyan);
  color: #04121A;
}

/* ---------- 6 移动导航 ---------- */
@media (max-width: 1100px) {
  :root { --header-h: 89px; }

  .header-quick { display: none; }
  .brand-line { display: none; }
  .primary-nav__link { height: 60px; padding: 0 11px; font-size: 13.5px; }
}

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

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 880;
    margin: 0;
    overflow-y: auto;
    padding: 0 0 48px;
    background: rgba(7, 11, 20, 0.98);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav__list { display: block; }
  .primary-nav__link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 15px var(--gutter);
    font-size: 15px;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav__link::after { display: none; }
  .primary-nav__link[aria-current="page"] { border-left: 3px solid var(--cyan); }

  .primary-nav__aux {
    display: block;
    padding: 20px var(--gutter) 8px;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav__aux-label {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lava);
  }
  .primary-nav__aux-link {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .primary-nav__aux-link:hover {
    background: var(--glass);
    border-color: var(--cyan);
    color: var(--cyan);
  }
}

@media (max-width: 1200px) {
  .side-dock { display: none; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .hud-strip { gap: 10px; font-size: 9.5px; letter-spacing: 0.12em; }
  .brand-name { font-size: 16px; }
}

/* ---------- 7 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.league-band {
  background: rgba(7, 11, 20, 0.62);
  border-bottom: 1px solid var(--line);
}
.league-band__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 13px var(--gutter);
  overflow: hidden;
}
.league-band__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lava);
  white-space: nowrap;
}
.league-band__track {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.league-band__track::-webkit-scrollbar { height: 4px; }
.league-band__track::-webkit-scrollbar-thumb { background: var(--line); }
.league-chip {
  display: inline-block;
  padding: 4px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.league-chip:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) 2.2fr minmax(220px, 1.2fr);
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 44px;
}

.footer-brand__name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.footer-brand__text {
  margin: 12px 0 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.footer-seal {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px dashed rgba(255, 106, 43, 0.5);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lava);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-links a:hover {
  color: var(--paper);
  border-bottom-color: var(--cyan);
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.footer-contact__item { display: block; }
.footer-contact__key {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(143, 163, 192, 0.7);
}

.footer-legal {
  background: rgba(7, 11, 20, 0.74);
  border-top: 1px solid var(--line);
}
.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 30px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-legal__icp { color: var(--paper); }
.footer-legal__coord { color: rgba(143, 163, 192, 0.8); }

@media (max-width: 1040px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal__inner { gap: 8px 18px; font-size: 11px; }
}

/* ---------- 8 通用组件 ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.panel--glass {
  background: var(--glass);
  border-color: rgba(24, 224, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 28, 48, 0.65);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag--live { color: var(--lime); border-color: rgba(124, 255, 79, 0.45); }
.tag--warn { color: var(--amber); border-color: rgba(255, 197, 61, 0.45); }
.tag--hot { color: var(--lava); border-color: rgba(255, 106, 43, 0.45); }
.tag--info { color: var(--cyan); border-color: rgba(24, 224, 255, 0.45); }

.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: #CBD9EE;
}
.prose h2,
.prose h3 { margin-top: 1.7em; color: var(--paper); }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 224, 255, 0.4);
  transition: border-color 0.25s ease;
}
.prose a:hover { border-bottom-color: var(--cyan); }
.prose strong { color: var(--paper); }

.rail {
  display: flex;
  gap: 16px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* ---------- 9 图片容器 ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.figure__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--ink-800);
  background-image:
    linear-gradient(135deg, rgba(24, 224, 255, 0.16), rgba(7, 11, 20, 0) 58%),
    repeating-linear-gradient(45deg, rgba(30, 43, 69, 0.72) 0 1px, transparent 1px 15px);
}
.figure__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(24, 224, 255, 0.14);
}
.figure__caption {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }
.figure--portrait .figure__media { aspect-ratio: 3 / 4; }

/* ---------- 10 动效 / 焦点 / 响应式 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 980px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 54px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 44px 0; }
  .rail { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
  .scroll-progress__bar { transition: none; }
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
