/* ==========================================================================
   十博电竞站 · 共享样式表 /assets/site.css
   结构：变量 → 重置 → 排版 → 焦点 → 容器栅格 → 头部 → 页脚
        → 按钮 → 卡片标签 → 媒体 → 正文面包屑 → 进度与显现 → 响应式
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #06070C;
  --panel: #0E1220;
  --paper: #F3E9DA;
  --cyan: #29F2E0;
  --violet: #8A5CFF;
  --orange: #FF6A2B;
  --gray: #9AA3B8;
  --white: #E8ECF6;
  --lime: #B8FF4F;
  --line: #232A3D;
  --muted: #C6CEE0;

  --font-display: "Oswald", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --fs-display: clamp(44px, 8.5vw, 124px);
  --fs-section: clamp(30px, 4.4vw, 56px);
  --fs-card: clamp(20px, 2vw, 26px);
  --fs-body: clamp(16px, 1vw + 13px, 18px);
  --fs-note: 14px;
  --fs-label: 12px;

  --r-card: 24px;
  --r-lg: 28px;
  --r-pill: 999px;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --section-gap: clamp(80px, 10vw, 160px);
  --header-h: 132px;
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

/* 对角氛围底：左上霓虹青光、右上电光紫光、右下熔岩橙余光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 44% at 6% -8%, rgba(41, 242, 224, 0.10), transparent 62%),
    radial-gradient(50% 40% at 98% 2%, rgba(138, 92, 255, 0.13), transparent 60%),
    radial-gradient(46% 38% at 74% 104%, rgba(255, 106, 43, 0.08), transparent 66%);
}

body > * { position: relative; z-index: 1; }

img, picture, svg, video {
  max-width: 100%;
  height: auto;
}

button { font: inherit; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; }

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

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
}

h1 { font-size: var(--fs-display); line-height: 0.94; }
h2 { font-size: var(--fs-section); }
h3 { font-size: var(--fs-card); line-height: 1.2; }

p { margin: 0; }

.mono,
.eyebrow,
.sec-index {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow { color: var(--gray); }

.sec-index {
  display: block;
  color: var(--cyan);
  margin-bottom: 14px;
}

.annotation {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.32em;
  color: var(--gray);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
}

.annotation--tilt {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transform: rotate(-6deg);
  transform-origin: left center;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 120;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 5. 容器 / 栅格 / 章节 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.span-3 { grid-column: span 3; }
.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; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.section { margin-top: var(--section-gap); }
.section--first { margin-top: clamp(48px, 6vw, 88px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--fs-section);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

.section__note {
  margin: 0;
  max-width: 34ch;
  color: var(--gray);
  font-size: var(--fs-note);
  line-height: 1.8;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 7, 12, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--orange));
}

.topbar {
  background: rgba(14, 18, 32, 0.62);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 8px var(--pad);
  min-height: 42px;
}

.topbar__brand {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.topbar__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

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

.topbar__tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.26em;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--gray);
  white-space: nowrap;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--violet);
  border-radius: var(--r-pill);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.version-chip.is-flash {
  animation: versionFlash 300ms steps(2, end);
}

@keyframes versionFlash {
  0% {
    color: var(--cyan);
    text-shadow: 2px 0 var(--violet), -2px 0 var(--orange);
  }
  50% {
    color: var(--orange);
    text-shadow: -2px 0 var(--cyan), 2px 0 var(--violet);
  }
  100% {
    color: var(--violet);
    text-shadow: none;
  }
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 79, 0.16);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.navbar {
  position: relative;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px var(--pad);
  min-height: 64px;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list__item { margin: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--gray);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(41, 242, 224, 0.07);
}

.nav-link:hover::after { transform: scaleX(0.55); }

.nav-link[aria-current="page"] {
  color: var(--cyan);
  font-weight: 800;
}

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

.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.55;
}

.nav-cta:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(255, 106, 43, 0.95);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.navbar[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.navbar[data-open="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--section-gap);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--violet) 52%, var(--cyan));
}

.footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 84px) var(--pad) clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px 48px;
}

.footer__brand { min-width: 0; }

.footer__name {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.footer__name::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.footer__line {
  margin: 0;
  max-width: 34ch;
  color: var(--gray);
  font-size: var(--fs-note);
  line-height: 1.85;
}

.footer__nav { min-width: 0; }

.footer__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.32em;
  color: var(--gray);
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-links a {
  display: inline-block;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

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

.footer-links a[aria-current="page"] { color: var(--cyan); }

.footer__contact { min-width: 0; }

.footer-contact {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
}

.footer-contact li { display: block; }

.footer-contact__label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.24em;
  color: var(--gray);
}

.footer-contact a,
.footer-contact__value {
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-decoration: none;
  word-break: break-all;
}

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

.footer__icp {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  color: var(--gray);
}

.footer__base {
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 12, 0.55);
}

.footer__base-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad) 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--gray);
}

.footer__updated a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.footer__updated a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease,
              color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn--primary {
  background: var(--cyan);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(255, 106, 43, 0.95);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--paper {
  background: var(--paper);
  color: var(--ink);
}

.btn--paper:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

/* ---------- 9. 卡片 / 标签 / 计分板 ---------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 32px);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.card:hover {
  border-color: rgba(41, 242, 224, 0.55);
  transform: translateY(-3px);
}

.card__kicker {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.28em;
  color: var(--violet);
}

.card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: var(--fs-card);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--white);
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-note);
  line-height: 1.8;
}

.card--paper {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.card--paper .card__kicker { color: #7A5A2E; }
.card--paper .card__title { color: var(--ink); }
.card--paper .card__text { color: #3C3A38; }

.card--paper:hover {
  border-color: var(--orange);
}

.scoreboard {
  position: relative;
  background: linear-gradient(160deg, rgba(14, 18, 32, 0.97), rgba(6, 7, 12, 0.97));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: 0 44px 90px -70px rgba(41, 242, 224, 0.75);
}

.scoreboard--offset { transform: translate(28px, -24px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  color: var(--gray);
}

.tag--live { border-color: rgba(255, 106, 43, 0.6); color: var(--orange); }
.tag--new { border-color: rgba(138, 92, 255, 0.6); color: var(--violet); }
.tag--ok { border-color: rgba(184, 255, 79, 0.5); color: var(--lime); }

/* ---------- 10. 媒体容器（供页面阶段放置图片） ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(41, 242, 224, 0.12), rgba(138, 92, 255, 0.14) 55%, rgba(255, 106, 43, 0.10)),
    var(--panel);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 236, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 236, 246, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media img,
.media video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ---------- 11. 面包屑 / 正文 ---------- */
.breadcrumb {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  color: var(--gray);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.breadcrumb li::after {
  content: "/";
  color: rgba(154, 163, 184, 0.5);
}

.breadcrumb li:last-child::after { content: none; }

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}

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

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

.prose {
  max-width: 68ch;
}

.prose > * + * { margin-top: 1.5em; }

.prose h2 {
  font-size: var(--fs-section);
  line-height: 1.02;
}

.prose h3 {
  font-size: var(--fs-card);
  font-weight: 800;
  line-height: 1.25;
}

.prose p { color: var(--muted); }

.prose ul,
.prose ol {
  padding-left: 1.4em;
  color: var(--muted);
}

.prose li + li { margin-top: 0.5em; }

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(41, 242, 224, 0.4);
}

.prose a:hover { border-bottom-color: var(--cyan); }

/* ---------- 12. 进度条 / 回到顶部 / 显现 ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--orange));
  transition: width 120ms linear;
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(14, 18, 32, 0.95);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease,
              border-color 180ms ease, color 180ms ease,
              visibility 0s linear 200ms;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.to-top:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.no-reveal [data-reveal],
.no-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .span-3,
  .span-4 { grid-column: span 6; }
  .span-8,
  .span-9 { grid-column: span 12; }
}

@media (max-width: 900px) {
  :root { --header-h: 106px; }

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

  .navbar__inner {
    gap: 12px;
    min-height: 60px;
  }

  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--pad) 22px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 260ms ease, opacity 200ms ease, visibility 0s linear 260ms;
  }

  .navbar[data-open="true"] .nav-list {
    max-height: 460px;
    opacity: 1;
    visibility: visible;
    transition: max-height 320ms ease, opacity 220ms ease, visibility 0s;
  }

  .nav-link {
    display: block;
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 17px;
  }

  .nav-link::after {
    left: 16px;
    right: auto;
    width: 26px;
    bottom: 8px;
  }

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

  .nav-cta { padding: 10px 18px; }

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

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

  .scoreboard--offset { transform: none; }
}

@media (max-width: 720px) {
  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9 { grid-column: span 12; }

  .grid { gap: 20px; }

  .topbar__tagline { display: none; }

  .topbar__inner { min-height: 38px; }
}

@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr; }

  .footer__base-inner { flex-direction: column; }

  .nav-toggle__label { display: none; }

  .nav-toggle { padding: 10px 14px; }
}

/* ---------- 14. 动效降级 ---------- */
@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .status-dot { animation: none; }
}
