/* ==========================================================================
   天博赛事 · Site Kit 共享样式  /assets/site.css
   深空蓝近单色体系 + 电光青主亮色 + 琥珀金数据点 + 玫红瞬时反馈
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --ink-900: #050D1A;
  --ink-800: #0B1F3A;
  --panel: #12324F;
  --line: #27567F;
  --line-soft: rgba(39, 86, 127, 0.55);
  --cyan: #22E0F0;
  --cyan-soft: #8DF3FF;
  --amber: #FFB43A;
  --rose: #FF4D7E;
  --text: #E9F1FA;
  --muted: #9AB0C8;

  --header-h: 72px;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --footer-gap: clamp(56px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* ---------- 2. Reset 与中文排版基线 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--ink-900);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--text);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--cyan-soft); }

img, svg, video { display: block; max-width: 100%; }
figure { margin: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

hr { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

::selection { background: var(--cyan); color: #04121F; }

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

/* ---------- 3. 工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }

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

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-block;
  padding: 10px 18px;
  background: var(--cyan);
  color: #04121F;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateY(-240%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible {
  transform: translateY(0);
  color: #04121F;
}

/* ---------- 5. 页头：框架式导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(5, 13, 26, 0.97), rgba(5, 13, 26, 0.86));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(34, 224, 240, 0));
  pointer-events: none;
}

.site-header[data-scrolled="true"] {
  background: linear-gradient(180deg, rgba(5, 13, 26, 1), rgba(5, 13, 26, 0.94));
  border-bottom-color: rgba(34, 224, 240, 0.45);
  box-shadow: 0 18px 40px -32px rgba(34, 224, 240, 0.9);
}

.header-inner {
  position: relative;
  max-width: var(--maxw);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--cyan);
  color: #04121F;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: background 0.2s var(--ease);
}
.brand:hover .brand-mark { background: var(--cyan-soft); }

.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.3vw, 20px);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline-start: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  margin-top: 0;
  border-radius: 1px;
  background: var(--cyan);
  opacity: 0;
  transition: height 0.22s var(--ease), margin-top 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::before { height: 14px; margin-top: -7px; opacity: 0.45; }
.nav-link[aria-current="page"] { color: var(--text); font-weight: 700; }
.nav-link[aria-current="page"]::before { height: 18px; margin-top: -9px; opacity: 1; }

/* 右侧快捷入口 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.header-mail {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(154, 176, 200, 0.45);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.header-mail:hover { color: var(--cyan-soft); border-bottom-color: var(--cyan); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  background: rgba(34, 224, 240, 0.1);
  color: var(--cyan-soft);
}
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-toggle-label { line-height: 1; }

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(39, 86, 127, 0.45);
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft) 62%, var(--amber));
  will-change: transform;
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover {
  color: var(--cyan-soft);
  border-color: var(--cyan);
  background: rgba(34, 224, 240, 0.1);
}
.btn:active { transform: translateY(1px); }

.btn--sm { min-height: 36px; padding: 0 14px; font-size: 0.75rem; }
.btn--solid { background: var(--cyan); border-color: var(--cyan); color: #04121F; }
.btn--solid:hover { background: var(--cyan-soft); border-color: var(--cyan-soft); color: #04121F; }
.btn--ghost { background: rgba(18, 50, 79, 0.5); }
.btn--amber { border-color: rgba(255, 180, 58, 0.6); color: var(--amber); }
.btn--amber:hover {
  background: rgba(255, 180, 58, 0.14);
  border-color: var(--amber);
  color: var(--amber);
}
.btn-quick { letter-spacing: 0.14em; }

/* ---------- 7. 展签 / 注释 / 数据 ---------- */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.plate::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.plate-num { color: var(--cyan); transition: color 0.3s var(--ease); }

[data-chapter][data-active="true"] .plate { color: var(--cyan); }
[data-chapter][data-active="true"] .plate::before { width: 32px; }
[data-chapter][data-active="true"] .plate-num { color: var(--amber); }

.annotation {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.annotation--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.3em;
}

.data-figure {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* ---------- 8. 面容层：玻璃面板 / 实色面板 / 卡片 ---------- */
.panel {
  background: rgba(18, 50, 79, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.panel--solid {
  background: var(--panel);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(18, 50, 79, 0.72), rgba(11, 31, 58, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 240, 0.55);
  background: linear-gradient(180deg, rgba(18, 50, 79, 0.86), rgba(11, 31, 58, 0.96));
  box-shadow: 0 18px 40px -26px rgba(34, 224, 240, 0.55);
}

/* ---------- 9. 布局网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.grid-split {
  display: grid;
  gap: clamp(20px, 3.5vw, 48px);
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
}

/* ---------- 10. 图位容器（页面阶段放置图片或内联 SVG） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(18, 50, 79, 0.95), rgba(5, 13, 26, 0.98) 70%),
    var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 26, 0) 38%, rgba(5, 13, 26, 0.74));
  pointer-events: none;
}
.media-frame > img,
.media-frame > svg,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--21x9 { aspect-ratio: 21 / 9; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3  { aspect-ratio: 4 / 3; }
.media-frame--1x1  { aspect-ratio: 1 / 1; }
.media-frame figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--cyan-soft);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 12. 长文层 ---------- */
.prose {
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(233, 241, 250, 0.92);
}
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 1.9em 0 0.6em; }
.prose h3 { font-size: 1.125rem; margin: 1.7em 0 0.5em; }
.prose ul { display: grid; gap: 0.55em; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(34, 224, 240, 0.4);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--cyan-soft); }
.prose strong { color: var(--text); }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--footer-gap);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(18, 50, 79, 0.85), rgba(5, 13, 26, 0) 62%),
    radial-gradient(90% 80% at 92% 6%, rgba(34, 224, 240, 0.1), rgba(5, 13, 26, 0) 60%),
    var(--ink-900);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(34, 224, 240, 0) 46%, rgba(255, 180, 58, 0.85));
}

.footer-top {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 48px);
  display: grid;
  gap: clamp(26px, 3.4vw, 48px);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
}
.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--cyan);
  color: #04121F;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.footer-wordmark {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text);
}
.footer-tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--cyan-soft);
}
.footer-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-col { min-width: 0; }
.footer-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}
.footer-list { display: grid; gap: 9px; }
.footer-link {
  display: inline-block;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-link:hover { color: var(--text); transform: translateX(3px); }
.footer-link--mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.league-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.league-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(18, 50, 79, 0.55);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.league-tag--hot {
  border-color: rgba(255, 180, 58, 0.55);
  background: rgba(255, 180, 58, 0.08);
  color: var(--amber);
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-addr { line-height: 1.65; }
.footer-hours {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: rgba(154, 176, 200, 0.8);
  line-height: 1.6;
}

.footer-bar {
  border-top: 1px solid var(--line-soft);
  padding: clamp(20px, 3vw, 34px) var(--gutter) clamp(26px, 4vw, 44px);
}
.footer-bar-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.footer-legal {
  margin: 0;
  font-size: clamp(15px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: rgba(233, 241, 250, 0.85);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-legal {
    background-image: linear-gradient(90deg, #E9F1FA, rgba(141, 243, 255, 0.85) 55%, rgba(255, 180, 58, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1280px) {
  .header-mail { display: none; }
}

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 6px var(--gutter) 22px;
    background: rgba(5, 13, 26, 0.98);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .site-nav[data-open="true"] {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    min-height: 54px;
    padding-inline-start: 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(39, 86, 127, 0.45);
  }
  .nav-link:hover::before { opacity: 0; }
  .nav-link[aria-current="page"]::before { height: 20px; margin-top: -10px; }

  .header-actions { margin-inline-start: auto; }
  .nav-toggle { display: inline-flex; }

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

@media (max-width: 900px) {
  .grid-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1rem; }
  .header-actions { gap: 8px; }
  .btn-quick { min-height: 34px; padding: 0 10px; letter-spacing: 0.08em; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bar-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0 10px; }
  .brand-mark { width: 30px; height: 30px; font-size: 0.6875rem; }
}

/* ---------- 15. 动效降级 ---------- */
@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;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
  .footer-link:hover { transform: none; }
}
