/* ============================================================
   展会演示 · 样式（PC 端 16:9，基准 1280x720，JS 负责整体缩放）
   深色科技风：背景 #0a0e1a，主色 青→紫渐变，收益金色
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0e1a;
  --bg2: #0f1626;
  --ink: #e8edf7;
  --ink-dim: #93a0b8;
  --primary: #6366f1;
  --cyan: #22d3ee;
  --gold: #f5b544;
  --card: rgba(255,255,255,.045);
  --card-line: rgba(255,255,255,.09);
  --grad: linear-gradient(120deg, #22d3ee, #6366f1 60%, #a855f7);
}

html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* 全局隐藏原生光标（自定义光标接管），禁用右键菜单见 app.js */
* { cursor: none !important; }

/* ---------- 舞台与翻页 ---------- */
/* 背景铺满整个视口（任意长宽比无黑边），16:9 舞台只承载内容 */
#viewport {
  position: fixed; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(99,102,241,.16), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(34,211,238,.10), transparent 60%),
    var(--bg);
}
#stage {
  position: relative; width: 1280px; height: 720px;
  background: transparent;
  overflow: hidden; transform-origin: center center;
}
.page {
  position: absolute; inset: 0; padding: 64px 80px;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease, visibility .6s;
  display: flex; flex-direction: column;
}
.page.active { opacity: 1; visibility: visible; transform: none; }

/* ---------- 通用元素 ---------- */
.page-title { font-size: 44px; font-weight: 800; letter-spacing: 1px; margin-bottom: 36px; }
.page-title.center { text-align: center; }
.page-title.small { font-size: 34px; margin-bottom: 16px; }
.page-title .accent, .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.gold { color: var(--gold); }
b { color: #fff; }

/* ---------- P1/P8 封面 ---------- */
.cover { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.cover-tag {
  font-size: 16px; letter-spacing: 6px; color: var(--ink-dim);
  border: 1px solid var(--card-line); border-radius: 999px; padding: 8px 26px; margin-bottom: 34px;
}
.cover-title { font-size: 96px; font-weight: 900; line-height: 1.1; letter-spacing: 2px; }
.cover-title.mid { font-size: 64px; line-height: 1.35; }
.cover-sub { margin-top: 26px; font-size: 22px; color: var(--ink-dim); letter-spacing: 2px; }
.cover-badges { display: flex; gap: 14px; margin-top: 46px; }
.cover-badges span {
  padding: 10px 22px; border-radius: 12px; font-size: 17px;
  background: var(--card); border: 1px solid var(--card-line); color: #cbd5e6;
}
.roadmap { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 18px; color: var(--ink-dim); }
.roadmap .rm { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--card-line); background: var(--card); }
.roadmap .rm.done { border-color: transparent; background: var(--grad); color: #05070f; font-weight: 700; }

/* ---------- P2 机会与痛点 ---------- */
.split { flex: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.split-left { display: flex; flex-direction: column; justify-content: center; }
.split-right { display: flex; flex-direction: column; justify-content: center; }
.stat-row { display: flex; gap: 28px; }
.stat { flex: 1; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 30px 26px; }
.stat-num { font-size: 46px; font-weight: 900; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 8px; color: var(--ink-dim); font-size: 16px; }
.pain-list { list-style: none; }
.pain-list li {
  font-size: 21px; line-height: 1.5; color: #c7d0e0; padding: 14px 0 14px 30px; position: relative;
  border-bottom: 1px dashed var(--card-line);
}
.pain-list li::before { content: "✕"; position: absolute; left: 0; color: #f87171; font-weight: 900; }
.pain-list.wide li { font-size: 19px; }
.lead { font-size: 22px; color: #b9c4d8; line-height: 1.8; margin: -14px 0 34px; }
.src-note { position: absolute; left: 80px; bottom: 26px; font-size: 12px; color: #47536b; letter-spacing: 1px; }
.tag { display: inline-block; vertical-align: 14px; margin-left: 14px; font-size: 14px; font-weight: 400; color: var(--gold); border: 1px solid rgba(245,181,68,.4); padding: 3px 12px; border-radius: 999px; }

/* ---------- P2 目录 ---------- */
.toc-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-content: center; }
.toc-item {
  display: flex; align-items: center; gap: 22px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 26px 28px;
}
.toc-item span { font-size: 40px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toc-item b { font-size: 22px; display: block; margin-bottom: 6px; }
.toc-item i { font-style: normal; font-size: 15px; color: var(--ink-dim); }

/* ---------- P3 增长柱 ---------- */
.growth { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: end; padding: 0 40px 10px; }
.grow-col { display: flex; flex-direction: column; align-items: center; gap: 10px; justify-content: flex-end; }
.grow-num { font-size: 52px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grow-col.hot .grow-num { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.grow-bar { width: 100%; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, rgba(99,102,241,.85), rgba(34,211,238,.35)); transform-origin: bottom; box-shadow: 0 0 24px rgba(99,102,241,.25); }
.grow-col.hot .grow-bar { background: linear-gradient(180deg, rgba(245,181,68,.9), rgba(249,115,22,.35)); box-shadow: 0 0 24px rgba(245,181,68,.25); }
.grow-label { text-align: center; font-size: 15px; color: var(--ink-dim); line-height: 1.6; }
.growth-sub { text-align: center; font-size: 15px; color: #8ea0c0; margin: 18px 0 8px; }

/* ---------- P4 头部玩家 ---------- */
.rank-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.rank-row {
  display: grid; grid-template-columns: 200px 150px 1fr; align-items: center;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 16px 26px; font-size: 19px;
}
.rank-row b { font-size: 21px; }
.rank-row span { color: var(--ink-dim); }
.rank-row em { font-style: normal; color: #cbd5e6; text-align: right; }
.rank-row.ours { border-color: rgba(245,181,68,.55); background: rgba(245,181,68,.07); }
.rank-row.ours b { color: var(--gold); }

/* ---------- P8/P14 护城河 ---------- */
.moat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.moat-item {
  display: flex; gap: 24px; align-items: center;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 22px 28px;
}
.moat-no { font-size: 30px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 52px; }
.moat-item b { font-size: 21px; display: block; margin-bottom: 6px; }
.moat-item p { color: var(--ink-dim); font-size: 16px; line-height: 1.7; }

/* ---------- P9 架构 ---------- */
.arch-stack { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; margin-bottom: 12px; }
.arch-row {
  display: flex; gap: 22px; align-items: center;
  border: 1px solid var(--card-line); border-left: 4px solid var(--primary); border-radius: 12px;
  background: linear-gradient(90deg, rgba(99,102,241,.08), transparent 65%); padding: 16px 24px;
}
.arch-no { font-size: 24px; color: var(--cyan); }
.arch-row b { font-size: 20px; margin-right: 16px; }
.arch-row p { display: inline; color: var(--ink-dim); font-size: 16px; }

/* ---------- P11 对比表 ---------- */
.vs-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.vs-table th, .vs-table td { padding: 15px 20px; font-size: 18px; text-align: left; border-bottom: 1px solid var(--card-line); }
.vs-table th { color: var(--ink-dim); font-weight: 500; font-size: 15px; letter-spacing: 2px; }
.vs-table td:first-child { color: #cbd5e6; }
.vs-table td.good { color: #34d399; font-weight: 700; }
.step-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 18px; color: #9fb3d9; }
.step-line span { background: var(--card); border: 1px solid var(--card-line); border-radius: 999px; padding: 10px 20px; color: #dbe4f3; }
.step-line.big { justify-content: center; margin: 10px 0; }
.step-line.big span { font-size: 19px; }

/* ---------- P12 账号结构条 ---------- */
.bar-stack { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 56px; align-items: center; gap: 18px; }
.bar-label { font-size: 17px; color: #cbd5e6; }
.bar-track { height: 22px; border-radius: 999px; background: #151d31; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 0 16px rgba(99,102,241,.35); }
.bar-row em { font-style: normal; font-size: 20px; font-weight: 800; color: #fff; text-align: right; }

/* ---------- P16 KPI 三联 ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 10px 0 26px; }

/* ---------- P18 合作流程 ---------- */
.steps-row { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-content: center; }
.step { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 28px 22px; }
.step span { font-size: 34px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.step b { font-size: 20px; display: block; margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: 15px; line-height: 1.7; }

/* ---------- 排版增强：章节眉标 / 标题下划线 / 幽灵页码与水印 ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 5px; color: var(--cyan); margin-bottom: 12px; }
.kicker::before { content: ""; width: 30px; height: 2px; background: var(--grad); }
.page-title::after { content: ""; display: block; width: 58px; height: 4px; border-radius: 2px; background: var(--grad); margin-top: 14px; }
.page-title.center::after { margin-left: auto; margin-right: auto; }
.page-title.small::after { width: 44px; }

#stage { counter-reset: pg; }
.page { counter-increment: pg; }
.page:not(.no-ghost)::before {
  content: counter(pg, decimal-leading-zero);
  position: absolute; top: 30px; right: 52px;
  font-size: 92px; font-weight: 900; letter-spacing: 2px;
  color: rgba(255,255,255,.07); font-family: Consolas, monospace;
  pointer-events: none;
}
.ghost {
  position: absolute; right: 56px; bottom: 34px;
  font-size: 96px; font-weight: 900; letter-spacing: 8px; white-space: nowrap;
  color: rgba(255,255,255,.06); font-family: Consolas, "PingFang SC", monospace;
  pointer-events: none;
}

/* 占位框扫描线动画 */
.vp-box { position: relative; overflow: hidden; }
.vp-box::after {
  content: ""; position: absolute; left: 0; right: 0; height: 60%;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.07) 50%, transparent);
  animation: scan 3.4s linear infinite;
}
@keyframes scan { 0% { top: -60%; } 100% { top: 100%; } }

/* 步骤卡之间的箭头 */
.step { position: relative; }
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -21px; top: 50%; transform: translateY(-50%);
  color: #3d4d70; font-size: 20px; font-weight: 700; z-index: 2;
}

/* ---------- 常驻微动效（GSAP 之外的第二层生命感） ---------- */
.biz-icon, .vp-icon, .step > span, .moat-no, .toc-item > span { animation: floaty 3.4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.pain-punch, .rent-card.main { animation: glowBreath 3s ease-in-out infinite; }
@keyframes glowBreath { 0%, 100% { box-shadow: 0 0 0 rgba(99,102,241,0); } 50% { box-shadow: 0 0 28px rgba(99,102,241,.35); } }

.online { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.step:not(:last-child)::after { animation: arrowPulse 1.8s ease-in-out infinite; }
@keyframes arrowPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.grow-col.hot .grow-bar { animation: barGlow 2.4s ease-in-out infinite; }
@keyframes barGlow { 0%, 100% { box-shadow: 0 0 24px rgba(245,181,68,.25); } 50% { box-shadow: 0 0 42px rgba(245,181,68,.55); } }
.pain-list b { color: #fff; }
.pain-punch {
  margin-top: 30px; font-size: 26px; font-weight: 800; text-align: center;
  padding: 18px; border-radius: 14px; background: rgba(99,102,241,.14); border: 1px solid rgba(99,102,241,.35);
}

/* ---------- P3 商业模式 ---------- */
.biz-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-content: center; }
.biz-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: 20px;
  padding: 34px 28px; display: flex; flex-direction: column; gap: 14px;
}
.biz-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  color: #05070f; background: var(--grad); flex: none;
}
.biz-icon svg { width: 27px; height: 27px; }
.biz-card h3 { font-size: 26px; }
.biz-card p { color: var(--ink-dim); font-size: 17px; line-height: 1.7; }
.biz-flywheel {
  text-align: center; font-size: 18px; color: #9fb3d9; letter-spacing: 1px;
  padding: 16px; border-radius: 999px; background: rgba(34,211,238,.06); border: 1px dashed rgba(34,211,238,.3);
}

/* ---------- P4 流水线动画 ---------- */
#flow { flex: 1; position: relative; display: grid; grid-template-columns: 300px 1fr 300px; align-items: center; gap: 20px; padding-bottom: 180px; }
#flow-ai { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.ai-core { position: relative; width: 150px; height: 150px; }
.ai-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--cyan); border-right-color: var(--primary);
  animation: spin 2.2s linear infinite;
}
.ai-ring.r2 { inset: 18px; border-top-color: #a855f7; border-right-color: transparent; animation-duration: 3.4s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 34px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ai-words { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ai-word { font-size: 15px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-line); color: var(--ink-dim); opacity: 0; }

#flow-files { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.file-card {
  width: 320px; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 14px;
  padding: 14px 20px; font-size: 19px; opacity: 0;
}
.file-card.final { border-color: rgba(245,181,68,.5); box-shadow: 0 0 24px rgba(245,181,68,.12); }
.file-ico { width: 22px; height: 22px; flex: none; color: var(--cyan); }
.file-card.final .file-ico { color: var(--gold); }

#flow-targets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.target {
  position: relative; height: 58px; border-radius: 12px;
  border: 1px solid var(--card-line); background: var(--card);
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px;
  font-size: 15px; color: var(--ink-dim);
  opacity: .5; transition: all .4s;
}
.t-icon { width: 17px; height: 17px; flex: none; }
.target.lit { opacity: 1; color: #fff; border-color: rgba(34,211,238,.55); background: rgba(34,211,238,.12); box-shadow: 0 0 18px rgba(34,211,238,.18); }
.target.lit .t-icon { color: var(--cyan); }
.target.lit::after { content: "✓"; position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #10b981; color: #fff; font-size: 13px; display: grid; place-items: center; }

.fly-card {
  position: absolute; left: 0; top: 0; z-index: 5; width: 46px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #f5b544, #f97316); opacity: 0;
  display: grid; place-items: center; color: #1a1205;
  box-shadow: 0 4px 14px rgba(249,115,22,.45);
}
.fly-card svg { width: 17px; height: 17px; }

#flow-chart { position: absolute; left: 80px; right: 80px; bottom: 86px; width: calc(100% - 160px); height: 90px; }
#chart-line { fill: none; stroke: #22d3ee; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(34,211,238,.6)); }
#chart-dot { fill: #fff; filter: drop-shadow(0 0 6px #22d3ee); }
#flow-stats {
  position: absolute; left: 80px; right: 80px; bottom: 34px;
  display: flex; justify-content: space-between; font-size: 19px; color: var(--ink-dim);
}
#flow-stats b { font-size: 24px; margin-left: 6px; }
.flow-note { text-align: center; color: #5b6880; font-size: 13px; letter-spacing: 2px; }

/* ---------- P5 监控 mockup ---------- */
.mockup-wrap { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.mockup-desc { font-size: 20px; color: var(--ink-dim); margin-bottom: 24px; }
.mockup-feats { list-style: none; }
.mockup-feats li { font-size: 21px; padding: 12px 0; color: #c7d0e0; border-bottom: 1px dashed var(--card-line); }
.mockup-feats i { color: #34d399; font-style: normal; margin-right: 12px; }
.mockup-tip { margin-top: 26px; font-size: 19px; font-weight: 700; color: var(--cyan); }

.phone {
  width: 300px; height: 560px; margin: 0 auto; border-radius: 40px; position: relative;
  background: var(--bg2); border: 3px solid #2a3650; box-shadow: 0 24px 60px rgba(0,0,0,.5), inset 0 0 0 3px #0d1322;
  padding: 34px 20px 20px; display: flex; flex-direction: column; gap: 14px;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 8px; border-radius: 999px; background: #1c2740; }
.phone-head { font-size: 15px; color: var(--ink-dim); display: flex; justify-content: space-between; align-items: center; }
.online { color: #34d399; font-size: 13px; }
.online::before { content: "●"; margin-right: 5px; }
.phone-block { background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 14px 16px; }
.phone-block.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb-title { font-size: 12px; color: var(--ink-dim); letter-spacing: 2px; margin-bottom: 6px; }
.pb-task { font-size: 14px; color: #dbe4f3; }
.pb-bar { margin-top: 10px; height: 7px; border-radius: 999px; background: #1a2338; overflow: hidden; }
.pb-bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: var(--grad); }
.pb-big { font-size: 26px; font-weight: 800; color: #fff; }
.phone-block.earn { background: rgba(245,181,68,.08); border-color: rgba(245,181,68,.35); }
.pb-earn { font-size: 34px; font-weight: 900; color: var(--gold); }

/* ---------- P6 租赁 ---------- */
.rent-grid { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; }
.rent-card { background: var(--card); border: 1px solid var(--card-line); border-radius: 22px; padding: 36px; }
.rent-card.main { border-color: rgba(99,102,241,.45); background: linear-gradient(160deg, rgba(99,102,241,.12), rgba(34,211,238,.05)); text-align: center; }
.rent-price { font-size: 84px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rent-price .cur { font-size: 40px; vertical-align: 24px; margin-right: 4px; }
.rent-price .per { font-size: 22px; color: var(--ink-dim); -webkit-text-fill-color: var(--ink-dim); margin-left: 8px; font-weight: 500; }
.rent-name { font-size: 22px; margin: 6px 0 22px; color: #cbd5e6; }
.rent-list { list-style: none; text-align: left; }
.rent-list li { font-size: 18px; color: #c7d0e0; padding: 10px 0 10px 28px; position: relative; line-height: 1.5; }
.rent-list li::before { content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 900; }
.rent-side { display: flex; flex-direction: column; gap: 22px; }
.rent-card.mini h3 { font-size: 22px; margin-bottom: 10px; }
.rent-card.mini p { font-size: 16px; color: var(--ink-dim); line-height: 1.7; }

/* ---------- P7 占位 ---------- */
.video-placeholder { flex: 1; display: grid; place-items: center; }
.vp-box {
  width: 860px; aspect-ratio: 16/9; border: 2px dashed #33415e; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 18px, transparent 18px 36px);
}
.vp-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--card-line); color: var(--cyan);
}
.vp-icon svg { width: 34px; height: 34px; }
.vp-title { font-size: 24px; font-weight: 700; color: #93a0b8; }
.vp-desc { font-size: 16px; color: #5b6880; }
.vp-note { text-align: center; font-size: 13px; color: #47536b; margin-top: 18px; }

/* ---------- 自定义光标 ---------- */
#cursor-trail {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
}
#cursor-dot {
  position: fixed; z-index: 1000; pointer-events: none;
  width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.95) 0%, rgba(99,102,241,.55) 55%, transparent 75%);
  box-shadow: 0 0 18px rgba(34,211,238,.65), 0 0 36px rgba(99,102,241,.35);
  transition: opacity .25s;
}
#cursor-pulse {
  position: fixed; z-index: 1000; pointer-events: none;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  border: 2px solid rgba(34,211,238,.9); opacity: 0;
}
#cursor-pulse.ping { animation: pulse-ping .5s ease-out forwards; }
@keyframes pulse-ping {
  from { opacity: .95; transform: scale(.4); }
  to { opacity: 0; transform: scale(2.6); }
}

/* ---------- 右下角控件 ---------- */
#ctrl {
  position: fixed; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 6px; z-index: 99;
  font-size: 13px; color: #9aa7c0;
}
#ctrl button {
  background: rgba(13,19,34,.85); color: #cdd7ea; border: 1px solid #2a3650;
  border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 13px;
  font-family: inherit; transition: all .15s;
}
#ctrl button:hover { background: #1c2742; color: #fff; border-color: #3d4d70; }
#ctrl-page { background: rgba(13,19,34,.85); border: 1px solid #2a3650; border-radius: 8px; padding: 6px 12px; font-family: Consolas, monospace; }
#ctrl-play-wrap { position: relative; }
#ctrl-menu {
  display: none; position: absolute; right: 0; bottom: calc(100% + 6px);
  background: rgba(13,19,34,.97); border: 1px solid #2a3650; border-radius: 10px;
  padding: 6px; min-width: 130px; box-shadow: 0 10px 30px rgba(0,0,0,.55);
}
#ctrl-menu.open { display: flex; flex-direction: column; }
#ctrl-menu button {
  border: none; background: transparent; text-align: left; padding: 7px 12px; border-radius: 6px;
}
#ctrl-menu button:hover { background: rgba(99,102,241,.25); color: #fff; }
