/* A separate saved-outcome slot stage; all motion is transform-based. */
#cinema.solo-roll-reveal{--solo-accent:#a9e5bd;--solo-rgb:169,229,189;position:fixed;inset:0;z-index:100;display:grid;place-items:center;isolation:isolate;padding:70px 16px 28px;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,rgba(var(--solo-rgb),.17),transparent 65%),#030c12fa;color:#f1f2df;pointer-events:auto}
#cinema.solo-roll-reveal.solo-roll-SR{--solo-accent:#ccafff;--solo-rgb:204,175,255}
#cinema.solo-roll-reveal.solo-roll-gold{--solo-accent:#ffdc88;--solo-rgb:255,220,136;background:radial-gradient(ellipse at 50% 45%,#bb86202b,transparent 65%),#090b12fa}
#cinema.solo-roll-reveal .solo-roll-stage{position:relative;z-index:2;width:min(620px,100%);max-height:calc(100dvh - 100px);overflow-y:auto;text-align:center;padding:12px 4px;scrollbar-width:thin}
#cinema.solo-roll-reveal .solo-roll-kicker{display:block;color:var(--solo-accent);font:800 12px/1.6 system-ui;letter-spacing:.22em}
#cinema.solo-roll-reveal h2{margin:12px 0 25px;color:#fff1cb;font:900 clamp(25px,6.5vw,45px)/1.4 var(--serif,serif);text-shadow:0 0 30px rgba(var(--solo-rgb),.35)}
#cinema.solo-roll-reveal .solo-roll-machine{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px;border:1px solid rgba(var(--solo-rgb),.6);border-radius:15px;background:linear-gradient(145deg,#273738,#0a1421);box-shadow:inset 0 0 35px rgba(var(--solo-rgb),.12),0 15px 55px #0008}
#cinema.solo-roll-reveal .solo-roll-machine article{min-width:0}
#cinema.solo-roll-reveal h3{margin:0 0 10px;font:700 14px/1.5 system-ui;color:#e1e3d5}
#cinema.solo-roll-reveal .solo-roll-reel{position:relative;height:124px;overflow:hidden;border:2px solid #fff0c177;border-radius:9px;background:linear-gradient(#cfbf95,#fff4d0 28%,#fff9e8 55%,#d7bd7e);box-shadow:inset 0 8px 15px #3b321333,inset 0 -8px 15px #3b321333}
#cinema.solo-roll-reveal .solo-roll-reel>strong,#cinema.solo-roll-reveal .solo-roll-strip b{display:grid;place-items:center;height:120px;font:1000 clamp(41px,12vw,76px)/1 system-ui;color:#344539;text-shadow:0 2px #fff9;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
#cinema.solo-roll-reveal .solo-roll-strip{display:none;position:absolute;inset:0 0 auto}
#cinema.solo-roll-reveal .rolling>strong{visibility:hidden}
#cinema.solo-roll-reveal .rolling .solo-roll-strip{display:block;animation:solo-roll-strip calc(.24s / var(--solo-roll-speed,1)) linear infinite;filter:blur(.6px)}
#cinema.solo-roll-reveal [data-solo-reel=rarity].rolling .solo-roll-strip{animation-duration:calc(.2s / var(--solo-roll-speed,1));animation-direction:reverse}
#cinema.solo-roll-reveal .solo-roll-machine article>span{display:block;margin-top:8px;font:600 13px/1.5 system-ui;color:#c5cabb}
#cinema.solo-roll-reveal .solo-roll-caption{min-height:30px;margin:25px 0 10px;font:800 clamp(17px,4vw,24px)/1.6 system-ui;color:var(--solo-accent);overflow-wrap:anywhere}
#cinema.solo-roll-reveal .solo-roll-multiplier{display:block;min-height:30px;font:800 clamp(16px,4vw,23px)/1.5 system-ui;color:#fff0ba}
#cinema.solo-roll-reveal .solo-roll-note{display:block;margin-top:14px;color:#b7c5bc;font:500 12px/1.7 system-ui}
#cinema.solo-roll-reveal .solo-roll-skip{position:absolute;right:24px;top:max(24px,env(safe-area-inset-top));z-index:4;padding:9px 15px;min-height:44px;background:#10212c;border:1px solid #c6d4bd66;border-radius:7px;color:#e2e7d6;font:700 14px/1.5 system-ui;cursor:pointer}
#cinema.solo-roll-reveal .solo-roll-skip:focus-visible{outline:3px solid #ffe19a;outline-offset:3px}
#cinema.solo-roll-reveal .solo-roll-halo{position:absolute;width:min(95vw,760px);aspect-ratio:1;border:1px solid rgba(var(--solo-rgb),.35);border-radius:50%;box-shadow:inset 0 0 55px rgba(var(--solo-rgb),.08),0 0 45px rgba(var(--solo-rgb),.08);pointer-events:none;z-index:0}
#cinema.solo-roll-reveal .solo-roll-halo.second{width:min(115vw,920px);border-style:dashed;transform:rotate(20deg)}
#cinema.solo-roll-reveal .solo-roll-rays{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
#cinema.solo-roll-reveal .solo-roll-rays i{position:absolute;left:50%;top:50%;width:30px;height:48vh;transform-origin:50% 100%;transform:translate(-50%,-100%) rotate(calc(var(--i)*30deg));background:linear-gradient(0deg,rgba(var(--solo-rgb),.45),transparent);clip-path:polygon(50% 100%,0 0,100% 0);opacity:0}
#cinema.solo-roll-reveal.solo-roll-settled .solo-roll-rays i{animation:solo-roll-burst calc(1.2s / var(--solo-roll-speed,1)) ease-out both}
#cinema.solo-roll-reveal.solo-roll-settled .solo-roll-machine{animation:solo-roll-land calc(.45s / var(--solo-roll-speed,1)) cubic-bezier(.15,.8,.3,1) both}
#cinema.solo-roll-reveal.solo-roll-settled .solo-roll-halo{animation:solo-roll-ring calc(.9s / var(--solo-roll-speed,1)) ease-out both}
#cinema.solo-roll-reveal.solo-roll-anticipation [data-solo-reel=rarity]{border-color:#fff0a0;box-shadow:inset 0 0 25px #ebbc4d44,0 0 32px #ffdc6c88}
#cinema.solo-roll-reveal.solo-roll-SSR.solo-roll-settled [data-solo-roll=rarity]{color:#9a6517;text-shadow:0 2px #fff3c0,0 0 20px #edbb3877}
@keyframes solo-roll-strip{to{transform:translateY(-360px)}}
@keyframes solo-roll-land{from{transform:scale(1.08);filter:brightness(1.2)}to{transform:scale(1);filter:brightness(1)}}
@keyframes solo-roll-burst{0%{opacity:0;scale:.4}30%{opacity:.65}100%{opacity:.12;scale:1.2}}
@keyframes solo-roll-ring{from{scale:.7;opacity:.2}to{scale:1.08;opacity:.8}}
@media(max-width:560px){#cinema.solo-roll-reveal .solo-roll-machine{gap:12px;padding:12px}#cinema.solo-roll-reveal .solo-roll-reel{height:104px}#cinema.solo-roll-reveal .solo-roll-reel>strong,#cinema.solo-roll-reveal .solo-roll-strip b{height:100px;font-size:clamp(40px,12vw,62px)}#cinema.solo-roll-reveal .rolling .solo-roll-strip{animation-name:solo-roll-strip-small}#cinema.solo-roll-reveal h2{margin-bottom:18px}#cinema.solo-roll-reveal .solo-roll-caption{margin-top:20px}}
@keyframes solo-roll-strip-small{to{transform:translateY(-300px)}}
@media(max-height:500px){#cinema.solo-roll-reveal .solo-roll-stage{padding-block:4px}#cinema.solo-roll-reveal .solo-roll-kicker,#cinema.solo-roll-reveal .solo-roll-note{display:none}#cinema.solo-roll-reveal h2{font-size:24px;margin:0 0 12px}#cinema.solo-roll-reveal .solo-roll-caption{margin:12px 0 4px}#cinema.solo-roll-reveal .solo-roll-reel{height:84px}#cinema.solo-roll-reveal .solo-roll-reel>strong,#cinema.solo-roll-reveal .solo-roll-strip b{height:80px;font-size:45px}#cinema.solo-roll-reveal .rolling .solo-roll-strip{animation-name:solo-roll-strip-short}}
@keyframes solo-roll-strip-short{to{transform:translateY(-240px)}}
@media(prefers-reduced-motion:reduce){#cinema.solo-roll-reveal *,#cinema.solo-roll-reveal:before{animation:none!important;transition:none!important;filter:none!important}#cinema.solo-roll-reveal .solo-roll-rays{display:none}#cinema.solo-roll-reveal .solo-roll-halo{opacity:.4}}

/* A pending saved roll stays masked until its original reveal is opened. */
.solo-draw-intro{max-width:640px;margin:20px auto;text-align:center}.solo-draw-intro>.face{margin:14px auto;width:110px;height:130px}.solo-draw-intro h2{font-size:clamp(22px,5vw,31px);line-height:1.5;overflow-wrap:anywhere}.solo-draw-intro p{font-size:14px;line-height:1.8;color:var(--muted)}.solo-draw-hidden{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.solo-draw-hidden>div{min-width:0;padding:17px 12px;border:1px solid #ead19566;border-radius:9px;background:linear-gradient(140deg,#d2bc661c,#10202b)}.solo-draw-hidden small{display:block;font-size:14px;color:#cfdbc9}.solo-draw-hidden strong{display:block;font:900 55px/1.5 system-ui;color:#f4dba3;text-shadow:0 0 18px #e7bd4c33}.solo-draw-intro>.primary{width:100%;min-height:48px}
@media(max-width:560px){.solo-draw-intro{padding:16px}.solo-draw-hidden{gap:10px;margin-block:17px}.solo-draw-hidden>div{padding:12px 8px}.solo-draw-hidden strong{font-size:46px}}
