/* ==========================================================================
   爱体育手机 · /assets/site.css
   夜间球场灯光下的数据面板：深绿底色 / 暖纸卡片 / 电子蓝导航 / 荧光橙比分
   ========================================================================== */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:where(h1, h2, h3, h4) {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
}

/* ---------- 变量 ---------- */
:root {
  --night: #0B2E21;
  --night-deep: #082219;
  --turf: #14402D;
  --turf-soft: #1B4F38;
  --paper: #F4EDDF;
  --paper-dim: #E3D9C4;
  --ink: #10161A;
  --blue: #1F6BFF;
  --blue-deep: #0F4FCC;
  --orange: #FF7A21;
  --lime: #C8F24C;
  --red: #E14A3C;
  --silver: #D7DCD6;
  --muted: #9BA69F;

  --rail-w: 220px;
  --wrap-max: 1240px;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --shadow-1: 0 10px 26px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 18px 44px rgba(0, 0, 0, 0.4);

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "DIN Alternate", "Roboto Condensed", "Helvetica Neue Condensed", var(--font-sans);
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --hair: rgba(215, 220, 214, 0.14);
  --hair-strong: rgba(215, 220, 214, 0.28);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 620px at 88% -12%, rgba(31, 107, 255, 0.14), transparent 62%),
    radial-gradient(760px 520px at 6% 108%, rgba(255, 122, 33, 0.1), transparent 65%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1100px) {
  body { font-size: 17px; }
}

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

#main-content:focus { outline: none; }

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  top: -4.5rem;
  left: var(--gutter);
  z-index: 140;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 14px 14px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

/* ==========================================================================
   头部 · 品牌轨道 + 栏目带
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, var(--night) 0%, rgba(11, 46, 33, 0.97) 100%);
  border-bottom: 1px solid var(--hair);
  backdrop-filter: blur(6px);
}

.site-header::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(6, 20, 15, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

html[data-nav-open] .site-header::after {
  opacity: 1;
  pointer-events: auto;
}

/* 上层：品牌轨道 */
.rail-band {
  background-color: var(--turf);
  background-image:
    repeating-linear-gradient(115deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      transparent 2px 28px);
  border-bottom: 1px solid var(--hair);
}

.rail-band__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2rem);
  min-height: 78px;
  padding-block: 0.8rem;
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.rail-brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--orange), #FFB066);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(255, 122, 33, 0.3);
}

.rail-brand__text { min-width: 0; }

.brand {
  display: inline-block;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand:hover { color: var(--lime); }

.brand-tagline {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--muted);
}

.round-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(200, 242, 76, 0.32);
  border-radius: 999px;
  background: rgba(200, 242, 76, 0.08);
  font-size: 0.82rem;
  line-height: 1;
  color: var(--silver);
  white-space: nowrap;
}

.round-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 242, 76, 0.55);
  animation: strip-pulse 2.4s ease-out infinite;
}

@keyframes strip-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 242, 76, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(200, 242, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 242, 76, 0); }
}

.round-strip__label {
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.round-strip__value {
  font-family: var(--font-num);
  letter-spacing: 0.02em;
  color: var(--paper);
}

/* 纵向旋转小注释 */
.rail-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  align-self: center;
  margin-left: 0.4rem;
  font-size: 12px;
  letter-spacing: 0.3em;
  line-height: 1;
  color: rgba(155, 166, 159, 0.85);
  white-space: nowrap;
  user-select: none;
}

/* 下层：栏目带 */
.navbar {
  background: rgba(9, 39, 28, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding-block: 0.35rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.site-nav__list a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--silver);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__list a:hover {
  background: rgba(244, 237, 223, 0.08);
  color: var(--paper);
}

.site-nav__list a[aria-current="page"] {
  background: rgba(255, 122, 33, 0.16);
  color: var(--orange);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 33, 0.5);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 -6px 0 var(--lime), 0 6px 0 var(--lime);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(255, 122, 33, 0.6);
  color: var(--orange);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: var(--orange);
  box-shadow: 0 -6px 0 var(--orange), 0 6px 0 var(--orange);
}

/* 联赛切换胶囊 */
.league-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  min-width: 0;
}

.league-switch__label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  white-space: nowrap;
}

.league-switch__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.league-switch__list::-webkit-scrollbar { display: none; }

.league-pill {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(31, 107, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: var(--silver);
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.league-pill:hover {
  border-color: var(--blue);
  color: var(--paper);
  transform: translateY(-1px);
}

.league-pill.is-active,
.league-pill[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 8px 18px rgba(31, 107, 255, 0.35);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(244, 237, 223, 0.08);
}

.scroll-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--lime) 55%, var(--orange));
}

/* ==========================================================================
   通用区块 / 标题组
   ========================================================================== */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }

.section--turf {
  background: var(--turf);
  border-block: 1px solid var(--hair);
}

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

.section--paper .section__lead { color: #4A544E; }
.section--paper .eyebrow { color: #6C776F; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  margin-top: 0.25rem;
}

.section__lead {
  max-width: 38em;
  margin-top: 0.6rem;
  color: var(--muted);
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  line-height: 1.2;
  color: var(--muted);
}

.eyebrow--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  align-self: flex-start;
  letter-spacing: 0.3em;
}

/* 斜向切割过渡 */
.slant {
  height: clamp(26px, 4.5vw, 54px);
  background: var(--turf);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ==========================================================================
   网格
   ========================================================================== */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.grid--7-5 { grid-template-columns: 7fr 5fr; }
.grid--8-4 { grid-template-columns: 8fr 4fr; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ==========================================================================
   卡片 / 标签 / 数据 / 按钮
   ========================================================================== */
.card {
  position: relative;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--turf), #0F3527);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(200, 242, 76, 0.32);
}

.card--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(16, 22, 26, 0.12);
}

.card--paper:hover,
.card--paper:focus-within {
  border-color: rgba(31, 107, 255, 0.4);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(215, 220, 214, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--silver);
  white-space: nowrap;
}

.tag--blue { border-color: rgba(31, 107, 255, 0.5); color: #A9C6FF; background: rgba(31, 107, 255, 0.14); }
.tag--orange { border-color: rgba(255, 122, 33, 0.5); color: #FFC193; background: rgba(255, 122, 33, 0.14); }
.tag--lime { border-color: rgba(200, 242, 76, 0.5); color: var(--lime); background: rgba(200, 242, 76, 0.12); }
.tag--red { border-color: rgba(225, 74, 60, 0.55); color: #FFA79D; background: rgba(225, 74, 60, 0.14); }

.stat { display: inline-flex; flex-direction: column; gap: 0.2rem; }

.stat__value {
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--orange);
}

.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.section--paper .stat__label { color: #6C776F; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: #12100D;
  box-shadow: 0 10px 24px rgba(255, 122, 33, 0.3);
}

.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 122, 33, 0.4); }

.btn--blue { background: var(--blue); color: #FFFFFF; box-shadow: 0 10px 24px rgba(31, 107, 255, 0.3); }
.btn--blue:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 107, 255, 0.4); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { transform: translateY(-3px); }

.btn--ghost { background: transparent; border-color: var(--hair-strong); color: var(--paper); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }

.section--paper .btn--ghost { border-color: rgba(16, 22, 26, 0.25); color: var(--ink); }
.section--paper .btn--ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }

/* ==========================================================================
   面包屑 / 正文
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.breadcrumb li { display: inline-flex; align-items: center; }

.breadcrumb li + li::before {
  content: "／";
  margin-right: 0.35rem;
  color: rgba(215, 220, 214, 0.42);
}

.breadcrumb a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.section--paper .breadcrumb { color: #6C776F; }
.section--paper .breadcrumb a { color: var(--blue-deep); }
.section--paper .breadcrumb a:hover { color: var(--orange); }

.prose {
  max-width: 40em;
  font-size: 1.02rem;
  line-height: 1.78;
}

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

.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.4em; }

.prose ul,
.prose ol {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

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

.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.section--paper .prose { color: var(--ink); }
.section--paper .prose a { color: var(--blue-deep); }

/* ==========================================================================
   媒体容器（页面阶段放置球场俯拍 / 看台 / 拼抢 / 数据图形）
   ========================================================================== */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--turf);
  background-image:
    radial-gradient(120% 120% at 14% 8%, rgba(31, 107, 255, 0.35), transparent 62%),
    linear-gradient(150deg, var(--turf-soft), #0A2419);
  aspect-ratio: 16 / 10;
}

.media img,
.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 46, 33, 0.82);
  border: 1px solid rgba(200, 242, 76, 0.45);
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.media__caption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.section--paper .media__caption { color: #6C776F; }

.figure { margin: 0; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  margin-top: clamp(2rem, 6vw, 4.5rem);
  background: var(--turf);
  border-top: 1px solid var(--hair);
  color: var(--silver);
  padding-top: clamp(1.75rem, 4.5vw, 3rem);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  padding-bottom: clamp(1rem, 3vw, 1.6rem);
  border-bottom: 1px solid var(--hair);
}

.brand--footer { font-size: 1.35rem; color: var(--paper); }

.footer-brand__line {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.footer-col__title {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--lime);
}

.footer-list {
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer-list a {
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-list a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

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

.footer-list--contact { gap: 0.85rem; }

.footer-contact__key {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.footer-contact__val {
  font-family: var(--font-num);
  letter-spacing: 0.02em;
  color: var(--paper);
  word-break: break-word;
}

.footer-contact__note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.copy-btn {
  padding: 0.32rem 0.78rem;
  border: 1px dashed rgba(200, 242, 76, 0.5);
  border-radius: 999px;
  background: transparent;
  color: var(--lime);
  font-size: 0.85rem;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  background: rgba(200, 242, 76, 0.12);
  border-color: var(--lime);
}

.copy-btn[data-copied] {
  background: var(--lime);
  border-color: var(--lime);
  border-style: solid;
  color: var(--ink);
}

.footer-bottom {
  background: var(--night-deep);
  border-top: 1px solid var(--hair);
  padding-block: 1.1rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.icp {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-copy { letter-spacing: 0.06em; }

/* ==========================================================================
   显现动效（仅在 JS 可用时启用）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html[data-js="on"] [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  html[data-js="on"] [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .rail-note { display: none; }
}

@media (max-width: 1024px) {
  .grid--7-5,
  .grid--8-4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(86vw, 330px);
    padding: 5.5rem 1.25rem 2.5rem;
    background: linear-gradient(180deg, var(--night) 0%, #0E3626 100%);
    border-left: 1px solid var(--hair);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
    transform: translateX(102%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.2rem;
  }

  .site-nav__list a {
    padding: 0.85rem 1rem;
    border-left: 3px solid transparent;
    border-radius: 16px;
    font-size: 1.05rem;
    color: var(--paper);
  }

  .site-nav__list a[aria-current="page"] {
    background: rgba(255, 122, 33, 0.12);
    box-shadow: none;
    border-left-color: var(--orange);
    color: var(--orange);
  }

  .league-switch__label { display: none; }
  .league-switch { gap: 0; }
}

@media (max-width: 720px) {
  .rail-band__inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 0;
    padding-block: 0.9rem;
  }

  .round-strip {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .navbar__inner { flex-wrap: nowrap; }

  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-list--league { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.08rem; }
  .brand-tagline { font-size: 0.72rem; }
  .rail-brand__mark { width: 36px; height: 36px; border-radius: 12px; font-size: 1rem; }
  .league-pill { font-size: 0.75rem; padding: 0.32rem 0.68rem; }
  .footer-list--league { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   降低动效
   ========================================================================== */
@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;
  }

  .card:hover,
  .card:focus-within,
  .btn:hover { transform: none; }
}
