/* ==========================================================================
   777电玩城 · 共享样式表 /assets/site.css
   设计基调：未来电玩城夜景 · 午夜蓝深底 + 奶油纸面 + 霓虹发光 + 精密网格
   ========================================================================== */

:root {
  --paper: #F3EBDD;
  --midnight: #0B1030;
  --ink: #1A1410;
  --violet: #7A3BFF;
  --cyan: #38E8FF;
  --orange: #FF5A2B;
  --gold: #F2C14E;
  --ice: #C9D6E4;
  --glitch: #FF2E88;

  --deep-1: #080C24;
  --deep-2: #0D1236;
  --deep-3: #12082C;

  --rail-w: 88px;
  --topbar-h: 58px;
  --max-w: 1440px;
  --gap: 24px;

  --font-sans: "Source Han Sans SC", "Source Han Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
  --t-mid: 300ms;
  --t-slow: 420ms;
}

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

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

html,
body { min-height: 100%; }

body {
  margin: 0;
  background-color: var(--deep-1);
  background-image:
    linear-gradient(rgba(122, 59, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 59, 255, .075) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

a { color: inherit; }

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(201, 214, 228, .22);
  margin: 0;
}

::selection {
  background: var(--violet);
  color: #fff;
}

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

/* ---------- 排版与文字层次 ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--paper);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .01em;
}

.h-hero {
  font-size: clamp(44px, 7.2vw, 108px);
  font-weight: 200;
  line-height: .98;
  letter-spacing: -.015em;
}

.h-section {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.h-sub {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.25;
}

.glow {
  color: #fff;
  font-weight: 900;
  text-shadow:
    0 0 12px rgba(122, 59, 255, .9),
    0 0 30px rgba(56, 232, 255, .45);
}

.glitch:hover {
  animation: site-glitch 300ms steps(2, end) 1;
}

@keyframes site-glitch {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-2px, 1px); }
  66%  { transform: translate(2px, -1px); }
  100% { transform: translate(0, 0); }
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ice);
}

.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(56, 232, 255, .38);
}

.paper,
.card {
  color: var(--ink);
}

.paper h1, .paper h2, .paper h3, .paper h4, .paper h5, .paper h6,
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
  color: var(--ink);
}

.paper .eyebrow,
.card .eyebrow { color: #5A5248; }

.paper a,
.card a { color: var(--ink); text-decoration-color: rgba(122, 59, 255, .6); }

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.doc {
  max-width: 720px;
}

main {
  display: block;
  margin-inline-start: var(--rail-w);
  min-block-size: 60vh;
}

/* ---------- 通用块 ---------- */
.paper {
  background: var(--paper);
  border: 1px solid rgba(26, 20, 16, .14);
  border-radius: 2px;
  padding: 32px;
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(26, 20, 16, .14);
  border-radius: 2px;
  padding: 28px;
}

.card--dark {
  background: var(--deep-2);
  border-color: rgba(56, 232, 255, .26);
  color: var(--paper);
}

.card--dark h1, .card--dark h2, .card--dark h3, .card--dark h4 {
  color: var(--paper);
}

.card--dark .eyebrow { color: var(--cyan); }

.rule {
  height: 1px;
  background: rgba(201, 214, 228, .22);
  border: 0;
}

.paper .rule,
.card .rule {
  background: rgba(26, 20, 16, .16);
}

.beam {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--violet) 30%, var(--cyan) 70%, transparent);
  opacity: .85;
}

.edge--top {
  clip-path: polygon(0 0, 100% 3.5vw, 100% 100%, 0 100%);
}

.edge--bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.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)); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.btn--cta {
  background: var(--orange);
  color: #1A1410;
  box-shadow: 0 0 0 1px rgba(255, 90, 43, .6), 0 0 22px rgba(255, 90, 43, .3);
}

.btn--cta:hover {
  box-shadow: 0 0 0 1px rgba(255, 90, 43, 1), 0 0 32px rgba(255, 90, 43, .55);
  transform: translateY(-1px);
}

.btn--cta:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(56, 232, 255, .04);
  color: var(--cyan);
  border-color: rgba(56, 232, 255, .5);
}

.btn--ghost:hover {
  background: rgba(56, 232, 255, .12);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(56, 232, 255, .28);
}

.btn--ink {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 20, 16, .4);
}

.btn--ink:hover {
  background: rgba(26, 20, 16, .07);
  border-color: var(--ink);
}

/* ---------- 标签与 chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid currentColor;
  border-radius: 2px;
  white-space: nowrap;
}

.tag--gold { color: var(--gold); }
.tag--cyan { color: var(--cyan); }
.tag--orange { color: var(--orange); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ice);
  background: rgba(11, 16, 48, .62);
  border: 1px solid rgba(201, 214, 228, .3);
  border-radius: 2px;
  transition:
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.chip:hover {
  border-color: rgba(56, 232, 255, .7);
  color: #fff;
}

.chip[aria-pressed="true"] {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(56, 232, 255, .12);
  box-shadow: 0 0 16px rgba(56, 232, 255, .25);
}

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(201, 214, 228, .8);
}

.crumb li { display: inline-flex; align-items: center; gap: 8px; }
.crumb li + li::before {
  content: "/";
  color: rgba(201, 214, 228, .4);
}

.crumb a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 232, 255, .5);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.crumb a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.crumb span[aria-current="page"] { color: var(--paper); }

/* ---------- 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #050818;
  border: 1px solid rgba(56, 232, 255, .22);
  border-radius: 2px;
  isolation: isolate;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(56, 232, 255, .06) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(11, 16, 48, 0) 45%, rgba(11, 16, 48, .62) 100%);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }

.media__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

/* ---------- 可展开内容组 ---------- */
.accordion {
  border-top: 1px solid rgba(201, 214, 228, .2);
}

.paper .accordion,
.card .accordion {
  border-top-color: rgba(26, 20, 16, .18);
}

.accordion__item {
  position: relative;
  border-bottom: 1px solid rgba(201, 214, 228, .2);
}

.paper .accordion__item,
.card .accordion__item {
  border-bottom-color: rgba(26, 20, 16, .18);
}

.accordion__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-mid) var(--ease);
}

.accordion__item[data-open="true"]::before { transform: scaleY(1); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 18px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: inherit;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.accordion__trigger:hover { color: var(--violet); }

.paper .accordion__trigger:hover,
.card .accordion__trigger:hover { color: var(--violet); }

.accordion__trigger::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-mid) var(--ease);
}

.accordion__item[data-open="true"] .accordion__trigger::after {
  transform: rotate(-135deg);
}

.accordion__panel {
  display: none;
  padding: 0 18px 24px;
}

.accordion__item[data-open="true"] .accordion__panel { display: block; }

/* ---------- 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 10px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--orange);
  color: #1A1410;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 0 24px rgba(255, 90, 43, .5);
  transition: top var(--t-fast) var(--ease);
}

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

/* ==========================================================================
   头部 · 侧轨导航
   ========================================================================== */
.siterail {
  --progress: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, #0B1030 0%, #090D27 58%, #12082C 100%);
  border-right: 1px solid rgba(122, 59, 255, .45);
}

.siterail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(56, 232, 255, .55), transparent);
}

.siterail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 18px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 214, 228, .18);
}

.siterail__mark {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, .55);
}

.siterail__wordmark {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--ice);
}

.siterail__burger { display: none; }

.siterail__drawer {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.siterail__nav {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.rail-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.rail-list a {
  position: relative;
  display: block;
  padding: 14px 8px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--ice);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), text-shadow var(--t-fast) var(--ease);
}

.rail-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(122, 59, 255, .35), transparent);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}

.rail-list a::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: translateY(-50%) scale(0);
  transition: transform var(--t-mid) var(--ease);
}

.rail-list a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(122, 59, 255, .85);
}

.rail-list a:hover::before { opacity: 1; }

.rail-list a:hover::after,
.rail-list a[aria-current="page"]::after {
  transform: translateY(-50%) scale(1);
}

.rail-list a[aria-current="page"] {
  color: #fff;
  text-shadow:
    0 0 12px rgba(122, 59, 255, .9),
    0 0 26px rgba(56, 232, 255, .35);
}

.rail-list a[aria-current="page"]::before { opacity: 1; }

.siterail__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 8px 20px;
  border-top: 1px solid rgba(201, 214, 228, .18);
}

.sound-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 6px 4px;
  color: var(--ice);
  transition: color var(--t-fast) var(--ease);
}

.sound-toggle__dot {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  background: transparent;
  transition:
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.sound-toggle__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 11px;
  letter-spacing: .18em;
}

.sound-toggle:hover { color: #fff; }

.sound-toggle[aria-pressed="true"] {
  color: var(--cyan);
}

.sound-toggle[aria-pressed="true"] .sound-toggle__dot {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.siterail__cta {
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 14px 9px;
  font-size: 12px;
  letter-spacing: .2em;
}

.siterail__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.6;
  text-align: center;
  color: rgba(201, 214, 228, .55);
}

.siterail__progress {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--violet) 60%, var(--orange));
  transform: scaleY(var(--progress, 0));
  transform-origin: top center;
  box-shadow: 0 0 10px rgba(56, 232, 255, .6);
  pointer-events: none;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-foot {
  position: relative;
  overflow: hidden;
  margin-inline-start: var(--rail-w);
  color: var(--ice);
  background: linear-gradient(180deg, #080C24 0%, #0B1030 45%, #0D0A26 100%);
  border-top: 1px solid rgba(122, 59, 255, .4);
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(201, 214, 228, .055) 0 1px, transparent 1px 26px);
}

.site-foot__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.3fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 44px;
}

.site-foot__logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--paper);
  margin-bottom: 10px;
}

.site-foot__tag {
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 16px;
}

.site-foot__note {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(201, 214, 228, .75);
}

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

.site-foot__col h3,
.site-foot__contact h3 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-foot__list li + li { margin-top: 10px; }

.site-foot__list a {
  font-size: 14px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.site-foot__list a:hover {
  color: #fff;
  border-bottom-color: var(--violet);
}

.site-foot__dl {
  font-size: 13px;
  line-height: 1.85;
}

.site-foot__row {
  display: flex;
  gap: 10px;
}

.site-foot__row + .site-foot__row { margin-top: 8px; }

.site-foot__row dt {
  flex: none;
  min-width: 42px;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(201, 214, 228, .6);
}

.site-foot__row dd {
  margin: 0;
  color: var(--paper);
  word-break: break-word;
}

.site-foot__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 40px 28px;
  border-top: 1px solid rgba(201, 214, 228, .16);
  font-size: 12px;
  color: rgba(201, 214, 228, .7);
}

.site-foot__legal {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: var(--gold);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__inner { grid-template-columns: 1fr 1fr; }
  .site-foot__contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-height: 780px) and (min-width: 769px) {
  .rail-list a { padding: 9px 8px; font-size: 12px; letter-spacing: .18em; }
  .siterail__brand { padding: 14px 0 12px; }
  .siterail__mark { font-size: 17px; }
  .siterail__foot { gap: 10px; padding: 12px 8px 14px; }
  .siterail__cta { padding: 11px 9px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: calc(var(--topbar-h) + 12px); }

  body { background-size: 40px 40px; }

  main {
    margin-inline-start: 0;
    padding-block-start: var(--topbar-h);
  }

  .wrap { padding: 0 20px; }

  .paper,
  .card { padding: 22px; }

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

  .edge--top,
  .edge--bottom { clip-path: none; }

  .section-index { font-size: 32px; }

  /* 侧轨 → 顶栏 + 底部抽屉 */
  .siterail {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--topbar-h);
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(122, 59, 255, .5);
    background: linear-gradient(90deg, #0B1030 0%, #12082C 72%, #0B1030 100%);
  }

  .siterail::after { display: none; }

  .siterail__brand {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    padding: 0 16px;
    border-bottom: 0;
  }

  .siterail__mark { font-size: 17px; }

  .siterail__wordmark {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 13px;
    letter-spacing: .16em;
  }

  .siterail__burger {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    margin-right: 14px;
    height: 36px;
    padding: 0 13px;
    color: var(--ice);
    font-size: 12px;
    letter-spacing: .16em;
    border: 1px solid rgba(201, 214, 228, .35);
    border-radius: 2px;
    transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  }

  .siterail__burger:hover { color: #fff; border-color: var(--cyan); }

  .siterail[data-open="true"] .siterail__burger {
    color: #fff;
    border-color: var(--violet);
    box-shadow: 0 0 16px rgba(122, 59, 255, .55);
  }

  .siterail__burger-lines {
    position: relative;
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: background-color var(--t-fast) var(--ease);
  }

  .siterail__burger-lines::before,
  .siterail__burger-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: transform var(--t-mid) var(--ease);
  }

  .siterail__burger-lines::before { top: -5px; }
  .siterail__burger-lines::after { top: 5px; }

  .siterail[data-open="true"] .siterail__burger-lines { background: transparent; }
  .siterail[data-open="true"] .siterail__burger-lines::before { transform: translateY(5px) rotate(45deg); }
  .siterail[data-open="true"] .siterail__burger-lines::after { transform: translateY(-5px) rotate(-45deg); }

  .siterail__drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 86vh;
    overflow-y: auto;
    background: #080C24;
    border-top: 1px solid var(--violet);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, .65);
    transform: translateY(105%);
    transition: transform var(--t-slow) var(--ease);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .siterail__drawer::before {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .8;
  }

  .siterail[data-open="true"] .siterail__drawer { transform: translateY(0); }

  .siterail__nav {
    flex: none;
    display: block;
    padding: 6px 0 0;
    overflow: visible;
  }

  .rail-list {
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .rail-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 15px 22px;
    font-size: 15px;
    letter-spacing: .12em;
    border-bottom: 1px solid rgba(201, 214, 228, .12);
  }

  .rail-list a::before { display: none; }
  .rail-list a::after { right: 22px; }

  .siterail__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px 22px;
  }

  .sound-toggle {
    flex-direction: row;
    gap: 9px;
    padding: 6px 0;
  }

  .sound-toggle__label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 12px;
    letter-spacing: .16em;
  }

  .siterail__cta {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: .14em;
  }

  .siterail__meta { display: none; }

  .siterail__progress {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(var(--progress, 0));
    transform-origin: left center;
  }

  /* 页脚 */
  .site-foot { margin-inline-start: 0; }

  .site-foot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 44px 20px 32px;
  }

  .site-foot__contact { grid-column: auto; }

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

  .site-foot__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px 26px;
  }
}

@media (max-width: 460px) {
  .site-foot__cols { grid-template-columns: minmax(0, 1fr); }
  .siterail__burger-text { display: none; }
}

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

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

  .glitch:hover { animation: none; }
  .btn--cta:hover { transform: none; }
  .rail-list a:hover,
  .rail-list a[aria-current="page"] { text-shadow: none; }
}
