/* ============================================================
   鲸鱼体育 · 共享样式 /assets/site.css
   深海鲸群 × 夜间赛事展厅
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 20px);
}

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

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

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --c-deep: #0B1F3A;
  --c-night: #16304F;
  --c-abyss: #04090F;
  --c-white: #F4F7FB;
  --c-cyan: #2EE6D6;
  --c-cyan-soft: #8CF6EE;
  --c-coral: #FF6B4A;
  --c-sand: #FFD9A0;
  --c-foam: #C7D3E3;
  --c-steel: #6B8FB0;

  --line-hard: 2px solid var(--c-abyss);
  --hard: 6px 6px 0 var(--c-abyss);
  --hard-sm: 4px 4px 0 var(--c-abyss);

  --bar-h: 68px;
  --rail-w: 154px;
  --maxw: 1240px;
  --gutter: clamp(18px, 4vw, 40px);

  --f-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --f-body: var(--f-sans);
  --f-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (min-width: 1024px) {
  :root { --bar-h: 76px; }
}

/* ---------- 3. 基础排版 ---------- */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

html.js-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

body {
  min-height: 100vh;
  background: var(--c-deep);
  color: var(--c-foam);
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--c-white);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(34px, 6.2vw, 72px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 { font-size: 18px; }

p { max-width: 62ch; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { color: var(--c-white); font-weight: 800; }

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

::selection { background: var(--c-cyan); color: var(--c-abyss); }

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

/* 鲸尾图形（纯 CSS，可继承 currentColor） */
.tail-mark {
  position: relative;
  display: inline-block;
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--c-cyan);
}

.tail-mark::before,
.tail-mark::after {
  content: "";
  position: absolute;
  top: 10%;
  width: 44%;
  height: 80%;
  background: currentColor;
}

.tail-mark::before {
  left: 3%;
  clip-path: polygon(100% 0%, 0% 34%, 0% 100%, 100% 62%);
}

.tail-mark::after {
  right: 3%;
  clip-path: polygon(0% 0%, 100% 34%, 100% 100%, 0% 62%);
}

/* ---------- 4. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main {
  padding-top: var(--bar-h);
  min-height: 55vh;
}

.site-main--flush { padding-left: 0; }

@media (min-width: 1024px) {
  .site-main { padding-left: var(--rail-w); }
  .site-main--flush { padding-left: 0; }
}

/* ---------- 5. 头部 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--c-cyan);
  color: var(--c-abyss);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: var(--line-hard);
  box-shadow: var(--hard-sm);
  transform: translateY(-190%);
  transition: transform .2s ease;
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: var(--bar-h);
  padding: 0 clamp(14px, 3vw, 26px);
  background: var(--c-deep);
  border-bottom: var(--line-hard);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--c-white);
  text-decoration: none;
}

.brand:hover .brand__text { color: var(--c-cyan-soft); }

.brand__mark { width: 26px; height: 26px; }

.brand__text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease;
}

.brand__sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-steel);
  white-space: nowrap;
}

.header-bar__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.version-badge {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-cyan);
  background: var(--c-night);
  border: var(--line-hard);
  padding: 6px 10px;
  white-space: nowrap;
}

.batch-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-foam);
  white-space: nowrap;
}

.batch-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, .18);
  animation: whale-pulse 2.4s ease-in-out infinite;
}

@keyframes whale-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--bar-h) - 1px);
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  height: 100%;
  background: var(--c-cyan);
  transform: scaleX(0);
  transform-origin: left center;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--c-night);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  border: var(--line-hard);
  cursor: pointer;
}

.nav-toggle:hover { background: #1d3d63; }

.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-cyan);
  transition: transform .22s ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. 框架式导航（移动优先：下拉目录） ---------- */
.site-nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  width: auto;
  z-index: 79;
  max-height: calc(100vh - var(--bar-h));
  overflow-y: auto;
  padding: 12px 0 22px;
  background: var(--c-abyss);
  border-bottom: 2px solid var(--c-cyan);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.site-nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.site-nav__title {
  padding: 6px 18px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--c-steel);
  text-transform: uppercase;
}

.nav-list { display: flex; flex-direction: column; }

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  color: var(--c-foam);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.nav-link:hover {
  color: var(--c-white);
  background: rgba(46, 230, 214, .07);
}

.nav-link__index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--c-steel);
}

.nav-link[aria-current="page"] {
  color: var(--c-cyan);
  background: rgba(46, 230, 214, .1);
  border-left-color: var(--c-cyan);
}

.nav-link[aria-current="page"] .nav-link__index { color: var(--c-cyan); }

@media (min-width: 1024px) {
  .site-nav {
    top: var(--bar-h);
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    max-height: none;
    padding: 30px 0 26px;
    background: var(--c-deep);
    border-right: var(--line-hard);
    border-bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .site-nav::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 11px;
    background-image: repeating-linear-gradient(
      180deg,
      rgba(107, 143, 176, .5) 0 1px,
      transparent 1px 24px
    );
    pointer-events: none;
  }

  .site-nav__title { padding-left: 22px; }

  .nav-link { padding: 15px 22px; font-size: 15px; }

  .nav-toggle { display: none; }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  border: var(--line-hard);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn--cta {
  background: var(--c-coral);
  color: var(--c-abyss);
  box-shadow: var(--hard);
}

.btn--cta:hover {
  background: var(--c-cyan);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--c-abyss);
}

.btn--ghost {
  background: transparent;
  color: var(--c-cyan);
  border-color: var(--c-cyan);
  box-shadow: var(--hard-sm);
}

.btn--ghost:hover {
  background: var(--c-cyan);
  color: var(--c-abyss);
}

.btn--light {
  background: var(--c-white);
  color: var(--c-deep);
  box-shadow: var(--hard-sm);
}

.btn--light:hover { background: var(--c-sand); }

.btn--sm { padding: 9px 14px; font-size: 13px; }

.btn--block { width: 100%; }

/* ---------- 8. 展区节律 ---------- */
.section { padding: clamp(56px, 8vw, 116px) 0; }

.section--tight { padding: clamp(32px, 4.5vw, 60px) 0; }

.section--light {
  background: var(--c-white);
  color: #1b3552;
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--c-deep); }

.section--light .section__note { color: #46648a; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}

.section__title { max-width: 22ch; }

.section__note {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--c-steel);
}

/* ---------- 9. 网格 ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: 1fr; }

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

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: 7fr 5fr; }
  .grid--split-rev { grid-template-columns: 5fr 7fr; }
}

/* ---------- 10. 展览标签 / 说明牌 / 注释 ---------- */
.exhibit-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  background: var(--c-night);
  border: var(--line-hard);
  box-shadow: var(--hard-sm);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.exhibit-label__num { color: var(--c-coral); }

.tick-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--c-steel);
}

.tick-line::before {
  content: "";
  flex: none;
  width: 22px;
  height: 1px;
  background: var(--c-cyan);
}

.spec-plate {
  padding: 16px 18px;
  background: var(--c-night);
  border: var(--line-hard);
  box-shadow: var(--hard);
}

.spec-plate__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(107, 143, 176, .32);
  font-size: 13px;
}

.spec-plate__row:last-child { border-bottom: 0; }

.spec-plate__key {
  font-family: var(--f-mono);
  letter-spacing: .08em;
  color: var(--c-steel);
}

.spec-plate__val {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--c-white);
  text-align: right;
}

/* ---------- 11. 可折叠数据卡 ---------- */
.data-card {
  background: var(--c-night);
  border: var(--line-hard);
  box-shadow: var(--hard);
}

.data-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.data-card__head:hover { background: rgba(46, 230, 214, .06); }

.data-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-white);
}

.data-card__meta {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-steel);
}

.data-card__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform .28s ease;
}

.data-card__icon::before,
.data-card__icon::after {
  content: "";
  position: absolute;
  background: var(--c-cyan);
}

.data-card__icon::before { left: 0; right: 0; top: 7px; height: 2px; }
.data-card__icon::after { top: 0; bottom: 0; left: 7px; width: 2px; }

.data-card[data-open] .data-card__icon { transform: rotate(45deg); }

.data-card__panel {
  overflow: hidden;
  transition: height .32s ease;
}

.data-card__inner {
  padding: 4px 18px 20px;
  border-top: 1px solid rgba(107, 143, 176, .32);
  font-size: 15px;
  color: var(--c-foam);
}

/* ---------- 12. 图片占位容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  min-height: 120px;
  overflow: hidden;
  background: var(--c-night);
  border: var(--line-hard);
  box-shadow: var(--hard);
}

.media-frame > img,
.media-frame > svg,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x5 { aspect-ratio: 4 / 5; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, .1) 0%, rgba(4, 9, 15, .7) 100%),
    linear-gradient(90deg, rgba(46, 230, 214, .1) 0%, rgba(255, 107, 74, .08) 100%);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 12px 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-white);
  background: rgba(4, 9, 15, .68);
  border-top: 1px solid rgba(46, 230, 214, .4);
}

/* ---------- 13. 大数字 ---------- */
.stat { display: flex; flex-direction: column; gap: 8px; }

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--c-cyan);
}

.stat__unit { font-size: .32em; font-weight: 500; color: var(--c-foam); letter-spacing: .04em; }

.stat__label {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--c-steel);
}

.stat--alert .stat__value { color: var(--c-coral); }
.stat--soft .stat__value { color: var(--c-sand); }

/* ---------- 14. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-steel);
}

.breadcrumb a { color: var(--c-steel); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-cyan); }
.breadcrumb__sep { color: var(--c-coral); }
.breadcrumb [aria-current="page"] { color: var(--c-white); }

/* ---------- 15. 正文容器 ---------- */
.prose {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-foam);
}

.prose h2 { margin: 1.9em 0 .55em; }
.prose h3 { margin: 1.6em 0 .45em; }
.prose p { margin: 0 0 1.05em; max-width: none; }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--c-cyan); }
.prose a:hover { color: var(--c-cyan-soft); }
.prose blockquote {
  margin: 1.4em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--c-coral);
  background: rgba(22, 48, 79, .6);
  color: var(--c-white);
}
.prose code {
  padding: 2px 6px;
  background: var(--c-night);
  border: 1px solid rgba(107, 143, 176, .4);
  color: var(--c-cyan-soft);
  font-size: .92em;
}

.section--light .prose { color: #1b3552; }
.section--light .prose h2,
.section--light .prose h3 { color: var(--c-deep); }
.section--light .prose a { color: #0f6f66; }
.section--light .prose code { background: #e3ebf5; color: #0b1f3a; border-color: #c7d3e3; }
.section--light .prose blockquote { background: #e8eef7; color: var(--c-deep); }

/* ---------- 16. 章节目录跟随 ---------- */
.section-nav ol { display: flex; flex-direction: column; gap: 2px; }

.section-nav a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-steel);
  text-decoration: none;
  border-left: 2px solid rgba(107, 143, 176, .4);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.section-nav a:hover { color: var(--c-white); }

.section-nav a[aria-current="true"] {
  color: var(--c-cyan);
  border-left-color: var(--c-cyan);
  background: rgba(46, 230, 214, .08);
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--c-abyss);
  color: var(--c-foam);
  padding-bottom: 26px;
}

.footer-rule {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--c-cyan) 0 38%,
    var(--c-coral) 38% 45%,
    var(--c-steel) 45% 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: clamp(38px, 5vw, 62px) 0 34px;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-plate { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr .9fr .9fr 1.5fr; }
  .contact-plate { grid-column: auto; }
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-brand__mark { width: 30px; height: 30px; color: var(--c-cyan); }

.footer-brand__line {
  max-width: 22ch;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--c-white);
}

.footer-brand__sub {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--c-steel);
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.footer-col__title::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  background: var(--c-cyan);
}

.footer-col__list { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-foam);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--c-cyan);
  transform: translateX(3px);
}

.contact-plate {
  padding: 18px 20px;
  background: rgba(22, 48, 79, .78);
  border: 2px solid var(--c-night);
  box-shadow: 6px 6px 0 rgba(46, 230, 214, .16);
}

.contact-plate__title {
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.contact-plate__list { display: flex; flex-direction: column; }

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(107, 143, 176, .28);
}

.contact-row:last-child { border-bottom: 0; }

.contact-row__key {
  flex: none;
  width: 44px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-steel);
}

.contact-row__val {
  font-family: var(--f-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-white);
  word-break: break-word;
}

.contact-plate__note {
  max-width: none;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--c-steel);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(107, 143, 176, .28);
}

.footer-base__legal,
.footer-base__meta {
  max-width: none;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-steel);
}

/* ---------- 18. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--c-coral);
  color: var(--c-abyss);
  border: var(--line-hard);
  box-shadow: var(--hard);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s ease, background .2s ease;
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { background: var(--c-cyan); }
.to-top:hover .to-top__mark { transform: rotate(12deg); }

.to-top__mark {
  width: 22px;
  height: 22px;
  color: var(--c-abyss);
  transition: transform .3s ease;
}

/* ---------- 19. 响应式微调 ---------- */
@media (max-width: 1180px) {
  .brand__sub { display: none; }
}

@media (max-width: 860px) {
  .version-badge { display: none; }
}

@media (max-width: 620px) {
  .batch-status { display: none; }
  .header-bar__cta { padding: 9px 12px; font-size: 12.5px; }
  .brand__text { font-size: 18px; }
}

@media (max-width: 420px) {
  .header-bar__cta { display: none; }
}

/* ---------- 20. 动效与可达性偏好 ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  html.js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
