/* ============================================================
   万博娱乐会馆 · 夜航会馆共享样式表  /assets/site.css
   颜色分区：深墨蓝底 / 深海蓝绿叙事 / 靛紫产品 / 酒红专题 / 鎏金行动
   ============================================================ */

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

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

body { margin: 0; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

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

table { border-collapse: collapse; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  color-scheme: dark;

  --ink-900: #050A18;
  --ink-800: #0B1530;
  --ink-700: #102A43;
  --ink-600: #1A3A54;
  --gold: #D4A63A;
  --gold-hi: #F2C96D;
  --gold-deep: #9C7523;
  --cyan: #38E0D0;
  --violet: #7B4DFF;
  --wine: #8C2F4A;
  --ivory: #F4F1E8;
  --mist: #A9B7C6;
  --coral: #E06A5A;

  --line: rgba(169, 183, 198, .16);
  --line-gold: rgba(212, 166, 58, .30);
  --line-cyan: rgba(56, 224, 208, .26);

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

  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(28px, 6vw, 104px);
}

/* ---------- 3. 中文排版基调 ---------- */
html {
  scroll-behavior: smooth;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(70vw 52vw at 6% -10%, rgba(212, 166, 58, .13), transparent 62%),
    radial-gradient(58vw 46vw at 98% 0%, rgba(56, 224, 208, .10), transparent 60%),
    radial-gradient(84vw 62vw at 50% 118%, rgba(123, 77, 255, .16), transparent 70%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body {
  background-color: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: clamp(15px, .28vw + 14.2px, 17px);
  line-height: 1.85;
  letter-spacing: .012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(212, 166, 58, .32);
  color: #FFFDF6;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(56, 224, 208, .22);
}

#main-content {
  scroll-margin-top: clamp(96px, 15vh, 148px);
  display: block;
}

/* ---------- 4. 布局容器 ---------- */
.shell {
  width: min(1320px, calc(100% - var(--gutter)));
  margin-inline: auto;
}

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

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

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ivory);
  transform: skewX(-1.2deg);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }

.grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 200;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #050A18;
  background: var(--gold-hi);
  transform: translate(-50%, -140%);
  transition: transform .22s var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 6. 双层信息头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 10, 24, .90);
  border-bottom: 1px solid var(--line-gold);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: box-shadow .3s var(--ease);
}

.site-header[data-stuck] {
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .98);
}

/* 上层：状态长条 */
.site-header__rail {
  background: linear-gradient(90deg, rgba(16, 42, 67, .94), rgba(11, 21, 48, .74) 62%, rgba(11, 21, 48, .48));
  border-bottom: 1px solid rgba(169, 183, 198, .12);
}

.rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 4px;
}

.rail-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.rail-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 224, 208, .9), 0 0 0 3px rgba(56, 224, 208, .14);
  transform: rotate(45deg);
}

.rail-note {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist);
}

/* 下层：品牌与栏目长廊 */
.site-header__bar { position: relative; }

.bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  min-height: 68px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: #0A1024;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  transform: skewX(-5deg);
  box-shadow: 0 10px 24px -14px rgba(212, 166, 58, .95);
  transition: box-shadow .25s var(--ease);
}

.brand:hover .brand-mark {
  box-shadow: 0 12px 28px -12px rgba(242, 201, 109, 1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: .05em;
  color: var(--ivory);
  transform: skewX(-1.5deg);
}

.brand-tag {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--mist);
}

/* 主导航 */
.site-nav { margin-left: auto; }

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

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--mist);
  transition: color .2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-hi), rgba(212, 166, 58, .05));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s var(--ease);
}

.nav-link:hover { color: var(--gold-hi); }

.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--ivory); }

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--gold-hi), rgba(212, 166, 58, .08));
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 224, 208, .95);
  transform: rotate(45deg);
}

.header-cta { flex: none; }

/* 移动端栏目按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--ivory);
  background: transparent;
  border: 1px solid var(--line-gold);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(212, 166, 58, .07);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .26s var(--ease), opacity .18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* 滚动进度光带 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hi) 30%, var(--cyan) 68%, var(--violet) 100%);
  box-shadow: 0 0 12px rgba(56, 224, 208, .55);
  will-change: transform;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.1;
  color: var(--ivory);
  background: rgba(212, 166, 58, .06);
  border: 1px solid var(--line-gold);
  cursor: pointer;
  text-align: center;
  transition: color .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(212, 166, 58, .14);
  color: #FFFBF0;
}

.btn--gold {
  color: #0A1024;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  border-color: transparent;
}

.btn--gold:hover {
  color: #050A18;
  background: linear-gradient(135deg, #FFE2A8 0%, var(--gold-hi) 55%, var(--gold) 100%);
}

.btn--cyan {
  color: var(--cyan);
  background: rgba(56, 224, 208, .09);
  border-color: rgba(56, 224, 208, .48);
}

.btn--cyan:hover {
  color: #EAFEFB;
  background: rgba(56, 224, 208, .18);
  border-color: var(--cyan);
}

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

.btn--ghost:hover {
  color: var(--gold-hi);
  border-color: var(--line-gold);
  background: rgba(212, 166, 58, .06);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: .06em;
}

.btn--block { width: 100%; }

/* ---------- 8. 徽章 / 小标 / 标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--gold-hi);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gold-hi);
  background: rgba(212, 166, 58, .10);
  border: 1px solid rgba(212, 166, 58, .45);
}

.badge--cyan {
  color: var(--cyan);
  background: rgba(56, 224, 208, .09);
  border-color: rgba(56, 224, 208, .45);
}

.badge--violet {
  color: #C6B2FF;
  background: rgba(123, 77, 255, .16);
  border-color: rgba(123, 77, 255, .52);
}

.badge--wine {
  color: #F0B8C8;
  background: rgba(140, 47, 74, .26);
  border-color: rgba(140, 47, 74, .72);
}

/* ---------- 9. 面板与卡片 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(158deg, rgba(26, 58, 84, .55), rgba(11, 21, 48, .92));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(56, 224, 208, .6), transparent);
  opacity: .85;
  pointer-events: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(166deg, rgba(16, 42, 67, .60), rgba(11, 21, 48, .94));
  border: 1px solid var(--line);
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease), background-color .26s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(212, 166, 58, .58);
  box-shadow: 0 26px 48px -32px rgba(56, 224, 208, .70);
}

/* ---------- 10. 筛选 chips ---------- */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 15px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--mist);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.chip:hover {
  color: var(--cyan);
  border-color: var(--line-cyan);
  background: rgba(56, 224, 208, .07);
}

.chip.is-active,
.chip[aria-pressed="true"] {
  color: var(--gold-hi);
  background: rgba(212, 166, 58, .14);
  border-color: var(--gold);
}

/* ---------- 11. 面包屑 ---------- */
.breadcrumb { padding-block: 16px 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--ink-600);
}

.breadcrumb__link {
  color: var(--mist);
  transition: color .2s var(--ease);
}

.breadcrumb__link:hover { color: var(--gold-hi); }

.breadcrumb__current { color: var(--ivory); }

/* ---------- 12. 正文 ---------- */
.prose {
  max-width: 68ch;
  line-height: 1.9;
  color: rgba(244, 241, 232, .90);
}

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

.prose h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.26;
  letter-spacing: -.015em;
  color: var(--ivory);
  margin-top: 1.9em;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--ivory);
  margin-top: 1.6em;
}

.prose p { color: rgba(244, 241, 232, .88); }

.prose strong { color: var(--gold-hi); font-weight: 700; }

.prose a {
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(212, 166, 58, .5);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}

.prose a:hover {
  color: var(--cyan);
  text-decoration-color: rgba(56, 224, 208, .8);
}

.prose ul,
.prose ol { padding-left: 1.35em; }

.prose ul li {
  position: relative;
  padding-left: .1em;
  color: rgba(244, 241, 232, .88);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: .78em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.prose ol { list-style: decimal; }

.prose ol li { color: rgba(244, 241, 232, .88); padding-left: .2em; }

.prose ol li::marker { color: var(--gold-hi); font-family: var(--font-mono); }

.prose blockquote {
  padding: 14px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(16, 42, 67, .42);
  color: var(--mist);
  font-size: .96em;
}

.prose code {
  font-family: var(--font-mono);
  font-size: .9em;
  padding: 2px 6px;
  color: var(--cyan);
  background: rgba(56, 224, 208, .08);
  border: 1px solid rgba(56, 224, 208, .2);
}

.prose hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
  margin-block: 2em;
}

/* ---------- 13. 图像占位容器 ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 58, 84, .92), rgba(11, 21, 48, .96)) ,
    var(--ink-700);
  border: 1px solid var(--line-cyan);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(56, 224, 208, .07) 0 2px, transparent 2px 26px),
    radial-gradient(80% 62% at 76% 18%, rgba(212, 166, 58, .24), transparent 70%);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}

.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame--tall { aspect-ratio: 4 / 5; }

/* ---------- 14. 页脚台账 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background: linear-gradient(180deg, rgba(11, 21, 48, .48) 0%, rgba(5, 10, 24, .99) 46%);
  border-top: 1px solid var(--line-gold);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 24%, var(--cyan) 62%, transparent);
  opacity: .7;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 3.5vw, 52px);
  padding-block: clamp(40px, 6vw, 74px) clamp(28px, 4vw, 46px);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: .03em;
  line-height: 1.4;
  color: var(--ivory);
  transform: skewX(-1.4deg);
}

.footer-brand__tag {
  margin-top: 12px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

.footer-brand__meta {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(169, 183, 198, .76);
}

.footer-col { min-width: 0; }

.footer-col__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  color: var(--gold-hi);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

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

.footer-link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--mist);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.footer-link:hover {
  color: var(--gold-hi);
  transform: translateX(3px);
}

.footer-list--data { gap: 10px; }

.footer-address {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-note {
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(169, 183, 198, .76);
}

/* 复制字段 */
.copy-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  text-align: left;
  color: var(--ivory);
  background: rgba(56, 224, 208, .06);
  border: 1px solid rgba(56, 224, 208, .28);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.copy-field:hover,
.copy-field:focus-visible {
  background: rgba(56, 224, 208, .14);
  border-color: var(--cyan);
}

.copy-field__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.copy-field__hint {
  flex: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
  transition: color .2s var(--ease);
}

.copy-field.is-copied { border-color: var(--cyan); background: rgba(56, 224, 208, .18); }

.copy-field.is-copied .copy-field__hint { color: var(--cyan); }

/* 页脚底部台账条 */
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 18px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--mist);
}

.footer-copy { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal .footer-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
}

.footer-icp {
  color: rgba(169, 183, 198, .82);
  font-variant-numeric: tabular-nums;
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .rail-note { display: none; }

  .rail-inner { justify-content: flex-start; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .bar-inner {
    flex-wrap: wrap;
    gap: 10px;
    min-height: 0;
    padding-block: 11px;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    margin-left: 0;
    width: 100%;
  }

  .site-nav[data-open] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-item { width: 100%; }

  .nav-link {
    padding: 13px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(169, 183, 198, .08);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"]::before {
    left: auto;
    right: 2px;
  }

  .header-cta { display: none; }

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

  .site-header__bar { position: relative; }
}

@media (max-width: 760px) {
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

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

  .brand-mark { width: 34px; height: 34px; font-size: 15px; }

  .brand-tag { display: none; }

  .footer-brand__tag,
  .footer-brand__meta { max-width: none; }

  .copy-field { width: 100%; justify-content: space-between; }
}

/* ---------- 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;
  }

  .card:hover,
  .card:focus-within,
  .btn:hover,
  .footer-link:hover { transform: none; }
}
