/* =============================================================
   雷电竞数据台 — 全站共享样式 /assets/site.css
   深空黑 · 电弧青 · 柠檬黄 / 粗野主义仪表盘网格
   ============================================================= */

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

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

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, fieldset {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

[hidden] { display: none !important; }

/* ---------- 2. CSS 变量 ---------- */
:root {
  --void: #080B10;
  --panel: #111820;
  --line: #2B3A46;
  --fog: #F2F7FA;
  --cold: #9FB2BF;
  --arc: #2BE7FF;
  --arc-deep: #0B6F7E;
  --lemon: #F4E55C;
  --magenta: #FF3D8B;
  --mint: #4CE0A8;
  --risk: #B3264A;
  --risk-text: #FF7E9C;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.62);
  --shadow-soft: 3px 3px 0 rgba(0, 0, 0, 0.55);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1280px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 160ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--void);
  background-image:
    linear-gradient(rgba(43, 58, 70, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 58, 70, 0.30) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 56px);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
}

mark {
  background: var(--lemon);
  color: #1A1600;
  padding: 0 3px;
}

::selection {
  background: var(--arc);
  color: #04141A;
}

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

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

.muted { color: var(--cold); }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  display: inline-block;
  padding: 10px 18px;
  background: var(--arc);
  color: #04141A;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #04141A;
  box-shadow: var(--shadow-soft);
  transform: translateY(-240%);
  transition: transform var(--dur) var(--ease);
}

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

/* ---------- 5. 头部命令栏 ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 11, 16, 0.94);
  border-bottom: 2px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--maxw);
  min-height: 68px;
  margin: 0 auto;
  padding: 6px var(--gutter);
}

/* 品牌组 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  transition: opacity var(--dur) var(--ease);
}

.brand:hover { opacity: 0.86; }

.brand__mark {
  flex: 0 0 auto;
  width: 22px;
  height: 30px;
  background: var(--arc);
  clip-path: polygon(58% 0, 0 58%, 43% 58%, 30% 100%, 100% 38%, 54% 38%);
  filter: drop-shadow(0 0 6px rgba(43, 231, 255, 0.55));
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.10em;
  color: var(--fog);
}

.brand__sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.20em;
  color: var(--cold);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  order: 3;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 11px;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--arc-deep); }

.nav-toggle[aria-expanded="true"] {
  border-color: var(--arc);
  background: rgba(43, 231, 255, 0.08);
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fog);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  background: var(--arc);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
  background: var(--arc);
}

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cold);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__label { color: var(--arc); }

/* 主导航 */
.cmd-nav {
  margin-left: auto;
  min-width: 0;
}

.cmd-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.cmd-nav__item { display: flex; }

.cmd-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 2px solid transparent;
  border-radius: 1px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--cold);
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.cmd-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--arc-deep);
  transition: color var(--dur) var(--ease);
}

.cmd-nav__link:hover {
  color: var(--fog);
  background: var(--panel);
  border-color: var(--line);
}

.cmd-nav__link[aria-current="page"] {
  color: var(--arc);
  background: rgba(43, 231, 255, 0.08);
  border-color: var(--line);
}

.cmd-nav__link[aria-current="page"] .cmd-nav__index {
  color: var(--lemon);
}

.cmd-nav__link[aria-current="page"]::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--arc);
  box-shadow: 0 0 8px var(--arc);
}

/* 头部行动按钮 */
.masthead__cta {
  flex: 0 0 auto;
  margin-left: 2px;
  padding: 9px 16px;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

/* 滚动进度电弧 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.scroll-meter__fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--arc);
  box-shadow: 0 0 10px rgba(43, 231, 255, 0.9);
}

/* ---------- 6. 页脚铭牌 ---------- */
.footer {
  position: relative;
  margin-top: 72px;
  padding: 56px 0 28px;
  background: linear-gradient(180deg, var(--void) 0%, #05080C 70%, #04070A 100%);
  border-top: 2px solid var(--line);
  color: var(--cold);
}

.footer__bolt {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--arc) 10%,
    transparent 26%,
    var(--arc-deep) 52%,
    transparent 70%,
    var(--arc) 92%,
    transparent 100%);
  opacity: 0.6;
}

.footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.3fr;
  gap: 32px;
}

.footer__brand .brand__name {
  font-size: 22px;
}

.footer__tagline {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fog);
}

.footer__note {
  margin-top: 10px;
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--cold);
}

.footer__col {
  min-width: 0;
}

.footer__title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arc);
}

.footer__list {
  display: grid;
  gap: 10px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cold);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer__link::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--arc-deep);
  transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
}

.footer__link:hover {
  color: var(--arc);
  transform: translateX(3px);
}

.footer__link:hover::before {
  width: 12px;
  background: var(--arc);
}

.footer__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1.65;
}

.footer__key {
  flex: 0 0 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--arc-deep);
}

.footer__val {
  min-width: 0;
  color: var(--fog);
  word-break: break-word;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--cold);
}

/* ---------- 7. 版式容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 56px 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--fog);
}

.section__lede {
  max-width: 48ch;
  font-size: 15px;
  color: var(--cold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arc);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--arc);
  box-shadow: 0 0 8px rgba(43, 231, 255, 0.6);
}

.bolt-rule {
  display: block;
  height: 14px;
  margin: 40px 0;
  background-image: linear-gradient(135deg,
    transparent 44%,
    var(--arc-deep) 44%,
    var(--arc-deep) 56%,
    transparent 56%);
  background-size: 18px 14px;
  background-repeat: repeat-x;
  opacity: 0.75;
}

/* ---------- 8. Bento 与面板 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento__cell {
  grid-column: span 4;
  min-width: 0;
}

.bento__cell--sm { grid-column: span 3; }
.bento__cell--md { grid-column: span 6; }
.bento__cell--lg { grid-column: span 9; }
.bento__cell--full { grid-column: span 12; }

.panel {
  position: relative;
  height: 100%;
  padding: 20px;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  color: var(--fog);
}

.panel--focus {
  border-color: var(--arc);
  box-shadow:
    var(--shadow-hard),
    0 0 0 1px var(--arc),
    0 0 24px rgba(43, 231, 255, 0.16);
}

.panel__title {
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fog);
}

.panel__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--cold);
}

/* ---------- 9. 标签 / 数字锚点 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: var(--void);
  border: 2px solid var(--line);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--cold);
}

.tag--arc { border-color: var(--arc); color: var(--arc); }
.tag--lemon { border-color: var(--lemon); color: var(--lemon); }
.tag--magenta { border-color: var(--magenta); color: var(--magenta); }
.tag--mint { border-color: var(--mint); color: var(--mint); }
.tag--risk { border-color: var(--risk); color: var(--risk-text); }

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

.stat__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--lemon);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cold);
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 1px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--fog);
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  border-color: var(--arc);
  color: var(--arc);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}

.btn--arc {
  background: var(--arc);
  border-color: var(--arc);
  color: #04141A;
}

.btn--arc:hover {
  background: #7DF1FF;
  border-color: #7DF1FF;
  color: #04141A;
}

.btn--lemon {
  background: var(--lemon);
  border-color: var(--lemon);
  color: #1A1600;
}

.btn--lemon:hover {
  background: #FFF08A;
  border-color: #FFF08A;
  color: #1A1600;
}

.btn--ghost {
  background: transparent;
  color: var(--cold);
}

.btn--ghost:hover {
  background: rgba(43, 231, 255, 0.08);
  color: var(--arc);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cold);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__link {
  color: var(--cold);
  transition: color var(--dur) var(--ease);
}

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

.breadcrumbs__sep {
  color: var(--arc-deep);
}

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

/* ---------- 12. 筛选按钮 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cold);
  cursor: pointer;
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.filter-btn:hover {
  color: var(--fog);
  border-color: var(--arc-deep);
}

.filter-btn[aria-pressed="true"] {
  background: var(--lemon);
  border-color: var(--lemon);
  color: #1A1600;
}

/* ---------- 13. 折叠面板 ---------- */
.disclosure {
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
}

.disclosure + .disclosure { margin-top: 12px; }

.disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  color: var(--fog);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.disclosure__trigger:hover {
  color: var(--arc);
  background: rgba(43, 231, 255, 0.05);
}

.disclosure__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--arc);
  transition: transform var(--dur) var(--ease);
}

.disclosure__trigger[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(180deg);
}

.disclosure__panel {
  padding: 16px 18px 18px;
  border-top: 2px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--cold);
}

/* ---------- 14. 数据表 ---------- */
.data-table {
  width: 100%;
  background: var(--panel);
  border: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--void);
  border-bottom: 2px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--arc);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(43, 231, 255, 0.06);
}

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

/* ---------- 15. 媒体容器（页面阶段放置图片） ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.media-frame {
  position: relative;
  min-width: 0;
  padding: 10px;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
}

.media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background-color: var(--void);
  background-image:
    linear-gradient(135deg, rgba(43, 231, 255, 0.14) 0%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(43, 58, 70, 0.65) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(43, 58, 70, 0.65) 0 1px, transparent 1px 22px);
  color: var(--cold);
  font-family: var(--font-mono);
  font-size: 12px;
}

.media-frame--wide .media-frame__img {
  aspect-ratio: 21 / 9;
}

.media-frame__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--cold);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1100px) {
  .cmd-nav__link { padding: 9px 7px; font-size: 13px; }
  .bento__cell { grid-column: span 6; }
  .bento__cell--sm { grid-column: span 6; }
  .bento__cell--md { grid-column: span 6; }
  .bento__cell--lg { grid-column: span 12; }
}

@media (max-width: 900px) {
  .masthead__inner {
    gap: 12px;
    min-height: 62px;
  }

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

  .masthead__cta { display: none; }

  .cmd-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    margin-left: 0;
    padding: 10px var(--gutter) 18px;
    background: var(--void);
    border-bottom: 2px solid var(--line);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.55);
  }

  .cmd-nav[data-open] { display: block; }

  .cmd-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .cmd-nav__item { width: 100%; }

  .cmd-nav__link {
    width: 100%;
    padding: 15px 12px;
    border: 0;
    border-bottom: 2px solid var(--line);
    border-left: 2px solid transparent;
    border-radius: 0;
    font-size: 16px;
  }

  .cmd-nav__link:hover { border-left-color: var(--arc-deep); }

  .cmd-nav__link[aria-current="page"] {
    border-left-color: var(--arc);
    background: rgba(43, 231, 255, 0.08);
  }

  .cmd-nav__index { font-size: 11px; }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer__brand { grid-column: 1 / -1; }

  .section { padding: 40px 0; }

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

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

  .masthead__inner { min-height: 58px; padding: 6px var(--gutter); }

  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 9px; letter-spacing: 0.16em; }
  .brand__mark { width: 18px; height: 26px; }

  .bento { gap: 12px; }
  .bento__cell,
  .bento__cell--sm,
  .bento__cell--md,
  .bento__cell--lg { grid-column: span 12; }

  .panel { padding: 16px; }

  .footer {
    padding: 44px 0 24px;
    margin-top: 56px;
  }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }

  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section__head { flex-direction: column; align-items: flex-start; }

  .btn { width: 100%; }
  .masthead__cta.btn { width: auto; }
}

/* ---------- 17. 动效可访问性 ---------- */
@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,
  .footer__link:hover {
    transform: none;
  }
}
