/* ============================================================
   app-e-wanbo.com.cn — Site Kit / assets/site.css
   深墨绿控制室 · 荧光金锚点 · 等宽索引 · 胶囊与连续曲线
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #07120D;
  --panel: #0E2A1D;
  --panel-2: #1B4A34;
  --lime: #D9FF43;
  --blue: #4DA3FF;
  --paper: #F3F8F2;
  --char: #151A16;
  --mist: #A7B8AC;
  --amber: #FFB54A;
  --ok: #42D392;

  --rail: 264px;
  --bar-h: 72px;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --line: rgba(167, 184, 172, 0.2);
  --line-strong: rgba(167, 184, 172, 0.34);
  --shadow-soft: 0 28px 64px -36px rgba(0, 0, 0, 0.92);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

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

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.16s ease, opacity 0.16s ease;
}
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

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

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

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

::selection { background: var(--lime); color: #08150D; }

/* ---------- 3. 工具类 ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.mono-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(217, 255, 67, 0.5), rgba(167, 184, 172, 0.16) 42%, transparent 100%);
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--lime);
  color: #08150D;
  box-shadow: 0 14px 34px -20px rgba(217, 255, 67, 0.9);
}
.btn--primary:hover { background: #E8FF86; color: #08150D; }

.btn--ghost {
  background: transparent;
  border-color: rgba(243, 248, 242, 0.24);
  color: var(--paper);
}
.btn--ghost:hover { border-color: rgba(217, 255, 67, 0.62); color: var(--lime); }

.btn--quiet {
  background: rgba(77, 163, 255, 0.12);
  border-color: rgba(77, 163, 255, 0.36);
  color: var(--blue);
}
.btn--quiet:hover { background: rgba(77, 163, 255, 0.2); }

.btn--sm { padding: 8px 14px; font-size: 13px; }

/* ---------- 5. 徽章 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--mist);
  white-space: nowrap;
}
.badge--live {
  color: var(--ok);
  border-color: rgba(66, 211, 146, 0.45);
  background: rgba(66, 211, 146, 0.08);
}
.badge--warn {
  color: var(--amber);
  border-color: rgba(255, 181, 74, 0.45);
  background: rgba(255, 181, 74, 0.08);
}
.badge--key {
  color: var(--lime);
  border-color: rgba(217, 255, 67, 0.45);
  background: rgba(217, 255, 67, 0.08);
}

/* ---------- 6. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--lime);
  color: #08150D;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  text-decoration: none;
  outline-offset: 4px;
}

/* ---------- 7. 头部命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 18, 13, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: var(--bar-h);
}

/* 品牌列 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  min-width: 0;
}
.brand__lockup:hover { text-decoration: none; }
.brand__lockup:hover .brand__mark { transform: rotate(45deg) scale(1.04); }

.brand__mark {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--lime) 0%, #9FD62B 100%);
  box-shadow: 0 0 0 1px rgba(217, 255, 67, 0.34), 0 10px 22px -14px rgba(217, 255, 67, 0.9);
  transition: transform 0.24s ease;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid #08150D;
  border-radius: 3px;
  transform: rotate(45deg);
}

.brand__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  color: var(--mist);
  white-space: nowrap;
}

.brand__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--lime);
  border: 1px solid rgba(217, 255, 67, 0.42);
  border-radius: var(--pill);
  padding: 3px 9px;
  white-space: nowrap;
}

/* 命令导航 */
.site-nav {
  justify-self: center;
  min-width: 0;
}

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

.site-nav__item { display: block; }

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px;
  border-radius: var(--pill);
  color: rgba(243, 248, 242, 0.82);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.site-nav__link:hover {
  background: rgba(27, 74, 52, 0.75);
  color: var(--paper);
  text-decoration: none;
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--mist);
  opacity: 0.7;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.site-nav__link[aria-current="page"] {
  background: rgba(217, 255, 67, 0.11);
  color: var(--lime);
}
.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--lime);
  opacity: 1;
}

/* 右侧操作区 */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--mist);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(66, 211, 146, 0.5);
  animation: status-breathe 3.2s ease-in-out infinite;
}

@keyframes status-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66, 211, 146, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(66, 211, 146, 0); }
}

.header-cta {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: var(--pill);
  border: 1px solid rgba(243, 248, 242, 0.22);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-toggle:hover { border-color: rgba(217, 255, 67, 0.6); color: var(--lime); }

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

.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__text { line-height: 1; }

/* 滚动进度线 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, var(--ink) 0%, #040B07 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(16px, 4vw, 40px);
  width: 96px;
  height: 2px;
  background: var(--lime);
}

.footer__inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.footer__top {
  display: grid;
  gap: 10px;
  padding-bottom: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.footer__brand {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--paper);
}
.footer__brand::after {
  content: "";
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: baseline;
}

.footer__brand-line {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--mist);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.footer__col { min-width: 0; }

.footer__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lime);
  line-height: 1.4;
}

.footer__list {
  display: grid;
  gap: 9px;
}

.footer__link {
  color: rgba(243, 248, 242, 0.86);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.footer__link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__items {
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
  word-break: break-word;
}

.footer__note {
  margin: 0;
  max-width: 70ch;
  padding: 14px 18px;
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(255, 181, 74, 0.07);
  color: rgba(243, 248, 242, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer__legal,
.footer__meta {
  margin: 0;
  font-size: 12px;
  color: var(--mist);
}

/* 底部快捷命令条（仅移动端可见） */
.quickbar { display: none; }

.quickbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.quickbar__link:hover { background: rgba(27, 74, 52, 0.92); text-decoration: none; }
.quickbar__link[aria-current="page"] { background: var(--lime); color: #08150D; }

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__list > li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__link { color: var(--blue); text-decoration: none; }
.breadcrumb__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb__sep { color: rgba(167, 184, 172, 0.5); }

.breadcrumb__current { color: rgba(243, 248, 242, 0.9); }

/* ---------- 10. 正文容器 ---------- */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(243, 248, 242, 0.9);
}

.prose h2 {
  margin: 1.8em 0 0.5em;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--paper);
}
.prose h3 {
  margin: 1.5em 0 0.4em;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--paper);
}
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--paper); font-weight: 700; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(27, 74, 52, 0.7);
  color: var(--lime);
}
.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
  margin: 0 0 1.2em;
}
.prose ul > li {
  position: relative;
  padding-left: 22px;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(45deg);
}
.prose ol { counter-reset: prose-ol; }
.prose ol > li {
  position: relative;
  padding-left: 34px;
  counter-increment: prose-ol;
}
.prose ol > li::before {
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.12em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lime);
}

/* ---------- 11. 区块标题组 ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head__title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--paper);
}

.section-head__lead {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 12. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}
.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); }

/* ---------- 13. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(27, 74, 52, 0.9);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.card--paper {
  background: var(--paper);
  border-color: rgba(21, 26, 22, 0.1);
  color: var(--char);
}
.card--paper a { color: #0A5FB8; }
.card--paper .card__title { color: var(--char); }
.card--paper .card__meta { color: #4A5A4F; }

.card__title {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--paper);
}

.card__meta {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 14. 横向滑动模块 ---------- */
.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--panel-2) transparent;
}
.scroller > * {
  flex: 0 0 clamp(240px, 42%, 380px);
  scroll-snap-align: start;
}
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-track { background: transparent; }
.scroller::-webkit-scrollbar-thumb {
  background: var(--panel-2);
  border-radius: 99px;
}

/* ---------- 15. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 120% at 12% 0%, #1B4A34 0%, #0E2A1D 46%, #07120D 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 184, 172, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 184, 172, 0.15) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(118deg, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 72%);
  mask-image: linear-gradient(118deg, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 72%);
}

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

.media-frame__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: rgba(243, 248, 242, 0.82);
}

/* ---------- 16. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand__tagline { display: none; }
  .header-status { display: none; }
  .site-nav__index { display: none; }
  .site-nav__link { padding: 9px 10px; font-size: 13.5px; }
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
}

@media (max-width: 1080px) {
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .brand__badge { display: none; }
}

@media (max-width: 920px) {
  :root { --bar-h: 64px; }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand__name { font-size: 17px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    justify-self: stretch;
    padding: 14px 0 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid rgba(27, 74, 52, 0.9);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
    max-height: calc(100vh - var(--bar-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

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

  .site-nav__link {
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: var(--r-md);
    font-size: 16px;
    background: rgba(7, 18, 13, 0.55);
  }

  .site-nav__index { display: inline; font-size: 11px; }

  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .site-footer { padding-bottom: 104px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__col:last-child { grid-column: 1 / -1; }

  .quickbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    padding: 8px;
    border-radius: var(--pill);
    border: 1px solid rgba(27, 74, 52, 0.95);
    background: rgba(14, 42, 29, 0.96);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  :where(main) { padding-bottom: 80px; }
}

@media (max-width: 860px) {
  .grid--2,
  .grid--3,
  .grid--asym { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .footer__brand { font-size: clamp(2rem, 12vw, 2.8rem); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__col:last-child { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .scroller > * { flex-basis: 82%; }

  .button-row,
  .btn-row { display: grid; gap: 10px; }
}

/* ---------- 18. 焦点与动效可访问性 ---------- */
@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;
  }

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

  .status-dot { animation: none; }

  .btn:hover,
  .brand__lockup:hover .brand__mark { transform: none; }

  .scroller { scroll-behavior: auto; }
}
