/* ============================================================
   九游娱乐主站 · 共享样式表 /assets/site.css
   01 重置  02 变量  03 排版  04 布局  05 头部
   06 页脚  07 通用组件  08 动效  09 降级  10 打印
   ============================================================ */

/* ---------- 01 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { margin: 0; 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; }

/* ---------- 02 变量 ---------- */
:root {
  --ink-950: #070B22;
  --indigo-850: #101838;
  --indigo-700: #1B2750;
  --cyan-400: #2BE8D2;
  --orange-500: #FF7A2E;
  --violet-500: #6C5CE7;
  --slate-100: #E9EEFA;
  --slate-350: #9AA6C4;
  --line-600: #2E3A6B;
  --paper-50: #F3F6FF;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 44px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 320ms;

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo,
    Consolas, "Liberation Mono", monospace;
}

/* ---------- 03 排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--indigo-850);
  background-image:
    linear-gradient(rgba(233, 238, 250, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 238, 250, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--slate-100);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { max-width: 46ch; }

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

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

.prose {
  max-width: 42em;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--slate-100);
}

.prose p + p { margin-top: 1.1em; }

.prose a {
  color: var(--cyan-400);
  border-bottom: 1px solid rgba(43, 232, 210, 0.45);
  transition: border-color 180ms var(--ease);
}

.prose a:hover { border-color: var(--cyan-400); }

.visually-hidden {
  position: absolute !important;
  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;
}

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

::selection {
  background: var(--cyan-400);
  color: var(--ink-950);
}

/* ---------- 04 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-main {
  display: block;
  padding-bottom: clamp(64px, 9vw, 128px);
}

#main-content { scroll-margin-top: 96px; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.col-main { grid-column: 1 / span 8; }
.col-aside { grid-column: 10 / span 3; }
.col-full { grid-column: 1 / -1; }

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section + .section {
  border-top: 1px solid var(--line-600);
}

.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section__head > .section__title { grid-column: 1 / span 8; }
.section__head > .section__note {
  grid-column: 9 / span 4;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate-350);
  max-width: 34ch;
}

.section__title {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.ghost-index {
  display: block;
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: rgba(46, 58, 107, 0.6);
  user-select: none;
}

/* ---------- 05 头部 ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-400), var(--violet-500) 55%, var(--orange-500));
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan-400);
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 700;
  transition: top 200ms var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 11, 34, 0.98), rgba(7, 11, 34, 0.9));
  border-bottom: 1px solid var(--line-600);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.command-bar {
  padding: 10px 0;
  transition: padding 300ms var(--ease);
}

.command-bar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: max-width 300ms var(--ease), padding 300ms var(--ease),
    background-color 300ms var(--ease), border-color 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.site-header.is-condensed .command-bar { padding: 6px 0 8px; }

.site-header.is-condensed .command-bar__inner {
  max-width: 1100px;
  padding: 6px 8px 6px 20px;
  background-color: rgba(7, 11, 34, 0.94);
  border-color: var(--line-600);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.95);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--cyan-400), var(--violet-500) 56%, var(--orange-500));
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(43, 232, 210, 0.35),
    0 14px 28px -16px rgba(43, 232, 210, 0.85);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__line {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--slate-100);
  white-space: nowrap;
}

.brand__support {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  color: var(--slate-350);
  white-space: nowrap;
}

/* 命令栏导航 */
.command-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.command-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.command-nav__list::-webkit-scrollbar { display: none; }

.command-nav__item { display: flex; }

.command-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-350);
  white-space: nowrap;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}

.command-nav__link:hover {
  color: var(--slate-100);
  background-color: rgba(43, 232, 210, 0.08);
}

.command-nav__index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--slate-350);
  opacity: 0.6;
}

.command-nav__link[aria-current="page"] {
  color: var(--cyan-400);
  background-color: rgba(43, 232, 210, 0.1);
}

.command-nav__link[aria-current="page"] .command-nav__index {
  color: var(--cyan-400);
  opacity: 1;
}

.command-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-400);
}

/* 命令栏右侧 */
.command-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-md);
  background-color: rgba(27, 39, 80, 0.65);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--slate-100);
  transition: background-color 200ms var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--slate-100);
  transition: transform 220ms var(--ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

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

/* ---------- 06 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--ink-950);
  border-top: 1px solid var(--line-600);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -80px;
  width: 460px;
  height: 340px;
  background: radial-gradient(closest-side, rgba(108, 92, 231, 0.34), transparent 72%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(43, 232, 210, 0.16), transparent 72%);
  pointer-events: none;
}

.footer-ridge {
  position: relative;
  z-index: 1;
  color: var(--line-600);
  line-height: 0;
}

.footer-ridge svg {
  width: 100%;
  height: 10px;
  display: block;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.2fr);
  gap: 44px 32px;
  padding-block: clamp(48px, 6vw, 76px) clamp(36px, 5vw, 56px);
}

.footer-brand__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--slate-100);
}

.footer-brand__line {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-350);
  max-width: 26ch;
}

.footer-brand__closing {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan-400);
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-350);
}

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

.footer-links a {
  position: relative;
  display: inline-block;
  font-size: 14.5px;
  color: var(--slate-100);
  transition: color 180ms var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--cyan-400);
  transition: width 220ms var(--ease);
}

.footer-links a:hover { color: var(--cyan-400); }
.footer-links a:hover::after { width: 100%; }

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

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--slate-350);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  color: var(--slate-100);
  word-break: break-all;
}

.copy-chip {
  padding: 3px 12px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  color: var(--slate-350);
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.copy-chip:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  background-color: rgba(43, 232, 210, 0.08);
}

.copy-chip[data-copied="true"] {
  border-color: var(--orange-500);
  color: var(--orange-500);
  background-color: rgba(255, 122, 46, 0.12);
}

.footer-base {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-600);
  background-color: rgba(7, 11, 34, 0.7);
}

.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 28px;
  padding-block: 20px;
  font-size: 12.5px;
  color: var(--slate-350);
}

.footer-base__filing {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ---------- 07 通用组件 ---------- */
/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease),
    color 180ms var(--ease), border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--md { padding: 13px 26px; font-size: 15px; }

.btn--primary {
  background-color: var(--orange-500);
  color: #200D02;
  box-shadow: 0 16px 32px -18px rgba(255, 122, 46, 0.95);
}

.btn--primary:hover {
  background-color: #FF9350;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-600);
  background-color: rgba(27, 39, 80, 0.55);
  color: var(--slate-100);
}

.btn--ghost:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}

/* 面包屑 */
.breadcrumb { padding-top: 20px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--slate-350);
}

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

.breadcrumb__list > li:not(:last-child)::after {
  content: "/";
  color: var(--line-600);
}

.breadcrumb a { transition: color 180ms var(--ease); }
.breadcrumb a:hover { color: var(--cyan-400); }
.breadcrumb [aria-current="page"] { color: var(--slate-100); }

/* 档案卡 */
.card {
  position: relative;
  display: block;
  padding: 24px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-lg);
  background-color: var(--indigo-700);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-400);
  box-shadow: 0 28px 48px -34px rgba(43, 232, 210, 0.72);
}

.card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--slate-100);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--slate-350);
}

.card__text {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--slate-350);
  max-width: 40ch;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate-350);
  white-space: nowrap;
}

.tag--live {
  border-color: rgba(255, 122, 46, 0.5);
  background-color: rgba(255, 122, 46, 0.12);
  color: var(--orange-500);
}

.tag--data {
  border-color: rgba(43, 232, 210, 0.42);
  background-color: rgba(43, 232, 210, 0.1);
  color: var(--cyan-400);
}

/* 数据带 */
.data-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background-color: var(--line-600);
  border-block: 1px solid var(--line-600);
}

.data-band__cell {
  padding: 24px;
  background-color: var(--indigo-850);
}

.data-band__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-350);
}

.data-band__value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cyan-400);
}

/* 视觉容器（图片前置占位） */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-lg);
  background-color: var(--indigo-700);
  background-image:
    radial-gradient(130% 100% at 8% 4%, rgba(43, 232, 210, 0.2), transparent 58%),
    radial-gradient(120% 100% at 92% 96%, rgba(255, 122, 46, 0.18), transparent 60%),
    radial-gradient(90% 90% at 52% 50%, rgba(108, 92, 231, 0.24), transparent 72%);
}

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

.media img,
.media svg,
.media video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(233, 238, 250, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 238, 250, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.media__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 5px 13px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-pill);
  background-color: rgba(7, 11, 34, 0.78);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate-100);
}

.media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate-350);
}

/* 主题筛选胶囊 */
.filter-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 17px;
  border: 1px solid var(--line-600);
  border-radius: var(--radius-pill);
  background-color: rgba(27, 39, 80, 0.55);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-350);
  transition: color 180ms var(--ease), background-color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.filter-pill:hover {
  color: var(--slate-100);
  border-color: var(--slate-350);
}

.filter-pill[aria-pressed="true"] {
  background-color: var(--cyan-400);
  border-color: var(--cyan-400);
  color: var(--ink-950);
  font-weight: 700;
}

.filter-empty {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px dashed var(--line-600);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--slate-350);
}

.filter-empty[data-visible="true"] { display: block; }

/* 反向浅色区块 */
.invert-block {
  background-color: var(--paper-50);
  color: var(--indigo-850);
  border-radius: var(--radius-lg);
}

.invert-block h2,
.invert-block h3,
.invert-block strong { color: var(--ink-950); }

.invert-block .eyebrow { color: var(--indigo-700); }
.invert-block p { color: var(--indigo-850); }

/* ---------- 08 动效 ---------- */
html[data-reveal="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

html[data-reveal="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 09 响应式与降级 ---------- */
@media (max-width: 1100px) {
  .brand__support { display: none; }
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }

  .command-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    display: block;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 12px var(--gutter) 26px;
    background-color: var(--ink-950);
    border-bottom: 1px solid var(--line-600);
    box-shadow: 0 28px 50px -30px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease),
      visibility 220ms var(--ease);
  }

  .site-header[data-open="true"] .command-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .command-nav__link {
    justify-content: flex-start;
    padding: 13px 14px;
    border-radius: var(--radius-md);
    font-size: 15.5px;
    color: var(--slate-100);
  }

  .command-nav__link[aria-current="page"] {
    background-color: rgba(43, 232, 210, 0.12);
    box-shadow: inset 3px 0 0 var(--cyan-400);
    color: var(--cyan-400);
  }

  .command-nav__link[aria-current="page"]::after { display: none; }

  .site-header.is-condensed .command-bar__inner {
    max-width: 100%;
    padding: 6px 10px 6px 16px;
    border-color: transparent;
    box-shadow: none;
    background-color: transparent;
  }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-main { grid-column: 1 / -1; }
  .col-aside { grid-column: 1 / -1; }

  .section__head { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .section__head > .section__title { grid-column: 1 / -1; }
  .section__head > .section__note { grid-column: 1 / -1; max-width: 46ch; }
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
  .media--wide { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .brand__line { font-size: 13px; }
  .command-actions .btn--primary { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-base__inner { justify-content: flex-start; }
  .data-band { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .card { padding: 20px; }
}

@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;
  }

  html[data-reveal="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover { transform: none; }
  .btn--primary:hover { transform: none; }
}

/* ---------- 10 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress { display: none !important; }

  body {
    background: #FFFFFF;
    color: #070B22;
  }
}
