/* =========================================================
   江南赛事中心 · 共享样式 /assets/site.css
   夜墨底 + 网格青灰结构线 + 荧光青/琥珀橙双信号色
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: #08130F;
}

body { margin: 0; }

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; border-spacing: 0; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #33E1C4;
  outline-offset: 3px;
}

::selection { background: #33E1C4; color: #04120E; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #08130F;
  --ink-2: #0F241D;
  --panel: #17352B;
  --grid: #2A4A3F;
  --fog: #E9F0EB;
  --mist: #9DB0A7;
  --pale: #C6D3CC;
  --cyan: #33E1C4;
  --amber: #F5A63A;
  --deep: #051B18;
  --line-soft: rgba(42, 74, 63, 0.7);
  --glow-cyan: rgba(51, 225, 196, 0.16);
  --glow-amber: rgba(245, 166, 58, 0.16);

  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-head: "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", "SFMono-Regular",
    Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

/* ---------- 3. 中文排版基线 ---------- */
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(42, 74, 63, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 63, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  background-attachment: fixed;
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--fog);
}

h1 { font-size: clamp(44px, 8vw, 96px); }
h2 { font-size: clamp(32px, 4.4vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h4 { font-size: 20px; }

p { text-wrap: pretty; }

/* ---------- 4. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.divider {
  height: 1px;
  background: var(--grid);
  border: 0;
  margin: clamp(28px, 4vw, 56px) 0;
}

.note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  border-left: 2px solid var(--amber);
  padding-left: 12px;
}

/* ---------- 5. 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.02em;
}

.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.75;
  color: var(--pale);
  max-width: 38ch;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-solid:hover { background: var(--fog); border-color: var(--fog); }

.btn-ghost {
  background: transparent;
  border-color: var(--grid);
  color: var(--fog);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--cyan);
  color: var(--cyan);
}

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

/* ---------- 7. 头部：命令栏 ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--gutter);
  z-index: 300;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04120E;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(8, 19, 15, 0.94);
  border-bottom: 1px solid var(--grid);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.is-stuck {
  background: rgba(5, 27, 24, 0.98);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.95);
}

.header-accent {
  display: block;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--cyan) 0 14%,
    var(--amber) 14% 20%,
    var(--grid) 20% 100%
  );
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: var(--shell);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  order: 1;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--cyan);
  color: #04120E;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  background: var(--amber);
}

.brand-body { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--fog);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
  line-height: 1.2;
}

/* 主导航 */
.primary-nav {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  color: var(--pale);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
  opacity: 0.7;
}

.nav-text { line-height: 1.4; }

.nav-link:hover {
  color: var(--fog);
  background: var(--panel);
  border-bottom-color: var(--grid);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(51, 225, 196, 0.08);
  border-bottom-color: var(--cyan);
}

.nav-link[aria-current="page"] .nav-idx { color: var(--cyan); opacity: 1; }

/* 工具区 */
.header-tools {
  order: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--grid);
  background: transparent;
  color: var(--pale);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}

.filter-toggle:hover { color: var(--cyan); border-color: var(--cyan); }

.filter-toggle[aria-expanded="true"] {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(51, 225, 196, 0.08);
}

.filter-toggle-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--glow-amber);
}

.filter-toggle[aria-expanded="true"] .filter-toggle-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 3px var(--glow-cyan);
}

/* 移动导航按钮 */
.nav-toggle {
  order: 4;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--grid);
  color: var(--fog);
  background: transparent;
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  background: var(--cyan);
}

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav-toggle[aria-expanded="true"] { border-color: var(--cyan); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { background: var(--amber); }

/* 过滤器面板 */
.filter-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 130;
  background: var(--ink-2);
  border-bottom: 1px solid var(--grid);
  box-shadow: 0 28px 56px -32px rgba(0, 0, 0, 0.95);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.filter-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) var(--gutter);
}

.filter-legend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 12px;
}

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 7px 12px;
  border: 1px solid var(--grid);
  background: transparent;
  color: var(--pale);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}

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

.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04120E;
}

.filter-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter) 22px;
}

.filter-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--grid);
}

.filter-note {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
  z-index: 5;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--deep);
  border-top: 1px solid var(--grid);
  color: var(--pale);
}

.footer-rail {
  position: relative;
  height: 22px;
  overflow: hidden;
  border-bottom: 1px dashed var(--line-soft);
}

.footer-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    var(--grid) 0 1px,
    transparent 1px 44px
  );
  opacity: 0.75;
}

.rail-mark {
  position: absolute;
  top: 0;
  width: 2px;
  height: 22px;
  background: var(--mist);
}

.rail-mark--cyan { background: var(--cyan); }
.rail-mark--amber { background: var(--amber); }

.footer-rail .rail-mark:nth-child(1) { left: 12%; }
.footer-rail .rail-mark:nth-child(2) { left: 47%; }
.footer-rail .rail-mark:nth-child(3) { left: 78%; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(140px, 0.9fr)) minmax(250px, 1.3fr);
  gap: clamp(24px, 3vw, 48px);
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 48px);
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.footer-wordmark::before {
  content: "";
  width: 6px;
  height: 22px;
  background: var(--cyan);
}

.footer-tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.footer-lede {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--pale);
}

.footer-brand .btn { margin-top: 22px; }

.footer-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--grid);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
}

.footer-list li + li { margin-top: 10px; }

.footer-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pale);
}

.footer-list a {
  color: var(--pale);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.footer-key {
  display: inline-block;
  min-width: 40px;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.footer-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-note--small {
  margin-top: 14px;
  font-size: 12.5px;
  border-left: 2px solid var(--amber);
  padding-left: 10px;
}

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px var(--gutter) 32px;
}

.footer-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--grid);
}

.footer-copy { font-size: 13px; color: var(--mist); }

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--pale);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover { color: var(--cyan); }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--grid);
  font-family: var(--font-mono);
}

.breadcrumb-list a { color: var(--pale); }
.breadcrumb-list a:hover { color: var(--cyan); }
.breadcrumb-list [aria-current="page"] { color: var(--fog); font-weight: 700; }

/* ---------- 10. 基础组件 ---------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--grid);
  padding: clamp(18px, 2vw, 28px);
}

.card--flat { background: var(--ink-2); }

.card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--fog);
  margin-bottom: 10px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(14px, 1.6vw, 20px) 0;
  border-top: 1px solid var(--grid);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--grid);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.tag--ok { color: var(--cyan); border-color: rgba(51, 225, 196, 0.45); }
.tag--warn { color: var(--amber); border-color: rgba(245, 166, 58, 0.45); }
.tag--idle { color: var(--mist); border-color: var(--grid); }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--ink-2);
  border: 1px solid var(--grid);
}

.data-table {
  width: 100%;
  min-width: 640px;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--grid);
  vertical-align: middle;
}

.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pale);
}

.data-table tbody tr { transition: background-color 0.15s ease; }

.data-table tbody tr:hover { background: rgba(51, 225, 196, 0.06); }

.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--cyan);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--fog);
}

.prose > * + * { margin-top: 1.2em; }

.prose h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-top: 1.7em;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
}

.prose ul li + li { margin-top: 0.5em; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(51, 225, 196, 0.5);
}

/* 图片容器基础规则（供页面阶段放置占位图） */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-2);
  border: 1px solid var(--grid);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 19, 15, 0) 42%,
    rgba(5, 27, 24, 0.78) 100%
  );
}

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

/* ---------- 11. 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
  .nav-link { padding: 10px 9px; font-size: 14px; }
}

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

@media (max-width: 980px) {
  :root { --header-h: 64px; }

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

  .brand { order: 1; }
  .header-tools { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; display: inline-flex; }

  .primary-nav {
    order: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    justify-content: flex-start;
    background: var(--ink-2);
    border-bottom: 1px solid var(--grid);
    box-shadow: 0 28px 56px -32px rgba(0, 0, 0, 0.95);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header[data-open] .primary-nav { display: block; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-link {
    width: 100%;
    padding: 14px var(--gutter);
    border-bottom: 1px solid transparent;
    border-left: 2px solid transparent;
    font-size: 16px;
  }

  .nav-link[aria-current="page"] {
    border-bottom-color: transparent;
    border-left-color: var(--cyan);
  }

  .filter-inner { grid-template-columns: 1fr; }

  .filter-panel { max-height: calc(100vh - var(--header-h)); }

  .header-cta { display: none; }

  .footer-base { justify-content: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; background-size: 48px 48px; }
  .brand-mark { width: 36px; height: 36px; font-size: 14px; }
  .brand-name { font-size: 15px; }
  .filter-toggle-label { display: none; }
  .filter-toggle { padding: 9px 10px; }
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal-links { gap: 12px 16px; }
  .data-table { min-width: 560px; }
}

/* ---------- 13. 无障碍与动效偏好 ---------- */
@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;
  }

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

  .scroll-progress { transition: none; }
}
