/* =========================================================
   /assets/site.css — 利来体育赛事 共享样式
   夜间赛场 × 数据脉冲：墨蓝铺底 / 荧光青索引 / 电光橙状态
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #33456F #060B18;
}

body {
  margin: 0;
  padding-top: var(--hdr-h);
  background: var(--ink-900);
  color: var(--white-050);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--hdr-h) + 20px); }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #060B18;
  --ink-800: #0D1630;
  --ink-700: #1B2A52;
  --line-600: #33456F;
  --cyan-400: #2DF2D6;
  --cyan-700: #0F6E67;
  --orange-500: #FF6B1F;
  --steel-300: #A9B6CC;
  --white-050: #F4F8FF;
  --violet-400: #6B7AA8;

  --hdr-h: 56px;
  --cmd-h: 64px;
  --wrap-w: 1240px;
  --gut: 20px;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 900px) {
  :root { --gut: 16px; }
}

/* ---------- 3. 排版基元 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-w);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.h0, .h1, .h2, .h3 { font-family: var(--font-display); color: var(--white-050); }

.h0 { font-size: clamp(38px, 7vw, 88px); font-weight: 900; line-height: 0.98; letter-spacing: -0.02em; }
.h1 { font-size: clamp(30px, 4.4vw, 64px); font-weight: 900; line-height: 1; }
.h2 { font-size: clamp(25px, 3vw, 40px); font-weight: 800; line-height: 1.1; }
.h3 { font-size: clamp(19px, 1.9vw, 28px); font-weight: 800; line-height: 1.25; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.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(--cyan-400);
}

.sec-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.prose { max-width: 68ch; font-size: 17px; line-height: 1.75; color: var(--steel-300); }
.prose p + p { margin-top: 1.05em; }
.prose strong { color: var(--white-050); font-weight: 700; }
.prose .num { color: var(--white-050); font-size: 0.94em; }
.prose a { color: var(--cyan-400); border-bottom: 1px solid rgba(45, 242, 214, 0.45); }
.prose a:hover { border-bottom-color: var(--cyan-400); }
.prose h2, .prose h3 { margin-top: 1.6em; margin-bottom: 0.55em; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--ink-900);
}
.btn-primary:hover { background: var(--white-050); border-color: var(--white-050); }

.btn-outline {
  background: transparent;
  border-color: var(--orange-500);
  color: var(--orange-500);
}
.btn-outline:hover { background: rgba(255, 107, 31, 0.14); }

.btn-ghost {
  background: rgba(51, 69, 111, 0.35);
  border-color: var(--line-600);
  color: var(--white-050);
}
.btn-ghost:hover { background: rgba(51, 69, 111, 0.62); }

.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- 5. 头部：紧凑命令栏 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.25s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan-400) 22%, var(--line-600) 58%, transparent 100%);
  opacity: 0.28;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled { background: var(--ink-900); }
.site-header.is-scrolled::after { opacity: 1; }

.scroll-rail {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500));
  transition: width 0.12s linear;
}

.hdr-inner {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1.5px solid var(--cyan-400);
  border-radius: 6px;
  transform: rotate(-12deg);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 2px;
  background: var(--cyan-400);
  transform: skewX(-14deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
}

.brand-name { font-size: 19px; white-space: nowrap; }

/* 栏目索引 */
.nav { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-width: 0; }
.nav-label { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--steel-300);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover { color: var(--white-050); background: rgba(51, 69, 111, 0.35); }

.nav-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--violet-400);
  transition: color 0.18s var(--ease);
}
.nav-link:hover .nav-idx { color: var(--cyan-400); }

.nav-link[aria-current="page"] { color: var(--cyan-400); }
.nav-link[aria-current="page"] .nav-idx { color: var(--cyan-400); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-400);
}

.hdr-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-600);
  border-radius: var(--r-pill);
  background: rgba(51, 69, 111, 0.35);
  color: var(--white-050);
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}
.nav-toggle:hover { background: rgba(51, 69, 111, 0.6); }

.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bars i:nth-child(2) { width: 68%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 跳转链接 */
.skip-link {
  position: absolute;
  left: 12px;
  top: -68px;
  z-index: 130;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--cyan-400);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; }

/* 移动端底部命令条（桌面隐藏） */
.cmdbar { display: none; }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--ink-800);
  border-top: 1px solid var(--line-600);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(100deg, var(--cyan-400) 0%, var(--cyan-700) 26%, transparent 62%);
  opacity: 0.75;
  pointer-events: none;
}

.ftr-inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(36px, 4.6vw, 64px);
}

.ftr-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ftr-brand .brand-name { font-size: 21px; }

.ftr-tagline {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--steel-300);
  max-width: 30ch;
}

.ftr-stamp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--violet-400);
}

.ftr-grid { display: grid; gap: clamp(22px, 2.6vw, 36px); grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ftr-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan-400);
}

.ftr-list { display: flex; flex-direction: column; gap: 9px; }

.ftr-link {
  display: inline-block;
  font-size: 14.5px;
  color: var(--steel-300);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.ftr-link:hover { color: var(--cyan-400); transform: translateX(3px); }

.ftr-list--spec { gap: 7px; }
.ftr-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dotted rgba(51, 69, 111, 0.9);
  font-size: 13px;
  color: var(--steel-300);
}
.ftr-spec b { color: var(--white-050); font-weight: 600; font-size: 13px; }

.ftr-bar { background: var(--ink-900); border-top: 1px solid rgba(51, 69, 111, 0.6); }

.ftr-bar-inner {
  display: grid;
  gap: 8px;
  padding-block: 18px 22px;
}

.ftr-contact {
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel-300);
  word-break: break-word;
}

.ftr-version,
.ftr-legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--violet-400);
}
.ftr-legal a { color: var(--steel-300); border-bottom: 1px solid rgba(51, 69, 111, 0.9); }
.ftr-legal a:hover { color: var(--cyan-400); border-bottom-color: var(--cyan-400); }

/* ---------- 7. 通用区块与网格 ---------- */
.section {
  position: relative;
  padding-block: clamp(44px, 6vw, 88px);
}
.section--panel { background: var(--ink-800); }
.section--tight { padding-block: clamp(28px, 3.4vw, 48px); }

.grid { display: grid; gap: clamp(14px, 1.8vw, 26px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }

/* ---------- 8. 卡片 / 玻璃 / 标签 ---------- */
.glass {
  background: rgba(13, 22, 48, 0.66);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(51, 69, 111, 0.65);
  border-radius: var(--r-lg);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 1.8vw, 24px);
  background: var(--ink-700);
  border: 1px solid var(--line-600);
  border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.card:hover { border-color: var(--cyan-700); background: #20305c; }

.card--glass {
  background: rgba(27, 42, 82, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.card--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--cyan-400);
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white-050);
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--violet-400);
}

.card-body { font-size: 15.5px; line-height: 1.7; color: var(--steel-300); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-600);
  border-radius: var(--r-pill);
  background: rgba(51, 69, 111, 0.25);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel-300);
  white-space: nowrap;
}
.tag--key { color: var(--cyan-400); border-color: var(--cyan-700); background: rgba(45, 242, 214, 0.1); }
.tag--live { color: var(--orange-500); border-color: var(--orange-500); background: rgba(255, 107, 31, 0.1); }

/* ---------- 9. 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(51, 69, 111, 0.7);
  border-radius: var(--r-md);
  background: rgba(13, 22, 48, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line-600);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--steel-300);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
              background 0.18s var(--ease), transform 0.18s var(--ease);
}
.filter-btn:hover {
  color: var(--white-050);
  border-color: var(--cyan-700);
  background: rgba(15, 110, 103, 0.35);
}
.filter-btn[aria-pressed="true"] {
  color: var(--ink-900);
  background: var(--cyan-400);
  border-color: var(--cyan-400);
}
.filter-btn .filter-count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; opacity: 0.75; }

.filter-empty {
  padding: 22px 4px;
  font-size: 14.5px;
  color: var(--violet-400);
}

.is-enter { animation: item-in 0.18s var(--ease) both; }
@keyframes item-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 10. 索引列表 / 数据表 ---------- */
.link-list { display: flex; flex-direction: column; }
.link-list li { border-bottom: 1px solid rgba(51, 69, 111, 0.55); }
.link-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 4px;
  font-size: 15.5px;
  color: var(--steel-300);
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}
.link-list a:hover { color: var(--cyan-400); padding-left: 12px; }

.data-table { width: 100%; font-size: 14.5px; }
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(51, 69, 111, 0.7);
}
.data-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--violet-400);
  text-transform: uppercase;
}
.data-table td { color: var(--steel-300); }
.data-table .num { color: var(--white-050); }
.data-table tbody tr:hover td { background: rgba(51, 69, 111, 0.22); }

/* ---------- 11. 媒体容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-600);
  border-radius: var(--r-md);
  background: var(--ink-700);
}
.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.8) contrast(1.05);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(6, 11, 24, 0) 34%, rgba(6, 11, 24, 0.74) 100%);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--cyan::after { background: linear-gradient(155deg, rgba(45, 242, 214, 0.18) 6%, rgba(6, 11, 24, 0.78) 100%); }
.media-frame--orange::after { background: linear-gradient(155deg, rgba(255, 107, 31, 0.16) 6%, rgba(6, 11, 24, 0.78) 100%); }

.media-frame figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel-300);
}

/* ---------- 12. 面包屑 ---------- */
.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(--violet-400);
}
.breadcrumbs a { color: var(--steel-300); }
.breadcrumbs a:hover { color: var(--cyan-400); }
.crumb-sep { color: var(--line-600); }
.breadcrumbs [aria-current="page"] { color: var(--white-050); }

/* ---------- 13. 装饰：赛道线与脉冲 ---------- */
.track {
  position: absolute;
  left: 0;
  width: min(520px, 62%);
  height: 1px;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(90deg, rgba(45, 242, 214, 0), var(--cyan-400) 45%, rgba(45, 242, 214, 0));
  transform: rotate(var(--track-angle, -9deg));
  transform-origin: left center;
}
.track--flip {
  left: auto;
  right: 0;
  transform: rotate(var(--track-angle, 9deg));
  transform-origin: right center;
}
.track::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 248, 255, 0.95), transparent);
}
.track.is-run::after { animation: track-sweep 0.6s var(--ease) both; }
@keyframes track-sweep {
  0% { opacity: 0; transform: translateX(-100%); }
  40% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(100%); }
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 12px rgba(255, 107, 31, 0.8);
  animation: pulse-fade 1.6s ease-in-out infinite;
  vertical-align: middle;
}
.pulse--cyan { background: var(--cyan-400); box-shadow: 0 0 12px rgba(45, 242, 214, 0.8); }
@keyframes pulse-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1200px) {
  .nav-link { padding: 8px 7px; font-size: 13.5px; gap: 5px; }
  .nav-idx { font-size: 10px; }
  .hdr-actions .btn { height: 34px; padding: 0 12px; font-size: 12.5px; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hdr-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--hdr-h);
    display: block;
    padding: 16px var(--gut) 22px;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line-600);
    max-height: calc(100vh - var(--hdr-h) - var(--cmd-h));
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s linear;
  }
  .nav[data-open="true"] {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--violet-400);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { justify-content: flex-start; padding: 13px 12px; font-size: 16px; font-weight: 600; }
  .nav-idx { font-size: 11px; }
  .nav-link[aria-current="page"]::after {
    left: 2px;
    right: auto;
    top: 9px;
    bottom: 9px;
    width: 3px;
    height: auto;
    border-radius: 3px;
  }

  .cmdbar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    padding: 10px var(--gut);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 11, 24, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-600);
  }
  .cmdbar .btn { height: 38px; font-size: 12.5px; padding: 0 10px; }

  body { padding-bottom: var(--cmd-h); }

  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .ftr-grid { grid-template-columns: minmax(0, 1fr); }
  .ftr-spec { font-size: 13.5px; }
  .brand-name { font-size: 17.5px; }
  .data-table { font-size: 13.5px; }
  .data-table th, .data-table td { padding: 10px 8px; }
}

@media (min-width: 900px) {
  .ftr-inner { grid-template-columns: minmax(230px, 1fr) minmax(0, 2.6fr); }
}

@media (min-width: 640px) {
  .ftr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 15. 动效偏好 ---------- */
@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;
  }
  .pulse { animation: none; opacity: 1; }
  .track.is-run::after { animation: none; opacity: 0; }
}
