/* =========================================================
   银河娱乐会馆 · 共享站点样式 /assets/site.css
   星际档案馆：深空轨道 + 档案纸页
   ========================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --void: #050817;
  --night: #0A1128;
  --nebula: #141C45;
  --orbit: #22305C;
  --neon: #6D4AFF;
  --violet: #2B1D5E;
  --mist: #9A8CFF;
  --silver: #C9D2E8;
  --stardust: #E8EDF8;
  --gold: #F2D48A;

  --font-display: "Space Grotesk", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: Inter, "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rail: 276px;
  --bar-h: 65px;
  --gutter: clamp(18px, 4vw, 56px);
  --maxw: 1140px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hair: rgba(34, 48, 92, 0.95);
  --hair-soft: rgba(154, 140, 255, 0.32);
}

/* ---------- 2. 重置与基础排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--void);
  background-image:
    radial-gradient(1100px 720px at 84% -10%, rgba(109, 74, 255, 0.20), transparent 62%),
    radial-gradient(900px 640px at 4% 16%, rgba(43, 29, 94, 0.55), transparent 60%),
    radial-gradient(820px 560px at 62% 104%, rgba(34, 48, 92, 0.55), transparent 64%);
  background-repeat: no-repeat;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--stardust);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.3rem); }
h3 { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem); }

p { margin: 0; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
ul, ol { margin: 0; }

::selection {
  background: rgba(109, 74, 255, 0.42);
  color: var(--stardust);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 通用布局件 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.section__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
}

.section__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }

.page-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: clamp(36px, 6vw, 80px) clamp(18px, 3vw, 36px);
}

.page-head__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.page-head__title { max-width: 22ch; }

.page-head__lead {
  max-width: 62ch;
  font-size: clamp(15px, 0.9rem + 0.3vw, 17px);
  line-height: 1.85;
  color: var(--silver);
  opacity: 0.92;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(154, 140, 255, 0.45), rgba(34, 48, 92, 0.65) 42%, transparent);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--silver);
}
.prose h3 { margin-top: 10px; }
.prose ul { padding-left: 1.15em; list-style: square; }
.prose a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }

/* 面包屑 */
.breadcrumbs { padding-block: 16px 0; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: rgba(154, 140, 255, 0.5); }
.breadcrumbs__link { color: var(--mist); text-decoration: none; transition: color 0.2s var(--ease); }
.breadcrumbs__link:hover { color: var(--gold); }
.breadcrumbs__current { color: var(--stardust); }

/* 网格 */
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
  grid-template-columns: 1fr;
}

/* ---------- 4. 按钮 / 标签 / 编号 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(154, 140, 255, 0.38);
  border-radius: 999px;
  background: rgba(20, 28, 69, 0.55);
  color: var(--stardust);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 140, 255, 0.75);
  background: rgba(43, 29, 94, 0.7);
  box-shadow: 0 12px 30px -18px rgba(109, 74, 255, 0.9);
}
.btn--gold {
  border-color: rgba(242, 212, 138, 0.9);
  background: linear-gradient(120deg, #F7E2AE, #F2D48A 45%, #D9B969);
  color: #0A1128;
  box-shadow: 0 10px 28px -16px rgba(242, 212, 138, 0.85);
}
.btn--gold:hover {
  background: linear-gradient(120deg, #FFF0C6, #F2D48A 55%, #E6C67C);
  color: #050817;
  box-shadow: 0 14px 34px -16px rgba(242, 212, 138, 0.95);
}
.btn--ghost { background: transparent; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(154, 140, 255, 0.35);
  border-radius: 999px;
  background: rgba(43, 29, 94, 0.55);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.tag--gold {
  border-color: rgba(242, 212, 138, 0.55);
  background: rgba(242, 212, 138, 0.08);
  color: var(--gold);
}

.index-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(154, 140, 255, 0.55);
}
@supports not (-webkit-text-stroke: 1px currentColor) {
  .index-num { color: rgba(154, 140, 255, 0.55); }
}

/* ---------- 5. 档案卡片与图片容器 ---------- */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 28, 69, 0.86), rgba(10, 17, 40, 0.86));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 140, 255, 0.45);
  box-shadow: 0 24px 48px -32px rgba(109, 74, 255, 0.9);
}
.panel__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--mist);
}
.panel__title { font-size: 1.1rem; }
.panel__body {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--silver);
  opacity: 0.9;
}
.panel--stack::after {
  content: "";
  position: absolute;
  inset: 10px -9px -9px 10px;
  border: 1px solid rgba(34, 48, 92, 0.85);
  border-radius: 14px;
  pointer-events: none;
}

.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background:
    radial-gradient(120% 90% at 72% 8%, rgba(109, 74, 255, 0.38), rgba(10, 17, 40, 0.95) 62%),
    radial-gradient(80% 60% at 12% 92%, rgba(43, 29, 94, 0.7), transparent 70%),
    #0A1128;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border: 1px solid rgba(154, 140, 255, 0.3);
  border-radius: 999px;
  background: rgba(5, 8, 23, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--stardust);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- 6. 滚动显现 ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 7. 页头 · 轨道 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #050817;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--stardust);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 8, 23, 0.92);
  border-bottom: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}
.site-header[data-scrolled] {
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.95);
}

.rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
}

.rail__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.rail__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(154, 140, 255, 0.42);
  border-radius: 50%;
}
.rail__mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(109, 74, 255, 0.65);
  border-radius: 50%;
  animation: orbit-spin 22s linear infinite;
}
.rail__mark-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(242, 212, 138, 0.75);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.rail__brand-text { display: flex; flex-direction: column; gap: 3px; }
.rail__wordmark {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--stardust);
  white-space: nowrap;
}
.rail__latin {
  display: none;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--mist);
  opacity: 0.8;
  white-space: nowrap;
}

.rail__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(154, 140, 255, 0.35);
  border-radius: 999px;
  color: var(--stardust);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.rail__toggle:hover {
  background: rgba(109, 74, 255, 0.16);
  border-color: rgba(154, 140, 255, 0.7);
}
.rail__toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.rail__toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}
.rail__toggle-bars span:last-child { width: 11px; }
.rail__toggle[aria-expanded="true"] .rail__toggle-bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.rail__toggle[aria-expanded="true"] .rail__toggle-bars span:last-child {
  width: 16px;
  transform: translateY(-2.75px) rotate(-45deg);
}
.rail__toggle-text { white-space: nowrap; }

.rail__scrim {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  background: rgba(3, 5, 15, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.34s var(--ease), visibility 0.34s var(--ease);
  cursor: pointer;
}
.site-header[data-open] .rail__scrim { opacity: 1; visibility: visible; }

.rail__nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  bottom: 0;
  right: auto;
  z-index: 70;
  width: min(86vw, 330px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 22px 30px;
  background: linear-gradient(180deg, #0B1229 0%, #060A1B 100%);
  border-right: 1px solid rgba(109, 74, 255, 0.28);
  box-shadow: 24px 0 60px -30px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 0.42s var(--ease), visibility 0.42s var(--ease);
}
.site-header[data-open] .rail__nav {
  transform: translateX(0);
  visibility: visible;
}

.rail__nav-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.65;
}

.rail__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}
.rail__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(154, 140, 255, 0.5), rgba(34, 48, 92, 0.9) 62%, transparent);
}
.rail__item { position: relative; }

.rail__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--silver);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.rail__link::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #0A1128;
  border: 1px solid rgba(154, 140, 255, 0.55);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.rail__link:hover {
  color: var(--stardust);
  background: rgba(109, 74, 255, 0.1);
  transform: translateX(2px);
}
.rail__link:hover::before {
  background: var(--mist);
  border-color: var(--mist);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.18);
}
.rail__link[aria-current="page"] {
  color: var(--stardust);
  background: linear-gradient(90deg, rgba(109, 74, 255, 0.22), rgba(109, 74, 255, 0));
}
.rail__link[aria-current="page"]::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 212, 138, 0.14);
}
.rail__index {
  min-width: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  opacity: 0.7;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.rail__link:hover .rail__index { color: var(--stardust); opacity: 1; }
.rail__link[aria-current="page"] .rail__index { color: var(--gold); opacity: 1; }
.rail__label { white-space: nowrap; }

.rail__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 48, 92, 0.85);
}
.rail__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
  opacity: 0.8;
}
.rail__cta { width: 100%; }

.rail__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--mist) 55%, var(--gold));
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 0.12s linear;
  pointer-events: none;
}

html.is-nav-open,
html.is-nav-open body { overflow: hidden; }

/* ---------- 8. 页脚 · 档案封底 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(64px, 10vw, 140px);
  border-top: 1px solid var(--hair);
  background: linear-gradient(180deg, #070C1F 0%, #050817 62%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}
.footer__watermark {
  position: absolute;
  right: -8px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: clamp(64px, 14vw, 180px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(154, 140, 255, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 7vw, 84px) var(--gutter) 0;
}
.footer__grid {
  display: grid;
  gap: clamp(30px, 4vw, 54px);
  grid-template-columns: 1fr;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.footer__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(154, 140, 255, 0.45);
  border-radius: 50%;
}
.footer__mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(242, 212, 138, 0.9);
}
.footer__brand-text { display: flex; flex-direction: column; gap: 2px; }
.footer__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--stardust);
}
.footer__latin {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--mist);
  opacity: 0.75;
}
.footer__summary {
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--silver);
  opacity: 0.92;
}
.footer__contact { display: grid; gap: 10px; margin: 4px 0 0; }
.footer__contact-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}
.footer__contact-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mist);
  opacity: 0.8;
}
.footer__contact-row dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--stardust);
  word-break: break-word;
}
.footer__note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
  opacity: 0.8;
}
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__item { line-height: 1.4; }
.footer__link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.footer__link:hover { color: var(--stardust); transform: translateX(2px); }
.footer__link:hover::after,
.footer__link:focus-visible::after { width: 100%; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(38px, 6vw, 70px);
  padding-block: 22px 30px;
  border-top: 1px solid var(--hair);
}
.footer__copy,
.footer__icp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  opacity: 0.85;
}

/* ---------- 9. 响应式 ---------- */
@media (min-width: 480px) {
  .rail__latin { display: block; }
}

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

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}

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

@media (min-width: 1080px) {
  body { padding-left: var(--rail); }

  .site-header {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--rail);
    border-bottom: 0;
    border-right: 1px solid var(--hair);
    background: linear-gradient(180deg, #0A1128 0%, #070C20 52%, #050817 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header[data-scrolled] { box-shadow: none; }

  .rail {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
    padding: 34px 22px 26px;
    gap: 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .rail__mark { width: 44px; height: 44px; }
  .rail__wordmark { font-size: 16.5px; }
  .rail__latin { display: block; font-size: 9px; }
  .rail__toggle { display: none; }
  .rail__scrim { display: none; }

  .rail__nav {
    position: static;
    inset: auto;
    width: auto;
    z-index: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .rail__link { font-size: 15.5px; }
  .rail__foot { margin-top: auto; }

  .rail__progress {
    top: 0;
    bottom: auto;
    left: auto;
    right: 0;
    width: 2px;
    height: 100%;
    transform: scaleY(var(--p, 0));
    transform-origin: top center;
    background: linear-gradient(180deg, var(--neon), var(--mist) 55%, var(--gold));
    transition: transform 0.1s linear;
  }
}

/* ---------- 10. 降低动态效果 ---------- */
@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;
  }

  .rail__mark::before { animation: none; }

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

  .btn:hover,
  .panel:hover,
  .rail__link:hover,
  .footer__link:hover { transform: none; }
}
