/* =========================================================
 * YUNA* · Living Dark Cinema Portfolio (鲜活版)
 * Q版大头光标 × 9向眼神追随 × 弹簧身体摆动 × 全息光效
 * ========================================================= */
:root {
  --bg: #07080c;
  --bg-2: #0e1017;
  --ink: #f6f4f7;
  --ink-2: rgba(246, 244, 247, 0.72);
  --ink-3: rgba(246, 244, 247, 0.44);
  --neon: #ff2e7e;
  --neon-2: #ff6ba8;
  --neon-glow: rgba(255, 46, 126, 0.48);
  --cyan: #6ce5ff;
  --gold: #ffd86b;
  --glass: rgba(14, 15, 22, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --border-hi: rgba(255, 46, 126, 0.58);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Didot", "Bodoni MT", "Playfair Display", Georgia, "Songti SC", "STSong", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  line-height: 1.65;
}
.chapters { overflow-x: clip; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, video { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
::selection { background: var(--neon); color: #fff; }

/* 桌面端启用 Q 版大头光标，隐藏原生呆板箭头 */
@media (hover: hover) and (pointer: fine) {
  body.custom-cursor, body.custom-cursor a, body.custom-cursor button, body.custom-cursor .c-card, body.custom-cursor .carousel-stage {
    cursor: none !important;
  }
}

/* ---------------- 开场预加载幕布 ---------------- */
.curtain {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: #060609;
  transition: transform 0.9s cubic-bezier(.76, 0, .24, 1), opacity 0.6s ease;
}
.curtain.done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.curtain-inner { width: min(320px, 78vw); }
.curtain-brand { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 18px; }
.curtain-brand span { color: var(--neon); }
.curtain-line { height: 2px; background: rgba(255,255,255,0.12); overflow: hidden; }
.curtain-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--neon), var(--neon-2)); box-shadow: 0 0 14px var(--neon); transition: width 0.25s ease-out; }
.curtain-meta { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--ink-3); }

/* ---------------- 胶片颗粒 + 鼠标追光探照灯 + 粒子画布 ---------------- */
.film-grain {
  position: fixed; inset: -40%; z-index: 90; pointer-events: none; opacity: 0.04;
  background-image: radial-gradient(rgba(255,255,255,0.7) 1px, transparent 0);
  background-size: 4px 4px;
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 2%); }
  50% { transform: translate(2%, -1%); }
  75% { transform: translate(-1%, -2%); }
}
.spot-light {
  position: fixed; width: 680px; height: 680px; border-radius: 50%; pointer-events: none; z-index: 4;
  background: radial-gradient(circle, rgba(255, 46, 126, 0.14), rgba(108, 229, 255, 0.05) 38%, transparent 68%);
  transform: translate(-50%, -50%); left: 50%; top: 50%;
  mix-blend-mode: screen; transition: opacity 0.4s;
}
.fx-canvas { position: fixed; inset: 0; z-index: 6; pointer-events: none; width: 100%; height: 100%; }

/* ---------------- Figma 联机风：精致霓虹尖角箭头 + 圆形 Q 版大头小徽章 ---------------- */
.yuna-cursor {
  position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none;
  opacity: 0; transition: opacity 0.22s;
  will-change: transform;
}
body.cursor-on .yuna-cursor { opacity: 1; }
.yc-arrow {
  display: block;
  transform: translate(-2px, -2px);
  filter: drop-shadow(0 0 8px rgba(255, 46, 126, 0.72)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s var(--spring);
}
body.cursor-hover .yc-arrow { transform: translate(-2px, -2px) scale(1.12); }
body.cursor-down .yc-arrow { transform: translate(-2px, -2px) scale(0.88); }

.yc-pill {
  position: absolute; left: 15px; top: 15px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 3px; border-radius: 999px;
  background: rgba(15, 16, 25, 0.9);
  border: 1.5px solid rgba(255, 77, 148, 0.78);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 46, 126, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform-origin: 0% 0%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
body.cursor-hover .yc-pill {
  border-color: var(--neon-2);
  background: rgba(255, 46, 126, 0.92);
  box-shadow: 0 10px 26px rgba(255, 46, 126, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.yc-avatar {
  position: relative; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none;
  background: radial-gradient(circle at 50% 40%, #ffe6f1, #ffc2dc);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}
.yc-avatar img {
  position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); object-fit: contain;
  transition: opacity 0.14s ease, transform 0.22s var(--spring);
}
.yc-hover { opacity: 0; transform: scale(0.8); }
body.cursor-hover .yc-idle { opacity: 0; transform: scale(0.8); }
body.cursor-hover .yc-hover { opacity: 1; transform: scale(1.12); }
.yc-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 800; letter-spacing: 0.6px;
  color: #fff; line-height: 1; padding-right: 1px;
}
body.cursor-down .yc-pill { scale: 0.9; }
@media (hover: none) { .yuna-cursor, .spot-light { display: none; } }

/* ---------------- 顶部导航 ---------------- */
.hud-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 34px;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.78) 0%, rgba(7, 8, 12, 0.34) 68%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
}
.hud-nav.scrolling {
  background: rgba(8, 9, 13, 0.76);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-size: 24px; font-weight: 800; letter-spacing: -1px; }
.brand-mark i { font-style: normal; color: var(--neon); }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 2.2px; color: var(--ink-3); margin-top: 4px; }

.nav-list { display: flex; align-items: baseline; gap: 26px; }
.nav-link {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.8px; color: var(--ink-2);
  padding: 4px 0; position: relative; transition: color 0.25s, transform 0.25s var(--spring);
}
.nav-link sup { font-size: 9px; color: var(--ink-3); transition: color 0.25s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--neon); box-shadow: 0 0 10px var(--neon);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--spring);
}
.nav-link:hover, .nav-link.active { color: var(--ink); transform: translateY(-1px); }
.nav-link:hover sup, .nav-link.active sup { color: var(--neon); }
.nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-pill {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s var(--spring);
}
.lang-pill:hover { border-color: var(--neon); color: #fff; background: rgba(255, 46, 126, 0.22); transform: scale(1.08); }
.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); }
.mobile-drawer {
  position: fixed; inset: 0; z-index: 110; background: rgba(7, 8, 12, 0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 36px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer a { font-size: 28px; font-weight: 700; letter-spacing: 1px; display: flex; align-items: baseline; gap: 12px; }
.mobile-drawer a sup { font-family: var(--mono); font-size: 13px; color: var(--neon); }

/* ---------------- HUD & 竖向进度轨 & 宠物彩蛋挂件 ---------------- */
.hud-frame { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.hud-tl, .hud-tr, .hud-bl, .hud-br {
  position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px; color: var(--ink-3);
}
.hud-tl { top: 74px; left: 34px; }
.hud-tr { top: 74px; right: 34px; color: var(--ink-2); }
.hud-bl { bottom: 34px; left: 268px; color: var(--ink-2); }
.hud-br { bottom: 26px; right: 94px; font-variant-numeric: tabular-nums; }

.hud-rail {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: auto;
}
.rail-label { writing-mode: vertical-rl; font-family: var(--mono); font-size: 9px; letter-spacing: 2.6px; color: var(--ink-2); }
.rail-label.muted { color: var(--ink-3); }
.rail-track { width: 2px; height: 84px; background: rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; }
.rail-track i { position: absolute; inset: 0; background: var(--neon); box-shadow: 0 0 10px var(--neon); transform-origin: top; transform: scaleY(0.16); transition: transform 0.35s var(--spring); }
.rail-dots { display: flex; flex-direction: column; gap: 8px; }
.rail-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.22); transition: all 0.3s var(--spring); }
.rail-dot.active { background: var(--neon); transform: scale(1.65); box-shadow: 0 0 12px var(--neon); }

.pause-pill {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(14, 15, 22, 0.76); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; color: var(--ink-2);
  transition: all 0.25s var(--spring);
}
.pause-pill:hover { border-color: var(--neon); color: #fff; transform: translateX(-50%) translateY(-3px) scale(1.04); }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); animation: blinkdot 1.8s ease-in-out infinite; }
body.paused .pulse-dot { animation: none; background: var(--ink-3); box-shadow: none; }
@keyframes blinkdot { 50% { opacity: 0.25; } }

/* 右下角可点击互动的 Q 版毛孩子彩蛋挂件 */
.pet-buddy { position: fixed; right: 22px; bottom: 18px; z-index: 65; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pb-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(18, 19, 28, 0.85); border: 1.5px solid rgba(255, 46, 126, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 46, 126, 0.3);
  padding: 5px; transition: transform 0.35s var(--spring), border-color 0.25s;
  animation: float-bob 3.2s ease-in-out infinite;
}
.pb-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pb-btn:hover { transform: scale(1.16) rotate(-8deg); border-color: var(--neon-2); }
.pb-btn.hop { animation: hop-pop 0.55s var(--spring); }
@keyframes hop-pop { 0% { transform: scale(1); } 35% { transform: translateY(-16px) scale(1.18) rotate(8deg); } 100% { transform: scale(1); } }
.pb-badge {
  position: absolute; right: -4px; top: -4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--neon); font-size: 11px; display: grid; place-items: center;
  box-shadow: 0 0 10px var(--neon);
}
.pb-bubble {
  max-width: 240px; padding: 9px 14px; border-radius: 14px 14px 4px 14px;
  background: rgba(16, 17, 26, 0.92); border: 1px solid rgba(255, 46, 126, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 46, 126, 0.2);
  font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.5;
  opacity: 0; transform: translateY(10px) scale(0.88); pointer-events: none;
  transition: opacity 0.25s, transform 0.35s var(--spring);
}
.pb-bubble.show { opacity: 1; transform: none; }

/* ---------------- 动态斜切霓虹跑马灯带（打破死板节奏！） ---------------- */
.ribbon-wrap {
  position: relative; z-index: 25; overflow: hidden; margin: -22px 0;
  transform: rotate(-1.6deg) scale(1.03);
}
.ribbon-wrap.flip { transform: rotate(1.4deg) scale(1.03); }
.ribbon { padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.16); border-bottom: 1px solid rgba(255,255,255,0.16); }
.ribbon.r-pink { background: linear-gradient(90deg, #e11d64, var(--neon), #ff5c9c, var(--neon)); box-shadow: 0 0 36px rgba(255, 46, 126, 0.45); }
.ribbon.r-dark { background: #10121c; border-color: rgba(255, 46, 126, 0.4); }
.ribbon-track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: 3px; white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.ribbon-track.reverse { animation-direction: reverse; animation-duration: 28s; color: var(--neon-2); }
.ribbon-track i { font-style: normal; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }
body.paused .ribbon-track, body.paused .kinetic-bg-text span, body.paused .holo-ring, body.paused .orb-float, body.paused .actor-breathe, body.paused .pb-btn, body.paused .ch3-pulse-ring, body.paused .scene-img, body.paused .film-grain, body.paused .wave-bars i {
  animation-play-state: paused !important;
}

/* ---------------- 章节骨架 ---------------- */
.chapter {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 108px 72px 84px;
}

/* ============ CHAPTER 01 · LIVING HERO STAGE ============ */
.ch1 { background: radial-gradient(circle at 68% 48%, #1a0d18 0%, #08090e 58%, #050609 100%); }
.hero-backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-aura {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: aura-drift 12s ease-in-out infinite alternate;
}
.hero-aura.a1 { width: 520px; height: 520px; right: 12%; top: 14%; background: radial-gradient(circle, rgba(255, 46, 126, 0.5), transparent 70%); }
.hero-aura.a2 { width: 420px; height: 420px; right: 28%; bottom: 5%; background: radial-gradient(circle, rgba(108, 229, 255, 0.25), transparent 70%); animation-delay: -5s; }
@keyframes aura-drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-36px, 28px) scale(1.16); } }

.hero-grid-floor {
  position: absolute; left: -10%; right: -10%; bottom: -6%; height: 42%;
  background-image:
    linear-gradient(rgba(255, 46, 126, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 126, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(500px) rotateX(64deg);
  mask-image: radial-gradient(ellipse at 50% 25%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 25%, #000 0%, transparent 72%);
}
.kinetic-bg-text {
  position: absolute; top: 44%; left: 0; width: 100%; transform: translateY(-50%) rotate(-5deg);
  overflow: hidden; opacity: 0.08;
}
.kinetic-bg-text span {
  display: inline-block; white-space: nowrap;
  font-size: clamp(96px, 14vw, 200px); font-weight: 900; letter-spacing: 6px;
  color: transparent; -webkit-text-stroke: 1.5px var(--neon-2);
  animation: marquee 32s linear infinite;
}

.hero-grid { display: grid; grid-template-columns: minmax(320px, 480px) 1fr; align-items: center; gap: 28px; }

/* 活起来的 3D 前景角色舞台 */
.hero-actor-wrap {
  position: relative; width: min(610px, 52vw); aspect-ratio: 1; margin: 0 auto;
  perspective: 1100px;
}
.holo-ring {
  position: absolute; border-radius: 50%; pointer-events: none; left: 50%; top: 50%;
}
.holo-ring.r-outer {
  width: 78%; height: 78%; transform: translate(-50%, -50%);
  border: 1.5px solid rgba(255, 46, 126, 0.35);
  box-shadow: 0 0 40px rgba(255, 46, 126, 0.18), inset 0 0 30px rgba(255, 46, 126, 0.12);
  animation: orbit-spin 18s linear infinite;
}
.holo-ring.r-outer::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 16px var(--neon), 0 0 28px #fff;
}
.holo-ring.r-inner {
  width: 60%; height: 60%; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0 65%, rgba(255, 46, 126, 0.45) 85%, rgba(108, 229, 255, 0.45) 100%);
  filter: blur(18px); opacity: 0.7;
  animation: orbit-spin 11s linear infinite reverse;
}
.holo-ring.r-dash {
  width: 88%; height: 88%; transform: translate(-50%, -50%);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: orbit-spin 34s linear infinite reverse;
}
@keyframes orbit-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* 漂浮 3D 小物件 */
.orb-float {
  position: absolute; z-index: 3; pointer-events: none;
  animation: float-bob 4.4s ease-in-out infinite;
  will-change: transform;
}
.orb-float img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(255, 46, 126, 0.35)); }
.orb-float.o1 { left: 6%; top: 16%; animation-delay: 0s; }
.orb-float.o2 { right: 5%; top: 20%; animation-delay: -1.4s; }
.orb-float.o3 { left: 4%; bottom: 20%; animation-delay: -2.6s; }
.orb-float.o4 { right: 2%; bottom: 26%; animation-delay: -0.9s; }
.neon-tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: 1.8px;
  background: rgba(14, 15, 22, 0.85); border: 1px solid var(--neon);
  color: var(--neon-2); box-shadow: 0 0 18px rgba(255, 46, 126, 0.35);
}
@keyframes float-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* 前景人物弹簧容器 + 9 向眼神栈 */
.actor-spring {
  position: absolute; inset: 0; z-index: 5; transform-style: preserve-3d;
  transform-origin: 50% 88%; will-change: transform;
}
.actor-breathe {
  position: absolute; inset: 0;
  transform-origin: 50% 92%;
}
@keyframes hero-breathe {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-10px) scale(1.014, 0.992); }
}
.actor-spring.boing .actor-breathe { animation: boing 0.65s var(--spring); }
@keyframes boing {
  0% { transform: scale(1); }
  25% { transform: translateY(-22px) scale(0.95, 1.07); }
  55% { transform: translateY(4px) scale(1.05, 0.95); }
  100% { transform: scale(1); }
}

.gaze-stack { position: absolute; inset: 0; }
.gaze-stack img,
.live2d-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 24px rgba(255, 46, 126, 0.24));
}
.gaze-stack img { opacity: 0; transition: opacity 0.28s ease; will-change: opacity; }
.gaze-stack img.on { opacity: 1; z-index: 2; }
.gaze-stack img.prev { opacity: 1; z-index: 1; }
#heroCanvas { transition: opacity 0.14s ease; }
.hero-snap-img { z-index: 3; opacity: 0; transition: opacity 0.14s ease; }
#heroActorWrap.is-snapping #heroCanvas { opacity: 0; }
#heroActorWrap.is-snapping .hero-snap-img { opacity: 1; }
#heroBreathe {
  width: 100%; height: 100%;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: 50% 42%;
}
#heroActorWrap.is-snapping #heroBreathe {
  transform: translate3d(0, 12px, 0) scale(1.13);
}

/* 首页主角直接优雅站定（无走入位移、无光轨），点击身体触发举相机咔嚓抓拍 */
.hero-walk-trails { display: none; }
.hero-glide,
.hero-stride {
  position: absolute; inset: 0; z-index: 4;
  opacity: 1; transform: none;
}

.hero-snap-replay {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  z-index: 12; padding: 5px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: rgba(255, 232, 244, 0.9);
  background: rgba(16, 14, 28, 0.78);
  border: 1px solid rgba(255, 130, 185, 0.36);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all 0.22s var(--spring); white-space: nowrap;
}
.hero-snap-replay:hover {
  background: rgba(255, 46, 126, 0.28); border-color: #ff6ba8; color: #fff;
  transform: translateX(-50%) translateY(-2px);
}

/* 穿过电脑屏幕拍你的复古相机取景框 HUD */
.vf-hud {
  position: fixed; inset: 22px; z-index: 360; pointer-events: none;
  opacity: 0; transition: opacity 0.32s ease;
}
.vf-hud.show { opacity: 1; }
.vf-c {
  position: absolute; width: 34px; height: 34px;
  border-color: rgba(255, 255, 255, 0.65); border-style: solid; border-width: 0;
  transition: border-color 0.25s ease, transform 0.35s var(--spring);
}
.vf-c.tl { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.vf-c.tr { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.vf-c.bl { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.vf-c.br { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.vf-hud.locked .vf-c { border-color: #ff6ba8; }
.vf-top {
  position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(10, 10, 18, 0.72); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.vf-top b { color: #ff2e7e; margin-right: 4px; }
.vf-reticle {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%) scale(1.16);
  width: 224px; height: 124px; border-radius: 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px;
  transition: all 0.34s var(--spring);
}
.vf-hud.locked .vf-reticle {
  transform: translate(-50%, -50%) scale(1);
  border-style: solid; border-color: #4ade80;
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.28);
}
.vf-lock-tag {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px;
  color: #fff; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(10, 11, 20, 0.78);
}
.vf-hud.locked .vf-lock-tag { color: #86efac; }
.vf-flash-veil {
  position: fixed; inset: 0; background: radial-gradient(circle at 66% 32%, rgba(255, 248, 240, 0.62), rgba(255, 255, 255, 0.22) 55%, rgba(255, 255, 255, 0) 85%);
  opacity: 0; pointer-events: none;
}
.vf-flash-veil.flash { animation: vf-shutter 0.48s ease-out forwards; }
@keyframes vf-shutter {
  0% { opacity: 0.92; }
  100% { opacity: 0; }
}
.ch3-gaze img,
.ch3-live-canvas { object-fit: cover; filter: none; }
.chair-img.live2d-canvas { position: relative; inset: auto; width: 100%; height: 100%; object-fit: contain; }
.peek-pop .live2d-canvas {
  position: relative; inset: auto; width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 -6px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(255, 46, 126, 0.26));
}

/* 点击相机触发快门闪光 */
.camera-flash {
  position: absolute; left: 34%; top: 8%; width: 28%; height: 28%; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 228, 242, 0.95) 26%, rgba(255, 46, 126, 0.35) 55%, transparent 72%);
  opacity: 0; transform: scale(0.2); pointer-events: none; z-index: 8;
}
.camera-flash.bang { animation: cam-flash 0.55s ease-out forwards; }
@keyframes cam-flash {
  0% { opacity: 1; transform: scale(0.35); }
  30% { opacity: 1; transform: scale(1.7); }
  100% { opacity: 0; transform: scale(2.4); }
}

.actor-shadow {
  position: absolute; left: 24%; right: 24%; bottom: 4%; height: 24px; border-radius: 50%; z-index: 2;
  background: radial-gradient(ellipse, rgba(255, 46, 126, 0.32), rgba(0, 0, 0, 0.7) 55%, transparent 75%);
  animation: shadow-pulse 3.8s ease-in-out infinite;
}
@keyframes shadow-pulse { 50% { transform: scaleX(0.86); opacity: 0.65; } }

.actor-hit { position: absolute; inset: 6% 16%; z-index: 9; border-radius: 40%; }
.actor-bubble {
  position: absolute; left: 50%; top: -8%; z-index: 20;
  max-width: 300px; width: max-content; padding: 10px 18px; border-radius: 999px;
  background: #10111a; border: 1.5px solid var(--neon);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 26px rgba(255, 46, 126, 0.45);
  font-size: 13px; font-weight: 700; color: #fff; text-align: center;
  opacity: 0; transform: translate(-50%, 10px) scale(0.85); pointer-events: none;
  transition: opacity 0.2s, transform 0.35s var(--spring);
}
.actor-bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------------- 其他章节：动态弹簧摇摆场景背景 ---------------- */
.scene-stage {
  position: absolute; inset: -5%; z-index: 0; overflow: hidden;
  will-change: transform; transform-style: preserve-3d;
}
.scene-img, .scene-vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.scene-img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1%, -0.8%, 0); }
}
.scene-vid { opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.scene-vid.live { opacity: 1; }

/* Ch3 背后脉冲霓虹光环（柔光环绕在头身外圈，不切脸） */
.ch3-pulse-ring {
  position: absolute; left: 50%; top: 44%; width: min(760px, 60vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 1; pointer-events: none;
  border: 1.5px solid rgba(255, 46, 126, 0.26);
  box-shadow: 0 0 70px rgba(255, 46, 126, 0.26);
  mix-blend-mode: screen;
  animation: pulse-ring 3.6s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.45; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.9; }
}

.scene-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.scene-vignette.v-left {
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.92) 0%, rgba(7, 8, 12, 0.72) 38%, rgba(7, 8, 12, 0.14) 68%, rgba(7, 8, 12, 0.32) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.55) 0%, transparent 22%, transparent 78%, rgba(7, 8, 12, 0.85) 100%);
}
.scene-vignette.v-left.warm {
  background:
    linear-gradient(90deg, rgba(9, 7, 11, 0.92) 0%, rgba(14, 9, 14, 0.72) 40%, rgba(9, 7, 11, 0.15) 68%, rgba(9, 7, 11, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.65) 0%, transparent 20%, transparent 78%, rgba(7, 8, 12, 0.9) 100%);
}
.scene-vignette.v-right {
  background:
    linear-gradient(270deg, rgba(7, 8, 12, 0.92) 0%, rgba(7, 8, 12, 0.74) 40%, rgba(7, 8, 12, 0.16) 68%, rgba(7, 8, 12, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.6) 0%, transparent 20%, transparent 78%, rgba(7, 8, 12, 0.85) 100%);
}
.scene-vignette.v-center {
  background:
    linear-gradient(90deg, rgba(6, 6, 10, 0.86) 0%, rgba(6, 6, 10, 0.3) 30%, rgba(6, 6, 10, 0.04) 50%, rgba(6, 6, 10, 0.3) 70%, rgba(6, 6, 10, 0.86) 100%),
    linear-gradient(180deg, rgba(6, 6, 10, 0.65) 0%, transparent 22%, transparent 78%, rgba(6, 6, 10, 0.88) 100%);
}
.scene-glow { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.5; z-index: 3; }
.scene-glow.g-left { background: radial-gradient(circle at 28% 46%, rgba(255, 46, 126, 0.24), transparent 45%); }
.scene-glow.g-center { background: radial-gradient(circle at 50% 48%, rgba(255, 46, 126, 0.3), transparent 40%); }
.crt-scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.14; z-index: 3;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 4px);
}

/* ---------------- 排版与弹簧交互控件 ---------------- */
.ch-inner { position: relative; z-index: 10; width: 100%; max-width: 1320px; margin: 0 auto; }
.split-left { display: grid; grid-template-columns: minmax(320px, 500px) 1fr; align-items: center; }
.split-right { display: grid; grid-template-columns: 1fr minmax(360px, 550px); align-items: center; }
.split-right > * { grid-column: 2; }
.tri-split { display: grid; grid-template-columns: minmax(290px, 390px) 1fr minmax(290px, 360px); align-items: center; gap: 24px; }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--neon-2); margin-bottom: 14px; }
.display-h1 { line-height: 0.98; margin-bottom: 22px; }
.display-h1 .sans-line { display: block; font-size: clamp(48px, 6.4vw, 86px); font-weight: 800; letter-spacing: -2.5px; }
.display-h1 .serif-line { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 6.2vw, 84px); color: #fff; text-shadow: 0 0 36px rgba(255, 46, 126, 0.45); }
.display-h2 { line-height: 1.02; margin-bottom: 16px; }
.display-h2 .sans-line { display: block; font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; letter-spacing: -1.6px; }
.display-h2 .serif-line { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); color: var(--neon-2); }
.lead { font-size: 15.5px; color: var(--ink-2); max-width: 440px; margin-bottom: 28px; line-height: 1.75; }
.body-p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; line-height: 1.75; }
.micro-note { margin-top: 32px; font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px; color: var(--ink-3); }

.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-neon {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.8px;
  color: #fff; background: var(--neon); border-radius: 4px;
  box-shadow: 0 0 30px rgba(255, 46, 126, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--spring), box-shadow 0.25s;
}
.btn-neon::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-24deg); transition: left 0.6s ease;
}
.btn-neon:hover::after { left: 150%; }
.btn-neon:hover { box-shadow: 0 0 46px rgba(255, 46, 126, 0.8); }
.btn-outline {
  padding: 13px 22px; font-size: 13.5px; font-weight: 600; color: var(--ink); border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px); transition: all 0.3s var(--spring);
}
.btn-outline:hover { border-color: var(--neon); color: var(--neon-2); background: rgba(255, 46, 126, 0.14); }

/* 发光边框 + 3D 弹簧倾斜卡片 */
.glow-card {
  position: relative; overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  --mx: 50%; --my: 50%;
  transition: border-color 0.3s, transform 0.25s ease-out, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.glow-card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 46, 126, 0.38), rgba(108, 229, 255, 0.1) 45%, transparent 70%);
  transition: opacity 0.3s;
}
.glow-card:hover::before { opacity: 1; }
.glow-card:hover { border-color: rgba(255, 46, 126, 0.5); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 46, 126, 0.14); }
.glow-card > * { position: relative; z-index: 1; }

/* 弹性入场 */
.reveal-el { opacity: 0; transform: translateY(34px) scale(0.97); transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.85s var(--spring); }
.chapter.in-view .reveal-el { opacity: 1; transform: none; }
.chapter.in-view .reveal-el:nth-child(2) { transition-delay: 0.08s; }
.chapter.in-view .reveal-el:nth-child(3) { transition-delay: 0.16s; }
.chapter.in-view .reveal-el:nth-child(4) { transition-delay: 0.24s; }
.chapter.in-view .reveal-el:nth-child(5) { transition-delay: 0.32s; }

/* ---------------- CHAPTER 02 ---------------- */
.tab-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 16px; }
.tab-btn { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 4px; font-size: 13px; font-weight: 600; color: var(--ink-3); position: relative; transition: color 0.25s; }
.tab-btn span:last-child { font-family: var(--mono); font-size: 10px; }
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--neon); box-shadow: 0 0 12px var(--neon); transform: scaleX(0); transition: transform 0.35s var(--spring); }
.tab-btn.active, .tab-btn:hover { color: var(--ink); }
.tab-btn.active::after { transform: scaleX(1); }

.glass-panel { padding: 24px 26px; }
.p-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px; color: var(--neon-2); margin-bottom: 8px; }
.p-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.p-desc { font-size: 14px; color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag-chip { font-size: 11.5px; font-weight: 600; padding: 4px 11px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); color: var(--ink-2); transition: all 0.25s var(--spring); }
.tag-chip:hover { border-color: var(--neon); color: #fff; transform: translateY(-2px); }
.p-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--neon-2); transition: gap 0.25s var(--spring), color 0.2s; }
.p-link:hover { gap: 12px; color: #fff; }
.exploring-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.exp-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--ink-3); display: block; }
.exp-val { font-size: 13px; color: var(--ink-2); }
.exp-star { font-size: 20px; color: var(--neon); animation: spin-slow 10s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------------- CHAPTER 03 ---------------- */
.step-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.step-row { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 6px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: var(--ink-2); transition: color 0.25s, padding-left 0.3s var(--spring); }
.step-num { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.3s var(--spring); }
.step-text { flex: 1; }
.step-text strong { display: block; font-size: 15px; font-weight: 700; }
.step-text small { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--ink-3); }
.step-arrow { font-size: 14px; color: var(--ink-3); transition: transform 0.3s var(--spring), color 0.25s; }
.doodle-stamp {
  position: absolute; right: 34px; top: 50%;
  transform: translateY(-50%) rotate(-14deg) scale(0.5); opacity: 0; pointer-events: none;
  padding: 3px 9px; font-family: var(--mono); font-size: 13px; font-weight: 900; letter-spacing: 1px;
  color: var(--neon-2); border: 2px dashed var(--neon); background: rgba(8, 9, 13, 0.88);
  box-shadow: 3px 3px 0 rgba(255, 46, 126, 0.4);
  transition: opacity 0.22s, transform 0.38s var(--spring);
}
.step-row:hover, .step-row.active { color: #fff; padding-left: 12px; }
.step-row:hover .step-num, .step-row.active .step-num { background: var(--neon); border-color: var(--neon); color: #fff; box-shadow: 0 0 18px var(--neon-glow); transform: scale(1.12); }
.step-row:hover .step-arrow, .step-row.active .step-arrow { color: var(--neon-2); transform: translate(4px, -4px); }
.step-row:hover .doodle-stamp, .step-row.active .doodle-stamp { opacity: 1; transform: translateY(-50%) rotate(-7deg) scale(1); }
.step-hint { margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; color: var(--ink-3); }
.approach-card { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; }
.approach-meter { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; color: var(--ink-3); }
.approach-meter b { color: var(--neon-2); }

/* ---------------- CHAPTER 04 · CRT 控制台 ---------------- */
.lab-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.signal-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--neon-2); padding: 5px 10px; border: 1px solid rgba(255, 46, 126, 0.45); background: rgba(255, 46, 126, 0.12); margin-bottom: 14px; white-space: nowrap; }
.console { padding: 20px 22px; }
.console-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.freq-readout { color: var(--neon-2); font-weight: 700; font-size: 12px; }
.channel-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.ch-btn { padding: 10px 8px; text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03); color: var(--ink-2); transition: all 0.28s var(--spring); }
.ch-btn:hover { border-color: rgba(255, 46, 126, 0.55); color: #fff; transform: translateY(-2px); }
.ch-btn.active { background: var(--neon); border-color: var(--neon); color: #fff; box-shadow: 0 0 24px rgba(255, 46, 126, 0.5); transform: translateY(-1px); }
.console-screen { min-height: 235px; }
.dim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.dim-tile { padding: 12px 14px; text-align: left; border: 1px solid rgba(255, 255, 255, 0.11); background: rgba(255, 255, 255, 0.03); transition: all 0.3s var(--spring); }
.dim-tile:hover, .dim-tile.active { border-color: var(--neon); background: rgba(255, 46, 126, 0.13); transform: translateY(-3px) scale(1.02); }
.dim-tile .dt-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.dim-tile p { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.console-skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.cs-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 6px; border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.03); transition: all 0.32s var(--spring); }
.cs-item:hover { border-color: var(--neon); background: rgba(255, 46, 126, 0.12); transform: translateY(-5px) rotate(-2deg); }
.cs-item img { width: 42px; height: 42px; object-fit: contain; margin-bottom: 6px; transition: transform 0.35s var(--spring); filter: drop-shadow(0 4px 10px rgba(255, 46, 126, 0.25)); }
.cs-item:hover img { transform: scale(1.22) rotate(8deg); }
.cs-item span { font-size: 11px; color: var(--ink-2); line-height: 1.3; }
.flow-nodes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.flow-node { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); display: flex; align-items: center; gap: 10px; transition: all 0.3s var(--spring); }
.flow-node:hover { border-color: var(--neon); transform: translateY(-3px); }
.flow-node img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.flow-node strong { display: block; font-size: 13px; }
.flow-node small { font-size: 11px; color: var(--ink-2); }
.console-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.wave-bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.wave-bars i { width: 3px; background: var(--neon); border-radius: 2px; animation: wave 1s ease-in-out infinite alternate; }
.wave-bars i:nth-child(1) { height: 6px; animation-delay: 0s; } .wave-bars i:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.wave-bars i:nth-child(3) { height: 10px; animation-delay: 0.3s; } .wave-bars i:nth-child(4) { height: 18px; animation-delay: 0.45s; }
.wave-bars i:nth-child(5) { height: 8px; animation-delay: 0.6s; } .wave-bars i:nth-child(6) { height: 15px; animation-delay: 0.75s; }
.wave-bars i:nth-child(7) { height: 7px; animation-delay: 0.9s; }
@keyframes wave { from { transform: scaleY(0.3); opacity: 0.5; } to { transform: scaleY(1); opacity: 1; } }
.console-cta { font-size: 13px; font-weight: 700; color: var(--neon-2); transition: color 0.2s, transform 0.25s var(--spring); }
.console-cta:hover { color: #fff; transform: translateX(3px); }

/* ---------------- CHAPTER 05 · 3D 全息景深轮播 ---------------- */
.ch5 { background: #07080d; }
.ch5-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 60% 50%, rgba(255, 46, 126, 0.18), transparent 52%); transition: background 0.6s ease; }
.archive-layout { display: grid; grid-template-columns: minmax(270px, 340px) 1fr 68px; align-items: center; gap: 28px; }
.carousel-ctrl { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.c-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); display: grid; place-items: center; font-size: 15px; transition: all 0.3s var(--spring); }
.c-arrow:hover { border-color: var(--neon); background: rgba(255, 46, 126, 0.22); color: #fff; transform: scale(1.14); }
.c-counter { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--ink-2); min-width: 58px; text-align: center; }
.c-remix { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--ink-2); transition: all 0.3s var(--spring); }
.c-remix:hover { border-color: var(--neon); color: var(--neon-2); transform: scale(1.06) rotate(-2deg); }
.card-caption h3 { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 4px; }
.card-caption .cc-sub { font-family: var(--mono); font-size: 11px; color: var(--neon-2); margin-bottom: 10px; display: block; }
.card-caption p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.carousel-stage { position: relative; height: min(560px, 64vh); perspective: 1300px; touch-action: pan-y; }
.carousel-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.c-card {
  position: absolute; left: 50%; top: 50%;
  width: min(330px, 56vw); aspect-ratio: 3 / 4;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  transition: transform 0.65s var(--spring), opacity 0.5s ease, filter 0.5s ease, border-color 0.4s;
  transform-origin: center center;
}
.c-card img { width: 100%; height: 100%; object-fit: cover; }
/* 卡片全息斜扫反光 */
.c-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(125deg, transparent 25%, rgba(255, 255, 255, 0.26) 46%, rgba(255, 46, 126, 0.22) 52%, transparent 72%);
  transform: translateX(-100%); transition: opacity 0.3s, transform 0.8s ease;
}
.c-card.active:hover::after { opacity: 1; transform: translateX(100%); }
.c-card.active {
  border-color: var(--neon);
  box-shadow: 0 36px 85px rgba(0, 0, 0, 0.8), 0 0 42px rgba(255, 46, 126, 0.32);
}
.c-card-tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; padding: 5px 10px; background: rgba(7, 8, 12, 0.76); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); }
.drag-hint { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: 2.5px; color: var(--ink-3); white-space: nowrap; }

.thumb-strip { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.thumb-btn { width: 52px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; border: 1.5px solid rgba(255, 255, 255, 0.16); opacity: 0.48; transition: all 0.3s var(--spring); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn:hover { opacity: 0.88; transform: scale(1.12) rotate(-3deg); }
.thumb-btn.active { opacity: 1; border-color: var(--neon); box-shadow: 0 0 16px var(--neon-glow); transform: scale(1.12); }

/* ---------------- CHAPTER 06 ---------------- */
.outro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.outro-card { padding: 18px 20px; text-align: left; }
.outro-card small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px; color: var(--ink-3); margin-bottom: 6px; }
.outro-card strong { font-size: 15px; font-weight: 700; }
.outro-card.accent { border-color: rgba(255, 46, 126, 0.48); background: rgba(255, 46, 126, 0.16); }
.outro-card.accent strong { color: var(--neon-2); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.q-chip { font-family: var(--mono); font-size: 11.5px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(14, 15, 22, 0.65); color: var(--ink-2); transition: all 0.25s var(--spring); }
.q-chip:hover { border-color: var(--neon); color: #fff; transform: translateY(-2px); }
.outro-note { font-size: 12.5px; color: var(--ink-3); }

/* ---------------- 弹窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.modal-panel { position: relative; z-index: 1; width: min(940px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: #0d0e14; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85), 0 0 60px rgba(255, 46, 126, 0.16); transform: translateY(32px) scale(0.94); transition: transform 0.45s var(--spring); }
.modal.open .modal-panel { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.modal-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; color: var(--neon-2); }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-items: center; font-size: 14px; transition: all 0.3s var(--spring); }
.modal-close:hover { border-color: var(--neon); background: var(--neon); color: #fff; transform: rotate(90deg) scale(1.12); }
.modal-body { overflow-y: auto; padding: 28px 30px 36px; overscroll-behavior: contain; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255, 46, 126, 0.4); border-radius: 8px; }

.m-h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.m-h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 2.2px; color: var(--neon-2); margin: 28px 0 12px; text-transform: uppercase; }
.m-p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 10px; }
.m-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.m-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-card { padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.025); }
.m-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.m-card p, .m-card li { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.m-card ul { list-style: none; margin-top: 8px; }
.m-card li { padding-left: 16px; position: relative; margin-top: 4px; }
.m-card li::before { content: "✦"; position: absolute; left: 0; color: var(--neon); font-size: 10px; top: 4px; }
.m-role { color: var(--neon-2); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.m-skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
.m-skill { padding: 16px 12px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.025); transition: all 0.3s var(--spring); }
.m-skill:hover { border-color: var(--neon); transform: translateY(-5px) rotate(-2deg); }
.m-skill img { width: 58px; height: 58px; object-fit: contain; margin: 0 auto 10px; filter: drop-shadow(0 6px 14px rgba(255, 46, 126, 0.25)); }
.m-skill span { font-size: 12.5px; font-weight: 600; line-height: 1.4; display: block; }
.m-contact-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.025); margin-bottom: 10px; }
.m-contact-row small { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--ink-3); display: block; }
.m-contact-row strong { font-size: 15px; }

.toast { position: fixed; left: 50%; bottom: 72px; z-index: 900; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 9px 20px; border-radius: 999px; background: var(--neon); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 28px var(--neon-glow); transition: all 0.3s var(--spring); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 新增：社媒标签 / 18张摄影大片墙 / 全屏灯箱 / 4只宝贝 ---------------- */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px; color: var(--ink-2);
  transition: all 0.28s var(--spring);
}
.social-pill:hover { border-color: var(--neon); color: #fff; transform: translateY(-2px); }
.social-pill b { color: var(--neon-2); font-family: var(--mono); font-weight: 800; }

.exp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.exp-mini-btn {
  font-size: 12px; font-weight: 700; color: var(--neon-2);
  padding: 7px 12px; border: 1px solid rgba(255, 46, 126, 0.38); background: rgba(255, 46, 126, 0.08);
  transition: all 0.25s var(--spring);
}
.exp-mini-btn:hover { background: var(--neon); color: #fff; transform: translateY(-2px); }

/* Chapter 04 · 3D 悬浮手机摄影舞台 + 拿在手里玩的真实交互手机 */
.photo-chapter { background: radial-gradient(circle at 65% 48%, #1d0d1c 0%, #07080c 60%); }
.photo-bg-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255, 46, 126, 0.22), transparent 52%);
}
.phone-stage-grid {
  display: grid; grid-template-columns: minmax(320px, 470px) 1fr; align-items: center; gap: 40px;
}
.phone-launch-row { margin-bottom: 18px; }
.phone-quick-modes { display: flex; flex-wrap: wrap; gap: 10px; }
.pq-btn {
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--ink-2);
  transition: all 0.28s var(--spring);
}
.pq-btn:hover { border-color: var(--neon); color: #fff; background: rgba(255, 46, 126, 0.18); transform: translateY(-3px); }

/* 右侧 3D 悬浮手机预告舞台 */
.phone-teaser-wrap {
  position: relative; display: grid; place-items: center; min-height: 540px; perspective: 1200px;
}
.pt-halo {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(255, 46, 126, 0.35), rgba(108, 229, 255, 0.22), rgba(255, 46, 126, 0.05), rgba(255, 46, 126, 0.35));
  filter: blur(42px); animation: spin-slow 16s linear infinite;
}
.pt-orb {
  position: absolute; width: 88px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; z-index: 2;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
  animation: float-bob 5s ease-in-out infinite;
  transition: transform 0.35s var(--spring), border-color 0.25s;
}
.pt-orb img { width: 100%; height: 100%; object-fit: cover; }
.pt-orb:hover { border-color: var(--neon); transform: scale(1.16) rotate(0deg) !important; z-index: 6; }
.pt-orb.po1 { left: 8%; top: 10%; transform: rotate(-10deg); animation-delay: 0s; }
.pt-orb.po2 { right: 8%; top: 14%; transform: rotate(9deg); animation-delay: -1.4s; }
.pt-orb.po3 { left: 10%; bottom: 12%; transform: rotate(7deg); animation-delay: -2.6s; }
.pt-orb.po4 { right: 9%; bottom: 10%; transform: rotate(-8deg); animation-delay: -3.5s; }

.phone-teaser {
  position: relative; z-index: 4; width: 256px; padding: 10px; border-radius: 42px;
  background: linear-gradient(145deg, #353644, #14151d 45%, #2a1d28);
  box-shadow: 0 36px 85px rgba(0, 0, 0, 0.8), 0 0 46px rgba(255, 46, 126, 0.28), inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  transform: rotate(-4deg);
  transition: transform 0.45s var(--spring), box-shadow 0.35s;
}
.phone-teaser:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.04) !important;
  box-shadow: 0 42px 95px rgba(0, 0, 0, 0.85), 0 0 68px rgba(255, 46, 126, 0.5), inset 0 0 0 1.5px rgba(255, 107, 168, 0.6);
}
.pt-bezel { position: relative; border-radius: 34px; overflow: hidden; background: #09090d; aspect-ratio: 9 / 19; }
.pt-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 74px; height: 20px; border-radius: 999px; background: #000; display: flex; align-items: center; justify-content: flex-end; padding-right: 7px;
}
.pt-island i { width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle, #3558ff, #0a1026); }
.pt-screen { position: absolute; inset: 0; }
.pt-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease, transform 4s ease; transform: scale(1.04); }
.pt-slide.on { opacity: 1; transform: scale(1); }
.pt-overlay {
  position: absolute; inset: auto 0 0 0; padding: 56px 16px 26px; text-align: left;
  background: linear-gradient(transparent, rgba(7, 8, 12, 0.92));
}
.pt-badge { display: inline-block; font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; color: var(--neon-2); margin-bottom: 4px; }
.pt-overlay strong { display: block; font-size: 16px; color: #fff; margin-bottom: 8px; }
.pt-tap {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: var(--neon); color: #fff; font-size: 11px; font-weight: 800;
  box-shadow: 0 0 18px var(--neon-glow);
}
.pt-home-bar { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 88px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); z-index: 5; }

/* ---------------- 全功能互动手机弹窗（玩着手机刷照片！） ---------------- */
.phone-modal {
  position: fixed; inset: 0; z-index: 750; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.32s ease, visibility 0.32s;
  perspective: 1400px;
}
.phone-modal.open { opacity: 1; visibility: visible; }
.pm-bg { position: absolute; inset: 0; background: rgba(4, 4, 9, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.pm-close {
  position: fixed; top: 22px; right: 26px; z-index: 10; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(16, 17, 26, 0.85); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 16px;
  display: grid; place-items: center; transition: all 0.28s var(--spring);
}
.pm-close:hover { background: var(--neon); border-color: var(--neon); transform: rotate(90deg) scale(1.1); }
.pm-side-hint {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 8;
  display: flex; gap: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--ink-3);
  pointer-events: none; white-space: nowrap;
}

.phone-device {
  position: relative; z-index: 5;
  width: min(378px, 90vw); height: min(760px, 86dvh);
  padding: 11px; border-radius: 50px;
  background: linear-gradient(155deg, #3c3d4f, #13141c 40%, #2d1b29 85%, #463242);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.9), 0 0 70px rgba(255, 46, 126, 0.3), inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
  transform: translateY(60px) rotateX(18deg) scale(0.84);
  transition: transform 0.55s var(--spring);
  will-change: transform;
}
.phone-modal.open .phone-device { transform: translateY(0) rotateX(0deg) scale(1); }
.pd-btn-vol1, .pd-btn-vol2, .pd-btn-pwr {
  position: absolute; width: 3px; border-radius: 2px; background: #3b3c4d;
}
.pd-btn-vol1 { left: -3px; top: 120px; height: 42px; }
.pd-btn-vol2 { left: -3px; top: 174px; height: 42px; }
.pd-btn-pwr { right: -3px; top: 145px; height: 64px; }

.pd-screen {
  position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden;
  background: #0a0b10; display: flex; flex-direction: column;
}
.pd-status {
  position: relative; z-index: 20; flex: none; height: 46px; padding: 12px 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: #fff;
  background: linear-gradient(rgba(8, 9, 14, 0.85), transparent);
}
.pd-island {
  height: 24px; min-width: 102px; padding: 0 10px; border-radius: 999px; background: #000;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pd-cam { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #3560ff, #0a1026); }
.pd-island-txt { font-size: 10px; color: var(--neon-2); letter-spacing: 0.5px; }

.pd-body { position: relative; flex: 1; overflow: hidden; }

/* 模式 1：沉浸竖屏刷着看（Stories / 小红书划卡） */
.p-swipe-wrap { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: none; user-select: none; }
.p-bars { position: absolute; top: 4px; left: 12px; right: 12px; z-index: 12; display: flex; gap: 3px; }
.p-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.26); transition: background 0.25s; }
.p-bars i.done { background: rgba(255, 255, 255, 0.82); }
.p-bars i.now { background: var(--neon); box-shadow: 0 0 8px var(--neon); }

.p-chips {
  position: absolute; top: 14px; left: 12px; right: 12px; z-index: 12;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.p-chips::-webkit-scrollbar { display: none; }
.p-chip {
  flex: none; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  background: rgba(10, 11, 16, 0.62); border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px); transition: all 0.2s;
}
.p-chip.active { background: var(--neon); border-color: var(--neon); color: #fff; }

.p-card-stage { position: absolute; inset: 0; }
.p-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s var(--spring), opacity 0.28s ease;
}
.p-card-img.slide-l { transform: translateX(-28px) scale(0.95); opacity: 0.4; }
.p-card-img.slide-r { transform: translateX(28px) scale(0.95); opacity: 0.4; }
.p-swipe-grad {
  position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none;
  background: linear-gradient(transparent, rgba(7, 8, 12, 0.92));
}
.p-tap-l, .p-tap-r { position: absolute; top: 52px; bottom: 90px; width: 32%; z-index: 6; }
.p-tap-l { left: 0; } .p-tap-r { right: 0; }

.p-swipe-info { position: absolute; left: 16px; right: 64px; bottom: 18px; z-index: 8; }
.p-swipe-author { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.92); }
.p-swipe-author img { width: 22px; height: 22px; border-radius: 50%; background: #ffd6e8; padding: 1px; object-fit: contain; }
.p-swipe-info h4 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.p-swipe-info small { font-family: var(--mono); font-size: 10.5px; color: var(--neon-2); }

.p-side-actions { position: absolute; right: 12px; bottom: 22px; z-index: 10; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.p-act { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; font-size: 22px; transition: transform 0.25s var(--spring); }
.p-act:hover { transform: scale(1.16); }
.p-act small { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.85); }
.p-act.liked span { color: var(--neon); filter: drop-shadow(0 0 10px var(--neon)); transform: scale(1.2); display: inline-block; }

/* 双击炸出的大爱心 */
.big-heart {
  position: absolute; z-index: 18; font-size: 68px; pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  filter: drop-shadow(0 0 24px var(--neon));
  animation: heart-pop 0.85s var(--spring) forwards;
}
@keyframes heart-pop {
  0% { transform: translate(-50%, -50%) scale(0.2) rotate(-14deg); opacity: 0; }
  35% { transform: translate(-50%, -50%) scale(1.25) rotate(8deg); opacity: 1; }
  70% { transform: translate(-50%, -65%) scale(1) rotate(-4deg); opacity: 1; }
  100% { transform: translate(-50%, -110%) scale(1.4) rotate(0deg); opacity: 0; }
}

/* 模式 2：iOS 相册九宫格 */
.p-scroll { width: 100%; height: 100%; overflow-y: auto; padding: 10px 12px 18px; overscroll-behavior: contain; }
.p-scroll::-webkit-scrollbar { width: 4px; }
.p-scroll::-webkit-scrollbar-thumb { background: rgba(255, 46, 126, 0.4); border-radius: 4px; }
.p-grid-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.p-grid-head h4 { font-size: 18px; font-weight: 800; }
.p-grid-head span { font-family: var(--mono); font-size: 11px; color: var(--neon-2); }
.p-ios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.p-ios-tile { aspect-ratio: 1; overflow: hidden; border-radius: 6px; position: relative; background: #151621; }
.p-ios-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.p-ios-tile:hover img { transform: scale(1.1); }

/* 模式 3：小红书 摄影美食自媒体 主页瀑布流 */
.rn-profile {
  display: flex; align-items: center; gap: 12px; padding: 10px 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 12px;
}
.rn-ava { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, #ffe6f1, #ff99c2); border: 2px solid var(--neon); padding: 3px; object-fit: contain; flex: none; }
.rn-profile h4 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.rn-profile h4 i { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--neon); color: #fff; }
.rn-stats { font-size: 11px; color: var(--ink-2); margin-top: 3px; }
.rn-stats b { color: #fff; }
.rn-feed { columns: 2; column-gap: 8px; }
.rn-card {
  break-inside: avoid; width: 100%; margin-bottom: 8px; text-align: left;
  border-radius: 10px; overflow: hidden; background: #14151e; border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--spring), border-color 0.2s;
}
.rn-card:hover { transform: translateY(-2px); border-color: var(--neon); }
.rn-card img { width: 100%; display: block; }
.rn-meta { padding: 7px 8px; }
.rn-meta strong { display: block; font-size: 11.5px; color: #fff; line-height: 1.35; margin-bottom: 4px; }
.rn-meta span { font-size: 10px; color: var(--ink-3); display: flex; justify-content: space-between; }

/* 底部 iOS Tab 栏 */
.pd-dock {
  flex: none; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px 12px 16px; background: rgba(12, 13, 20, 0.96); border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.pd-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-3); font-size: 16px; transition: color 0.2s, transform 0.25s var(--spring); }
.pd-tab small { font-size: 10px; font-weight: 700; }
.pd-tab.active { color: var(--neon-2); transform: translateY(-2px); }
.pd-home { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); width: 112px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); pointer-events: none; z-index: 20; }

/* Chapter 05 · 双模式开关 */
.mode-switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 18px;
}
.mode-btn {
  padding: 7px 15px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink-2);
  transition: all 0.28s var(--spring);
}
.mode-btn.active { background: var(--neon); color: #fff; box-shadow: 0 0 18px var(--neon-glow); }

/* Chapter 06 · 4 只真实宝贝卡片 */
.babies-split { grid-template-columns: minmax(340px, 560px) 1fr; }
.babies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.baby-card {
  position: relative; text-align: left; padding: 6px; border-radius: 12px;
  background: rgba(14, 15, 24, 0.8); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); transition: all 0.32s var(--spring);
}
.baby-card:hover { transform: translateY(-6px) rotate(-2deg); border-color: var(--neon); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 46, 126, 0.3); }
.baby-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.baby-card strong { display: block; font-size: 13px; color: #fff; line-height: 1.2; }
.baby-card small { display: block; font-size: 10px; color: var(--neon-2); line-height: 1.3; margin-top: 2px; }

/* 全屏灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: 36px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-bg { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lb-fig { position: relative; z-index: 2; max-width: min(92vw, 1080px); max-height: 84vh; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85); }
.lb-fig figcaption { margin-top: 14px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; color: #fff; }
.lb-fig figcaption small { font-family: var(--mono); font-size: 11px; color: var(--neon-2); }
.lb-close, .lb-nav {
  position: fixed; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(16, 17, 26, 0.82); border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid; place-items: center; font-size: 17px; color: #fff;
  transition: all 0.28s var(--spring);
}
.lb-close { top: 22px; right: 24px; }
.lb-nav.prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { border-color: var(--neon); background: var(--neon); }

@media (max-width: 1040px) {
  .phone-stage-grid { grid-template-columns: 1fr; text-align: center; }
  .phone-launch-row, .phone-quick-modes { justify-content: center; display: flex; }
  .phone-teaser-wrap { min-height: 440px; }
}
@media (max-width: 760px) {
  .phone-teaser { width: 224px; }
  .pt-orb { width: 66px; }
  .pm-side-hint { display: none; }
  .babies-grid { grid-template-columns: repeat(2, 1fr); }
  .babies-split { grid-template-columns: 1fr; }
  .social-row { justify-content: center; }
  .lb-nav { width: 38px; height: 38px; left: 10px; }
  .lb-nav.next { left: auto; right: 10px; }
}

/* ---------------- 底部左：黑胶氛围音乐播放器 ---------------- */
.bgm-dock {
  position: fixed; left: 26px; bottom: 20px; z-index: 260;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 6px; border-radius: 999px;
  background: rgba(11, 12, 19, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--spring);
}
.bgm-dock:hover { border-color: rgba(255, 46, 126, 0.55); transform: translateY(-2px); }
.bgm-dock.playing {
  border-color: rgba(255, 46, 126, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 46, 126, 0.32);
}
.bgm-toggle { display: inline-flex; align-items: center; gap: 10px; text-align: left; padding-right: 4px; }
.bgm-disc {
  position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 50% 50%, #ff2e7e 0 22%, #181924 23% 32%, #0c0d14 33% 56%, #232538 57% 60%, #0d0e16 61% 100%);
  border: 1.5px solid rgba(255, 107, 168, 0.55);
  display: grid; place-items: center;
  box-shadow: 0 0 14px rgba(255, 46, 126, 0.25);
  animation: spin-slow 4.2s linear infinite;
  animation-play-state: paused;
}
.bgm-disc::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: conic-gradient(from 40deg, transparent 0 65%, rgba(255, 255, 255, 0.28) 76%, transparent 88%);
}
.bgm-disc i { width: 5px; height: 5px; border-radius: 50%; background: #fff; position: relative; z-index: 2; }
.bgm-dock.playing .bgm-disc { animation-play-state: running; box-shadow: 0 0 18px var(--neon-glow); }
.bgm-info { display: flex; flex-direction: column; line-height: 1.2; max-width: 122px; }
.bgm-info strong { font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgm-info small { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.bgm-dock.playing .bgm-info small { color: var(--neon-2); }
.bgm-eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 14px; padding: 0 2px; }
.bgm-eq i { width: 2.5px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); transition: background 0.25s; }
.bgm-dock.playing .bgm-eq i { background: var(--neon); animation: bgm-bar 0.72s ease-in-out infinite alternate; }
.bgm-dock.playing .bgm-eq i:nth-child(1) { animation-delay: 0s; }
.bgm-dock.playing .bgm-eq i:nth-child(2) { animation-delay: 0.18s; }
.bgm-dock.playing .bgm-eq i:nth-child(3) { animation-delay: 0.36s; }
.bgm-dock.playing .bgm-eq i:nth-child(4) { animation-delay: 0.52s; }
@keyframes bgm-bar { from { height: 4px; opacity: 0.6; } to { height: 14px; opacity: 1; } }
.bgm-next {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 11px; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s var(--spring);
}
.bgm-next:hover { background: var(--neon); border-color: var(--neon); color: #fff; transform: scale(1.1); }

/* ---------------- CHAPTER 02 · 坐转椅滑进来互动舞台（清冷月光冰蓝 × 雾银摄影棚） ---------------- */
.ch2 { background: radial-gradient(circle at 26% 52%, rgba(30, 74, 138, 0.26) 0%, rgba(6, 11, 20, 0.64) 64%); }
.ch2-studio-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ch2-aura { position: absolute; border-radius: 50%; filter: blur(95px); }
.ch2-aura.a1 { width: 48vw; height: 48vw; left: -6%; top: 10%; background: radial-gradient(circle, rgba(56, 189, 248, 0.30), transparent 68%); }
.ch2-aura.a2 { width: 34vw; height: 34vw; left: 26%; bottom: 4%; background: radial-gradient(circle, rgba(186, 230, 253, 0.18), transparent 68%); }
.ch2-floor {
  position: absolute; left: -12%; right: -12%; bottom: -8%; height: 44%;
  background:
    linear-gradient(rgba(56, 189, 248, 0.18) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(125, 211, 252, 0.13) 1px, transparent 1px) 0 0 / 56px 56px;
  transform: perspective(640px) rotateX(68deg);
  mask-image: radial-gradient(ellipse 68% 72% at 32% 55%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 68% 72% at 32% 55%, #000 18%, transparent 76%);
  opacity: 0.68;
}
.ch2-grid {
  display: grid; grid-template-columns: minmax(300px, 500px) minmax(360px, 560px);
  align-items: center; justify-content: space-between; gap: 36px;
}
.chair-stage {
  position: relative; width: min(470px, 40vw); height: min(590px, 68vh);
  margin: 0 auto; display: flex; align-items: flex-end; justify-content: center;
  perspective: 1100px;
}
.chair-spotlight {
  position: absolute; left: 50%; bottom: 18px; width: 82%; height: 74%;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, rgba(56, 189, 248, 0.26), transparent 68%);
  filter: blur(22px);
}
.wheel-trails {
  position: absolute; left: -26%; right: 20%; bottom: 32px; height: 22px;
  pointer-events: none; z-index: 2;
}
.wheel-trails i {
  position: absolute; left: 0; height: 2.5px; border-radius: 999px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.92), rgba(224, 242, 254, 0.88), transparent);
}
.wheel-trails i:nth-child(1) { top: 2px; width: 76%; }
.wheel-trails i:nth-child(2) { top: 10px; width: 92%; }
.wheel-trails i:nth-child(3) { top: 18px; width: 64%; }
.ch2.chair-enter .wheel-trails i { animation: skid-flash 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.ch2.chair-enter .wheel-trails i:nth-child(2) { animation-delay: 0.05s; }
.ch2.chair-enter .wheel-trails i:nth-child(3) { animation-delay: 0.1s; }
@keyframes skid-flash {
  0% { opacity: 0; transform: translateX(-60%) scaleX(0.3); }
  35% { opacity: 0.95; transform: translateX(8%) scaleX(1.1); }
  100% { opacity: 0; transform: translateX(48%) scaleX(0.5); }
}

.chair-glide {
  position: relative; width: 100%; height: 100%; z-index: 4;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transform: translate3d(-118%, 0, 0) rotate(-7deg);
  transform-origin: 50% 94%;
  will-change: transform, opacity;
}
.ch2.chair-enter .chair-glide {
  animation: chair-slide-in 1.15s cubic-bezier(0.2, 0.95, 0.32, 1) forwards;
}
@keyframes chair-slide-in {
  0% { opacity: 0; transform: translate3d(-118%, 0, 0) rotate(-8deg) scale(0.96); }
  22% { opacity: 1; }
  62% { opacity: 1; transform: translate3d(26px, -6px, 0) rotate(5deg) scale(1.01); }
  80% { opacity: 1; transform: translate3d(-9px, 2px, 0) rotate(-2.2deg) scale(1); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}
.chair-sway {
  position: relative; width: 100%; height: 100%; z-index: 4;
  display: flex; align-items: flex-end; justify-content: center;
  transform-origin: 50% 92%; will-change: transform;
}
.chair-img {
  width: auto; max-width: 100%; max-height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 22px rgba(255, 46, 126, 0.24));
  animation: chair-idle 4.4s ease-in-out infinite;
  transform-origin: 50% 92%;
}
@keyframes chair-idle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1.1deg); }
}
.chair-sway.spin-hop .chair-img { animation: chair-hop 0.75s var(--spring); }
@keyframes chair-hop {
  0% { transform: scale(1) rotate(0deg); }
  28% { transform: translateX(18px) translateY(-16px) rotate(7deg) scale(1.03); }
  58% { transform: translateX(-10px) translateY(3px) rotate(-4deg) scale(0.98); }
  100% { transform: scale(1) rotate(0deg); }
}
.chair-shadow {
  position: absolute; left: 22%; right: 22%; bottom: 8px; height: 22px; border-radius: 50%; z-index: 2;
  background: radial-gradient(ellipse, rgba(255, 46, 126, 0.34), rgba(0, 0, 0, 0.78) 58%, transparent 78%);
}
.chair-hit { position: absolute; inset: 4% 12%; z-index: 12; border-radius: 36%; }
.chair-bubble { top: -32px; left: 68%; }

/* ---------------- CHAPTER 05 · 扒拉画框边框偷看互动 ---------------- */
.peek-stage-frame {
  position: relative; margin-top: 94px;
  padding: 24px 16px 38px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 46, 126, 0.08), rgba(11, 12, 20, 0.52) 30%, rgba(11, 12, 20, 0.65));
  border: 1.5px solid rgba(255, 46, 126, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 165, 205, 0.35), 0 0 36px rgba(255, 46, 126, 0.14);
}
.frame-tag-l, .frame-tag-r {
  position: absolute; top: 12px; z-index: 8; font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45); pointer-events: none;
}
.frame-tag-l { left: 18px; }
.frame-tag-r { right: 18px; color: var(--neon-2); }

.peek-rail {
  position: absolute; left: 24px; right: 24px; top: 0; height: 0; z-index: 30;
  pointer-events: none;
}
.peek-actor {
  position: absolute; left: 50%; bottom: -25px; width: 224px; aspect-ratio: 484 / 369;
  margin-left: -112px; pointer-events: auto;
  transform-origin: 50% 88%;
  will-change: transform;
}
.peek-pop {
  display: block; width: 100%; height: 100%;
  opacity: 0; transform: translateY(72%) scale(0.9);
  transform-origin: 50% 90%;
  transition: transform 0.55s var(--spring), opacity 0.25s ease;
}
.peek-pop img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 -6px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(255, 46, 126, 0.26));
}
.ch5.peek-enter .peek-pop {
  opacity: 1; transform: translateY(0) scale(1);
}
.peek-actor.ducking .peek-pop {
  opacity: 0; transform: translateY(82%) scale(0.88);
  transition: transform 0.26s ease-in, opacity 0.22s ease;
}
.peek-actor:hover .peek-pop img {
  filter: drop-shadow(0 -6px 20px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 26px rgba(255, 46, 126, 0.55));
}
.peek-bubble {
  top: calc(100% + 10px); left: 50%; white-space: nowrap; font-size: 12px; padding: 7px 14px;
}

/* 720p 笔记本屏幕：Ch6 垂直紧凑微调 */
@media (max-height: 780px) and (min-width: 1041px) {
  .ch6 { padding-top: 76px; padding-bottom: 66px; }
  .ch6 .display-h2 { margin-bottom: 10px; }
  .ch6 .body-p { margin-bottom: 14px; }
  .babies-grid { margin-bottom: 12px; gap: 8px; }
  .outro-cards { margin-bottom: 12px; }
  .outro-card { padding: 13px 16px; }
  .peek-stage-frame { margin-top: 56px; padding: 18px 14px 32px; }
}

@media (max-width: 1040px) {
  .ch2-grid { grid-template-columns: 1fr; }
  .chair-stage { width: min(360px, 84vw); height: 420px; }
  .peek-stage-frame { margin-top: 58px; }
  .peek-actor { width: 184px; margin-left: -92px; bottom: -20px; }
}
@media (max-width: 760px) {
  .bgm-dock { left: 12px; bottom: 14px; padding: 4px 5px; gap: 4px; }
  .bgm-toggle { gap: 0; padding-right: 0; }
  .bgm-disc { width: 30px; height: 30px; }
  .bgm-info, .bgm-eq { display: none; }
  .bgm-next { width: 26px; height: 26px; font-size: 10px; }
  .chair-stage { height: 340px; }
  .peek-stage-frame { margin-top: 54px; padding: 18px 8px 34px; }
  .peek-actor { width: 162px; margin-left: -81px; bottom: -18px; }
  .frame-tag-l, .frame-tag-r { font-size: 8.5px; }
}

/* ---------------- CHAPTER 04 · 3D 交互旋转摄影星球 ---------------- */
.sphere-chapter {
  background: radial-gradient(circle at 50% 54%, #1d0c1f 0%, #090a12 48%, #06070b 100%);
  padding-top: 86px; padding-bottom: 70px;
}
.sphere-bg-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 46, 126, 0.24), transparent 44%),
    radial-gradient(circle at 30% 42%, rgba(108, 229, 255, 0.11), transparent 40%);
}
.sphere-layout { display: flex; flex-direction: column; gap: 10px; }
.sphere-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.sphere-top .display-h2 { margin-bottom: 4px; }
.sphere-top .display-h2 .sans-line,
.sphere-top .display-h2 .serif-line { display: inline; font-size: clamp(28px, 3.4vw, 44px); }
.sphere-top .display-h2 .serif-line { margin-left: 10px; }

.sphere-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sphere-morphs {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
}
.sm-btn {
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink-2);
  transition: all 0.28s var(--spring);
}
.sm-btn:hover { color: #fff; }
.sm-btn.active { background: var(--neon); color: #fff; box-shadow: 0 0 18px var(--neon-glow); }

.sphere-filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.sf-btn {
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ink-3);
  transition: all 0.25s var(--spring);
}
.sf-btn:hover { border-color: rgba(255, 46, 126, 0.55); color: #fff; }
.sf-btn.active { border-color: var(--neon); background: rgba(255, 46, 126, 0.2); color: #fff; }

.sphere-stage {
  position: relative; width: 100%; height: min(585px, 66vh); min-height: 440px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 46, 126, 0.08), rgba(10, 11, 18, 0.42) 58%, rgba(8, 9, 14, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.55), 0 28px 80px rgba(0, 0, 0, 0.55);
  touch-action: none; user-select: none; cursor: grab;
}
.sphere-stage.dragging { cursor: grabbing; }

.sphere-core-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 46, 126, 0.34), rgba(108, 229, 255, 0.12) 45%, transparent 72%);
  filter: blur(24px);
}
.sphere-orbit {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 46, 126, 0.24);
}
.sphere-orbit.o-a {
  width: min(560px, 68vw); height: min(560px, 68vw);
  transform: rotateX(72deg) rotateZ(-14deg);
  box-shadow: 0 0 24px rgba(255, 46, 126, 0.2);
  animation: orbit-pulse 8s ease-in-out infinite alternate;
}
.sphere-orbit.o-b {
  width: min(460px, 56vw); height: min(460px, 56vw);
  border-style: dashed; border-color: rgba(108, 229, 255, 0.22);
  transform: rotateX(64deg) rotateY(22deg);
}
@keyframes orbit-pulse { from { opacity: 0.45; } to { opacity: 0.9; } }

.sphere-world {
  position: relative; width: 100%; height: 100%;
  pointer-events: none;
}
.sphere-node {
  position: absolute; left: 50%; top: 50%;
  width: 122px; aspect-ratio: 3 / 4;
  margin-left: -61px; margin-top: -81px;
  border-radius: 13px; overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: #12131d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
  pointer-events: auto; will-change: transform, opacity;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.sphere-node img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.sphere-node .sn-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px;
  font-size: 10.5px; font-weight: 700; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(6, 7, 12, 0.9));
  opacity: 0; transform: translateY(6px); transition: opacity 0.22s, transform 0.22s;
}
.sphere-node:hover {
  border-color: var(--neon);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.85), 0 0 32px rgba(255, 46, 126, 0.65);
  z-index: 999 !important;
}
.sphere-node:hover .sn-label { opacity: 1; transform: none; }
.sphere-node.dimmed { filter: grayscale(0.85) brightness(0.28) !important; pointer-events: none; }

.sphere-caption {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(10, 11, 18, 0.82); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 12px; color: var(--ink-2); white-space: nowrap; pointer-events: none;
}
.sphere-caption strong { color: #fff; font-weight: 700; }
.sc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }

.sphere-phone-btn {
  position: absolute; right: 16px; bottom: 16px; z-index: 42;
  padding: 7px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 46, 126, 0.16); border: 1px solid rgba(255, 46, 126, 0.5); color: #fff;
  backdrop-filter: blur(10px); transition: all 0.25s var(--spring);
}
.sphere-phone-btn:hover { background: var(--neon); border-color: var(--neon); transform: translateY(-2px); box-shadow: 0 0 22px var(--neon-glow); }

@media (max-width: 1040px) {
  .sphere-top { flex-direction: column; align-items: flex-start; }
  .sphere-controls { align-items: flex-start; }
  .sphere-filters { justify-content: flex-start; }
  .sphere-stage { height: 470px; }
  .sphere-node { width: 96px; margin-left: -48px; margin-top: -64px; }
  .peek-stage-frame { margin-top: 92px; }
}
@media (max-width: 760px) {
  .sphere-stage { height: 420px; min-height: 380px; }
  .sphere-node { width: 82px; margin-left: -41px; margin-top: -54px; border-radius: 10px; }
  .sphere-caption { font-size: 10.5px; padding: 5px 12px; bottom: 14px; }
  .sphere-phone-btn { left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; }
  .sphere-phone-btn:hover { transform: translateX(-50%) translateY(-2px); }
  .peek-stage-frame { margin-top: 96px; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1040px) {
  .chapter { padding: 96px 28px 86px; }
  .nav-list, .hud-frame { display: none; }
  .menu-btn { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actor-wrap { order: -1; width: min(420px, 86vw); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .tri-split { grid-template-columns: 1fr; gap: 20px; }
  .approach-spacer { display: none; }
  .archive-layout { grid-template-columns: 1fr; gap: 24px; }
  .thumb-strip { flex-direction: row; justify-content: center; margin-top: 24px; }
  .carousel-stage { height: 430px; }
}
@media (max-width: 760px) {
  .hud-nav { padding: 14px 18px; }
  .chapter { min-height: auto; padding: 88px 18px 86px; align-items: flex-end; }
  .ch1 { align-items: center; padding-top: 114px; }
  .ch2, .ch4, .ch6 { min-height: 100svh; }
  .ch2 .scene-img { object-position: 28% 18%; }
  .ch3 .ch3-gaze img { object-position: 50% 18%; }
  .ch4 .scene-img { object-position: 28% 22%; }
  .ch6 .scene-img { object-position: 76% 24%; }
  .ch3 { padding-top: 112px; padding-bottom: 104px; }
  .ch5 { padding-bottom: 124px; }
  .split-left, .split-right { grid-template-columns: 1fr; }
  .split-right > * { grid-column: 1; }
  .scene-vignette.v-left, .scene-vignette.v-right, .scene-vignette.v-left.warm {
    background: linear-gradient(180deg, rgba(7, 8, 12, 0.35) 0%, rgba(7, 8, 12, 0.55) 38%, rgba(7, 8, 12, 0.94) 72%, #07080c 100%);
  }
  .console-skills { grid-template-columns: repeat(2, 1fr); }
  .dim-grid, .flow-nodes, .outro-cards, .m-grid-2, .m-grid-3, .m-grid-4 { grid-template-columns: 1fr; }
  .carousel-stage { height: 390px; }
  .c-card { width: 240px; }
  .orb-float img { width: 38px; height: 38px; }
  .pause-pill { bottom: 14px; font-size: 9px; padding: 6px 12px; }
  .pet-buddy { right: 14px; bottom: 14px; }
  .pb-btn { width: 46px; height: 46px; }
  .modal { padding: 10px; }
  .modal-body { padding: 20px 18px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal-el { opacity: 1; transform: none; }
}


/* =====================================================================
 * AWWWARDS 酷炫视效升级：WebGL 极光流体 + 霓虹光丝 + 音频光环 + 3D 盲盒机
 * ===================================================================== */
.aurora-bg {
  position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; display: block;
}
.chapters { position: relative; z-index: 1; }
.ribbon-canvas {
  position: fixed; inset: 0; z-index: 980; width: 100%; height: 100%;
  pointer-events: none; display: block;
}

/* 让各章节背景透出底层实时流动极光（同时保留清晰对比度与精致暗角） */
.ch1 {
  background: radial-gradient(circle at 68% 48%, rgba(255, 46, 126, 0.12) 0%, rgba(7, 8, 13, 0.42) 56%, rgba(5, 6, 9, 0.72) 100%);
}
.ch2 {
  background: radial-gradient(circle at 26% 52%, rgba(56, 189, 248, 0.14) 0%, rgba(7, 12, 22, 0.56) 64%);
}
/* 第 2 屏「关于我」独立清冷月光冰蓝 × 银灰点缀色，与第 1 屏树莓电光粉形成强烈层次反差 */
.ch2 .eyebrow,
.ch2 .p-kicker,
.ch2 .p-link { color: #7dd3fc; }
.ch2 .display-h2 .serif-line {
  background: linear-gradient(108deg, #ffffff 10%, #bae6fd 38%, #ffffff 54%, #38bdf8 76%, #a5b4fc 94%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ch2 .tab-btn::after { background: #38bdf8; box-shadow: 0 0 12px rgba(56, 189, 248, 0.72); }
.ch2 .chair-bubble {
  border-color: rgba(125, 211, 252, 0.65);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.58), 0 0 22px rgba(56, 189, 248, 0.28);
}
.ch2 .tag-chip { border-color: rgba(125, 211, 252, 0.24); background: rgba(56, 189, 248, 0.08); }
.ch2 .chair-img.live2d-canvas {
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 26px rgba(56, 189, 248, 0.24));
}
.sphere-chapter {
  background: radial-gradient(circle at 50% 54%, rgba(6, 182, 212, 0.10) 0%, rgba(8, 9, 16, 0.48) 54%, rgba(5, 6, 11, 0.76) 100%);
}
.ch5 {
  background: radial-gradient(circle at 60% 50%, rgba(255, 77, 148, 0.12) 0%, rgba(7, 8, 13, 0.56) 66%);
}

/* 音频实时可视化环形画布 + 光环随节拍微弹 */
.audio-ring-canvas {
  position: absolute; left: 50%; top: 50%; width: 98%; height: 98%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 1;
}
.holo-ring.r-outer {
  transform: translate(-50%, -50%) scale(var(--beat-scale, 1));
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

/* 电影片头流光标题渐变（不寡淡、自带高级霓虹珠光扫过） */
.display-h1 .serif-line,
.display-h2 .serif-line,
.display-h2 em {
  background: linear-gradient(108deg, #ffffff 10%, #ff9ac5 36%, #ffffff 50%, #7cebff 68%, #ff4d94 92%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-iridescent 7s ease-in-out infinite;
}
@keyframes text-iridescent {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 首页全息玻璃「拆个盲盒」按钮 + 顶部导航盲盒机入口 */
.btn-holo {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 20px; border-radius: 10px; font-weight: 700; font-size: 14px;
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 46, 126, 0.22), rgba(139, 92, 246, 0.24), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(255, 107, 168, 0.58);
  box-shadow: 0 0 24px rgba(255, 46, 126, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--spring), box-shadow 0.25s, border-color 0.25s;
}
.btn-holo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.65s ease;
}
.btn-holo:hover {
  border-color: #ff85b3;
  box-shadow: 0 0 32px rgba(255, 46, 126, 0.45), 0 0 18px rgba(108, 229, 255, 0.25);
}
.btn-holo:hover::after { transform: translateX(130%); }

.bb-nav-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 46, 126, 0.2), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(255, 77, 148, 0.52);
  box-shadow: 0 0 18px rgba(255, 46, 126, 0.24);
  font-size: 12px; font-weight: 700; color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s var(--spring);
}
.bb-nav-pill:hover {
  border-color: var(--neon-2);
  box-shadow: 0 0 26px rgba(255, 46, 126, 0.5);
  transform: translateY(-1px);
}
.bb-nav-cnt {
  font-family: var(--mono); font-size: 10px; font-weight: 800;
  padding: 1px 6px; border-radius: 999px;
  background: rgba(255, 46, 126, 0.35); color: #ffd6e8;
}

/* ---------------- 3D 盲盒拆盒机 + 彩虹镭射全息闪卡弹窗 ---------------- */
.bb-modal {
  position: fixed; inset: 0; z-index: 950;
  display: grid; place-items: center; padding: 18px;
  opacity: 0; pointer-events: none; transition: opacity 0.32s ease;
}
.bb-modal.open { opacity: 1; pointer-events: auto; }
.bb-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(34, 12, 36, 0.88), rgba(5, 6, 10, 0.94));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.bb-panel {
  position: relative; z-index: 2; width: min(680px, 95vw); max-height: 94vh; overflow-y: auto;
  scrollbar-width: none;
  padding: 20px 26px 18px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(18, 17, 29, 0.92), rgba(9, 10, 16, 0.96));
  border: 1px solid rgba(255, 107, 168, 0.32);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78), 0 0 60px rgba(255, 46, 126, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: scale(0.94) translateY(16px); transition: transform 0.38s var(--spring);
}
.bb-panel::-webkit-scrollbar { display: none; }
.bb-modal.open .bb-panel { transform: none; }
.bb-close {
  position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.22s;
}
.bb-close:hover { background: var(--neon); color: #fff; border-color: var(--neon); }

.bb-head { text-align: center; margin-bottom: 14px; }
.bb-kicker {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 2.6px;
  color: var(--neon-2); margin-bottom: 6px;
}
.bb-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.5px; }
.bb-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: linear-gradient(90deg, #ff6ba8, #7cebff, #fde047);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bb-progress {
  margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--ink-2);
}
.bb-progress b { color: #ff85b3; }

.bb-arena {
  position: relative; min-height: 350px;
  display: grid; place-items: center; padding: 4px 0 8px;
}

/* 炸裂彩带粒子 */
.bb-burst { position: absolute; left: 50%; top: 48%; pointer-events: none; z-index: 12; }
.bb-spark {
  position: absolute; left: 0; top: 0; border-radius: 2px;
  animation: bb-confetti 0.9s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes bb-confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1.2); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.2); }
}

/* 阶段 1：CSS 真 3D 盲盒立方体 */
.bb-stage-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: opacity 0.25s, transform 0.25s;
}
.bb-stage-box.hide { display: none; }

.bb-cube-wrap {
  position: relative; width: 170px; height: 210px;
  display: grid; place-items: center; perspective: 900px; cursor: pointer;
}
.bb-cube {
  position: relative; width: 132px; height: 158px;
  transform-style: preserve-3d;
  animation: bb-float-spin 7.5s ease-in-out infinite;
}
@keyframes bb-float-spin {
  0%, 100% { transform: translateY(0) rotateX(-14deg) rotateY(-28deg); }
  50% { transform: translateY(-12px) rotateX(-8deg) rotateY(32deg); }
}
.bb-cube-wrap.shaking .bb-cube {
  animation: bb-shake 0.14s linear infinite;
}
@keyframes bb-shake {
  0% { transform: rotateX(-12deg) rotateY(-14deg) rotateZ(-8deg) scale(1.06); }
  50% { transform: rotateX(-16deg) rotateY(14deg) rotateZ(8deg) scale(1.1); }
  100% { transform: rotateX(-12deg) rotateY(-14deg) rotateZ(-8deg) scale(1.06); }
}
.bb-cube-wrap.exploding .bb-cube {
  animation: bb-pop 0.28s ease-in forwards;
}
@keyframes bb-pop {
  0% { transform: scale(1.12); opacity: 1; filter: brightness(1.6); }
  100% { transform: scale(1.85) rotateY(90deg); opacity: 0; filter: brightness(2.8); }
}
.bb-face {
  position: absolute; inset: 0; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid rgba(255, 107, 168, 0.72);
  background: linear-gradient(145deg, rgba(36, 18, 42, 0.94), rgba(12, 13, 22, 0.96));
  box-shadow: inset 0 0 28px rgba(255, 46, 126, 0.28), 0 0 20px rgba(255, 46, 126, 0.2);
  backface-visibility: visible;
}
.bb-face span { font-family: var(--mono); font-size: 10px; letter-spacing: 2.2px; color: var(--neon-2); }
.bb-face b {
  font-size: 46px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff, #ff6ba8, #6ce5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bb-face small { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--ink-3); }
.bb-face.front { transform: translateZ(66px); }
.bb-face.back  { transform: rotateY(180deg) translateZ(66px); }
.bb-face.right { transform: rotateY(90deg) translateZ(66px); }
.bb-face.left  { transform: rotateY(-90deg) translateZ(66px); }
.bb-face.top   {
  height: 132px; top: 13px;
  transform: rotateX(90deg) translateZ(79px);
  background: linear-gradient(135deg, rgba(255, 46, 126, 0.42), rgba(108, 229, 255, 0.28));
}
.bb-face.bottom { height: 132px; top: 13px; transform: rotateX(-90deg) translateZ(79px); }

.bb-pedestal {
  position: absolute; bottom: 0; width: 158px; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 46, 126, 0.52), rgba(108, 229, 255, 0.16) 45%, transparent 72%);
  filter: blur(4px);
}
.bb-charge-bar {
  width: 210px; height: 4px; border-radius: 99px; overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.bb-charge-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #ff2e7e, #c084fc, #6ce5ff);
  box-shadow: 0 0 14px #ff2e7e;
  transition: width 0.6s cubic-bezier(.22, 1, .36, 1);
}
.bb-open-btn { padding: 13px 30px; font-size: 14.5px; }
.bb-tip { font-size: 12px; color: var(--ink-3); text-align: center; }

/* 阶段 2：3D 倾斜彩虹镭射全息闪卡 */
.bb-stage-card {
  display: none; flex-direction: column; align-items: center; gap: 12px; width: 100%;
}
.bb-stage-card.show { display: flex; }

.bb-holo-card {
  --hx: 50%; --hy: 35%; --holo-ang: 125deg; --card-accent: #ff2e7e;
  width: min(252px, 74vw); border-radius: 20px; padding: 2px;
  background: linear-gradient(var(--holo-ang), var(--card-accent), #ffffff, #6ce5ff, #c084fc, var(--card-accent));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.72), 0 0 42px color-mix(in srgb, var(--card-accent) 42%, transparent);
  transform-style: preserve-3d;
  transition: transform 0.14s ease-out, box-shadow 0.25s;
  will-change: transform;
}
.bb-holo-card.flip-in { animation: bb-card-reveal 0.62s var(--spring) both; }
@keyframes bb-card-reveal {
  0% { opacity: 0; transform: perspective(1000px) rotateY(160deg) scale(0.55); }
  100% { opacity: 1; transform: perspective(1000px) rotateY(0deg) scale(1); }
}

.bb-card-inner {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(165deg, #161524 0%, #0b0c14 100%);
  padding: 12px 12px 14px;
}
.bb-card-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
  position: relative; z-index: 3;
}
.bb-card-rarity {
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 46, 126, 0.24); border: 1px solid var(--card-accent); color: #fff;
}
.bb-holo-card[data-rarity="hidden"] .bb-card-rarity {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.38), rgba(255, 46, 126, 0.36));
  color: #fef08a;
}
.bb-card-no { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }

.bb-card-art {
  position: relative; width: 100%; aspect-ratio: 1 / 1.04; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14); background: #08090f;
}
.bb-card-art > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.bb-card-meta {
  position: relative; z-index: 3; margin-top: 10px; text-align: left;
}
.bb-card-meta strong { display: block; font-size: 15px; font-weight: 800; color: #fff; }
.bb-card-meta span { display: block; font-size: 11px; color: var(--neon-2); margin-top: 2px; }
.bb-card-meta p { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

/* 彩虹全息金属折射层 + 动态高光聚光灯 */
.bb-foil {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    repeating-linear-gradient(
      var(--holo-ang),
      rgba(255, 46, 126, 0.24) 0%,
      rgba(253, 224, 71, 0.22) 16%,
      rgba(108, 229, 255, 0.26) 33%,
      rgba(192, 132, 252, 0.24) 50%,
      rgba(255, 46, 126, 0.24) 66%
    );
  background-size: 260% 260%;
  background-position: var(--hx) var(--hy);
  mix-blend-mode: color-dodge;
  opacity: 0.42;
  transition: opacity 0.25s;
}
.bb-holo-card:hover .bb-foil { opacity: 0.72; }
.bb-glare {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(circle at var(--hx) var(--hy), rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 32%, transparent 65%);
  mix-blend-mode: overlay;
}

.bb-tilt-hint { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.8px; }
.bb-card-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 底部 8 格图鉴收藏槽 */
.bb-shelf {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px;
  margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bb-slot {
  position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--ink-3); font-family: var(--mono); font-weight: 800; font-size: 16px;
  transition: all 0.25s var(--spring);
}
.bb-slot i { font-style: normal; opacity: 0.55; }
.bb-slot.unlocked { border-style: solid; border-color: rgba(255, 107, 168, 0.45); cursor: pointer; }
.bb-slot.unlocked:hover { transform: translateY(-3px) scale(1.06); border-color: #fff; }
.bb-slot.active { border-color: #ff4d94; box-shadow: 0 0 16px rgba(255, 46, 126, 0.55); }
.bb-slot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bb-slot-r {
  position: absolute; left: 4px; top: 4px; font-size: 8px; padding: 1px 4px; border-radius: 4px;
  background: rgba(8, 9, 14, 0.82); color: #ff85b3; font-weight: 800;
}
.bb-slot-r.hidden { color: #fde047; }

@media (max-width: 760px) {
  .bb-nav-txt { display: none; }
  .bb-panel { padding: 20px 16px 18px; }
  .bb-shelf { grid-template-columns: repeat(4, 1fr); }
}


/* ---------------- 12 款全 3D 无限盲盒 + DIY 潮玩衣橱样式 ---------------- */
.bb-panel-wide { width: min(820px, 95vw); }
.bb-mode-tabs {
  display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; margin-top: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
}
.bb-tab {
  padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--ink-2); transition: all 0.25s var(--spring);
}
.bb-tab.active {
  background: linear-gradient(135deg, #ff2e7e, #c084fc);
  color: #fff; box-shadow: 0 0 18px rgba(255, 46, 126, 0.45);
}
.bb-view { display: none; }
.bb-view.active { display: block; }

.bb-progress-row {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.bb-reset-btn {
  padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14); transition: all 0.22s;
}
.bb-reset-btn:hover { border-color: var(--neon); color: #fff; background: rgba(255, 46, 126, 0.22); }

.bb-shelf-12 { grid-template-columns: repeat(12, 1fr); gap: 6px; }
.bb-shelf-12 .bb-slot { border-radius: 8px; font-size: 13px; }
.bb-shelf-12 .bb-slot-r { font-size: 7px; padding: 1px 3px; }

/* DIY 潮玩衣橱双栏布局 */
.diy-grid {
  display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start;
  padding-top: 8px;
}
.diy-preview { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.diy-card { width: 256px; }
.diy-art-box { position: relative; aspect-ratio: 3 / 3.7; }
.diy-tint { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; z-index: 2; }
.diy-charms-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.diy-charm-img {
  position: absolute; height: auto !important; object-fit: contain !important;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.65));
  animation: float-bob 3.6s ease-in-out infinite;
}
.diy-star {
  position: absolute; color: #fff0c2; font-size: 18px;
  text-shadow: 0 0 12px rgba(255, 130, 190, 0.9);
  animation: diy-twinkle 2.2s ease-in-out infinite alternate;
}
.diy-star.s1 { left: 14px; top: 44%; font-size: 16px; }
.diy-star.s2 { right: 16px; top: 34%; font-size: 15px; animation-delay: 0.5s; color: #ffd1e6; }
.diy-star.s3 { left: 24px; top: 18%; font-size: 13px; animation-delay: 1s; }
.diy-star.s4 { right: 26px; bottom: 26%; font-size: 17px; animation-delay: 1.4s; }
@keyframes diy-twinkle { from { opacity: 0.45; transform: scale(0.82) rotate(-8deg); } to { opacity: 1; transform: scale(1.16) rotate(10deg); } }
.diy-seal {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px;
  font-family: var(--mono); font-size: 9px; font-weight: 800; letter-spacing: 1.4px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(253, 224, 71, 0.9));
  color: #18100a; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.diy-card.frame-berry { background: linear-gradient(var(--holo-ang), #ff2e7e, #ff9ac5, #7c3aed, #ff2e7e); }
.diy-card.frame-rainbow { background: linear-gradient(var(--holo-ang), #ff2e7e, #fde047, #6ce5ff, #c084fc, #ff2e7e); }
.diy-card.frame-gold { background: linear-gradient(var(--holo-ang), #f59e0b, #fef08a, #fb923c, #f59e0b); }
.diy-card.frame-crystal { background: linear-gradient(var(--holo-ang), rgba(255,255,255,0.85), rgba(148,163,184,0.45), rgba(255,255,255,0.9)); }

.diy-preview-actions { display: flex; gap: 8px; justify-content: center; width: 100%; }
.diy-preview-actions .btn-neon,
.diy-preview-actions .btn-outline { padding: 9px 14px; font-size: 12.5px; }

.diy-controls { display: flex; flex-direction: column; gap: 14px; }
.diy-group label {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px;
  color: var(--neon-2); margin-bottom: 7px;
}
.diy-outfits { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.diy-thumb {
  position: relative; aspect-ratio: 3 / 4; border-radius: 9px; overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14); background: #0c0d14;
  transition: all 0.22s var(--spring);
}
.diy-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.diy-thumb span {
  position: absolute; right: 3px; bottom: 2px; font-family: var(--mono); font-size: 8.5px; font-weight: 800;
  padding: 1px 4px; border-radius: 4px; background: rgba(8, 9, 14, 0.78); color: #fff;
}
.diy-thumb:hover { transform: translateY(-2px) scale(1.04); border-color: rgba(255, 130, 185, 0.7); }
.diy-thumb.active { border-color: #ff2e7e; box-shadow: 0 0 14px rgba(255, 46, 126, 0.55); }

.diy-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.diy-chip {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14); transition: all 0.22s;
}
.diy-chip:hover { border-color: rgba(255, 107, 168, 0.6); color: #fff; }
.diy-chip.active {
  background: rgba(255, 46, 126, 0.24); border-color: #ff4d94; color: #fff;
  box-shadow: 0 0 14px rgba(255, 46, 126, 0.3);
}

@media (max-width: 760px) {
  .bb-shelf-12 { grid-template-columns: repeat(6, 1fr); }
  .diy-grid { grid-template-columns: 1fr; }
  .diy-outfits { grid-template-columns: repeat(4, 1fr); }
}


/* ---------------- 顶部指南按钮 + 首次入站探索指引悬浮卡 + 接盲盒小游戏 ---------------- */
.guide-nav-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 800;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16); transition: all 0.25s var(--spring);
}
.guide-nav-btn:hover { border-color: var(--neon-2); color: #fff; background: rgba(255, 46, 126, 0.24); transform: scale(1.08); }

.guide-card {
  position: fixed; right: 26px; bottom: 86px; z-index: 420;
  width: min(378px, calc(100vw - 28px)); padding: 18px 18px 15px; border-radius: 20px;
  background: linear-gradient(155deg, rgba(20, 17, 32, 0.94), rgba(10, 11, 18, 0.96));
  border: 1px solid rgba(255, 107, 168, 0.42);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72), 0 0 36px rgba(255, 46, 126, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; pointer-events: none;
  transform: translateY(22px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.42s var(--spring);
}
.guide-card.show { opacity: 1; pointer-events: auto; transform: none; }
.guide-close {
  position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; color: var(--ink-3);
  background: rgba(255, 255, 255, 0.06); transition: all 0.2s;
}
.guide-close:hover { background: var(--neon); color: #fff; }
.guide-kicker {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px; color: var(--neon-2); margin-bottom: 4px;
}
.guide-title { font-size: 15.5px; font-weight: 800; color: #fff; }
.guide-sub { font-size: 12px; color: var(--ink-3); margin: 3px 0 11px; }
.guide-list { display: flex; flex-direction: column; gap: 7px; }
.guide-item {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
  text-align: left; padding: 8px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.22s var(--spring);
}
.guide-item:hover {
  background: rgba(255, 46, 126, 0.14); border-color: rgba(255, 107, 168, 0.48);
  transform: translateX(3px);
}
.guide-item i { font-style: normal; font-size: 18px; text-align: center; }
.guide-item strong { display: block; font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1.25; }
.guide-item small { display: block; font-size: 10.5px; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.guide-item b { font-size: 11px; font-weight: 700; color: var(--neon-2); white-space: nowrap; }
.guide-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px; color: var(--ink-3);
}
.guide-ok {
  padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #ff2e7e, #ff6ba8);
  box-shadow: 0 4px 14px rgba(255, 46, 126, 0.35); white-space: nowrap;
}
.guide-ok:hover { filter: brightness(1.1); }

/* 30 秒接盲盒小游戏面板（精致街机 + 7 阶称号梯队） */
.gm-top-bar {
  display: flex; flex-direction: column; gap: 7px; margin: 4px 0 9px;
}
.gm-hud {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.gm-stat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gm-stat em {
  font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.4px;
  color: var(--ink-3);
}
.gm-stat b {
  font-family: var(--mono); font-size: 14.5px; font-weight: 800; color: #ff85b8;
  text-shadow: 0 0 12px rgba(255, 46, 126, 0.35);
}
.gm-stat:nth-child(2) b { color: #7cebff; text-shadow: 0 0 12px rgba(108, 229, 255, 0.35); }
.gm-stat:nth-child(3) b { color: #fde047; text-shadow: 0 0 12px rgba(253, 224, 71, 0.35); }
.gm-stat:nth-child(4) b { color: #c4b5fd; text-shadow: 0 0 12px rgba(196, 181, 253, 0.35); }

.gm-rank-strip {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px;
  padding: 5px 10px 5px 12px; border-radius: 999px;
  background: rgba(16, 15, 28, 0.78);
  border: 1px solid rgba(255, 133, 184, 0.24);
}
.gm-restart-btn {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #fff; white-space: nowrap;
  background: rgba(255, 46, 126, 0.22);
  border: 1px solid rgba(255, 107, 168, 0.45);
  transition: all 0.2s var(--spring);
}
.gm-restart-btn:hover {
  background: rgba(255, 46, 126, 0.45); border-color: #ff6ba8;
  transform: scale(1.05);
}
.gm-rank-pill {
  font-size: 11.5px; font-weight: 800; color: #fff; white-space: nowrap;
  letter-spacing: 0.2px;
}
.gm-rank-track {
  height: 7px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}
.gm-rank-track i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #ff2e7e, #c084fc, #6ce5ff, #fde047);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(255, 77, 148, 0.65);
  transition: width 0.22s ease;
}
.gm-rank-next {
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); white-space: nowrap;
}

.gm-stage {
  position: relative; width: 100%; aspect-ratio: 760 / 440;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255, 130, 185, 0.38);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), inset 0 0 42px rgba(255, 46, 126, 0.14);
}
#yunaGameCanvas { width: 100%; height: 100%; display: block; touch-action: none; }

.gm-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 20px; text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(28, 17, 44, 0.86), rgba(8, 9, 16, 0.91));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.28s ease;
}
.gm-overlay.hide { opacity: 0; pointer-events: none; }
.gm-ov-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  color: #fde047;
  background: rgba(253, 224, 71, 0.12);
  border: 1px solid rgba(253, 224, 71, 0.42);
  box-shadow: 0 0 18px rgba(253, 224, 71, 0.18);
}
.gm-ov-badge.record {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 46, 126, 0.88), rgba(245, 158, 11, 0.88));
  border-color: rgba(254, 240, 138, 0.8);
  box-shadow: 0 0 22px rgba(255, 46, 126, 0.5);
}
.gm-overlay h4 {
  font-size: clamp(19px, 2.5vw, 24px); font-weight: 800; color: #fff; line-height: 1.2;
  letter-spacing: -0.3px;
}
.gm-overlay p { font-size: 12px; color: var(--ink-2); line-height: 1.55; max-width: 540px; }
.gm-overlay p b { color: #fde047; }
.gm-overlay p .gm-hi-next { color: #7cebff; font-weight: 700; }

/* 7 阶称号阶梯展示条 */
.gm-ladder {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  width: 100%; max-width: 688px; margin: 4px 0 6px;
}
.gm-tier {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 7px 4px 6px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0.46; transition: all 0.25s ease;
}
.gm-tier-lv {
  font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--ink-3);
}
.gm-tier-ico { font-size: 16px; line-height: 1.1; filter: grayscale(0.65); }
.gm-tier-name {
  font-size: 10px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.gm-tier-pts {
  font-family: var(--mono); font-size: 8.5px; color: var(--ink-3);
}
.gm-tier.unlocked {
  opacity: 0.88;
  background: rgba(255, 255, 255, 0.065);
  border-color: color-mix(in srgb, var(--tc, #ff6ba8) 46%, transparent);
}
.gm-tier.unlocked .gm-tier-ico { filter: none; }
.gm-tier.unlocked .gm-tier-name { color: #fff; }
.gm-tier.unlocked .gm-tier-lv { color: var(--tc, #ff6ba8); }
.gm-tier.current {
  opacity: 1; transform: translateY(-3px) scale(1.04);
  background: linear-gradient(155deg, color-mix(in srgb, var(--tc, #ff6ba8) 28%, rgba(20, 16, 36, 0.9)), rgba(14, 13, 24, 0.94));
  border-color: var(--tc, #ff6ba8);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--tc, #ff6ba8) 38%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.gm-tier.current::after {
  content: "当前"; position: absolute; top: -8px; right: 4px;
  padding: 1px 5px; border-radius: 999px; font-size: 8px; font-weight: 800;
  background: var(--tc, #ff6ba8); color: #0b0c14;
}

.gm-ov-actions {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 2px;
}
.gm-ov-actions .btn-neon,
.gm-ov-actions .btn-holo { padding: 9px 20px; font-size: 13px; }

.gm-legend {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4.5px;
  margin-top: 8px;
}
.gm-legend span {
  padding: 2.5px 6.5px; border-radius: 999px; font-size: 10px; font-weight: 600;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09); white-space: nowrap;
}
.gm-legend span.hi-gold { color: #fde047; border-color: rgba(253, 224, 71, 0.3); background: rgba(253, 224, 71, 0.08); }
.gm-legend span.hi-fire { color: #fdba74; border-color: rgba(251, 146, 60, 0.3); background: rgba(251, 146, 60, 0.08); }
.gm-legend span.hi-mag { color: #c4b5fd; border-color: rgba(192, 132, 252, 0.32); background: rgba(192, 132, 252, 0.09); }
.gm-legend span.hi-time { color: #7cebff; border-color: rgba(108, 229, 255, 0.3); background: rgba(108, 229, 255, 0.08); }
.gm-legend span.hi-bad { color: #fca5a5; border-color: rgba(248, 113, 113, 0.28); background: rgba(248, 113, 113, 0.07); }

@media (max-width: 760px) {
  .guide-card { right: 14px; bottom: 72px; }
  .gm-hud { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gm-ladder { grid-template-columns: repeat(4, 1fr); }
  .gm-rank-strip { grid-template-columns: auto 1fr auto; }
  .gm-rank-next { display: none; }
}
