/* =========================================================
   浩瀚体育 · /assets/site.css
   深夜球场绿基底 / 信号橙行动 / 数据青读数
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body, h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }

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

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

a { color: inherit; }

button { font: inherit; color: inherit; }

main { display: block; }

/* ---------- 2. 变量 ---------- */
:root {
  --night: #061A16;
  --tunnel: #0B2A22;
  --glass: rgba(33, 255, 186, 0.08);
  --line: #1D4A3E;
  --chalk: #F4F7F2;
  --mist: #9FB3AB;
  --signal: #FF6A2B;
  --signal-deep: #C8451A;
  --data: #4FE3D0;
  --warn: #FFD27A;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 78px;
  --radius: 18px;
  --radius-lg: 26px;

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

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

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--night);
  background-image:
    radial-gradient(900px 520px at 82% -8%, rgba(79, 227, 208, 0.10), transparent 70%),
    radial-gradient(760px 460px at 2% 6%, rgba(255, 106, 43, 0.07), transparent 72%);
  color: var(--chalk);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--signal); color: #160800; }

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

body[data-nav-open] { overflow: hidden; }

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section { padding-block: clamp(48px, 7vw, 100px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(14px, 2vw, 32px);
  margin-bottom: clamp(22px, 3vw, 40px);
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--data);
  margin-bottom: 10px;
}

.display {
  font-weight: 200;
  font-size: clamp(44px, 9vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.heading {
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

.lede {
  max-width: 44ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.72;
  color: var(--mist);
}

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

.data-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--data);
  letter-spacing: -0.01em;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(29, 74, 62, 0));
  margin-block: clamp(20px, 3vw, 36px);
}

/* ---------- 5. 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--signal);
  color: #160800;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--chalk);
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
}

.site-header::before {
  background: linear-gradient(180deg, rgba(6, 26, 22, 0.94), rgba(6, 26, 22, 0));
  opacity: 1;
}

.site-header::after {
  background: rgba(6, 26, 22, 0.96);
  opacity: 0;
}

.site-header.is-solid { border-bottom-color: rgba(29, 74, 62, 0.95); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38); }
.site-header.is-solid::after { opacity: 1; }
.site-header.is-solid::before { opacity: 0; }

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  min-height: var(--header-h);
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-end: auto;
  text-decoration: none;
  color: var(--chalk);
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background: linear-gradient(155deg, var(--signal), var(--signal-deep));
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(6, 26, 22, 0.9);
  border-radius: 50%;
}

.brand__text { display: grid; gap: 2px; }

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  line-height: 1.3;
  white-space: nowrap;
}

/* 导航 */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 20px);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 22px);
  counter-reset: navidx;
}

.nav__item { display: flex; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  padding: 6px 1px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(244, 247, 242, 0.78);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.nav__link::before {
  counter-increment: navidx;
  content: "0" counter(navidx);
  display: inline-block;
  margin-inline-end: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(159, 179, 171, 0.72);
  transform: translateY(-5px);
  transition: color 0.18s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}

.nav__link:hover { color: var(--chalk); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--chalk); }
.nav__link[aria-current="page"]::before { color: var(--signal); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__foot { display: none; }

/* 头部动作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 74, 62, 0.95);
  border-radius: 999px;
  background: rgba(11, 42, 34, 0.72);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.nav-toggle__bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--data);
  border-color: rgba(79, 227, 208, 0.55);
}

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

/* 滚动进度 */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 2px;
  background: rgba(29, 74, 62, 0.6);
}

.header-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--data), var(--signal));
  transform: scaleX(0);
  transform-origin: left center;
}

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(3, 12, 10, 0.66);
  border: 0;
  animation: scrim-in 0.22s var(--ease) both;
}

.nav-scrim[hidden] { display: none; }

@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: var(--signal);
  color: #160800;
  box-shadow: 0 10px 26px rgba(255, 106, 43, 0.24);
}

.btn--primary:hover {
  background: #ff7d45;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 106, 43, 0.32);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(244, 247, 242, 0.04);
  color: var(--chalk);
  border-color: rgba(29, 74, 62, 0.95);
}

.btn--ghost:hover {
  color: var(--data);
  border-color: rgba(79, 227, 208, 0.6);
  transform: translateY(-2px);
}

.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- 8. 面包屑 ---------- */
.breadcrumbs { padding-block: 14px 0; }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

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

.breadcrumbs__link {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.breadcrumbs__link:hover { color: var(--chalk); border-bottom-color: var(--line); }

.breadcrumbs__sep { color: rgba(29, 74, 62, 0.95); }

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

/* ---------- 9. Bento 与卡片 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.bento > * { grid-column: span 12; min-width: 0; }

.card {
  position: relative;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid rgba(29, 74, 62, 0.9);
  border-radius: var(--radius);
  background: var(--tunnel);
  color: var(--chalk);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card--glass {
  background: var(--glass);
  border-color: rgba(79, 227, 208, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card--link { text-decoration: none; display: block; }

.card--link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 43, 0.55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.card__title {
  margin-block: 8px 10px;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.card__body { font-size: 15px; line-height: 1.72; color: var(--mist); }

/* ---------- 10. 标签与脉冲点 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.tag--orange {
  color: var(--signal);
  border-color: rgba(255, 106, 43, 0.45);
  background: rgba(255, 106, 43, 0.1);
}

.tag--cyan {
  color: var(--data);
  border-color: rgba(79, 227, 208, 0.4);
  background: rgba(79, 227, 208, 0.09);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--data);
  box-shadow: 0 0 0 0 rgba(79, 227, 208, 0.55);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 227, 208, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(79, 227, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 227, 208, 0); }
}

/* ---------- 11. 时间轴 ---------- */
.timeline {
  position: relative;
  padding-inline-start: clamp(12px, 2vw, 20px);
  border-inline-start: 1px solid rgba(29, 74, 62, 0.85);
}

.timeline__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding-block: 14px;
  border-bottom: 1px solid rgba(29, 74, 62, 0.5);
}

.timeline__row:last-child { border-bottom: 0; }

.timeline__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--data);
}

.timeline__match { font-size: 15px; font-weight: 700; line-height: 1.4; }

.timeline__league {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 12. 章节目录 ---------- */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  font-size: 13px;
}

.toc__title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}

.toc__list {
  display: grid;
  gap: 2px;
  border-inline-start: 1px solid rgba(29, 74, 62, 0.85);
}

.toc__link {
  display: block;
  margin-inline-start: -1px;
  padding: 7px 0 7px 14px;
  border-inline-start: 1px solid transparent;
  color: var(--mist);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.toc__link:hover { color: var(--chalk); }

.toc__link[aria-current="true"] {
  color: var(--chalk);
  border-inline-start-color: var(--signal);
}

/* ---------- 13. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 74, 62, 0.85);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 42, 34, 0.95), rgba(6, 26, 22, 0.98)),
    repeating-linear-gradient(90deg, rgba(29, 74, 62, 0.35) 0 1px, transparent 1px 44px);
}

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

.media--slant { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}

.media__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 26, 22, 0) 42%, rgba(6, 26, 22, 0.82) 100%),
    linear-gradient(120deg, rgba(79, 227, 208, 0.12), rgba(6, 26, 22, 0) 55%);
}

.media__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 14. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(29, 74, 62, 0.95);
  border-radius: 50%;
  background: rgba(11, 42, 34, 0.94);
  color: var(--chalk);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.to-top[data-visible] { opacity: 1; transform: none; pointer-events: auto; }

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

.to-top__icon {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
}

/* ---------- 15. 显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ---------- 16. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 90px);
  padding-top: clamp(40px, 6vw, 78px);
  border-top: 1px solid rgba(29, 74, 62, 0.85);
  background: linear-gradient(180deg, var(--tunnel), var(--night) 72%);
  color: var(--mist);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 227, 208, 0.16), transparent 70%);
  pointer-events: none;
}

.footer__inner { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.footer__brand { min-width: 0; }

.footer__mark {
  display: block;
  width: 52px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--signal) 0 58%, var(--data) 58% 100%);
}

.footer__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--chalk);
  line-height: 1.3;
}

.footer__tagline {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer__note {
  max-width: 62ch;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(159, 179, 171, 0.88);
}

.footer__cta { margin-top: 18px; }

.footer__col { min-width: 0; }

.footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chalk);
}

.footer__title::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--signal);
}

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

.footer__link {
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), padding-inline-start 0.18s var(--ease);
}

.footer__link:hover {
  color: var(--chalk);
  padding-inline-start: 4px;
}

.footer__contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(29, 74, 62, 0.7);
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer__contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer__contact-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--chalk);
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
  padding-block: 18px 22px;
  border-top: 1px solid rgba(29, 74, 62, 0.7);
}

.footer__copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(159, 179, 171, 0.9);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal-link {
  font-size: 12.5px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer__legal-link:hover { color: var(--data); }

/* ---------- 17. 响应式 ---------- */
@media (min-width: 768px) {
  .bento > .span-3 { grid-column: span 3; }
  .bento > .span-4 { grid-column: span 4; }
  .bento > .span-6 { grid-column: span 6; }
  .bento > .span-8 { grid-column: span 8; }
  .bento > .span-9 { grid-column: span 9; }
}

@media (max-width: 1100px) {
  .brand__line { display: none; }
}

@media (max-width: 959px) {
  .header-actions { display: none; }

  .nav-toggle { display: inline-flex; margin-inline-start: auto; }

  .nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    z-index: 95;
    display: block;
    max-height: 78vh;
    overflow-y: auto;
    padding: 16px 16px 20px;
    border: 1px solid rgba(29, 74, 62, 0.95);
    border-radius: 22px;
    background: linear-gradient(180deg, #0B2A22, #061A16 78%);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(calc(100% + 40px));
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .nav[data-open] { transform: translateY(0); visibility: visible; }

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

  .nav__link {
    display: flex;
    align-items: center;
    padding: 13px 6px;
    font-size: 16px;
    border-bottom: 1px solid rgba(29, 74, 62, 0.45);
  }

  .nav__item:last-child .nav__link { border-bottom: 0; }

  .nav__link::after { display: none; }

  .nav__foot {
    display: grid;
    gap: 10px;
    margin-top: 16px;
  }

  .nav__foot .btn { width: 100%; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-template-columns: 1fr; }

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

@media (max-width: 560px) {
  .timeline__row { grid-template-columns: auto minmax(0, 1fr); }
  .timeline__league { grid-column: 2; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .to-top { width: 42px; height: 42px; }
}

/* ---------- 18. 减少动态偏好 ---------- */
@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; }

  .pulse-dot { animation: none; }
}
