/* ============================================================
   B体育掌上 · 共享样式 /assets/site.css
   夜色战术屏：深空黑 + 荧光青描边 + 橙红数据 + 暖金权益
   ============================================================ */

:root {
  --ink: #060A0F;
  --ink-2: #101A22;
  --slate: #1E303B;
  --mist: #F2F7F4;
  --cyan: #2FF3D0;
  --ember: #FF5A36;
  --gold: #FFC46B;
  --moss: #6F8F6A;
  --clay: #B87352;
  --neutral: #8798A3;

  --glass: rgba(16, 26, 34, 0.72);
  --line: rgba(135, 152, 163, 0.22);
  --line-cyan: rgba(47, 243, 208, 0.20);
  --mist-72: rgba(242, 247, 244, 0.72);
  --mist-56: rgba(242, 247, 244, 0.56);

  --font-display: "Songti SC", "Noto Serif SC", "Times New Roman", Georgia, serif;
  --font-body: system-ui, -apple-system, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "DIN Alternate", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  background-color: var(--ink);
  background-image:
    radial-gradient(680px 420px at 10% -6%, rgba(47, 243, 208, 0.10), transparent 62%),
    radial-gradient(760px 460px at 98% 2%, rgba(255, 90, 54, 0.09), transparent 60%),
    linear-gradient(180deg, #060A0F 0%, #060A0F 58%, #080D13 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--cyan); color: #04120F; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
#main-content { outline: none; }

/* ---------- 中文排版与标题 ---------- */
h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--mist);
  text-wrap: balance;
}
h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

/* ---------- 跳至主要内容 ---------- */
.site-skip {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 220;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #04120F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transform: translate(-50%, -180%);
  transition: transform 0.22s var(--ease);
}
.site-skip:focus { transform: translate(-50%, 0); }

/* ---------- 页头：悬浮玻璃胶囊 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: clamp(10px, 1.6vw, 18px) var(--gutter) 0;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 9px 12px 9px 15px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(30, 48, 59, 0.86), rgba(16, 26, 34, 0.80));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(242, 247, 244, 0.07);
  transition: padding 0.24s var(--ease), border-radius 0.24s var(--ease),
              background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-header[data-condensed] .nav-shell {
  padding: 6px 10px 6px 14px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(16, 26, 34, 0.96), rgba(6, 10, 15, 0.94));
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(47, 243, 208, 0.14);
}

/* 品牌锁定 */
.brand-lockup {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--mist);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #04120F;
  background: linear-gradient(150deg, var(--cyan), #17B8A1);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  transition: filter 0.18s var(--ease);
}
.brand-lockup:hover .brand-mark { filter: brightness(1.12); }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* 移动端开合按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-cyan);
  border-radius: 12px;
  background: rgba(47, 243, 208, 0.09);
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { background: rgba(47, 243, 208, 0.18); }
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.16s var(--ease);
}
.nav-shell[data-open] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-shell[data-open] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-shell[data-open] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 导航主体 */
.nav-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.4vw, 18px);
  min-width: 0;
}
.nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  counter-reset: navi;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--mist-72);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.nav-link::before {
  counter-increment: navi;
  content: counter(navi, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--neutral);
  transition: color 0.16s var(--ease);
}
.nav-link:hover { color: var(--mist); background: rgba(242, 247, 244, 0.07); }
.nav-link:hover::before { color: var(--cyan); }
.nav-link[aria-current="page"] {
  color: #04120F;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(47, 243, 208, 0.55), 0 10px 22px -14px var(--cyan);
}
.nav-link[aria-current="page"]::before { color: rgba(4, 18, 15, 0.62); }

/* 胶囊右端状态与行动 */
.nav-utility {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 90, 54, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 54, 0.12);
  color: #FFD3C8;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.18);
  animation: livePulse 2.4s ease-in-out infinite;
}
.live-label { text-transform: uppercase; letter-spacing: 0.16em; }
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.82); }
}

.nav-cta { white-space: nowrap; }
.nav-cta-secondary { display: none; }

/* 滚动进度线 */
.scroll-progress {
  position: absolute;
  right: var(--gutter);
  bottom: 2px;
  left: var(--gutter);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--ember));
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease),
              color 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--ember), #FF7A4F);
  color: #180603;
  box-shadow: 0 10px 24px -16px rgba(255, 90, 54, 0.95);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(255, 90, 54, 1); }
.btn--ghost {
  border-color: var(--line-cyan);
  background: rgba(47, 243, 208, 0.08);
  color: var(--cyan);
}
.btn--ghost:hover { background: rgba(47, 243, 208, 0.18); transform: translateY(-2px); }
.btn--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--mist-72);
}
.btn--quiet:hover { color: var(--mist); border-color: rgba(242, 247, 244, 0.42); }
.btn--sm { min-height: 34px; padding: 0 12px; font-size: 12px; }

/* ---------- 布局容器与 Bento 网格 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(28px, 5vw, 64px); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(16px, 2.4vw, 28px);
}

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* 内容层 */
.panel {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(30, 48, 59, 0.70), rgba(16, 26, 34, 0.88));
}
.panel--glass {
  background: rgba(16, 26, 34, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.panel--solid { background: var(--slate); }
.panel--focus {
  border-color: var(--line-cyan);
  box-shadow: 0 0 0 1px rgba(47, 243, 208, 0.12), 0 30px 60px -46px rgba(0, 0, 0, 1);
}

/* ---------- 图像占位容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: #0B1620;
  background-image:
    radial-gradient(120% 120% at 18% 0%, rgba(47, 243, 208, 0.16), transparent 58%),
    radial-gradient(90% 90% at 96% 100%, rgba(255, 90, 54, 0.14), transparent 62%),
    repeating-linear-gradient(90deg, rgba(135, 152, 163, 0.16) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(135, 152, 163, 0.12) 0 1px, transparent 1px 28px);
}
.media-frame img,
.media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  background: rgba(6, 10, 15, 0.74);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- 编辑感零件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.data-figure {
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.divider {
  height: 1px;
  margin: clamp(20px, 3vw, 32px) 0;
  border: 0;
  background: linear-gradient(90deg, var(--line), transparent);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--neutral);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--cyan { border-color: var(--line-cyan); background: rgba(47, 243, 208, 0.10); color: var(--cyan); }
.tag--ember { border-color: rgba(255, 90, 54, 0.4); background: rgba(255, 90, 54, 0.12); color: #FFB9A6; }
.tag--gold { border-color: rgba(255, 196, 107, 0.4); background: rgba(255, 196, 107, 0.12); color: var(--gold); }
.tag--moss { border-color: rgba(111, 143, 106, 0.55); background: rgba(111, 143, 106, 0.16); color: #B9D3B4; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--neutral);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.breadcrumb-item { display: flex; align-items: center; gap: 8px; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--slate);
  font-size: 12px;
}
.breadcrumb-link { color: var(--mist-72); }
.breadcrumb-link:hover { color: var(--cyan); }
.breadcrumb-current { color: var(--cyan); }

/* ---------- 长文阅读区 ---------- */
.prose { max-width: 68ch; color: rgba(242, 247, 244, 0.84); }
.prose p { margin: 0 0 1.05em; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose a { border-bottom: 1px solid rgba(47, 243, 208, 0.45); }
.prose strong { color: var(--mist); }

/* ---------- 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js [data-reveal][data-revealed] { opacity: 1; transform: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(720px 320px at 8% 0%, rgba(47, 243, 208, 0.08), transparent 66%),
    linear-gradient(180deg, rgba(16, 26, 34, 0.92), var(--ink) 62%);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--ember), transparent);
  opacity: 0.7;
}

.footer-next {
  display: grid;
  grid-template-columns: auto repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(26px, 4vw, 40px) var(--gutter);
  border-bottom: 1px dashed var(--line);
}
.footer-next-label {
  color: var(--neutral);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(30, 48, 59, 0.46);
  color: var(--mist);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
              background 0.18s var(--ease), color 0.18s var(--ease);
}
.footer-next-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-cyan);
  background: rgba(47, 243, 208, 0.08);
  color: var(--cyan);
}
.footer-next-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 46px) var(--gutter);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-tagline {
  margin: 0;
  max-width: 26ch;
  color: var(--mist-56);
  font-size: 14px;
  line-height: 1.7;
}
.footer-col-title {
  margin: 0 0 12px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-list { display: grid; gap: 9px; list-style: none; }
.footer-link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--mist-72);
  font-size: 14px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.footer-link:hover { color: var(--mist); border-bottom-color: var(--cyan); }

.footer-contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(16px, 3vw, 36px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(22px, 3vw, 32px) var(--gutter);
  border-top: 1px dashed var(--line);
}
.footer-contact-list { display: grid; gap: 10px; list-style: none; }
.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}
.footer-contact-label {
  min-width: 40px;
  color: var(--neutral);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer-contact-value {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.copy-btn {
  padding: 2px 10px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  background: rgba(47, 243, 208, 0.08);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.copy-btn:hover { background: rgba(47, 243, 208, 0.2); }
.copy-btn[data-copied="true"] {
  border-color: rgba(111, 143, 106, 0.6);
  background: rgba(111, 143, 106, 0.2);
  color: #C6DEC1;
}
.copy-btn[data-copied="false"] {
  border-color: rgba(255, 90, 54, 0.5);
  background: rgba(255, 90, 54, 0.14);
  color: #FFB9A6;
}
.footer-note {
  margin: 0;
  color: var(--mist-56);
  font-size: 13px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 16px var(--gutter) clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  color: var(--neutral);
  font-size: 12.5px;
}
.footer-copy { margin: 0; }
.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- 平板 ---------- */
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line-cyan);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(16, 26, 34, 0.98), rgba(6, 10, 15, 0.99));
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }
  .nav-shell[data-open] .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-shell[data-open] { border-color: rgba(47, 243, 208, 0.4); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { justify-content: flex-start; padding: 12px 14px; font-size: 15px; }
  .nav-utility { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
  .nav-utility .btn { width: 100%; }
  .nav-cta-secondary { display: inline-flex; }
  .live-pill { justify-self: start; }
  .scroll-progress { bottom: 0; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 手机 ---------- */
@media (max-width: 680px) {
  body { font-size: 15.5px; line-height: 1.72; }
  .nav-shell { padding: 8px 10px 8px 12px; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  .brand-name { font-size: 15.5px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.16em; }

  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: 1 / -1; }

  .footer-next { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
  .footer-next-link { font-size: 13.5px; padding: 12px 14px; }
}

/* ---------- 焦点态与动效降级 ---------- */
a:focus-visible,
button:focus-visible,
.footer-next-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@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;
  }
  .live-dot { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover,
  .footer-next-link:hover { transform: none; }
}
