/* ==========================================================================
   幻影体育 · 共享样式表 /assets/site.css
   深空黑基色 + 幻影紫结构色 + 荧光青数据色
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: #05060A;
  color: #E9ECF5;
  font-family: var(--font-sans);
  font-size: var(--fs-15);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(to right, rgba(42, 48, 70, .55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 48, 70, .55) 1px, transparent 1px);
  background-size: 110px 110px;
}

main {
  display: block;
  position: relative;
  z-index: 1;
}

:root {
  /* 色彩 */
  --ink: #05060A;
  --night: #0D101B;
  --panel: #161A2A;
  --grid: #2A3046;
  --purple: #6C3DFF;
  --purple-soft: #A98BFF;
  --cyan: #00F0C8;
  --blue: #2F8CFF;
  --red: #FF4D5E;
  --amber: #FFC24B;
  --text: #E9ECF5;
  --muted: #9BA3BC;
  --line: rgba(42, 48, 70, .75);
  --line-soft: rgba(42, 48, 70, .45);

  /* 八级字号阶梯 */
  --fs-11: 11px;
  --fs-13: 13px;
  --fs-15: 15px;
  --fs-18: 18px;
  --fs-24: 24px;
  --fs-34: 34px;
  --fs-52: 52px;
  --fs-76: 76px;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace;

  /* 栅格与节奏 */
  --wrap-max: 1280px;
  --pad-x: clamp(18px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --cut: 20px;
  --cut-lg: 32px;
}

/* ---------- 基础排版 ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .05em;
}

h1 { font-size: clamp(34px, 5.6vw, var(--fs-52)); }
h2 { font-size: clamp(24px, 3.4vw, var(--fs-34)); }
h3 { font-size: var(--fs-24); letter-spacing: .04em; }
h4 { font-size: var(--fs-18); font-weight: 800; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--purple-soft); text-decoration: none; }
a:hover { color: var(--text); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

address { font-style: normal; }

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

::selection { background: rgba(108, 61, 255, .45); color: #fff; }

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

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.muted { color: var(--muted); }
.cyan { color: var(--cyan); }
.amber { color: var(--amber); }
.red { color: var(--red); }

.timestamp {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-11);
  letter-spacing: .16em;
  color: var(--muted);
}

.display-1 {
  font-size: clamp(38px, 7.4vw, 76px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.05;
}

.display-2 {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1.08;
}

.lede {
  font-size: var(--fs-18);
  font-weight: 300;
  line-height: 1.8;
  color: #C8CEE0;
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .28em;
  color: var(--purple-soft);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--purple);
  flex: none;
}

.rule-h {
  height: 1px;
  border: 0;
  margin: 28px 0;
  background: linear-gradient(90deg, var(--purple), rgba(42, 48, 70, .2) 70%, transparent);
}

/* ---------- 布局 ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 44px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.start-2 { grid-column-start: 2; }
.start-3 { grid-column-start: 3; }
.start-4 { grid-column-start: 4; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--purple);
  color: #FFFFFF;
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: .14em;
  transition: top .25s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.skip-link:focus {
  top: 12px;
  color: #FFFFFF;
}

/* ---------- 顶部刊头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 6, 10, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grid);
}

.header-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .75;
  background-image: repeating-linear-gradient(115deg, rgba(108, 61, 255, .13) 0 1px, transparent 1px 62px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent);
}

.masthead {
  position: relative;
  z-index: 1;
  padding: 28px 0 18px;
  transition: padding .4s var(--ease);
}

.masthead-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { color: var(--text); }

.brand-mark {
  font-size: clamp(30px, 5.2vw, var(--fs-52));
  font-weight: 900;
  letter-spacing: .22em;
  line-height: 1.05;
  text-indent: .22em;
  color: var(--text);
  text-shadow: 0 0 28px rgba(108, 61, 255, .55);
  transition: font-size .4s var(--ease), letter-spacing .4s var(--ease);
}

.brand-rule {
  display: block;
  width: min(340px, 62vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple) 22%, var(--purple) 78%, transparent);
  transform-origin: 50% 50%;
  transition: transform .4s var(--ease), opacity .3s linear;
}

.brand-subline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-height: 24px;
  overflow: hidden;
  font-size: var(--fs-11);
  font-weight: 400;
  letter-spacing: .36em;
  text-indent: .36em;
  color: var(--muted);
  transition: max-height .4s var(--ease), opacity .3s linear;
}

.brand-subline::before,
.brand-subline::after {
  content: "·";
  color: var(--purple);
  font-size: var(--fs-13);
  letter-spacing: 0;
}

.update-capsule {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: var(--panel);
  border: 1px solid var(--grid);
  color: var(--muted);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-11);
  letter-spacing: .14em;
  white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color .25s linear, color .25s linear;
}

.update-capsule:hover {
  border-color: rgba(0, 240, 200, .55);
  color: var(--text);
}

.capsule-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: capsulePulse 2.4s ease-in-out infinite;
}

.capsule-label { color: var(--muted); }

.capsule-value {
  color: var(--cyan);
  font-weight: 600;
}

@keyframes capsulePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .42; transform: scale(.78); }
}

/* ---------- 栏目导航 ---------- */

.nav-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li { margin: 0; }

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 16px 2px 15px;
  color: var(--muted);
  font-size: var(--fs-13);
  font-weight: 400;
  letter-spacing: .2em;
  white-space: nowrap;
  transition: color .25s linear;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform .3s var(--ease);
}

.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--purple);
  box-shadow: 0 0 12px rgba(108, 61, 255, .9);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--grid);
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-13);
  letter-spacing: .2em;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--cyan);
}

.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { content: ""; position: absolute; top: -5px; }
.nav-toggle-bars::after { content: ""; position: absolute; top: 5px; }

.nav-bar[data-open] .nav-toggle {
  border-color: rgba(0, 240, 200, .55);
  color: var(--cyan);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--purple), var(--blue) 55%, var(--cyan));
  pointer-events: none;
}

/* 收缩态 */
.site-header[data-shrunk] .masthead { padding: 9px 0 7px; }

.site-header[data-shrunk] .brand-mark {
  font-size: var(--fs-24);
  letter-spacing: .3em;
  text-indent: .3em;
  text-shadow: 0 0 16px rgba(108, 61, 255, .5);
}

.site-header[data-shrunk] .brand-rule { transform: scaleX(.36); }

.site-header[data-shrunk] .brand-subline {
  max-height: 0;
  opacity: 0;
}

.site-header[data-shrunk] .update-capsule { padding: 6px 12px; }

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 90px);
  background: var(--night);
  border-top: 1px solid var(--grid);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(46%, 520px);
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue) 70%, transparent);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(108, 61, 255, .22), rgba(0, 240, 200, .07) 58%, transparent 92%);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 16px 0;
}

.trust-tag {
  flex: none;
  padding: 3px 10px;
  border: 1px solid rgba(0, 240, 200, .45);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .22em;
}

.trust-text {
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-11);
  letter-spacing: .1em;
  line-height: 2;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-top: clamp(34px, 4.5vw, 58px);
  padding-bottom: clamp(28px, 4vw, 46px);
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--muted);
}

.footer-title::before {
  content: "";
  width: 12px;
  height: 2px;
  flex: none;
  background: var(--purple);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li { margin: 0 0 9px; }

.footer-list a {
  color: #C8CEE0;
  font-size: var(--fs-13);
  font-weight: 300;
  letter-spacing: .08em;
  transition: color .2s linear;
}

.footer-list a:hover {
  color: var(--purple-soft);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.footer-line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 14px;
  max-width: none;
  font-size: var(--fs-13);
  color: var(--muted);
}

.footer-strong {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-13);
  letter-spacing: .04em;
  color: var(--text);
  word-break: break-word;
}

.footer-address {
  display: block;
  margin: 0 0 14px;
  font-size: var(--fs-13);
  line-height: 1.9;
  color: #C8CEE0;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 10px 18px;
  border: 1px solid var(--purple);
  color: var(--text);
  font-size: var(--fs-13);
  letter-spacing: .16em;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: background .25s linear, box-shadow .25s linear;
}

.footer-cta:hover {
  background: rgba(108, 61, 255, .22);
  color: #fff;
  box-shadow: 0 0 22px rgba(108, 61, 255, .45);
}

.footer-legal {
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 10, .6);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding: 18px 0 22px;
}

.footer-legal-note {
  margin: 0;
  max-width: 62ch;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .08em;
  line-height: 2;
  color: var(--muted);
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--purple);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-13);
  font-weight: 500;
  letter-spacing: .18em;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: background .25s linear, color .25s linear, border-color .25s linear, box-shadow .25s linear;
}

.btn--primary {
  background: var(--purple);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: #7C51FF;
  color: #FFFFFF;
  animation: outlinePulse 1.6s ease-in-out infinite;
}

.btn--line:hover {
  background: rgba(108, 61, 255, .16);
  color: #fff;
  animation: outlinePulse 1.6s ease-in-out infinite;
}

.btn--ghost {
  border-color: var(--grid);
  color: var(--muted);
}

.btn--ghost:hover {
  border-color: rgba(0, 240, 200, .55);
  color: var(--cyan);
  animation: outlinePulse 1.6s ease-in-out infinite;
}

@keyframes outlinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 61, 255, 0); }
  50% { box-shadow: 0 0 0 4px rgba(108, 61, 255, .22), 0 0 26px rgba(108, 61, 255, .34); }
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .18em;
  color: var(--muted);
  padding-top: 22px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li { margin: 0; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--grid);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--purple-soft); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 面板 / 卡片 / 标签 ---------- */

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--grid);
  padding: clamp(20px, 3vw, 34px);
}

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.card {
  position: relative;
  background: rgba(22, 26, 42, .86);
  border: 1px solid var(--grid);
  padding: 20px 22px 22px;
  transition: border-color .25s linear, transform .3s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 2px;
  background: var(--purple);
}

.card:hover { border-color: rgba(108, 61, 255, .6); }

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.card-body { font-size: var(--fs-15); color: #C8CEE0; }
.card-body p:last-child { margin-bottom: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--grid);
  background: rgba(13, 16, 27, .8);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .16em;
  line-height: 1.9;
  white-space: nowrap;
}

.tag--age { border-color: rgba(108, 61, 255, .6); color: var(--purple-soft); }
.tag--metric { border-color: rgba(47, 140, 255, .5); color: var(--blue); }
.tag--live { border-color: rgba(0, 240, 200, .5); color: var(--cyan); }
.tag--warn { border-color: rgba(255, 194, 75, .5); color: var(--amber); }
.tag--alert { border-color: rgba(255, 77, 94, .5); color: var(--red); }

/* ---------- 指标 ---------- */

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-left: 2px solid var(--purple);
  background: linear-gradient(90deg, rgba(22, 26, 42, .95), rgba(22, 26, 42, .35));
}

.stat-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, var(--fs-52));
  line-height: 1;
  color: var(--cyan);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .22em;
  color: var(--muted);
}

/* ---------- 标签页 ---------- */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  border-bottom: 1px solid var(--grid);
}

.tab {
  position: relative;
  appearance: none;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: var(--fs-13);
  letter-spacing: .18em;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  transition: color .22s linear, background .22s linear, border-color .22s linear;
}

.tab:hover { color: var(--text); }

.tab[aria-selected="true"] {
  background: var(--panel);
  border-color: var(--grid);
  color: var(--text);
  font-weight: 600;
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(108, 61, 255, .8);
}

.tabpanel { padding-top: clamp(18px, 2.4vw, 30px); }
.tabpanel[hidden] { display: none; }

/* ---------- 档案索引 ---------- */

.index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--grid);
}

.index-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px 20px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: background .22s linear, padding-left .22s var(--ease);
}

.index-item:hover {
  background: rgba(108, 61, 255, .1);
  padding-left: 14px;
  color: inherit;
}

.index-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-11);
  letter-spacing: .16em;
  color: var(--purple-soft);
}

.index-title {
  font-size: var(--fs-18);
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text);
}

.index-meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-11);
  letter-spacing: .14em;
  color: var(--muted);
}

/* ---------- 数据表 ---------- */

.table-wrap { width: 100%; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-13);
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .2em;
  color: var(--muted);
}

.data-table th {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--grid);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: #C8CEE0;
  vertical-align: top;
}

.data-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--cyan);
}

.data-table tbody tr:hover { background: rgba(108, 61, 255, .09); }

/* ---------- 图片容器基础规则 ---------- */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--night);
  border: 1px solid var(--grid);
}

.media img,
.media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(233, 236, 245, .07) 0 1px, transparent 1px 4px);
  opacity: .7;
}

.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--cinema { aspect-ratio: 21 / 9; }

.media--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
}

.media--empty {
  background-image:
    linear-gradient(135deg, rgba(108, 61, 255, .22), transparent 58%),
    repeating-linear-gradient(90deg, rgba(42, 48, 70, .9) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(42, 48, 70, .9) 0 1px, transparent 1px 44px);
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  letter-spacing: .14em;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 显现动效协议 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);
}

[data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .start-3 { grid-column-start: 1; }
  .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 12; }
  .span-3, .span-4 { grid-column: span 6; }
}

@media (max-width: 900px) {
  .masthead { padding: 22px 0 14px; }

  .masthead-inner {
    flex-direction: column;
    gap: 14px;
  }

  .update-capsule {
    position: static;
    transform: none;
  }

  .nav-inner {
    justify-content: flex-start;
    min-height: 56px;
  }

  .nav-toggle { display: inline-flex; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 12px;
    background: var(--night);
    border-bottom: 1px solid var(--grid);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
  }

  .nav-bar[data-open] .nav-list { display: flex; }

  .nav-list a {
    display: block;
    padding: 15px var(--pad-x);
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--fs-15);
    letter-spacing: .18em;
  }

  .nav-list a::after {
    left: var(--pad-x);
    right: auto;
    width: 26px;
    bottom: 10px;
  }

  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

  .site-header[data-shrunk] .brand-mark { font-size: var(--fs-18); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .footer-legal-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  body { font-size: var(--fs-15); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .span-3, .span-4 { grid-column: span 12; }

  .section { padding-block: 46px; }

  .index-item {
    grid-template-columns: auto 1fr;
    row-gap: 4px;
  }

  .index-meta { grid-column: 2; }

  .data-table th, .data-table td { padding: 10px; }

  .trust-inner { padding: 14px 0; }

  .update-capsule { font-size: var(--fs-11); padding: 7px 12px; }
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .capsule-dot { box-shadow: none; }
}
