/* ==========================================================================
   伟博体育主站 · 共享外壳样式表  /assets/site.css
   视觉依据：展览画册式布局 / 赛场透视分区 / 档案展签与印刷边框
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
figure { margin: 0; }

/* 2. 变量：竞技色谱 + 排印刻度
   -------------------------------------------------------------------------- */
:root {
  --paper: #F4F1EA;
  --paper-deep: #EBE6DC;
  --ink: #15171B;
  --ink-soft: #282C33;
  --gobi: #C0422B;
  --gobi-deep: #8C2B1D;
  --card-red: #A3241C;
  --card-yellow: #E9C53F;
  --turf: #2E6B4B;
  --night: #107C78;
  --night-bright: #3AD3CB;
  --mist: #D9D5CC;
  --slate: #55606B;
  --panel: #1D2026;

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

  --header-h: 66px;
  --wrap: 1240px;
  --wrap-wide: 1480px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;

  --t-fast: 90ms ease-out;
  --t-base: 160ms ease-in-out;
  --t-nav: 180ms ease-out;
}

/* 3. 纸张颗粒（全站底层质感）
   -------------------------------------------------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .05;
  background-image: repeating-radial-gradient(
    circle,
    rgba(21, 23, 27, .9) 0 .5px,
    rgba(21, 23, 27, 0) .5px 2.5px
  );
  background-size: 5px 5px;
}

/* 4. 中文排印与基础元素
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.14;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 5.2vw, 62px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }

a { color: var(--gobi); }
a:hover { color: var(--gobi-deep); }

strong { font-weight: 700; }

code, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: .94em;
}

/* 5. 焦点与可访问性
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--night);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.site-footer :focus-visible,
.site-header.is-scrolled :focus-visible {
  outline-color: var(--night-bright);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  transform: translateY(-200%);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--card-yellow);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform var(--t-base);
}
.skip-link:focus { transform: translateY(0); }

/* 6. 头部：透明叠加 → 墨线黑实色
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background-color: transparent;
  color: var(--ink);
  transition: background-color var(--t-nav), color var(--t-nav);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--mist) 0%, rgba(217, 213, 204, .18) 58%, rgba(217, 213, 204, 0) 100%);
  transition: background var(--t-nav);
}
.site-header.is-scrolled {
  background-color: var(--ink);
  color: var(--paper);
}
.site-header.is-scrolled::after { background: var(--gobi); }

.header-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
}
.brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 21px);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.brand__tag {
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.3;
  color: var(--slate);
  transition: color var(--t-nav);
}
.brand:hover .brand__tag { color: var(--gobi); }
.site-header.is-scrolled .brand__tag { color: rgba(244, 241, 234, .62); }
.site-header.is-scrolled .brand:hover .brand__tag { color: var(--card-yellow); }

.header-meta {
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--mist);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 1.4;
  color: var(--slate);
  white-space: nowrap;
  transition: color var(--t-nav), border-color var(--t-nav);
}
.header-meta__num { color: var(--gobi); }
.site-header.is-scrolled .header-meta {
  color: rgba(244, 241, 234, .66);
  border-left-color: rgba(244, 241, 234, .2);
}
.site-header.is-scrolled .header-meta__num { color: var(--card-yellow); }

/* 导航 */
.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 12px);
}
.nav-list__item { display: block; }
.nav-list__link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast);
}
.nav-list__link:hover { border-bottom-color: var(--card-yellow); }
.nav-list__link[aria-current="page"] {
  border-bottom-color: var(--gobi);
  color: var(--gobi);
}
.site-header.is-scrolled .nav-list__link[aria-current="page"] {
  border-bottom-color: var(--card-yellow);
  color: var(--card-yellow);
}

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

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 13px;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.nav-toggle:hover { background: rgba(233, 197, 63, .25); border-color: var(--card-yellow); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 11px;
  flex: 0 0 auto;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--t-base), top var(--t-base), bottom var(--t-base);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { bottom: 5px; transform: rotate(-45deg); }

/* 7. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}
.btn--ghost:hover {
  background: rgba(233, 197, 63, .25);
  border-color: var(--card-yellow);
  color: var(--ink);
}
.site-header.is-scrolled .btn--ghost:hover { color: var(--paper); }
.btn--solid {
  background: var(--gobi);
  border-color: var(--gobi);
  color: var(--paper);
}
.btn--solid:hover {
  background: var(--gobi-deep);
  border-color: var(--gobi-deep);
  color: var(--paper);
}
.btn--solid:active {
  background: var(--card-red);
  border-color: var(--card-red);
}
.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  background: var(--panel);
  border-color: var(--card-yellow);
  color: var(--paper);
}

/* 8. 容器与区块节奏
   -------------------------------------------------------------------------- */
[id="main-content"] {
  display: block;
  padding-top: var(--header-h);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--wide { max-width: var(--wrap-wide); }
.wrap--slim { max-width: 820px; }

.section {
  position: relative;
  padding: clamp(40px, 6.4vw, 92px) 0;
}
.section--tight { padding: clamp(24px, 3.4vw, 44px) 0; }
.section--paper { background: var(--paper-deep); }
.section--panel {
  background: var(--panel);
  color: var(--paper);
}
.section--panel .rule-note { color: rgba(244, 241, 234, .62); border-left-color: rgba(244, 241, 234, .24); }
.section--panel .stat__label { color: rgba(244, 241, 234, .6); }
.section--lane { border-top: 1px solid var(--mist); }

.lane {
  height: 1px;
  background: var(--mist);
  border: 0;
  margin: 0;
}
.lane--brand { background: var(--gobi); }
.lane--inset { margin: 0 var(--gutter); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 38px);
}
.section-head__title { margin: 0; flex: 1 1 auto; }
.section-head__meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gobi);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gobi);
}

.lede {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--slate);
}

/* 9. 档案展签与语义标记
   -------------------------------------------------------------------------- */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 2px 9px;
  background: var(--mist);
  color: var(--ink);
  border: 1px solid rgba(21, 23, 27, .1);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .03em;
  line-height: 1.5;
  transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base);
}
.plate--red { background: var(--card-red); border-color: var(--card-red); color: #FBEDE8; }
.plate--yellow { background: var(--card-yellow); border-color: #C9A72F; color: var(--ink); }
.plate--turf { background: var(--turf); border-color: var(--turf); color: #EAF4EE; }
.plate--night { background: var(--night); border-color: var(--night); color: #E6FBF9; }
.plate--link { text-decoration: none; }
.plate--link:hover {
  background: rgba(233, 197, 63, .25);
  border-color: var(--card-yellow);
  color: var(--ink);
}

.card-mark {
  display: inline-block;
  width: 9px;
  height: 13px;
  border-radius: 1px;
  vertical-align: -2px;
}
.card-mark--red { background: var(--card-red); }
.card-mark--yellow { background: var(--card-yellow); }

/* 10. 数据块 / 口径 / 表格
   -------------------------------------------------------------------------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat__num--gobi { color: var(--gobi); }
.stat__num--turf { color: var(--turf); }
.stat__num--night { color: var(--night); }
.stat__label {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--slate);
}

.rule-note {
  max-width: 64ch;
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--mist);
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}
.rule-note strong { color: var(--ink); }
.section--panel .rule-note strong { color: var(--paper); }

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.data-table caption {
  padding: 0 0 8px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}
.data-table th {
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate);
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
}
.data-table td {
  padding: 10px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--mist);
}
.data-table tbody tr { transition: background-color var(--t-base); }
.data-table tbody tr:hover { background: rgba(233, 197, 63, .18); }
.data-table .is-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.section--panel .data-table th { color: rgba(244, 241, 234, .68); border-bottom-color: rgba(244, 241, 234, .28); }
.section--panel .data-table td { border-bottom-color: rgba(244, 241, 234, .14); }
.section--panel .data-table tbody tr:hover { background: rgba(233, 197, 63, .12); }

/* 11. 高密度索引
   -------------------------------------------------------------------------- */
.index-list { display: flex; flex-direction: column; }
.index-list__item { border-bottom: 1px solid var(--mist); }
.index-list__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 16px;
  min-height: 52px;
  padding: 13px 10px;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color var(--t-base), color var(--t-base);
}
.index-list__link:hover { background: rgba(233, 197, 63, .25); color: var(--ink); }
.index-list__code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--gobi);
}
.index-list__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.005em;
}
.index-list__meta {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--slate);
}

/* 12. 面包屑
   -------------------------------------------------------------------------- */
.crumbs {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--slate);
}
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
}
.crumbs__item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.crumbs__item:not(:last-child)::after {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background: var(--mist);
}
.crumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.crumbs a:hover { color: var(--gobi); border-bottom-color: var(--gobi); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* 13. 图片容器（页面阶段放入真实图片）
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mist), var(--paper-deep));
  border: 1px solid var(--mist);
  border-radius: var(--radius);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: repeating-radial-gradient(
    circle,
    rgba(21, 23, 27, .9) 0 .5px,
    rgba(21, 23, 27, 0) .5px 2.5px
  );
  background-size: 4px 4px;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04) brightness(1.01);
}
.frame--21x9 { aspect-ratio: 21 / 9; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.frame--3x4 { aspect-ratio: 3 / 4; }
.frame--bleed { border-left: 0; border-right: 0; border-radius: 0; }
.frame__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate);
}

/* 14. 网格工具
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 32px); }
.grid--halves { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--thirds { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--12 > * { grid-column: span 12; }

@media (min-width: 901px) {
  .grid--12 > .span-3 { grid-column: span 3; }
  .grid--12 > .span-4 { grid-column: span 4; }
  .grid--12 > .span-5 { grid-column: span 5; }
  .grid--12 > .span-6 { grid-column: span 6; }
  .grid--12 > .span-7 { grid-column: span 7; }
  .grid--12 > .span-8 { grid-column: span 8; }
  .grid--12 > .span-9 { grid-column: span 9; }
  .grid--12 > .start-3 { grid-column-start: 3; }
  .grid--12 > .start-5 { grid-column-start: 5; }
  .grid--12 > .start-7 { grid-column-start: 7; }
}

/* 15. 口径折叠
   -------------------------------------------------------------------------- */
.disclosure { border-top: 1px solid var(--mist); }
.section--panel .disclosure { border-top-color: rgba(244, 241, 234, .18); }
.disclosure__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 6px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.005em;
  color: inherit;
  transition: background-color var(--t-base);
}
.disclosure__toggle:hover { background: rgba(233, 197, 63, .25); }
.section--panel .disclosure__toggle:hover { background: rgba(233, 197, 63, .14); }
.disclosure__label { flex: 1 1 auto; }
.disclosure__icon {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}
.disclosure__icon::before,
.disclosure__icon::after {
  content: "";
  position: absolute;
  background: var(--gobi);
  transition: transform var(--t-base), opacity var(--t-base);
}
.disclosure__icon::before { left: 0; right: 0; top: 5.5px; height: 1.5px; }
.disclosure__icon::after { top: 0; bottom: 0; left: 5.5px; width: 1.5px; }
.disclosure__toggle[aria-expanded="true"] .disclosure__icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.disclosure__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.disclosure__panel[hidden] { display: none; }
.disclosure__body {
  max-width: 72ch;
  padding: 4px 6px 22px;
}

/* 16. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 132px);
  background: var(--ink);
  color: var(--paper);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gobi);
}
.footer-inner {
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--gutter) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(120px, .7fr));
  gap: clamp(24px, 3.4vw, 56px);
}
.footer-brand__mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.footer-brand__tag {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(244, 241, 234, .66);
}
.footer-brand__tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.footer-token {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid rgba(244, 241, 234, .22);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(244, 241, 234, .78);
}
.footer-col__head {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--card-yellow);
}
.footer-list { display: flex; flex-direction: column; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: rgba(244, 241, 234, .86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer-list a:hover {
  color: var(--card-yellow);
  border-bottom-color: var(--card-yellow);
}
.footer-base {
  width: 100%;
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 20px var(--gutter) 30px;
  border-top: 1px solid rgba(244, 241, 234, .16);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px 32px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 241, 234, .6);
}
.footer-base__line { margin: 0; }
.footer-base__note {
  grid-column: 1 / -1;
  color: rgba(244, 241, 234, .42);
}

/* 17. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-meta { display: none; }
}

@media (max-width: 1000px) {
  .header-actions { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--panel);
    color: var(--paper);
    border-top: 2px solid var(--gobi);
    box-shadow: 0 18px 40px rgba(21, 23, 27, .28);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
  }
  .site-nav[data-open] {
    max-height: 76vh;
    overflow-y: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 22px;
  }
  .nav-list__link {
    height: auto;
    min-height: 48px;
    padding: 12px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(244, 241, 234, .14);
  }
  .nav-list__link:hover {
    border-bottom-color: var(--card-yellow);
    color: var(--card-yellow);
  }
  .nav-list__link[aria-current="page"] {
    border-bottom-color: var(--card-yellow);
    color: var(--card-yellow);
  }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .index-list__link {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 12px;
  }
  .index-list__meta { grid-column: 2; }
  .frame--21x9 { aspect-ratio: 16 / 9; }
}

@media (max-width: 420px) {
  .nav-toggle__label { display: none; }
}

/* 18. 减弱动效
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .skip-link { transition: none; }
  .site-nav { transition: none; }
  .disclosure__panel { transition: none; }
}
