/* =========================================================
   爱体育赛场 · 共享样式 /assets/site.css
   夜场数据指挥室 · 框架式导航 + 纵向长卷
   ========================================================= */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 20px);
}
body {
  margin: 0;
  padding-top: var(--topbar-h);
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.18;
  color: var(--paper);
}
h1 { font-size: clamp(30px, 5vw, 60px); }
h2 { font-size: clamp(24px, 3.4vw, 44px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: clamp(16px, 1.5vw, 20px); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
#main-content { display: block; }
#main-content:focus { outline: none; }

/* ---------- 变量 ---------- */
:root {
  --ink: #06110C;
  --pitch: #0C3A2B;
  --slate: #10323A;
  --wine: #6E1B26;
  --yellow: #F2C31B;
  --red: #E2453A;
  --blue: #46A8FF;
  --paper: #F1F6F3;
  --moss: #9DB3A8;
  --line: #1C3D33;
  --line-strong: #2A5546;
  --moss-dim: rgba(157, 179, 168, .62);

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: var(--font-display);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --rail-w: 76px;
  --topbar-h: 66px;
  --shell: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 3px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .32s;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  transition: top .22s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 头部外框 ---------- */
.site-header { position: relative; z-index: 60; }

.rail { display: none; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 0 clamp(14px, 2.6vw, 30px);
  background: rgba(6, 17, 12, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__brand { flex: 0 0 auto; display: flex; }
.topbar__meta { display: none; }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--yellow), var(--red) 55%, var(--blue));
  will-change: transform;
}

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.brand__glyph {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(242, 195, 27, .25), 0 6px 18px rgba(242, 195, 27, .14);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.16; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--paper);
}
.brand__tag {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--moss);
}

/* ---------- 主导航（移动优先：抽屉） ---------- */
.nav {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 58;
  max-height: calc(100vh - var(--topbar-h) - 10px);
  overflow-y: auto;
  padding: 6px clamp(16px, 4vw, 28px) 24px;
  background: linear-gradient(180deg, #0A1F17 0%, #06110C 78%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .58);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .22s ease, transform .3s var(--ease), visibility .22s linear;
}
.nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--moss);
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s ease, padding-left .24s var(--ease);
}
.nav__link:hover { color: var(--paper); padding-left: 8px; }
.nav__link[aria-current="page"] { color: var(--yellow); }

/* ---------- 汉堡按钮 ---------- */
.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav-toggle:hover { border-color: var(--yellow); background: rgba(242, 195, 27, .07); }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--paper);
  transition: transform .28s var(--ease), background-color .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { content: ""; position: absolute; left: 0; top: -6px; }
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); background: var(--yellow); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--yellow); }

/* ---------- 徽章 / 提示 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(242, 195, 27, .34);
  border-radius: 2px;
  background: rgba(242, 195, 27, .08);
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}
.badge--version { font-family: var(--font-body); }
.badge--blue { border-color: rgba(70, 168, 255, .34); background: rgba(70, 168, 255, .08); color: var(--blue); }
.badge--red { border-color: rgba(226, 69, 58, .36); background: rgba(226, 69, 58, .09); color: var(--red); }

.hint { display: none; font-size: 11.5px; letter-spacing: .1em; color: var(--moss); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 58, 43, .42) 0%, rgba(6, 17, 12, .96) 46%, #06110C 100%);
  color: var(--moss);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(70, 168, 255, .045) 0 1px, transparent 1px 72px);
}
.footer__rule {
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0 18%, var(--red) 18% 26%, var(--blue) 26% 42%, var(--line) 42% 100%);
}
.footer__inner {
  position: relative;
  z-index: 1;
  width: min(var(--shell), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: clamp(36px, 4.5vw, 60px) clamp(28px, 3.6vw, 44px);
  display: grid;
  gap: clamp(26px, 3.4vw, 48px);
  grid-template-columns: 1fr;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__brand .brand__glyph { width: 42px; height: 42px; font-size: 21px; }
.footer__note {
  margin: 16px 0 18px;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.72;
  color: var(--moss-dim);
}
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__cols {
  display: grid;
  gap: clamp(22px, 2.6vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.footer__title {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--paper);
}
.footer__title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-2px);
  background: var(--yellow);
}
.footer__list { display: flex; flex-direction: column; gap: 9px; }
.footer__list a {
  display: inline-block;
  font-size: 14px;
  color: var(--moss);
  text-decoration: none;
  transition: color .2s ease, transform .24s var(--ease);
}
.footer__list a:hover { color: var(--yellow); transform: translateX(3px); }
.footer__facts { display: flex; flex-direction: column; gap: 12px; }
.footer__facts li { display: flex; flex-direction: column; gap: 4px; }
.footer__label {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--moss-dim);
}
.footer__value {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--paper);
}
.footer__tip {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--moss-dim);
}
.copy-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(70, 168, 255, .08);
  border: 1px solid rgba(70, 168, 255, .28);
  border-radius: 2px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.copy-btn:hover { background: rgba(70, 168, 255, .16); border-color: var(--blue); }
.copy-btn.is-copied { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.copy-btn__text { white-space: nowrap; }

.footer__base {
  position: relative;
  z-index: 1;
  width: min(var(--shell), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 12px;
  letter-spacing: .06em;
}
.footer__copy { color: var(--moss); }
.footer__icp { color: var(--moss-dim); font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(16px, 2.6vw, 30px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(6, 17, 12, .9);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: .14em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .26s ease, transform .3s var(--ease), visibility .26s linear, border-color .2s ease, color .2s ease;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--yellow); color: var(--yellow); }
.to-top__text { line-height: 1; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .26s var(--ease), background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .26s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 20px rgba(242, 195, 27, .18); }
.btn--primary:hover { background: #FFD53C; box-shadow: 0 10px 26px rgba(242, 195, 27, .3); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--paper); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--danger { background: var(--red); color: #FFFFFF; }
.btn--danger:hover { background: #F2554A; }

/* ---------- 容器与网格 ---------- */
.container { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.section { position: relative; padding-block: clamp(48px, 6.5vw, 96px); }
.section-head { max-width: 60ch; margin-bottom: clamp(22px, 3vw, 40px); }

/* ---------- 排版组件 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--yellow);
}
.kicker::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.section-title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 44px);
  letter-spacing: -.02em;
  line-height: 1.18;
  color: var(--paper);
}
.lead {
  max-width: 34em;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.78;
  color: var(--moss);
}

/* ---------- 数字 ---------- */
.metric {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.03em;
  color: var(--paper);
}
.metric--xl { font-size: clamp(48px, 9vw, 120px); font-weight: 700; line-height: .92; }
.metric--warn { color: var(--yellow); }
.metric--red { color: var(--red); }
.metric--blue { color: var(--blue); }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  background: linear-gradient(158deg, rgba(16, 50, 58, .86), rgba(7, 20, 15, .94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .32);
  transition: border-color .28s var(--ease), transform .32s var(--ease), box-shadow .32s var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* ---------- 标签 ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(16, 50, 58, .6);
  color: var(--moss);
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.tag:hover { color: var(--paper); border-color: var(--yellow); background: rgba(242, 195, 27, .12); }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--moss);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item a { color: var(--moss); text-decoration: none; transition: color .2s ease; }
.breadcrumbs__item a:hover { color: var(--yellow); }
.breadcrumbs__item[aria-current="page"] { color: var(--paper); }
.breadcrumbs__sep { color: rgba(157, 179, 168, .42); }

/* ---------- 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(70, 168, 255, .12), transparent 60%),
    linear-gradient(150deg, var(--pitch), var(--slate) 58%, var(--ink));
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(70, 168, 255, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 168, 255, .10) 1px, transparent 1px);
  background-size: 32px 32px;
}
.media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 14px 12px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(241, 246, 243, .82);
  background: linear-gradient(180deg, transparent, rgba(6, 17, 12, .88));
}
.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x4 { aspect-ratio: 3 / 4; }

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   断点：平板
   ========================================================= */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-3, .col-4, .col-5 { grid-column: span 3; }
  .col-6, .col-7, .col-8, .col-9 { grid-column: span 6; }
  .col-12 { grid-column: span 6; }
}

@media (min-width: 780px) {
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 640px) {
  .footer__base .badge { margin-left: auto; }
}

/* =========================================================
   断点：桌面框架（左侧第二格轨）
   ========================================================= */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  .topbar { left: var(--rail-w); }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px;
    background: linear-gradient(180deg, var(--pitch) 0%, var(--ink) 62%, #040C08 100%);
    border-right: 1px solid var(--line);
  }
  .rail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--red));
  }
  .rail__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--moss);
    text-decoration: none;
    font-size: 11.5px;
    letter-spacing: .2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transition: color var(--dur) var(--ease);
  }
  .rail__link:hover { color: var(--paper); }
  .rail__mark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0;
    border-radius: 2px;
  }
  .rail__pulse {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    animation: rail-pulse 2.6s ease-out infinite;
  }
  .footer__inner { grid-template-columns: 1fr 1.9fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1120px) {
  .footer__inner { grid-template-columns: 1.1fr 1.9fr 1.25fr; }
  .footer__brand { grid-column: auto; }
}

@keyframes rail-pulse {
  0% { box-shadow: 0 0 0 0 rgba(70, 168, 255, .5); }
  70% { box-shadow: 0 0 0 12px rgba(70, 168, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 168, 255, 0); }
}

/* =========================================================
   断点：桌面横向导航
   ========================================================= */
@media (min-width: 1200px) {
  .nav {
    position: static;
    flex: 0 1 auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav__list { flex-direction: row; align-items: center; gap: clamp(8px, 1vw, 18px); }
  .nav__link {
    position: relative;
    display: inline-block;
    padding: 6px 2px;
    border-bottom: 0;
    color: var(--moss);
    font-size: 13.5px;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .nav__link:hover { color: var(--paper); padding-left: 2px; }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .nav__link[aria-current="page"] { color: var(--paper); }

  .topbar__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
  }
  .nav-toggle { display: none; }
}

@media (min-width: 1440px) {
  .hint { display: inline-block; }
}

/* =========================================================
   断点：手机
   ========================================================= */
@media (max-width: 620px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: span 1; }
  .brand__tag { display: none; }
  .brand__glyph { width: 34px; height: 34px; font-size: 17px; }
  .brand__name { font-size: 16.5px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   无障碍与降级
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .to-top { transition: none; }
  .rail__pulse { animation: none; }
}
