/* =========================================================
   聊球主站 · 共享样式 /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, p, ul, ol, li, figure, blockquote, dl, dd, dt, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid #2EF2C4; outline-offset: 3px; border-radius: 6px; }

/* ---------- 2. Tokens ---------- */
:root {
  --deep: #0B1F3A;
  --deep-2: #06122A;
  --cyan: #2EF2C4;
  --orange: #FF7A3C;
  --gold: #D8B15A;
  --paper: #F2E9D8;
  --ink: #241A12;
  --muted: #8FA6C4;
  --line: #3C5A7A;
  --red: #E4573D;

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

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --pill: 999px;
  --shadow-1: 0 8px 24px rgba(0, 0, 0, .28);
  --shadow-2: 0 18px 44px rgba(0, 0, 0, .42);
  --gutter: clamp(18px, 4vw, 32px);
  --maxw: 1240px;
  --header-safe: 104px;
}

/* ---------- 3. 基础排版与底色 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--paper);
  background-color: var(--deep);
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(46, 242, 196, .10), transparent 62%),
    radial-gradient(760px 460px at 4% 2%, rgba(255, 122, 60, .09), transparent 60%),
    linear-gradient(180deg, #0B1F3A 0%, #081831 55%, #06122A 100%);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { background-attachment: fixed; } }

h1, h2, h3, h4, h5 { font-weight: 900; letter-spacing: -.02em; line-height: 1.15; color: var(--paper); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.75rem); }
h4 { font-size: 1.125rem; letter-spacing: -.01em; }
p { max-width: 74ch; }
strong { color: var(--paper); }
small { font-size: 12px; }

.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.num { font-size: 15px; }
.note {
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(46, 242, 196, .65);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--cyan); }
.lede {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.85;
  color: rgba(242, 233, 216, .88);
}

/* ---------- 4. 布局容器与网格 ---------- */
.container { width: min(var(--maxw), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section__head p { margin-top: 10px; color: rgba(242, 233, 216, .82); }

.layout-rail {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px;
  align-items: start;
}
.rail {
  position: sticky;
  top: var(--header-safe);
  display: grid;
  gap: 14px;
}
.rail-card {
  border: 1px solid rgba(60, 90, 122, .7);
  border-radius: var(--radius-m);
  padding: 16px;
  background: rgba(6, 18, 42, .62);
  box-shadow: var(--shadow-1);
}
.rail-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail-card__value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  color: var(--cyan);
}
.rail-card a { color: var(--paper); border-bottom: 1px solid rgba(60, 90, 122, .9); }
.rail-card a:hover { border-bottom-color: var(--cyan); }

.grid { display: grid; gap: 24px; }
.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--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.stack { display: grid; gap: 16px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.divider { height: 1px; border: 0; background: linear-gradient(90deg, var(--line), rgba(60, 90, 122, 0)); }

/* ---------- 5. 按钮与跳转链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--primary {
  background: var(--orange);
  border-color: transparent;
  color: #1B0D04;
  box-shadow: 0 8px 22px rgba(255, 122, 60, .26);
}
.btn--primary:hover { background: #FF8F58; transform: translateY(-1px); }
.btn--ghost { color: var(--paper); background: rgba(11, 31, 58, .5); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

.skip-link {
  position: absolute;
  left: 50%;
  top: 6px;
  z-index: 90;
  transform: translate(-50%, -180%);
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: var(--deep-2);
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 6. 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(6, 18, 42, .94) 0%, rgba(6, 18, 42, .62) 72%, rgba(6, 18, 42, 0) 100%);
  backdrop-filter: blur(8px);
}
.scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  z-index: 70;
}
.header-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1320px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(60, 90, 122, .78);
  border-radius: var(--pill);
  background: rgba(6, 18, 42, .84);
  box-shadow: var(--shadow-2);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(46, 242, 196, .5);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(46, 242, 196, .18), rgba(255, 122, 60, .16));
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cyan);
}
.brand__text { display: grid; line-height: 1.2; }
.brand__name { font-size: 15px; font-weight: 900; letter-spacing: -.01em; color: var(--paper); }
.brand__sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); }
.brand--footer .brand__mark { width: 40px; height: 40px; }
.brand--footer .brand__name { font-size: 17px; }

.site-nav { display: flex; align-items: center; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 0; }
.site-nav__list a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color .18s ease, background-color .18s ease;
}
.site-nav__list a:hover { color: var(--paper); background: rgba(46, 242, 196, .1); }
.site-nav__list a[aria-current="page"] { color: var(--deep-2); background: var(--cyan); }
.site-nav__meta {
  display: none;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(60, 90, 122, .6);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.header-tools { display: flex; align-items: center; gap: 10px; }

.season-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(60, 90, 122, .8);
  border-radius: var(--pill);
  background: rgba(11, 31, 58, .72);
}
.season-chip {
  padding: 6px 12px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  transition: background-color .18s ease, color .18s ease;
}
.season-chip:hover { color: var(--paper); }
.season-chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); font-weight: 700; }

.cert-chip { display: none; align-items: center; gap: 8px; }
.cert-chip__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 242, 196, .18);
  animation: cert-pulse 2.4s ease-in-out infinite;
}
@keyframes cert-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 242, 196, .16); }
  50% { box-shadow: 0 0 0 6px rgba(46, 242, 196, .06); }
}
.cert-chip__state { font-size: 12px; font-weight: 700; color: var(--cyan); }
.cert-chip__id {
  display: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(60, 90, 122, .9);
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
}
.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle__glyph {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.nav-toggle__glyph::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}
.nav-toggle.is-open { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle.is-open .nav-toggle__glyph { border-color: transparent; }
.nav-toggle.is-open .nav-toggle__glyph::after { transform: translateY(-50%) rotate(-45deg); box-shadow: 0 0 0 0 transparent; }

/* ---------- 7. 页脚：舱底档案抽屉 ---------- */
.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid rgba(60, 90, 122, .8);
  background: linear-gradient(180deg, rgba(6, 18, 42, .96), #040C1C 100%);
  color: var(--paper);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr);
  gap: 32px;
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
}
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-summary { font-family: var(--font-serif); font-size: 16px; line-height: 1.8; color: rgba(242, 233, 216, .84); }
.footer-cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--gold);
}
.footer-nav__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-nav__list { display: grid; gap: 10px; }
.footer-nav__list a {
  font-size: 14.5px;
  color: rgba(242, 233, 216, .86);
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-nav__list a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer-nav__list a[aria-current="page"] { color: var(--cyan); border-bottom-color: rgba(46, 242, 196, .6); }
.footer-contact__list { display: grid; gap: 12px; }
.footer-contact__list li { display: grid; gap: 2px; }
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-contact__value { font-size: 14.5px; line-height: 1.6; color: rgba(242, 233, 216, .92); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(60, 90, 122, .5);
  font-size: 13px;
  color: var(--muted);
}
.footer-base__line { max-width: none; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.footer-base__icp { color: var(--gold); }
.footer-note { flex: 1 1 320px; max-width: 62ch; font-size: 12px; color: rgba(143, 166, 196, .9); }

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(46, 242, 196, .5);
  border-radius: var(--pill);
  background: rgba(6, 18, 42, .92);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-2);
}
.to-top:hover { background: rgba(46, 242, 196, .14); }
.to-top[hidden] { display: none; }

/* ---------- 8. 基础内容组件 ---------- */
.card {
  border: 1px solid rgba(60, 90, 122, .7);
  border-radius: var(--radius-m);
  padding: 20px;
  background: rgba(6, 18, 42, .58);
  box-shadow: var(--shadow-1);
}
.paper-card {
  border-radius: var(--radius-m);
  padding: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}
.paper-card h2, .paper-card h3, .paper-card h4 { color: var(--ink); }
.paper-card p { color: #3A2C1F; }
.paper-card a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(36, 26, 18, .38); }
.paper-card a:hover { text-decoration-color: var(--orange); }
.paper-card .note { color: #6A5745; text-decoration-color: rgba(36, 26, 18, .45); }

.stat { display: grid; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--cyan);
}
.stat--xl .stat__value { font-size: clamp(56px, 9vw, 120px); letter-spacing: -.04em; }
.stat__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(46, 242, 196, .45);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
}
.tag--gold { border-color: rgba(216, 177, 90, .6); color: var(--gold); }
.tag--orange { border-color: rgba(255, 122, 60, .55); color: var(--orange); }

/* ---------- 9. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(60, 90, 122, .75);
  border-radius: var(--radius-m);
  background:
    linear-gradient(150deg, rgba(46, 242, 196, .14), transparent 46%),
    linear-gradient(20deg, rgba(255, 122, 60, .16), transparent 58%),
    linear-gradient(180deg, #06122A, #0B1F3A);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .45;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(60, 90, 122, .3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60, 90, 122, .3) 1px, transparent 1px);
  background-size: 46px 46px;
}
.media-frame__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.media-frame--wide .media-frame__img { aspect-ratio: 21 / 9; }
.media-frame--tall .media-frame__img { aspect-ratio: 4 / 5; }
.media-frame__badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: rgba(6, 18, 42, .86);
  border: 1px solid rgba(216, 177, 90, .55);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
}
.media-frame__caption {
  position: relative;
  z-index: 2;
  padding: 12px 16px;
  border-top: 1px solid rgba(60, 90, 122, .6);
  background: rgba(6, 18, 42, .84);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.figure-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 10. 标签页 / 分段控件 / 折叠面板 ---------- */
.tabs { display: grid; gap: 22px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs__btn {
  padding: 9px 16px;
  border: 1px solid rgba(60, 90, 122, .75);
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.tabs__btn:hover { color: var(--paper); border-color: var(--cyan); }
.tabs__btn[aria-selected="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--deep-2); }
.tabs__panel[hidden] { display: none; }

.segment {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(60, 90, 122, .8);
  border-radius: var(--pill);
  background: rgba(11, 31, 58, .72);
}
.segment__btn {
  padding: 7px 14px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.segment__btn:hover { color: var(--paper); }
.segment__btn[aria-pressed="true"] { background: var(--cyan); color: var(--deep-2); font-weight: 700; }

.accordion {
  border: 1px solid rgba(60, 90, 122, .7);
  border-radius: var(--radius-m);
  background: rgba(6, 18, 42, .58);
  overflow: hidden;
}
.accordion + .accordion { margin-top: 12px; }
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::after { content: "＋"; font-family: var(--font-mono); color: var(--cyan); }
.accordion[open] .accordion__summary::after { content: "－"; }
.accordion__body { padding: 0 18px 18px; color: rgba(242, 233, 216, .86); font-size: 16px; }

/* ---------- 11. 数据表 ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(60, 90, 122, .7);
  border-radius: var(--radius-m);
  background: rgba(6, 18, 42, .5);
}
.data-table { min-width: 640px; }
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(60, 90, 122, .42);
  font-size: 15px;
}
.data-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(6, 18, 42, .7);
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(46, 242, 196, .06); }
.data-table .is-active-col { background: rgba(46, 242, 196, .09); color: var(--cyan); }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumb__list li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb__list li + li::before { content: "/"; color: var(--line); }
.breadcrumb__list a:hover { color: var(--cyan); }
.breadcrumb__list [aria-current="page"] { color: var(--paper); }

/* ---------- 13. 显现动效 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 14. 响应式：头部 ---------- */
@media (min-width: 1200px) {
  .cert-chip { display: inline-flex; }
}
@media (min-width: 1400px) {
  .cert-chip__id { display: inline; }
}
@media (max-width: 1199px) {
  .header-capsule { border-radius: var(--radius-l); }
  .header-tools { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(60, 90, 122, .85);
    border-radius: var(--radius-l);
    background: rgba(6, 18, 42, .98);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .site-nav[data-open] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav__list a { padding: 12px 14px; font-size: 15px; border-radius: 14px; }
  .site-nav__meta { display: block; }
}
@media (max-width: 720px) {
  .season-switch { display: none; }
  .header-capsule { gap: 10px; padding: 8px 10px 8px 14px; }
  .brand__mark { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
  .btn--sm { padding: 8px 13px; font-size: 13px; }
}
@media (max-width: 480px) {
  .brand__sub { display: none; }
  .nav-toggle { padding: 8px 12px; }
}

/* ---------- 15. 响应式：布局与页脚 ---------- */
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .layout-rail { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 16. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cert-chip__dot { animation: none; }
}
