/* ==========================================================================
   18新利竞技 · 共享样式表 /assets/site.css
   夜间体育数据控制室：深海蓝图网格 + 双栏对位 + 数据优先层级
   ========================================================================== */

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

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

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

ul, ol { list-style: none; }

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

a { color: inherit; -webkit-tap-highlight-color: transparent; }

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

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

/* 2. 设计令牌
   ========================================================================== */
:root {
  --abyss: #061420;
  --panel: #0C2136;
  --layer: #143049;
  --line: #24455F;
  --cyan: #35E6D0;
  --cyan-deep: #1B8F84;
  --coral: #FF6B4A;
  --amber: #F2C14E;
  --ink: #E9F2F6;
  --muted: #9BB1C0;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC",
    "SimSun", Georgia, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono",
    "Liberation Mono", "Courier New", monospace;

  --gutter: 24px;
  --gap: 24px;
  --cut: 14px;
  --radius: 3px;
  --ease: cubic-bezier(.22, .7, .28, 1);
}

/* 3. 基础层
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--abyss);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 蓝图网格底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
  background-image:
    linear-gradient(to right, rgba(36, 69, 95, .42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 69, 95, .32) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
}

/* 分区光晕，建立背景层次 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 620px at 10% -12%, rgba(53, 230, 208, .10), transparent 62%),
    radial-gradient(900px 520px at 102% 6%, rgba(27, 143, 132, .13), transparent 64%),
    radial-gradient(760px 700px at 50% 118%, rgba(255, 107, 74, .06), transparent 62%);
}

[id] { scroll-margin-top: 96px; }

#main-content { scroll-margin-top: 88px; }

::selection {
  background: rgba(53, 230, 208, .28);
  color: var(--ink);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb {
  background: var(--line);
  border: 2px solid var(--abyss);
}
::-webkit-scrollbar-thumb:hover { background: var(--cyan-deep); }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 4. 跳过链接
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 140;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04161A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* 5. 页头：紧凑命令栏
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 20, 32, .95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(53, 230, 208, .45);
}

.cmd-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 12px var(--gutter);
  transition: min-height 190ms var(--ease), padding 190ms var(--ease);
}

.site-header[data-scrolled] .cmd-bar {
  min-height: 48px;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #04161A;
  background: linear-gradient(160deg, var(--cyan), var(--cyan-deep));
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  transition: background 180ms var(--ease);
}
.brand:hover .brand__mark {
  background: linear-gradient(160deg, #7FF4E6, var(--cyan));
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.16;
}

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand__tagline {
  font-family: var(--font-serif);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--muted);
  white-space: nowrap;
}

/* 主栏目命令 */
.cmd-nav { min-width: 0; }

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

.cmd-nav__link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  font-size: 13.5px;
  line-height: 1.2;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease), background-color 160ms var(--ease),
    border-color 160ms var(--ease);
}

.cmd-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--cyan-deep);
  transition: color 160ms var(--ease);
}

.cmd-nav__link:hover {
  color: var(--ink);
  background: rgba(20, 48, 73, .6);
}
.cmd-nav__link:hover .cmd-nav__idx { color: var(--cyan); }

.cmd-nav__link[aria-current="page"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.cmd-nav__link[aria-current="page"] .cmd-nav__idx { color: var(--cyan); }

/* 右侧工具区 */
.cmd-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}

.beat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}

.beat__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex: 0 0 auto;
  animation: beat-pulse 2.4s var(--ease) infinite;
}

.beat__label { letter-spacing: .04em; }

.beat__time {
  color: var(--ink);
  font-weight: 700;
}

.beat__pips {
  display: flex;
  gap: 3px;
  align-items: center;
}
.beat__pips i {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--line);
  transform: rotate(45deg);
}
.beat__pips i:first-child { background: var(--cyan-deep); }

@keyframes beat-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 230, 208, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(53, 230, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 230, 208, 0); }
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  background: rgba(20, 48, 73, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 160ms var(--ease), border-color 160ms var(--ease),
    background-color 160ms var(--ease);
}
.tool-link:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: rgba(27, 143, 132, .2);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  background: rgba(20, 48, 73, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.nav-toggle:hover { color: var(--cyan); border-color: var(--cyan-deep); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  flex: 0 0 auto;
  transition: background-color 160ms var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* 6. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 33, 54, .72), var(--abyss) 72%);
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 36px var(--gap);
  padding: 52px var(--gutter) 36px;
}

.footer__brand { min-width: 0; }

.footer__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.footer__tagline {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--muted);
}

.footer__contact {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  color: var(--muted);
}
.footer__contact li { word-break: break-word; }

.footer__contact-key {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 6px;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--cyan);
  background: rgba(27, 143, 132, .16);
  border: 1px solid rgba(53, 230, 208, .26);
  border-radius: 2px;
}

.footer__col { min-width: 0; }

.footer__col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--cyan);
}
.footer__col-title::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 1px;
  background: var(--cyan-deep);
}

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

.footer__list a,
.footer__plain {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

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

.footer__plain {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: #7E95A6;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding: 18px var(--gutter) 30px;
  border-top: 1px solid rgba(36, 69, 95, .7);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* 7. 通用排版
   ========================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.lede {
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.85;
  color: #C4D6E0;
}

.note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 208, .34);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.link:hover {
  color: #7FF4E6;
  border-bottom-color: var(--cyan);
}

/* 数字：等宽 + tabular-nums */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.01em;
}
.num--xl {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1;
}
.num--coral { color: var(--coral); }

/* 8. 结构容器与网格
   ========================================================================== */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap);
  align-items: start;
}

.rail {
  position: sticky;
  top: 84px;
  align-self: start;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  position: relative;
}

.rule--trail::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.crumbs a:hover { color: var(--cyan); }
.crumbs__sep { color: var(--line); }

/* 内容目录条 */
.index-strip {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 48, 73, .42);
}

.index-strip__item {
  flex: 1 1 190px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 16px;
  text-decoration: none;
  border-right: 1px solid rgba(36, 69, 95, .7);
  transition: background-color 180ms var(--ease);
}
.index-strip__item:hover { background: rgba(27, 143, 132, .16); }

.index-strip__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  color: var(--cyan-deep);
}

.index-strip__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.index-strip__desc {
  font-family: var(--font-serif);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* 9. 基础组件
   ========================================================================== */
.panel {
  position: relative;
  padding: 18px;
  background: linear-gradient(180deg, rgba(12, 33, 54, .96), rgba(12, 33, 54, .78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel--cut {
  --cut: 14px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(155deg, var(--layer), var(--panel) 62%);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

.panel--cut::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--cut);
  right: 22%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  pointer-events: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--cyan);
  background: rgba(27, 143, 132, .16);
  border: 1px solid rgba(53, 230, 208, .28);
  border-radius: 2px;
}
.tag--coral {
  color: var(--coral);
  background: rgba(255, 107, 74, .14);
  border-color: rgba(255, 107, 74, .34);
}
.tag--amber {
  color: var(--amber);
  background: rgba(242, 193, 78, .13);
  border-color: rgba(242, 193, 78, .32);
}
.tag--muted {
  color: var(--muted);
  background: rgba(36, 69, 95, .34);
  border-color: var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 170ms var(--ease), color 170ms var(--ease),
    border-color 170ms var(--ease);
}
.btn--sm { padding: 8px 14px; font-size: 13px; }

.btn--primary {
  background: var(--coral);
  color: #08131C;
}
.btn--primary:hover { background: #FF8365; }

.btn--cyan {
  background: var(--cyan);
  color: #04161A;
}
.btn--cyan:hover { background: #7FF4E6; }

.btn--ghost {
  background: rgba(20, 48, 73, .6);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan-deep);
  background: rgba(27, 143, 132, .2);
}

/* 10. 图片容器（页面生成阶段放置 <img> 或保留占位）
   ========================================================================== */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--layer), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(.88) brightness(.82);
  transition: transform 420ms var(--ease), filter 320ms var(--ease);
}

.media:hover > img,
a:hover .media > img {
  transform: scale(1.03);
  filter: contrast(1.14) saturate(.96) brightness(.9);
}

.media--3x2 { aspect-ratio: 3 / 2; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--3x4 { aspect-ratio: 3 / 4; }

.media__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 20, 32, 0) 34%, rgba(6, 20, 32, .88));
}

.media__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
}

.media--ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(155, 177, 192, .7);
}

/* 11. 显现动效协议（页面可给元素加 data-reveal）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: grid-draw 1100ms var(--ease) both;
  }

  @keyframes grid-draw {
    from { clip-path: inset(0 0 100% 0); opacity: 0; }
    to   { clip-path: inset(0 0 0 0); opacity: .9; }
  }

  .has-js [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  }

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

/* 12. 响应式
   ========================================================================== */
@media (max-width: 1279px) {
  .nav-toggle { display: inline-flex; }

  .cmd-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: linear-gradient(180deg, rgba(12, 33, 54, .99), rgba(6, 20, 32, .99));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: max-height 220ms var(--ease), visibility 0s linear 220ms;
  }

  .cmd-nav[data-open] {
    max-height: min(72vh, 460px);
    overflow-y: auto;
    visibility: visible;
    transition: max-height 220ms var(--ease), visibility 0s linear 0s;
  }

  .cmd-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .cmd-nav__link {
    padding: 13px var(--gutter);
    font-size: 15px;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }

  .cmd-nav__link[aria-current="page"] {
    border-left-color: var(--cyan);
    border-bottom-color: transparent;
    background: rgba(27, 143, 132, .14);
  }
}

@media (max-width: 1099px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    position: static;
    top: auto;
  }

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

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

@media (max-width: 860px) {
  .beat { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --gap: 16px; }

  body { font-size: 14.5px; }

  .brand__tagline { display: none; }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 36px var(--gutter) 26px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--gutter) 26px;
  }

  .index-strip__item {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(36, 69, 95, .7);
  }

  .media__cap { font-size: 11.5px; }
}

@media (max-width: 460px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }

  .nav-toggle__label { display: none; }

  .tool-link { padding: 6px 10px; font-size: 12.5px; }
}

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

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

  .progress { transition: none !important; }
}

/* 14. 工具类
   ========================================================================== */
.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;
}
