/* ============================================================
   亚星游戏看台 · 共享样式 /assets/site.css
   夜间球场资料台：墨绿夜底 + 侧边索引轨道 + 赛程带母题
   ============================================================ */

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

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

a { color: inherit; }

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

::selection {
  background: var(--lime);
  color: #0A120C;
}

/* ---------- 2. 变量 ---------- */
:root {
  /* 矿物 + 赛场色板 */
  --ink: #0B1410;
  --panel: #14181A;
  --moss: #24382C;
  --stone: #6E7A72;
  --linen: #F2EFE4;
  --lime: #C6F24E;
  --amber: #FF9A3C;
  --violet: #8E7BFF;
  --clay: #C4643F;
  --teal: #2E8F6B;

  /* 结构 */
  --rail-w: 268px;
  --status-h: 34px;
  --brandbar-h: 62px;
  --header-h: 96px; /* status + brandbar */
  --gutter: clamp(18px, 4vw, 56px);

  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --line: rgba(110, 122, 114, 0.26);
  --line-soft: rgba(110, 122, 114, 0.14);

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

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

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--linen);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 640px at 8% -10%, rgba(198, 242, 78, 0.075), transparent 62%),
    radial-gradient(920px 540px at 98% 2%, rgba(142, 123, 255, 0.09), transparent 58%),
    repeating-linear-gradient(90deg, rgba(242, 239, 228, 0.024) 0 1px, transparent 1px 112px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { max-width: 38em; }

#main-content {
  padding-top: var(--header-h);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- 4. 原子类 ---------- */
.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--stone);
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 14px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #0A120C;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

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

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 20, 16, 0.94);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

/* 6.1 状态带 */
.status-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--status-h);
  padding: 0 var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

.status-bar__live {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.16);
}

.status-bar__text {
  max-width: none;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.status-bar__text b {
  color: var(--linen);
  font-weight: 600;
}

.status-bar__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--teal), var(--lime) 52%, var(--amber));
  transition: width 120ms linear;
}

/* 6.2 品牌行 */
.header-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--brandbar-h);
  padding: 0 var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: conic-gradient(from 205deg, var(--lime), var(--teal), var(--violet), var(--lime));
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  background: var(--ink);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--linen);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__note {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--stone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 6.3 菜单按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 9px 15px 9px 13px;
  border: 1px solid rgba(110, 122, 114, 0.45);
  border-radius: var(--radius-pill);
  color: var(--linen);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(198, 242, 78, 0.07);
}

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

.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(198, 242, 78, 0.09);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 6.4 导航轨道（移动端 = 抽屉） */
.rail-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 89;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px var(--gutter) 26px;
  background: #101714;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease),
    visibility 180ms linear;
}

.rail-nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rail-nav__title {
  max-width: none;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--stone);
}

.rail-nav__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
}

.rail-nav__item { display: block; }

.rail-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 20px;
  border-radius: var(--radius-pill);
  color: var(--stone);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.rail-link::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--lime);
  transform: translateY(-50%);
  transition: height var(--dur) var(--ease);
}

.rail-link__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
  transition: color var(--dur) var(--ease);
}

.rail-link__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.rail-link:hover {
  color: var(--linen);
  background: rgba(36, 56, 44, 0.72);
}

.rail-link[aria-current="page"] {
  color: var(--linen);
  background: linear-gradient(90deg, rgba(198, 242, 78, 0.2), rgba(198, 242, 78, 0.03));
  box-shadow: inset 0 0 0 1px rgba(198, 242, 78, 0.28);
}

.rail-link[aria-current="page"]::before { height: 20px; }

.rail-link[aria-current="page"] .rail-link__num { color: var(--lime); }

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 22px;
}

.rail-actions .btn { width: 100%; }

/* ---------- 7. 按钮 / 开关 / 卡片 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A120C;
}

.btn--primary:hover {
  background: #D8FF74;
  border-color: #D8FF74;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(110, 122, 114, 0.5);
  color: var(--linen);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(198, 242, 78, 0.06);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(110, 122, 114, 0.45);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--stone);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.chip:hover {
  color: var(--linen);
  border-color: rgba(198, 242, 78, 0.6);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A120C;
}

.card {
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.card:hover { border-color: rgba(198, 242, 78, 0.55); }

.copy-btn {
  flex: none;
  padding: 3px 11px;
  border: 1px solid rgba(110, 122, 114, 0.45);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.copy-btn:hover {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(198, 242, 78, 0.08);
}

.copy-btn[data-copied="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A120C;
}

/* ---------- 8. 容器 / 面包屑 / 图片容器 ---------- */
.page-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 52px) var(--gutter) 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.crumbs a {
  color: var(--stone);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

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

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(110, 122, 114, 0.6);
}

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

.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(110, 122, 114, 0.3);
  border-radius: var(--radius-md);
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(198, 242, 78, 0.12), transparent 62%),
    linear-gradient(160deg, var(--moss), var(--panel));
}

.media > img,
.media > picture,
.media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 228, 0.72);
  pointer-events: none;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(38px, 6vw, 76px) var(--gutter) 0;
  border-top: 1px solid var(--line);
  background-image:
    radial-gradient(900px 380px at 88% 0%, rgba(142, 123, 255, 0.1), transparent 62%),
    radial-gradient(680px 320px at 6% 100%, rgba(198, 242, 78, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(20, 24, 26, 0.94), rgba(11, 20, 16, 1));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  max-width: 1320px;
  margin: 0 auto;
}

.footer-brand { min-width: 0; }

.footer-brand__name {
  max-width: none;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--linen);
}

.footer-brand__note {
  max-width: 26em;
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--stone);
}

.footer-brand__meta {
  max-width: none;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: rgba(110, 122, 114, 0.9);
}

.footer-brand::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 230px;
  height: 2px;
  margin-top: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), var(--violet) 52%, var(--amber));
  opacity: 0.75;
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px 20px;
}

.footer-col { min-width: 0; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.footer-col__title::before {
  content: "";
  flex: none;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--lime);
}

.footer-list li + li { margin-top: 1px; }

.footer-list a {
  display: inline-block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--stone);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 3px);
  background-size: 0 1px;
  transition: color var(--dur) var(--ease), background-size 190ms var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--linen);
  background-size: 100% 1px;
}

.footer-contact { min-width: 0; }

.footer-contact__title {
  max-width: none;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.footer-contact__row {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(110, 122, 114, 0.22);
}

.footer-contact__row:last-of-type { border-bottom: 0; }

.footer-contact__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.footer-contact__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 3px;
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--linen);
  word-break: break-all;
}

.footer-contact__value--text {
  font-family: var(--font-body);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  word-break: normal;
}

.footer-contact__hours {
  max-width: none;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 154, 60, 0.92);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  max-width: 1320px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--stone);
}

.footer-legal__copy { max-width: none; }

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: none;
  margin-left: auto;
}

.footer-legal__links a {
  color: var(--stone);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

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

.footer-legal__icp {
  max-width: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(110, 122, 114, 0.9);
}

/* ---------- 10. 平板 / 移动端微调 ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }

  .media,
  .media--wide,
  .media--panorama { aspect-ratio: 16 / 10; }

  .footer-legal__links { margin-left: 0; }
}

@media (max-width: 419px) {
  .status-bar__text { font-size: 10.5px; letter-spacing: 0.02em; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 10px 13px; }
}

@media (min-width: 480px) and (max-width: 1199px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .rail-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .rail-actions { flex-direction: row; }
  .rail-actions .btn { width: auto; flex: 1 1 auto; }

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

@media (min-width: 768px) and (max-width: 1199px) {
  .footer-top { gap: 40px; }
}

/* ---------- 11. 桌面：左侧常驻索引轨道 ---------- */
@media (min-width: 1200px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: linear-gradient(180deg, #131A18 0%, #0B1410 68%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header::after {
    content: "SEASON ARCHIVE · 2024-25";
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.3em;
    color: rgba(110, 122, 114, 0.55);
    pointer-events: none;
  }

  .status-bar {
    flex: none;
    align-items: flex-start;
    height: auto;
    padding: 14px 22px 13px;
    font-size: 11px;
    line-height: 1.6;
    border-bottom: 1px solid var(--line-soft);
  }

  .status-bar__live { margin-top: 5px; }

  .status-bar__text {
    flex: 1 1 auto;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    line-height: 1.7;
    letter-spacing: 0.03em;
  }

  .header-shell {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 0;
  }

  .brand {
    flex: none;
    padding: 18px 22px 16px;
    border-bottom: 1px solid var(--line-soft);
  }

  .brand__name { font-size: 18px; }

  .nav-toggle { display: none; }

  .rail-nav {
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .rail-nav__title { padding-left: 20px; }

  .rail-nav__list { margin-top: 10px; }

  .rail-link { padding-right: 26px; }

  .rail-actions {
    margin-top: auto;
    padding-top: 26px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr) minmax(0, 1.45fr);
    gap: 48px;
    align-items: start;
  }

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

  .footer-legal { padding-bottom: 32px; }
}

/* ---------- 12. 焦点态与动效降级 ---------- */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

@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;
  }

  .rail-nav {
    transform: none !important;
  }
}
