/* ============================================================
   完蛋！我被众神包围了！
   画风移植自「花少 · 穿越档案」结构
   色调改版：地中海希腊风（大理石白 × 爱琴海蓝 × 陶土橙 × 橄榄绿）
   白天场景明亮阳光，夜晚/冥界场景保留夜色
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  background: #f4efe3;
  color: #2f2a24;
}
button, input, textarea { font: inherit; }
#root, .game-root { min-height: 100%; }

/* ==================== 档案选择 OpeningScene ==================== */
.opening-shell { min-height: 100vh; position: relative; overflow: hidden; background: #f4efe3; color: #2f2a24; }
.opening-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 15% 10%, rgba(46,111,142,.10), transparent 30%), radial-gradient(circle at 95% 85%, rgba(192,95,62,.08), transparent 32%); }
.grain { position: absolute; inset: 0; opacity: .05; pointer-events: none; background-color: #000; mix-blend-mode: multiply; }
.topbar { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 28px 5.5vw; border-bottom: 1px solid rgba(47,42,36,.12); color: #8a8276; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.brand-lockup { color: #2e6f8e; font-weight: 700; letter-spacing: .18em; }
.brand-dot { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: #c05f3e; box-shadow: 0 0 12px rgba(192,95,62,.5); }
.topbar-meta { color: #a39a8c; }
.selection-content { position: relative; z-index: 1; width: min(1100px, 89vw); margin: 0 auto; padding: 94px 0 42px; }
.eyebrow { color: #c05f3e; font-size: 11px; letter-spacing: .2em; font-weight: 800; text-transform: uppercase; }
h1 { margin: 18px 0 0; font-size: clamp(42px, 6vw, 78px); line-height: 1.03; letter-spacing: -.055em; font-weight: 400; }
h1 em { color: #2e6f8e; font-family: Georgia,serif; font-style: italic; font-weight: 400; }
.intro-copy { margin: 27px 0 54px; color: #7d7468; font-size: 15px; line-height: 1.9; }
.guest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.guest-card { position: relative; min-height: 150px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid rgba(47,42,36,.14); border-radius: 3px; background: #faf6ec; color: #2f2a24; text-align: left; cursor: pointer; transition: transform .2s ease,border-color .2s ease,background .2s ease; box-shadow: 0 1px 0 rgba(47,42,36,.04); }
.guest-card::after { content: ""; position: absolute; width: 70px; height: 70px; right: -22px; bottom: -28px; border-radius: 50%; background: var(--accent); opacity: .16; filter: blur(14px); }
.guest-card:hover { transform: translateY(-4px); border-color: var(--accent); background: #fffdf6; }
.card-number { align-self: flex-end; color: #b3aa9c; font: 11px Georgia,serif; }
.guest-avatar { width: 40px; height: 40px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; font: 700 16px Georgia,serif; box-shadow: 0 0 0 4px rgba(46,111,142,.08); }
.guest-avatar--small { width: 28px; height: 28px; font-size: 11px; box-shadow: none; }
.guest-card .guest-avatar { margin: 3px 0 13px; }
.guest-card.played { border-color: rgba(46,111,142,.25); background: rgba(46,111,142,.05); }
.played-badge { position: absolute; top: 10px; right: 10px; color: #2e6f8e; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.guest-card-copy { display: flex; flex-direction: column; gap: 5px; }
.guest-card-copy strong { font-size: 16px; font-weight: 600; }
.guest-card-copy small,.guest-card-tag { color: #8a8276; font-size: 11px; }
.guest-card-tag { margin-top: auto; padding-top: 14px; }
.arrow { position: absolute; right: 18px; bottom: 17px; color: #b3aa9c; font-size: 17px; }
.disclaimer { margin-top: 27px; color: #a39a8c; font-size: 11px; letter-spacing: .04em; }
.text-button { border: 0; background: none; color: #8a8276; font-size: 11px; letter-spacing: .12em; cursor: pointer; text-transform: uppercase; }
.text-button:hover { color: #c05f3e; }
.brief-layout,.result-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; align-items: center; width: min(1050px,88vw); min-height: calc(100vh - 77px); margin: auto; }
.brief-copy { padding: 60px 0; }
.identity-mark { display: grid; place-items: center; width: 63px; height: 63px; margin: 38px 0 25px; color: #fff; font: 700 26px Georgia,serif; border-radius: 50%; box-shadow: 12px 12px 0 rgba(46,111,142,.08); }
.brief-copy h1 { margin: 0; font-size: clamp(50px,7vw,90px); }
.brief-copy p { max-width: 430px; margin: 30px 0 16px; color: #6e6659; font-size: 14px; line-height: 1.8; }
.group-name { display: flex; align-items: center; gap: 10px; margin: 18px 0 36px; color: #2f2a24; }
.group-name small { color: #8a8276; font-size: 11px; }
.group-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #2e6f8e; color: #fff; font-weight: 800; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 205px; padding: 15px 17px 15px 20px; border: 1px solid #2e6f8e; background: #2e6f8e; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .2s,transform .2s; }
.primary-button:hover { transform: translateY(-2px); background: #3d86a8; }
.primary-button span { font-size: 19px; line-height: 0; }
.primary-button--ghost { border-color: rgba(46,111,142,.45); background: transparent; color: #2e6f8e; }
.primary-button--ghost:hover { background: rgba(46,111,142,.08); }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.brief-ticket { position: relative; padding: 29px 30px 32px; transform: rotate(2.5deg); background: #e8e0cc; color: #2f2a24; box-shadow: 14px 18px 0 rgba(46,111,142,.12); }
.brief-ticket::after { content: ""; position: absolute; inset: 11px; border: 1px dashed rgba(47,42,36,.3); pointer-events: none; }
.ticket-top,.ticket-data { display: flex; justify-content: space-between; position: relative; z-index: 1; font-size: 10px; letter-spacing: .12em; }
.ticket-top { color: #7d7468; }
.ticket-route { display: flex; justify-content: space-between; align-items: center; margin: 55px 10px 3px; font: 700 54px Georgia,serif; letter-spacing: -.05em; }
.ticket-route b { color: #c05f3e; font: 24px Arial,sans-serif; }
.ticket-city { margin: 0 10px; color: #7d7468; font-size: 11px; }
.ticket-line { margin: 36px 0 21px; border-top: 1px dashed rgba(47,42,36,.3); }
.ticket-data { gap: 20px; justify-content: flex-start; }
.ticket-data span { display: flex; flex-direction: column; gap: 7px; color: #7d7468; }
.ticket-data strong { color: #2f2a24; font-size: 13px; letter-spacing: .03em; }
.ticket-stamp { position: absolute; right: 42px; bottom: 25px; color: #b0533a; border: 2px solid #b0533a; padding: 5px 8px; transform: rotate(-13deg); font-size: 10px; font-weight: 800; line-height: 1.05; text-align: center; opacity: .8; }
.chat-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(300px,390px) minmax(390px,500px); justify-content: center; gap: 8vw; align-items: center; min-height: calc(100vh - 77px); padding: 40px 0; }
.phone-frame { width: 100%; min-height: 570px; overflow: hidden; border: 8px solid #d8cfba; border-radius: 25px; background: #fbf7ee; box-shadow: 0 24px 50px rgba(47,42,36,.16); }
.phone-status { display: flex; justify-content: space-between; padding: 13px 20px 8px; color: #a39a8c; font-size: 10px; }
.chat-header { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid rgba(47,42,36,.1); }
.chat-header > div { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.chat-header strong { font-size: 14px; }
.chat-header small,.more,.back { color: #8a8276; font-size: 11px; }
.back { font-size: 26px; line-height: 0; }
.more { letter-spacing: 3px; }
.chat-date { width: max-content; margin: 17px auto; padding: 5px 9px; border-radius: 12px; background: #efe7d5; color: #8a8276; font-size: 10px; }
.system-message { width: 87%; margin: 0 auto 22px; padding: 11px 14px; border: 1px solid rgba(192,95,62,.35); background: #f6e8da; color: #7c4a34; font-size: 11px; line-height: 1.65; text-align: center; opacity: 0; animation: msgIn .5s ease forwards; }
.message-row { display: flex; align-items: flex-start; gap: 9px; margin: 18px 16px; opacity: 0; animation: msgIn .5s ease forwards; }
.read-tip { width: max-content; margin: 16px auto; padding: 5px 11px; border-radius: 12px; background: #f0e8d6; color: #8a8276; font-size: 10px; opacity: 0; animation: msgIn .5s ease forwards; }
.message-row.self { justify-content: flex-end; }
.bubble-wrap { max-width: 76%; }
.bubble-wrap > span { display: block; margin: 0 0 5px 2px; color: #8a8276; font-size: 10px; }
.bubble { padding: 10px 12px; border-radius: 2px 12px 12px 12px; background: #ece5d3; color: #2f2a24; font-size: 12px; line-height: 1.5; }
.bubble-alert { background: #f3e2d4; color: #8a4a34; }
.self .bubble-wrap { text-align: right; }
.self .bubble-wrap > span { margin-right: 2px; }
.self .bubble { border-radius: 12px 2px 12px 12px; background: #2e6f8e; color: #fff; text-align: left; }
.typing { display: flex; align-items: center; gap: 3px; margin: 34px 20px 12px; color: #a39a8c; font-size: 10px; opacity: 0; animation: msgIn .5s ease forwards; }
.typing span { width: 4px; height: 4px; border-radius: 50%; background: #8a8276; }
.typing span:nth-child(2) { opacity: .7; }
.typing span:nth-child(3) { opacity: .4; }
.decision-panel { padding: 20px 0; }
.decision-panel h1 { font-size: clamp(42px,5.3vw,68px); }
.decision-copy { max-width: 420px; margin: 25px 0 28px; color: #7d7468; font-size: 14px; line-height: 1.8; }
.choice-list { display: grid; gap: 9px; }
.choice-button { display: grid; grid-template-columns: 30px 1fr 18px; gap: 10px; align-items: center; padding: 14px 13px; border: 1px solid rgba(47,42,36,.14); background: #faf6ec; color: #2f2a24; text-align: left; cursor: pointer; transition: border-color .2s,background .2s,transform .2s; }
.choice-button:hover { transform: translateX(4px); border-color: #2e6f8e; background: #fffdf6; }
.choice-button > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; }
.choice-button strong { font-size: 13px; }
.choice-button small { color: #8a8276; font-size: 11px; line-height: 1.45; }
.choice-button b { color: #c05f3e; font-size: 17px; }
.choice-icon { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(47,42,36,.25); color: #2e6f8e; font-size: 13px; }
.decision-foot { margin-top: 24px; color: #8a8276; font-size: 11px; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #c05f3e; box-shadow: 0 0 9px rgba(192,95,62,.6); }
.result-layout { align-items: start; padding: 91px 0 70px; }
.result-main h1 { font-size: clamp(40px,5vw,68px); }
.chosen-line { display: flex; align-items: center; gap: 10px; max-width: 650px; margin: 35px 0 20px; color: #7d7468; font-size: 12px; }
.chosen-line strong { color: #2f2a24; font-weight: 500; }
.result-note { display: flex; gap: 13px; max-width: 590px; margin: 24px 0 37px; padding: 15px 17px; border-left: 2px solid #c05f3e; background: rgba(192,95,62,.07); color: #8a4a34; font-size: 13px; line-height: 1.7; }
.result-note p { margin: 0; }
.note-pin { color: #c05f3e; }
.reply-thread { max-width: 470px; padding: 21px 0 12px; border-top: 1px solid rgba(47,42,36,.12); }
.thread-label { margin-bottom: 18px; color: #8a8276; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.voice-row { display: flex; gap: 10px; margin: 16px 0; }
.voice-row > div { min-width: 0; }
.voice-row strong { font-size: 12px; }
.voice-row p { margin: 5px 0 0; color: #6e6659; font-size: 12px; line-height: 1.5; }
.voice-row--sharp p,.voice-row--hurt p { color: #b0533a; }
.voice-row--warm p { color: #5f7a4a; }
.hook-line { max-width: 570px; margin: 28px 0 30px; color: #8a8276; font-size: 11px; }
.hook-line span { color: #2e6f8e; }
.journey-card { position: sticky; top: 80px; padding: 27px 25px; border: 1px solid rgba(47,42,36,.14); background: #faf6ec; }
.journey-heading { display: flex; justify-content: space-between; color: #8a8276; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.journey-heading b { color: #2e6f8e; font-weight: 500; }
.route-list { margin: 36px 0 49px; }
.route-stop { position: relative; display: flex; gap: 16px; align-items: center; height: 58px; color: #b3aa9c; }
.route-stop:not(:last-child)::after { content: ""; position: absolute; top: 35px; left: 5px; width: 1px; height: 40px; background: rgba(47,42,36,.15); }
.route-stop i { z-index: 1; width: 11px; height: 11px; border: 1px solid #b3aa9c; border-radius: 50%; background: #faf6ec; }
.route-stop.active { color: #2f2a24; }
.route-stop.active i { border-color: #c05f3e; background: #c05f3e; }
.route-stop span { display: flex; flex-direction: column; }
.route-stop small { color: #a39a8c; font-size: 9px; letter-spacing: .14em; }
.journey-quote { max-width: 260px; margin-bottom: 34px; color: #8a8276; font-size: 12px; line-height: 1.7; }
.member-strip { display: flex; gap: 12px; align-items: center; color: #8a8276; font-size: 10px; letter-spacing: .12em; }
.member-strip div { display: flex; gap: 6px; }

/* ==================== 变化明细 delta strip ==================== */
.delta-strip { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.delta-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.delta-chip.up { background: rgba(46,111,142,.1); color: #1f5c78; border: 1px solid rgba(46,111,142,.25); }
.delta-chip.down { background: rgba(192,95,62,.1); color: #a0482e; border: 1px solid rgba(192,95,62,.28); }
.delta-chip.rel-up { background: rgba(125,138,80,.12); color: #5c6a3a; border: 1px solid rgba(125,138,80,.3); }
.delta-chip.rel-down { background: rgba(176,83,58,.1); color: #a0482e; border: 1px solid rgba(176,83,58,.28); }

/* ==================== 数值面板 HUD ==================== */
.hud-btn { border: 1px solid rgba(46,111,142,.35); background: rgba(250,246,236,.9); color: #2e6f8e; font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 7px 11px; border-radius: 3px; cursor: pointer; transition: background .2s, transform .2s; }
.hud-btn:hover { background: #2e6f8e; color: #fff; transform: translateY(-1px); }
.settings-btn { width: 40px; padding: 7px 0; border: 1px solid rgba(47,42,36,.2); background: rgba(250,246,236,.9); color: #2f2a24; font-size: 15px; border-radius: 3px; cursor: pointer; transition: background .2s, transform .2s; }
.settings-btn:hover { background: #efe7d5; transform: translateY(-1px); }
.settings-panel .setting-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(47,42,36,.12); }
.settings-panel .setting-row:last-child { border-bottom: 0; }
.setting-label { font-size: 12px; font-weight: 700; color: #2f2a24; }
.setting-toggle, .setting-btn { flex: 0 0 auto; padding: 9px 14px; border: 1px solid rgba(46,111,142,.4); background: #2e6f8e; color: #fff; font-size: 11px; font-weight: 700; border-radius: 3px; cursor: pointer; transition: background .2s; }
.setting-toggle:hover, .setting-btn:hover { background: #3d86a8; }
.setting-btn--danger { border-color: rgba(192,95,62,.45); background: transparent; color: #c05f3e; }
.setting-btn--danger:hover { background: rgba(192,95,62,.08); }
.mute-btn { width: 34px; padding: 7px 0; border: 1px solid rgba(47,42,36,.2); background: rgba(250,246,236,.9); color: #2f2a24; font-size: 12px; border-radius: 3px; cursor: pointer; transition: background .2s; }
.mute-btn:hover { background: #efe7d5; }
.continue-wrap { margin: 22px 0 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.continue-btn { padding: 12px 22px; border: 1px solid #c05f3e; background: #c05f3e; color: #fff; font-size: 13px; font-weight: 700; border-radius: 3px; cursor: pointer; transition: background .2s, transform .2s; }
.continue-btn:hover { background: #d97f5c; transform: translateY(-1px); }
.continue-hint { color: #a39a8c; font-size: 10px; letter-spacing: .06em; }
.stats-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(47,42,36,.45); display: flex; align-items: center; justify-content: center; animation: fadeIn .2s ease; }
.stats-panel { position: relative; width: min(460px, 90vw); max-height: 86vh; overflow-y: auto; padding: 30px 28px 26px; background: #fdfaf2; border: 1px solid rgba(47,42,36,.16); border-radius: 4px; box-shadow: 16px 20px 0 rgba(46,111,142,.14); }
.stats-panel::after { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(47,42,36,.18); pointer-events: none; border-radius: 2px; }
.stats-head { display: flex; justify-content: space-between; align-items: baseline; position: relative; z-index: 1; border-bottom: 1px solid rgba(47,42,36,.14); padding-bottom: 14px; }
.stats-title { font: 700 22px Georgia,serif; color: #2e6f8e; letter-spacing: .02em; }
.stats-sub { color: #a39a8c; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.stats-close { position: relative; z-index: 1; border: 0; background: none; color: #8a8276; font-size: 20px; cursor: pointer; line-height: 1; }
.stats-close:hover { color: #c05f3e; }
.stats-body { position: relative; z-index: 1; margin-top: 18px; }
.stats-dim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { padding: 12px 13px; background: #f6f1e5; border: 1px solid rgba(47,42,36,.12); border-radius: 3px; }
.stat-card .stat-top { display: flex; justify-content: space-between; align-items: baseline; }
.stat-card .stat-val { font: 700 26px Georgia,serif; }
.stat-card .stat-label { font-size: 10px; color: #8a8276; letter-spacing: .1em; }
.stat-card .stat-bar { height: 4px; margin-top: 9px; border-radius: 2px; background: rgba(47,42,36,.1); overflow: hidden; }
.stat-card .stat-bar i { display: block; height: 100%; border-radius: 2px; }
.stat-heat .stat-val { color: #c05f3e; }
.stat-heat .stat-bar i { background: #c05f3e; }
.stat-rep .stat-val { color: #2e6f8e; }
.stat-rep .stat-bar i { background: #2e6f8e; }
.stat-heart .stat-val { color: #b5486e; }
.stat-heart .stat-bar i { background: #e75480; }
.stat-understand .stat-val { color: #3d5a6b; }
.stat-understand .stat-bar i { background: #5d8ca8; }
.stat-grow .stat-val { color: #5c6a3a; }
.stat-grow .stat-bar i { background: #7d8a50; }
.stats-cp { margin-top: 20px; }
.stats-cp-title { color: #c05f3e; font-size: 10px; font-weight: 800; letter-spacing: .18em; margin-bottom: 12px; }
.cp-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(47,42,36,.1); }
.cp-line:last-child { border-bottom: 0; }
.cp-line .cp-name { font-size: 11px; font-weight: 700; color: #2f2a24; }
.cp-line .cp-name small { display: block; color: #a39a8c; font-weight: 400; font-size: 9px; }
.cp-track { height: 7px; border-radius: 4px; background: rgba(47,42,36,.08); overflow: hidden; }
.cp-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #e75480, #c05f3e); transition: width .5s ease; }
.cp-track i.blue { background: linear-gradient(90deg, #5d8ca8, #2e6f8e); }
.cp-track i.green { background: linear-gradient(90deg, #7d8a50, #5c6a3a); }
.cp-track i.gold { background: linear-gradient(90deg, #d9b36a, #b8812c); }
.cp-val { font: 700 12px Georgia,serif; color: #8a8276; min-width: 54px; text-align: right; }
.cp-val em { display: block; font-style: normal; font-size: 9px; font-weight: 400; color: #a39a8c; }
.stats-note { position: relative; z-index: 1; margin-top: 18px; padding: 10px 12px; border-left: 2px solid #2e6f8e; background: rgba(46,111,142,.05); color: #5d6d76; font-size: 10px; line-height: 1.7; }

/* ==================== 游戏内置确认弹窗（替代原生 confirm） ==================== */
.confirm-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(47,42,36,.5); display: flex; align-items: center; justify-content: center; animation: fadeIn .2s ease; }
.confirm-panel { width: min(400px, 86vw); padding: 26px 24px 22px; background: #fdfaf2; border: 1px solid rgba(47,42,36,.16); border-radius: 4px; box-shadow: 14px 18px 0 rgba(46,111,142,.14); }
.confirm-msg { color: #2f2a24; font-size: 14px; line-height: 1.75; text-align: center; }
.confirm-actions { display: flex; gap: 10px; margin-top: 22px; }
.confirm-btn { flex: 1; padding: 12px 10px; border: 1px solid #2e6f8e; background: #2e6f8e; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.confirm-btn--quiet { border-color: rgba(47,42,36,.3); background: transparent; color: #6e6659; }
.confirm-btn--quiet:hover { background: rgba(47,42,36,.05); }
.confirm-btn--danger { background: #c05f3e; border-color: #c05f3e; }
.confirm-btn--danger:hover { background: #d06a4a; }

/* ==================== 结局番外 epilogue ==================== */
.epilogue-card { position: relative; margin: 20px 0 6px; padding: 15px 17px; border: 1px solid rgba(155,140,196,.3); border-left: 3px solid #9b8cc4; background: linear-gradient(135deg, rgba(155,140,196,.08), rgba(250,246,236,.6)); border-radius: 0 3px 3px 0; }
.epilogue-label { color: #6f5f9e; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.epilogue-scene { display: inline-block; margin: 7px 0 6px; padding: 3px 8px; background: rgba(155,140,196,.14); color: #6f5f9e; font-size: 9px; letter-spacing: .1em; border-radius: 2px; }
.epilogue-card p { margin: 0; color: #4c4459; font-size: 12px; line-height: 1.85; }

/* ==================== 结局定格画面 ==================== */
.finale-column { display: flex; flex-direction: column; gap: 18px; }
.finale-scene { position: relative; min-height: 340px; overflow: hidden; border: 1px solid rgba(47,42,36,.18); background: #f6f1e5; box-shadow: 14px 18px 0 rgba(46,111,142,.10); }
.finale-caption { padding: 10px 12px; border-left: 2px solid #c05f3e; background: rgba(192,95,62,.06); color: #8a4a34; font-size: 10px; line-height: 1.7; }
.finale-caption em { font-style: normal; color: #6e6659; }
/* 各结局定格元素 */
.finale-plain { background: linear-gradient(165deg,#f0c9a0,#d99a6e 55%,#b56a4a); }
.finale-plain .f-sky { position: absolute; inset: 0 0 34%; background: linear-gradient(165deg,#f7e0b8,#e8b077); }
.finale-plain .f-sun { position: absolute; top: 18%; left: 16%; width: 34px; height: 34px; border-radius: 50%; background: #fff2d0; box-shadow: 0 0 30px rgba(255,242,208,.8); }
.finale-plain .f-col { position: absolute; bottom: 34%; width: 12px; background: rgba(47,42,36,.25); }
.finale-plain .f-col::before { content: ""; position: absolute; top: -7px; left: -5px; width: 22px; height: 9px; background: rgba(47,42,36,.25); }
.c1 { left: 18%; height: 120px; } .c2 { left: 42%; height: 150px; } .c3 { right: 20%; height: 110px; }
.finale-plain .f-fig { position: absolute; bottom: 24%; width: 10px; height: 34px; background: rgba(47,42,36,.55); border-radius: 6px 6px 2px 2px; }
.f1 { left: 26%; } .f2 { left: 50%; transform: scaleX(-1); } .f3 { right: 28%; height: 28px; }
.finale-mixed { background: linear-gradient(165deg,#f6ecd9,#e8dcbe); }
.finale-mixed .f-table { position: absolute; bottom: 22%; left: 10%; right: 10%; height: 26px; border-radius: 50%; background: #8a6a52; }
.finale-mixed .f-pot { position: absolute; bottom: 34%; left: 50%; width: 26px; height: 20px; margin-left: -13px; border-radius: 6px 6px 4px 4px; background: #b99a76; }
.finale-mixed .f-pot::before { content: ""; position: absolute; top: -8px; left: 7px; width: 12px; height: 8px; border-radius: 50%; background: #c9ab87; }
.finale-mixed .f-steam { position: absolute; bottom: 52%; width: 5px; height: 16px; border-left: 2px solid rgba(192,95,62,.5); border-radius: 50%; }
.s1 { left: 47%; } .s2 { left: 53%; }
.finale-mixed .f-cup { position: absolute; bottom: 27%; width: 14px; height: 10px; border-radius: 2px 2px 4px 4px; background: #d9c39a; }
.u1 { left: 22%; } .u2 { left: 66%; } .u3 { right: 18%; }
.finale-love { background: linear-gradient(165deg,#cfe3ee,#8db8d4 55%,#5d8ca8); }
.finale-love .f-sea { position: absolute; inset: 46% 0 0; background: linear-gradient(165deg,#4a7f9e,#2e5c78); }
.finale-love .f-house { position: absolute; bottom: 30%; left: 16%; width: 86px; height: 66px; background: #efe3c8; }
.finale-love .f-roof { position: absolute; bottom: 54%; left: 12%; width: 94px; height: 30px; background: #c05f3e; clip-path: polygon(50% 0,100% 100%,0 100%); }
.finale-love .f-chimney { position: absolute; bottom: 62%; left: 32%; width: 9px; height: 22px; background: #b99a76; }
.finale-love .f-sail { position: absolute; bottom: 30%; right: 18%; width: 26px; height: 52px; background: #f7f1e2; clip-path: polygon(0 0,100% 14%,100% 100%,0 86%); }
.finale-love .f-shoes { position: absolute; bottom: 22%; width: 16px; height: 6px; border-radius: 6px 6px 2px 2px; background: #5d4638; }
.sh1 { left: 22%; } .sh2 { left: 34%; background: #8a4a34; }
.finale-heal { background: linear-gradient(165deg,#332b22,#1d1914); }
.finale-heal .f-glow { position: absolute; bottom: 12%; left: 8%; width: 130px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(240,160,80,.45), transparent 65%); }
.finale-heal .f-door { position: absolute; bottom: 8%; left: 30%; width: 64px; height: 100px; border-radius: 32px 32px 0 0; background: #6a5040; }
.finale-heal .f-door::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 44px; height: 74px; background: #241d14; transform: translateX(-50%); border-radius: 22px 22px 0 0; }
.finale-heal .f-owl { position: absolute; top: 20%; right: 16%; width: 30px; height: 24px; border-radius: 50% 50% 46% 46%; background: #8a8276; }
.finale-heal .f-ring { position: absolute; top: 24%; right: 14%; width: 8px; height: 8px; border: 2px solid #d9b36a; border-radius: 50%; transform: rotate(30deg); }
.finale-grow { background: linear-gradient(165deg,#f6ecd9,#e8dcc0); }
.finale-grow .f-stall { position: absolute; bottom: 12%; left: 14%; width: 40%; height: 120px; background: #c9ab87; clip-path: polygon(0 100%,0 22%,14% 22%,14% 0,100% 0,100% 100%); }
.finale-grow .f-parasol { position: absolute; bottom: 64%; left: 30%; width: 76px; height: 40px; border-radius: 50% 50% 6% 6%; background: #c05f3e; }
.finale-grow .f-crowd { position: absolute; bottom: 10%; width: 10px; height: 34px; background: rgba(47,42,36,.4); border-radius: 6px 6px 2px 2px; }
.cr1 { left: 60%; } .cr2 { left: 68%; height: 28px; } .cr3 { right: 14%; height: 31px; }
.finale-dark { background: linear-gradient(165deg,#141722,#0a0c12); }
.finale-dark .f-black { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(40,44,60,.6), transparent 60%), linear-gradient(165deg,#0c0e14,#050609); }
.finale-dark .f-ripple { position: absolute; top: 48%; left: 50%; width: 120px; height: 26px; margin-left: -60px; border: 2px solid rgba(140,160,180,.25); border-radius: 50%; }
.finale-dark .f-ripple::after { content: ""; position: absolute; top: 8px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border: 2px solid rgba(140,160,180,.15); border-radius: 50%; }
.finale-dark .f-seal { position: absolute; top: 54%; left: 50%; width: 26px; height: 34px; margin-left: -13px; background: #c9a25a; border-radius: 3px; transform: rotate(24deg); opacity: .7; }
.finale-dark .finale-caption { border-left-color: #6a7a86; background: rgba(90,100,120,.08); color: #aec4cc; }
.finale-dark .finale-caption em { color: #7a9098; }

/* 真相揭示卡 */
.truth-reveal { margin: 14px 0 18px; padding: 12px 15px; border: 1px dashed rgba(192,95,62,.5); background: rgba(192,95,62,.05); color: #8a4a34; }
.truth-reveal span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; margin-bottom: 6px; }
.truth-reveal p { margin: 0; font-size: 12px; line-height: 1.7; }

/* 援军情报板 */
.reinf-board { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(125,138,80,.4); background: rgba(125,138,80,.07); border-left: 3px solid #7d8a50; }
.reinf-title { color: #5c6a3a; font-size: 10px; font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; }
.reinf-item { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.reinf-item > span { font-size: 15px; }
.reinf-item strong { display: block; font-size: 11px; color: #4a5530; }
.reinf-item small { display: block; margin-top: 2px; color: #7d8068; font-size: 10px; line-height: 1.5; }
.reinf-board--empty { border-color: rgba(47,42,36,.16); background: rgba(47,42,36,.03); border-left-color: #b3aa9c; }
.reinf-board--empty .reinf-title { color: #8a8276; }
.reinf-board--empty p { margin: 0; color: #8a8276; font-size: 11px; line-height: 1.6; }
.reinf-board--empty strong { color: #c05f3e; }

/* 即时弹幕 */
.reaction-thread { margin: 12px 0 0; padding: 11px 13px; border: 1px solid rgba(46,111,142,.2); background: rgba(46,111,142,.05); border-radius: 0 3px 3px 0; }
.reaction-label { display: block; color: #2e6f8e; font-size: 9px; font-weight: 800; letter-spacing: .16em; margin-bottom: 7px; }
.reaction-line { padding: 4px 0; color: #4a5a68; font-size: 11px; line-height: 1.6; }
.reaction-line + .reaction-line { border-top: 1px dashed rgba(46,111,142,.12); }

/* 案件板跳转 */
.skip-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.skip-btn { padding: 10px 16px; border: 1px dashed rgba(192,95,62,.5); background: transparent; color: #c05f3e; font-size: 11px; font-weight: 700; border-radius: 3px; cursor: pointer; transition: background .2s; }
.skip-btn:hover { background: rgba(192,95,62,.08); }
.skip-hint { color: #a39a8c; font-size: 10px; }

/* 星光心声板 */
.star-voices { margin: 20px 0 0; padding: 15px 16px; border: 1px solid rgba(155,140,196,.3); background: rgba(155,140,196,.06); border-left: 3px solid #9b8cc4; border-radius: 0 3px 3px 0; }
.star-voices-title { color: #6f5f9e; font-size: 10px; font-weight: 800; letter-spacing: .16em; margin-bottom: 10px; }
.sv-line { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed rgba(155,140,196,.18); }
.sv-line:last-child { border-bottom: 0; }
.sv-line p { margin: 0; color: #4c4459; font-size: 12px; line-height: 1.6; }

/* 战争备忘录（主题锚定） */
.war-memo { margin: 0 0 14px; padding: 9px 13px; border-left: 3px solid #b3aa9c; background: rgba(179,170,156,.1); color: #6e6659; font-size: 11px; line-height: 1.6; }

/* HUD 角色档案 */
.stats-arch { margin-top: 20px; }
.arch-card { padding: 12px 13px; margin-bottom: 9px; border: 1px solid rgba(47,42,36,.12); background: #f6f1e5; border-radius: 3px; }
.arch-head { display: flex; gap: 10px; align-items: center; margin-bottom: 9px; }
.arch-head strong { font-size: 13px; }
.arch-head small { display: block; color: #8a8276; font-size: 9px; margin-top: 2px; }
.arch-psy { display: grid; grid-template-columns: 40px 1fr; gap: 3px 8px; }
.arch-psy span { color: #c05f3e; font-size: 9px; font-weight: 800; }
.arch-psy p { margin: 0; color: #6e6659; font-size: 10px; line-height: 1.55; }

/* ==================== 排行榜 & 成就 ==================== */
.stats-actions { display: flex; gap: 8px; margin-top: 18px; }
.rank-open-btn { flex: 1; padding: 10px 12px; border: 1px solid rgba(46,111,142,.4); background: #2e6f8e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; border-radius: 3px; cursor: pointer; transition: background .2s, transform .2s; }
.rank-open-btn:hover { background: #3d86a8; transform: translateY(-1px); }
.rank-open-btn--quiet { background: #f6f1e5; color: #2e6f8e; }
.rank-open-btn--quiet:hover { background: #efe7d5; }
.stats-ach { margin-top: 18px; }
.ach-item { display: flex; gap: 10px; align-items: center; padding: 7px 4px; border-bottom: 1px dashed rgba(47,42,36,.12); opacity: .5; }
.ach-item.got { opacity: 1; }
.ach-item > span { font-size: 15px; width: 22px; text-align: center; }
.ach-item > div { min-width: 0; }
.ach-item strong { font-size: 11px; font-weight: 700; color: #2f2a24; }
.ach-item.got strong { color: #6f5f9e; }
.ach-item small { display: block; color: #a39a8c; font-size: 9px; margin-top: 2px; }
.rank-mine { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 13px; background: rgba(46,111,142,.08); border: 1px solid rgba(46,111,142,.22); border-radius: 3px; margin-bottom: 9px; }
.rank-mine span { color: #2e6f8e; font-size: 11px; font-weight: 700; }
.rank-mine strong { font: 700 22px Georgia,serif; color: #2e6f8e; }
.rank-mypos { padding: 8px 13px; margin-bottom: 9px; background: rgba(192,95,62,.07); border-left: 2px solid #c05f3e; color: #8a4a34; font-size: 11px; }
.rank-loading, .rank-empty { padding: 22px 14px; text-align: center; color: #8a8276; font-size: 12px; line-height: 1.8; }
.rank-empty strong { color: #c05f3e; }
.rank-list { margin-top: 4px; }
.rank-item { display: grid; grid-template-columns: 34px 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 6px; border-bottom: 1px solid rgba(47,42,36,.1); }
.rank-item .rank-no { font: 700 14px Georgia,serif; color: #b3aa9c; text-align: center; }
.rank-item:first-child .rank-no { color: #c9a24b; }
.rank-item:nth-child(2) .rank-no { color: #8a94a4; }
.rank-item:nth-child(3) .rank-no { color: #b8812c; }
.rank-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #efe7d5; }
.rank-avatar--blank { display: grid; place-items: center; font-size: 12px; color: #b3aa9c; }
.rank-name { font-size: 12px; color: #2f2a24; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-item strong { font: 700 14px Georgia,serif; color: #c05f3e; }
.rank-note { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(47,42,36,.16); color: #a39a8c; font-size: 9px; line-height: 1.6; }

/* ==================== 神话小传 myth card ==================== */
.myth-card { margin: 18px 0 0; padding: 13px 15px; border: 1px solid rgba(46,111,142,.22); border-left: 2px solid #2e6f8e; background: rgba(46,111,142,.05); border-radius: 0 3px 3px 0; }
.myth-card summary { list-style: none; cursor: pointer; outline: none; }
.myth-card summary::-webkit-details-marker { display: none; }
.myth-card summary:hover { opacity: .8; }
.myth-card[open] { background: rgba(46,111,142,.07); }
.myth-label { display: block; color: #2e6f8e; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.myth-card p { margin: 10px 0 0; color: #5d6d76; font-size: 12px; line-height: 1.75; }
.myth-card p em { color: #c05f3e; font-style: normal; font-weight: 700; }

/* ==================== 迷你群聊组件（对话群聊化 + 逐条弹出） ==================== */
.mini-chat { width: 100%; overflow: hidden; border: 6px solid #d8cfba; border-radius: 18px; background: #fbf7ee; box-shadow: 0 14px 34px rgba(47,42,36,.14); }
.mini-chat-header { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-bottom: 1px solid rgba(47,42,36,.1); background: #f6f1e5; }
.mini-chat-header span { font-size: 16px; }
.mini-chat-header strong { font-size: 12px; }
.mini-chat-header small { margin-left: auto; color: #a39a8c; font-size: 9px; }
.mini-chat-body { padding: 12px 12px 14px; }
.msg-item { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; opacity: 0; animation: msgIn .5s ease forwards; }
.msg-item.mine { justify-content: flex-end; }
.msg-wrap { max-width: 78%; min-width: 0; }
.msg-name { display: block; margin: 0 0 3px 2px; color: #8a8276; font-size: 9px; }
.msg-bubble { padding: 9px 12px; border-radius: 2px 12px 12px 12px; background: #ece5d3; color: #2f2a24; font-size: 12px; line-height: 1.6; }
.msg-item.mine .msg-name { text-align: right; margin-right: 2px; }
.msg-item.mine .msg-bubble { border-radius: 12px 2px 12px 12px; background: #2e6f8e; color: #fff; text-align: left; }
.msg-item.sys { justify-content: center; }
.msg-item.sys .msg-bubble { background: #f6e8da; border: 1px solid rgba(192,95,62,.35); color: #7c4a34; border-radius: 12px; font-size: 11px; }
.mini-typing { display: flex; align-items: center; gap: 4px; margin: 2px 0 0 30px; color: #a39a8c; font-size: 9px; opacity: 0; animation: msgIn .5s ease forwards; }
.mini-typing i { width: 4px; height: 4px; border-radius: 50%; background: #8a8276; animation: typingDot 1.2s infinite ease-in-out; }
.mini-typing i:nth-child(2) { animation-delay: .2s; }
.mini-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes typingDot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* 群聊化弹幕 */
.reaction-thread { margin: 12px 0 0; padding: 12px 12px; border: 1px solid rgba(46,111,142,.2); background: rgba(250,246,236,.9); border-radius: 0 3px 3px 0; }
.reaction-label { display: block; color: #2e6f8e; font-size: 9px; font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; }
.reaction-line { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 9px; opacity: 0; animation: msgIn .5s ease forwards; }
.reaction-line:last-child { margin-bottom: 0; }
.reaction-line .msg-bubble { font-size: 11px; }

/* 档案神联络人 */
.arch-note { margin: 16px 0 0; padding: 11px 14px; border: 1px dashed rgba(125,138,80,.5); background: rgba(125,138,80,.06); border-radius: 0 3px 3px 0; }
.arch-note span { display: block; color: #5c6a3a; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 5px; }
.arch-note p { margin: 0; color: #6e7258; font-size: 11px; line-height: 1.7; }

/* ==================== 神界篇 CouncilScene ==================== */
.council-shell { min-height: 100vh; position: relative; overflow: hidden; background: #efe8d8; color: #2f2a24; }
.council-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 0%, rgba(46,111,142,.10), transparent 32%), radial-gradient(circle at 0% 80%, rgba(125,138,80,.08), transparent 38%); }
.council-grain { position: absolute; inset: 0; opacity: .05; pointer-events: none; background-color: #000; mix-blend-mode: multiply; }
.council-topbar { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding: 25px 5.5vw; border-bottom: 1px solid rgba(47,42,36,.12); color: #8a8276; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.council-brand { margin-right: auto; color: #2e6f8e; font-weight: 700; letter-spacing: .18em; }
.council-meta { color: #8a8276; }
.council-reset { border: 0; background: none; color: #8a8276; font-size: 11px; cursor: pointer; }
.council-reset:hover { color: #c05f3e; }
.council-head { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; width: min(1120px, 88vw); margin: 0 auto; padding: 77px 0 25px; }
.council-kicker { color: #c05f3e; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.council-head h1 { max-width: 800px; margin: 15px 0 0; font-size: clamp(37px, 5.6vw, 72px); }
.stage-mark { display: flex; align-items: baseline; color: #2e6f8e; font: 54px Georgia,serif; }
.stage-mark small { color: #b3aa9c; font: 15px Arial,sans-serif; }
.council-progress { position: relative; z-index: 1; display: flex; align-items: center; width: min(1120px, 88vw); margin: 0 auto; padding-bottom: 20px; color: #b3aa9c; font-size: 10px; letter-spacing: .08em; }
.council-progress span.done { color: #2e6f8e; }
.council-progress i { width: 32px; height: 1px; margin: 0 11px; background: rgba(47,42,36,.18); }
.step-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(340px, 1fr) minmax(390px, .9fr); gap: 8vw; align-items: center; width: min(1120px, 88vw); min-height: 500px; margin: 0 auto; padding: 25px 0 70px; }
.step-copy { padding: 25px 0; }
.step-copy h2,.aftermath-copy h2 { margin: 16px 0 22px; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -.05em; font-weight: 400; }
.step-copy h2 em,.aftermath-copy h2 em { color: #2e6f8e; font-family: Georgia,serif; font-style: italic; }
.step-copy p,.aftermath-copy > p { max-width: 465px; margin: 0 0 24px; color: #6e6659; font-size: 14px; line-height: 1.8; }
.council-choices { display: grid; gap: 9px; }
.council-choice { display: grid; grid-template-columns: 34px 1fr 22px; gap: 12px; align-items: center; padding: 13px 15px; border: 1px solid rgba(47,42,36,.16); background: #faf6ec; color: #2f2a24; text-align: left; cursor: pointer; transition: .2s ease; }
.council-choice:hover,.council-choice.selected { border-color: #2e6f8e; background: #fffdf6; transform: translateX(4px); }
.council-choice.selected { box-shadow: inset 3px 0 #2e6f8e; }
.council-choice span:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.council-choice strong { font-size: 13px; font-weight: 600; }
.council-choice small { color: #8a8276; font-size: 11px; line-height: 1.4; }
.council-choice b { color: #c05f3e; font-size: 17px; }
.choice-index { color: #b3aa9c; font: 12px Georgia,serif; }
.choice-result { max-width: 480px; margin: 17px 0; padding: 13px 15px; border-left: 2px solid #c05f3e; background: rgba(192,95,62,.06); color: #7c4a34; font-size: 12px; line-height: 1.7; }
.council-next { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 210px; margin-top: 5px; padding: 14px 16px 14px 19px; border: 1px solid #2e6f8e; background: #2e6f8e; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.council-next:hover:not(:disabled) { background: #3d86a8; }
.council-next:disabled { border-color: #d8d0bf; background: #efe7d5; color: #b3aa9c; cursor: not-allowed; }
.council-next span { font-size: 19px; line-height: 0; }
.council-next--quiet { border-color: rgba(47,42,36,.3); background: transparent; color: #2e6f8e; }
.council-next--quiet:hover { background: rgba(46,111,142,.08); }

/* ==================== 神界场景插画（纯CSS · 明亮地中海风） ==================== */
.apple-visual,.feast-visual,.oracle-visual,.hall-visual { position: relative; min-height: 475px; overflow: hidden; border: 1px solid rgba(47,42,36,.18); background: #fdfaf2; box-shadow: 14px 20px 0 rgba(46,111,142,.10); }
.visual-caption { position: absolute; z-index: 2; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; color: #6e6659; font-size: 9px; letter-spacing: .15em; }
/* 金苹果之争：蓝天 + 白大理石柱 + 金苹果 */
.apple-sky { position: absolute; inset: 0 0 42%; overflow: hidden; background: linear-gradient(160deg,#cfe3ee,#9cc3d8 55%,#6fa3bf); }
.apple-sun { position: absolute; top: 58px; right: 16%; width: 48px; height: 48px; border-radius: 50%; background: #f7dd9a; box-shadow: 0 0 40px rgba(247,221,154,.7); }
.apple-cloud { position: absolute; height: 22px; border-radius: 30px; background: rgba(255,255,255,.65); }
.cloud-a { top: 100px; left: 8%; width: 140px; }
.cloud-b { top: 170px; right: 9%; width: 180px; opacity: .5; }
.apple-pillar { position: absolute; bottom: 30%; width: 26px; background: linear-gradient(180deg,#f2ecdc,#d8cfba); }
.pillar-l { left: 12%; height: 210px; }
.pillar-r { right: 12%; height: 210px; }
.apple-pillar::before { content: ""; position: absolute; top: -16px; left: -7px; width: 40px; height: 18px; background: #f2ecdc; }
.apple-halo { position: absolute; bottom: 20%; width: 46px; height: 46px; border-radius: 50%; background: var(--halo); opacity: .3; filter: blur(3px); box-shadow: 0 0 34px var(--halo); }
.halo-a { left: 24%; bottom: 30%; }
.halo-b { left: 50%; bottom: 24%; margin-left: -23px; }
.halo-c { right: 24%; bottom: 30%; }
.apple-golden { position: absolute; z-index: 2; top: 43%; left: calc(50% - 21px); width: 42px; height: 46px; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: radial-gradient(circle at 34% 28%, #fff3cf, #e8b64c 55%, #b8812c); box-shadow: 0 0 38px rgba(232,182,76,.65); }
.apple-golden::before { content: ""; position: absolute; top: -9px; left: 50%; width: 2px; height: 12px; background: #8a6a3a; }
.apple-golden::after { content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 6px; border-left: 2px solid #7a5f33; border-radius: 50%; transform: rotate(-18deg); }
.apple-caption { position: absolute; z-index: 3; right: 21px; bottom: 23px; color: #2f2a24; font: 21px Georgia,serif; line-height: 1.45; text-align: right; }
.apple-caption small { color: #6e6659; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 宴会修罗场：暖木长桌 + 金杯 + 碎杯 */
.feast-visual { background: radial-gradient(circle at 50% 12%, rgba(240,196,130,.25), transparent 30%), #f6ecd9; }
.feast-lamp { position: absolute; top: 48px; left: calc(50% - 4px); width: 8px; height: 118px; background: #9a7c5e; }
.feast-lamp::after { content: ""; position: absolute; top: 92px; left: -42px; width: 92px; height: 52px; border-radius: 50%; background: #f0c482; box-shadow: 0 0 74px 26px rgba(240,196,130,.45); }
.feast-table { position: absolute; right: 6%; bottom: 34%; left: 6%; height: 96px; border-radius: 50%; background: #8a6a52; box-shadow: 0 19px 0 #6b5040; transform: rotate(-3deg); }
.feast-goblet { position: absolute; width: 20px; height: 26px; border: 2px solid #d9b36a; background: rgba(217,179,106,.25); }
.goblet-a { top: 6px; left: 16%; }
.goblet-b { top: 16px; right: 18%; }
.goblet-c { top: 22px; left: 46%; }
.feast-fruit { position: absolute; width: 30px; height: 30px; border: 6px solid #b89a76; border-radius: 50%; background: #e8dcc0; }
.fruit-a { top: 4px; left: 30%; }
.fruit-b { top: 10px; right: 34%; }
.feast-crack { position: absolute; right: 9%; bottom: 38%; width: 26px; height: 30px; border: 2px solid #c05f3e; border-radius: 6px 10px 14px 8px; transform: rotate(24deg); opacity: .9; }
.feast-crack::after { content: ""; position: absolute; top: -7px; left: 5px; width: 2px; height: 14px; background: #c05f3e; transform: rotate(38deg); box-shadow: 9px 4px 0 -1px #c05f3e; }
.feast-shard { position: absolute; width: 10px; height: 12px; background: rgba(217,179,106,.7); clip-path: polygon(0 0,100% 20%,60% 100%); }
.shard-a { right: 22%; bottom: 36%; transform: rotate(40deg); }
.shard-b { right: 13%; bottom: 32%; transform: rotate(-20deg); }
.feast-caption { position: absolute; z-index: 2; right: 24px; bottom: 24px; color: #2f2a24; font: 20px/1.5 Georgia,serif; text-align: right; }
/* 神谕误传：德尔斐石殿 + 三脚架 + 烟雾 */
.oracle-visual { background: linear-gradient(160deg,#efe8da,#e4dbc7); }
.oracle-tripod { position: absolute; top: 110px; left: calc(50% - 26px); width: 52px; height: 120px; }
.oracle-tripod::before { content: ""; position: absolute; top: 0; left: 50%; width: 44px; height: 30px; border-radius: 50%; background: #9a8a6e; transform: translateX(-50%); }
.oracle-fire { position: absolute; top: 24px; left: 50%; width: 26px; height: 34px; margin-left: -13px; background: radial-gradient(circle at 50% 70%, #ffe9a8, #f0a94e 55%, #c96a34); filter: blur(1px); animation: oracleFlick 1.6s ease-in-out infinite alternate; }
@keyframes oracleFlick { from { transform: scaleY(.92); } to { transform: scaleY(1.08); } }
.oracle-leg { position: absolute; bottom: 0; width: 9px; height: 86px; background: #8a7a5e; transform-origin: top; }
.leg-a { left: 0; transform: rotate(14deg); }
.leg-b { right: 0; transform: rotate(-14deg); }
.oracle-slate { position: absolute; top: 120px; right: 12%; width: 74px; height: 96px; padding: 12px 9px; background: #d8cfba; color: #5d5548; font: 9px Georgia,serif; line-height: 1.7; box-shadow: 6px 7px 0 rgba(47,42,36,.14); transform: rotate(4deg); }
.oracle-slate i { display: block; width: 100%; height: 3px; margin: 5px 0; background: rgba(93,85,72,.4); }
.oracle-slate b { display: block; margin-top: 8px; color: #c05f3e; font-size: 10px; letter-spacing: .14em; }
.oracle-smoke { position: absolute; top: 60px; left: 22%; width: 110px; height: 150px; background: radial-gradient(circle, rgba(46,111,142,.10), transparent 60%); filter: blur(8px); animation: smokeDrift 4s ease-in-out infinite alternate; }
@keyframes smokeDrift { from { transform: translateX(0) scaleY(1); opacity: .7; } to { transform: translateX(14px) scaleY(1.15); opacity: 1; } }
.oracle-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; color: #2f2a24; font: 21px Georgia,serif; text-align: right; }
.oracle-caption small { display: block; color: #6e6659; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 爱神失踪：白色神殿 + 飘落玫瑰 */
.hall-visual { background: linear-gradient(160deg,#f8eef2,#f0dfe6); }
.hall-arch { position: absolute; top: 80px; left: 50%; width: 200px; height: 230px; border: 3px solid #d9b8c4; border-bottom: 0; border-radius: 110px 110px 0 0; transform: translateX(-50%); }
.hall-arch::before { content: ""; position: absolute; inset: 14px 14px 0; border: 1px dashed rgba(192,95,62,.3); border-bottom: 0; border-radius: 96px 96px 0 0; }
.hall-glow { position: absolute; top: 96px; left: 50%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(231,84,128,.25), transparent 65%); transform: translateX(-50%); filter: blur(2px); }
.hall-petal { position: absolute; width: 10px; height: 10px; border-radius: 100% 0 100% 0; background: #e75480; opacity: .55; animation: petalFall 5s linear infinite; }
.petal-a { left: 22%; top: -20px; animation-delay: 0s; }
.petal-b { left: 64%; top: -20px; animation-delay: 1.7s; }
.petal-c { left: 42%; top: -20px; animation-delay: 3.1s; }
@keyframes petalFall { to { transform: translateY(560px) rotate(320deg); opacity: 0; } }
.hall-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; color: #8a4a62; font: 21px Georgia,serif; text-align: right; }
.hall-caption small { display: block; color: #b08a98; font: 10px Arial,sans-serif; letter-spacing: .12em; }
.visual-note { position: absolute; z-index: 2; right: 20px; bottom: 20px; max-width: 240px; color: #8a8276; font-size: 11px; line-height: 1.7; text-align: right; }
.visual-note strong { color: #2e6f8e; }

/* ==================== 后果页 aftermath ==================== */
.aftermath-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(390px, .95fr) minmax(340px, .75fr); gap: 9vw; align-items: center; width: min(1030px, 88vw); min-height: calc(100vh - 210px); margin: 0 auto; padding-bottom: 60px; }
.consequence-list { margin: 28px 0; border-top: 1px solid rgba(47,42,36,.14); }
.consequence-list > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; padding: 15px 0; border-bottom: 1px solid rgba(47,42,36,.14); }
.consequence-list span { color: #c05f3e; font: 12px Georgia,serif; }
.consequence-list strong { font-size: 13px; font-weight: 500; }
.consequence-list small { grid-column: 2; margin-top: 5px; color: #8a8276; font-size: 11px; }
.aftermath-chat { margin: 25px 0 30px; padding: 14px 16px; border-left: 2px solid #2e6f8e; background: rgba(46,111,142,.06); }
.aftermath-chat span { color: #2e6f8e; font-size: 10px; }
.aftermath-chat p { margin: 8px 0 13px; color: #3d5a6b; font-size: 12px; }
.aftermath-card { position: relative; padding: 28px 25px; background: #e8e0cc; color: #2f2a24; box-shadow: 14px 18px 0 rgba(46,111,142,.12); transform: rotate(2.2deg); }
.card-top { color: #7d7468; font-size: 10px; letter-spacing: .14em; }
.card-big { margin: 65px 0 4px; font: 700 65px Georgia,serif; letter-spacing: -.06em; }
.card-route { color: #7d7468; font-size: 10px; line-height: 1.7; }
.card-line { margin: 29px 0 18px; border-top: 1px dashed rgba(47,42,36,.3); }
.card-foot { display: flex; justify-content: space-between; color: #7d7468; font-size: 9px; }
.card-foot b { display: block; margin-top: 6px; color: #2f2a24; font-size: 12px; }
.card-stamp { position: absolute; right: 30px; bottom: 65px; padding: 5px 7px; border: 2px solid #b0533a; color: #b0533a; font-size: 10px; font-weight: 800; line-height: 1.1; text-align: center; transform: rotate(-12deg); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==================== 凡间篇 EarthScene ==================== */
.earth-shell { min-height: 100vh; position: relative; overflow: hidden; background: #f1ead9; color: #2f2a24; }
.earth-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 86% 13%, rgba(192,95,62,.10), transparent 28%), radial-gradient(circle at 5% 76%, rgba(46,111,142,.08), transparent 33%); }
.earth-grain { position: absolute; inset: 0; opacity: .05; pointer-events: none; background-color: #000; mix-blend-mode: multiply; }
.earth-topbar { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding: 25px 5.5vw; border-bottom: 1px solid rgba(47,42,36,.12); color: #8a8276; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.earth-brand { margin-right: auto; color: #2e6f8e; font-weight: 700; letter-spacing: .18em; }
.earth-meta { color: #b0533a; }
.earth-reset { border: 0; background: none; color: #8a8276; font-size: 11px; cursor: pointer; }
.earth-reset:hover { color: #c05f3e; }
.earth-title { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; width: min(1120px,88vw); margin: auto; padding: 70px 0 24px; }
.earth-kicker { color: #c05f3e; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.earth-title h1 { max-width: 800px; margin: 15px 0 0; font-size: clamp(39px,5.5vw,70px); }
.earth-title h1 em { color: #2e6f8e; font-family: Georgia,serif; font-style: italic; font-weight: 400; }
.earth-count { color: #2e6f8e; font: 54px Georgia,serif; }
.earth-count small { color: #b3aa9c; font: 14px Arial,sans-serif; }
.earth-progress { position: relative; z-index: 1; display: flex; align-items: center; width: min(1120px,88vw); margin: auto; padding-bottom: 20px; color: #b3aa9c; font-size: 10px; letter-spacing: .08em; }
.earth-progress span.done { color: #2e6f8e; }
.earth-progress i { width: 28px; height: 1px; margin: 0 10px; background: rgba(47,42,36,.18); }
.earth-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(350px,1fr) minmax(390px,.92fr); gap: 8vw; align-items: center; width: min(1120px,88vw); min-height: 510px; margin: auto; padding: 22px 0 70px; }
.earth-copy { padding: 20px 0; }
.earth-copy h2 { margin: 16px 0 22px; font-size: clamp(35px,4.15vw,58px); line-height: 1.1; letter-spacing: -.05em; font-weight: 400; }
.earth-copy h2 em { color: #2e6f8e; font-family: Georgia,serif; font-style: italic; }
.earth-copy > p { max-width: 465px; margin: 0 0 25px; color: #6e6659; font-size: 14px; line-height: 1.8; }
.earth-next { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 210px; margin-top: 6px; padding: 14px 16px 14px 19px; border: 1px solid #2e6f8e; background: #2e6f8e; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.earth-next:hover:not(:disabled) { background: #3d86a8; }
.earth-next:disabled { border-color: #d8d0bf; background: #efe7d5; color: #b3aa9c; cursor: not-allowed; }
.earth-next span { font-size: 18px; }
.earth-next--quiet { border-color: rgba(47,42,36,.3); background: transparent; color: #2e6f8e; }
.earth-next--quiet:hover { background: rgba(46,111,142,.08); }
.earth-choices { display: grid; gap: 9px; }
.earth-choice { position: relative; display: grid; grid-template-columns: 30px 1fr 18px; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid rgba(47,42,36,.16); background: #faf6ec; color: #2f2a24; text-align: left; cursor: pointer; transition: .2s ease; }
.earth-choice:hover,.earth-choice.selected { border-color: #2e6f8e; background: #fffdf6; transform: translateX(4px); }
.earth-choice.selected { box-shadow: inset 3px 0 #2e6f8e; }
.earth-choice > span { color: #b3aa9c; font: 12px Georgia,serif; }
.earth-choice > strong,.earth-choice > small { grid-column: 2; }
.earth-choice strong { font-size: 12px; font-weight: 600; }
.earth-choice small { margin-top: 1px; color: #8a8276; font-size: 10px; line-height: 1.45; }
.earth-choice b { grid-column: 3; grid-row: 1 / span 2; color: #c05f3e; font-size: 17px; }
.earth-result { margin: 14px 0; padding: 12px 14px; border-left: 2px solid #c05f3e; background: rgba(192,95,62,.06); color: #7c4a34; font-size: 11px; line-height: 1.65; }

/* ==================== 凡间场景插画 ==================== */
.echo-card,.war-visual,.troy-visual,.horse-visual,.heart-visual,.grip-visual,.cp-visual,.starlight-visual,.styx-visual { position: relative; min-height: 465px; overflow: hidden; border: 1px solid rgba(47,42,36,.18); background: #fdfaf2; box-shadow: 14px 20px 0 rgba(46,111,142,.10); }
.echo-card { padding: 27px 25px; background: linear-gradient(135deg,#faf6ec,#efe7d5); }
.echo-label { color: #c05f3e; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.echo-thread { display: flex; gap: 13px; margin-top: 63px; padding-bottom: 25px; border-bottom: 1px solid rgba(47,42,36,.14); }
.echo-thread--dim { margin-top: 24px; opacity: .72; }
.echo-dot { width: 10px; height: 10px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #c05f3e; box-shadow: 0 0 13px rgba(192,95,62,.5); }
.echo-thread--dim .echo-dot { background: #2e6f8e; box-shadow: 0 0 13px rgba(46,111,142,.5); }
.echo-thread small { color: #8a8276; font-size: 10px; }
.echo-thread p { max-width: 290px; margin: 9px 0 0; color: #2f2a24; font-size: 15px; line-height: 1.6; }
.echo-thread--dim p { color: #6e6659; font-size: 12px; }
.echo-ticket { position: absolute; right: 25px; bottom: 23px; left: 25px; display: grid; gap: 6px; padding: 15px 17px; border-left: 2px solid #2e6f8e; background: rgba(46,111,142,.06); }
.echo-ticket span,.echo-ticket small { color: #8a8276; font-size: 9px; letter-spacing: .13em; }
.echo-ticket strong { color: #2e6f8e; font: 23px Georgia,serif; }
/* 金苹果之战：黄昏战场 + 白色特洛伊城 */
.war-visual { background: linear-gradient(160deg,#f7e3cc,#ecd0b0); }.war-sky { position: absolute; inset: 0 0 45%; overflow: hidden; background: linear-gradient(160deg,#f0b27a,#d98a5f 55%,#b56a4a); }
.war-sun { position: absolute; top: 52px; left: 18%; width: 52px; height: 52px; border-radius: 50%; background: #f7d9a0; box-shadow: 0 0 36px rgba(247,217,160,.7); }
.war-city { position: absolute; right: 6%; bottom: 34%; width: 34%; height: 130px; background: linear-gradient(180deg,#efe7d2,#cdbfa4); clip-path: polygon(0 100%,0 28%,12% 28%,12% 12%,26% 12%,26% 34%,46% 34%,46% 0,62% 0,62% 30%,100% 30%,100% 100%); }
.war-city::after { content: ""; position: absolute; top: -26px; left: 12%; width: 74%; height: 30px; background: #f2ecd9; }
.war-ground { position: absolute; inset: 55% 0 0; background: linear-gradient(180deg,#c9a482,#a58362); }
.war-spear { position: absolute; bottom: 8%; width: 3px; height: 120px; background: #6e5548; transform-origin: bottom; }
.spear-a { left: 24%; transform: rotate(12deg); }
.spear-b { left: 62%; transform: rotate(-9deg); height: 100px; }
.war-shield { position: absolute; bottom: 10%; left: 38%; width: 34px; height: 40px; border-radius: 50% 50% 46% 46%; border: 3px solid #8a6a52; background: #b99a7c; }
.war-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; color: #4a3528; font: 21px Georgia,serif; text-align: right; }
.war-caption small { display: block; color: #6e5548; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 特洛伊单挑：正午旷野 + 双雄相对 */
.troy-visual { background: linear-gradient(160deg,#f9edd7,#eed8b4); }
.troy-sky { position: absolute; inset: 0 0 46%; overflow: hidden; background: linear-gradient(160deg,#bcd7e8,#8db8d4 55%,#6a9cbd); }
.troy-sun { position: absolute; top: 44px; left: 50%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: #f7dd9a; box-shadow: 0 0 42px rgba(247,221,154,.8); }
.troy-cloud { position: absolute; height: 18px; border-radius: 30px; background: rgba(255,255,255,.6); }
.tcloud-a { top: 96px; left: 10%; width: 110px; }
.tcloud-b { top: 150px; right: 12%; width: 140px; opacity: .55; }
.troy-ground { position: absolute; inset: 46% 0 0; background: linear-gradient(180deg,#d9b88e,#b78f66); }
.troy-ground::after { content: ""; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(105deg, transparent 0 46px, rgba(74,53,40,.14) 47px 48px); }
.troy-wall { position: absolute; z-index: 2; right: 5%; bottom: 32%; width: 26%; height: 150px; background: linear-gradient(180deg,#efe7d2,#cdbfa4); clip-path: polygon(0 100%,0 20%,14% 20%,14% 8%,30% 8%,30% 26%,100% 26%,100% 100%); }
.troy-helen { position: absolute; z-index: 3; right: 13%; bottom: 52%; width: 14px; height: 22px; background: #7e5a6b; border-radius: 8px 8px 4px 4px; }
.troy-helen::before { content: ""; position: absolute; top: -6px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: #e8d8b0; }
.troy-helen::after { content: ""; position: absolute; top: -14px; left: 1px; width: 12px; height: 9px; background: #a03a4a; border-radius: 60% 60% 0 0; }
.troy-warrior { position: absolute; z-index: 2; bottom: 26%; width: 22px; height: 78px; background: #4a5a68; clip-path: polygon(32% 0,68% 0,78% 14%,100% 18%,96% 34%,84% 36%,84% 46%,100% 52%,100% 64%,82% 60%,78% 100%,58% 100%,56% 62%,44% 62%,42% 100%,22% 100%,18% 60%,0 64%,0 52%,16% 46%,16% 36%,4% 34%,0 18%,22% 14%); }
.troy-warrior::before { content: ""; position: absolute; top: -8px; left: 6px; width: 10px; height: 11px; border-radius: 50%; background: #d8b08a; }
.troy-warrior.w-a { left: 34%; background: #4a5a68; }
.troy-warrior.w-b { right: 32%; background: #6a4a42; transform: scaleX(-1); }
.troy-spear { position: absolute; z-index: 3; bottom: 30%; width: 2px; height: 96px; background: #6e5548; }
.troy-spear::after { content: ""; position: absolute; top: -7px; left: -3px; width: 8px; height: 12px; background: #c9a66a; clip-path: polygon(50% 0,100% 100%,0 100%); }
.tspear-a { left: 40%; transform: rotate(16deg); }
.tspear-b { right: 36%; transform: rotate(-16deg); }
.troy-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; color: #4a3528; font: 21px Georgia,serif; text-align: right; }
.troy-caption small { display: block; color: #6e5548; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 木马计：夜色 + 巨木马 + 城门 */
.horse-visual { background: linear-gradient(165deg,#1d2230,#141722); }
.horse-sky { position: absolute; inset: 0 0 42%; background: linear-gradient(165deg,#3a4a62,#232c3c 55%,#161c28); }
.horse-moon { position: absolute; top: 54px; right: 16%; width: 40px; height: 40px; border-radius: 50%; background: #c8d0dc; box-shadow: 0 0 26px rgba(200,208,220,.45); }
.horse-star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #dfe6ee; animation: twinkle 2.4s ease-in-out infinite alternate; }
.hstar-a { top: 84px; left: 14%; }
.hstar-b { top: 44px; left: 38%; animation-delay: .7s; }
.hstar-c { top: 120px; left: 30%; animation-delay: 1.2s; }
.hstar-d { top: 96px; left: 68%; animation-delay: .4s; }
.horse-ground { position: absolute; inset: 42% 0 0; background: linear-gradient(180deg,#3a3c40,#24262a); }
.horse-gate { position: absolute; z-index: 2; right: 6%; bottom: 8%; width: 30%; height: 170px; background: linear-gradient(180deg,#8a6a52,#5d4638); clip-path: polygon(0 100%,0 12%,10% 12%,10% 4%,28% 4%,28% 18%,100% 18%,100% 100%); }
.horse-gate::after { content: ""; position: absolute; bottom: 0; left: 34%; width: 32%; height: 78%; background: #241d18; clip-path: polygon(50% 0,100% 16%,100% 100%,0 100%,0 16%); }
.horse-torch { position: absolute; z-index: 3; right: 9%; bottom: 20%; width: 6px; height: 34px; background: #4a3f38; }
.horse-torch::after { content: ""; position: absolute; top: -13px; left: -4px; width: 14px; height: 17px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 62%, #ffe9a8, #f0a94e 60%, #c96a34); animation: oracleFlick 1.4s ease-in-out infinite alternate; }
.horse-body { position: absolute; z-index: 2; bottom: 22%; left: 14%; width: 150px; height: 92px; border-radius: 46% 42% 50% 48% / 52% 48% 56% 44%; background: linear-gradient(180deg,#7a5f42,#4a3828); }
.horse-neck { position: absolute; z-index: 2; bottom: 62%; left: 31%; width: 34px; height: 74px; background: #5d4638; transform: rotate(24deg); border-radius: 8px 8px 4px 4px; }
.horse-head { position: absolute; z-index: 2; bottom: 74%; left: 35%; width: 44px; height: 26px; border-radius: 60% 40% 55% 45%; background: #6a5040; transform: rotate(10deg); }
.horse-ear { position: absolute; z-index: 2; bottom: 87%; left: 37%; width: 4px; height: 14px; background: #6a5040; border-radius: 3px 3px 0 0; transform: rotate(-14deg); }
.horse-leg { position: absolute; z-index: 2; bottom: 8%; width: 13px; height: 74px; background: #4a3828; border-radius: 3px; }
.hleg-a { left: 18%; }
.hleg-b { left: 32%; }
.hleg-c { right: 26%; }
.hleg-d { right: 12%; }
.horse-tail { position: absolute; z-index: 1; bottom: 40%; left: 5%; width: 34px; height: 6px; background: #3a2c1e; border-radius: 4px; transform: rotate(-24deg); }
.horse-slit { position: absolute; z-index: 3; bottom: 38%; left: 44%; width: 46px; height: 16px; background: #241d14; border-radius: 8px; }
.horse-slit::after { content: ""; position: absolute; inset: 3px 6px; background: rgba(240,200,120,.18); }
.horse-rope { position: absolute; z-index: 3; bottom: 30%; left: 12%; width: 120px; height: 3px; background: rgba(220,190,140,.5); transform: rotate(6deg); }
.horse-caption { position: absolute; z-index: 3; right: 22px; bottom: 22px; color: #c8d0dc; font: 21px Georgia,serif; text-align: right; }
.horse-caption small { display: block; color: #8a94a4; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 赫拉之夜：暖木烛光桌 + 蓝夜窗 */
.heart-visual { background: radial-gradient(circle at 50% 10%, rgba(240,196,130,.3), transparent 28%), #f4e8d2; }
.heart-window { position: absolute; top: 60px; right: 14%; width: 66px; height: 90px; border: 3px solid #d8cfba; border-radius: 34px 34px 0 0; background: linear-gradient(160deg,#2c3e5e,#17222f); }
.heart-moon { position: absolute; top: 12px; left: 18px; width: 22px; height: 22px; border-radius: 50%; background: #e8d9a8; box-shadow: 0 0 18px rgba(232,217,168,.6); }
.heart-table { position: absolute; right: 10%; bottom: 33%; left: 10%; height: 52px; border-radius: 50%; background: #8a6a52; box-shadow: 0 14px 0 #6b5040; }
.heart-candle { position: absolute; bottom: 42%; width: 8px; height: 34px; background: #e8dcc0; border-radius: 3px; }
.candle-a { left: 30%; }
.candle-b { right: 30%; }
.heart-flame { position: absolute; bottom: 47%; width: 10px; height: 15px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 60%, #ffe9a8, #f0a94e 60%, #c96a34); animation: oracleFlick 1.4s ease-in-out infinite alternate; }
.flame-a { left: 29.5%; }
.flame-b { right: 29.5%; animation-delay: .5s; }
.heart-seat { position: absolute; bottom: 20%; width: 40px; height: 66px; border-radius: 18px 18px 4px 4px; background: #9a7c5e; }
.seat-a { left: 20%; }
.seat-b { right: 20%; background: #7e6b86; }
.heart-caption { position: absolute; z-index: 2; right: 24px; bottom: 24px; color: #4a3528; font: 20px/1.5 Georgia,serif; text-align: right; }
/* 阴影爆发：夜色黑雾（保留深色对比场景） */
.grip-visual { background: linear-gradient(160deg,#232b3d,#12141d); }
.grip-cloud { position: absolute; inset: 0; opacity: .5; background: radial-gradient(circle at 50% 20%, rgba(90,70,150,.3), transparent 45%), radial-gradient(circle at 70% 60%, rgba(160,70,90,.2), transparent 40%); }
.grip-bolt { position: absolute; top: 0; left: 58%; width: 3px; height: 210px; background: linear-gradient(180deg,#f4e3a8, #c9a25a); clip-path: polygon(55% 0,100% 0,62% 32%,88% 32%,38% 78%,58% 78%,22% 100%,42% 62%,64% 62%,30% 22%,52% 22%); animation: boltFlash 2.2s steps(1) infinite; }
@keyframes boltFlash { 0%, 86%, 100% { opacity: .25; } 88%, 94% { opacity: 1; } }
.grip-statue { position: absolute; bottom: 6%; left: 24%; width: 74px; height: 150px; background: linear-gradient(180deg,#3a3344,#241f2c); clip-path: polygon(34% 0,66% 0,70% 22%,88% 34%,84% 52%,100% 100%,0 100%,16% 52%,12% 34%,30% 22%); opacity: .85; }
.grip-statue::after { content: ""; position: absolute; top: -10px; left: 26%; width: 36px; height: 14px; border-radius: 50%; background: #453c52; }
.grip-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; color: #c4b8d8; font: 21px Georgia,serif; text-align: right; }
.grip-caption small { display: block; color: #8e849c; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 专属委托：四宫格CP剪影 */
.cp-visual { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #efe7d5; }
.cp-cell { position: relative; overflow: hidden; border: 1px solid rgba(47,42,36,.16); }
.cp-cell--throne { background: linear-gradient(160deg,#e6e0f0,#d6cce8); }
.cp-cell--war { background: linear-gradient(160deg,#f2d8cd,#e8c2b2); }
.cp-cell--forge { background: linear-gradient(160deg,#f0e2c8,#e4d0ac); }
.cp-cell--sea { background: linear-gradient(160deg,#cfe3ee,#b0d0e0); }
.cp-glyph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; opacity: .22; }
.cp-cell small { position: absolute; left: 12px; bottom: 10px; color: #8a8276; font-size: 9px; letter-spacing: .14em; }
.cp-cell strong { position: absolute; left: 12px; top: 10px; color: #2f2a24; font: 12px Georgia,serif; font-weight: 700; }
.cp-caption { position: absolute; z-index: 2; right: 14px; bottom: 12px; color: #5d6d76; font: 13px Georgia,serif; text-align: right; }
/* 星光中庭：夜空（夜色场景） */
.starlight-visual { background: linear-gradient(170deg,#1a2140,#0d1020); }
.starlight-moon { position: absolute; top: 46px; right: 16%; width: 54px; height: 54px; border-radius: 50%; background: #e8dfb8; box-shadow: 0 0 42px rgba(232,223,184,.5); }
.starlight-moon::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #131a33; opacity: .35; }
.star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #e8dfc0; animation: twinkle 2.4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }
.star-a { top: 90px; left: 12%; }
.star-b { top: 46px; left: 34%; animation-delay: .6s; }
.star-c { top: 130px; left: 26%; animation-delay: 1.2s; }
.star-d { top: 170px; right: 30%; animation-delay: .3s; }
.star-e { top: 90px; left: 64%; animation-delay: .9s; }
.star-f { top: 210px; left: 44%; animation-delay: 1.5s; }
.star-g { top: 60px; left: 78%; animation-delay: 2s; }
.star-h { top: 230px; right: 12%; animation-delay: .2s; }
.starlight-const { position: absolute; top: 70px; left: 20%; width: 90px; height: 80px; border-top: 1px dashed rgba(232,223,184,.3); border-left: 1px dashed rgba(232,223,184,.3); border-radius: 0 0 0 40px; transform: rotate(12deg); }
.starlight-terrace { position: absolute; inset: 0 0 16%; background: linear-gradient(180deg, rgba(26,33,64,0), #1a1d30 70%); }
.starlight-rail { position: absolute; bottom: 16%; left: 8%; right: 8%; height: 2px; background: #3a3f5c; }
.starlight-rail::before { content: ""; position: absolute; bottom: 16px; left: 0; right: 0; height: 2px; background: #3a3f5c; }
.starlight-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; color: #c8c2e0; font: 21px Georgia,serif; text-align: right; }
.starlight-caption small { display: block; color: #8a86a4; font: 10px Arial,sans-serif; letter-spacing: .12em; }
/* 冥河渡口：夜色冥河（夜色场景） */
.styx-visual { background: linear-gradient(165deg,#1d2830,#141a22); }
.styx-sky { position: absolute; inset: 0 0 52%; background: linear-gradient(165deg,#3a4a5a,#232c36 55%,#161c24); }
.styx-moon { position: absolute; top: 56px; left: 14%; width: 42px; height: 42px; border-radius: 50%; background: #b8c8d0; box-shadow: 0 0 30px rgba(184,200,208,.4); }
.styx-river { position: absolute; inset: 52% 0 0; background: linear-gradient(165deg,#2c3e4c,#141c24 55%,#0c1218); }
.styx-river::after { content: ""; position: absolute; inset: 0; opacity: .28; background: repeating-linear-gradient(90deg, transparent 0 70px, rgba(140,170,180,.14) 71px 72px); }
.styx-boat { position: absolute; z-index: 2; bottom: 26%; left: 16%; width: 120px; height: 26px; border-radius: 0 0 60% 60% / 0 0 100% 100%; background: #4a3f38; box-shadow: 0 10px 0 rgba(0,0,0,.28); }
.styx-boat::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 36px; background: #5d5148; }
.styx-boat::after { content: ""; position: absolute; top: -58px; left: 49%; width: 30px; height: 26px; border-radius: 60% 8% 60% 8%; background: #6d5a4e; transform: rotate(8deg); }
.styx-hound { position: absolute; z-index: 2; right: 12%; bottom: 20%; width: 90px; height: 60px; opacity: .5; }
.styx-hound::before { content: ""; position: absolute; inset: 0; background: #0e1418; clip-path: polygon(0 62%,8% 40%,20% 34%,26% 14%,34% 30%,48% 26%,56% 12%,66% 30%,80% 34%,92% 44%,100% 62%,78% 100%,56% 84%,44% 100%,22% 84%,0 100%); }
.styx-hound::after { content: "▰▰▰"; position: absolute; top: -6px; left: 22%; color: #6a7a86; font-size: 8px; letter-spacing: 4px; }
.styx-flame { position: absolute; z-index: 2; bottom: 20%; right: 6%; width: 12px; height: 18px; background: radial-gradient(circle at 50% 65%, #9be0d0, #3a8078 60%, #1c4a46); border-radius: 50% 50% 40% 40%; animation: oracleFlick 1.5s ease-in-out infinite alternate; }
.styx-caption { position: absolute; z-index: 3; right: 22px; bottom: 22px; color: #aec4cc; font: 21px Georgia,serif; text-align: right; }
.styx-caption small { display: block; color: #7a9098; font: 10px Arial,sans-serif; letter-spacing: .12em; }

/* ==================== 结局 ==================== */
.ending-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(390px,.9fr) minmax(340px,.72fr); gap: 9vw; align-items: center; width: min(1050px,88vw); min-height: 530px; margin: auto; padding: 35px 0 70px; }
.ending-copy h2 { margin: 17px 0 22px; font-size: clamp(36px,4.4vw,61px); line-height: 1.1; letter-spacing: -.05em; font-weight: 400; }
.ending-copy h2 em { color: #2e6f8e; font-family: Georgia,serif; font-style: italic; }
.ending-copy > p { max-width: 490px; color: #6e6659; font-size: 14px; line-height: 1.8; }
.ending-lines { margin: 27px 0; border-top: 1px solid rgba(47,42,36,.14); }
.ending-lines div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(47,42,36,.14); }
.ending-lines span { color: #8a8276; font-size: 10px; }
.ending-lines strong { color: #2f2a24; font-size: 11px; font-weight: 500; text-align: right; }
.ending-message { margin: 20px 0 26px; padding: 13px 15px; border-left: 2px solid #2e6f8e; background: rgba(46,111,142,.06); }
.ending-message span { color: #2e6f8e; font-size: 10px; }
.ending-message p { margin: 7px 0 0; color: #3d5a6b; font-size: 12px; }
.oracle-postcard { position: relative; min-height: 420px; padding: 27px 24px; overflow: hidden; background: #e8e0cc; color: #2f2a24; box-shadow: 14px 18px 0 rgba(46,111,142,.12); transform: rotate(2.3deg); }
.postcard-top { color: #7d7468; font-size: 10px; letter-spacing: .15em; }
.postcard-title { margin-top: 112px; font: 700 57px Georgia,serif; letter-spacing: -.07em; }
.postcard-lines { display: grid; gap: 9px; margin-top: 16px; color: #7d7468; font-size: 10px; letter-spacing: .14em; }
.postcard-stamp { position: absolute; right: 31px; bottom: 72px; padding: 6px 8px; border: 2px solid #b0533a; color: #b0533a; font-size: 10px; font-weight: 800; line-height: 1.05; text-align: center; transform: rotate(-12deg); }

/* ==================== 场景切换 ==================== */
#scene-overlay { position: fixed; inset: 0; z-index: 999; background: #f4efe3; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
#scene-overlay.active { opacity: 1; pointer-events: auto; }

/* 成就通知 */
.ach-notify { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000; background: #2e6f8e; color: #fff; padding: 10px 20px; border-radius: 3px; font-size: 13px; font-weight: 700; box-shadow: 0 4px 20px rgba(47,42,36,.25); animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ==================== 响应式 ==================== */
@media (max-width: 780px) {
  .topbar { padding: 21px 6vw; }
  .topbar-meta { display: none; }
  .selection-content { padding-top: 64px; }
  .guest-grid { grid-template-columns: repeat(2,1fr); }
  .guest-card { min-height: 138px; padding: 15px; }
  .brief-layout,.result-layout,.chat-layout { display: flex; flex-direction: column; width: min(88vw,520px); gap: 28px; align-items: stretch; padding: 55px 0 65px; }
  .brief-copy { padding: 0; }
  .brief-ticket { margin: 12px 8px 0; }
  .chat-layout { padding-top: 32px; }
  .phone-frame { align-self: center; width: min(100%,390px); min-height: 340px; max-height: 380px; }
  .decision-panel { padding: 0 0 35px; }
  .decision-panel .decision-hint { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border: 1px dashed #c05f3e; border-radius: 12px; color: #c05f3e; font-size: 11px; letter-spacing: .05em; }
  .decision-panel h1 { font-size: 52px; }
  .journey-card { position: static; }
  .result-layout { padding-top: 62px; }
  .result-main h1 { font-size: 48px; }
  .council-topbar { padding: 21px 6vw; }
  .council-meta { display: none; }
  .council-head { padding-top: 58px; }
  .council-progress { overflow: hidden; white-space: nowrap; }
  .council-progress i { width: 15px; margin: 0 7px; }
  .step-layout,.aftermath-layout { display: flex; flex-direction: column; align-items: stretch; width: min(88vw, 520px); gap: 26px; padding-top: 22px; }
  .apple-visual,.feast-visual,.oracle-visual,.hall-visual { min-height: 400px; }
  .step-copy { padding: 0 0 50px; }
  .aftermath-layout { padding-top: 42px; }
  .aftermath-copy { padding-bottom: 35px; }
  .aftermath-card { margin: 0 8px 40px; }
  .council-reset { font-size: 10px; }
  .earth-topbar { padding: 21px 6vw; }
  .earth-meta { display: none; }
  .earth-title { padding-top: 56px; }
  .earth-title h1 { font-size: 39px; }
  .earth-count { font-size: 43px; }
  .earth-progress { overflow: hidden; white-space: nowrap; }
  .earth-progress i { width: 14px; margin: 0 6px; }
  .earth-layout,.ending-layout { display: flex; flex-direction: column; align-items: stretch; width: min(88vw,520px); gap: 27px; padding-top: 22px; }
  .earth-copy { padding: 0 0 45px; }
  .echo-card,.war-visual,.troy-visual,.horse-visual,.heart-visual,.grip-visual,.cp-visual,.starlight-visual,.styx-visual { min-height: 400px; }
  .ending-layout { padding-top: 45px; }
  .oracle-postcard { margin: 0 8px 40px; min-height: 370px; }
  .postcard-title { margin-top: 80px; }
}
@media (max-width: 420px) {
  .guest-grid { gap: 8px; }
  .guest-card-copy strong { font-size: 14px; }
  .guest-card-tag { font-size: 10px; }
  .brief-ticket { padding: 23px 20px 27px; }
  .ticket-route { font-size: 43px; }
  .choice-button { grid-template-columns: 26px 1fr 12px; gap: 7px; padding: 12px; }
  .choice-button small { font-size: 10px; }
  .council-head h1 { font-size: 37px; }
  .stage-mark { font-size: 42px; }
  .council-progress { font-size: 9px; }
  .apple-visual,.feast-visual,.oracle-visual,.hall-visual { min-height: 370px; }
  .choice-index { font-size: 11px; }
  .council-choice { grid-template-columns: 26px 1fr 14px; gap: 8px; padding: 12px; }
  .council-choice small { font-size: 10px; }
  .aftermath-card { padding: 23px 18px; }
  .card-big { font-size: 54px; }
  .earth-title h1 { font-size: 35px; }
  .earth-choice { grid-template-columns: 25px 1fr 14px; gap: 7px; padding: 11px; }
  .earth-choice small { font-size: 9px; }
  .echo-card,.war-visual,.troy-visual,.horse-visual,.heart-visual,.grip-visual,.cp-visual,.starlight-visual,.styx-visual { min-height: 370px; }
  .earth-copy h2 { font-size: 36px; }
  .ending-lines div { display: grid; gap: 5px; }
  .ending-lines strong { text-align: left; }
}
