/* ============================================================
   /assets/site.css — 城市同频 · 博业体育赛事 共享外壳与通用组件
   ============================================================ */

/* ---------- 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;
  padding: 0;
}

ul, ol { list-style: none; }

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

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

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

[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --abyss: #0B1B2B;
  --deep: #102A3E;
  --ink: #061019;
  --silver-a: #C7D3DC;
  --silver-b: #7C8FA0;
  --cyan: #35E0C8;
  --cyan-soft: rgba(53, 224, 200, 0.14);
  --orange: #FF7A33;
  --orange-soft: rgba(255, 122, 51, 0.12);
  --cream: #F2EFE9;
  --rock: #8E9BA6;
  --line: #6E7B85;
  --moss: #4F7A5A;
  --moss-lift: #8AC79C;
  --clay: #C4744F;

  --tide: linear-gradient(90deg, rgba(199,211,220,0) 0%, rgba(199,211,220,.55) 22%, rgba(124,143,160,.28) 60%, rgba(199,211,220,0) 100%);

  --shell-max: 1280px;
  --gap: 24px;

  --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-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --t-body: 17px;
  --t-note: 14px;
}

/* ---------- base ---------- */
body {
  background-color: var(--abyss);
  background-image:
    radial-gradient(58% 38% at 8% 0%, rgba(53, 224, 200, 0.10), transparent 68%),
    radial-gradient(46% 32% at 94% 4%, rgba(255, 122, 51, 0.07), transparent 70%),
    radial-gradient(70% 50% at 50% 100%, rgba(16, 42, 62, 0.55), transparent 72%);
  background-repeat: no-repeat;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: var(--t-body);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cream);
}

h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(21px, 2.4vw, 30px); font-weight: 700; letter-spacing: 0.03em; }
h4 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: 0.03em; }

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

::selection {
  background: rgba(53, 224, 200, 0.28);
  color: var(--cream);
}

/* ---------- layout primitives ---------- */
.shell {
  width: min(var(--shell-max), 100% - 40px);
  margin-inline: auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.grid-col-3 { grid-column: span 3; }
.grid-col-4 { grid-column: span 4; }
.grid-col-5 { grid-column: span 5; }
.grid-col-6 { grid-column: span 6; }
.grid-col-7 { grid-column: span 7; }
.grid-col-8 { grid-column: span 8; }
.grid-col-9 { grid-column: span 9; }
.grid-col-12 { grid-column: span 12; }

.section { padding-block: 56px; }

.tide-rule {
  height: 1px;
  border: 0;
  background: var(--tide);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.85;
}

.prose {
  max-width: 68ch;
  font-size: var(--t-body);
  line-height: 1.75;
  color: var(--cream);
}

.prose p + p { margin-top: 1.05em; }

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 224, 200, 0.42);
  transition: border-color 0.16s ease;
}

.prose a:hover { border-bottom-color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  transition: background-color 0.16s ease, color 0.16s ease,
              border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn--primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 16px 32px -18px rgba(53, 224, 200, 0.95);
}

.btn--primary:hover { background: #5CEBDA; }

.btn--alert {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 16px 32px -18px rgba(255, 122, 51, 0.95);
}

.btn--alert:hover { background: #FF9052; }

.btn--ghost {
  border-color: rgba(110, 123, 133, 0.55);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- breadcrumb ---------- */
.breadcrumb { padding-top: 22px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rock);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--line);
  transform: rotate(45deg);
  border-radius: 1px;
}

.breadcrumb__link {
  color: var(--rock);
  transition: color 0.16s ease;
}

.breadcrumb__link:hover { color: var(--cyan); }

.breadcrumb__current { color: var(--silver-a); }

/* ---------- data display ---------- */
.data-figure {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.data-figure__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.data-figure__value--alert { color: var(--orange); }
.data-figure__value--sync { color: var(--cyan); }

.data-figure__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--rock);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(110, 123, 133, 0.45);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--silver-a);
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.tag--alert {
  border-color: rgba(255, 122, 51, 0.6);
  background: var(--orange-soft);
  color: var(--orange);
}

.tag--alert::before { background: var(--orange); }

.tag--sync {
  border-color: rgba(79, 122, 90, 0.9);
  background: rgba(79, 122, 90, 0.2);
  color: var(--moss-lift);
  font-weight: 700;
}

.tag--sync::before { background: var(--moss-lift); }

/* ---------- media frames ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(110, 123, 133, 0.35);
  background: linear-gradient(158deg, #102A3E 0%, #061019 100%);
  aspect-ratio: 16 / 10;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(199, 211, 220, 0.07) 0 1px, transparent 1px 64px),
    linear-gradient(180deg, rgba(11, 27, 43, 0.08), rgba(11, 27, 43, 0.66));
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 20px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver-a);
  background: linear-gradient(180deg, rgba(6, 16, 25, 0) 0%, rgba(6, 16, 25, 0.92) 78%);
}

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

/* ---------- reveal protocol ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.skip-link {
  position: fixed;
  top: -90px;
  left: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 16, 25, 0.96) 0%, rgba(11, 27, 43, 0.88) 100%);
  border-bottom: 1px solid rgba(110, 123, 133, 0.28);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-condensed {
  border-bottom-color: rgba(53, 224, 200, 0.36);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(var(--shell-max), 100% - 40px);
  margin-inline: auto;
  padding: 14px 0 12px;
  transition: padding 0.25s ease;
}

.site-header.is-condensed .header-rail { padding: 9px 0 8px; }

/* brand island */
.brand-island { flex: 0 0 auto; }

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 20px 9px 17px;
  border-radius: 18px;
  border: 1px solid rgba(110, 123, 133, 0.45);
  background: linear-gradient(150deg, rgba(16, 42, 62, 0.96) 0%, rgba(6, 16, 25, 0.94) 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-mark:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(53, 224, 200, 0.35);
}

.brand-mark__city {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.brand-mark__sign {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.3em;
  color: var(--rock);
}

/* floating capsule nav */
.nav-capsule {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-capsule__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(110, 123, 133, 0.35);
  background: rgba(16, 42, 62, 0.8);
  box-shadow: inset 0 1px 0 rgba(199, 211, 220, 0.08);
}

.nav-capsule__link {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--silver-a);
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-capsule__link:hover {
  background: rgba(53, 224, 200, 0.16);
  color: var(--cyan);
}

.nav-capsule__link[aria-current="page"] {
  background: var(--cyan);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 22px -12px rgba(53, 224, 200, 0.95);
}

/* header tools */
.header-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 51, 0.5);
  background: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.version-badge:hover { background: rgba(255, 122, 51, 0.24); }
.version-badge[aria-expanded="true"] {
  background: rgba(255, 122, 51, 0.28);
  border-color: var(--orange);
}

.version-badge__led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: led-breathe 2.6s ease-in-out infinite;
}

@keyframes led-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 51, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(255, 122, 51, 0); }
}

.tool-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--rock);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.tool-link:hover {
  color: var(--cyan);
  border-color: rgba(53, 224, 200, 0.45);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(110, 123, 133, 0.5);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.site-header[data-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

/* version panel */
.version-panel {
  border-top: 1px solid rgba(110, 123, 133, 0.25);
  background: linear-gradient(180deg, rgba(6, 16, 25, 0.97) 0%, rgba(16, 42, 62, 0.9) 100%);
}

.version-panel__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  width: min(var(--shell-max), 100% - 40px);
  margin-inline: auto;
  padding: 22px 0 24px;
}

.version-panel__title {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.version-panel__list {
  display: grid;
  gap: 7px;
}

.version-panel__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver-a);
}

.version-panel__list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 10px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.version-panel__cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 224, 200, 0.5);
}

.version-panel__cta:hover { border-bottom-color: var(--cyan); }

.version-panel__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--rock);
}

/* league strip */
.league-strip {
  border-top: 1px solid rgba(110, 123, 133, 0.22);
  background: rgba(6, 16, 25, 0.55);
}

.league-strip__track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(var(--shell-max), 100% - 40px);
  margin-inline: auto;
  padding: 9px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.league-chip {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(110, 123, 133, 0.42);
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--silver-a);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.league-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 1px;
  vertical-align: middle;
  background: var(--line);
  transition: background-color 0.16s ease;
}

.league-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.league-chip[aria-pressed="true"] {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-weight: 700;
}

.league-chip[aria-pressed="true"]::before { background: var(--cyan); }

/* scroll progress */
.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, #8CF5E6 100%);
  box-shadow: 0 0 12px rgba(53, 224, 200, 0.75);
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 72px;
  background: linear-gradient(180deg, #061019 0%, #0A1622 100%);
  border-top: 1px solid rgba(53, 224, 200, 0.22);
  color: var(--silver-a);
}

.footer-tide {
  height: 2px;
  background: linear-gradient(90deg,
    rgba(199, 211, 220, 0) 0%,
    rgba(199, 211, 220, 0.7) 26%,
    var(--cyan) 52%,
    rgba(124, 143, 160, 0.5) 78%,
    rgba(199, 211, 220, 0) 100%);
  opacity: 0.75;
}

.footer-shell {
  width: min(var(--shell-max), 100% - 40px);
  margin-inline: auto;
  padding: 56px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.2fr;
  gap: 48px;
  padding-bottom: 38px;
}

.footer-brand-block { max-width: 320px; }

.footer-brand { display: block; }

.footer-brand__city {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.footer-brand__sign {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--rock);
}

.footer-line {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--rock);
}

.footer-note {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(53, 224, 200, 0.4);
  font-size: 13px;
  line-height: 1.7;
  color: var(--rock);
}

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

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(110, 123, 133, 0.35);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.footer-col__list { display: grid; gap: 10px; }

.footer-col__link {
  display: inline-block;
  font-size: 14px;
  color: var(--silver-a);
  transition: color 0.16s ease, transform 0.16s ease;
}

.footer-col__link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(110, 123, 133, 0.3);
  background: rgba(16, 42, 62, 0.55);
}

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--rock);
}

.footer-contact__value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
  word-break: break-word;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(110, 123, 133, 0.28);
}

.footer-base__meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--rock);
}

.footer-base__icp { color: var(--silver-a); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .nav-capsule__link { padding: 9px 12px; font-size: 14px; }
  .tool-link { display: none; }
}

@media (max-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid-col-3,
  .grid-col-4,
  .grid-col-5 { grid-column: span 6; }
  .grid-col-6,
  .grid-col-7,
  .grid-col-8,
  .grid-col-9,
  .grid-col-12 { grid-column: span 6; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand-block { max-width: 460px; }
  .version-panel__inner { grid-template-columns: 1fr 1fr; }

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

  .nav-capsule {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    background: linear-gradient(180deg, rgba(6, 16, 25, 0.985) 0%, rgba(11, 27, 43, 0.985) 100%);
    border-bottom: 1px solid rgba(53, 224, 200, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

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

  .nav-capsule__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .nav-capsule__link {
    padding: 13px 16px;
    border-radius: 12px;
    border-left: 2px solid transparent;
    font-size: 16px;
  }

  .nav-capsule__link[aria-current="page"] {
    border-radius: 12px;
    border-left-color: var(--cyan);
    background: rgba(53, 224, 200, 0.16);
    color: var(--cyan);
    box-shadow: none;
  }

  .league-chip { min-height: 44px; padding: 10px 18px; }
}

@media (max-width: 900px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  :root { --t-body: 16px; --gap: 16px; }

  .shell,
  .header-rail,
  .footer-shell,
  .version-panel__inner,
  .league-strip__track { width: calc(100% - 28px); }

  .grid-12 { grid-template-columns: 1fr; }
  .grid-col-3,
  .grid-col-4,
  .grid-col-5,
  .grid-col-6,
  .grid-col-7,
  .grid-col-8,
  .grid-col-9,
  .grid-col-12 { grid-column: span 1; }

  .site-footer { margin-top: 52px; }
  .footer-shell { padding: 40px 0 22px; }
  .footer-columns { grid-template-columns: 1fr; gap: 26px; }
  .footer-contact { padding: 18px; margin-top: 32px; }
  .version-panel__inner { grid-template-columns: 1fr; gap: 20px; }
  .brand-mark { padding: 7px 16px 8px 14px; }
  .brand-mark__city { font-size: 17px; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 8px 13px; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@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;
    transition-delay: 0ms !important;
  }

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

  .footer-col__link:hover { transform: none; }
}
