/* =========================================================
   爱体育CN · 共享样式表 /assets/site.css
   夜场看台 × 数据控制室
   ========================================================= */

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

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

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, picture { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --bg: #060A1C;
  --bg-panel: #0E1638;
  --bg-raised: #111A40;
  --line: #1B2550;
  --line-strong: #2A3A78;
  --cyan: #3FF0D8;
  --cyan-soft: #8FF6EE;
  --hot: #FF5A2E;
  --coral: #FF8A66;
  --text: #E8ECFF;
  --muted: #9AA6D4;
  --glass: rgba(63, 240, 216, 0.08);
  --glass-line: rgba(63, 240, 216, 0.22);

  --shell: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 14px;
  --radius-sm: 8px;

  --font-display: "Oswald", "Barlow Condensed", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

/* ---------- 3. 基础与中文排版 ---------- */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 88% -6%, rgba(63, 240, 216, 0.10), transparent 62%),
    radial-gradient(720px 460px at -8% 4%, rgba(255, 90, 46, 0.08), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

p { max-width: 72ch; }

a { color: var(--cyan-soft); }

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

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

#main-content { display: block; scroll-margin-top: 120px; }

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: top 0.16s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 5. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 84px); }
.section--tight { padding-block: clamp(32px, 4vw, 52px); }

.section__head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
}

.section__desc {
  margin-top: 14px;
  color: var(--muted);
  max-width: 62ch;
}

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

.prose { max-width: 70ch; }
.prose p + p { margin-top: 1.2em; }
.prose h3 { margin-top: 1.6em; font-size: 20px; }
.prose ul { margin-top: 1em; display: grid; gap: 0.5em; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 7px; height: 2px;
  background: var(--cyan);
}

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(32px, 5vw, 64px);
  background: var(--line);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ---------- 6. 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.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)); }
.grid--sidebar { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

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

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), border-color 0.16s ease, color 0.16s ease;
}

.btn--primary {
  background: var(--hot);
  border-color: var(--hot);
  color: #150603;
}
.btn--primary:hover { background: var(--coral); border-color: var(--coral); }

.btn--ghost {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--cyan);
}
.btn--ghost:hover { background: rgba(63, 240, 216, 0.16); border-color: var(--cyan); }

.btn--quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--quiet:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--sm { padding: 7px 14px; font-size: 12.5px; letter-spacing: 0.1em; }

/* ---------- 8. 文本链接 ---------- */
.text-link {
  position: relative;
  color: var(--cyan-soft);
  text-decoration: none;
  transition: color 0.16s ease;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.12s var(--ease);
}
.text-link:hover { color: var(--cyan); }
.text-link:hover::after { transform: scaleX(1); }

/* ---------- 9. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 10, 28, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* 上层窄带 */
.topbar {
  max-height: 120px;
  background: linear-gradient(90deg, rgba(14, 22, 56, 0.94), rgba(6, 10, 28, 0.68));
  border-bottom: 1px solid var(--line);
  transition: max-height 0.24s var(--ease), opacity 0.24s var(--ease);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04121A;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__name {
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: color 0.16s ease;
}
.brand:hover .brand__name { color: var(--cyan); }

.topbar__tagline {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.round-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
}

.round-chip__label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.round-chip__value {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

/* 中层栏目条 */
.navbar {
  position: relative;
  background: rgba(6, 10, 28, 0.78);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
}

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

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(4px, 1vw, 12px);
}

.nav__link {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.24s var(--ease);
}
.nav__link:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--glass);
}
.nav__link[aria-current="page"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--glass);
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px; height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--cyan);
  transition: transform 0.16s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4.25px) rotate(-45deg); }

.nav-toggle__text { line-height: 1; }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.9;
  pointer-events: none;
}

/* 滚动后收缩上层窄带 */
.site-header.is-scrolled .topbar { max-height: 36px; }
.site-header.is-scrolled .topbar__tagline { display: none; }
.site-header.is-scrolled .topbar__inner { min-height: 36px; }

/* ---------- 10. 头部响应式 ---------- */
@media (max-width: 1080px) and (min-width: 900px) {
  .nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav__list::-webkit-scrollbar { display: none; }
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .navbar__inner { min-height: 54px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    padding: 6px var(--gutter) 18px;
    background: #0B1230;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px -30px rgba(0, 0, 0, 0.92);
    max-height: min(72vh, 520px);
    overflow-y: auto;
  }
  .nav[data-open] { display: block; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }

  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__item:last-child { border-bottom: 0; }

  .nav__link {
    display: block;
    padding: 14px 4px;
    border: 0;
    border-radius: 0;
    font-size: 15.5px;
  }
  .nav__link[aria-current="page"] {
    border: 0;
    background: transparent;
    box-shadow: inset 2px 0 0 var(--cyan);
    padding-left: 14px;
  }

  .topbar__tagline { display: none; }
  .site-header.is-scrolled .topbar { max-height: 60px; }
  .site-header.is-scrolled .topbar__inner { min-height: 52px; }
}

@media (max-width: 480px) {
  .round-chip__label { display: none; }
  .topbar__actions { gap: 8px; }
  .btn--sm { padding: 6px 12px; font-size: 12px; }
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #080D22, #0B1230);
}

.footer-band {
  height: clamp(72px, 12vw, 140px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 170% at 18% 140%, rgba(63, 240, 216, 0.20), transparent 62%),
    radial-gradient(90% 150% at 78% -30%, rgba(255, 90, 46, 0.18), transparent 60%),
    repeating-linear-gradient(102deg, rgba(63, 240, 216, 0.09) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #060A1C, #0B1230);
}

.footer__inner { padding-block: clamp(40px, 5vw, 64px) 28px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.8fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}

.footer__col { min-width: 0; }

.brand--footer { margin-bottom: 14px; }

.footer__tagline {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.footer__note {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 34ch;
}

.footer__title {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__list { display: grid; gap: 9px; }

.footer__list a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.16s ease;
}
.footer__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.12s var(--ease);
}
.footer__list a:hover { color: var(--text); }
.footer__list a:hover::after { transform: scaleX(1); }

.footer__list--contact { gap: 12px; }

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer__label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.contact-value {
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  word-break: break-all;
}
.contact-value--wide { font-family: var(--font-body); font-size: 13.5px; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.24s var(--ease);
}
.copy-btn:hover {
  color: var(--cyan);
  border-color: var(--glass-line);
  background: var(--glass);
}
.copy-btn[data-state="copied"] {
  color: #04121A;
  background: var(--cyan);
  border-color: var(--cyan);
}
.copy-btn[data-state="error"] {
  color: var(--coral);
  border-color: rgba(255, 138, 102, 0.45);
  background: rgba(255, 90, 46, 0.10);
}

.footer__meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
  max-width: 40ch;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer__legal {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.footer__legal--mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: #7C88BC;
}

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__base { justify-content: flex-start; }
}

/* ---------- 12. 容器与卡片 ---------- */
.panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.panel--glass {
  background: var(--glass);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.card {
  position: relative;
  display: block;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.24s var(--ease), border-color 0.16s ease;
}
.card::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.16s var(--ease);
}
.card:hover { background: var(--bg-raised); border-color: var(--line-strong); }
.card:hover::after { transform: scaleX(1); }

.card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__text { color: var(--muted); font-size: 14px; }

/* ---------- 13. 数据与轮次 ---------- */
.stat { display: flex; flex-direction: column; gap: 8px; }

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--hot);
}

.stat__label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.round-strip {
  position: relative;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(14, 22, 56, 0.9), rgba(6, 10, 28, 0.6));
}

.round-strip__track {
  display: flex;
  gap: 12px;
  padding: 4px var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.round-strip__track::-webkit-scrollbar { height: 4px; }
.round-strip__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.round-strip--dragging .round-strip__track {
  cursor: grabbing;
  scroll-snap-type: none;
}
.round-strip--dragging { user-select: none; }

.round-strip__item {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 118px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-panel);
  color: var(--text);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.16s ease, background-color 0.24s var(--ease), color 0.16s ease;
}
.round-strip__item:hover { border-color: var(--cyan); background: var(--bg-raised); }
.round-strip__item.is-active,
.round-strip__item[aria-current="true"] {
  border-color: var(--cyan);
  background: var(--glass);
  color: var(--cyan);
}

.round-strip__label {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.16em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.14em;
}
.status-pill--live {
  color: var(--cyan);
  border-color: var(--glass-line);
  background: var(--glass);
}
.status-pill--alert {
  color: var(--coral);
  border-color: rgba(255, 138, 102, 0.4);
  background: rgba(255, 90, 46, 0.10);
}

.timeline {
  display: grid;
  gap: 26px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -27px; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 240, 216, 0.16);
}

.log-list { border-top: 1px solid var(--line); }
.log-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.log-list__key {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

/* ---------- 14. 标签与筛选 ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.24s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn[aria-pressed="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--glass);
}

/* ---------- 15. 折叠分组 ---------- */
.accordion__item { border-bottom: 1px solid var(--line); }

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--text);
  font-size: 16.5px;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s ease;
}
.accordion__trigger:hover { color: var(--cyan); }
.accordion__trigger[aria-expanded="true"] { color: var(--cyan); }

.accordion__mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  color: var(--cyan);
}

.accordion__panel {
  padding-bottom: 18px;
  color: var(--muted);
  max-width: 70ch;
}
.accordion__panel[hidden] { display: none; }

/* ---------- 16. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}
.breadcrumbs__item {
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease;
}
.breadcrumbs__item:hover { color: var(--cyan); }
.breadcrumbs__sep { color: #3A4680; }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ---------- 17. 图像容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, #0B1230, #060A1C);
  aspect-ratio: 16 / 9;
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }

.media-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 28, 0.88));
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 18. 显现动效 ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html[data-reveal-ready] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 19. 降低动态 ---------- */
@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[data-reveal-ready] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
