/* ============================================================
   E星赛场 · 共享站点样式 (/assets/site.css)
   夜间赛事控制台：深空蓝画布 / 电光青刻度 / 赛道橙状态
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: #061423;
  color: #EAF3F7;
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(46, 242, 208, 0.10) 0px,
    rgba(46, 242, 208, 0.10) 1px,
    transparent 1px,
    transparent 4px
  );
}

img, svg, picture { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

:root {
  --deep: #061423;
  --panel: #0B2239;
  --ink: #02080F;
  --cyan: #2EF2D0;
  --cyan-dim: #0B9E91;
  --orange: #FF6B2C;
  --yellow: #FFD166;
  --violet: #6D5EF6;
  --steel: #91A6BA;
  --mist: #EAF3F7;
  --wire: #1E3A5F;

  --page-x: clamp(20px, 5vw, 88px);
  --gap: 24px;
  --maxw: 1440px;

  --font-display: 'Barlow Condensed', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', 'Menlo', monospace;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif;

  --border-hard: 2px solid var(--wire);
  --shadow-hard: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 中文排版与标题 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--mist);
}

h1 { font-size: clamp(42px, 8vw, 120px); letter-spacing: -0.035em; line-height: 0.94; }
h2 { font-size: clamp(28px, 4.2vw, 56px); }
h3 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.14; }
h4 { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--mist); }

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

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

/* ---------- 基础工具 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.mono, .data { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.mono { font-size: 13px; letter-spacing: 0.06em; }

.serif-note {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--steel);
  max-width: 62ch;
}

.muted { color: var(--steel); }
.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }
.text-yellow { color: var(--yellow); }
.text-violet { color: var(--violet); }

.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;
}

.prose { max-width: 65ch; color: var(--steel); }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--mist); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.5em; }

/* ---------- 分区与网格 ---------- */
.section { padding-block: clamp(52px, 7vw, 116px); }
.section--panel { background: var(--panel); }
.section--ink { background: var(--ink); }
.section--tight { padding-block: clamp(32px, 4vw, 64px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  padding-bottom: 16px;
  margin-bottom: clamp(24px, 3vw, 44px);
  border-bottom: 2px solid var(--wire);
}
.section-title { max-width: 22ch; }
.section-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(24px, 3vw, 44px);
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: 1 / -1; }

.split-asym {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: var(--gap);
}

.stack > * + * { margin-top: 18px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  background: var(--panel);
  border: 2px solid var(--wire);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: box-shadow 0.24s var(--ease), border-color 0.24s var(--ease),
              background-color 0.24s var(--ease), color 0.24s var(--ease),
              transform 0.24s var(--ease);
}
.btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-1px, -1px);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

.btn--primary {
  background: var(--orange);
  border-color: var(--ink);
  color: #10171C;
}
.btn--primary:hover {
  background: var(--yellow);
  border-color: var(--ink);
  color: #10171C;
  box-shadow: 8px 8px 0 var(--ink);
}

.btn--cyan {
  background: var(--cyan);
  border-color: var(--ink);
  color: var(--deep);
}
.btn--cyan:hover {
  background: var(--mist);
  border-color: var(--ink);
  color: var(--deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: var(--cyan);
  color: var(--deep);
  border-color: var(--cyan);
}

/* ---------- 标签 / 状态点 / 筛选片 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  line-height: 1.5;
  white-space: nowrap;
}
.tag--round { color: var(--orange); }
.tag--period { color: var(--yellow); }
.tag--archive { color: var(--violet); }
.tag--live { color: var(--cyan); }
.tag--muted { color: var(--steel); }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.dot--live { background: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 242, 208, 0.16); }
.dot--warn { background: var(--yellow); }
.dot--archive { background: var(--violet); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--wire);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
              background-color 0.2s var(--ease);
}
.chip:hover { color: var(--mist); border-color: var(--cyan-dim); }
.chip[aria-pressed="true"],
.chip.is-active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(46, 242, 208, 0.08);
}

/* ---------- 资料卡 / 面板 ---------- */
.panel-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--panel);
  border: 2px solid var(--wire);
  box-shadow: 5px 5px 0 var(--ink);
  transition: box-shadow 0.26s var(--ease), border-color 0.26s var(--ease);
}
.panel-card:hover,
.panel-card:focus-within {
  border-color: var(--cyan);
  box-shadow: 9px 9px 0 var(--ink);
}

.data-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 12px 0;
  border-top: 1px solid var(--wire);
  border-bottom: 1px solid var(--wire);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.data-strip strong { color: var(--mist); font-weight: 700; }

/* ---------- 数据表 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--wire);
  background: var(--panel);
  box-shadow: 5px 5px 0 var(--ink);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  min-width: 560px;
}
.data-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 2px solid var(--wire);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(30, 58, 95, 0.7);
  color: var(--mist);
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(46, 242, 208, 0.06); }

/* ---------- 可展开摘要 ---------- */
.fold {
  border: 2px solid var(--wire);
  background: var(--panel);
}
.fold + .fold { margin-top: 12px; }
.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: "+";
  font-size: 17px;
  color: var(--cyan);
  line-height: 1;
}
.fold > summary:hover { color: var(--cyan); }
.fold[open] > summary {
  color: var(--cyan);
  border-bottom: 2px solid var(--wire);
}
.fold[open] > summary::after { content: "–"; }
.fold__body { padding: 16px 18px 20px; color: var(--steel); font-size: 15px; }

/* ---------- 图片容器（供页面阶段放置图像） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid var(--wire);
  background:
    linear-gradient(135deg, var(--panel) 0%, var(--ink) 100%);
  box-shadow: 6px 6px 0 var(--ink);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.media-frame--hero { aspect-ratio: 21 / 9; }
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--strip { aspect-ratio: 5 / 2; }

.media-frame__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--orange);
  color: #10171C;
}
.media-frame__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 80%;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--cyan);
}

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--cyan); }
.crumbs__sep { color: var(--wire); }
.crumbs [aria-current="page"] { color: var(--cyan); }

/* ============================================================
   页头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--deep);
  border-bottom: 2px solid var(--ink);
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 120;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--deep);
  background: var(--cyan);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; color: var(--deep); }

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 12px var(--page-x);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  color: var(--mist);
  text-decoration: none;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.brand-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--cyan);
  transition: background-color 0.24s var(--ease), transform 0.24s var(--ease);
}
.brand-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.brand:hover { color: var(--mist); }
.brand:hover .brand-mark::before { background: var(--orange); transform: translateY(-2px); }

.round-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 7px 12px;
  border: 1px solid var(--wire);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
  overflow: hidden;
}
.round-strip__label { color: var(--yellow); text-transform: uppercase; }
.round-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--wire);
  color: var(--mist);
  white-space: nowrap;
}
.round-strip__item--next { color: var(--cyan); }
.round-strip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.18);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
  background: var(--panel);
  border: 2px solid var(--wire);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover { color: var(--cyan); border-color: var(--cyan); }
.nav-toggle[aria-expanded="true"] { color: var(--orange); border-color: var(--orange); }
.nav-toggle__bars {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
  justify-self: end;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s 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.28s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--cyan); }
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--cyan); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  border: 2px solid var(--orange);
  white-space: nowrap;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease),
              box-shadow 0.24s var(--ease);
}
.nav-cta:hover {
  background: var(--orange);
  color: #10171C;
  box-shadow: 4px 4px 0 var(--ink);
}

.header-rail {
  height: 8px;
  border-top: 1px solid var(--wire);
  background-image: repeating-linear-gradient(
    90deg,
    var(--wire) 0 1px,
    transparent 1px 22px
  );
  opacity: 0.75;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--mist);
  border-top: 3px solid var(--cyan);
  overflow: hidden;
}
.footer-rail {
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 107, 44, 0.85) 0 2px,
    transparent 2px 18px
  );
  border-bottom: 2px solid var(--wire);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: clamp(26px, 3.4vw, 56px);
  padding-block: clamp(40px, 5.5vw, 76px);
}

.footer-brand { min-width: 0; }
.footer-mark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--mist);
}
.footer-mark__dot {
  width: 9px;
  height: 9px;
  background: var(--orange);
  display: inline-block;
}
.footer-summary {
  max-width: 32ch;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--steel);
}
.footer-mono {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-dim);
}

.footer-col { min-width: 0; }
.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.24s var(--ease);
}
.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 12px;
  height: 1px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
  padding-left: 20px;
}
.footer-link:hover::before,
.footer-link:focus-visible::before { opacity: 1; }

.footer-contact {
  font-style: normal;
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--steel);
}
.footer-contact__row { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact__key {
  flex: none;
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-dim);
  padding-top: 3px;
}
.footer-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--steel);
  opacity: 0.8;
  border-left: 2px solid var(--wire);
  padding-left: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--wire);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.footer-legal__link {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-legal__link:hover,
.footer-legal__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.footer-icp { margin: 0; color: var(--steel); }

/* ============================================================
   脚本生成的界面元素
   ============================================================ */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--yellow) 45%, var(--cyan) 100%);
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: var(--panel);
  border: 2px solid var(--cyan);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease),
              visibility 0.28s;
}
.to-top::before { content: "↑"; font-size: 13px; }
.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--cyan); color: var(--deep); }

html.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
html.reveal-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1279px) {
  .round-strip { display: none; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-toggle { display: inline-flex; justify-self: end; grid-column: 2; grid-row: 1; }
  .brand { grid-column: 1; grid-row: 1; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-self: stretch;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid var(--wire);
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li { width: 100%; }
  .nav-link {
    display: block;
    padding: 13px 2px;
    font-size: 15px;
    border-bottom: 1px solid var(--wire);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    color: var(--cyan);
    border-bottom-color: var(--cyan-dim);
  }
  .nav-cta { margin-top: 16px; padding: 13px 16px; }
}

@media (max-width: 1024px) {
  .split-asym { grid-template-columns: minmax(0, 1fr); }
  .col-3, .col-4, .col-5, .col-7, .col-8, .col-9 { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .col-6 { grid-column: 1 / -1; }
  .grid-12 { row-gap: 28px; }
  .section-head { align-items: flex-start; }
  .data-table { font-size: 12px; }
  .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .media-frame--hero, .media-frame--strip { aspect-ratio: 4 / 3; }
  .header-inner { padding-block: 10px; }
  .footer-legal { gap: 6px 14px; }
  .to-top { right: 14px; bottom: 14px; padding: 10px 13px; }
}

/* ============================================================
   动效降级
   ============================================================ */
@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;
  }
  .btn:hover, .panel-card:hover, .to-top[data-visible="true"] { transform: none; }
  html.reveal-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-meter { display: none; }
}
