/* =========================================================
   888电子主页 · 共享站点样式 /assets/site.css
   电子档案库终端视觉：深墨黑底 + 电子蓝结构 + 青绿/霓虹橙强调
   ========================================================= */

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

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

body {
  margin: 0;
  min-height: 100%;
  background-color: #05080D;
  background-image:
    radial-gradient(920px 440px at 50% -10%, rgba(31, 94, 255, .22), transparent 72%),
    repeating-linear-gradient(0deg, rgba(141, 179, 255, .045) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(90deg, rgba(141, 179, 255, .045) 0 1px, transparent 1px 88px);
  background-repeat: no-repeat, repeat, repeat;
  background-attachment: fixed, fixed, fixed;
  color: #F2F6FF;
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Space Grotesk", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #F2F6FF;
}

p { margin: 0; }

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

a {
  color: #8DB3FF;
  text-decoration: none;
  transition: color .18s cubic-bezier(.22, .61, .36, 1);
}
a:hover { color: #26E0C8; }

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

:focus-visible {
  outline: 2px solid #26E0C8;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #05080D;
  --ink-800: #0A101A;
  --ink-700: #111B2B;
  --ink-600: #1A2740;
  --blue: #1F5EFF;
  --blue-soft: #8DB3FF;
  --mint: #26E0C8;
  --orange: #FF6B2C;
  --amber: #FFC46B;
  --paper: #F2F6FF;
  --steel: #8C9BB2;

  --line: rgba(141, 179, 255, .16);
  --line-strong: rgba(141, 179, 255, .38);
  --text-soft: rgba(242, 246, 255, .76);
  --text-dim: rgba(242, 246, 255, .62);

  --font-display: "Space Grotesk", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --pad-section: clamp(56px, 8vw, 112px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 布局 ---------- */
.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

.grid-cards {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr));
}

.grid-split {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

/* ---------- 4. 文字工具 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(38, 224, 200, .8);
}

.lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 64ch;
}

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

.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1em; color: var(--text-soft); }
.prose h2 {
  margin: 1.9em 0 .6em;
  font-size: clamp(22px, 2.6vw, 30px);
}
.prose h3 {
  margin: 1.5em 0 .5em;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--paper);
}
.prose ul {
  display: grid;
  gap: .6em;
  margin-bottom: 1.2em;
}
.prose ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--mint);
}
.prose a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong { color: var(--paper); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #180800;
  box-shadow: 0 10px 28px rgba(255, 107, 44, .28);
}
.btn--primary:hover {
  background: #FF8148;
  color: #180800;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 107, 44, .42);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--paper);
  background-color: transparent;
}
.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
  background-color: rgba(38, 224, 200, .08);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- 6. 胶囊标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(141, 179, 255, .25);
  border-radius: var(--radius-pill);
  background-color: rgba(17, 27, 43, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.chip:hover {
  color: var(--mint);
  border-color: rgba(38, 224, 200, .55);
  background-color: rgba(38, 224, 200, .1);
}

/* ---------- 7. 卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-image: linear-gradient(165deg, rgba(17, 27, 43, .96), rgba(10, 16, 26, .96));
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.panel:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
}

.panel--accent {
  border-color: rgba(255, 107, 44, .42);
  background-image: linear-gradient(165deg, rgba(255, 107, 44, .14), rgba(10, 16, 26, .96));
}
.panel--accent:hover { border-color: rgba(255, 107, 44, .72); }

/* ---------- 8. 数据带 ---------- */
.data-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-image: linear-gradient(120deg, rgba(31, 94, 255, .16), rgba(10, 16, 26, .7));
}

.data-cell {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.data-cell:last-child { border-right: 0; }

.data-cell-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}

.data-cell-value {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--paper);
}
.data-cell-value--accent { color: var(--orange); }

/* ---------- 9. 版本时间轴 ---------- */
.timeline {
  position: relative;
  padding-left: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background-image: linear-gradient(180deg, var(--blue), rgba(38, 224, 200, .38), transparent);
}
.timeline > li {
  position: relative;
  padding: 0 0 26px 8px;
}
.timeline > li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--ink-900);
  border: 1px solid var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, .16);
}
.timeline > li:last-child { padding-bottom: 0; }

/* ---------- 10. 折叠面板 ---------- */
.disclosure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: rgba(17, 27, 43, .92);
}
.disclosure + .disclosure { margin-top: 10px; }

.disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--paper);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--mint);
  transition: transform .2s var(--ease);
}
.disclosure > summary:hover { background-color: rgba(31, 94, 255, .12); }
.disclosure[open] > summary { background-color: rgba(31, 94, 255, .16); }
.disclosure[open] > summary::after { transform: rotate(45deg); }

.disclosure-body {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-image: linear-gradient(150deg, var(--ink-700), var(--ink-900));
}
.media-frame > img,
.media-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(141, 179, 255, .35) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .26;
  mix-blend-mode: screen;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }

/* ---------- 12. 面包屑 ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumbs li + li::before {
  content: "/";
  color: rgba(141, 179, 255, .42);
}
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--mint); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 13. 侧边索引（data-spy） ---------- */
[data-spy] { position: relative; }
[data-spy] a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
[data-spy] a:hover {
  color: var(--paper);
  background-color: rgba(31, 94, 255, .12);
}
[data-spy] a.is-active {
  color: var(--mint);
  border-left-color: var(--mint);
  background-color: rgba(38, 224, 200, .08);
}

/* ---------- 14. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(5, 8, 13, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--mint);
  color: #04120F;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: #04120F;
}

.masthead-rail {
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, rgba(31, 94, 255, .18), rgba(38, 224, 200, .1) 62%, transparent);
}
.masthead-rail .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-block: 6px;
}

.rail-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.rail-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background-color: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.masthead { padding-block: clamp(14px, 2vw, 22px); }

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: var(--paper); }

.brand-mark {
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-image: linear-gradient(160deg, rgba(31, 94, 255, .3), rgba(38, 224, 200, .1));
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.06em;
  color: var(--paper);
  text-shadow: 0 0 22px rgba(31, 94, 255, .7);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.brand:hover .brand-mark {
  border-color: rgba(38, 224, 200, .6);
  box-shadow: 0 0 22px rgba(38, 224, 200, .35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--paper);
}
.brand-tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  line-height: 1.4;
  color: var(--steel);
}

.nav-toggle {
  grid-column: 1;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--paper);
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.nav-toggle:hover {
  border-color: var(--mint);
  color: var(--mint);
  background-color: rgba(38, 224, 200, .08);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform .2s var(--ease);
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars { background-color: transparent; }
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(5px) rotate(45deg);
  background-color: var(--mint);
}
[data-nav-toggle][aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-5px) rotate(-45deg);
  background-color: var(--mint);
}

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
}

.masthead-cta {
  grid-column: 3;
  justify-self: end;
}

.primary-nav {
  border-top: 1px solid var(--line);
  background-color: rgba(10, 16, 26, .6);
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--steel);
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.nav-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: .45;
}
.nav-list a:hover {
  color: var(--paper);
  border-color: var(--line-strong);
  background-color: rgba(31, 94, 255, .16);
}
.nav-list a[aria-current="page"] {
  color: #F2F6FF;
  border-color: rgba(141, 179, 255, .5);
  background-color: var(--blue);
  box-shadow: 0 6px 22px rgba(31, 94, 255, .45);
}
.nav-list a[aria-current="page"]::before {
  background-color: var(--mint);
  opacity: 1;
}

.scroll-meter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--blue), var(--mint) 62%, var(--orange));
  box-shadow: 0 0 12px rgba(38, 224, 200, .6);
  pointer-events: none;
  transition: transform .1s linear;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background-image: linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.footer-strip {
  border-bottom: 1px solid var(--line);
  background-color: rgba(31, 94, 255, .1);
}
.footer-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding-block: 14px;
}

.footer-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
}

.footer-strip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-main {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px);
}
.footer-main::before {
  content: "888";
  position: absolute;
  right: clamp(-10px, -1vw, -20px);
  bottom: -.22em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(150px, 26vw, 320px);
  font-weight: 700;
  line-height: .75;
  letter-spacing: -.08em;
  color: rgba(31, 94, 255, .06);
  -webkit-text-stroke: 1px rgba(31, 94, 255, .24);
  pointer-events: none;
  user-select: none;
}
.footer-main .wrap {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-mark {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background-image: linear-gradient(160deg, rgba(31, 94, 255, .32), rgba(38, 224, 200, .12));
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--paper);
}
.footer-brandname {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--paper);
}
.footer-summary {
  max-width: 40ch;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.footer-contact {
  display: grid;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}
.footer-contact-key {
  flex: none;
  min-width: 40px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .01em;
  color: var(--paper);
  word-break: break-word;
}
.footer-note {
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--steel);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.footer-col a:hover {
  color: var(--mint);
  padding-left: 2px;
}

.footer-base {
  border-top: 1px solid var(--line);
  background-color: rgba(5, 8, 13, .82);
}
.footer-base .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px;
}
.footer-base-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--steel);
}

/* ---------- 16. 响应式 ---------- */
@media (min-width: 900px) {
  .grid-split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; }
  .primary-nav[data-open="true"] {
    display: block;
    max-height: min(72vh, 540px);
    overflow-y: auto;
    animation: navDrop .2s var(--ease);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 18px;
  }
  .nav-list a {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
  .nav-list a[aria-current="page"] { box-shadow: none; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .quick-tags { display: none; }
  .data-strip {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
  .data-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .data-cell:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .masthead-cta { display: none; }
  .masthead-inner { gap: 10px; }
}

@media (max-width: 640px) {
  .brand-tagline { display: none; }
  .brand { gap: 10px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .footer-summary { max-width: none; }
  .footer-main::before { font-size: clamp(120px, 44vw, 260px); }
}

@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-base .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .panel:hover,
  .btn:hover { transform: none; }
  .scroll-meter { transition: none; }
  .primary-nav[data-open="true"] { animation: none; }
}
