/* ============================================================
   爱游戏赛场 · /assets/site.css
   夜场转播台 × 数据仪表：共享外壳与通用组件
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 色板 */
  --ink: #05100E;
  --stand: #0A1E1B;
  --line: #16342D;
  --cyan: #2BF0C8;
  --ice: #A8FFE9;
  --orange: #FF7A2F;
  --yellow: #FFE066;
  --violet: #8B6BFF;
  --paper: #F3F8F5;
  --mist: #8FA8A1;
  --text: #DCEFE9;

  /* 字体 */
  --font-display: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* 尺寸与节奏 */
  --header-h: 76px;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --read: 720px;
  --gap: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.45);
  --shadow-press: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 16% -12%, rgba(43, 240, 200, 0.10), transparent 54%),
    radial-gradient(circle at 86% 4%, rgba(139, 107, 255, 0.10), transparent 48%),
    linear-gradient(rgba(22, 52, 45, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 52, 45, 0.34) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  background-attachment: fixed, fixed, scroll, scroll;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
body.st-no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
p { text-wrap: pretty; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
::selection { background: var(--cyan); color: var(--ink); }

/* ---------- 4. Skip link ---------- */
.st-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
  transform: translateY(-220%);
  transition: transform 0.12s var(--ease);
}
.st-skip:focus, .st-skip:focus-visible { transform: none; }

/* ---------- 5. Layout ---------- */
.st-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.st-main { display: block; }
.st-main--offset { padding-top: calc(var(--header-h) + clamp(20px, 4vw, 44px)); }

.st-section { padding-block: clamp(40px, 6vw, 76px); }
.st-section__head { max-width: 62ch; margin-bottom: clamp(20px, 3vw, 32px); }

.st-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.st-span-3 { grid-column: span 3; }
.st-span-4 { grid-column: span 4; }
.st-span-6 { grid-column: span 6; }
.st-span-8 { grid-column: span 8; }
.st-span-12 { grid-column: span 12; }

/* ---------- 6. 排印组件 ---------- */
.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.st-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
  flex: 0 0 auto;
}
.st-h2 {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}
.st-h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.st-lede {
  margin-top: 12px;
  max-width: 60ch;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text);
}

/* ---------- 7. 按钮 ---------- */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s var(--ease), color 0.12s var(--ease),
              border-color 0.12s var(--ease), transform 0.12s var(--ease),
              box-shadow 0.12s var(--ease);
}
.st-btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A00;
  box-shadow: 4px 4px 0 rgba(43, 240, 200, 0.32);
}
.st-btn--primary:hover,
.st-btn--primary:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(43, 240, 200, 0.42);
}
.st-btn--ghost {
  background: transparent;
  border-color: var(--cyan);
  color: var(--ice);
}
.st-btn--ghost:hover,
.st-btn--ghost:focus-visible {
  background: rgba(43, 240, 200, 0.14);
  color: #FFFFFF;
}
.st-btn[disabled], .st-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ---------- 8. 页头 ---------- */
.st-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: linear-gradient(180deg,
              rgba(5, 16, 14, 0.95) 0%,
              rgba(5, 16, 14, 0.74) 58%,
              rgba(5, 16, 14, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.st-header.is-stuck {
  background: rgba(5, 16, 14, 0.98);
  border-bottom-color: var(--cyan);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.42);
}
.st-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: var(--header-h);
  padding-block: 12px;
}
.st-header__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 5px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
              var(--cyan) 0 2px, transparent 2px 14px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.st-header.is-stuck .st-header__rule { opacity: 0.9; }

/* 品牌 */
.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: #FFFFFF;
}
.st-brand__mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  width: 32px;
  height: 32px;
  padding: 5px;
  border: 2px solid var(--cyan);
  box-shadow: 3px 3px 0 rgba(43, 240, 200, 0.3);
  background: rgba(43, 240, 200, 0.06);
}
.st-brand__mark i { display: block; width: 100%; background: var(--cyan); }
.st-brand__mark i:nth-child(1) { height: 42%; }
.st-brand__mark i:nth-child(2) { height: 68%; }
.st-brand__mark i:nth-child(3) { height: 100%; background: var(--orange); }
.st-brand__text { display: flex; flex-direction: column; gap: 1px; }
.st-brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #FFFFFF;
}
.st-brand__desc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--cyan);
}
.st-brand:hover .st-brand__name { color: var(--ice); }

/* 导航 */
.st-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.st-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.st-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 11px;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.12s var(--ease), background-color 0.12s var(--ease),
              border-color 0.12s var(--ease);
}
.st-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mist);
}
.st-nav__link:hover {
  color: var(--cyan);
  background: rgba(43, 240, 200, 0.09);
  border-bottom-color: var(--cyan);
}
.st-nav__link[aria-current="page"] {
  background: var(--cyan);
  color: var(--ink);
  border-bottom-color: var(--yellow);
}
.st-nav__link[aria-current="page"] .st-nav__idx { color: rgba(5, 16, 14, 0.62); }

.st-nav__foot { display: none; }
.st-nav__cta { width: 100%; }

/* 右侧工具区 */
.st-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}
.st-header__cta { flex: 0 0 auto; }

/* 汉堡 */
.st-burger {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 2px solid var(--cyan);
  background: rgba(43, 240, 200, 0.08);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.12s var(--ease), color 0.12s var(--ease);
}
.st-burger:hover { background: rgba(43, 240, 200, 0.18); color: #FFFFFF; }
.st-burger__box { display: grid; gap: 4px; width: 18px; }
.st-burger__box span {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.st-burger[aria-expanded="true"] .st-burger__box span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}
.st-burger[aria-expanded="true"] .st-burger__box span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- 9. 页脚 ---------- */
.st-footer {
  position: relative;
  background: var(--ink);
  border-top: 2px solid var(--line);
  color: var(--text);
}
.st-footer__beam {
  height: 8px;
  background: repeating-linear-gradient(90deg,
              var(--cyan) 0 26px,
              transparent 26px 52px,
              var(--orange) 52px 78px,
              transparent 78px 104px);
  opacity: 0.85;
}
.st-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(36px, 5vw, 60px) clamp(24px, 3vw, 40px);
}
.st-footer__intro { max-width: 40ch; }
.st-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.st-footer__logo-mark {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 5px 5px 0 -1px var(--orange);
}
.st-footer__tagline {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.st-footer__ver {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.st-footer__col { min-width: 0; }
.st-footer__title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--mist);
  text-transform: uppercase;
}
.st-footer__list { display: flex; flex-direction: column; }
.st-footer__link {
  display: inline-block;
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.12s var(--ease), border-color 0.12s var(--ease),
              padding-left 0.12s var(--ease);
}
.st-footer__link:hover,
.st-footer__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  padding-left: 4px;
}

.st-footer__contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.st-footer__cell {
  padding-left: 14px;
  border-left: 2px solid var(--line);
  min-width: 0;
}
.st-footer__label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange);
}
.st-footer__value {
  display: block;
  color: var(--ice);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}
.st-footer__note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.st-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px clamp(28px, 4vw, 44px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}
.st-footer__copy { color: var(--mist); }
.st-footer__legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.st-footer__legal-links a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 240, 200, 0.4);
  padding-bottom: 1px;
}
.st-footer__legal-links a:hover,
.st-footer__legal-links a:focus-visible {
  border-bottom-color: var(--yellow);
  color: var(--yellow);
}

/* ---------- 10. 面包屑 / 正文 ---------- */
.st-breadcrumb { padding-top: clamp(20px, 3vw, 32px); }
.st-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.st-breadcrumb__list li { display: flex; align-items: center; gap: 8px; }
.st-breadcrumb__list li + li::before { content: "/"; color: var(--line); }
.st-breadcrumb__list a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.st-breadcrumb__list a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.st-breadcrumb__list [aria-current="page"] { color: var(--cyan); }

.st-prose { max-width: var(--read); }
.st-prose > * + * { margin-top: 16px; }
.st-prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 40px; }
.st-prose h3 { font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; margin-top: 28px; }
.st-prose p { color: var(--text); }
.st-prose ul, .st-prose ol { padding-left: 1.3em; list-style: disc; }
.st-prose ol { list-style: decimal; }
.st-prose li + li { margin-top: 6px; }
.st-prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.st-prose strong { color: #FFFFFF; font-weight: 700; }
.st-prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  background: rgba(43, 240, 200, 0.1);
  color: var(--ice);
}
.st-prose blockquote {
  padding: 12px 18px;
  border-left: 3px solid var(--cyan);
  background: rgba(43, 240, 200, 0.06);
  color: var(--ice);
}

.st-paper {
  background: var(--paper);
  color: #0C1F1B;
  border: 2px solid var(--line);
  padding: clamp(20px, 4vw, 44px);
}
.st-paper h1, .st-paper h2, .st-paper h3, .st-paper h4 { color: #05100E; }
.st-paper p, .st-paper li { color: #17332C; }
.st-paper strong { color: #05100E; }
.st-paper a { color: #0B6B58; text-decoration: underline; text-underline-offset: 3px; }
.st-paper code { background: rgba(5, 16, 14, 0.08); color: #05100E; }

/* ---------- 11. 框景 / 面板 ---------- */
.st-frame {
  position: relative;
  border: 2px solid var(--cyan);
  background: var(--ink);
  padding: clamp(18px, 3vw, 34px);
}
.st-frame::before,
.st-frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--yellow);
  pointer-events: none;
}
.st-frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.st-frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.st-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--stand);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  transition: border-color 0.12s var(--ease), transform 0.12s var(--ease),
              box-shadow 0.12s var(--ease);
}
.st-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(225deg, var(--line) 50%, transparent 50%);
  pointer-events: none;
}
.st-panel:hover {
  border-color: var(--cyan);
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-press);
}
.st-panel--focus { border-color: var(--cyan); background: #0C2621; }
.st-panel--focus::before { background: linear-gradient(225deg, var(--cyan) 50%, transparent 50%); }

/* ---------- 12. 媒体容器（图片占位） ---------- */
.st-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line);
  background-color: var(--stand);
  background-image:
    linear-gradient(135deg, rgba(43, 240, 200, 0.14) 0%, rgba(5, 16, 14, 0) 46%),
    repeating-linear-gradient(135deg, rgba(139, 107, 255, 0.16) 0 2px, transparent 2px 16px),
    radial-gradient(circle at 78% 22%, rgba(255, 122, 47, 0.22), transparent 52%);
}
.st-media img,
.st-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-media--wide { aspect-ratio: 21 / 9; }
.st-media--square { aspect-ratio: 1 / 1; }
.st-media--tall { aspect-ratio: 4 / 5; }
.st-media__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(5, 16, 14, 0.82);
  border-top: 2px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ice);
}

/* ---------- 13. 转播字幕条 / 数据 ---------- */
.st-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 12px 18px;
  background: var(--stand);
  border: 2px solid var(--line);
  border-left: 6px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ice);
}
.st-ticker__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 240, 200, 0.18);
  animation: st-pulse 2s var(--ease) infinite;
}
@keyframes st-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.76); }
}

.st-stat { display: flex; flex-direction: column; gap: 6px; }
.st-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--yellow);
}
.st-stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.st-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--cyan);
  background: rgba(43, 240, 200, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.st-tag--orange {
  border-color: var(--orange);
  background: rgba(255, 122, 47, 0.12);
  color: var(--orange);
}
.st-tag--violet {
  border-color: var(--violet);
  background: rgba(139, 107, 255, 0.14);
  color: #C4B4FF;
}

/* ---------- 14. 账簿行 ---------- */
.st-ledger { border-top: 2px solid var(--line); }
.st-ledger__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.12s var(--ease), color 0.12s var(--ease),
              border-color 0.12s var(--ease);
}
a.st-ledger__row:hover,
a.st-ledger__row:focus-visible {
  background: rgba(43, 240, 200, 0.08);
  border-bottom-color: var(--cyan);
  color: #FFFFFF;
}
.st-ledger__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}
.st-ledger__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
}

/* ---------- 15. 分段切换 ---------- */
.st-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 4px;
  border: 2px solid var(--line);
  background: var(--ink);
}
.st-seg__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.12s var(--ease), color 0.12s var(--ease);
}
.st-seg__btn:hover:not([aria-selected="true"]) {
  background: rgba(43, 240, 200, 0.12);
  color: var(--cyan);
}
.st-seg__btn[aria-selected="true"] {
  background: var(--cyan);
  color: var(--ink);
}
.st-seg-panel { margin-top: 20px; }

/* ---------- 16. 进入显现 ---------- */
.st-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.st-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1180px) {
  .st-nav__idx { display: none; }
  .st-nav__link { padding: 9px 9px; font-size: 14px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }

  .st-burger { display: inline-flex; }
  .st-header__cta { display: none; }

  .st-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 130;
    width: min(360px, 88vw);
    margin: 0;
    padding: calc(var(--header-h) + 18px) 22px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--stand);
    border-left: 2px solid var(--cyan);
    box-shadow: -8px 0 0 rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }
  .st-nav[data-open] {
    transform: none;
    visibility: visible;
  }
  .st-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .st-nav__link {
    width: 100%;
    padding: 15px 12px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    border-bottom-width: 1px;
  }
  .st-nav__link[aria-current="page"] {
    border-left-color: var(--yellow);
    border-bottom-color: var(--line);
  }
  .st-nav__idx { display: inline; font-size: 11px; color: var(--mist); }
  .st-nav__link[aria-current="page"] .st-nav__idx { color: rgba(5, 16, 14, 0.62); }
  .st-nav__foot { display: block; margin-top: 24px; }
  .st-nav__cta { padding-block: 14px; }

  .st-grid { gap: 18px; }
  .st-span-3, .st-span-4, .st-span-6, .st-span-8 { grid-column: span 12; }

  .st-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .st-footer__intro { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 720px) {
  .st-brand__desc { display: none; }
  .st-brand__name { font-size: 16px; }
  .st-brand__mark { width: 28px; height: 28px; }

  .st-footer__contact { grid-template-columns: 1fr; gap: 16px; }
  .st-footer__legal { justify-content: flex-start; }
  .st-ledger__row {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 4px;
    padding: 14px 8px;
  }
  .st-ledger__meta { grid-column: 2; }
  .st-seg { display: flex; width: 100%; }
  .st-seg__btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .st-footer__top { grid-template-columns: 1fr; }
  .st-header__inner { gap: 10px; }
}

/* ---------- 18. 无障碍：减少动态 ---------- */
@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;
  }
  .st-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .st-ticker__dot { animation: none; }
}
