/* ============================================================
   天博体育 · 共享站点样式 /assets/site.css
   ============================================================ */

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

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

ul, ol { padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B1F1A;
  --panel: #101315;
  --pine: #14332B;
  --cyan: #2BE0C8;
  --amber: #F0B23C;
  --home: #3BF0D0;
  --away: #187F72;
  --pos: #55C6F0;
  --neg: #FF7A3D;
  --paper: #F4F1E8;
  --muted: #9AA6A2;
  --on-paper: #12211D;

  --text: #E4EBE8;
  --text-soft: #C4CFCB;

  --line: rgba(43, 224, 200, 0.20);
  --line-soft: rgba(154, 166, 162, 0.20);
  --line-paper: rgba(18, 33, 29, 0.22);

  --wrap: 1320px;
  --gut: clamp(16px, 3.2vw, 40px);

  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;

  --header-h: 78px;
  --header-h-compact: 58px;
  --radius: 2px;
  --dur: .32s;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .01em;
  color: var(--paper);
}

h1 { font-size: clamp(30px, 4.4vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: clamp(18px, 1.8vw, 23px); }
h4 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }

p { max-width: 42em; }

::selection { background: var(--cyan); color: #04201B; }

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

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

.muted { color: var(--muted); }
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 14px;
  z-index: 300;
  padding: 11px 18px;
  background: var(--cyan);
  color: #04201B;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 4. 容器与栅格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

#main-content {
  display: block;
  padding-top: var(--header-h);
}

.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--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }

.prose {
  max-width: 40em;
  color: var(--text-soft);
  line-height: 1.85;
}
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--paper); font-weight: 700; }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(43, 224, 200, .4);
}
.prose a:hover { border-bottom-color: var(--cyan); }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(11, 31, 26, .95) 0%, rgba(11, 31, 26, .58) 58%, rgba(11, 31, 26, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-pinned {
  background: var(--panel);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .95);
}

.header-shell {
  position: relative;
  z-index: 96;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  height: var(--header-h);
  transition: height var(--dur) var(--ease);
}
.site-header.is-pinned .header-shell { height: var(--header-h-compact); }

/* 品牌 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-glyph {
  width: 9px;
  height: 24px;
  background: var(--cyan);
  box-shadow: 6px 0 0 var(--amber);
  transform: skewX(-9deg);
  flex: 0 0 auto;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .14em;
  color: var(--paper);
  white-space: nowrap;
}

/* 赛季选择器 */
.season-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 15px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
  flex: 0 0 auto;
}
.season-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.season-value {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .22s, background .22s;
}
.season-value:hover { border-color: var(--cyan); background: rgba(43, 224, 200, .08); }
.season-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .24s var(--ease);
}
.season-switch[data-open] .season-caret { transform: translateY(1px) rotate(-135deg); }

.season-list {
  position: absolute;
  top: calc(100% + 12px);
  left: 15px;
  z-index: 40;
  min-width: 150px;
  max-height: 246px;
  overflow-y: auto;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 30px 56px -30px rgba(0, 0, 0, .95);
}
.season-list[hidden] { display: none; }
.season-list::-webkit-scrollbar { width: 6px; }
.season-list::-webkit-scrollbar-thumb { background: var(--line-soft); }
.season-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .18s, color .18s;
}
.season-list button:hover { background: rgba(43, 224, 200, .10); color: var(--paper); }
.season-list button[aria-selected="true"] { background: rgba(43, 224, 200, .16); color: var(--cyan); }
.season-list button[aria-selected="true"]::after { content: "·"; color: var(--amber); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .22s, background .22s;
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(43, 224, 200, .08); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform .26s var(--ease), opacity .2s;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 主导航 */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 22px);
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 14px;
  letter-spacing: .06em;
  color: rgba(228, 235, 232, .78);
  transition: color .22s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-list a:hover { color: var(--paper); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--cyan); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); background: var(--amber); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  background: var(--amber);
  color: #1A1204;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: background .22s, border-color .22s, color .22s, transform .22s;
}
.nav-cta:hover { background: #FFC963; border-color: #FFC963; transform: translateY(-1px); }
.nav-cta--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--cyan);
  font-weight: 500;
}
.nav-cta--ghost:hover { background: rgba(43, 224, 200, .10); border-color: var(--cyan); color: var(--cyan); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.footer-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.footer-cell {
  padding: 34px clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line-soft);
}
.footer-cell:first-child { border-left: 0; padding-left: 0; }

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer-links { display: grid; gap: 9px; }
.footer-links a {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact { display: grid; gap: 7px; margin-top: 12px; }
.footer-contact li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--paper);
  word-break: break-all;
}
.footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-soft);
}
.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 30em;
}
.footer-text--dim {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(154, 166, 162, .72);
}
.footer-icp {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--muted);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 30px;
  font-size: 12px;
  letter-spacing: .05em;
}
.footer-brand {
  font-family: var(--font-mono);
  color: var(--text-soft);
  max-width: none;
}
.footer-brand span { color: var(--amber); padding: 0 6px; }
.footer-copy { font-family: var(--font-mono); color: var(--muted); max-width: none; }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 30px);
  bottom: clamp(14px, 2.4vw, 30px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s, background .2s, border-color .2s;
}
.to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(43, 224, 200, .12); border-color: var(--cyan); }
.to-top-arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg) translate(1px, 1px);
}

/* ---------- 7. 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cyan); color: #04201B; }
.btn--primary:hover { background: #5CEEDA; }
.btn--amber { background: var(--amber); color: #1A1204; }
.btn--amber:hover { background: #FFC963; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--paper); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: "/";
  padding: 0 10px;
  color: rgba(154, 166, 162, .42);
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--cyan); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tag--amber { border-color: rgba(240, 178, 60, .44); color: var(--amber); }
.tag--home { border-color: rgba(59, 240, 208, .44); color: var(--home); }
.tag--away { border-color: rgba(24, 127, 114, .7); color: #4FBFAE; }

.board {
  position: relative;
  padding: clamp(22px, 2.8vw, 36px);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.board--pine { background: var(--pine); border-color: rgba(43, 224, 200, .14); }
.board--paper {
  background: var(--paper);
  border-color: var(--line-paper);
  color: var(--on-paper);
}
.board--paper h1,
.board--paper h2,
.board--paper h3 { color: var(--on-paper); }
.board--paper .board-tag { background: var(--paper); color: var(--on-paper); border-color: var(--line-paper); }
.board-tag {
  position: absolute;
  top: 0;
  left: clamp(16px, 2vw, 26px);
  transform: translateY(-50%);
  padding: 4px 11px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.stat {
  font-family: var(--font-mono);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.stat--pos { color: var(--pos); }
.stat--neg { color: var(--neg); }
.stat--home { color: var(--home); }
.stat--away { color: var(--away); }
.stat--cyan { color: var(--cyan); }

/* 时间轴 / 章节目录 */
.rail {
  position: relative;
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
}
.rail a {
  position: relative;
  display: block;
  padding: 7px 0 7px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .2s;
}
.rail a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--ink);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.rail a:hover { color: var(--paper); }
.rail a[aria-current="true"] { color: var(--cyan); }
.rail a[aria-current="true"]::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(43, 224, 200, .9);
}

/* 图片容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(140deg, var(--pine) 0%, #0C1A17 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  --media-ratio: 62%;
}
.media::after {
  content: "";
  display: block;
  padding-top: var(--media-ratio);
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 31, 26, .10) 0%, rgba(11, 31, 26, .58) 100%);
}
.media > img,
.media > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06);
}
.media--wide { --media-ratio: 46%; }
.media--tall { --media-ratio: 132%; }
.media--square { --media-ratio: 100%; }

.media-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(16, 19, 21, .92) 0%, rgba(16, 19, 21, 0) 100%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(228, 235, 232, .84);
}

/* 入场 */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1180px) {
  .season-label { display: none; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; }
}

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

@media (max-width: 980px) {
  .footer-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cell:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-cell:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }

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

  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 95;
    display: block;
    margin: 0;
    padding: calc(var(--header-h) + 16px) var(--gut) 34px;
    max-height: 100vh;
    overflow-y: auto;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 46px 70px -46px rgba(0, 0, 0, .98);
    transform: translateY(-104%);
    visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s var(--ease);
  }
  .primary-nav[data-open] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-list li { border-bottom: 1px solid var(--line-soft); }
  .nav-list li:first-child { border-top: 1px solid var(--line-soft); }
  .nav-list a {
    display: block;
    padding: 16px 2px;
    font-size: 17px;
    letter-spacing: .05em;
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 11px;
    vertical-align: middle;
    background: var(--amber);
    transform: skewX(-9deg);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }
  .nav-cta { justify-content: center; padding: 14px; font-size: 14px; }

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

  .scroll-progress { display: none; }
}

@media (max-width: 620px) {
  .footer-table { grid-template-columns: minmax(0, 1fr); }
  .footer-cell {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 26px 0;
  }
  .footer-cell:first-child { border-top: 0; }
  .footer-cell:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .brand-text { font-size: 17px; letter-spacing: .1em; }
  .season-switch { padding-left: 11px; margin-left: 0; }
  p { max-width: none; }
}

@media (max-width: 420px) {
  .nav-toggle-text { display: none; }
  .season-value { padding: 5px 8px; }
}

/* ---------- 9. 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .to-top { transition: opacity .001ms, visibility .001ms; }
}
