/* =========================================================
   英亚平台 · Site Kit 共享层
   tokens / reset / 中文排版 / header / footer / 基础组件
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0B1B2B;
  --ink-2: #12324C;
  --cyan: #35D3C0;
  --amber: #E5A93C;
  --sand: #F1E8D6;
  --ivory: #F8F6F1;
  --slate: #6C7C8A;
  --black: #0F1418;
  --mist: #D7E7E4;
  --coral: #D96A4E;

  --line-dark: rgba(53, 211, 192, 0.26);
  --line-light: rgba(15, 20, 24, 0.13);

  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 1240px;
  --gap: clamp(16px, 2.2vw, 28px);
  --space-section: clamp(56px, 8vw, 112px);
  --radius: 2px;
  --shadow-1: 0 1px 2px rgba(11, 27, 43, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul, pre { margin: 0; }
ol[class], ul[class] { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
main { display: block; }

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

/* ---------- 3. 基础排版工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.stack { display: grid; gap: var(--gap); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.display {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--slate);
  max-width: 34em;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--slate);
  display: block;
}

.section-no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--slate);
  display: block;
  margin-bottom: 0.4rem;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.on-dark { color: var(--ivory); }
.on-dark .section-no,
.on-dark .kicker { color: var(--cyan); }
.on-dark .lede { color: rgba(248, 246, 241, 0.72); }

.prose {
  max-width: 36em;
  line-height: 1.75;
  color: var(--black);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.24;
}
.prose h2 { font-size: 1.375rem; }
.prose h3 { font-size: 1.05rem; }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.35em; }
.prose a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose strong { font-weight: 700; color: var(--ink); }

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 400;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: top 0.16s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid rgba(53, 211, 192, 0.16);
}

.header-rule {
  height: 6px;
  border-bottom: 1px solid rgba(53, 211, 192, 0.1);
  background-image:
    repeating-linear-gradient(90deg, rgba(53, 211, 192, 0.55) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(53, 211, 192, 0.24) 0 1px, transparent 1px 16px);
  background-size: 100% 6px, 100% 3px;
  background-repeat: repeat-x, repeat-x;
  background-position: 0 0, 0 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 1.8vw, 20px);
  min-height: 66px;
  padding-block: 6px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(53, 211, 192, 0.45);
  display: grid;
  place-items: center;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(53, 211, 192, 0.32);
}
.brand-mark::before { left: 50%; top: 3px; bottom: 3px; width: 1px; transform: translateX(-0.5px); }
.brand-mark::after { top: 50%; left: 3px; right: 3px; height: 1px; transform: translateY(-0.5px); }
.brand-mark__dot {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.16);
}

.brand-text { display: grid; gap: 1px; min-width: 0; }
.brand-text__name {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--ivory);
}
.brand-text__sub {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: rgba(248, 246, 241, 0.5);
  white-space: nowrap;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(53, 211, 192, 0.35);
  background: rgba(53, 211, 192, 0.06);
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  justify-self: end;
}
.nav-toggle__bars { display: grid; gap: 3px; width: 15px; }
.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__label { display: inline; }

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

/* 导航 */
.site-nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(4px, 1vw, 14px);
}
.nav-item { min-width: 0; }

.nav-link {
  position: relative;
  display: block;
  padding: 16px 2px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(248, 246, 241, 0.68);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}
.nav-link:hover { color: var(--ivory); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ivory); font-weight: 700; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-index {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(53, 211, 192, 0.5);
  transition: color 0.2s var(--ease);
}
.nav-link[aria-current="page"] .nav-index { color: var(--cyan); }

.nav-label { position: relative; display: inline-block; padding-left: 10px; }
.nav-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-link[aria-current="page"] .nav-label::before { opacity: 1; transform: scale(1); }

/* 只读状态条 */
.header-status {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 10px;
  border: 1px solid rgba(53, 211, 192, 0.2);
  border-left: 2px solid var(--cyan);
  background: rgba(53, 211, 192, 0.05);
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(248, 246, 241, 0.62);
  white-space: nowrap;
}
.status-dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: status-pulse 2.6s ease-out infinite;
}
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 211, 192, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(53, 211, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 211, 192, 0); }
}
.status-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-label { color: rgba(248, 246, 241, 0.45); }
.status-value { color: var(--sand); font-weight: 600; font-size: 0.72rem; }
.status-sep { color: rgba(53, 211, 192, 0.5); }

.header-cta { justify-self: end; white-space: nowrap; }

/* 滚动进度 */
.scroll-meter {
  position: relative;
  height: 2px;
  background: rgba(248, 246, 241, 0.07);
  overflow: hidden;
}
.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transition: width 0.1s linear;
}

/* 页头断点：1200–1279 收紧状态条 */
@media (min-width: 1200px) and (max-width: 1279px) {
  .status-label { display: none; }
}

/* 页头断点：900–1199 两行 */
@media (min-width: 900px) and (max-width: 1199px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand nav cta"
      "status status status";
    row-gap: 4px;
    padding-block: 6px 10px;
  }
  .brand { grid-area: brand; }
  .site-nav { grid-area: nav; }
  .header-cta { grid-area: cta; }
  .header-status { grid-area: status; justify-self: start; }
  .nav-link { padding-top: 14px; padding-bottom: 8px; }
}

/* 页头断点：899 以下移动网格 */
@media (max-width: 899px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "status status"
      "cta cta";
    column-gap: 14px;
    row-gap: 0;
    padding-block: 10px 12px;
  }
  .brand { grid-area: brand; }
  .nav-toggle { grid-area: toggle; display: inline-flex; }
  .site-nav { grid-area: nav; display: none; }
  .site-header[data-open="true"] .site-nav {
    display: block;
    margin-top: 10px;
    animation: nav-drop 0.22s var(--ease);
  }
  .header-status { grid-area: status; margin-top: 10px; }
  .header-cta {
    grid-area: cta;
    justify-self: stretch;
    text-align: center;
    margin-top: 10px;
    padding-block: 12px;
    font-size: 0.9rem;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(53, 211, 192, 0.26);
  }
  .nav-link {
    padding: 11px 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(248, 246, 241, 0.08);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    background: rgba(53, 211, 192, 0.08);
    box-shadow: inset 2px 0 0 var(--cyan);
  }
  .nav-index { display: none; }
  .nav-label { padding-left: 0; }
  .nav-label::before { display: none; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 479px) {
  .brand-text__sub { display: none; }
  .brand-text__name { font-size: 1rem; }
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  margin-top: var(--space-section);
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid rgba(53, 211, 192, 0.18);
}

.footer-scale {
  height: 8px;
  border-bottom: 1px solid rgba(53, 211, 192, 0.12);
  background-image:
    repeating-linear-gradient(90deg, rgba(53, 211, 192, 0.5) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(90deg, rgba(53, 211, 192, 0.2) 0 1px, transparent 1px 20px);
  background-size: 100% 8px, 100% 4px;
  background-repeat: repeat-x, repeat-x;
  background-position: 0 0, 0 0;
}

.footer-shell { padding-block: clamp(36px, 5vw, 64px) 20px; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 80px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand__name {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.footer-brand__line {
  max-width: 20em;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(248, 246, 241, 0.7);
}
.footer-brand__meta {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(53, 211, 192, 0.22);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col__title {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(53, 211, 192, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.footer-list { display: grid; gap: 7px; }
.footer-link {
  position: relative;
  width: fit-content;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(248, 246, 241, 0.72);
  transition: color 0.18s var(--ease);
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}
.footer-link:hover { color: var(--ivory); }
.footer-link:hover::after { transform: scaleX(1); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 28px;
  padding-block: clamp(20px, 3vw, 30px);
  border-top: 1px dashed rgba(53, 211, 192, 0.25);
  border-bottom: 1px dashed rgba(53, 211, 192, 0.25);
}
.contact-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
}
.contact-key {
  flex: none;
  min-width: 4.5em;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(248, 246, 241, 0.45);
}
.contact-val { font-size: 0.84rem; line-height: 1.6; color: rgba(248, 246, 241, 0.86); }

.copy-btn {
  padding: 2px 8px;
  border: 1px solid rgba(53, 211, 192, 0.4);
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.copy-btn:hover { background: rgba(53, 211, 192, 0.14); }
.copy-btn:active { background: rgba(53, 211, 192, 0.24); }

.copy-feedback {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-size: 0.72rem;
  color: var(--amber);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.copy-feedback.is-shown { opacity: 1; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(248, 246, 241, 0.45);
}
.legal-line { margin: 0; }

@media (max-width: 899px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .footer-nav { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-legal { flex-direction: column; }
}

/* ---------- 7. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: #10171d;
}
.btn--amber:hover { background: #f0b856; border-color: #f0b856; }
.btn--ghost {
  border-color: rgba(53, 211, 192, 0.4);
  color: var(--cyan);
  background: transparent;
}
.btn--ghost:hover { background: rgba(53, 211, 192, 0.12); }
.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.btn--ink:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--cyan);
}
.breadcrumb__sep { color: rgba(108, 124, 138, 0.6); }

/* ---------- 9. 栅格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--split-alt { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

@media (max-width: 899px) {
  .grid--2,
  .grid--3,
  .grid--split,
  .grid--split-alt { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 10. 面板与索引卡 ---------- */
.panel {
  background: var(--ivory);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(18px, 2.4vw, 28px);
}
.panel--sand {
  background: var(--sand);
  border-color: rgba(11, 27, 43, 0.16);
}
.panel--ink {
  background: var(--ink-2);
  color: var(--ivory);
  border-color: rgba(53, 211, 192, 0.22);
}

.index-card {
  position: relative;
  padding: 20px 22px 20px 26px;
  background: var(--ivory);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.index-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
}

/* ---------- 11. 标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.chip--cyan { color: #1b7f76; }
.chip--amber { color: #8a5f0d; }
.chip--coral { color: #a8432b; }

.on-dark .chip--cyan { color: var(--cyan); }
.on-dark .chip--amber { color: var(--amber); }
.on-dark .chip--coral { color: var(--coral); }

/* ---------- 12. 日期区间 ---------- */
.date-range {
  display: inline-block;
  padding: 3px 8px;
  background: var(--mist);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
  border-radius: var(--radius);
}

/* ---------- 13. 数据表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(11, 27, 43, 0.16);
  background: var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--black);
}
.data-table caption {
  caption-side: top;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  background: rgba(215, 231, 228, 0.55);
  border-bottom: 1px solid rgba(11, 27, 43, 0.12);
}
.data-table th,
.data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(11, 27, 43, 0.1);
  vertical-align: top;
}
.data-table thead th {
  background: var(--mist);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.data-table tbody tr { transition: background 0.16s var(--ease); }
.data-table tbody tr:hover { background: rgba(53, 211, 192, 0.12); }
.data-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.data-table tfoot td {
  font-size: 0.78rem;
  color: var(--slate);
  border-bottom: 0;
}

/* ---------- 14. 手风琴 ---------- */
.accordion { border-top: 1px solid var(--line-light); }
.accordion__item { border-bottom: 1px solid var(--line-light); }
.accordion__item > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--slate);
}
.accordion__item[open] > summary::after { content: "–"; color: var(--ink-2); }
.accordion__body {
  padding: 0 0 16px;
  max-width: 36em;
  font-size: 0.94rem;
  line-height: 1.75;
  color: #33424f;
}

/* ---------- 15. 媒体容器（页面阶段放图） ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(53, 211, 192, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.media-frame > img,
.media-frame > picture > img,
.media-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--empty {
  background-image: repeating-linear-gradient(135deg, rgba(53, 211, 192, 0.1) 0 2px, transparent 2px 10px);
}
.media-frame__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 10px;
  background: rgba(11, 27, 43, 0.82);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  border-top: 1px solid rgba(53, 211, 192, 0.3);
}

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

/* ---------- 17. Reduced motion ---------- */
@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .status-dot { animation: none; }
}
