/* =========================================================
   safe-wan-bo.com.cn — 共享样式表 /assets/site.css
   风格：深渊墨蓝底 / 霓虹青与暖橙功能高亮 / 粗边框 + 强阴影
   ========================================================= */

/* ---------- 01 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ---------- 02 变量 ---------- */
:root {
  --ink: #060E1A;
  --panel: #0C1B2E;
  --line: #16283F;
  --teal: #3FE0CE;
  --orange: #FF8A3D;
  --amber: #FFD166;
  --band-bluegreen: #124A47;
  --band-wine: #5C2233;
  --band-indigo: #33265E;
  --text: #E9EFF7;
  --muted: #9DB0C6;

  --font-display: "Archivo Narrow", "Oswald", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;

  --radius: 10px;
  --radius-pill: 999px;
  --bw: 2px;
  --bw-thick: 3px;
  --wrap: 1200px;
  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, .45);
  --shadow-teal: 0 0 0 1px rgba(63, 224, 206, .32), 0 14px 34px -18px rgba(63, 224, 206, .55);
  --header-h: 104px;
}

/* ---------- 03 页面基调 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 88% -8%, rgba(63, 224, 206, .07), transparent 62%),
    radial-gradient(900px 520px at -12% 34%, rgba(255, 138, 61, .05), transparent 62%),
    linear-gradient(rgba(22, 40, 63, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 40, 63, .5) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  background-attachment: fixed, fixed, scroll, scroll;
  min-height: 100vh;
  overflow-x: hidden;
}
@media (max-width: 640px) { body { font-size: 16px; } }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(19px, 2.4vw, 24px); }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 17px; }
p { max-width: 74ch; }

main { display: block; padding-top: var(--header-h); min-height: 60vh; }
@media (max-width: 1019px) { main { padding-top: 88px; } }

::selection { background: rgba(63, 224, 206, .28); color: #ffffff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #04090F; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #1F3A57; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- 04 跳转链接 ---------- */
.skip {
  position: fixed; top: -120px; left: 20px; z-index: 120;
  padding: 11px 20px;
  background: var(--teal); color: #04211D;
  font-family: var(--font-display); font-size: 14px; letter-spacing: .08em;
  border-radius: 0 0 10px 10px;
  transition: top .18s ease;
}
.skip:focus { top: 0; }

/* ---------- 05 布局容器 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 860px; }

/* ---------- 06 滚动进度 ---------- */
.scroll-rail {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110;
  background: rgba(22, 40, 63, .7); pointer-events: none;
}
.scroll-rail__bar {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--amber) 55%, var(--orange));
}

/* ---------- 07 头部浮岛 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: 14px;
  transition: padding-top .25s ease;
}
.site-header[data-scrolled="true"] { padding-top: 8px; }

.site-header__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px;
  display: flex; align-items: center; gap: 10px;
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 16px;
  background: rgba(12, 27, 46, .86);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.brand:hover { border-color: rgba(63, 224, 206, .55); }
.brand__mark {
  width: 11px; height: 11px; flex: none;
  background: var(--teal);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 12px rgba(63, 224, 206, .9);
  animation: pulse 3.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .42; } }

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.brand__line {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .16em;
  color: var(--muted);
}

.nav-pill { display: none; align-items: center; gap: 2px; margin-left: auto; padding: 6px;
  background: rgba(12, 27, 46, .86); border: var(--bw) solid var(--line);
  border-radius: var(--radius-pill); backdrop-filter: blur(10px);
}
.nav-pill__list { display: flex; align-items: center; gap: 2px; }
.nav-pill__link {
  display: block; padding: 8px 15px; border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display); font-size: 14px; letter-spacing: .08em;
  color: var(--muted);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.nav-pill__link:hover { color: var(--text); }
.nav-pill__link[aria-current="page"] {
  color: var(--teal);
  border-color: rgba(63, 224, 206, .6);
  background: rgba(63, 224, 206, .08);
}

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

.status-chip {
  display: none; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em;

  color: var(--teal);
  background: rgba(9, 20, 35, .86);
  border: var(--bw) solid rgba(63, 224, 206, .34);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.status-chip__dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
  animation: pulse 2.6s ease-in-out infinite;
}
.site-header .header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  width: 48px; height: 44px; padding: 0 13px;
  background: rgba(12, 27, 46, .86);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: rgba(63, 224, 206, .55); }
.nav-toggle__bars { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.nav-toggle__bar {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--teal);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.site-header[data-scrolled="true"] .brand,
.site-header[data-scrolled="true"] .nav-pill,
.site-header[data-scrolled="true"] .nav-toggle,
.site-header[data-scrolled="true"] .status-chip {
  background: rgba(9, 20, 35, .95);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .95);
}

/* ---------- 08 移动端导航面板 ---------- */
.nav-panel {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; gap: 6px;
  padding: 100px 24px 40px;
  overflow-y: auto;
  background:
    radial-gradient(620px 320px at 92% 2%, rgba(63, 224, 206, .12), transparent 62%),
    radial-gradient(520px 320px at 4% 92%, rgba(255, 138, 61, .10), transparent 62%),
    rgba(6, 14, 26, .975);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s linear;
}
.nav-panel[data-open="true"] {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.nav-panel__list { display: flex; flex-direction: column; }
.nav-panel__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 4px;
  border-bottom: var(--bw) solid var(--line);
  font-size: 20px; font-weight: 600; letter-spacing: .02em;
  transition: color .18s ease, padding-left .18s ease;
}
.nav-panel__link:hover, .nav-panel__link[aria-current="page"] { color: var(--teal); padding-left: 10px; }
.nav-panel__index {
  font-family: var(--font-mono); font-size: 12px; color: var(--orange); letter-spacing: .08em;
}
.nav-panel__meta {
  display: flex; align-items: center; gap: 9px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
}
.nav-panel__cta { margin-top: 20px; align-self: flex-start; }

/* ---------- 09 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: var(--bw) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-display); font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--primary {
  background: var(--orange); color: #200D02; border-color: var(--orange);
  font-weight: 700;
}
.btn--primary:hover {
  color: #200D02; background: #FFA05F; border-color: #FFA05F;
  box-shadow: 0 12px 26px -16px rgba(255, 138, 61, .95);
}
.btn--ghost { background: transparent; border-color: rgba(63, 224, 206, .45); color: var(--teal); }
.btn--ghost:hover { border-color: var(--teal); background: rgba(63, 224, 206, .08); }
.btn--sm { padding: 9px 17px; font-size: 12.5px; }

/* ---------- 10 章节与标题 ---------- */
.sec { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.sec--band { background: linear-gradient(180deg, rgba(12, 27, 46, .55), rgba(6, 14, 26, .95)); }
.band--bluegreen { background: linear-gradient(180deg, rgba(18, 74, 71, .72), rgba(18, 74, 71, .18)); }
.band--wine { background: linear-gradient(180deg, rgba(92, 34, 51, .72), rgba(92, 34, 51, .18)); }
.band--indigo { background: linear-gradient(180deg, rgba(51, 38, 94, .74), rgba(51, 38, 94, .18)); }

.sec-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head__index {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; color: var(--teal);
}
.sec-head__index::after { content: ""; width: 48px; height: 2px; background: var(--line); }
.sec-head__kicker {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.sec-head__title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 46px); line-height: 1.25; }
.sec-head__note { color: var(--muted); font-size: 15px; }

.kicker {
  display: inline-block;
  font-family: var(--font-display); font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
}
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: .02em; color: var(--amber); }
.rule { height: 2px; border: 0; margin: 32px 0; background: var(--line); }

/* ---------- 11 网格 ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--asym { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}

/* ---------- 12 面板卡片 ---------- */
.panel {
  background: var(--panel);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.panel:hover { border-color: rgba(63, 224, 206, .55); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel__title { font-family: var(--font-body); font-weight: 700; font-size: 17.5px; letter-spacing: .01em; }
.panel__body { color: var(--muted); font-size: 15.5px; }
.panel__body p + p { margin-top: 10px; }

/* ---------- 13 徽标与标签 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: rgba(12, 27, 46, .8);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted);
  white-space: nowrap;
}
.chip--teal { color: var(--teal); border-color: rgba(63, 224, 206, .42); }
.chip--orange { color: var(--orange); border-color: rgba(255, 138, 61, .45); }
.chip--amber { color: var(--amber); border-color: rgba(255, 209, 102, .45); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 11px;
  border: 1px dashed var(--line); border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}

/* ---------- 14 仪表板数据 ---------- */
.stat-grid {
  display: grid; gap: 2px;
  background: var(--line);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--panel); padding: 22px 20px; }
.stat__num {
  display: block;
  font-family: var(--font-mono); font-size: clamp(24px, 3vw, 34px); letter-spacing: .02em;
  color: var(--amber); line-height: 1.2;
}
.stat__label {
  display: block; margin-top: 6px;
  font-family: var(--font-display); font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- 15 步骤折叠 ---------- */
.steps { display: grid; gap: 12px; }
.step {
  background: var(--panel);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease;
}
.step[data-open="true"] { border-color: rgba(63, 224, 206, .55); }
.step__head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; text-align: left; }
.step__num {
  flex: none;
  padding: 2px 9px;
  border: 2px solid rgba(255, 138, 61, .5); border-radius: 6px;
  font-family: var(--font-mono); font-size: 13px; color: var(--orange);
}
.step__title { flex: 1; font-weight: 600; font-size: 16.5px; }
.step__sign { font-family: var(--font-mono); font-size: 18px; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.step[data-open="true"] .step__sign { transform: rotate(45deg); color: var(--teal); }
.step__body { display: none; padding: 0 18px 20px; color: var(--muted); font-size: 15.5px; }
.step[data-open="true"] .step__body { display: block; }

/* ---------- 16 面包屑与章节目录 ---------- */
.crumbs { padding: 20px 0 0; }
.crumbs__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}
.crumbs__list a { transition: color .18s ease; }
.crumbs__list a:hover { color: var(--teal); }
.crumbs__sep { color: #2A4160; }

.toc { display: grid; gap: 2px; border-left: var(--bw) solid var(--line); }
.toc__link {
  display: block; margin-left: calc(var(--bw) * -1);
  padding: 9px 14px;
  border-left: var(--bw) solid transparent;
  font-size: 14.5px; color: var(--muted);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.toc__link:hover { color: var(--text); }
.toc__link[aria-current="true"] {
  color: var(--teal); border-left-color: var(--teal); background: rgba(63, 224, 206, .07);
}

/* ---------- 17 图片容器（页面阶段放图用） ---------- */
.figure { display: grid; gap: 10px; }
.figure__media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(63, 224, 206, .09), transparent 46%),
    var(--panel);
  border: var(--bw) solid var(--line);
  border-radius: var(--radius);
}
.figure__media img { width: 100%; height: 100%; object-fit: cover; }
.figure__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(63, 224, 206, .16), transparent);
  transform: translateX(-100%);
  animation: scanline 7s linear infinite;
  pointer-events: none;
}
@keyframes scanline { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 3 / 4; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }
.figure__caption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* ---------- 18 进入视口 ---------- */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
html:not(.js-on) [data-reveal] { opacity: 1; transform: none; }

/* ---------- 19 返回顶部 ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 80;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: var(--bw) solid var(--line); border-radius: 50%;
  background: rgba(12, 27, 46, .92);
  color: var(--teal); font-size: 18px; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s linear, border-color .2s ease, box-shadow .2s ease;
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); }

/* ---------- 20 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  border-top: var(--bw-thick) solid var(--line);
  background: linear-gradient(180deg, rgba(12, 27, 46, .62), #04090F 72%);
}
.site-footer::before {
  content: ""; position: absolute; top: calc(var(--bw-thick) * -1); left: 0;
  width: min(100%, 420px); height: var(--bw-thick);
  background: linear-gradient(90deg, var(--teal), transparent);
}

.footer__top {
  display: grid; gap: 40px;
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 56px 20px 34px;
}
@media (min-width: 980px) {
  .footer__top { grid-template-columns: minmax(240px, 1.1fr) 2.6fr; gap: 56px; }
}

.footer__brand-name { font-weight: 700; font-size: 18px; letter-spacing: .03em; }
.footer__tagline { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.8; max-width: 34ch; }
.footer__brand-mono {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--amber);
}

.footer__cols { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 980px) { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }

.footer__title {
  margin-bottom: 15px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal);
}
.footer__list { display: grid; gap: 11px; }
.footer__link {
  font-size: 14.5px; color: var(--muted);
  transition: color .18s ease, border-color .18s ease;
  border-bottom: 1px solid transparent;
}
.footer__link:hover { color: var(--text); border-bottom-color: rgba(63, 224, 206, .6); }
.footer__text { font-size: 13.5px; color: var(--muted); line-height: 1.75; word-break: break-word; }
.footer__key {
  display: block;
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #6C819B;
}
.footer__text--mono { font-family: var(--font-mono); font-size: 13px; color: var(--text); letter-spacing: .02em; }
.footer__addr { color: var(--muted); }

.footer__bottom { border-top: var(--bw) solid var(--line); }
.footer__bottom-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 22px 20px 42px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
}
.footer__closing { max-width: 68ch; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.footer__legal {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; color: #6C819B; white-space: nowrap;
}

/* ---------- 21 断点 ---------- */
@media (min-width: 1020px) {
  .nav-pill { display: flex; }
  .nav-toggle { display: none; }
  .nav-panel { display: none; }
  .site-header .status-chip { display: inline-flex; }
  .site-header .header-cta { display: inline-flex; }
}
@media (max-width: 1019px) {
  .header-actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .brand { padding: 8px 13px; gap: 9px; }
  .brand__line { display: none; }
  .to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; }
}

/* ---------- 22 减弱动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .figure__media::after { display: none; }
}
