/* =========================================================
   博发真人站 · /assets/site.css
   共享外壳：reset、变量、中文排版、当前头部与页脚、通用组件
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

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

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }

:root {
  --ink-900: #0A1633;
  --ink-800: #10204A;
  --line: #1E3A5F;
  --cyan: #38F2D0;
  --orange: #FF6A2B;
  --stone: #6E7686;
  --moss: #4F8A63;
  --clay: #C4693F;
  --paper: #F3EFE6;
  --graphite: #20242E;

  --line-soft: rgba(30, 58, 95, 0.62);
  --line-faint: rgba(30, 58, 95, 0.36);
  --cyan-wash: rgba(56, 242, 208, 0.07);
  --orange-wash: rgba(255, 106, 43, 0.08);
  --paper-82: rgba(243, 239, 230, 0.82);
  --paper-64: rgba(243, 239, 230, 0.64);
  --deep-ink: #04141A;

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

  --fs-64: clamp(36px, 5.4vw, 64px);
  --fs-40: clamp(28px, 3.6vw, 40px);
  --fs-28: clamp(22px, 2.6vw, 28px);
  --fs-20: 20px;
  --fs-16: 16px;
  --fs-14: 14px;
  --fs-12: 12px;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --unit: 24px;
  --skew: 6deg;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(to right, var(--line-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-faint) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--cyan); color: var(--deep-ink); }

/* ---------- 基础容器 ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }

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

/* ---------- 通用文字 ---------- */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; line-height: 1.14; }
h1 { font-size: var(--fs-64); }
h2 { font-size: var(--fs-40); }
h3 { font-size: var(--fs-28); }
h4 { font-size: var(--fs-20); }

.annotation {
  display: block;
  font-family: var(--font-data);
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 20px 0 8px;
}

.prose {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--paper-82);
  max-width: 44em;
}
.prose p + p { margin-top: 1.15em; }
.prose h2 { font-size: var(--fs-28); margin: 1.8em 0 0.6em; color: var(--paper); }
.prose h3 { font-size: var(--fs-20); margin: 1.5em 0 0.5em; color: var(--paper); }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.2em; }
.prose ul li { list-style: none; position: relative; padding-left: 16px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 7px; height: 1px; background: var(--cyan); }
.prose ol { list-style: decimal; }
.prose ol li { padding-left: 4px; margin-left: 4px; }
.prose a { color: var(--cyan); border-bottom: 1px solid var(--line-soft); transition: border-color 0.15s var(--ease), color 0.15s var(--ease); }
.prose a:hover { border-bottom-color: var(--cyan); }
.prose strong { color: var(--paper); font-weight: 700; }
.prose code { font-family: var(--font-data); font-size: 0.92em; color: var(--cyan); background: rgba(30, 58, 95, 0.34); padding: 1px 6px; }

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -72px;
  z-index: 500;
  background: var(--cyan);
  color: var(--deep-ink);
  font-family: var(--font-display);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 阅读进度 ---------- */

.progress-rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 400;
  display: block;
  background: rgba(30, 58, 95, 0.55);
  pointer-events: none;
}
.progress-rail__bar {
  display: block;
  width: 100%; height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 55%, var(--moss) 78%, var(--orange) 100%);
}

/* ---------- 刊头 ---------- */

.site-header {
  position: relative;
  z-index: 120;
  background: linear-gradient(180deg, rgba(10, 22, 51, 0.97) 0%, rgba(10, 22, 51, 0.9) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header__inner { position: relative; }

.masthead-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 0 14px;
}

.masthead { text-align: center; }

.masthead__kicker {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.masthead__brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 7px 0 6px;
  transition: color 0.15s var(--ease);
}
.masthead__brand:hover { color: var(--cyan); }

.masthead__tagline {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--stone);
}

/* 抽屉开关 */
.drawer-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--stone);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.drawer-btn:hover { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-wash); }
.drawer-btn__icon { display: grid; gap: 3px; width: 15px; }
.drawer-btn__icon i { display: block; height: 1px; background: currentColor; }
.drawer-btn__icon i:nth-child(2) { width: 72%; }
.drawer-btn__icon i:nth-child(3) { width: 44%; }

/* 工具入口 */
.utility-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-nav__link {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--stone);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.utility-nav__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.utility-nav__link--accent { color: var(--cyan); }

/* 移动栏目按钮 */
.nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 4px;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--stone);
  transition: color 0.15s var(--ease);
}
.nav-toggle:hover { color: var(--cyan); }
.nav-toggle__icon { display: grid; gap: 4px; width: 18px; }
.nav-toggle__icon i { display: block; height: 1px; background: currentColor; }
.nav-toggle__icon i:nth-child(2) { width: 74%; }

/* 居中刊头导航 */
.primary-nav { border-top: 1px solid var(--line-faint); }
.primary-nav__list { display: flex; justify-content: center; flex-wrap: wrap; }
.primary-nav__list > li { position: relative; }
.primary-nav__list > li + li { border-left: 1px solid var(--line-faint); }
.primary-nav__list a {
  display: block;
  padding: 15px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--paper-82);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.primary-nav__list a:hover { color: var(--cyan); background: var(--cyan-wash); }
.primary-nav__list a[aria-current="page"] {
  color: var(--cyan);
  box-shadow: inset 0 -2px 0 0 var(--cyan);
}

/* ---------- 快捷筛选 ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 13px 0;
  border-top: 1px solid var(--line-faint);
}
.filter-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.filter-group__label {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.filter-group__track { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 12px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--stone);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.chip:hover { color: var(--cyan); border-color: var(--cyan); }
.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--deep-ink);
  font-weight: 700;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 14px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.status-line__pulse {
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 242, 208, 0.7);
}

/* ---------- 赛区抽屉 ---------- */

.drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 90vw);
  z-index: 300;
  background: var(--ink-800);
  border-right: 1px solid var(--line);
  box-shadow: 32px 0 64px -32px rgba(0, 0, 0, 0.72);
  overflow-y: auto;
  padding: 22px clamp(16px, 4vw, 24px) 44px;
}
.drawer[data-open] { display: block; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.drawer__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.drawer__count {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  margin-left: 8px;
}
.drawer__close {
  border: 1px solid var(--line);
  padding: 7px 11px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--stone);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.drawer__close:hover { color: var(--cyan); border-color: var(--cyan); }

.drawer__list li { border-bottom: 1px solid rgba(30, 58, 95, 0.42); }
.drawer__list a {
  display: block;
  padding: 9px 2px 9px 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper-82);
  transition: color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.drawer__list a:hover { color: var(--cyan); box-shadow: inset 2px 0 0 0 var(--cyan); }

.drawer__note {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-faint);
  font-size: 12px;
  line-height: 1.75;
  color: var(--stone);
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--paper);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.btn:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--solid { background: var(--cyan); border-color: var(--cyan); color: var(--deep-ink); font-weight: 700; }
.btn--solid:hover { background: transparent; color: var(--cyan); }
.btn--ghost { border-color: transparent; color: var(--stone); padding-inline: 4px; }
.btn--ghost:hover { color: var(--cyan); }

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 16px 0 0;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 9px; color: var(--line); }
.breadcrumb a { transition: color 0.15s var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- 数据面板 ---------- */

.panel {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--line);
  padding: clamp(16px, 2.4vw, 26px);
}
.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-faint);
}
.panel__title {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.panel__meta {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--stone);
  white-space: nowrap;
}

.data-num {
  font-family: var(--font-data);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(56, 242, 208, 0.32);
}
.data-num--hot { color: var(--orange); text-shadow: 0 0 12px rgba(255, 106, 43, 0.34); }
.data-num--moss { color: var(--moss); text-shadow: none; }
.data-num--muted { color: var(--stone); text-shadow: none; font-weight: 500; }

/* ---------- 栅格与堆叠 ---------- */

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

.stack > * + * { margin-top: 8px; }
.stack--offset > * + * { margin-top: 8px; }
.stack--offset > *:nth-child(even) { margin-left: 8px; }

.cut-corner {
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.slab {
  position: relative;
  background: var(--ink-800);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.6vw, 28px);
}
.slab--organic { clip-path: polygon(0 0, 100% 14px, 100% 100%, 0 calc(100% - 14px)); }

/* ---------- 标签 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  padding: 4px 9px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.tag--live { color: var(--cyan); border-color: rgba(56, 242, 208, 0.42); }
.tag--hot { color: var(--orange); border-color: rgba(255, 106, 43, 0.42); }
.tag--moss { color: var(--moss); border-color: rgba(79, 138, 99, 0.5); }

/* ---------- 编辑部索引列表 ---------- */

.list-index { border-top: 1px solid var(--line-faint); }
.list-index li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-faint);
}
.list-index__no {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.list-index__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper-82);
  transition: color 0.15s var(--ease);
}
.list-index a:hover .list-index__label { color: var(--cyan); }
.list-index__meta {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
}

/* ---------- 图片容器基类（页面阶段放置图片） ---------- */

.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86) contrast(1.06); }
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--placeholder {
  display: grid;
  place-items: center;
  background-color: var(--ink-800);
  background-image:
    linear-gradient(to right, rgba(30, 58, 95, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 58, 95, 0.5) 1px, transparent 1px);
  background-size: 32px 32px;
}
.media__cap {
  position: absolute;
  left: 0; bottom: 0;
  max-width: 100%;
  padding: 8px 12px;
  background: rgba(10, 22, 51, 0.86);
  border-top: 1px solid var(--line);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--paper-82);
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 32, 74, 0.9) 0%, rgba(10, 22, 51, 1) 55%);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 6vw, 72px) 0 36px;
}

.footer-brand__kicker {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 9px 0 12px;
}
.footer-brand__summary {
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
  max-width: 32em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}
.footer-col__title {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-bottom: 11px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.footer-col__list a {
  display: inline-block;
  padding: 5px 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--paper-64);
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.footer-col__list a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}
.contact-item--wide { grid-column: span 2; }
.contact-item__label {
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 7px;
}
.contact-item__value {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--paper-82);
  word-break: break-all;
}
.contact-item__value--text {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.75;
  word-break: normal;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding: 20px 0 38px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { transition: color 0.15s var(--ease); }
.footer-legal a:hover { color: var(--cyan); }
.footer-icp { color: var(--paper-64); }
.footer-copy { flex: 1 1 260px; }

.to-top {
  margin-left: auto;
  border: 1px solid var(--line);
  padding: 9px 14px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--stone);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.to-top:hover { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-wash); }

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .utility-nav { gap: 14px; }
  .primary-nav__list a { padding: 15px 16px; }
}

@media (max-width: 900px) {
  .masthead-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 0 12px;
  }
  .masthead__tagline { display: none; }
  .masthead__brand { margin: 5px 0 0; }
  .utility-nav { display: none; }
  .drawer-btn { padding: 9px 11px; font-size: 11px; }

  .nav-toggle { display: flex; }

  .primary-nav { display: none; border-top: 1px solid var(--line-faint); }
  .primary-nav[data-open] { display: block; }
  .primary-nav__list { flex-direction: column; }
  .primary-nav__list > li + li { border-left: 0; border-top: 1px solid var(--line-faint); }
  .primary-nav__list a { padding: 14px 6px; }
  .primary-nav__list a:hover { background: transparent; }
  .primary-nav__list a[aria-current="page"] { box-shadow: inset 2px 0 0 0 var(--cyan); background: var(--cyan-wash); }

  .filter-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0; }
  .filter-group { align-items: center; }
  .filter-group__track { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }

  .status-line { padding-bottom: 12px; }

  .footer-top { grid-template-columns: minmax(0, 1fr); padding: 40px 0 28px; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

  .col-8, .col-4, .col-6 { grid-column: span 12; }
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stack--offset > *:nth-child(even) { margin-left: 0; }

  .footer-base { padding-bottom: 30px; }
}

@media (max-width: 640px) {
  .footer-nav { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .contact-item--wide { grid-column: span 1; }
  .footer-copy { flex: 1 1 100%; order: 3; }
  .to-top { order: 4; margin-left: 0; }
  .list-index li { grid-template-columns: 34px minmax(0, 1fr); }
  .list-index__meta { grid-column: 2; }
}

@media (max-width: 420px) {
  .drawer-btn__text { display: none; }
  .masthead__kicker { letter-spacing: 0.14em; }
}

/* ---------- 无障碍：减少动效 ---------- */

@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;
  }
}
