/* Shared palette; world effects remain below the hit targets. */
:root{--soul-action:#c393ef;--soul-gold:#f0d18c;--soul-ink:#130d1e;--soul-stroke:#b697ce40;--soul-damage:#df8597}
body{background-color:#0e0915}.arcade{border-color:var(--soul-stroke)}
.hud{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:6px;padding:10px 14px;background:linear-gradient(115deg,#30203e,#171020);border-bottom:1px solid var(--soul-stroke)}
.hud>div{min-width:0}.hud strong{font-variant-numeric:tabular-nums}.hud #score{font-size:30px;color:#fff0c6}.hud #lives{font-size:23px;letter-spacing:2px;color:#d7aff5}.hud .hud-combo strong{font-size:clamp(10px,2.7vw,15px);line-height:1.3;color:#d7b3ef;letter-spacing:0}.hud span{font-size:8px;letter-spacing:1.6px;color:#bfa6d0}
.combo-row{font-size:9px;padding:5px 14px;min-height:25px;background:#181020;color:#bba2cf}.combo-row .clock{display:flex;align-items:center;gap:6px}.combo-row #time{font-size:11px;color:#eadcf4}.combo-row .urgent #time{color:#ffb2bd}.progress-track{height:2px}.hunt-bar{background:#20142d;border-color:var(--soul-stroke);padding:8px 12px;min-height:34px}.hunt-bar #hunt-label{font-size:9px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hunt-bar #hunt-gap{font-size:10px;color:var(--soul-gold)}
.boss-bar{min-height:45px;padding:5px 12px;background:#1a1125;border-color:var(--soul-stroke)}.boss-bar>img{width:39px;height:39px;object-fit:contain;transition:transform .25s,filter .25s}.boss-bar[data-mood=angry]>img{transform:rotate(-7deg) scale(1.08);filter:drop-shadow(0 0 5px #b76ae0)}.boss-bar[data-mood=furious]>img{transform:rotate(6deg) scale(1.13);filter:drop-shadow(0 0 6px #dc9cda)}.boss-bar[data-mood=laughing]>img{transform:rotate(-9deg)}#boss-line{font-size:11px}#panic-status{font-size:9px}
.arena-world{filter:saturate(.9) contrast(1.06)}.arena .fog-one{opacity:.34;inset:76% -12% -8%;animation-duration:26s}.arena .fog-two{opacity:.13}.arena .embers{opacity:.3}.arena .lantern{box-shadow:0 0 7px #ffd38b,0 0 25px 6px #ea914842}.arena .hole::before{filter:drop-shadow(0 3px 2px #090510)}.arena .hole.gold-grave::before{filter:drop-shadow(0 0 6px #edc87866)}
#effects{pointer-events:none}.scythe-impact{position:absolute;width:64px;height:23px;margin:-11px 0 0 -32px;border-top:3px solid #fff0dc;border-radius:50%;box-shadow:0 -3px 8px #de718488;transform:rotate(-35deg);animation:scythe-cut .26s ease-out both;pointer-events:none}.spark{border-radius:50%;box-shadow:0 0 5px #d4a1ff}.spark.gold-spark{width:3px;height:9px;border-radius:60%;box-shadow:0 0 6px #ffe4a1}.burst{font-variant-numeric:tabular-nums;text-shadow:0 2px 4px #100719}.collected-wisp.gold{box-shadow:0 0 9px #ffda81,0 0 17px #dbb56166}
@keyframes scythe-cut{from{opacity:1;transform:rotate(-50deg) scale(.65)}to{opacity:0;transform:rotate(-15deg) scale(1.35)}}
body.round-finale #result{background:radial-gradient(ellipse at 85% 0,#53336555,transparent 45%),linear-gradient(#21132e,#100b19);padding:18px 16px}.round-finale #result .result-hero{border-bottom:1px solid var(--soul-stroke);padding-bottom:12px}.round-finale #result .result-eyebrow{color:#c7a9df;letter-spacing:1.6px}.round-finale #result h2{font-variant-numeric:tabular-nums}.round-finale #result .stats{border:1px solid var(--soul-stroke);border-radius:12px}.round-finale #result #again{background:linear-gradient(110deg,#d7a8ff,#ad70de);color:#22102e;box-shadow:0 3px 0 #633a80}.round-finale #result .result-share button{border-radius:12px;border:1px solid var(--soul-stroke);background:#2a1938;color:#eddcf7}.round-finale #result #score-card{border-color:#d1af6f;background:#edcf91;color:#281a2d;font-weight:800}.round-finale #result .result-links{font-size:11px}.round-finale #result .card-journey{margin:8px 0;padding:10px}.round-finale #result .journey-line img{width:40px;height:50px}
.leaderboard,.run-history,.daily-progress{border-color:var(--soul-stroke);background:linear-gradient(130deg,#251730,#140d20)}.game-nav a[aria-current=page]{color:var(--soul-gold)}button:focus-visible,a:focus-visible{outline:2px solid #f4d79e;outline-offset:3px}
@media(max-width:360px){.hud{padding:8px}.hud #score{font-size:26px}.hud #lives{font-size:19px}#boss-line{font-size:10px}.boss-bar{padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.arena .fog,.arena .embers,.arena .embers i,.arena .lantern,.spark,.burst,.collected-wisp,.scythe-impact{animation:none!important}.boss-bar>img{transition:none;transform:none!important}.scythe-impact,.spark,.collected-wisp{display:none}}
