/* =========================================================
   /assets/site.css — 共享外壳与基础组件
   夜间赛场指挥台 / 框架式导航 / 玻璃层 x 实色层
   ========================================================= */

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

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

body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, dt { margin: 0; }

ul[class], ol[class], ul, ol { padding: 0; }

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

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

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-deep: #07130F;
  --ink: #0C211A;
  --glass: #12352A;
  --cyan: #3BF2D0;
  --cyan-soft: #9CF7E6;
  --orange: #FF7A1A;
  --orange-deep: #C94F00;
  --paper: #F2F7F4;
  --muted: #A8BBB3;
  --line: #2A4A3F;

  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --top-h: 64px;
  --rail-w: 104px;
  --maxw: 1240px;
  --pad-x: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 2px;
}

@media (min-width: 768px) {
  :root { --top-h: 72px; }
}

/* ---------- 3. 基础排版与页面底色 ---------- */
body {
  min-height: 100vh;
  margin: 0;
  padding-top: var(--top-h);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(1100px 640px at 88% -12%, rgba(59, 242, 208, .10), transparent 62%),
    radial-gradient(880px 560px at -6% 104%, rgba(255, 122, 26, .08), transparent 58%),
    linear-gradient(180deg, #07130F 0%, #0C211A 46%, #07130F 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--paper);
}

p { line-height: 1.75; }

::selection {
  background: var(--cyan);
  color: #04231C;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 5. Header 外壳 ---------- */
.site-header {
  position: relative;
  z-index: 80;
}

/* 移动端遮罩 */
.site-header::after {
  content: "";
  position: fixed;
  inset: var(--top-h) 0 0 0;
  background: rgba(4, 10, 8, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 60;
}

.site-header[data-open="true"]::after { opacity: 1; }

@media (min-width: 1024px) {
  .site-header::after { display: none; }
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--cyan);
  color: #04231C;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .22s var(--ease);
}

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

/* 顶部细线栏 */
.frame-top {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  padding: 0 var(--pad-x);
  background: linear-gradient(180deg, rgba(7, 19, 15, .97), rgba(7, 19, 15, .86));
  border-bottom: 1px solid var(--line);
  z-index: 75;
}

.frame-top::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(59, 242, 208, .25) 38%, var(--orange) 100%);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark {
  display: inline-block;
  padding: 7px 9px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--cyan);
  border: 1px solid rgba(59, 242, 208, .55);
  background: rgba(59, 242, 208, .10);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: background .25s var(--ease), color .25s var(--ease);
}

.brand:hover .brand__mark {
  background: var(--cyan);
  color: #04231C;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--paper);
  white-space: nowrap;
}

.brand__desc {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 399px) {
  .brand__desc { display: none; }
  .brand__name { font-size: 15px; }
}

/* 工具短句 */
.frame-top__utility {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.frame-top__utility span {
  color: var(--line);
}

/* 行动区 */
.frame-actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* 菜单按钮 */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 9px 11px;
  background: rgba(18, 53, 42, .55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(59, 242, 208, .5);
  color: var(--cyan);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
}

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

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

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
}

.site-header[data-open="true"] .nav-toggle {
  border-color: rgba(255, 122, 26, .6);
  color: var(--orange);
}

.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }

.site-header[data-open="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--orange);
}

.site-header[data-open="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--orange);
}

@media (min-width: 768px) {
  .frame-actions { display: flex; }
  .nav-toggle { margin-left: 8px; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

@media (min-width: 1200px) {
  .frame-top__utility { display: flex; }
  .frame-actions { margin-left: 0; }
}

/* 框架式导航 */
.rail-nav {
  position: fixed;
  top: var(--top-h);
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  padding: 22px 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(12, 33, 26, .98), rgba(7, 19, 15, .99));
  border-right: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .38s var(--ease), visibility .38s var(--ease);
  z-index: 70;
}

.site-header[data-open="true"] .rail-nav {
  transform: translateX(0);
  visibility: visible;
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
}

.rail-list__item { display: block; }

.rail-link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  padding: 15px 20px;
  border-left: 3px solid transparent;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.rail-link__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--line);
  transition: color .25s var(--ease);
}

.rail-link__label { display: inline-block; }

.rail-link:hover {
  color: var(--paper);
  background: rgba(59, 242, 208, .07);
}

.rail-link:hover .rail-link__idx { color: var(--cyan); }

.rail-link[aria-current="page"] {
  color: var(--paper);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(59, 242, 208, .16), transparent 88%);
}

.rail-link[aria-current="page"] .rail-link__idx { color: var(--orange); }

@media (min-width: 1024px) {
  .rail-nav {
    width: var(--rail-w);
    padding: 26px 0;
    justify-content: center;
    transform: none;
    visibility: visible;
    box-shadow: none;
    transition: none;
  }

  .rail-nav::after {
    content: "INDEX / 目录";
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--line);
  }

  .rail-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 14px 12px 18px;
    border-left-width: 2px;
    font-size: 13px;
    letter-spacing: .06em;
  }

  .rail-link__idx { font-size: 10px; }
}

/* 右侧边缘进度尺 */
.frame-edge {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  display: none;
  background: linear-gradient(180deg, rgba(59, 242, 208, .12), rgba(42, 74, 63, .55));
  pointer-events: none;
  z-index: 55;
}

.frame-edge__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
}

@media (min-width: 768px) {
  .frame-edge { display: block; }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}

.btn--primary {
  --btn-bg: var(--orange);
  --btn-fg: #180A02;
  --btn-bd: var(--orange);
  font-weight: 600;
}

.btn--primary:hover {
  --btn-bg: var(--orange-deep);
  --btn-bd: var(--orange-deep);
  --btn-fg: var(--paper);
}

.btn--ghost {
  --btn-bg: rgba(59, 242, 208, .07);
  --btn-fg: var(--cyan-soft);
  --btn-bd: rgba(59, 242, 208, .38);
}

.btn--ghost:hover {
  --btn-bg: rgba(59, 242, 208, .16);
  --btn-fg: var(--cyan);
  --btn-bd: var(--cyan);
}

.btn--quiet {
  --btn-bg: transparent;
  --btn-fg: var(--muted);
  --btn-bd: var(--line);
}

.btn--quiet:hover {
  --btn-fg: var(--paper);
  --btn-bd: rgba(59, 242, 208, .45);
}

.btn:active { transform: translateY(1px); }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background: linear-gradient(180deg, rgba(7, 19, 15, .35), var(--ink-deep) 42%);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(260px, 42%);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.footer-band {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 4vw, 34px) var(--pad-x);
  border-bottom: 1px solid var(--line);
  background-color: rgba(12, 33, 26, .5);
  background-image:
    linear-gradient(115deg, rgba(59, 242, 208, .09), transparent 58%),
    repeating-linear-gradient(90deg, rgba(42, 74, 63, .38) 0 1px, transparent 1px 72px);
}

.footer-band__brand {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--paper);
  line-height: 1.25;
}

.footer-band__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.footer-band__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 5vw, 52px) var(--pad-x);
}

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1.45fr 1fr; }
  .footer-col--contact { grid-column: auto; }
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--cyan);
}

.footer-col__note {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 26em;
}

.footer-nav,
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
}

.footer-nav__link,
.legal-list__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .22s var(--ease), transform .22s var(--ease);
}

.footer-nav__link::before,
.legal-list__link::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--line);
  transition: width .25s var(--ease), background .25s var(--ease);
}

.footer-nav__link:hover,
.legal-list__link:hover {
  color: var(--paper);
  transform: translateX(3px);
}

.footer-nav__link:hover::before,
.legal-list__link:hover::before {
  width: 22px;
  background: var(--cyan);
}

.legal-list__link { font-size: 13px; }

.contact-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
}

.contact-list__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(42, 74, 63, .8);
  font-size: 13px;
}

.contact-list__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
}

.contact-list__val {
  color: var(--paper);
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.copy-btn {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.copy-btn:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04231C;
}

.copy-status {
  margin-top: 10px;
  min-height: 1.5em;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px var(--pad-x);
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 8, .55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.footer-base__icp { color: var(--muted); }
.footer-base__copy { color: var(--muted); }

/* ---------- 8. 页面容器与栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.page-main {
  display: block;
  padding-block: clamp(26px, 4.5vw, 56px) 0;
}

.page-main:focus { outline: none; }

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, clamp(16px, 2.5vw, 28px));
}

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  grid-template-columns: 1fr;
}

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

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

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

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(20px, 4vw, 36px);
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ---------- 9. 文本组件 ---------- */
.display-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 400;
  line-height: 1.85;
  color: var(--cyan-soft);
  max-width: 34em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: -0.01em;
  color: var(--paper);
}

.prose {
  max-width: 38em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted);
}

.prose > * + * { margin-top: 1em; }

.prose h2,
.prose h3 {
  color: var(--paper);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.prose h2 { font-size: clamp(20px, 2.6vw, 26px); }
.prose h3 { font-size: clamp(17px, 2.2vw, 20px); }

.prose strong { color: var(--paper); font-weight: 600; }

.prose ul,
.prose ol {
  padding-left: 1.35em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .4em; }

.prose li::marker { color: var(--cyan); }

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 242, 208, .4);
}

.prose a:hover { border-bottom-color: var(--cyan); }

.note {
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 32em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform .25s var(--ease);
}

.link-arrow:hover::after { transform: translateX(4px); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
}

.tag--live {
  color: var(--orange);
  border-color: rgba(255, 122, 26, .55);
  background: rgba(255, 122, 26, .08);
}

/* ---------- 10. 卡片与数据组件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}

.card--glass {
  background: linear-gradient(160deg, rgba(18, 53, 42, .74), rgba(12, 33, 26, .5));
  border-color: rgba(59, 242, 208, .18);
}

.card--glass:hover { border-color: rgba(59, 242, 208, .38); }

.card--solid { background: var(--glass); }

.card--slant {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.data-strip__item {
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(18, 53, 42, .85), rgba(7, 19, 15, .92));
  transition: background .25s var(--ease);
}

.data-strip__item:hover {
  background: linear-gradient(180deg, rgba(59, 242, 208, .16), rgba(7, 19, 15, .92));
}

.data-strip__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

.data-strip__value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cyan);
}

.data-strip__item--accent .data-strip__value { color: var(--orange); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--paper);
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 53, 42, .5);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.chip:hover {
  color: var(--paper);
  border-color: rgba(59, 242, 208, .5);
}

.chip--active,
.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04231C;
  font-weight: 600;
}

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(18, 53, 42, .95), rgba(7, 19, 15, .95));
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(7, 19, 15, .74));
}

.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid rgba(59, 242, 208, .42);
  background: rgba(7, 19, 15, .74);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

.breadcrumbs__link {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.breadcrumbs__link:hover { color: var(--cyan); }

.breadcrumbs__sep { color: var(--line); }

.breadcrumbs__current { color: var(--paper); }

/* ---------- 13. 滚动显现（渐进增强） ---------- */
[data-reveal] {
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 14. 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .rail-nav { transition: none; }
}
