/* ==========================================================================
   LEYU体育 · 城市看台
   /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, figcaption, blockquote, dl, dd {
  margin: 0;
}

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

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

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

a { color: inherit; text-decoration: none; }

table { width: 100%; border-collapse: collapse; }

/* ---------- 2. Design Tokens ---------- */
:root {
  --ink: #0B0F10;
  --concrete: #242B2D;
  --mist: #F3F6F4;
  --mint: #28F0B8;
  --signal: #FF5A3C;
  --steel: #6E7A7D;
  --deep: #0F3B33;
  --pulse: #FFC857;
  --chalk: #AEB8B6;

  --hairline: rgba(174, 184, 182, 0.20);
  --hairline-strong: rgba(174, 184, 182, 0.38);
  --mint-soft: rgba(40, 240, 184, 0.10);
  --signal-soft: rgba(255, 90, 60, 0.12);

  --rail: 72px;
  --shell: 1240px;
  --radius: 16px;

  --font-display: "Barlow Condensed", "Oswald", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "HarmonyOS Sans SC", "PingFang SC", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 3. 中文排版基线 ---------- */
html { font-size: 16px; }

body {
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

p { max-width: 74ch; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.06em;
  color: var(--mist);
}

h1 { font-size: clamp(34px, 5.2vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(16px, 1.6vw, 20px); }

strong { font-weight: 700; color: var(--mist); }

::selection { background: var(--mint); color: #06231C; }

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

[id="main-content"] { display: block; scroll-margin-top: 150px; }

/* ---------- 4. 布局与节奏 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.section { padding-block: clamp(40px, 6vw, 88px); }
.section--tight { padding-block: clamp(26px, 3.4vw, 52px); }

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 排版原子 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

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

.figure {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.figure-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 6. 按钮与标签 ---------- */
.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: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--mint); color: #06231C; }
.btn--primary:hover { background: #5CF6CD; }

.btn--ghost { border-color: var(--hairline-strong); color: var(--mist); }
.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: var(--mint-soft);
}

.btn--signal { background: var(--signal); color: #1B0602; }
.btn--signal:hover { background: #FF7A61; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chalk);
}
.tag--mint { border-color: rgba(40, 240, 184, .45); color: var(--mint); background: var(--mint-soft); }
.tag--signal { border-color: rgba(255, 90, 60, .45); color: var(--signal); background: var(--signal-soft); }
.tag--pulse { border-color: rgba(255, 200, 87, .45); color: var(--pulse); background: rgba(255, 200, 87, .08); }

/* ---------- 7. 面板与图片容器 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--concrete);
}

.panel--conclusion {
  border-left: 3px solid var(--mint);
  background: linear-gradient(150deg, #22302E 0%, var(--concrete) 68%);
}

.panel--index {
  background: linear-gradient(160deg, #1A2224, #141A1C);
}

.panel--story {
  background: transparent;
  border-style: dashed;
  border-color: var(--hairline-strong);
}

.panel--signal {
  border-color: rgba(255, 90, 60, .38);
  background: linear-gradient(160deg, rgba(255, 90, 60, .14), rgba(36, 43, 45, .94));
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--concrete);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 240, 184, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 240, 184, .10) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
}

.media-frame figcaption {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--chalk);
  background: linear-gradient(180deg, transparent, rgba(11, 15, 16, .88));
}

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

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 9px;
  color: rgba(174, 184, 182, .5);
}

.breadcrumb-link { color: #CFD8D6; transition: color .18s var(--ease); }
.breadcrumb-link:hover { color: var(--mint); }
.breadcrumb-current { color: var(--mint); }

/* ---------- 9. Header ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 14px;
  z-index: 400;
  padding: 11px 20px;
  border-radius: 0 0 6px 6px;
  background: var(--mint);
  color: #06231C;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, #0B0F10 0%, #0D1315 100%);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 18px 34px -30px #000;
}

.header-band {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
}

.header-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 0;
  border-right: 1px solid var(--hairline);
  background: repeating-linear-gradient(180deg, rgba(40, 240, 184, .07) 0 1px, transparent 1px 22px);
  overflow: hidden;
}

.rail-cap {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--mint);
}

.rail-tick {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.header-main { min-width: 0; }

/* 刊头 */
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "line brand tools";
  align-items: center;
  gap: 10px 18px;
  padding: 12px clamp(14px, 2.4vw, 30px) 10px;
}

.masthead-line {
  grid-area: line;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.brand {
  grid-area: brand;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .2s var(--ease);
}
.brand:hover { background: rgba(40, 240, 184, .08); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--mint);
  color: #06231C;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(40, 240, 184, .4), 0 0 22px -6px rgba(40, 240, 184, .85);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.brand-cn {
  margin-left: 6px;
  font-size: 0.78em;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--steel);
}

.masthead-tools {
  grid-area: tools;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 200, 87, .36);
  border-radius: 999px;
  background: rgba(255, 200, 87, .08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--pulse);
  white-space: nowrap;
}

.version-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  animation: ley-pulse 2.6s ease-in-out infinite;
}

.utility-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--chalk);
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.utility-btn:hover,
.utility-btn:focus-visible {
  color: #06231C;
  background: var(--mint);
  border-color: var(--mint);
}

/* 导航 */
.nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--hairline);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin: 7px auto;
  padding: 7px 15px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.site-header[data-open] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.site-nav { width: 100%; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: #CFD8D6;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.nav-link:hover {
  color: var(--mint);
  border-bottom-color: rgba(40, 240, 184, .5);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--steel);
  transition: color .18s var(--ease);
}

.nav-link[aria-current="page"] {
  color: var(--mint);
  border-bottom-color: var(--mint);
  background: linear-gradient(180deg, transparent, rgba(40, 240, 184, .09));
}
.nav-link[aria-current="page"] .nav-index { color: var(--mint); }

.scroll-meter {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter > span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--pulse));
  transition: width .12s linear;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, #0B0F10 0%, #080B0C 55%, #0B0F10 100%);
  border-top: 1px solid rgba(40, 240, 184, .28);
}

.footer-terrace {
  display: flex;
  align-items: stretch;
  height: 46px;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background: repeating-linear-gradient(90deg, rgba(40, 240, 184, .06) 0 1px, transparent 1px 64px);
}

.terrace-seat {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed rgba(174, 184, 182, .16);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--steel);
  white-space: nowrap;
  overflow: hidden;
}
.terrace-seat:nth-child(3n) { color: var(--mint); }
.terrace-seat:nth-child(4n) { color: rgba(255, 200, 87, .55); }

.footer-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 56px) clamp(16px, 3vw, 32px) 0;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(24px, 4vw, 60px);
}

.footer-brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mist);
  transition: color .18s var(--ease);
}
.footer-brand-name:hover { color: var(--mint); }

.footer-tagline {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mint);
}

.footer-summary {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #B9C4C2;
  max-width: 36ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
}

.footer-col-title {
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.footer-links { display: flex; flex-direction: column; }

.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: #CDD6D4;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer-link:hover {
  color: var(--mint);
  transform: translateX(4px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
  margin-top: clamp(26px, 3.4vw, 44px);
  padding: clamp(18px, 2.4vw, 26px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

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

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.contact-value {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mist);
  word-break: break-all;
}

.contact-note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--steel);
  max-width: 80ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.footer-legal { color: var(--chalk); }
.footer-note { color: var(--steel); }

/* ---------- 11. 浮动控件 ---------- */
.to-top {
  position: fixed;
  right: clamp(12px, 2.4vw, 26px);
  bottom: clamp(12px, 2.4vw, 26px);
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(40, 240, 184, .42);
  border-radius: 999px;
  background: var(--concrete);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 16px 32px -20px #000;
  transition: opacity .25s var(--ease), transform .25s var(--ease),
              visibility .25s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover { background: var(--mint); color: #06231C; }

.to-top-arrow { font-size: 13px; line-height: 1; }

.toast {
  position: fixed;
  left: 50%;
  bottom: clamp(70px, 9vw, 96px);
  z-index: 320;
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border: 1px solid rgba(40, 240, 184, .45);
  border-radius: 8px;
  background: var(--deep);
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.65;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  box-shadow: 0 22px 44px -26px #000;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s var(--ease);
}
.toast[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 12. 动效 ---------- */
@keyframes ley-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.82); }
}

@keyframes ley-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

[data-reveal][data-in] {
  animation: ley-rise .55s var(--ease) both;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .masthead-tools { justify-content: flex-end; }
}

@media (max-width: 900px) {
  :root { --rail: 0px; }

  .header-band { grid-template-columns: minmax(0, 1fr); }
  .header-rail { display: none; }

  .masthead {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "tools" "line";
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 14px clamp(12px, 4vw, 22px) 12px;
  }

  .masthead-line { font-size: 10.5px; letter-spacing: 0.12em; }
  .masthead-tools { justify-content: center; }
  .brand { justify-self: center; }

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

  .nav-bar { flex-direction: column; align-items: stretch; }

  .site-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--hairline);
    background: rgba(15, 59, 51, .28);
  }

  .site-header[data-open] .site-nav { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; padding: 6px 12px 12px; }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 10px;
    border-bottom: 1px solid var(--hairline);
    border-left: 3px solid transparent;
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: var(--hairline);
    border-left-color: var(--mint);
    background: linear-gradient(90deg, rgba(40, 240, 184, .14), transparent);
  }

  .grid--2,
  .grid--3,
  .grid--split { grid-template-columns: minmax(0, 1fr); }

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

  [id="main-content"] { scroll-margin-top: 120px; }
}

@media (max-width: 600px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top-text { display: none; }
  .to-top { padding: 11px 13px; }
  .terrace-seat { font-size: 9px; letter-spacing: 0.04em; }
  .version-badge { font-size: 10px; }
}

/* ---------- 14. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal][data-in] { animation: none; }
  .to-top { transform: none; }
}
