/* ===========================================================
   三亿体育入口 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 框架式头部 / 斜切页脚 / 通用组件
   =========================================================== */

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

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

body { margin: 0; }

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

/* ---------- 01 / 变量 ---------- */
:root {
  --abyss: #06121F;
  --hull: #0B1D2E;
  --tide: #123A57;
  --electric: #19E3D0;
  --electric-soft: #7CF2E6;
  --coral: #FF6B3D;
  --paper: #F4F8FA;
  --mist: #9FB6C6;
  --line: #1E3A4F;

  --font-display: "Arial Narrow", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 52px);
  --header-h: 68px;
  --slant: 66px;

  --r-lg: 26px;
  --r-md: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --scroll-progress: 0;
}

/* ---------- 02 / 基底与中文排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  color: var(--paper);
  background-color: var(--abyss);
  background-image:
    radial-gradient(900px 520px at 88% -8%, rgba(25, 227, 208, .16), transparent 62%),
    radial-gradient(760px 460px at 2% 6%, rgba(255, 107, 61, .10), transparent 60%),
    linear-gradient(rgba(30, 58, 79, .42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 79, .42) 1px, transparent 1px);
  background-size: auto, auto, 88px 88px, 88px 88px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body { background-attachment: fixed; }
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 7vw, 88px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); letter-spacing: 0; }

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

a {
  color: var(--electric-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--electric); }

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

::selection {
  background: var(--electric);
  color: #04141f;
}

#main-content { display: block; }
#main-content:focus { outline: none; }

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

.section { padding-block: clamp(48px, 7vw, 96px); }

.band {
  background:
    linear-gradient(120deg, rgba(18, 58, 87, .92), rgba(11, 29, 46, .94));
  border-block: 1px solid rgba(30, 58, 79, .9);
  padding-block: clamp(36px, 5vw, 72px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--electric);
}
.eyebrow::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(25, 227, 208, .55), transparent);
}

.lead {
  max-width: 32em;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
  color: rgba(244, 248, 250, .84);
}

.prose {
  max-width: 38em;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(244, 248, 250, .86);
}
.prose p { max-width: 34em; }
.prose h2, .prose h3 { margin-top: 1.6em; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* ---------- 04 / 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              color .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--coral);
  color: #170803;
  box-shadow: 0 12px 30px rgba(255, 107, 61, .26);
}
.btn--primary:hover { background: #ff8358; color: #170803; }

.btn--electric {
  background: var(--electric);
  color: #04141f;
  box-shadow: 0 12px 30px rgba(25, 227, 208, .22);
}
.btn--electric:hover { background: var(--electric-soft); color: #04141f; }

.btn--ghost {
  border-color: var(--line);
  color: var(--paper);
  background: rgba(11, 29, 46, .6);
}
.btn--ghost:hover { border-color: var(--electric); color: var(--electric); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  background: rgba(25, 227, 208, .12);
  color: var(--electric-soft);
  box-shadow: inset 0 0 0 1px rgba(25, 227, 208, .28);
}
.pill--coral {
  background: rgba(255, 107, 61, .16);
  color: var(--coral);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 61, .34);
}

.code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .04em;
}

.panel {
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(30, 58, 79, .9);
  background: linear-gradient(158deg, rgba(18, 58, 87, .74), rgba(11, 29, 46, .92));
}

.breadcrumb { padding-block: 22px; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}
.breadcrumb__item { display: inline-flex; align-items: center; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-inline: 10px;
  color: var(--line);
}
.breadcrumb__item a { color: var(--mist); }
.breadcrumb__item a:hover { color: var(--electric); }
.breadcrumb__item[aria-current] { color: var(--paper); }

/* 图片容器基础规则（共享外壳内不放图片，供页面阶段使用） */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(150deg, var(--tide), var(--hull) 68%);
  box-shadow: inset 0 0 0 1px rgba(30, 58, 79, .9);
}
.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media--grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(6, 18, 31, .22) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

.media__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--paper);
  background: rgba(6, 18, 31, .68);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- 05 / 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--electric);
  color: #04141f;
  font-size: 14px;
  font-weight: 700;
  transition: top .22s var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: #04141f;
}

/* ---------- 06 / 头部：转播控制带 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 18, 31, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: min(38%, 420px);
  background: linear-gradient(90deg, var(--electric), rgba(25, 227, 208, 0));
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--electric), var(--electric-soft) 55%, var(--coral));
  transform: scaleX(var(--scroll-progress));
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

.site-header__inner {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  min-height: var(--header-h);
  padding-block: 10px;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 22px);
}

/* 字标 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--paper); }

.brand__mark {
  flex: none;
  width: 15px;
  height: 24px;
  background: linear-gradient(180deg, var(--electric-soft), var(--electric) 58%, #0f8f85);
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
  box-shadow: 0 0 18px rgba(25, 227, 208, .45);
}

.brand__name { font-size: 19px; line-height: 1; }

.brand__version {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  color: var(--coral);
  background: rgba(255, 107, 61, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 61, .35);
}

.brand--footer .brand__name { font-size: 22px; }

/* 主导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: navitem;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }

.site-nav__item { counter-increment: navitem; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--mist);
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--paper);
  background: rgba(25, 227, 208, .10);
}

.site-nav__link[aria-current="page"] {
  color: var(--paper);
  background: linear-gradient(180deg, rgba(25, 227, 208, .22), rgba(25, 227, 208, .06));
  box-shadow: inset 0 0 0 1px rgba(25, 227, 208, .45);
}
.site-nav__link[aria-current="page"]::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 107, 61, .9);
}

/* 右侧工具区 */
.header-tools {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* 查询胶囊 */
.query-capsule { position: relative; }

.query-capsule__button {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--electric-soft);
  background: rgba(25, 227, 208, .10);
  box-shadow: inset 0 0 0 1px rgba(25, 227, 208, .5);
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.query-capsule__button::-webkit-details-marker { display: none; }
.query-capsule__button:hover {
  background: var(--electric);
  color: #04141f;
  box-shadow: inset 0 0 0 1px var(--electric), 0 10px 26px rgba(25, 227, 208, .28);
}
.query-capsule[open] .query-capsule__button {
  background: var(--electric);
  color: #04141f;
}

.query-capsule__glyph {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.query-capsule__glyph::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.query-capsule__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 5;
  width: min(292px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(165deg, var(--tide), var(--hull) 60%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(25, 227, 208, .22);
}
.query-capsule[open] .query-capsule__panel {
  animation: capsuleIn .24s var(--ease);
}

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

.query-capsule__hint {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--mist);
}

.query-capsule__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: qitem;
}
.query-capsule__list li { counter-increment: qitem; }

.query-capsule__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.query-capsule__link::before {
  content: counter(qitem, decimal-leading-zero);
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--electric);
}
.query-capsule__link:hover {
  background: rgba(25, 227, 208, .14);
  color: var(--electric-soft);
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(11, 29, 46, .9);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--electric); color: var(--electric); }

.nav-toggle__bars {
  position: relative;
  flex: none;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .24s var(--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 .24s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

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

/* ---------- 07 / 页脚：斜切资料舱 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  padding:
    calc(var(--slant) + clamp(28px, 4vw, 56px))
    var(--gutter)
    clamp(24px, 3vw, 40px);
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(25, 227, 208, .14), transparent 68%),
    radial-gradient(520px 260px at 4% 100%, rgba(255, 107, 61, .10), transparent 70%),
    var(--hull);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

.site-footer__grid {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr .9fr 1.5fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--electric);
}
.site-footer__heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(25, 227, 208, .45), transparent);
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--paper);
}

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

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-list__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}
.footer-list__link::before {
  content: "";
  flex: none;
  width: 6px;
  height: 1px;
  background: var(--line);
  transition: width .2s var(--ease), background-color .2s var(--ease);
}
.footer-list__link:hover { color: var(--paper); }
.footer-list__link:hover::before {
  width: 16px;
  background: var(--electric);
}

.footer-contact {
  margin: 0;
  font-style: normal;
  display: grid;
  gap: 10px;
}

.footer-contact__line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-contact__key {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mist);
}

.site-footer__note {
  margin: 0;
  max-width: 36em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
}

.site-footer__icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.site-footer__base {
  width: min(var(--shell), 100%);
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 58, 79, .9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer__copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

.site-footer__home {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--electric-soft);
}
.site-footer__home:hover { color: var(--electric); }

/* ---------- 08 / 返回顶部胶囊 ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(25, 227, 208, .45);
  border-radius: var(--r-pill);
  background: rgba(11, 29, 46, .94);
  color: var(--electric-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
}
.to-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--electric);
  color: #04141f;
}

.to-top__glyph {
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid currentColor;
}

.to-top__text { line-height: 1; }

/* ---------- 09 / 入场显现 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
html.has-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 10 / 响应式 ---------- */
@media (max-width: 1080px) and (min-width: 900px) {
  .site-nav__link { padding: 8px 10px; font-size: 13px; }
  .brand__name { font-size: 17px; }
  .query-capsule__button { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 960px) {
  .grid--7-5,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  :root {
    --header-h: 60px;
    --slant: 26px;
  }

  .brand__name { font-size: 17px; }

  .nav-toggle { display: inline-flex; }

  .query-capsule__text { display: none; }
  .query-capsule__button { padding: 9px 11px; gap: 0; }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: block;
    justify-content: flex-start;
    padding: 10px var(--gutter) 26px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: rgba(8, 24, 39, .98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s var(--ease);
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(30, 58, 79, .55);
  }
  .site-nav__item:last-child { border-bottom: none; }

  .site-nav__link {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 15px 12px;
    border-radius: 14px;
    font-size: 17px;
    color: var(--paper);
  }

  .site-nav__link::after {
    content: counter(navitem, decimal-leading-zero);
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(124, 242, 230, .55);
  }

  .site-nav__link[aria-current="page"] {
    background: rgba(25, 227, 208, .10);
    box-shadow: inset 0 0 0 1px rgba(25, 227, 208, .35);
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 40px);
  }
}

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

  .breadcrumb { padding-block: 16px; }

  .footer-contact__line { grid-template-columns: 40px minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn { width: 100%; }
}

/* ---------- 11 / 无障碍与减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .site-header::after { transition: none; }
}
