/* ==========================================================================
   澳门威斯人游 · CN 官方主站
   共享样式 /assets/site.css
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body,
h1, h2, h3, h4, h5, p,
figure, blockquote, dl, dd, ul, ol { margin: 0; }

ul[class],
ol[class] { padding: 0; list-style: none; }

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

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

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #081A26;
  --ink-2: #0F2A3B;
  --slate: #0B3038;
  --neon: #1FE3D0;
  --neon-deep: #12A79A;
  --gold: #C8A227;
  --wine: #7A2C3B;
  --indigo: #3A2B62;
  --mist: #E9F2F6;
  --muted: #9CB4C2;

  --line: rgba(233, 242, 246, 0.12);
  --line-neon: rgba(31, 227, 208, 0.24);
  --line-gold: rgba(200, 162, 39, 0.32);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: 20px;
  --header-h: 78px;

  --font-display: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(30px, 6vw, 56px); }
h2 { font-size: clamp(24px, 3.6vw, 38px); }
h3 { font-size: clamp(17px, 2vw, 21px); font-weight: 700; }

p { max-width: 100%; }

strong { font-weight: 700; color: var(--mist); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

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

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

main { display: block; padding-top: var(--header-h); }

main > .bleed-top {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 28px);
}

/* ---------- 4. 跳至正文 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--neon);
  color: #04222A;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 5. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 12px 0;
  transition: padding 0.28s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140%;
  background: linear-gradient(180deg, rgba(8, 26, 38, 0.92) 0%, rgba(8, 26, 38, 0.55) 55%, rgba(8, 26, 38, 0) 100%);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.site-header.is-solid::before { opacity: 0; }

.header-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - calc(var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.28s var(--ease),
              border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}

.site-header.is-solid .header-inner {
  background-color: rgba(15, 42, 59, 0.94);
  border-color: var(--line-neon);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  flex: none;
  background: linear-gradient(140deg, var(--neon-deep) 0%, #0D5F5C 55%, var(--ink-2) 100%);
  color: #04222A;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-neon);
  background-color: rgba(15, 42, 59, 0.72);
  color: var(--mist);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: var(--neon); color: var(--neon); }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-toggle-text { line-height: 1; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  line-height: 1.2;
  color: var(--mist);
  opacity: 0.78;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease),
              color 0.18s var(--ease),
              opacity 0.18s var(--ease);
}

.nav-list a:hover {
  opacity: 1;
  color: var(--neon);
  background-color: rgba(31, 227, 208, 0.1);
}

.nav-list a[aria-current="page"] {
  opacity: 1;
  color: var(--neon);
  background-color: rgba(31, 227, 208, 0.12);
  box-shadow: inset 0 0 0 1px var(--line-neon);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: rgba(233, 242, 246, 0.08);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.site-header.is-solid .header-progress { opacity: 1; }

.header-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--neon-deep) 0%, var(--neon) 60%, var(--gold) 100%);
  transition: width 0.1s linear;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease),
              color 0.2s var(--ease),
              border-color 0.2s var(--ease),
              transform 0.2s var(--ease);
}

.btn-solid {
  background-color: var(--neon);
  border-color: var(--neon);
  color: #04222A;
}

.btn-solid:hover {
  background-color: #4DF0E0;
  border-color: #4DF0E0;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  border-color: rgba(233, 242, 246, 0.28);
  color: var(--mist);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
  background-color: rgba(31, 227, 208, 0.08);
}

.btn-gold {
  background-color: transparent;
  border-color: var(--line-gold);
  color: var(--gold);
}

.btn-gold:hover {
  background-color: rgba(200, 162, 39, 0.12);
  border-color: var(--gold);
}

.btn-block { width: 100%; }

/* ---------- 7. 容器与区块 ---------- */
.container {
  width: min(var(--container), 100% - calc(var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

.band {
  position: relative;
  padding: 34px clamp(20px, 4vw, 46px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.band--slate { background-color: var(--slate); }
.band--wine { background: linear-gradient(135deg, var(--wine) 0%, #4A1B26 100%); }
.band--indigo { background: linear-gradient(135deg, var(--indigo) 0%, #241A3D 100%); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 24px;
  margin-bottom: 26px;
}

.section-head h2 { flex: 0 1 auto; }
.section-head p {
  flex: 1 1 260px;
  max-width: 46ch;
  font-size: 15px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.prose { max-width: 38em; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); font-size: 16px; }

/* ---------- 8. 网格与卡片 ---------- */
.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background-color: var(--ink-2);
  transition: border-color 0.22s var(--ease),
              background-color 0.22s var(--ease),
              transform 0.22s var(--ease);
}

a.card:hover {
  border-color: var(--line-neon);
  background-color: #122F42;
  transform: translateY(-3px);
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.card-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 9. 胶囊标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-neon);
  background-color: rgba(31, 227, 208, 0.1);
  color: var(--neon);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  white-space: nowrap;
}

.chip--gold {
  background-color: rgba(200, 162, 39, 0.12);
  border-color: var(--line-gold);
  color: var(--gold);
}

.chip--muted {
  background-color: rgba(156, 180, 194, 0.1);
  border-color: rgba(156, 180, 194, 0.24);
  color: var(--muted);
}

/* ---------- 10. 参数表 ---------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--ink-2);
}

.spec-table {
  width: 100%;
  min-width: 560px;
  font-size: 14.5px;
}

.table-scroll > .spec-table { min-width: 560px; }

.spec-table caption {
  padding: 14px 16px 4px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table thead th {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background-color: rgba(233, 242, 246, 0.04);
  white-space: nowrap;
}

.spec-table tbody tr {
  transition: background-color 0.12s linear;
}

.spec-table tbody tr:hover {
  background-color: rgba(31, 227, 208, 0.1);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }

.spec-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--neon);
  white-space: nowrap;
}

.spec-table td.num--gold { color: var(--gold); }

/* ---------- 11. 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--neon) 0%, rgba(31, 227, 208, 0) 100%);
  opacity: 0.55;
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background-color: var(--ink-2);
  transition: border-color 0.22s var(--ease);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--ink);
  border: 2px solid var(--neon-deep);
  transition: background-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.timeline-item.is-active {
  border-color: var(--line-neon);
}

.timeline-item.is-active::before {
  background-color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 0 4px rgba(31, 227, 208, 0.16);
}

.timeline-date {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* ---------- 12. 章节目录 ---------- */
.chapter-nav {
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background-color: rgba(15, 42, 59, 0.6);
}

.chapter-nav--sticky {
  position: sticky;
  top: 96px;
}

.chapter-nav ol,
.chapter-nav ul { display: grid; gap: 2px; }

.chapter-nav a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.chapter-nav a:hover {
  color: var(--mist);
  background-color: rgba(233, 242, 246, 0.05);
}

.chapter-nav a[aria-current="true"] {
  color: var(--neon);
  background-color: rgba(31, 227, 208, 0.1);
}

.chapter-nav-num {
  flex: none;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  color: var(--gold);
}

/* ---------- 13. 技能树路径 ---------- */
.skill-path { display: grid; }

.skill-step {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 24px 30px;
}

.skill-step::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: -2px;
  width: 1px;
  background-color: rgba(31, 227, 208, 0.28);
}

.skill-step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--neon-deep);
  background-color: var(--ink);
}

.skill-step:last-child { padding-bottom: 0; }
.skill-step:last-child::before { display: none; }

.skill-step-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.skill-step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 14. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #0D2836 0%, #08161F 100%);
}

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

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

/* ---------- 15. 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(156, 180, 194, 0.5);
}

.breadcrumb a { transition: color 0.18s var(--ease); }
.breadcrumb a:hover { color: var(--neon); }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ---------- 16. 数值块 ---------- */
.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--neon);
}

.stat-value--gold { color: var(--gold); }

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 17. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-neon);
  background-color: rgba(15, 42, 59, 0.94);
  color: var(--neon);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.22s var(--ease),
              transform 0.22s var(--ease),
              background-color 0.22s var(--ease),
              visibility 0.22s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { background-color: rgba(31, 227, 208, 0.16); }

/* ---------- 18. 页脚 ---------- */
.site-footer {
  margin-top: 72px;
  border-top: 1px solid var(--line-neon);
  background-color: var(--slate);
  background-image: radial-gradient(120% 90% at 8% 0%, rgba(31, 227, 208, 0.09) 0%, rgba(31, 227, 208, 0) 62%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
  padding: 56px 0 40px;
}

.footer-brand .brand { margin-bottom: 16px; }

.footer-note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-stamp {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--neon-deep);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
}

.footer-links { display: grid; gap: 9px; }

.footer-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.footer-links a:hover { color: var(--neon); }
.footer-links a[aria-current="page"] { color: var(--mist); }

.footer-contact { display: grid; gap: 7px; }

.footer-contact p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-legal { color: var(--gold); }

/* ---------- 19. 动效 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1023px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  :root { --gutter: 16px; }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    margin-left: 0;
    display: grid;
    gap: 14px;
    padding: 16px;
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid var(--line-neon);
    background-color: rgba(11, 38, 52, 0.98);
    box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--ease),
                transform 0.22s var(--ease),
                visibility 0.22s var(--ease);
  }

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

  .nav-list { display: grid; gap: 2px; }

  .nav-list a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 14px;
    opacity: 0.86;
  }

  .nav-actions {
    display: grid;
    gap: 8px;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-actions .btn { padding: 13px 18px; }

  .is-nav-open { overflow: hidden; }

  .section { padding: 48px 0; }
  .band { padding: 26px 20px; border-radius: 22px; }
}

@media (max-width: 767px) {
  .table-scroll .spec-table th:first-child,
  .table-scroll .spec-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #0D2432;
  }

  .table-scroll .spec-table thead th:first-child {
    background-color: #122C3C;
  }
}

@media (max-width: 639px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .brand-sub { display: none; }
  .footer-grid { gap: 28px 20px; padding: 44px 0 30px; }
  .footer-bottom { padding: 16px 0 24px; }
  .to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 519px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 21. 减弱动效 ---------- */
@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;
  }

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