/* ============================================================
   BALLBET 贝博体育 — /assets/site.css
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

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

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

html[data-nav-open] { overflow: hidden; }

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

ul, ol { list-style: none; }

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

a { color: inherit; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { border: 0; background: none; }

::selection {
  background: var(--cyan);
  color: #04120E;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink:        #07120E;
  --panel:      #0E211B;
  --pine:       #14302A;
  --cyan:       #00E5C0;
  --cyan-soft:  #7CFFE0;
  --orange:     #FF7A2F;
  --orange-soft:#FFC98A;
  --silver:     #C6CFCB;
  --muted:      #8A9A94;
  --white:      #F2F6F4;

  --rail-w:   88px;
  --ticker-h: 44px;

  --edge: 2px solid var(--pine);
  --edge-strong: 2px solid var(--muted);
  --shadow-hard: 6px 6px 0 rgba(3, 10, 8, 0.62);
  --sp: 8px;

  --font-display: "Archivo Narrow", "Roboto Condensed", "Oswald", "Arial Narrow",
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
               "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Menlo, Consolas,
               "Liberation Mono", "DejaVu Sans Mono", monospace;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia,
                "Times New Roman", serif;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. 基础与中文排版 ---------- */
body {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  padding-top: var(--ticker-h);
  padding-left: var(--rail-w);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 78% at 10% -12%, rgba(0, 229, 192, 0.10), transparent 56%),
    radial-gradient(88% 62% at 102% 112%, rgba(255, 122, 47, 0.08), transparent 60%),
    repeating-linear-gradient(90deg, rgba(198, 207, 203, 0.028) 0 1px, transparent 1px 120px);
}

#main-content {
  position: relative;
  z-index: 1;
  display: block;
}

h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 800;
  line-height: 1.18;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

/* ---------- 4. 字号阶与文本组件 ---------- */
.t-hero {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: clamp(40px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--white);
}

.t-1 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.t-2 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.t-3 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
}

.t-4 { font-size: 20px; font-weight: 700; }
.t-5 { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }

.lede {
  max-width: 44ch;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
  color: var(--white);
}

.prose {
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--silver);
}

.prose p { margin-bottom: 1.1em; }

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

.note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 5. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.container--narrow { max-width: 860px; }
.container--wide { max-width: 1560px; }

.section { padding-block: clamp(48px, 7vw, 104px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.col-3, .col-4, .col-6, .col-8 { grid-column: span 12; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              box-shadow 0.18s var(--ease), transform 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.btn:hover {
  background: var(--cyan);
  color: #04120E;
  box-shadow: var(--shadow-hard);
  transform: translate(-2px, -2px);
}

.btn--primary {
  background: var(--cyan);
  color: #04120E;
}

.btn--primary:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.btn--warm {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--warm:hover {
  background: var(--orange);
  color: #180800;
}

.btn--quiet {
  border-color: var(--pine);
  color: var(--silver);
}

.btn--quiet:hover {
  background: var(--pine);
  color: var(--white);
  box-shadow: none;
  transform: none;
}

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--pine);
}

.breadcrumb__link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

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

.breadcrumb__current { color: var(--cyan-soft); }

/* ---------- 8. 展签 ---------- */
.exhibit {
  position: relative;
  padding: 26px 22px 22px;
  background: var(--panel);
  border: var(--edge);
  box-shadow: var(--shadow-hard);
}

.exhibit__no {
  position: absolute;
  top: -2px;
  left: -2px;
  padding: 4px 12px 4px 10px;
  background: var(--orange);
  color: #180800;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 9px));
}

.exhibit__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--white);
  letter-spacing: -0.01em;
}

.exhibit__desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 9. 标签页 ---------- */
.tabs { margin: 0; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 2px solid var(--pine);
}

.tab {
  appearance: none;
  margin-bottom: -2px;
  padding: 10px 16px;
  background: transparent;
  border: 2px solid transparent;
  border-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease),
              border-color 0.16s var(--ease);
}

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

.tab[aria-selected="true"],
.tab.is-active {
  background: var(--panel);
  border-color: var(--pine);
  color: var(--cyan);
  box-shadow: inset 0 -4px 0 var(--cyan);
}

.tab-panel { padding: 22px 0 0; }
.tab-panel[hidden] { display: none; }

/* ---------- 10. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--pine);
  border: var(--edge);
  box-shadow: var(--shadow-hard);
}

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

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.94);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 229, 192, 0.07), transparent 46%),
              linear-gradient(0deg, rgba(7, 18, 14, 0.72), transparent 42%);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 9px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--cyan-soft);
}

/* ---------- 11. 数据块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--pine);
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--orange);
}

.stat__label {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 12. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal].is-visible,
.no-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cyan);
  border: 2px solid var(--ink);
  color: #04120E;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-220%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 14. 头部外壳 ---------- */
.site-header {
  position: relative;
  z-index: 80;
}

/* 14.1 顶部提示条 */
.rail-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--ticker-h);
  padding: 0 14px;
  background: var(--panel);
  border-bottom: var(--edge);
}

.rail-ticker__badge {
  flex: none;
  padding: 3px 10px 3px 8px;
  background: var(--orange);
  color: #180800;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 88% 100%, 0 100%);
}

.rail-ticker__text {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--cyan-soft);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail-ticker__meta {
  flex: none;
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--pine);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.rail-ticker__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: width 0.12s linear;
}

.rail-ticker.is-live .rail-ticker__badge {
  background: var(--cyan);
  color: #04120E;
  animation: bb-pulse 1.8s ease-in-out infinite;
}

@keyframes bb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* 14.2 移动端栏目按钮 */
.nav-toggle {
  position: fixed;
  top: var(--ticker-h);
  right: 0;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--panel);
  border: var(--edge);
  border-right: 0;
  border-top: 0;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle__grid {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-auto-rows: 7px;
  gap: 3px;
}

.nav-toggle__grid i {
  display: block;
  background: var(--cyan);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__grid i:nth-child(2),
.nav-toggle[aria-expanded="true"] .nav-toggle__grid i:nth-child(4) {
  background: var(--orange);
}

.nav-toggle__text { line-height: 1; }

/* 14.3 侧边轨道 */
.site-rail {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: var(--rail-w);
  padding: 18px 10px 16px;
  background: var(--panel);
  border-right: var(--edge);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--pine) transparent;
}

.site-rail::-webkit-scrollbar { width: 6px; }
.site-rail::-webkit-scrollbar-thumb { background: var(--pine); }

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--pine);
  color: var(--white);
  text-decoration: none;
}

.brand__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--cyan);
  color: #04120E;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}

.brand__word {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cyan-soft);
}

.brand__cn {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.brand__tagline { display: none; }

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  min-height: 0;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-nav__item { display: flex; }

.site-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 4px 10px 12px;
  border: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: transparent;
  transition: background 0.18s var(--ease);
}

.site-nav__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.14em;
}

.site-nav__idx {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.site-nav__link:hover {
  background: var(--pine);
  color: var(--cyan-soft);
}

.site-nav__link[aria-current="page"] {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--cyan);
}

.site-nav__link[aria-current="page"]::before { background: var(--cyan); }

/* 赛季切换 */
.rail-block {
  padding-top: 14px;
  border-top: 2px dashed var(--pine);
}

.rail-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: center;
}

.season-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.season-chip {
  width: 100%;
  padding: 6px 0;
  background: transparent;
  border: 2px solid var(--pine);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
              background 0.16s var(--ease);
}

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

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

.season-readout {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-soft);
  text-align: center;
}

/* 轨道工具 */
.rail-utils {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.rail-btn {
  display: block;
  padding: 9px 4px;
  background: var(--pine);
  border: 2px solid var(--pine);
  color: var(--silver);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
              background 0.18s var(--ease);
}

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

.rail-btn--accent {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120E;
  font-weight: 700;
}

.rail-btn--accent:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  color: #04120E;
}

.rail-short {
  margin: 8px 0 0;
  padding: 7px 6px;
  background: #0A1A15;
  border: 1px dashed var(--pine);
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  word-break: break-all;
}

.rail-short[hidden] { display: none; }

/* 遮罩 */
.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(3, 10, 8, 0.74);
  backdrop-filter: blur(2px);
}

.rail-scrim[hidden] { display: none; }

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--panel);
  border-top: 2px solid var(--pine);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--cyan);
}

.footer-grid {
  display: grid;
  gap: clamp(28px, 3.4vw, 44px);
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(130px, 0.9fr)) minmax(220px, 1.3fr);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 48px);
}

.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--cyan);
  color: #04120E;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 76% 100%, 0 100%);
}

.footer-brand__name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-brand__line {
  margin: 18px 0 10px;
  max-width: 26ch;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.48;
  color: var(--cyan-soft);
}

.footer-brand__note {
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-link {
  display: inline-block;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  color: var(--silver);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-link[aria-current="page"] { color: var(--cyan); }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.contact-val {
  font-size: 14px;
  line-height: 1.6;
  color: var(--silver);
  word-break: break-all;
}

.contact-val--ph {
  font-family: var(--font-mono);
  font-size: 15.5px;
  letter-spacing: 0.04em;
  color: var(--orange-soft);
}

.footer-note {
  margin: 16px 0 0;
  padding-left: 11px;
  border-left: 3px solid var(--pine);
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 56px) 30px;
  border-top: 2px solid var(--pine);
}

.footer-legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-closing {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--cyan-soft);
}

/* ---------- 16. 响应式 ---------- */
@media (min-width: 901px) {
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-6 { grid-column: span 6; }
  .col-8 { grid-column: span 8; }
}

@media (min-width: 901px) and (max-height: 900px) {
  .site-rail {
    gap: 10px;
    padding: 12px 10px 12px;
  }
  .brand { padding-bottom: 10px; gap: 5px; }
  .brand__glyph { width: 30px; height: 30px; font-size: 18px; }
  .brand__word { font-size: 9.5px; }
  .brand__cn { font-size: 11px; }
  .site-nav__label { font-size: 11px; letter-spacing: 0.1em; }
  .site-nav__link { padding: 7px 4px 7px 12px; }
  .rail-block { padding-top: 10px; }
  .season-chip { padding: 4px 0; font-size: 10px; }
  .rail-btn { padding: 7px 4px; font-size: 10.5px; }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  body { padding-left: 0; }

  .nav-toggle { display: flex; }

  .rail-ticker__meta { display: none; }

  .site-rail {
    width: min(304px, 86vw);
    padding: 22px 18px 24px;
    border-right: 2px solid var(--cyan);
    box-shadow: var(--shadow-hard);
    transform: translateX(-100%);
    transition: transform 0.28s var(--ease);
  }

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

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 11px;
    padding-bottom: 12px;
  }

  .brand__tagline {
    display: block;
    margin: 0 0 4px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--muted);
  }

  .site-nav__list { gap: 2px; }

  .site-nav__link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 12px 12px 16px;
    border-bottom: 1px solid var(--pine);
  }

  .site-nav__link::before { top: 4px; bottom: 4px; }

  .site-nav__label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .site-nav__idx { display: block; }

  .rail-label { text-align: left; }

  .season-list { grid-template-columns: repeat(4, 1fr); }

  .season-readout { text-align: left; }

  .rail-utils {
    flex-direction: row;
    margin-top: 10px;
  }

  .rail-btn { flex: 1; font-size: 12.5px; padding: 11px 6px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.72; }

  .rail-ticker { gap: 9px; padding: 0 10px; }
  .rail-ticker__text { font-size: 12px; }

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-3, .col-4, .col-6, .col-8 { grid-column: span 6; }

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

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 减少动效 ---------- */
@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;
  }

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

  .rail-ticker__progress { transition: none; }
}
