/* ==========================================================================
   美高美游戏娱乐 · 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;
}

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

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

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

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-000: #06070C;
  --ink-100: #0E0F18;
  --gold: #E5B94E;
  --gold-hi: #F8E3AE;
  --gold-deep: #A9761F;
  --violet: #8B5CFF;
  --cyan: #35E0CE;
  --jade: #0D4744;
  --wine: #5A1330;
  --ivory: #F5F2EA;
  --mist: #A6ACB9;

  --glass: rgba(245, 242, 234, .05);
  --glass-2: rgba(245, 242, 234, .09);
  --line: rgba(245, 242, 234, .12);
  --line-gold: rgba(229, 185, 78, .34);
  --line-cyan: rgba(53, 224, 206, .32);
  --line-violet: rgba(139, 92, 255, .34);

  --rail: 108px;
  --gutter: clamp(20px, 3.4vw, 56px);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
               "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system,
               "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono",
               Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --lift: 0 22px 48px -26px rgba(0, 0, 0, .92);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-000);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  padding-left: var(--rail);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46vw 42vh at 84% -8%, rgba(139, 92, 255, .18), transparent 66%),
    radial-gradient(42vw 36vh at 4% 104%, rgba(53, 224, 206, .11), transparent 70%),
    radial-gradient(34vw 34vh at 98% 74%, rgba(229, 185, 78, .09), transparent 74%);
}

main {
  display: block;
  position: relative;
  z-index: 1;
}

#main-content { scroll-margin-top: 24px; outline: none; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail) + 14px);
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: #0A0A0F;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 阅读进度 ---------- */
.read-progress {
  position: fixed;
  top: 0;
  left: var(--rail);
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(245, 242, 234, .07);
  pointer-events: none;
}

.read-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 55%, var(--violet));
  transition: transform .12s linear;
}

/* ---------- 6. 头部：左侧品牌轨道 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(14, 15, 24, .93), rgba(6, 7, 12, .98));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-right: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: .78;
  pointer-events: none;
}

.rail-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
  width: 100%;
  padding: 20px 8px 16px;
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  border-radius: 14px;
  text-align: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: #0A0A0F;
  background: linear-gradient(145deg, var(--gold-hi) 6%, var(--gold) 52%, var(--gold-deep) 100%);
  box-shadow: 0 8px 22px -8px rgba(229, 185, 78, .75),
              inset 0 1px 0 rgba(255, 255, 255, .55);
}

.brand-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.3;
  color: var(--ivory);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  line-height: 1.5;
  color: rgba(166, 172, 185, .74);
  text-transform: uppercase;
}

/* 导航 */
.site-nav { width: 100%; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: var(--radius-s);
  color: var(--mist);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .05em;
  transition: color .28s var(--ease), background-color .28s var(--ease);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(166, 172, 185, .45);
  transition: color .28s var(--ease);
}

.nav-label { white-space: nowrap; }

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background-color .28s var(--ease), box-shadow .28s var(--ease);
}

.nav-link::after {
  content: attr(data-note);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  z-index: 5;
  transform: translate(-8px, -50%);
  padding: 6px 13px;
  border-radius: 9px;
  border: 1px solid var(--line-gold);
  background: rgba(12, 13, 20, .97);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.nav-link:hover { color: var(--gold-hi); background-color: var(--glass); }
.nav-link:hover .nav-idx { color: var(--gold); }
.nav-link:hover::after,
.nav-link:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

.nav-link[aria-current="page"] {
  color: var(--gold-hi);
  background-image: linear-gradient(90deg, rgba(229, 185, 78, .16), rgba(229, 185, 78, 0));
}

.nav-link[aria-current="page"]::before {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 12px rgba(229, 185, 78, .7);
}

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

.nav-link[data-section-active] {
  color: var(--cyan);
  background-image: linear-gradient(90deg, rgba(53, 224, 206, .12), rgba(53, 224, 206, 0));
}

.nav-link[data-section-active]::before {
  background: linear-gradient(180deg, var(--cyan), rgba(53, 224, 206, .2));
  box-shadow: 0 0 12px rgba(53, 224, 206, .6);
}

.nav-link[data-section-active] .nav-idx { color: var(--cyan); }

/* 轨道底部 */
.rail-base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.rail-tagline {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: .3em;
  line-height: 1.2;
  color: rgba(166, 172, 185, .6);
  text-align: center;
}

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.rail-act {
  display: block;
  padding: 8px 6px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ivory);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
  transition: border-color .28s var(--ease), color .28s var(--ease),
              background-color .28s var(--ease), transform .28s var(--ease);
}

.rail-act:hover {
  border-color: var(--line-gold);
  color: var(--gold-hi);
  background: var(--glass-2);
  transform: translateY(-2px);
}

.rail-act--primary {
  border-color: transparent;
  background: linear-gradient(140deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: #0A0A0F;
  font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(229, 185, 78, .85);
}

.rail-act--primary:hover {
  color: #0A0A0F;
  background: linear-gradient(140deg, #FFF1CB, var(--gold-hi) 58%, var(--gold));
}

.act-short { display: none; }

/* 移动导航开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-gold);
  background: var(--glass);
  color: var(--gold-hi);
  font-size: 12px;
  letter-spacing: .08em;
  flex: 0 0 auto;
}

.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s 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 .25s 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); }

/* ---------- 7. 通用版式 ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.col-main, .col-aside { min-width: 0; }

@media (min-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
}

@media (min-width: 1240px) {
  .layout--index { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr) 44px; }
}

.prose { max-width: 38em; }
.prose p { margin-bottom: 1.1em; color: rgba(245, 242, 234, .88); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--gold-hi); font-weight: 600; }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(53, 224, 206, .35);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.prose a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }

.section-head { margin-bottom: clamp(20px, 3vw, 36px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--cyan);
}

.h-section {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: clamp(32px, 5vw, 72px); }

.muted { color: var(--mist); }
.txt-gold { color: var(--gold-hi); }

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

/* ---------- 8. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: #0A0A0F;
  box-shadow: 0 14px 30px -16px rgba(229, 185, 78, .9);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(229, 185, 78, 1); }

.btn--ghost {
  border-color: var(--line);
  background: var(--glass);
  color: var(--ivory);
}
.btn--ghost:hover { border-color: var(--line-gold); color: var(--gold-hi); transform: translateY(-2px); }

.btn--cyan {
  border-color: var(--line-cyan);
  background: rgba(53, 224, 206, .08);
  color: var(--cyan);
}
.btn--cyan:hover { background: rgba(53, 224, 206, .16); transform: translateY(-2px); }

/* ---------- 9. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(166, 172, 185, .8);
}

.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: rgba(166, 172, 185, .42); }
.crumbs a { color: var(--mist); transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--ivory); }

/* ---------- 10. 基础组件 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  background: var(--glass-2);
  box-shadow: var(--lift);
}

.plate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
}

.plate--violet { border-color: var(--line-violet); background: rgba(139, 92, 255, .1); color: #C9B2FF; }
.plate--gold { border-color: var(--line-gold); background: rgba(229, 185, 78, .1); color: var(--gold-hi); }
.plate--cyan { border-color: var(--line-cyan); background: rgba(53, 224, 206, .1); color: var(--cyan); }

.zone {
  position: relative;
  padding: clamp(44px, 6vw, 96px) 0;
}

.zone--jade { background: linear-gradient(180deg, rgba(13, 71, 68, .55), rgba(13, 71, 68, .06)); }
.zone--wine { background: linear-gradient(180deg, rgba(90, 19, 48, .5), rgba(90, 19, 48, .05)); }
.zone--violet { background: linear-gradient(180deg, rgba(139, 92, 255, .16), rgba(139, 92, 255, .02)); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(245, 242, 234, .2) 12%,
    rgba(229, 185, 78, .38) 50%,
    rgba(245, 242, 234, .2) 88%,
    transparent);
}

/* 图片容器基础规则（供页面阶段放置图片占位） */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 120% at 12% 0%, rgba(139, 92, 255, .22), transparent 58%),
    radial-gradient(100% 100% at 90% 100%, rgba(53, 224, 206, .16), transparent 60%),
    linear-gradient(160deg, rgba(14, 15, 24, .96), rgba(6, 7, 12, 1));
}

.figure > img,
.figure > picture > img,
.figure > svg,
.figure > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.figure-cap {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(166, 172, 185, .72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 11. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 9vw, 140px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 15, 24, .6), rgba(6, 7, 12, .99) 44%);
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--gutter) clamp(28px, 4vw, 44px);
}

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.footer-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-brandline {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--gold-hi);
  background-image: linear-gradient(100deg, var(--gold-hi), var(--gold) 46%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(22px, 3vw, 40px);
  padding: 34px 0 30px;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ivory);
}

.col-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 2px 6px;
  border-radius: 6px;
  color: #C9B2FF;
  background: rgba(139, 92, 255, .14);
  border: 1px solid var(--line-violet);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-list a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  color: var(--mist);
  transition: color .25s var(--ease), transform .25s var(--ease);
}

.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}

.footer-list a:hover { color: var(--gold-hi); transform: translateX(3px); }
.footer-list a:hover::after { transform: scaleX(1); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.contact-label {
  font-size: 11px;
  letter-spacing: .26em;
  color: rgba(166, 172, 185, .7);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--ivory);
}

.contact-value--text {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: .02em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  align-self: flex-start;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-cyan);
  background: rgba(53, 224, 206, .07);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: left;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.copy-btn:hover { border-color: var(--cyan); background: rgba(53, 224, 206, .14); }

.copy-text { word-break: break-all; }

.copy-hint {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(166, 172, 185, .85);
  transition: color .25s var(--ease);
}

.copy-btn[data-copied] .copy-hint { color: var(--gold-hi); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
}

.footer-note {
  flex: 1 1 380px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(166, 172, 185, .72);
}

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

.footer-copy {
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(166, 172, 185, .78);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(166, 172, 185, .62);
}

/* ---------- 12. 矮屏桌面优化 ---------- */
@media (min-width: 900px) and (max-height: 700px) {
  .rail-tagline { display: none; }
  .rail-inner { padding: 14px 8px 12px; gap: 10px; }
  .nav-link { padding: 6px 4px; }
  .rail-act { padding: 6px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 17px; }
}

/* ---------- 13. 移动端：底部快捷条 + 弹出栏目面板 ---------- */
@media (max-width: 899px) {
  body {
    padding-left: 0;
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .skip-link { left: 14px; }

  .read-progress { left: 0; }

  .site-header {
    inset: auto 0 0 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid var(--line);
    background: rgba(8, 9, 14, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header::after {
    top: -1px;
    right: 0;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .rail-inner {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: auto;
    padding: 0;
  }

  .brand { flex-direction: row; gap: 0; padding: 0; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
  .brand-name, .brand-sub { display: none; }

  .rail-base {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
  }

  .rail-tagline { display: none; }

  .rail-actions { flex-direction: row; gap: 6px; width: auto; }

  .rail-act {
    padding: 8px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .act-full { display: none; }
  .act-short { display: inline; }

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

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 65;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line-gold);
    background: linear-gradient(180deg, rgba(18, 19, 30, .97), rgba(8, 9, 14, .99));
    box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  }

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

  .nav-list { gap: 2px; }

  .nav-link {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav-link::after { display: none; }
  .nav-link::before { top: 22%; bottom: 22%; left: 2px; }

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

/* ---------- 14. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .reveal { opacity: 1; transform: none; }

  .card:hover,
  .btn:hover,
  .rail-act:hover,
  .footer-list a:hover { transform: none; }

  .read-progress-bar { transition: none; }
}
