/* ============================================================
   银河娱乐登录 · 全站共享样式 /assets/site.css
   深空观星台视觉系统：玻璃层 + 实色层 + 霓虹刻度
   ============================================================ */

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

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

body { margin: 0; }

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

button { font: inherit; color: inherit; }

[hidden] { display: none !important; }

:root {
  --ink-900: #05060F;
  --ink-800: #0B1026;
  --purple: #7A5CFF;
  --magenta: #FF3D9A;
  --cyan: #35E6D0;
  --gold: #FFC857;
  --text: #E9ECF8;
  --text-dim: #9AA3C7;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --stroke: rgba(122, 92, 255, 0.38);
  --stroke-soft: rgba(233, 236, 248, 0.1);

  --shell: 1220px;
  --gutter: clamp(16px, 4vw, 42px);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: 'Smiley Sans', 'Barlow Condensed', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'Inter', 'PingFang SC', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

/* ---------- 全局排版 ---------- */

body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 0.4vw + 14.6px, 17px);
  line-height: 1.8;
  color: var(--text);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 620px at 8% -12%, rgba(122, 92, 255, 0.24), transparent 62%),
    radial-gradient(880px 520px at 96% 2%, rgba(53, 230, 208, 0.13), transparent 60%),
    radial-gradient(760px 620px at 62% 38%, rgba(255, 61, 154, 0.08), transparent 66%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(233, 236, 248, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(125% 92% at 50% 0%, #000 0%, transparent 76%);
  mask-image: radial-gradient(125% 92% at 50% 0%, #000 0%, transparent 76%);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text);
}

p { margin: 0 0 1em; }

a { color: var(--cyan); }
a:hover { color: var(--text); }

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

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

.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

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

/* ---------- 跳至主内容 ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(135deg, #FFD97A, var(--gold));
  color: #1A1206;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #1A1206; }

/* ============================================================
   页头
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.96), rgba(5, 6, 15, 0.82));
  border-bottom: 1px solid rgba(122, 92, 255, 0.18);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  transition: padding 0.24s var(--ease);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--text);
}

.brand__glyph {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  border: 1.25px solid rgba(53, 230, 208, 0.5);
  box-shadow: inset 0 0 14px rgba(53, 230, 208, 0.22);
}

.brand__glyph::before {
  content: '';
  position: absolute;
  inset: 7px -4px;
  border-radius: 50%;
  border: 1.25px solid rgba(122, 92, 255, 0.85);
  transform: rotate(-28deg);
}

.brand__glyph::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(53, 230, 208, 0.9);
}

.brand__words {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: opacity 0.24s var(--ease);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  order: 2;
}

.site-nav__head,
.site-nav__foot { display: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list__item { display: block; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: rgba(122, 92, 255, 0.12);
}

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

.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(122, 92, 255, 0.18);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

/* 页头右端动作区 */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  order: 3;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease);
}

.btn--gold {
  background: linear-gradient(135deg, #FFE199, var(--gold) 52%, #EFA83B);
  border-color: rgba(255, 200, 87, 0.68);
  color: #1A1206;
  font-weight: 600;
  box-shadow: 0 10px 26px -16px rgba(255, 200, 87, 0.95);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  color: #1A1206;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -16px rgba(255, 200, 87, 1);
}

.btn--ghost {
  background: rgba(53, 230, 208, 0.08);
  border-color: rgba(53, 230, 208, 0.42);
  color: var(--cyan);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(53, 230, 208, 0.18);
  color: var(--cyan);
}

.btn--compact { padding: 9px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 90;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

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

.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}

.site-header[data-nav-open] .nav-toggle__bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.site-header[data-nav-open] .nav-toggle__bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* 快捷通道胶囊 */
.dock-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
  transition: padding 0.24s var(--ease);
}

.quick-dock {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 7px 10px 7px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(122, 92, 255, 0.16), rgba(53, 230, 208, 0.09));
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 44px -30px rgba(122, 92, 255, 0.95);
  transition: padding 0.24s var(--ease), background 0.24s var(--ease);
}

.quick-dock__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  white-space: nowrap;
}

.quick-dock__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-dock__list::-webkit-scrollbar { display: none; }

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.quick-link__k {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.quick-link:hover,
.quick-link:focus-visible {
  background: rgba(53, 230, 208, 0.15);
  color: var(--cyan);
}

/* 滚动进度光带 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--magenta), var(--cyan));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

/* 收缩态 */
.site-header[data-condensed] .header-bar {
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.99), rgba(11, 16, 38, 0.95));
  border-bottom-color: var(--stroke);
}

.site-header[data-condensed] .header-bar__inner { padding-block: 9px; }

.site-header[data-condensed] .brand__tag { opacity: 0; }

.site-header[data-condensed] .dock-wrap { padding-bottom: 8px; }

.site-header[data-condensed] .quick-dock {
  padding-block: 4px;
  background: linear-gradient(120deg, rgba(122, 92, 255, 0.13), rgba(53, 230, 208, 0.08));
}

/* ============================================================
   通用页面组件
   ============================================================ */

.prose { max-width: 68ch; }
.prose--dim { color: var(--text-dim); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: rgba(122, 92, 255, 0.8); }
.breadcrumb [aria-current="page"] { color: var(--text); }

.section { position: relative; margin-top: clamp(56px, 7vw, 104px); }

.section__index {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.02em;
  color: rgba(122, 92, 255, 0.3);
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
}

@supports (-webkit-text-stroke: 1px red) {
  .section__index {
    color: transparent;
    -webkit-text-stroke: 1.25px rgba(122, 92, 255, 0.55);
  }
  .section__index.is-active { -webkit-text-stroke-color: rgba(53, 230, 208, 0.9); }
}

.section__title {
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.04em;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--stroke-soft);
  background: rgba(11, 16, 38, 0.72);
  padding: clamp(18px, 2vw, 26px);
}

.panel--glass {
  background: var(--glass);
  border-color: var(--stroke);
}

.panel--solid {
  background: linear-gradient(160deg, #0B1026, #0A0E1F 70%);
}

.panel__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(122, 92, 255, 0.28), transparent 60%),
    radial-gradient(100% 80% at 90% 100%, rgba(53, 230, 208, 0.18), transparent 62%),
    linear-gradient(150deg, #0B1026, #05060F);
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-radial-gradient(
    circle at 78% 22%,
    rgba(122, 92, 255, 0.28) 0 1px,
    transparent 1px 76px
  );
  opacity: 0.6;
}

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

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

.media-frame__cap {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

/* 筛选芯片 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.chip:hover { color: var(--text); border-color: var(--cyan); }

.chip[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--cyan);
  background: linear-gradient(120deg, rgba(122, 92, 255, 0.32), rgba(53, 230, 208, 0.2));
}

.chip__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.filter-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.filter-status strong { color: var(--cyan); font-weight: 600; }

/* 可展开条目 */
.disclosure {
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-sm);
  background: rgba(11, 16, 38, 0.6);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.disclosure + .disclosure { margin-top: 10px; }
.disclosure[data-open] { border-color: var(--stroke); }

.disclosure__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  border-left: 3px solid transparent;
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.disclosure__btn:hover { background: rgba(122, 92, 255, 0.1); }

.disclosure[data-open] .disclosure__btn {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.disclosure__icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.disclosure__icon::before,
.disclosure__icon::after {
  content: '';
  position: absolute;
  border-radius: 2px;
  background: currentColor;
}

.disclosure__icon::before { left: 0; right: 0; top: 8px; height: 1.5px; }
.disclosure__icon::after {
  top: 0; bottom: 0; left: 8px; width: 1.5px;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.disclosure[data-open] .disclosure__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.disclosure__panel {
  padding: 0 18px 18px;
  color: var(--text-dim);
}
.disclosure__panel[hidden] { display: none; }

/* 滚动显现 */
html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

html[data-js="on"] [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(40px, 5vw, 64px) 0 26px;
  overflow: hidden;
  border-top: 1px solid rgba(122, 92, 255, 0.24);
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.5), rgba(5, 6, 15, 0.97) 62%);
}

.footer-orbit {
  position: absolute;
  top: -46%;
  right: -14%;
  width: min(780px, 96vw);
  height: min(780px, 96vw);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 50% 50%, rgba(122, 92, 255, 0.16), transparent 62%),
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(122, 92, 255, 0.22) 0 1px,
      transparent 1px 88px
    );
}

.footer-shell { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.6fr;
  gap: 38px 28px;
}

.footer-brand__mark {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1.25px solid rgba(122, 92, 255, 0.6);
  box-shadow: inset 0 0 18px rgba(122, 92, 255, 0.2);
}

.footer-brand__mark::before {
  content: '';
  position: absolute;
  inset: 9px -5px;
  border-radius: 50%;
  border: 1.25px solid rgba(53, 230, 208, 0.65);
  transform: rotate(-28deg);
}

.footer-brand__mark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px rgba(255, 61, 154, 0.85);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.footer-brand__note {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.footer-col__title {
  margin: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--purple);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li { margin-top: 9px; }

.footer-link {
  display: inline-block;
  color: var(--text-dim);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-link--sm { font-size: 13px; }

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(122, 92, 255, 0.2);
}
.footer-contact__row:last-child { border-bottom: 0; }

.footer-contact__k {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--purple);
  padding-top: 3px;
}

.footer-contact__v {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  word-break: break-word;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 92, 255, 0.24);
}

.footer-meta__copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(340px, 88vw);
    padding: 88px 22px 32px;
    margin: 0;
    overflow-y: auto;
    background: linear-gradient(180deg, #0B1026 0%, #05060F 100%);
    border-left: 1px solid var(--stroke);
    box-shadow: -30px 0 70px -30px rgba(0, 0, 0, 0.92);
    transform: translateX(102%);
    transition: transform 0.3s var(--ease);
  }

  .site-nav[data-open] { transform: translateX(0); }

  .site-nav__head {
    display: block;
    margin: 0 0 12px;
    padding-left: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--text-dim);
  }

  .site-nav__foot {
    display: block;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(122, 92, 255, 0.24);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    display: block;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nav-link::after {
    left: 0;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 3px;
    height: auto;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--purple), var(--cyan));
    transform: scaleY(0);
    transform-origin: top center;
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after { transform: scaleY(1); }

  .nav-link[aria-current="page"]::after {
    transform: scaleY(1);
    background: linear-gradient(180deg, var(--cyan), var(--magenta));
  }

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

  .site-header[data-nav-open]::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(5, 6, 15, 0.76);
  }

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

@media (max-width: 860px) {
  .quick-dock { padding-left: 12px; gap: 8px; }
  .quick-dock__label { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .header-tools .btn { display: none; }
  .header-bar__inner { gap: 12px; }
  .grid--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .filter-status { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .brand__tag { display: none; }
  .grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__index { font-size: clamp(56px, 22vw, 92px); }
}

/* ---------- 动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .nav-link:hover { transform: none; }
  .footer-link:hover { transform: none; }
  .btn--gold:hover { transform: none; }
}
