/* ==========================================================================
   奇异果体育站 · 共享外壳样式 /assets/site.css
   框架式导航 · Bento 模块板 · 夜赛深蓝收束
   ========================================================================== */

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

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

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

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  margin: 0;
}

button { cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 品牌色 */
  --kiwi: #7CC24A;
  --kiwi-deep: #3E7D2E;
  --seed: #171C18;
  --night: #0D1B2A;
  --turf: #2F7D52;
  --neon: #D9FF57;
  --indigo: #27407A;
  --wine: #7A2B3A;
  --flesh: #F2F6E8;
  --mist: #FBFCF7;
  --sage: #8CA08F;
  --skin: #6E5B3E;

  /* 语义色（日间默认） */
  --bg: var(--flesh);
  --surface: var(--mist);
  --surface-2: #E7EFD9;
  --ink: var(--seed);
  --ink-soft: #36443A;
  --muted: #5E6D60;
  --line: rgba(23, 28, 24, 0.14);
  --line-strong: rgba(23, 28, 24, 0.3);
  --on-dark: var(--mist);
  --on-dark-muted: var(--sage);

  /* 字体 */
  --font-display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* 形状与节奏 */
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1320px;
  --gap: clamp(14px, 1.8vw, 22px);
  --shadow-soft: 0 20px 46px -30px rgba(13, 27, 42, 0.62);
  --shadow-lift: 0 26px 58px -32px rgba(13, 27, 42, 0.78);
}

/* 夜赛深色 */
[data-theme="night"] {
  --bg: #0B141D;
  --surface: #132131;
  --surface-2: #182A3A;
  --ink: #ECF3E4;
  --ink-soft: #C8D5C6;
  --muted: var(--sage);
  --line: rgba(217, 255, 87, 0.16);
  --line-strong: rgba(217, 255, 87, 0.32);
  --shadow-soft: 0 20px 46px -30px rgba(0, 0, 0, 0.9);
  --shadow-lift: 0 26px 58px -32px rgba(0, 0, 0, 0.95);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) {
    --bg: #0B141D;
    --surface: #132131;
    --surface-2: #182A3A;
    --ink: #ECF3E4;
    --ink-soft: #C8D5C6;
    --muted: var(--sage);
    --line: rgba(217, 255, 87, 0.16);
    --line-strong: rgba(217, 255, 87, 0.32);
    --shadow-soft: 0 20px 46px -30px rgba(0, 0, 0, 0.9);
    --shadow-lift: 0 26px 58px -32px rgba(0, 0, 0, 0.95);
  }
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { display: block; flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6vw, 92px); line-height: 1.05; }
h2 { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.12; }
h3 { font-size: clamp(19px, 2vw, 26px); line-height: 1.24; letter-spacing: -0.01em; }
h4 { font-size: 18px; line-height: 1.35; letter-spacing: 0; }

p { max-width: 70ch; }

strong { font-weight: 700; }

::selection {
  background: var(--neon);
  color: var(--seed);
}

/* 焦点 */
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--kiwi-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-header :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* ---------- 4. 布局基础 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }

.prose ul, .prose ol {
  padding-left: 1.2em;
  list-style: disc;
}

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

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

/* ---------- 5. 提示与标注 ---------- */
.micro {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

.micro--dark { color: var(--on-dark-muted); }

/* ---------- 6. 卡片 ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.6vw, 34px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card--night {
  background: var(--night);
  color: var(--mist);
  border-color: rgba(124, 194, 74, 0.35);
}

.card--night h2, .card--night h3, .card--night h4 { color: var(--mist); }
.card--night p { color: #D6E2D3; }

.card--indigo {
  background: var(--indigo);
  color: var(--mist);
  border-color: rgba(217, 255, 87, 0.22);
}

.card--indigo h2, .card--indigo h3, .card--indigo h4 { color: var(--mist); }
.card--indigo p { color: #DDE4F4; }

.card--wine {
  background: var(--wine);
  color: var(--mist);
  border-color: rgba(217, 255, 87, 0.22);
}

.card--wine h2, .card--wine h3, .card--wine h4 { color: var(--mist); }

.card--neon {
  background: var(--neon);
  color: var(--seed);
  border-color: rgba(23, 28, 24, 0.2);
}

.card--neon h2, .card--neon h3 { color: var(--seed); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--kiwi); color: var(--seed); }
.btn--primary:hover { background: #8FD45C; }

.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: rgba(251, 252, 247, 0.4);
}
.btn--ghost:hover { color: var(--neon); border-color: var(--neon); }

.btn--neon { background: var(--neon); color: var(--seed); }
.btn--neon:hover { background: #E7FF8A; }

.btn--dark { background: var(--night); color: var(--mist); }
.btn--dark:hover { background: #16304A; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--kiwi-deep); color: var(--kiwi-deep); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a { color: var(--kiwi-deep); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb__sep { color: var(--line-strong); }

/* ---------- 9. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--night);
  background-image:
    repeating-linear-gradient(100deg,
      rgba(47, 125, 82, 0.34) 0 18px,
      rgba(47, 125, 82, 0.1) 18px 36px),
    radial-gradient(circle at 78% 24%, rgba(217, 255, 87, 0.22), transparent 46%);
}

.media > img,
.media > svg,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--rounded-sm { border-radius: var(--radius-sm); }

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.88));
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- 10. 纹理工具 ---------- */
.turf-stripes {
  background-image: repeating-linear-gradient(100deg,
    rgba(47, 125, 82, 0.16) 0 22px,
    transparent 22px 44px);
}

/* ---------- 11. 章节索引（页面阶段使用） ---------- */
.section-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
}

.section-rail__link {
  display: block;
  padding: 7px 12px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.section-rail__link:hover { color: var(--kiwi-deep); }

.section-rail__link[aria-current="true"] {
  color: var(--seed);
  background: var(--neon);
  border-color: var(--neon);
  font-weight: 600;
}

/* ---------- 12. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--night);
  color: var(--mist);
  border-top: 3px solid var(--kiwi);
  border-bottom: 1px solid rgba(124, 194, 74, 0.55);
  box-shadow: 0 14px 32px -26px rgba(0, 0, 0, 0.9);
}

.skip-link {
  position: absolute;
  top: -80px;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--neon);
  color: var(--seed);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.18s ease;
}

.skip-link:focus { top: 0; }

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 10px var(--gutter);
  min-height: 66px;
}

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

.brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background-image:
    repeating-conic-gradient(from 0deg,
      #7CC24A 0deg 11deg,
      #9AD96A 11deg 22deg);
  box-shadow: inset 0 0 0 2px #3E7D2E;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(circle 2px at 82% 50%, #171C18 96%, transparent 100%),
    radial-gradient(circle 2px at 66% 22%, #171C18 96%, transparent 100%),
    radial-gradient(circle 2px at 34% 22%, #171C18 96%, transparent 100%),
    radial-gradient(circle 2px at 18% 50%, #171C18 96%, transparent 100%),
    radial-gradient(circle 2px at 34% 78%, #171C18 96%, transparent 100%),
    radial-gradient(circle 2px at 66% 78%, #171C18 96%, transparent 100%);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--mist);
}

.brand__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--neon);
}

/* 主导航 */
.site-nav { margin-left: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item { display: block; }

.site-nav__link {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: rgba(251, 252, 247, 0.78);
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.site-nav__link:hover {
  color: #FFFFFF;
  background: rgba(124, 194, 74, 0.18);
  border-color: rgba(124, 194, 74, 0.42);
}

.site-nav__link[aria-current="page"] {
  color: var(--seed);
  background: var(--kiwi);
  border-color: var(--kiwi);
  font-weight: 700;
}

/* 页头操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(140, 160, 143, 0.5);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.theme-toggle:hover { border-color: var(--neon); }

.theme-toggle__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(217, 255, 87, 0.16);
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle__dot {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--neon);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(124, 194, 74, 0.5);
  border-radius: var(--pill);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 球队快速切换条 */
.team-strip {
  border-top: 1px solid rgba(124, 194, 74, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.team-strip__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 8px var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.team-strip__inner::-webkit-scrollbar { display: none; }

.team-strip__label {
  flex: none;
  padding-right: 12px;
  border-right: 1px solid rgba(140, 160, 143, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  white-space: nowrap;
}

.team-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid rgba(140, 160, 143, 0.34);
  border-radius: var(--pill);
  background: rgba(13, 27, 42, 0.55);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
  color: rgba(251, 252, 247, 0.74);
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.team-chip:hover {
  color: var(--night);
  background: var(--neon);
  border-color: var(--neon);
}

.team-chip[aria-current="true"] {
  color: var(--seed);
  background: var(--kiwi);
  border-color: var(--kiwi);
}

.team-chip--all {
  margin-left: auto;
  color: var(--neon);
  border-color: rgba(217, 255, 87, 0.55);
  background: transparent;
}

.team-chip--all:hover { color: var(--seed); }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  flex: none;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(20px, 3vw, 32px);
  background-color: var(--night);
  background-image: repeating-linear-gradient(90deg,
    rgba(47, 125, 82, 0.42) 0 20px,
    transparent 20px 40px);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: top left;
  border-top: 1px solid rgba(124, 194, 74, 0.45);
  color: var(--mist);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) var(--gutter) 0;
}

.footer-brand { display: block; }

.brand--footer { margin-bottom: 16px; }

.footer-signature {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.7;
  color: #D6E2D3;
}

.footer-batch {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer-cta { margin-top: 18px; }

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 14px;
}

.footer-col__list { display: flex; flex-direction: column; gap: 9px; }

.footer-col__list a {
  display: inline-block;
  font-size: 14.5px;
  color: #D2DECF;
  transition: color 0.16s ease, transform 0.16s ease;
}

.footer-col__list a:hover {
  color: var(--neon);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 18px var(--gutter);
  border-top: 1px solid rgba(140, 160, 143, 0.28);
  border-bottom: 1px solid rgba(140, 160, 143, 0.28);
}

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13.5px;
  color: #D2DECF;
  max-width: none;
}

.footer-contact__key {
  flex: none;
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  padding-top: 2px;
}

.footer-contact__val { word-break: break-word; }

.footer-service {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--sage);
  max-width: 78ch;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px var(--gutter) 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer-legal p { max-width: none; }

/* ---------- 14. 返回顶部 & 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--kiwi), var(--neon));
  pointer-events: none;
  transition: width 0.08s linear;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 110;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(23, 28, 24, 0.22);
  border-radius: 50%;
  background: var(--neon);
  color: var(--seed);
  box-shadow: 0 14px 30px -14px rgba(13, 27, 42, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top__arrow {
  width: 12px;
  height: 12px;
  border-left: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1180px) {
  .site-nav__link { padding: 9px 11px; font-size: 14px; }
  .header-actions .btn { padding: 10px 15px; font-size: 13px; }
}

@media (max-width: 1023px) {
  html { scroll-padding-top: 96px; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 10px var(--gutter) 22px;
    max-height: 74vh;
    overflow-y: auto;
    background: #0B1622;
    border-bottom: 1px solid rgba(124, 194, 74, 0.5);
    box-shadow: 0 26px 44px -26px rgba(0, 0, 0, 0.9);
  }

  .site-nav[data-open="true"] { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .header-actions { display: none; }

  .brand__name { font-size: 16px; }
  .brand__tag { font-size: 9.5px; letter-spacing: 0.16em; }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px var(--gutter);
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .header-bar { min-height: 60px; padding-block: 9px; }

  .brand__mark { width: 30px; height: 30px; }

  .team-strip__label { font-size: 10px; letter-spacing: 0.12em; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .to-top { width: 44px; height: 44px; }

  .prose { font-size: 16px; }
}

@media (max-width: 479px) {
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 10px 12px; }
  .footer-signature { font-size: 14px; }
}

/* ---------- 16. 动效降级 ---------- */
@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;
  }
}

/* ---------- 17. 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .scroll-progress { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
