@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #05080e;
  --ink: #f7f7f3;
  --muted: #afb5c0;
  --gold: #ffcf4b;
  --gold-bright: #ffdc73;
  --line: #ffffff24;
  --surface: #11151d;
  --purple: #7c3aed;
  --glow-purple: rgba(124, 58, 237, 0.22);
  --glow-gold: rgba(255, 207, 75, 0.16);
  --danger: #ffb4a9;
  --z-sky: 0;
  --z-content: 2;
  --z-header: 5;
  --gutter: clamp(24px, 5.5vw, 88px);
  /* 标题专用字体：思源黑体（Source Han Sans / Noto Sans CJK SC），最大字重 900 */
  --title-font: 'Source Han Sans SC', 'Noto Sans CJK SC', 'Source Han Sans', '思源黑体', sans-serif;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #f7f7f3;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  background-color: #05080e;
  background-color: var(--bg);
}
/* 固定渐变独立合成，避免随整页滚动重绘；在星空画布与内容之前绘制。 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-sky);
  pointer-events: none;
  background-image:
    radial-gradient(1200px 820px at 16% -8%, var(--glow-purple), transparent 60%),
    radial-gradient(1000px 720px at 94% 4%, var(--glow-gold), transparent 55%),
    radial-gradient(900px 900px at 50% 118%, var(--glow-purple), transparent 60%);
  background-repeat: no-repeat;
  transform: translateZ(0);
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
a {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 6px;
}
::selection {
  background: var(--gold);
  color: var(--bg);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
button {
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  transform: translateY(-150%);
  z-index: 20;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 18px;
}
.skip-link:focus {
  transform: none;
}
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-sky);
  pointer-events: none;
  opacity: 0.76;
}
.sky-shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #05080e88 0%, #05080e22 44%, #05080e55 100%);
}
.twinkle-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.join-twinkle {
  position: absolute;
  z-index: 0;
} /* 第三屏内部层：在区块背景之上、内容之下 */
.twinkle-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.65);
  opacity: 0.8;
  animation-name: twinkle-soft;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes twinkle-soft {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .twinkle-star {
    animation: none;
    opacity: 0.6;
  }
}
.section {
  position: relative;
  z-index: var(--z-content);
  padding-inline: var(--gutter);
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  min-height: 92px;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: background 0.3s;
}
.site-header.scrolled {
  background: #05080ee6;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #ffffff12;
  box-shadow: 0 10px 34px -14px #000;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
nav a,
nav .nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.2s;
}
nav a:hover,
nav a[aria-current],
nav .nav-link:hover,
nav .nav-link[aria-current] {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 207, 75, 0.45);
}
nav .nav-link {
  background: none;
  border: 0;
  border-radius: 0;
}
.site-header .nav-cta {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 650;
  gap: 8px;
  border-radius: 8px;
}
.site-header .nav-cta::after {
  display: none;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 256px;
  padding: 12px;
  background: #0b0f18f7;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 80;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  opacity: 0.9;
  padding: 2px 12px 8px;
}
.dropdown-requirement {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #ffffff0c;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.dropdown-requirement svg {
  flex: none;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.dropdown-item-windows {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 2px 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--gold);
}
.dropdown-item-windows + .dropdown-item-windows {
  margin-top: 8px;
}
.dropdown-item-note {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.dropdown-item-windows-single {
  padding-bottom: 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.dropdown-item-windows-single .dropdown-item-note { grid-column: 1 / -1; }
.dropdown-join-hint {
  padding: 0 12px 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.dropdown-item:hover {
  background: #ffcf4b14;
  color: var(--gold);
}
.dropdown-item svg {
  flex: none;
  opacity: 0.9;
}
.dropdown-item[data-tip] {
  cursor: default;
  position: relative;
}
.dropdown-item[data-tip]:hover {
  background: #ffcf4b0d;
  color: #fff;
}
.dropdown-item[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  white-space: nowrap;
  background: #161b29;
  color: #ffe09c;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.6);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.dropdown-item[data-tip]:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 991px) {
  .dropdown-item[data-tip]::after {
    left: 12px;
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateY(4px);
  }
  .dropdown-item[data-tip]:hover::after {
    transform: translateY(0);
  }
}
.dropdown-group + .dropdown-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.nav-cta .caret {
  font-size: 11px;
  transition: transform 0.2s;
}
.nav-dropdown.is-open .caret {
  transform: rotate(180deg);
}
.is-mobile-client .caret,
.is-mobile-client::after {
  display: none;
}
.site-header .is-mobile-client .nav-cta {
  min-height: 48px;
}
@media (max-width: 991px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown::after {
    display: none;
  }
  .dropdown-panel {
    position: static;
    display: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 12px;
    box-shadow: none;
  }
  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel,
  .nav-dropdown.is-open .dropdown-panel {
    display: block;
  }
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 10px;
}
.menu-toggle span {
  height: 1px;
  width: 24px;
  background: var(--ink);
  transition: transform 0.2s;
}
/* 第一屏沿用与第二/三屏相同的内容容器宽度，使标题左边缘与后两屏严格对齐 */
.hero {
  min-height: max(780px, 100svh);
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 88px;
  padding-inline: max(6.25vw, calc((100vw - 1260px) / 2));
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: 16px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(58% 50% at 28% 42%, rgba(255, 180, 110, 0.11), transparent 70%);
}
h1 {
  font-size: clamp(52px, 6.4vw, 98px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
/* 第一屏标题尺寸固定：64px / 行高 96px（窄屏断点另行收敛，避免反超桌面字号）；思源黑体 + 最大字重 900 */
.hero h1 {
  font-size: 80px;
  line-height: 120px;
  font-family: var(--title-font);
  font-weight: 900;
  display: inline-block;
  color: #ffeede;
}
h1 span {
  display: block;
  white-space: nowrap;
}
/* Popcorn Text 效果（originkit popcorn-text base preset 复刻）：逐字母弹簧弹入，仅在鼠标悬浮时播放 */
.pop-letter {
  display: inline-block;
}
/* 悬浮播放：由 JS 给 h1 加 .is-popping（每次重新随机旋转/错峰）；默认态不加动画 → 标题始终完整展示 */
.hero h1.is-popping .pop-letter {
  animation: popcorn var(--pop-dur, 0.72s) cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: var(--pop-delay, 0s);
}
/* 渐变裁切放在未被 transform 的内层，避免「变换元素 + background-clip:text」导致文字消失 */
.pop-letter__grad {
  display: inline-block;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .pop-letter__grad {
    background: linear-gradient(to right, #ffe0c4 0%, #ffeede 46%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
@keyframes popcorn {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(var(--pop-rot, 0deg)) scale(0.35);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 首屏标题「翻倍」下方的主题橙下划线：手绘马克笔风格「单条」描边（两端渐细、笔触轻微起伏）
   位置/宽度由 JS 量取；样式参考 originkit 手绘下划线。擦除式从左向右画出（clip-path 外扩留出辉光空间） */
.hero-title-underline {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.hero-title-underline__wipe {
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(-8px 100% -8px 0);
  transition: clip-path 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-title-underline__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(255, 158, 74, 0.42));
}
.hero-title-underline.is-shown {
  opacity: 1;
}
.hero-title-underline.is-shown .hero-title-underline__wipe {
  clip-path: inset(-8px -8px -8px 0);
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-underline__wipe {
    transition: none;
  }
}

/* 首屏标题「倍」右上角的手绘强调笔画（参考截图「选」右上角）：两条圆头短斜线，上长下短、上陡下平
   位置/尺寸由 JS 按末字字形量取；随下划线一同揭示，从字的右上角「弹」出 */
.hero-title-spark {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  transform: scale(0.55) rotate(-10deg);
  transform-origin: 0% 100%;
  transition:
    opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.hero-title-spark__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(255, 158, 74, 0.4));
}
.hero-title-spark.is-shown {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-spark {
    transition: opacity 0.01s linear;
    transform: none;
  }
}

/* 首屏背景底纹：流星 + 线稿游戏元素（手柄/耳机/键盘）。z-index 0 且 DOM 位于照片墙之前 → 绘制在照片墙与文字之下 */
.meteor-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.meteor {
  position: absolute;
  width: 2px;
  height: clamp(90px, 12vh, 150px);
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(239, 199, 110, 0.32) 55%,
    rgba(255, 255, 255, 0.85)
  );
  opacity: 0;
  transform: rotate(var(--angle, -33deg));
}
.meteor::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95),
    rgba(239, 199, 110, 0.35) 55%,
    transparent 72%
  );
}
.meteor-a {
  top: 20%;
  left: 24%;
  animation: meteor-fall 9.5s ease-in 2s infinite;
}
.meteor-b {
  top: 30%;
  left: 38%;
  height: clamp(70px, 9vh, 110px);
  animation: meteor-fall 14s ease-in 8s infinite;
}
/* 位移沿流星长轴：长轴朝向 rotate(θ) 后为 (−sinθ, cosθ)，故行进方向由 --tx/--ty 表达（与 --angle 同源，JS 计算） */
@keyframes meteor-fall {
  0%,
  56% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--angle, -33deg));
  }
  58% {
    opacity: var(--peak, 0.38);
  }
  66% {
    opacity: 0;
    transform: translate3d(var(--tx, -169px), var(--ty, 260px), 0) rotate(var(--angle, -33deg));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--tx, -169px), var(--ty, 260px), 0) rotate(var(--angle, -33deg));
  }
}
/* 第三屏星系附近流星 ×4：复用首屏 .meteor 视觉与 meteor-fall 动画，位置集中在右列星系区，时序错开 */
.join-meteor-1 {
  top: 10%;
  left: 66%;
  height: clamp(80px, 10vh, 120px);
  animation: meteor-fall 5.5s ease-in 0.5s infinite;
}
.join-meteor-2 {
  top: 22%;
  left: 80%;
  height: clamp(64px, 8vh, 100px);
  animation: meteor-fall 7.5s ease-in 3s infinite;
}
.join-meteor-3 {
  top: 4%;
  left: 92%;
  height: clamp(70px, 9vh, 110px);
  animation: meteor-fall 8.5s ease-in 5s infinite;
}
.join-meteor-4 {
  top: 34%;
  left: 72%;
  height: clamp(74px, 9vh, 110px);
  animation: meteor-fall 6.5s ease-in 2s infinite;
}

/* 随机流星（JS 注入）：三屏各若干条，位置/方向/长度/时长均由 JS 随机；--angle/--tx/--ty 保证拖尾朝向与行进方向一致 */
.meteor--rnd {
  animation: meteor-fall 9s ease-in 0s infinite;
}

/* 鼠标经过处的流星（JS 生成，一次性）：全屏固定层位于内容之上、导航之下；动画延迟 300ms 后划过随即回收 */
.cursor-meteor-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
.meteor--cursor {
  animation: meteor-cursor 0.8s ease-out 0.3s 1 both;
}
@keyframes meteor-cursor {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--angle, -33deg));
  }
  14% {
    opacity: var(--peak, 0.5);
  }
  58% {
    opacity: 0;
    transform: translate3d(var(--tx, -34px), var(--ty, 54px), 0) rotate(var(--angle, -33deg));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--tx, -34px), var(--ty, 54px), 0) rotate(var(--angle, -33deg));
  }
}

/* 线稿区对齐首屏内容容器（与 .hero 的 padding-inline 一致）；范围覆盖标题上下，三个元素围绕左侧标题分布 */
.hero-doodles {
  position: absolute;
  top: 16%;
  height: 58%;
  left: max(6.25vw, calc((100vw - 1260px) / 2));
  right: max(6.25vw, calc((100vw - 1260px) / 2));
  z-index: 0;
  pointer-events: none;
}
.hero-doodle {
  position: absolute;
  overflow: visible;
  animation: doodle-drift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
}
/* 三件套各自不同周期/相位/幅度（负延迟错开起始相位），避免同频 */
.hero-doodle--pad {
  left: 1%;
  top: 0;
  width: clamp(120px, 14vw, 186px);
  color: #fff;
  opacity: 0.1;
  --tilt: -9deg;
  --drift: -10px;
  --dur: 4s;
  --delay: -1.2s;
}
.hero-doodle--headset {
  left: 25%;
  top: 34%;
  width: clamp(70px, 7.6vw, 102px);
  color: #ffe9b8;
  opacity: 0.12;
  --tilt: 7deg;
  --drift: -8px;
  --dur: 6.5s;
  --delay: -4s;
}
/* 键盘移到标题正下方，作为左侧标题区的“桌面”底纹（原 left:72% 位于右侧照片区） */
.hero-doodle--keyboard {
  left: 6%;
  top: 92%;
  width: clamp(140px, 15.5vw, 224px);
  color: #fff;
  opacity: 0.075;
  --tilt: -4deg;
  --drift: -6px;
  --dur: 9s;
  --delay: -2.5s;
}
@keyframes doodle-drift {
  0%,
  100% {
    transform: rotate(var(--tilt)) translateY(0);
  }
  50% {
    transform: rotate(var(--tilt)) translateY(var(--drift));
  }
}
/* JS 按可见性、滚动和页面状态暂停装饰，保留当前动画相位。 */
.twinkle-layer[data-motion='paused'] .twinkle-star,
.meteor-layer[data-motion='paused'] .meteor,
.hero-doodles[data-motion='paused'] .hero-doodle,
.hero-doodle[data-motion='paused'],
.join-art[data-motion='paused'] .tw,
.join-art .tw[data-motion='paused'] {
  animation-play-state: paused;
}
.join-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 42px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 26px;
  border-radius: 9px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.25s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button-primary {
  color: #15140c;
  background: var(--gold);
}
.button-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 12px 34px -10px rgba(255, 207, 75, 0.55);
}
.button-primary > span[aria-hidden='true']:not(.caret) {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}
.button-outline {
  background: #05080e90;
  border-color: #ffe09c8c;
}
.button-outline:hover {
  border-color: var(--gold);
  background: #ffcf4b12;
  box-shadow: 0 0 26px -6px rgba(124, 58, 237, 0.55);
}
/* 照片墙撑满屏幕：突破首屏内容容器左右内边距，向两侧出血至 100vw */
.portrait-wall {
  align-self: stretch;
  position: relative;
  min-height: 650px;
  margin-right: -14px;
  z-index: 1;
}
.compat-entry {
  margin-top: 20px;
}
.compat-entry a {
  color: #ffd76d;
  text-decoration: underline;
}
.site-ready .compat-entry {
  display: none;
}
.hero-still {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}
.site-ready .hero[data-wall-motion='available'] .hero-still {
  display: none;
}
.wall-mask {
  position: absolute;
  visibility: hidden;
  inset: -24px -24px -24px -16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
}
.site-ready .hero[data-wall-motion='available'] .wall-mask {
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .site-ready .hero[data-wall-motion='available'] .hero-still {
    display: block;
  }
  .site-ready .hero[data-wall-motion='available'] .wall-mask {
    visibility: hidden;
  }
}
.wall-perspective {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 92%;
  height: 100%;
  margin: auto;
  transform: perspective(1100px) rotateY(-9deg) rotateZ(9deg);
  transform-origin: center;
}
.photo-column {
  min-width: 0;
  position: relative;
}
.photo-column:nth-child(2) {
  margin-top: -140px;
}
.photo-column:nth-child(3) {
  margin-top: -64px;
}
.photo-track {
  will-change: auto;
}
.hero[data-motion='running'] .photo-track {
  will-change: transform;
}
.photo-group {
  display: grid;
  gap: 14px;
  padding-bottom: 14px;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #1c2027;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s;
}
.portrait::before {
  content: '';
  position: absolute;
  height: 100%;
  aspect-ratio: 1;
  left: 50%;
  transform: translateX(-50%);
  background-image: var(--portrait-sheet);
  background-size: 300% 300%;
  background-position: var(--photo-x) var(--photo-y);
  filter: brightness(0.82) saturate(0.8);
  transition:
    filter 0.4s,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #ffd4772e;
  border-radius: inherit;
  pointer-events: none;
}
.portrait:hover::before {
  filter: brightness(1.05) saturate(1.05);
  transform: translateX(-50%) scale(1.12);
}
.portrait:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 44px -14px rgba(124, 58, 237, 0.6),
    0 0 0 1px rgba(255, 212, 119, 0.45);
}
.portrait.single::before {
  background-size: cover;
  background-position: center;
}
.portrait-name {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, #04060cdb);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px #000;
}
.portrait-wall figcaption {
  position: absolute;
  bottom: -24px;
  right: 26px;
  color: #a7aebc;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  padding: 16px;
  transform: translateX(-50%);
}
.scroll-cue span {
  display: block;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

.section-label {
  font-size: 14px;
  color: var(--gold-bright);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
h2 {
  font-size: clamp(42px, 5.4vw, 74px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.18;
}
.download-section {
  --spot-gap: 80px;
  display: flex;
  flex-direction: column;
  padding-top: clamp(96px, 14vh, 132px);
  padding-bottom: 0;
  padding-inline: max(6.25vw, calc((100vw - 1260px) / 2));
  overflow: visible;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 14, 0) 0%,
    rgba(8, 12, 19, 0.55) 70px,
    #080c13cf 150px
  );
}
/* 第二屏：客户端界面画廊（对齐 Apple「先刷重点」——左对齐标题 + 内容宽 min(87.5vw,1260px) + 大图 + 圆点指示器） */
/* 第二屏与第三屏标题统一：字号取自 Apple 的 .typography-section-header-headline（48px / 600，中文断点字距 0），行高改为固定 72px（= 1.5 倍） */
.download-section h2,
.join-section h2 {
  font-size: 48px;
  line-height: 72px;
  font-weight: 900;
  letter-spacing: 0;
  font-family: var(--title-font);
  white-space: nowrap;
}
/* 标题下间距 = Apple .section-header 的 48px − 4px baseline offset */
.download-section .section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 44px;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
.spot-gallery {
  position: relative;
  flex: none;
  width: 80%;
  margin: 0 auto var(--spot-gap);
  z-index: 2;
}
/* 画廊指示器（参考 Apple「先刷重点」）：胶囊容器 + 小圆点，当前项为拉长的白色胶囊，不显示文字 */
.spot-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  height: 48px;
  margin: 44px auto 0;
  padding: 7px 24px;
  border-radius: 999px;
  background: #ffffff14;
  backdrop-filter: blur(8px);
}
.spot-tab {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff57;
  font-size: 0;
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s;
}
.spot-tab::before {
  content: '';
  position: absolute;
  inset: -20px -9px;
  border-radius: inherit;
}
.spot-tab:hover,
.spot-tab:focus-visible {
  background: #ffffff9e;
}
.spot-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.spot-tab.is-active {
  width: 24px;
  background: #ffffff;
}
/* 图片一律按素材实际比例 16:9 呈现，不设高度上限，避免 contain 在两侧留出多余空隙 */
.spot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ffffff1a;
  background: #04060c;
  box-shadow:
    0 34px 70px -24px rgba(0, 0, 0, 0.8),
    0 18px 46px -18px rgba(255, 158, 74, 0.28),
    0 6px 20px -8px rgba(255, 176, 92, 0.16);
}
.spot-stage .spot-shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.spot-stage .spot-shot.is-active {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .spot-stage .spot-shot {
    transition: opacity 0.01s linear;
    transform: none;
  }
}
@media (max-width: 1068px) {
  .download-section {
    --spot-gap: 64px;
    padding-top: 96px;
  }
  /* Apple：≤1068px 标题降为 40px，行高按同一 1.5 比例 = 60px；section-header 下间距 38px */
  .download-section h2,
  .join-section h2 {
    font-size: 40px;
    line-height: 60px;
  }
  .download-section .section-heading {
    margin-bottom: 38px;
  }
}
@media (max-width: 760px) {
  .spot-tabs {
    gap: 16px;
    height: 28px;
    margin-top: 38px;
    padding: 7px 24px;
  }
  .spot-tab.is-active {
    width: 20px;
  }
}
@media (max-width: 734px) {
  .download-section {
    --spot-gap: 48px;
  }
  /* Apple：≤734px 标题降为 32px，行高按同一 1.5 比例 = 48px；section-header 下间距 32px */
  .download-section h2,
  .join-section h2 {
    font-size: 32px;
    line-height: 48px;
  }
  .download-section .section-heading {
    margin-bottom: 32px;
  }
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}
.download-action {
  padding-bottom: 8px;
  text-align: right;
}
.download-action p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  opacity: 0.8;
}
/* 两个功能模块共用同一内容宽度。基础布局使用普通文档流。 */
.features-section,
.client-guide {
  padding: 62px 20px;
  color: #f7f7f3;
}
.features-section {
  overflow: hidden;
  background: #15101a;
  background-image:
    radial-gradient(ellipse at 23% 67%, #482826, transparent 47%),
    radial-gradient(ellipse at 72% 0, #282143, transparent 49%),
    linear-gradient(150deg, #100f18, #18111a 55%, #0d1019);
}
.features-section::before {
  content: '';
  position: absolute;
  top: -82%;
  left: -19%;
  width: 140%;
  height: 154%;
  border: 1px solid #664736;
  border-radius: 50%;
  box-shadow: 0 0 0 28px #c78f5610, 0 0 0 56px #c78f5608;
  opacity: 0.56;
  transform: rotate(-14deg);
  pointer-events: none;
}
.features-inner,
.guide-panel {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
}
.features-intro {
  position: relative;
  min-width: 0;
}
.features-heading {
  padding-bottom: 8px;
}
.features-heading .features-label,
.guide-intro .guide-label {
  margin: 0 0 13px;
  color: #edc282;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
}
.features-label span {
  margin-left: 7px;
  padding-left: 9px;
  border-left: 1px solid #785f45;
  color: #c2b8ba;
}
.features-heading h2,
.guide-intro h2 {
  font-family: 'Source Han Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  font-size: 2.5em;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}
.features-heading h2 span {
  display: block;
  color: #f4cb86;
}
.features-copy,
.guide-description {
  max-width: 25em;
  margin-top: 14px;
  color: #bdbdc6;
  line-height: 1.65;
}
.features-copy {
  max-width: 38em;
  font-size: 14px;
}
.features-copy p + p {
  margin-top: 8px;
}
.features-art {
  position: relative;
  max-width: 560px;
  height: 224px;
  margin: 0 auto 10px;
}
.features-art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.features-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 148px;
  margin: -74px 0 0 -74px;
  filter: drop-shadow(0 14px 20px #180e13);
}
.features-grid,
.guide-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}
.features-details {
  padding: 0 18px 7px;
  border: 1px solid #4a3949;
  border-top-color: #7a5947;
  border-radius: 18px;
  background: #16141e;
  background: linear-gradient(140deg, rgba(36, 29, 42, 0.94), rgba(13, 16, 25, 0.9) 55%);
  box-shadow: 0 26px 62px -30px #05050a;
}
.features-details-heading {
  padding: 15px 8px 13px;
  border-bottom: 1px solid #43404d;
  color: #edc282;
  font-size: 13px;
}
.features-details-heading p {
  display: inline-block;
  font-weight: bold;
}
.features-details-heading span {
  float: right;
  color: #afb0bf;
}
.feature-card {
  position: relative;
  padding: 17px 12px 17px 48px;
  border-bottom: 1px solid #2c303c;
}
.features-grid li:last-child .feature-card {
  border-bottom: 0;
}
.feature-icon {
  position: absolute;
  top: 18px;
  left: 8px;
  width: 29px;
  height: 29px;
  border: 1px solid #503d29;
  border-radius: 8px;
  background: #24201c;
  color: #f2bf70;
}
.feature-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 4px auto 0;
}
.feature-icon-purple {
  border-color: #3d354e;
  background: #211d2b;
  color: #c2abf0;
}
.feature-card h3 {
  margin-bottom: 4px;
  font-size: 1.0625em;
  line-height: 1.4;
}
.feature-card p,
.guide-tile p {
  color: #b8bdc9;
  font-size: 0.875em;
  line-height: 1.6;
}
.feature-card p {
  font-size: 0.8125em;
}

/* 客户端功能按使用场景分组，行内块支持窄屏和旧浏览器。 */
.client-guide {
  padding-top: 76px;
  padding-bottom: 78px;
  overflow: hidden;
  background: #0c1320;
  background-image:
    radial-gradient(ellipse at 91% -12%, #202b46, transparent 52%),
    radial-gradient(ellipse at 5% 80%, #13282f, transparent 58%);
}
.client-guide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#8196c420 1px, transparent 1px),
    linear-gradient(90deg, #8196c420 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(#000, transparent 75%);
  opacity: 0.44;
  pointer-events: none;
}
.guide-heading {
  padding: 0 0 30px;
}
.guide-intro .guide-label {
  margin-bottom: 8px;
}
.guide-description {
  max-width: 420px;
}
.guide-stage {
  --guide-surface: #29221f;
  padding: 16px 12px;
  margin-bottom: 8px;
  border-top: 1px solid #343641;
  background: #151923;
  background-image: linear-gradient(100deg, var(--guide-surface), #151923 36%);
  color: #f2ca85;
}
.guide-stage-purple {
  --guide-surface: #241f32;
  color: #c9b7f5;
}
.guide-stage-teal {
  --guide-surface: #1a2b30;
  color: #9bd6cc;
}
.guide-stage-title {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 9px;
  border-left: 2px solid;
  font-size: 1.0625em;
  line-height: 1.4;
}
.guide-grid {
  font-size: 0;
}
.guide-grid li {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}
.guide-grid li:last-child {
  width: 100%;
}
.guide-tile {
  position: relative;
  margin: 0 8px 0 0;
  padding: 11px 4px 12px 27px;
  border-top: 1px solid #232733;
  font-size: medium;
}
.guide-tile svg {
  position: absolute;
  top: 13px;
  left: 1px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.guide-tile h4 {
  margin: 0 0 3px;
  color: #f7f7f3;
  font-size: 0.9375em;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .features-section,
  .client-guide {
    padding: 46px 16px;
  }
  .features-heading h2,
  .guide-intro h2 {
    font-size: 2em;
  }
  .features-heading h2 span {
    display: inline;
  }
  .features-art {
    height: 188px;
  }
  .features-art img {
    width: 124px;
    margin: -62px 0 0 -62px;
  }
  .features-details {
    padding: 0 10px 6px;
  }
}
@supports (display: grid) {
  @media (min-width: 700px) {
    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .features-grid li {
      display: flex;
      padding: 0 12px;
    }
    .feature-card {
      width: 100%;
    }
    .features-grid li:nth-child(odd) {
      border-right: 1px solid #2c303c;
    }
    .features-grid li:nth-last-child(-n+2) .feature-card {
      border-bottom: 0;
    }
  }
  @media (min-width: 880px) {
    .features-section,
    .client-guide {
      padding-right: 6%;
      padding-left: 6%;
    }
    .features-inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
      align-items: start;
      column-gap: clamp(26px, 4vw, 70px);
    }
    .features-heading h2 {
      font-size: clamp(3.25em, 4.8vw, 4.75em);
    }
    .guide-intro h2 {
      font-size: clamp(2.75em, 4.8vw, 4.75em);
    }
    .features-art {
      width: 100%;
      height: 156px;
      margin: 0 auto;
    }
    .features-art img {
      width: 42%;
      max-width: 124px;
      margin: 0;
      transform: translate(-50%, -50%);
    }
    .features-details {
      padding: 0 12px 12px;
    }
    .features-details-heading {
      padding: 16px 20px 14px;
    }
    .feature-card {
      padding-top: 22px;
      padding-bottom: 22px;
    }
    .feature-icon {
      top: 23px;
    }
    .guide-panel {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: min(650px, 78svh);
    }
    .guide-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
      align-items: end;
      gap: 28px;
      padding-bottom: 38px;
    }
    .guide-description {
      margin: 0;
    }
    .guide-stage {
      display: grid;
      grid-template-columns: 144px minmax(0, 1fr);
      align-items: start;
      gap: 20px;
      margin-bottom: 12px;
      padding: 22px 16px;
      border: 1px solid #303847;
      border-radius: 10px;
    }
    .guide-stage-title {
      justify-self: start;
      align-self: center;
      margin: 0 0 0 4px;
    }
    .guide-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .guide-grid li,
    .guide-grid li:last-child {
      display: block;
      width: auto;
      min-width: 0;
    }
    .guide-grid li + li {
      border-left: 1px solid #252a35;
    }
    .guide-tile {
      margin: 0;
      padding: 0 10px 4px;
      border-top: 0;
    }
    .guide-tile svg {
      position: static;
      display: block;
      width: 29px;
      height: 29px;
      margin-bottom: 8px;
      padding: 5px;
      border: 1px solid #ffffff1b;
      border-radius: 8px;
      background: var(--guide-surface);
    }
  }
  @media (min-width: 1180px) {
    .features-heading h2 {
      margin-right: clamp(164px, 15vw, 224px);
    }
    .features-art {
      position: absolute;
      top: 7px;
      right: 0;
      width: clamp(164px, 15vw, 224px);
      height: 158px;
    }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature-icon,
  .guide-tile svg {
    transition: transform 180ms ease-out;
  }
  .feature-card:hover .feature-icon,
  .guide-tile:hover svg {
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .features-heading,
  .features-art,
  .features-details,
  .guide-heading,
  .guide-stage {
    transition: opacity 540ms ease-out, transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .guide-stage-purple {
    transition-delay: 65ms;
  }
  .guide-stage-teal {
    transition-delay: 130ms;
  }
  .feature-orbit {
    stroke-dasharray: 100 100;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 900ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .feature-orbit + .feature-orbit {
    transition-delay: 110ms;
  }
  .awaiting-feature-entry {
    opacity: 0.85;
    transform: translateY(16px);
    transition: none;
  }
  .awaiting-feature-entry .feature-orbit {
    stroke-dashoffset: 100;
    transition: none;
  }
}
/* 第三屏沿用第二屏的内容容器宽度，使标题与按钮左边缘与第二屏标题严格对齐 */
.join-section {
  min-height: 670px;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  padding-block: 120px;
  padding-inline: max(6.25vw, calc((100vw - 1260px) / 2));
  background: #080c13cf;
  overflow: hidden;
  position: relative;
}
.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(72% 60% at 78% 50%, var(--glow-purple), transparent 70%);
}
.join-copy {
  z-index: 2;
}
.join-copy .section-label {
  color: #ffffff;
  opacity: 0.65;
  position: relative;
  top: 8px;
}
.join-description {
  color: var(--muted);
  margin-top: 26px;
  font-size: 18px;
  opacity: 0.85;
}
.rule-link {
  background: none;
  font-size: 15px;
  color: #d2d5dc;
  padding: 16px 2px;
  display: flex;
  gap: 18px;
}
.rule-link:hover {
  color: var(--gold);
}
/* 星系整体放大倍数：以列中心为原点等比放大，不改变栅格占位（放大后向左溢出至文案列右侧空白、向右落在 section 内边距区，均不裁切） */
.join-art {
  --galaxy-scale: 1.35;
  position: relative;
  padding: 40px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.join-art svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  overflow: visible;
  transform: scale(var(--galaxy-scale));
  transform-origin: center;
}
.orbit-node {
  cursor: pointer;
}
.orbit-pop {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--pop-w, 150px);
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #1c2027;
  box-shadow:
    0 20px 44px -14px rgba(124, 58, 237, 0.6),
    0 0 0 1px rgba(255, 212, 119, 0.45);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: 9500;
}
.orbit-pop.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.orbit-pop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.join-art .tw {
  animation: twinkle 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.join-art .tw2 {
  animation-delay: 1.4s;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
.site-footer {
  padding-block: 72px 28px;
  background: #07090f;
  border-top: 1px solid #ffffff12;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.1fr;
  column-gap: 48px;
  row-gap: 52px;
}
.footer-brand img {
  width: 175px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  opacity: 0.8;
}
.contact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.contact-item > span {
  color: var(--muted);
  font-size: 13px;
  opacity: 0.8;
}
.contact-item > div {
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid #ffffff12;
  padding-top: 24px;
  font-size: 12px;
  color: #9a9fa9;
  opacity: 0.8;
}
.footer-bottom a {
  color: #c1c7d1;
}
.footer-bottom .icp-link {
  text-decoration: underline;
}
.activities-section {
  padding-block: 100px;
  background: #080c13c9;
}
.activity-list {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.activity-item {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.activity-item:hover {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.12), transparent 82%);
  border-color: rgba(255, 212, 119, 0.4);
  transform: translateY(-2px);
}
.activity-item img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.activity-item:hover img {
  transform: scale(1.03);
}
.activity-item h3 {
  font-size: 30px;
}
.activity-item p {
  color: var(--muted);
  margin-block: 18px;
  opacity: 0.85;
}
dialog {
  color: var(--ink);
  background: #11151e;
  border: 1px solid #75716b;
  border-radius: 14px;
  width: min(580px, calc(100vw - 32px));
  max-height: calc(100svh - 40px);
  padding: 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(6px);
}
.dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.dialog-heading h2 {
  font-size: 30px;
  line-height: 1.35;
}
.dialog-heading .section-label {
  font-size: 12px;
  margin-bottom: 8px;
}
.close-button {
  display: grid;
  place-items: center;
  background: #ffffff09;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  color: #d2d7df;
  flex-shrink: 0;
}
.close-button:hover {
  color: var(--gold);
  background: #ffffff14;
}
.dialog-intro {
  color: #c2c7d1;
  margin-top: 10px;
  font-size: 14px;
}
.field-note {
  font-size: 12px;
  color: #aeb7c5;
  line-height: 1.7;
  opacity: 0.85;
}
.join-guide {
  width: min(520px, calc(100vw - 32px));
}
.join-guide-content {
  padding-top: 28px;
  text-align: center;
}
.join-guide-content > img {
  width: 80px;
  margin: 0 auto 24px;
  border-radius: 20%;
}
.join-guide-content h3 {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 650;
}
.join-guide-content > p:not(.field-note):not(.download-status) {
  font-size: 15px;
  color: #c2c7d1;
  margin-top: 14px;
  line-height: 1.8;
}
.join-guide-content > .button {
  margin-top: 30px;
  width: 100%;
}
.join-guide-content > .button-outline {
  color: var(--gold);
}
.join-guide-content > .field-note {
  margin-top: 12px;
}
.download-status {
  color: var(--gold-bright);
  font-size: 13px;
  margin-top: 16px;
}
.download-status:empty {
  display: none;
}
[data-download-client]:disabled,
[data-download-android]:disabled,
.nav-cta:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.button[aria-disabled='true'] {
  opacity: 0.65;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.qr-download {
  width: min(460px, calc(100vw - 32px));
  padding: 28px;
  border-color: var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, var(--glow-gold), transparent 60%), var(--surface);
  box-shadow: 0 32px 100px #0008;
}
.qr-download .dialog-heading {
  gap: 12px;
}
.qr-download .dialog-heading h2 {
  font-size: 26px;
}
.qr-download .dialog-intro {
  color: var(--muted);
  line-height: 1.8;
}
.download-qr {
  margin-top: 28px;
  text-align: center;
}
.download-qr-frame {
  width: min(248px, 100%);
  margin-inline: auto;
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 6px #ffcf4b0a;
}
.download-qr-frame img {
  width: 100%;
  aspect-ratio: 1;
  image-rendering: pixelated;
}
.download-qr figcaption {
  margin-top: 16px;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.qr-download-hint {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.qr-download-hint > svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-bright);
}
.qr-download-hint p span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.qr-availability {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.qr-availability span {
  margin-inline: 6px;
}
.wechat-guide {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: max(120px, calc(env(safe-area-inset-top) + 96px)) 20px max(24px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
  background: transparent;
}
.wechat-guide::backdrop {
  background: #05080ee8;
  backdrop-filter: blur(8px);
}
.wechat-guide-arrow {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  width: 100px;
  height: 106px;
  color: var(--gold-bright);
  pointer-events: none;
}
.wechat-guide-card {
  max-width: 420px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0%, var(--glow-gold), transparent 65%), var(--surface);
  box-shadow: 0 24px 80px #0006;
}
.wechat-guide .dialog-heading {
  gap: 8px;
}
.wechat-guide .dialog-heading h2 {
  font-size: clamp(22px, 5.8vw, 28px);
}
.wechat-guide .dialog-intro {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.wechat-guide-steps {
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}
.wechat-guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.guide-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border: 1px solid #ffcf4b52;
  border-radius: 50%;
  color: var(--gold-bright);
  background: #ffcf4b0d;
  font-size: 14px;
  font-weight: 600;
}
.wechat-guide-steps li > div {
  min-width: 0;
  flex: 1;
}
.wechat-guide-steps strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.wechat-guide-steps p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.guide-menu-icon,
.guide-browser-icon {
  flex-shrink: 0;
  color: var(--gold-bright);
}
.guide-menu-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff0a;
  font-size: 24px;
  line-height: 1;
}
.wechat-guide-card > .button {
  width: 100%;
  min-height: 48px;
}
.wechat-guide-card > .field-note {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  opacity: 1;
}
@media (max-width: 374px) {
  .wechat-guide {
    padding-inline: 16px;
  }
  .wechat-guide-card {
    padding: 20px;
  }
  .wechat-guide-steps li {
    gap: 8px;
  }
  .guide-menu-icon,
  .guide-browser-icon {
    display: none;
  }
}
.download-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: max(28px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: min(90vw, 440px);
  width: max-content;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.download-toast.is-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .download-toast {
    transition: none;
  }
}
.rules-list {
  margin-block: 24px;
}
.rules-list section {
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.rules-list h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 650;
}
.rules-list p {
  color: #bac3d1;
  font-size: 13px;
}
#rules-dialog > .button {
  margin-top: 24px;
}
.small-dialog {
  padding: 32px;
}
.small-dialog > p {
  margin-top: 24px;
}
.small-dialog > .field-note {
  margin-top: 8px;
}
.small-dialog > .button {
  margin-top: 28px;
}
.no-script-note {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 10;
  background: var(--surface);
  padding: 10px 24px;
  font-size: 13px;
  text-align: center;
}
@media (min-width: 1800px) {
  .section,
  .site-header {
    padding-inline: max(var(--gutter), calc((100vw - 1580px) / 2));
  }
  .hero {
    grid-template-columns: 48% 52%;
  }
}
@media (max-width: 1100px) {
  .hero {
    min-height: 760px;
    grid-template-columns: 48% 52%;
  }
  .hero h1 {
    font-size: clamp(46px, 5.9vw, 80px);
    line-height: 1.2;
  }
  .portrait-wall {
    min-height: 580px;
  }
  .wall-perspective {
    gap: 10px;
  }
  .photo-group {
    gap: 10px;
    padding-bottom: 10px;
  }
  .site-footer {
    column-gap: 24px;
  }
  .contact-item > a {
    font-size: 15px;
  }
  .contact-item > a > span {
    padding-left: 4px;
  }
}
@media (max-width: 760px) {
  :root {
    scroll-padding-top: 78px;
  }
  .site-header {
    min-height: 76px;
    padding-block: 18px;
    gap: 12px;
  }
  .brand img {
    height: 34px;
    width: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    background: #0a0e17fa;
    padding: 24px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  nav.is-open {
    display: flex;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding-top: 154px;
    padding-bottom: 94px;
  }
  /* 移动端照片墙紧贴标题下方，线稿底纹无落脚空间，隐藏（流星保留） */
  .hero-doodles {
    display: none;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(44px, 10vw, 80px);
    line-height: 1.25;
  }
  .portrait-wall {
    min-height: 400px;
    height: 400px;
    margin: 24px -8px 0;
  }
  .wall-mask {
    inset: 0 -8px;
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 78%, transparent);
  }
  .wall-perspective {
    transform: perspective(1200px) rotateY(-5deg) rotateZ(7deg);
    width: 94%;
    max-width: 530px;
  }
  .photo-column:nth-child(1) {
    margin-top: -28px;
  }
  .photo-column:nth-child(2) {
    margin-top: -70px;
  }
  .photo-column:nth-child(3) {
    margin-top: -5px;
  }
  .portrait-wall figcaption {
    bottom: -14px;
    right: 0;
    font-size: 12px;
  }
  .portrait-name {
    font-size: 13px;
    padding: 28px 10px 9px;
  }
  .scroll-cue {
    bottom: 30px;
  }

  .download-section {
    padding-block: 76px 64px;
  }
  /* 第二屏高度随内容自适应；标题与画廊的间距由 .section-heading 的 margin-bottom 统一控制 */
  .spot-gallery {
    margin-top: 0;
    margin-bottom: 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }
  h2 {
    font-size: clamp(38px, 9vw, 54px);
  }
  .download-action {
    text-align: left;
  }
  .join-section {
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-block: 72px 80px;
  }
  .join-description {
    font-size: 16px;
    margin-top: 22px;
  }
  .join-actions {
    gap: 18px;
    margin-top: 32px;
  }
  .join-art {
    align-self: flex-end;
    margin-top: 42px;
    padding: 12px 16px 0;
  }
  .join-art svg {
    max-width: 100%;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 54px;
    row-gap: 32px;
  }
  .contact-item {
    gap: 8px;
  }
  .contact-item > a {
    font-size: 18px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 22px;
  }
  .footer-bottom span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  .activity-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  dialog {
    padding: 24px;
    max-height: calc(100svh - 24px);
  }
  .dialog-heading h2 {
    font-size: 26px;
  }
  .join-guide-content h3 {
    font-size: clamp(18px, 5vw, 20px);
  }
  .join-guide-content > .button {
    padding-inline: 14px;
    gap: 12px;
    font-size: 14px;
    white-space: nowrap;
  }
}
@media (max-width: 359px) {
  .brand img {
    height: 30px;
    width: auto;
  }
  .hero {
    padding-top: 132px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .portrait-wall {
    height: 350px;
    min-height: 350px;
  }
  .join-actions .button {
    padding-inline: 20px;
  }
  .rule-link {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* 鼠标发光拖尾 (ReactBits GlowCursor, 纯 WebGL) */
.glow-cursor {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}
.glow-cursor__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
