/* ============================================================
   大发快三彩票 CN · /assets/site.css
   共享外壳：设计变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

/* ---------- 1 · 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body,
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- 2 · 设计变量 ---------- */
:root {
  /* 色板 */
  --ink-950: #020B12;
  --ink-900: #061826;
  --ink-800: #0D2942;
  --teal:    #23E6C8;
  --gold:    #F3B84B;
  --coral:   #FF6B5A;
  --mist:    #8EB3C7;
  --paper:   #F3F7F4;
  --deep-teal: #145C66;

  --grad-cool:  linear-gradient(90deg, #23E6C8 0%, #F3B84B 100%);
  --grad-diag:  linear-gradient(135deg, #23E6C8 0%, #F3B84B 100%);
  --grad-band:  linear-gradient(90deg, #23E6C8 0%, #F3B84B 58%, #FF6B5A 100%);

  /* 线条 */
  --line-teal:  rgba(35, 230, 200, .22);
  --line-mist:  rgba(142, 179, 199, .18);
  --line-faint: rgba(20, 92, 102, .55);

  /* 文本 */
  --text:      var(--paper);
  --text-dim:  var(--mist);
  --text-mute: rgba(142, 179, 199, .72);

  /* 字体 */
  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body:    "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-serif:   "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;

  /* 尺度 */
  --header-h: 76px;
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3 · 全局排版与画布 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--ink-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(20, 92, 102, .22) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg,  rgba(20, 92, 102, .14) 0 1px, transparent 1px 88px),
    radial-gradient(1100px 560px at 82% -8%, rgba(35, 230, 200, .10), transparent 68%),
    radial-gradient(900px 520px at 4% 106%,  rgba(243, 184, 75, .07), transparent 70%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .01em;
  color: var(--paper);
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 24px); }

p { max-width: 72ch; }
strong { color: var(--gold); font-weight: 600; }

code, kbd, samp, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

::selection { background: rgba(35, 230, 200, .28); color: var(--paper); }

/* ---------- 4 · 焦点可见性 ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  box-shadow: inset 0 0 0 2px rgba(243, 184, 75, .55);
  border-radius: var(--radius);
}

/* ---------- 5 · 布局原语 ---------- */
.shell {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
}

.grid { display: grid; gap: clamp(16px, 2.2vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-teal), var(--line-faint) 55%, transparent);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 6 · 文本组件 ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 68ch;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
  border: 1px solid var(--line-mist);
  border-radius: var(--radius);
  background: rgba(13, 41, 66, .55);
  white-space: nowrap;
}

.tag--hot { color: var(--coral); border-color: rgba(255, 107, 90, .45); background: rgba(255, 107, 90, .08); }
.tag--cold { color: var(--teal); border-color: var(--line-teal); background: rgba(35, 230, 200, .07); }

/* ---------- 7 · 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease),
              background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn--primary { background: var(--grad-diag); color: var(--ink-950); }
.btn--primary:hover { box-shadow: 0 0 0 3px rgba(35, 230, 200, .18); }
.btn--ghost {
  color: var(--teal);
  border-color: rgba(35, 230, 200, .42);
  background: rgba(35, 230, 200, .05);
}
.btn--ghost:hover { border-color: var(--teal); background: rgba(35, 230, 200, .12); }
.btn--quiet {
  color: var(--text-dim);
  border-color: var(--line-mist);
  background: rgba(13, 41, 66, .35);
}
.btn--quiet:hover { color: var(--paper); border-color: rgba(142, 179, 199, .48); }

/* ---------- 8 · 面包屑 ---------- */
.breadcrumb { padding-block: 14px; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-mute);
}
.breadcrumb__list > li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__list > li + li::before {
  content: "/";
  color: var(--deep-teal);
}
.breadcrumb__link { color: var(--text-dim); transition: color .16s var(--ease); }
.breadcrumb__link:hover { color: var(--teal); }
.breadcrumb__list [aria-current="page"] { color: var(--gold); }

/* ---------- 9 · 图像容器（页面阶段填图） ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--line-mist);
  border-radius: var(--radius);
}
.figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(20, 92, 102, .32) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg,  rgba(20, 92, 102, .22) 0 1px, transparent 1px 28px),
    linear-gradient(140deg, rgba(35, 230, 200, .10), rgba(243, 184, 75, .10));
}
.figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.figure__caption {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--text-mute);
  border-top: 1px solid var(--line-mist);
}
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 4 / 5; }
.figure--square .figure__media { aspect-ratio: 1 / 1; }
.figure--paper { box-shadow: 7px 7px 0 -1px rgba(20, 92, 102, .45); }

/* ---------- 10 · 纸张叠层 ---------- */
.paper {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  background: var(--ink-800);
  border: 1px solid var(--line-mist);
  border-radius: var(--radius);
  box-shadow: 7px 7px 0 -1px rgba(20, 92, 102, .42);
}

/* ============================================================
   11 · 头部
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(2, 11, 18, .82) 0%, rgba(2, 11, 18, .34) 68%, rgba(2, 11, 18, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color .26s var(--ease), border-color .26s var(--ease),
              box-shadow .26s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(6, 24, 38, .98);
  border-bottom-color: var(--line-teal);
  box-shadow: 0 18px 44px -28px rgba(2, 11, 18, .95);
}

/* 跳至主要内容的 skip link */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-950);
  background: var(--teal);
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-130%);
  transition: transform .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.header-grid {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
}

/* 品牌署名 */
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  border-radius: var(--radius);
}
.brand-glyph {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
  flex: none;
}
.brand-glyph i {
  display: block;
  background: var(--deep-teal);
  border-radius: 1px;
  transition: background-color .2s var(--ease);
}
.brand-glyph i:nth-child(1) { background: var(--teal); }
.brand-glyph i:nth-child(4) { background: var(--gold); }
.brand:hover .brand-glyph i:nth-child(2) { background: rgba(243, 184, 75, .7); }
.brand:hover .brand-glyph i:nth-child(3) { background: rgba(35, 230, 200, .7); }

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
  white-space: nowrap;
}
.brand-word__cn { display: inline-block; }
.brand-word__suffix {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--teal);
  border: 1px solid rgba(35, 230, 200, .42);
  border-radius: 1px;
  padding: 1px 4px;
  transform: translateY(-1px);
}

/* 主导航 */
.site-nav { justify-self: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 14px);
}
.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 10px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--mist);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  background: var(--grad-cool);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--teal); }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--teal);
}
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 50%;
}

/* 头部右侧 */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 常用入口浮层 */
.quick { position: relative; }
.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--ink-900), var(--ink-900)) padding-box,
    var(--grad-cool) border-box;
  transition: color .18s var(--ease), box-shadow .18s var(--ease);
}
.quick-btn:hover { color: var(--teal); box-shadow: 0 0 0 3px rgba(35, 230, 200, .14); }
.quick-btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(35, 230, 200, .16);
  flex: none;
}
.quick-btn[aria-expanded="true"] { color: var(--gold); }
.quick-btn[aria-expanded="true"] .quick-btn__dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(243, 184, 75, .18); }

.quick-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 90;
  width: min(306px, calc(100vw - 2 * var(--gutter)));
  padding: 14px;
  background: var(--ink-800);
  border: 1px solid var(--line-teal);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 -1px rgba(20, 92, 102, .5),
              0 28px 60px -24px rgba(2, 11, 18, .95);
}
.quick-panel__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-mist);
  max-width: none;
}
.quick-list { display: grid; gap: 2px; }
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: var(--radius);
  color: var(--text-dim);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.quick-link:hover { color: var(--paper); background: rgba(35, 230, 200, .08); }
.quick-link__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold);
  flex: none;
}
.quick-link__text { font-size: 14px; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--paper);
  border: 1px solid var(--line-mist);
  border-radius: var(--radius);
  background: rgba(13, 41, 66, .7);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--line-teal); color: var(--teal); }
.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
  flex: none;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.site-header[data-open="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__text { display: inline-block; }

/* ============================================================
   12 · 页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background:
    repeating-linear-gradient(90deg, rgba(20, 92, 102, .2) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, var(--ink-950) 0%, #04101A 100%);
  color: var(--text-dim);
  border-top: 1px solid var(--line-mist);
}
.footer-rule {
  height: 2px;
  background: var(--grad-band);
  opacity: .8;
}
.footer-inner {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
  padding: clamp(40px, 5vw, 68px) 0 clamp(28px, 3.5vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.05fr);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: start;
}

.footer-lead { display: grid; gap: 14px; align-content: start; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
  justify-self: start;
}
.footer-brand__suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--teal);
  border: 1px solid rgba(35, 230, 200, .42);
  border-radius: 1px;
  padding: 1px 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.footer-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mute);
  max-width: 40ch;
}
.footer-meta { display: grid; gap: 7px; }
.footer-meta > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 13px;
}
.footer-meta__key {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--deep-teal);
  color: rgba(142, 179, 199, .62);
}
.footer-meta__val {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--paper);
  word-break: break-word;
}

.footer-col { display: grid; gap: 0; align-content: start; }
.footer-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
}
.footer-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--grad-cool);
  flex: none;
}
.footer-list { display: grid; gap: 9px; }
.footer-list a {
  display: inline-block;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-list a:hover { color: var(--paper); border-bottom-color: var(--line-teal); }

.footer-col--legal .footer-icp {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-mute);
  max-width: none;
}

.footer-base {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
  padding: 18px 0 30px;
  border-top: 1px solid var(--line-mist);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(142, 179, 199, .74);
  max-width: none;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}
.footer-legal a { color: var(--text-mute); transition: color .16s var(--ease); }
.footer-legal a:hover { color: var(--teal); }

/* ============================================================
   13 · JS 注入组件：阅读进度 / 回到顶部
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  background: var(--grad-band);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  will-change: transform;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
  color: var(--teal);
  background: var(--ink-800);
  border: 1px solid var(--line-teal);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 -1px rgba(20, 92, 102, .5);
  transition: color .18s var(--ease), transform .18s var(--ease),
              border-color .18s var(--ease);
}
.to-top:hover {
  color: var(--gold);
  border-color: rgba(243, 184, 75, .55);
  transform: translateY(-3px);
}

/* ============================================================
   14 · 响应式：平板
   ============================================================ */
@media (max-width: 1180px) {
  .nav-list { gap: 0; }
  .nav-link { padding-inline: 8px; font-size: 13.5px; }
  .brand-word { font-size: 18px; }
}

@media (max-width: 1024px) {
  .header-grid {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    justify-self: stretch;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 10px var(--gutter) 26px;
    background: rgba(6, 24, 38, .985);
    border-bottom: 1px solid var(--line-teal);
    box-shadow: 0 30px 60px -30px rgba(2, 11, 18, .98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease),
                visibility .2s var(--ease);
  }
  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 15px 6px;
    font-size: 16px;
    color: var(--paper);
    border-bottom: 1px dashed var(--line-mist);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    color: var(--teal);
    background: rgba(35, 230, 200, .07);
    border-bottom-color: var(--line-teal);
  }
  .nav-link[aria-current="page"]::before {
    position: static;
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: middle;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .footer-lead { grid-column: 1 / -1; }
}

/* ============================================================
   15 · 响应式：手机
   ============================================================ */
@media (max-width: 760px) {
  :root { --header-h: 64px; }

  .brand-word { font-size: 16px; }
  .brand-glyph { grid-template-columns: repeat(2, 6px); grid-template-rows: repeat(2, 6px); gap: 2px; }
  .brand-word__suffix { font-size: 9px; padding: 0 3px; }

  .quick-btn { padding: 9px 11px; }
  .quick-btn__label { font-size: 12px; }
  .nav-toggle { padding: 9px 11px; }
  .nav-toggle__text { display: none; }

  .grid--2,
  .grid--3,
  .grid--split { grid-template-columns: minmax(0, 1fr); }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-bottom: 30px;
  }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .to-top { width: 40px; height: 40px; }
}

@media (max-width: 460px) {
  .quick-btn__label { display: none; }
  .quick-btn { padding: 10px 12px; }
  .quick-panel { width: min(280px, calc(100vw - 2 * var(--gutter))); }
}

/* ============================================================
   16 · 动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .scroll-progress { transition: none; }
}
