/* ==========================================================================
   顶胜赛事 · site.css
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

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

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

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

ul, ol { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid rgba(196, 210, 223, .16); margin: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --abyss: #071320;
  --indigo: #142348;
  --teal: #0C2F33;
  --wine: #3F1B27;
  --silver: #C4D2DF;
  --snow: #F2F7FA;
  --cyan: #35E0D0;
  --amber: #F5A83C;
  --mist: #7E8FA0;

  --line: rgba(196, 210, 223, .16);
  --line-strong: rgba(196, 210, 223, .36);
  --line-soft: rgba(196, 210, 223, .09);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --rail: 220px;
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .6, .25, 1);
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  min-height: 100vh;
  background: var(--abyss);
  color: var(--silver);
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.75;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.7; }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--snow);
  text-wrap: balance;
}

h1 { font-size: clamp(28px, 6vw, 74px); }
h2 { font-size: clamp(23px, 3.4vw, 42px); }
h3 { font-size: clamp(17px, 1.9vw, 24px); line-height: 1.32; }
h4 { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.4; }

p { text-wrap: pretty; }

::selection { background: rgba(53, 224, 208, .3); color: var(--snow); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------- 4. 工具类 ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 920px; }

.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 16px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

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

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04171a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 0;
  transition: top .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--snow);
  outline-offset: 2px;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 19, 32, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.scroll-progress {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: rgba(196, 210, 223, .1);
  z-index: 3;
  pointer-events: none;
}
.scroll-progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 62%, var(--amber) 100%);
  will-change: transform;
}

.site-header__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(140px, var(--rail)) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0 clamp(14px, 2.4vw, 36px);
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding: 10px clamp(12px, 2vw, 26px) 10px 0;
  border-right: 1px solid var(--line);
}
.brand--footer {
  border-right: 0;
  padding: 0;
}
.brand-mark {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.15;
  color: var(--snow);
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.brand-subline {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .05em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand:hover .brand-mark { color: var(--cyan); }

/* 命令栏导航 */
.command-nav {
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.command-nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.5vw, 24px);
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.command-nav__list::-webkit-scrollbar { display: none; }
.command-nav__item { display: flex; flex: 0 0 auto; }

.command-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--silver);
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.command-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .24s var(--ease);
}
.command-nav__link:hover { color: var(--snow); }
.command-nav__link:hover::after { transform: scaleX(1); }
.command-nav__link[aria-current="page"] { color: var(--snow); font-weight: 700; }
.command-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: var(--mist);
  transition: background-color .18s var(--ease), box-shadow .24s var(--ease);
}
.command-nav__link:hover .nav-dot { background: var(--silver); }
.command-nav__link[aria-current="page"] .nav-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 224, 208, .16);
}

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--cta {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04171a;
}
.btn--cta:hover {
  background: var(--snow);
  border-color: var(--snow);
  color: var(--abyss);
}
.btn--line {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--silver);
}
.btn--line:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--cyan);
  padding: 0 4px;
}
.btn--ghost:hover { color: var(--snow); }
.btn--block { width: 100%; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: border-color .18s var(--ease);
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--silver);
  transition: transform .2s var(--ease), opacity .2s var(--ease), background-color .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle:hover .nav-toggle__bar { background: var(--cyan); }

.site-header[data-open] .nav-toggle { border-color: var(--cyan); }
.site-header[data-open] .nav-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 8. 头部响应式 ---------- */
@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 62px;
    gap: 0 12px;
  }
  .brand {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    border-right: 0;
    padding: 8px 0;
  }
  .brand-mark { font-size: 18px; }
  .brand-subline { display: none; }

  .header-actions { display: flex; align-items: center; gap: 8px; }
  .header-cta { min-height: 36px; padding: 0 14px; font-size: 12px; letter-spacing: .02em; }
  .nav-toggle { display: flex; width: 40px; height: 40px; }

  .command-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: block;
    background: rgba(7, 19, 32, .985);
    border-bottom: 1px solid var(--line-strong);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .site-header[data-open] .command-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .command-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 6px var(--gutter) 18px;
  }
  .command-nav__item { width: 100%; }
  .command-nav__link {
    width: 100%;
    min-height: 48px;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }
  .command-nav__link::after { display: none; }
  .command-nav__link[aria-current="page"] { color: var(--cyan); }
}

@media (max-width: 380px) {
  .header-cta { padding: 0 10px; font-size: 11.5px; }
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background: var(--teal);
  border-top: 1px solid rgba(53, 224, 208, .28);
  color: var(--silver);
}

.site-footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--gutter) clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.footer-tagline {
  max-width: 24em;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.footer-persist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.footer-persist__item {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(53, 224, 208, .28);
  background: rgba(7, 19, 32, .42);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.footer-persist__item:hover {
  border-color: var(--cyan);
  background: rgba(53, 224, 208, .08);
}
.footer-persist__label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--snow);
}
.footer-persist__note {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  min-width: 0;
}
.footer-col { min-width: 0; }
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-col__title::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--cyan);
}
.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--silver);
  transition: color .18s var(--ease);
}
.footer-col__link:hover { color: var(--cyan); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact__line {
  font-size: 13px;
  line-height: 1.65;
  color: var(--silver);
  word-break: break-word;
}

.footer-bottom {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--gutter) 26px;
  border-top: 1px solid rgba(196, 210, 223, .14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  line-height: 1.6;
  color: var(--mist);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-legal__link {
  padding: 2px 0;
  color: var(--silver);
  transition: color .18s var(--ease);
}
.footer-legal__link:hover { color: var(--cyan); }
.footer-legal__sep {
  margin: 0 10px;
  color: rgba(196, 210, 223, .3);
}
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.footer-icp { color: var(--mist); }

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 10. 悬浮冰晶按钮组 ---------- */
.frost-dock {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(92vw, 380px);
  pointer-events: none;
}
.frost-dock > * { pointer-events: auto; }

.frost-dock__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  background: var(--snow);
  color: #04171a;
  border: 1px solid var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.frost-dock__link:hover {
  background: var(--cyan);
  color: #04171a;
  transform: translateY(-1px);
}
.frost-dock__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--abyss);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}
.frost-dock__label { display: inline; }

.frost-dock__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--snow);
  color: var(--abyss);
  border: 1px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}
.frost-dock__toggle:hover { background: var(--cyan); }

@media (max-width: 720px) {
  .frost-dock { right: 14px; bottom: 14px; gap: 8px; }
  .frost-dock__toggle { display: inline-flex; order: -1; }
  .frost-dock__label { display: none; }
  .frost-dock__link {
    width: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
  }
  .frost-dock[data-expanded] .frost-dock__label { display: inline; }
  .frost-dock[data-expanded] .frost-dock__link {
    width: auto;
    min-height: 40px;
    padding: 8px 14px;
    justify-content: flex-start;
  }
}

/* ---------- 11. 通用内容组件 ---------- */
.prose {
  font-size: 16px;
  line-height: 1.78;
  color: var(--silver);
}
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: 34em; }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 224, 208, .4);
}
.prose a:hover { color: var(--snow); border-bottom-color: var(--snow); }
.prose h2, .prose h3 { margin-top: 1.6em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.lede {
  max-width: 34em;
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  line-height: 1.7;
  color: var(--silver);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.num-lg {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 104px);
  line-height: .94;
  letter-spacing: -.045em;
  color: var(--snow);
}
.num-lg--amber { color: var(--amber); }
.num-lg--cyan { color: var(--cyan); }

/* 通栏色带 */
.section-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px clamp(14px, 2vw, 22px);
  background: var(--indigo);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--silver);
}
.section-rule--wine { background: var(--wine); }
.section-rule--teal { background: var(--teal); }
.section-rule__num { color: var(--cyan); }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--silver);
}
.tag--cyan { color: var(--cyan); border-color: rgba(53, 224, 208, .45); }
.tag--amber { color: var(--amber); border-color: rgba(245, 168, 60, .5); background: rgba(245, 168, 60, .08); }
.tag--wine { color: var(--snow); border-color: rgba(63, 27, 39, .9); background: var(--wine); }

/* 面包屑 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--mist);
}
.breadcrumbs__link {
  color: var(--silver);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.breadcrumbs__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.breadcrumbs__sep { color: rgba(196, 210, 223, .35); }

/* 横向数据带 */
.data-band {
  position: relative;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  background: var(--indigo);
  border: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 224, 208, .5) transparent;
}
.data-band::-webkit-scrollbar { height: 6px; }
.data-band::-webkit-scrollbar-thumb { background: rgba(53, 224, 208, .45); }
.data-band::-webkit-scrollbar-track { background: rgba(196, 210, 223, .08); }

.data-band__cell {
  flex: 0 0 clamp(200px, 26vw, 300px);
  min-width: 0;
  padding: clamp(14px, 2vw, 22px);
  border-right: 1px solid var(--line);
  scroll-snap-align: start;
  transition: background-color .18s var(--ease);
}
.data-band__cell:last-child { border-right: 0; }
.data-band__cell:hover { background: rgba(53, 224, 208, .06); }

/* 折叠档案卡 */
.archive-card {
  border: 1px solid var(--line);
  background: rgba(20, 35, 72, .36);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.archive-card:hover { border-color: rgba(53, 224, 208, .55); }
.archive-card[open] { border-color: rgba(53, 224, 208, .55); background: rgba(20, 35, 72, .62); }

.archive-card > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px clamp(14px, 2vw, 20px);
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--snow);
}
.archive-card > summary::-webkit-details-marker { display: none; }
.archive-card > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--cyan);
}
.archive-card[open] > summary {
  border-bottom: 1px solid var(--line-soft);
}
.archive-card[open] > summary::after { content: "–"; }

.archive-card__body {
  padding: 14px clamp(14px, 2vw, 20px) 18px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--silver);
}
.archive-card__body > * + * { margin-top: .8em; }

/* 面板 */
.panel {
  border: 1px solid var(--line);
  background: rgba(20, 35, 72, .4);
  padding: clamp(16px, 2.4vw, 28px);
}
.panel--flat { background: transparent; }

/* 章节索引 */
.section-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.section-index__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--mist);
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.section-index__item[data-active] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: rgba(53, 224, 208, .07);
}

/* ---------- 12. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--indigo);
}
.media__frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background-image:
    linear-gradient(135deg, rgba(53, 224, 208, .1), transparent 62%),
    repeating-linear-gradient(90deg, rgba(196, 210, 223, .08) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(196, 210, 223, .08) 0 1px, transparent 1px 56px);
}
.media__frame > img,
.media__frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__caption {
  display: block;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--mist);
}
.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }

@media (max-width: 640px) {
  .media--21x9 { aspect-ratio: 16 / 9; }
}

/* 球场 / 冰面线条遮罩 */
.grid-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(196, 210, 223, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 210, 223, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 72%);
}

/* ---------- 13. 可选显现协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal][data-inview] { opacity: 1; transform: none; }

/* ---------- 14. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress__fill { transition: none !important; }
}
