/* =========================================================
   利发体育主站 · 共享样式 /assets/site.css
   夜间球场数据指挥室：深墨底 + 指挥室面板 + 荧光青 + 琥珀橙
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #06110D;
}

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

ul, ol { list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

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

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

/* ---------- 2. tokens ---------- */
:root {
  --ink: #06110D;
  --panel: #0B1F19;
  --panel-2: #12332A;
  --pitch: #1E6F5C;
  --cyan: #38F5D0;
  --mist: #A8FFF0;
  --amber: #FFB454;
  --ember: #FF6A3D;
  --text: #E8F3EE;
  --muted: #7E9A91;

  --line: rgba(56, 245, 208, 0.16);
  --line-soft: rgba(56, 245, 208, 0.08);
  --line-strong: rgba(56, 245, 208, 0.34);

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

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
  --header-h-compact: 60px;
  --cut: 18px;

  --gutter: clamp(18px, 4vw, 48px);
  --gap: clamp(16px, 2.4vw, 32px);
}

/* ---------- 3. base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 82% -10%, rgba(30, 111, 92, 0.38), rgba(6, 17, 13, 0) 70%),
    radial-gradient(880px 520px at 6% 8%, rgba(56, 245, 208, 0.10), rgba(6, 17, 13, 0) 72%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

::selection {
  background: rgba(56, 245, 208, 0.28);
  color: var(--text);
}

#main-content {
  display: block;
  scroll-margin-top: var(--header-h);
}

/* ---------- 4. 无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 12px 20px;
  background: var(--cyan);
  color: #04140F;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.22s var(--ease);
}

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

/* ---------- 5. 布局工具 ---------- */
.shell {
  width: 100%;
  max-width: 1312px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 140px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 76px);
}

.page-lead {
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, 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; }

/* ---------- 6. 排版层级 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.display--l {
  font-size: clamp(36px, 6.4vw, 72px);
}

.h2 {
  font-size: clamp(26px, 4vw, 44px);
}

.h3 {
  font-size: clamp(20px, 2.6vw, 28px);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.72;
  color: rgba(232, 243, 238, 0.78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

.num-xl {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
}

.muted { color: var(--muted); }
.accent { color: var(--cyan); }
.warn { color: var(--amber); }

/* ---------- 7. 章节标题牌 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(28px, 4vw, 56px);
}

.section-head__main {
  max-width: 58ch;
}

.section-head__index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1;
  color: rgba(56, 245, 208, 0.18);
}

/* ---------- 8. 切角面板 / 图片容器 ---------- */
.cut-panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(158deg, rgba(18, 51, 42, 0.82), rgba(11, 31, 25, 0.96));
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(
    0 var(--cut),
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%
  );
}

.cut-panel--flat {
  background: var(--panel);
  --cut: 14px;
}

.media-figure {
  margin: 0;
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(160deg, rgba(30, 111, 92, 0.42), rgba(6, 17, 13, 0.9)),
    var(--panel-2);
  clip-path: polygon(
    0 14px,
    14px 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%
  );
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.9);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 13, 0) 42%, rgba(6, 17, 13, 0.82));
  pointer-events: none;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 9. 按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: rgba(56, 245, 208, 0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04140F;
}

.btn--primary:hover {
  background: var(--mist);
  border-color: var(--mist);
}

.btn--ghost {
  border-color: rgba(232, 243, 238, 0.2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(56, 245, 208, 0.08);
  box-shadow: inset 0 0 0 1px rgba(56, 245, 208, 0.22);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.tag--amber {
  color: var(--amber);
  background: rgba(255, 180, 84, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 180, 84, 0.3);
}

/* ---------- 10. 数据统计块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.stat__value--accent { color: var(--cyan); }
.stat__value--amber { color: var(--amber); }

.stat__delta {
  font-size: 13px;
  color: var(--muted);
}

.stat__delta--up { color: var(--ember); }

/* ---------- 11. 面包屑 / 长文 ---------- */
.breadcrumb {
  padding-block: 18px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(126, 154, 145, 0.5);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

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

.breadcrumb [aria-current="page"] { color: var(--text); }

.prose {
  max-width: 72ch;
}

.prose p {
  margin-bottom: 1.3em;
  color: rgba(232, 243, 238, 0.86);
}

.prose h2 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(22px, 3vw, 30px);
}

.prose h3 {
  margin: 1.8em 0 0.6em;
  font-size: clamp(18px, 2.2vw, 22px);
}

.prose ul {
  margin-bottom: 1.3em;
}

.prose li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5em;
  color: rgba(232, 243, 238, 0.86);
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(56, 245, 208, 0.35);
}

/* ---------- 12. 头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(6, 17, 13, 0.93);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.header-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--mist) 55%, var(--amber));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.site-header[data-scrolled] .header-progress__bar {
  opacity: 1;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: 1480px;
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height 0.35s var(--ease);
}

.site-header[data-scrolled] .header-inner {
  height: var(--header-h-compact);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  white-space: nowrap;
}

.brand__pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56, 245, 208, 0.14);
  animation: brandPulse 2.6s var(--ease) infinite;
}

@keyframes brandPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(56, 245, 208, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(56, 245, 208, 0.04); }
}

.brand__body {
  display: grid;
  gap: 1px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* 导航模块带 */
.site-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-band {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.1vw, 16px);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.nav-band::-webkit-scrollbar { display: none; }

.nav-band__item { scroll-snap-align: center; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(232, 243, 238, 0.72);
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--cyan); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 头部工具 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.tool-link:hover { color: var(--cyan); }

.tool-link__icon {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.tool-link__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}

.version-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  background: rgba(168, 255, 240, 0.05);
  box-shadow: inset 0 0 0 1px rgba(168, 255, 240, 0.26);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.version-chip:hover {
  background: rgba(168, 255, 240, 0.14);
  color: var(--text);
}

/* 菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  background: rgba(11, 31, 25, 0.7);
  box-shadow: inset 0 0 0 1px rgba(56, 245, 208, 0.25);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[data-active] .nav-toggle__bars span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[data-active] .nav-toggle__bars span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-toggle__label {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) 0 32px;
  background: linear-gradient(180deg, #06110D 0%, #081713 52%, #06110D 100%);
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(6, 17, 13, 0), rgba(56, 245, 208, 0.5), rgba(255, 180, 84, 0.34), rgba(6, 17, 13, 0));
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 111, 92, 0.36), rgba(6, 17, 13, 0) 66%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1312px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 56px);
}

.brand--footer .brand__name { font-size: 20px; }

.brand--footer .brand__tag { font-size: 12px; }

.footer-trust {
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(232, 243, 238, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 48px);
  padding-block: clamp(32px, 5vw, 64px);
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer-list {
  display: grid;
  gap: 2px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: rgba(232, 243, 238, 0.72);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-contact {
  margin-top: 4px;
}

.footer-contact dt {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(126, 154, 145, 0.88);
}

.footer-contact dd {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(232, 243, 238, 0.86);
  overflow-wrap: anywhere;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: clamp(24px, 3vw, 40px);
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pitch);
}

.footer-copy { color: rgba(126, 154, 145, 0.9); }

/* ---------- 14. 滚动显现 ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
    --cut: 14px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header[data-scrolled] .header-inner {
    height: var(--header-h);
  }

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

  .header-tools { margin-left: auto; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 14px var(--gutter) 34px;
    background: linear-gradient(180deg, #071410 0%, #06110D 72%);
    box-shadow: inset 0 1px 0 var(--line-soft);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.42s var(--ease), opacity 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
  }

  .nav-band {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .nav-link {
    width: 100%;
    min-height: 56px;
    padding: 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: rgba(232, 243, 238, 0.86);
    box-shadow: inset 0 -1px 0 var(--line-soft);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    padding-left: 16px;
    color: var(--cyan);
    box-shadow: inset 3px 0 0 var(--cyan), inset 0 -1px 0 var(--line-soft);
  }

  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

@media (max-width: 620px) {
  .tool-link { display: none; }

  .brand__tag { display: none; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-base { justify-content: flex-start; }

  .section-head { align-items: flex-start; }

  .btn { width: 100%; }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
