/* Independent fantasy cabinet and award stage. All artwork is CSS; no remote assets. */
.training-machine{--cabinet-accent:#d6b76c;position:relative;isolation:isolate;border:1px solid #f0d49a66;background:radial-gradient(ellipse at 50% -20%,#e0c27f1c,transparent 64%),linear-gradient(135deg,#263237,#101b24 65%,#202f31);box-shadow:inset 0 1px #fff1c640,inset 0 -3px #02090a99,0 8px 28px #0003}
.training-machine:before{content:'';position:absolute;inset:5px;border:1px solid #e8d49d1a;border-radius:9px;pointer-events:none;z-index:-1}
.training-machine .section-heading h2{color:#f6e1b4;letter-spacing:.04em}
.training-machine .primary{position:relative;overflow:hidden;background:linear-gradient(115deg,#f8e8bd,#e2bb66 52%,#f2d697);border-color:#fff0c4;box-shadow:inset 0 1px #fff9,0 4px #765427,0 8px 24px #e0b95c1c}
.training-machine .primary:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#fff6 48%,transparent 68%);transform:translateX(-150%);pointer-events:none}
.training-machine:not(.slot-spinning) .primary:not(:disabled):hover:after{animation:slot-button-sheen .75s ease-out}
.growth-reels{padding:5px;border:1px solid #d5c29835;border-radius:12px;background:linear-gradient(145deg,#050f17,#28383b);box-shadow:inset 0 4px 13px #0008;gap:7px}
.growth-reel{position:relative;min-width:0;overflow:hidden;padding:8px 5px 7px;background:linear-gradient(#ece4ca 0%,#fff7df 28%,#e5d6af 70%,#d2c39d 100%);border-color:#f4dca260;border-radius:7px;box-shadow:inset 0 2px 4px #3f372757,inset 0 -2px 4px #fff7}
.growth-reel:before{content:'';position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:none;box-shadow:inset 0 5px 7px #403b2230,inset 0 -5px 6px #403b2226}
.growth-reel small{position:relative;z-index:2;font-weight:700;color:#646045;letter-spacing:.04em}
.growth-reel .reel-value{height:54px;display:grid;place-items:center;position:relative;overflow:hidden;margin:2px -3px;background:linear-gradient(#4940290b,#fff9 45%,#4940290b)}
.growth-reel .reel-value>[data-number]{font-family:system-ui,sans-serif;font-size:clamp(28px,4vw,39px);font-weight:900;letter-spacing:-.045em;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px #fff9;color:#23352e}
.growth-reel .reel-window{position:absolute;inset:0;overflow:hidden;display:none;pointer-events:none;mask-image:linear-gradient(transparent,#000 19%,#000 80%,transparent)}
.growth-reel .reel-strip{position:absolute;inset:0 0 auto;will-change:transform;animation:slot-strip-roll .23s linear infinite}
.growth-reel .reel-strip b{display:grid;place-items:center;height:54px;font:900 37px/1 system-ui,sans-serif;color:#2a3e31;letter-spacing:-.04em;font-variant-numeric:tabular-nums;text-shadow:0 2px #fff9;opacity:.8}
.growth-reel.spinning .reel-value>[data-number]{visibility:hidden}
.growth-reel.spinning .reel-window{display:block}
.growth-reel.spinning .reel-strip{filter:blur(.65px)}
.growth-reel.spinning:nth-child(2n) .reel-strip{animation-duration:.19s;animation-direction:reverse}
.growth-reel.spinning:nth-child(3n) .reel-strip{animation-duration:.26s}
.growth-reel .gain-chip{display:block;font-size:12px;font-weight:800;line-height:1.5;min-height:18px;color:#536044;font-variant-numeric:tabular-nums}
.growth-reel.landed{animation:slot-reel-land .34s cubic-bezier(.18,.85,.4,1.2)}
.growth-reel.landed .gain-chip{animation:slot-chip-reveal .4s ease-out both}
.growth-reel.reel-gold{border-color:#ffe6a0;background:linear-gradient(#fff0bc,#fff8d6 40%,#e7bb57);box-shadow:inset 0 0 12px #ffda6366,0 0 16px #eab85255}
.growth-reel.reel-rainbow{border-color:#f4dfed;background:linear-gradient(150deg,#c9f5e8,#fff1c2 37%,#e7d0f5 70%,#bde9f6);box-shadow:0 0 20px #b6dbff66,inset 0 0 12px #fff6}
.slot-spinning .growth-caption{opacity:.4}
.training-machine.slot-anticipation{--cabinet-accent:#f9cb5c;border-color:#ffe3a4;box-shadow:inset 0 0 30px #f8c95c19,0 0 28px #deb55a39;animation:slot-anticipate 1.1s ease-in-out infinite alternate}
.training-machine.slot-anticipation .growth-reel.spinning{border-color:#f8d76d;box-shadow:0 0 16px #edc35888,inset 0 0 12px #e7b95388}
.training-machine.slot-bonus,.training-machine.bonus-machine{border-color:#f3ce6e;box-shadow:inset 0 1px #fff0b5,0 0 26px #e8b5482a}
.training-machine.slot-rush{border-color:#d6b4ff;box-shadow:inset 0 1px #ead6ff,0 0 28px #b673ff2e}
.slot-impact #app{animation:slot-impact-shake .34s ease-out}

/* The overlay is modal only for the short exceptional award, never ordinary spins. */
#cinema.show.slot-cinema{--fx:#edc76b;--fx-rgb:237,199,107;--fx-soft:#fff0c1;display:grid;place-items:center;isolation:isolate;padding:24px 16px calc(24px + env(safe-area-inset-bottom));pointer-events:auto;cursor:pointer;background:radial-gradient(ellipse at 50% 43%,rgba(var(--fx-rgb),.16),transparent 56%),#02080bf5;overscroll-behavior:contain}
#cinema.slot-cinema.fx-rush{--fx:#c5a0ff;--fx-rgb:197,160,255;--fx-soft:#efe1ff}
#cinema.slot-cinema.fx-freeze{--fx:#9fe7ff;--fx-rgb:159,231,255;--fx-soft:#e3f9ff;background:radial-gradient(ellipse at 50% 43%,#357fa81f,transparent 63%),#01070dfb}
#cinema.slot-cinema.fx-trait{--fx:#a8ebc7;--fx-rgb:168,235,199;--fx-soft:#e0fff0}
#cinema.slot-cinema.fx-jackpot{--fx:#ffdf82;--fx-rgb:255,223,130;--fx-soft:#fff5dc;background:radial-gradient(ellipse at 50% 42%,#765aa62b,transparent 63%),#03070df7}
#cinema.slot-cinema:before{content:'';position:absolute;inset:-80%;z-index:-2;background:repeating-conic-gradient(from 0deg,rgba(var(--fx-rgb),.045) 0deg 8deg,transparent 8deg 24deg);animation:slot-fx-sun 28s linear infinite;opacity:.8;pointer-events:none}
#cinema.slot-cinema:after{content:'';position:absolute;inset:12px;border:1px solid rgba(var(--fx-rgb),.22);box-shadow:inset 0 0 55px rgba(var(--fx-rgb),.07);pointer-events:none;z-index:4}
#cinema.slot-cinema .slot-fx-shell{position:relative;z-index:3;width:min(660px,100%);padding:35px 16px 28px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:0;pointer-events:none;filter:drop-shadow(0 8px 25px #0009)}
#cinema.slot-cinema .slot-fx-kicker{display:block;color:var(--fx);font:800 12px/1.8 system-ui,sans-serif;letter-spacing:.3em;margin:0 0 18px;text-transform:uppercase}
#cinema.slot-cinema .slot-fx-title{display:block;max-width:100%;margin:0;font:900 clamp(36px,8.8vw,76px)/1.2 var(--serif);letter-spacing:.02em;overflow-wrap:anywhere;color:var(--fx-soft);text-shadow:0 2px 0 #674a2d,0 5px 0 #120d08,0 0 35px rgba(var(--fx-rgb),.45);animation:none}
#cinema.slot-cinema .slot-fx-subtitle{font:600 clamp(13px,3.2vw,16px)/1.7 system-ui,sans-serif;color:#d5ddd9;letter-spacing:.06em;margin:18px 0 0;max-width:100%;overflow-wrap:anywhere}
#cinema.slot-cinema .slot-fx-total{display:flex;position:relative;flex-direction:column;align-items:center;margin:25px 0 0;width:100%;padding:20px 8px 13px;border-block:1px solid rgba(var(--fx-rgb),.35);background:linear-gradient(90deg,transparent,rgba(var(--fx-rgb),.08),transparent)}
#cinema.slot-cinema .slot-fx-total small{font:700 14px/1.6 system-ui,sans-serif;letter-spacing:.15em;color:var(--fx-soft)}
#cinema.slot-cinema .slot-fx-total strong{margin:5px 0 0;font:1000 clamp(65px,17vw,124px)/1.05 system-ui,sans-serif;letter-spacing:-.065em;font-variant-numeric:tabular-nums;max-width:100%;color:#fff4c8;text-shadow:0 3px #906c2f,0 6px #3d2610,0 0 40px rgba(var(--fx-rgb),.4);animation:none;overflow-wrap:anywhere}
@supports(background-clip:text){#cinema.slot-cinema .slot-fx-total strong{background:linear-gradient(#fffef3 10%,#ffe8a5 40%,#d8a83e 48%,#fff0ba 59%,#edb847 82%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px #523318);text-shadow:none}}
#cinema.slot-cinema.fx-jackpot .slot-fx-title{background:linear-gradient(100deg,#b7fff4,#fff3ae 32%,#f1c6ff 65%,#c7eaff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 3px #241728);text-shadow:none}
#cinema.slot-cinema .slot-fx-total>span{display:block;font:700 13px/1.8 system-ui,sans-serif;letter-spacing:.08em;color:#e4e8d9;margin-top:8px}
#cinema.slot-cinema .slot-fx-traits{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:17px}
#cinema.slot-cinema .slot-fx-traits span{display:inline-block;font:700 13px/1.6 system-ui,sans-serif;letter-spacing:.02em;color:var(--fx-soft);padding:6px 12px;border:1px solid rgba(var(--fx-rgb),.4);background:rgba(var(--fx-rgb),.08);border-radius:5px}
#cinema.slot-cinema .slot-fx-skip{position:absolute;z-index:8;right:26px;top:max(26px,env(safe-area-inset-top));min-height:40px;padding:8px 13px;border:1px solid #dae3dd33;border-radius:6px;background:#10202b99;color:#c6d1d0;font:600 13px/1.5 system-ui,sans-serif;pointer-events:auto;cursor:pointer}
#cinema.slot-cinema .slot-fx-ring{position:absolute;z-index:-1;left:50%;top:44%;width:min(75vw,630px);aspect-ratio:1;border:1px solid rgba(var(--fx-rgb),.35);border-radius:50%;box-shadow:inset 0 0 45px rgba(var(--fx-rgb),.05),0 0 35px rgba(var(--fx-rgb),.04);transform:translate(-50%,-50%);pointer-events:none}
#cinema.slot-cinema .slot-fx-ring:before{content:'';position:absolute;inset:14%;border:1px dashed rgba(var(--fx-rgb),.23);border-radius:50%}
#cinema.slot-cinema .slot-fx-ring:nth-of-type(2){width:min(96vw,800px);border-style:dashed;border-color:rgba(var(--fx-rgb),.18);transform:translate(-50%,-50%) rotate(13deg)}
#cinema.slot-cinema .slot-fx-shards,#cinema.slot-cinema .slot-fx-sparks{position:absolute;inset:0;padding:0;z-index:1;pointer-events:none;overflow:hidden}
#cinema.slot-cinema .slot-fx-shards i{--angle:calc(var(--i) * 30deg);position:absolute;inset:-10%;transform-origin:50% 45%;clip-path:polygon(50% 45%,calc(42% + var(--i) * .2%) -10%,70% -10%);background:linear-gradient(var(--angle),#c3e7ee08,#e1f6fa38 50%,#32617506);border:1px solid #d6f4ff55;opacity:0;transform:rotate(var(--angle))}
#cinema.slot-cinema .slot-fx-sparks i{position:absolute;left:50%;top:45%;width:3px;height:clamp(10px,3vw,22px);border-radius:50%;background:var(--fx-soft);box-shadow:0 0 8px var(--fx);opacity:0;transform:rotate(calc(var(--i) * 18deg)) translateY(-70px)}
#cinema.slot-cinema.charging .slot-fx-title,#cinema.slot-cinema.charging .slot-fx-kicker{opacity:.45;transform:scale(.92);filter:blur(1px)}
#cinema.slot-cinema.charging .slot-fx-total,#cinema.slot-cinema.charging .slot-fx-subtitle,#cinema.slot-cinema.charging .slot-fx-traits{opacity:0;visibility:hidden}
#cinema.slot-cinema.charging .slot-fx-ring{animation:slot-ring-charge .7s ease-in both}
#cinema.slot-cinema.impact .slot-fx-shell{animation:slot-title-impact .55s cubic-bezier(.12,.75,.3,1) both}
#cinema.slot-cinema.impact .slot-fx-shards i{animation:slot-shatter .95s cubic-bezier(.15,.7,.25,1) both;animation-delay:calc(var(--i) * 8ms)}
#cinema.slot-cinema.impact .slot-fx-sparks i{animation:slot-spark 1.15s ease-out both;animation-delay:calc(var(--i) * 8ms)}
#cinema.slot-cinema.impact .slot-fx-total{opacity:0;visibility:hidden}
#cinema.slot-cinema.payout .slot-fx-total{animation:slot-payout-land .55s cubic-bezier(.13,.75,.25,1.1) both}
#cinema.slot-cinema.payout .slot-fx-ring{animation:slot-ring-release 1.25s ease-out both}
#cinema.slot-cinema.payout .slot-fx-title{transition:font-size .25s;color:var(--fx-soft)}
#cinema.slot-cinema.payout .slot-fx-sparks i{animation:slot-spark-fall 1.5s ease-out both;animation-delay:calc(var(--i) * 22ms)}
@keyframes slot-strip-roll{to{transform:translateY(-270px)}}
@keyframes slot-reel-land{0%{transform:translateY(-5px);filter:brightness(1.45)}50%{transform:translateY(3px)}100%{transform:translateY(0);filter:brightness(1)}}
@keyframes slot-chip-reveal{from{transform:translateY(5px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes slot-button-sheen{to{transform:translateX(150%)}}
@keyframes slot-anticipate{from{box-shadow:inset 0 0 20px #f8c95c14,0 0 20px #deb55a2b}to{box-shadow:inset 0 0 35px #f8c95c2b,0 0 35px #deb55a66}}
@keyframes slot-impact-shake{0%,100%{transform:translate(0)}20%{transform:translate(-3px,2px)}50%{transform:translate(3px,-1px)}75%{transform:translate(-1px,1px)}}
@keyframes slot-fx-sun{to{transform:rotate(360deg)}}
@keyframes slot-ring-charge{from{transform:translate(-50%,-50%) scale(1.45);opacity:0}to{transform:translate(-50%,-50%) scale(.65);opacity:.65}}
@keyframes slot-title-impact{0%{transform:scale(1.4);opacity:0;filter:blur(6px)}35%{opacity:1;filter:blur(0)}70%{transform:scale(.97)}100%{transform:scale(1)}}
@keyframes slot-shatter{0%{opacity:.7;transform:rotate(var(--angle)) translateY(0) scale(1)}100%{opacity:0;transform:rotate(calc(var(--angle) + 7deg)) translateY(-35%) scale(1.4)}}
@keyframes slot-spark{0%{opacity:0;transform:rotate(calc(var(--i) * 18deg)) translateY(-40px) scaleY(.2)}15%{opacity:.9}100%{opacity:0;transform:rotate(calc(var(--i) * 18deg)) translateY(clamp(-330px,-43vw,-170px)) scaleY(.3)}}
@keyframes slot-payout-land{0%{opacity:0;transform:scale(1.25) translateY(8px);filter:blur(5px)}45%{opacity:1;filter:blur(0)}100%{transform:scale(1) translateY(0)}}
@keyframes slot-ring-release{0%{transform:translate(-50%,-50%) scale(.72);opacity:.65}100%{transform:translate(-50%,-50%) scale(1.18);opacity:.14}}
@keyframes slot-spark-fall{0%{opacity:0;transform:rotate(calc(var(--i) * 18deg)) translateY(-80px) scale(.7)}20%{opacity:.7}100%{opacity:0;transform:rotate(calc(var(--i) * 18deg)) translateY(clamp(-390px,-52vw,-210px)) scale(.3)}}
@media(max-width:560px){.growth-reels{gap:6px;padding:4px}.growth-reel{padding:8px 3px 6px}.growth-reel .reel-value{height:46px}.growth-reel .reel-value>[data-number]{font-size:30px}.growth-reel .reel-strip b{height:46px;font-size:30px}.growth-reel .reel-strip{animation-name:slot-strip-roll-mobile}.growth-reel .gain-chip{font-size:11px}.training-machine .section-heading h2{font-size:15px}#cinema.slot-cinema .slot-fx-shell{padding:35px 4px 20px}#cinema.slot-cinema .slot-fx-kicker{font-size:10px;letter-spacing:.22em;margin-bottom:15px}#cinema.slot-cinema .slot-fx-title{font-size:clamp(31px,9.7vw,49px)}#cinema.slot-cinema .slot-fx-total{margin-top:22px;padding:17px 4px 13px}#cinema.slot-cinema .slot-fx-total strong{font-size:clamp(63px,19vw,98px)}#cinema.slot-cinema .slot-fx-skip{top:max(24px,env(safe-area-inset-top));right:24px;font-size:12px}#cinema.slot-cinema .slot-fx-subtitle{font-size:13px}#cinema.slot-cinema .slot-fx-ring{width:95vw}#cinema.slot-cinema .slot-fx-ring:nth-of-type(2){width:130vw}}
@keyframes slot-strip-roll-mobile{to{transform:translateY(-230px)}}
@media(max-height:620px){#cinema.slot-cinema .slot-fx-shell{padding-block:12px}#cinema.slot-cinema .slot-fx-title{font-size:clamp(30px,7vw,55px)}#cinema.slot-cinema .slot-fx-kicker{margin-bottom:9px}#cinema.slot-cinema .slot-fx-subtitle{margin-top:10px}#cinema.slot-cinema .slot-fx-total{margin-top:15px;padding-block:9px}#cinema.slot-cinema .slot-fx-total strong{font-size:clamp(55px,14vw,82px)}#cinema.slot-cinema .slot-fx-traits{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.training-machine *,.training-machine:before,#cinema.slot-cinema *,#cinema.slot-cinema:before,.slot-impact #app{animation:none!important;transition:none!important;filter:none!important}.growth-reel.spinning .reel-strip{transform:none}.growth-reel.spinning .reel-value>[data-number]{visibility:visible}.growth-reel.spinning .reel-window{display:none}#cinema.slot-cinema.charging .slot-fx-title,#cinema.slot-cinema.charging .slot-fx-kicker{opacity:1;transform:none}#cinema.slot-cinema .slot-fx-shards,#cinema.slot-cinema .slot-fx-sparks{display:none}}
/* Separate symbol drum and permanent stat readout: the reward never masks the number. */
.growth-reel .reel-window{position:relative;inset:auto;display:block;height:64px;margin:1px -3px 2px;background:linear-gradient(#5b52391a,transparent 20%,#fff7 50%,transparent 80%,#5b52391a)}
.growth-reel .reel-strip{display:none}
.growth-reel.spinning .reel-strip{display:block}
.growth-reel .reel-strip b{height:64px;font-size:38px;font-family:var(--serif);letter-spacing:0}
.growth-reel .reel-face{display:grid;place-items:center;height:64px;font:900 38px/1 var(--serif);color:#344d3e;text-shadow:0 2px #fff9;filter:drop-shadow(0 2px 1px #75653533)}
.growth-reel.spinning .reel-face{visibility:hidden}
.growth-reel .reel-value{height:38px;background:transparent;margin:0}
.growth-reel .reel-value>[data-number]{font-size:29px}
.growth-reel.spinning .reel-value>[data-number]{visibility:visible;opacity:.5}
.growth-reel.reel-gold .reel-face{color:#a87518;text-shadow:0 1px #fff2b6,0 0 12px #e1a93e99}
.growth-reel.reel-rainbow .reel-face{color:#675697;text-shadow:0 1px #fff,0 0 15px #d2b3ff}
.growth-reel.landed .reel-face{animation:slot-symbol-land .38s ease-out both}
.slot-machine-status{display:inline-flex;align-items:center;justify-content:center;max-width:100%;border:1px solid #dfcc9139;border-radius:30px;color:#d9cfb2;background:#101c21;font-size:12px;font-weight:700;padding:4px 10px;letter-spacing:.04em;text-align:center}
.slot-anticipation .slot-machine-status{border-color:#eaca76;color:#ffe39c;background:#47341b}
.slot-session{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;margin:0 0 13px;background:linear-gradient(100deg,#cba33f24,#8e653613);border:1px solid #e9c46c59;border-radius:7px;color:#f3d68f;line-height:1.5}
.slot-session span{font-size:12px;font-weight:700}.slot-session strong{font-size:21px;font-variant-numeric:tabular-nums;line-height:1.2;letter-spacing:-.03em;color:#fff0bd}.slot-session small{font-size:11px;color:#c1bca2}
.slot-rush .slot-session{border-color:#bd91e96b;background:linear-gradient(100deg,#9d6dd82e,#3d25541a);color:#dfc6ff}
#cinema.slot-cinema .slot-fx-hero{display:grid;place-items:center;width:125px;height:125px;max-height:125px;margin:0 auto 13px;position:relative;filter:drop-shadow(0 0 20px rgba(var(--fx-rgb),.3))}
#cinema.slot-cinema .slot-fx-hero:before{content:'';position:absolute;inset:7px;border:1px solid rgba(var(--fx-rgb),.35);transform:rotate(45deg);background:linear-gradient(135deg,rgba(var(--fx-rgb),.09),transparent)}
#cinema.slot-cinema .slot-fx-hero svg{display:block;width:100%;height:100%;max-height:120px;position:relative}
#cinema.slot-cinema .slot-fx-hero .face{width:100%;height:100%}
#cinema.slot-cinema .slot-fx-hero .face>span{display:none}
#cinema.slot-cinema.charging .slot-fx-hero{opacity:0}
#cinema.slot-cinema.impact .slot-fx-hero{animation:slot-chip-reveal .45s ease-out both}
@keyframes slot-strip-roll{to{transform:translateY(-320px)}}
@keyframes slot-symbol-land{0%{transform:scale(1.23) translateY(-3px);opacity:.4}55%{transform:scale(.95) translateY(2px);opacity:1}100%{transform:scale(1) translateY(0)}}
@media(max-width:560px){.growth-reel .reel-window,.growth-reel .reel-face,.growth-reel .reel-strip b{height:52px}.growth-reel .reel-face,.growth-reel .reel-strip b{font-size:33px}.growth-reel .reel-value{height:32px}.growth-reel .reel-value>[data-number]{font-size:25px}.slot-session{padding:8px 10px;margin-bottom:11px}.slot-session strong{font-size:19px}.slot-session span{font-size:11px}.slot-machine-status{font-size:10px;padding:4px 7px}#cinema.slot-cinema .slot-fx-hero{width:95px;height:95px;margin-bottom:13px}#cinema.slot-cinema .slot-fx-hero svg{max-height:90px}}
@keyframes slot-strip-roll-mobile{to{transform:translateY(-260px)}}
@media(max-height:620px){#cinema.slot-cinema .slot-fx-hero{width:75px;height:75px;margin-bottom:9px}#cinema.slot-cinema .slot-fx-hero svg{max-height:75px}}
@media(prefers-reduced-motion:reduce){.growth-reel.spinning .reel-face{visibility:visible}.growth-reel.spinning .reel-strip{display:none}.growth-reel.spinning .reel-value>[data-number]{opacity:1}#cinema.slot-cinema.charging .slot-fx-hero{opacity:1}}

@media(prefers-reduced-motion:reduce){.growth-reel.spinning .reel-window{display:block}}

/* Keep fracture alive while the earned total lands. */
#cinema.slot-cinema.payout .slot-fx-total{visibility:visible;opacity:1}
.slot-reverse .reel-strip{animation-direction:reverse!important}
#cinema.slot-cinema.fx-birth{--fx:#e8d092;--fx-rgb:232,208,146;--fx-soft:#fff5d6}

/* The rare freeze first collapses the screen into a single line. */
#cinema.slot-cinema.fx-freeze.charging{background:#010407}
#cinema.slot-cinema.fx-freeze.charging .slot-fx-title,#cinema.slot-cinema.fx-freeze.charging .slot-fx-ring{visibility:hidden}
#cinema.slot-cinema.fx-freeze.charging:before{display:none}
#cinema.slot-cinema.fx-freeze.charging:after{inset:50% 10%;height:1px;border:0;background:#d9f8ff;box-shadow:0 0 14px #bdeaff;animation:slot-screen-collapse .55s ease-in both}
@keyframes slot-screen-collapse{0%{transform:scaleX(1);opacity:1}75%{transform:scaleX(.03);opacity:.8}100%{transform:scaleX(0);opacity:0}}
@media(prefers-reduced-motion:reduce){#cinema.slot-cinema.fx-freeze.charging:after{display:none}}

.training-power{display:flex;align-items:center;gap:7px}.training-power>i{display:inline-grid;place-items:center;min-width:24px;height:24px;border:1px solid #e8d19466;border-radius:4px;color:#ffe4a4;background:#e6bc4319;font:900 16px/1 system-ui;font-style:normal}
#cinema.slot-cinema .slot-fx-crest{width:116px;height:116px;margin:0 auto 15px;color:var(--fx);filter:drop-shadow(0 0 22px rgba(var(--fx-rgb),.45))}
#cinema.slot-cinema .slot-fx-crest svg{width:100%;height:100%}
#cinema.slot-cinema.charging .slot-fx-crest{opacity:.15;transform:scale(.8)}
#cinema.slot-cinema.impact .slot-fx-crest{animation:slot-symbol-land .5s ease-out both}
#cinema.slot-cinema.fx-freeze.charging .slot-fx-crest{visibility:hidden}
@media(max-width:560px){#cinema.slot-cinema .slot-fx-crest{width:87px;height:87px;margin-bottom:15px}}
@media(max-height:620px){#cinema.slot-cinema .slot-fx-crest{width:58px;height:58px;margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){#cinema.slot-cinema.charging .slot-fx-crest{opacity:1;transform:none}}

/* Slot results and persistent attributes have separate, explicit homes. */
.training-current{max-width:740px;margin:16px auto}.training-current h2{font-size:17px}.training-current .section-heading>span{font-size:12px;color:var(--muted)}.current-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.current-stat-grid>div{padding:10px 6px;border:1px solid #abc8b323;background:#09191e66;border-radius:7px;text-align:center}.current-stat-grid small{display:block;font-size:12px;color:var(--muted)}.current-stat-grid strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}.growth-reel .reel-value>[data-number]{color:#714b12}.rename-button{display:inline-block;background:none;border:0;border-bottom:1px solid #d1c18a55;color:#d7cda7;padding:1px 0;margin:2px 0 6px;font-size:12px;line-height:1.7;min-height:28px}.training-header h1{margin-bottom:0}.birth-name{display:flex;align-items:center;justify-content:center;gap:14px}.birth-name h2{font-size:22px}.auto-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.battle-speed{display:flex;gap:3px;align-items:center}.battle-speed small{font-size:12px;color:var(--muted);margin-right:4px}.battle-speed button{padding:6px 8px;min-height:34px;background:#101f25;color:#a8bab9;border:1px solid #bad3c32b;border-radius:5px;font-size:12px;font-weight:700}.battle-speed button[aria-pressed=true]{background:#d5be7f;color:#1c2b28;border-color:#ffe3a3}.enemy.hit{animation-duration:calc(.42s / var(--battle-speed,1))}.damage-number{animation-duration:calc(.65s / var(--battle-speed,1))}#rename-dialog{width:min(420px,calc(100% - 32px));border:1px solid #e3c99155;border-radius:12px;background:#18282c;color:var(--text);padding:24px}#rename-dialog::backdrop{background:#020b10c9}#rename-input{display:block;width:100%;margin-top:10px;padding:12px;background:#0b1d24;color:#f2f1e7;border:1px solid #e3c99166;border-radius:6px;font-size:18px}#rename-error{color:#ffb4a2;min-height:24px;font-size:13px}.hero-card-top>div{min-width:0}.hero-card h3,.training-header h1{overflow-wrap:anywhere}
@media(max-width:560px){.current-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.training-current{padding:15px}.battle-instruction{align-items:flex-start;gap:10px;flex-direction:column}.auto-controls{width:100%;justify-content:space-between;gap:6px}.battle-speed button{min-height:36px;padding:6px 9px}.training-header .rename-button{font-size:11px;margin-bottom:2px}.current-stat-grid strong{font-size:23px}}

.slot-speed{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin:0 0 12px}.slot-speed small{margin-right:auto;color:var(--muted);font-size:12px}.slot-speed button{padding:6px 10px;min-height:34px;border:1px solid #d4c49340;border-radius:5px;background:#0b1c24;color:#d5d4bb;font-size:13px;font-weight:700}.slot-speed button[aria-pressed=true]{background:#e4c77d;color:#172722}.growth-reel.spinning .reel-strip{animation-duration:calc(.23s / var(--slot-speed,1))}.graduate-actions{display:grid;gap:10px;margin-top:20px}.destiny-result{max-width:640px;margin:20px auto}.destiny-result-hero{display:flex;align-items:center;gap:20px}.destiny-result-hero h2{overflow-wrap:anywhere}.destiny-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.destiny-summary>div{border:1px solid #e4c77d44;border-radius:8px;background:#d4bb6820;padding:14px}.destiny-summary small{display:block;color:var(--muted)}.destiny-summary strong{font-size:25px;color:#ffe0a0}.destiny-result h3{font-size:14px;margin:20px 0 10px;color:var(--muted)}.destiny-result>.primary{margin-top:22px;width:100%}.roster-tools{display:grid;grid-template-columns:1.3fr .8fr 1.2fr;gap:12px;margin:16px 0}.roster-tools label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.roster-tools select{width:100%;min-width:0;background:#13242a;color:var(--text);padding:10px 22px 10px 9px;border:1px solid #c9cdac44;border-radius:6px;font-size:14px}.roster-empty{padding:30px;text-align:center;color:var(--muted)}#discard-dialog{width:min(440px,calc(100% - 32px));padding:24px;background:#18282c;color:var(--text);border:1px solid #e3c99155;border-radius:12px}#discard-dialog h2{font-size:21px}#discard-dialog p{font-size:14px;color:var(--muted)}#discard-dialog::backdrop{background:#020b10c9}@media(max-width:560px){.roster-tools{gap:7px}.roster-tools select{font-size:12px}.roster-tools label{font-size:11px}.slot-speed button{padding:6px 12px}.destiny-summary strong{font-size:22px}}

.training-machine .growth-reel.spinning .reel-strip{animation-duration:calc(.23s / var(--slot-speed,1))}

.roster-tools select{font-size:14px}.roster-tools label{font-size:13px}

.auto-management{margin:14px 0 18px;padding:14px;border:1px solid #cdb87844;background:linear-gradient(120deg,#d8b66a14,#091b2233);border-radius:9px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.party-power small{display:block;font-size:12px;color:var(--muted)}.party-power strong{font:900 29px/1.3 system-ui;color:#f5dea3;font-variant-numeric:tabular-nums}.auto-management-buttons{display:flex;gap:8px}.auto-management-buttons button{min-height:43px;font-size:14px;padding:8px 13px}.auto-management>p{grid-column:1/-1;margin:0;font-size:12px;color:var(--muted);line-height:1.7}@media(max-width:560px){.auto-management{grid-template-columns:1fr;padding:12px;gap:9px}.auto-management-buttons{display:grid;grid-template-columns:1fr 1fr}.auto-management-buttons button{width:100%;font-size:14px;padding:9px 7px}.party-power{display:flex;align-items:center;justify-content:space-between;gap:10px}.party-power small{font-size:11px}.party-power strong{font-size:26px}.auto-management>p{font-size:11px}}

/* Outcome-specific cut-ins: original sigils, wings and light paths, no strobe. */
#cinema.slot-cinema .slot-fx-beams,#cinema.slot-cinema .slot-fx-orbits{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
#cinema.slot-cinema .slot-fx-beams i{position:absolute;left:50%;top:44%;height:min(65vh,540px);width:clamp(16px,5vw,55px);background:linear-gradient(0deg,rgba(var(--fx-rgb),.45),transparent 90%);clip-path:polygon(48% 100%,0 0,100% 0);transform-origin:50% 100%;transform:translate(-50%,-100%) rotate(calc(var(--i)*45deg));opacity:0}
#cinema.slot-cinema.impact .slot-fx-beams i{animation:slot-beam-open calc(1.2s / var(--fx-speed,1)) ease-out both;animation-delay:calc(var(--i)*20ms / var(--fx-speed,1))}
#cinema.slot-cinema .slot-fx-orbits i{position:absolute;left:50%;top:44%;width:min(86vw,680px);aspect-ratio:1;border:2px solid rgba(var(--fx-rgb),.38);border-radius:50%;transform:translate(-50%,-50%) rotate(calc(var(--i,0)*30deg));box-shadow:0 0 25px rgba(var(--fx-rgb),.12)}
#cinema.slot-cinema .slot-fx-orbits i:nth-child(2){inset:auto;left:50%;top:44%;width:min(66vw,510px);border-style:dashed;transform:translate(-50%,-50%) rotate(35deg)}
#cinema.slot-cinema .slot-fx-orbits i:nth-child(3){width:min(100vw,800px);border-width:1px;opacity:.45}
#cinema.slot-cinema.impact .slot-fx-orbits{animation:slot-sigil-unfold calc(.9s / var(--fx-speed,1)) cubic-bezier(.16,.8,.24,1) both}
#cinema.slot-cinema.fx-motif-blade .slot-fx-beams i:nth-child(n+3){display:none}
#cinema.slot-cinema.fx-motif-blade .slot-fx-beams i{width:16px;clip-path:none;background:linear-gradient(transparent,var(--fx-soft),transparent);transform:translate(-50%,-65%) rotate(calc(45deg + var(--i)*90deg));height:100vh}
#cinema.slot-cinema.fx-motif-supernova .slot-fx-orbits i{border-radius:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:linear-gradient(135deg,rgba(var(--fx-rgb),.12),transparent);border:0}
#cinema.slot-cinema.fx-motif-dragon .slot-fx-beams i{width:clamp(50px,20vw,190px);clip-path:polygon(50% 100%,0 30%,18% 0,50% 35%,82% 0,100% 30%);background:linear-gradient(0deg,#fff1b888,rgba(var(--fx-rgb),.1))}
#cinema.slot-cinema.fx-motif-dragon .slot-fx-orbits i{border-radius:18%;transform:translate(-50%,-50%) rotate(45deg)}
#cinema.slot-cinema.fx-motif-gateway .slot-fx-orbits i{border-radius:45% 45% 3% 3%;aspect-ratio:.7;background:linear-gradient(90deg,transparent,rgba(var(--fx-rgb),.05),transparent)}
#cinema.slot-cinema.fx-motif-ascension .slot-fx-beams i{height:90vh;width:clamp(30px,9vw,100px)}
#cinema.slot-cinema.fx-motif-ascension .slot-fx-orbits i{border-width:4px;border-style:double}
#cinema.slot-cinema.fx-motif-treasure .slot-fx-orbits i{border:4px double var(--fx);box-shadow:inset 0 0 40px rgba(var(--fx-rgb),.15),0 0 50px rgba(var(--fx-rgb),.12)}
#cinema.slot-cinema.fx-motif-milestone .slot-fx-orbits i{border-radius:12%;transform:translate(-50%,-50%) rotate(45deg);border-width:3px}
#cinema.slot-cinema.fx-motif-thunder .slot-fx-beams i{clip-path:polygon(52% 0,12% 52%,52% 52%,30% 100%,88% 35%,52% 35%);width:90px}
#cinema.slot-cinema.fx-motif-frost .slot-fx-orbits i{border-radius:0;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:rgba(var(--fx-rgb),.05)}
#cinema.slot-cinema.fx-motif-eclipse .slot-fx-orbits i:first-child{background:#01040b;border:3px solid #b8e9ff;box-shadow:0 0 60px #9ad7ff66,inset 0 0 24px #9ad7ff22}
#cinema.slot-cinema.fx-motif-eclipse .slot-fx-beams{opacity:.4}
#cinema.slot-cinema.fx-motif-bloom .slot-fx-orbits i{border-radius:45% 8% 45% 8%;transform:translate(-50%,-50%) rotate(45deg)}
#cinema.slot-cinema.fx-motif-arcane .slot-fx-orbits i{border-radius:0;border-style:double;transform:translate(-50%,-50%) rotate(30deg)}
#cinema.slot-cinema.fx-motif-golden-wings .slot-fx-beams i{width:clamp(50px,18vw,180px);clip-path:polygon(50% 100%,0 55%,0 0,50% 30%,100% 0,100% 55%)}
#cinema.slot-cinema.fx-motif-prismatic .slot-fx-orbits i{border:3px solid transparent;background:linear-gradient(#07101ddd,#07101ddd) padding-box,conic-gradient(#9bfff1,#c7a2ff,#ffc5e5,#ffdf85,#9bfff1) border-box;box-shadow:0 0 50px #d7b4ff44}
#cinema.slot-cinema.fx-motif-destiny .slot-fx-orbits i{border-style:double;border-radius:10%;transform:translate(-50%,-50%) rotate(45deg)}
#cinema.slot-cinema.fx-rarity-SR{--fx:#c3a7ff;--fx-rgb:195,167,255;--fx-soft:#f0e5ff}
#cinema.slot-cinema.fx-rarity-SSR{--fx:#ffcf68;--fx-rgb:255,207,104;--fx-soft:#fff5c9;background:radial-gradient(ellipse at 50% 44%,#976e263d,transparent 68%),#080a10fa}
#cinema.slot-cinema.fx-rarity-UNIQUE{--fx:#e6bbff;--fx-rgb:230,187,255;--fx-soft:#fff0ff;background:radial-gradient(ellipse at 25% 40%,#35c6c324,transparent 55%),radial-gradient(ellipse at 80% 60%,#b75adb30,transparent 55%),#080814fa}
#cinema.slot-cinema.fx-rarity-UNIQUE .slot-fx-title{background:linear-gradient(100deg,#a9fff1,#fff2b2,#ffbde7,#c1b6ff,#a9fff1);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:slot-foil-shine calc(2s / var(--fx-speed,1)) linear both}
#cinema.slot-cinema .slot-fx-skills{display:grid;gap:12px;width:100%;max-width:480px;margin-top:18px}
#cinema.slot-cinema .slot-fx-skills:empty{display:none}
#cinema.slot-cinema .slot-fx-skill{position:relative;padding:18px 20px;border:1px solid rgba(var(--fx-rgb),.6);border-radius:10px;background:linear-gradient(125deg,rgba(var(--fx-rgb),.18),#08111ee8);box-shadow:inset 0 0 22px rgba(var(--fx-rgb),.05),0 0 28px rgba(var(--fx-rgb),.12);text-align:left;overflow:hidden}
#cinema.slot-cinema .slot-fx-skill small{display:block;color:var(--fx);font:800 13px/1.6 system-ui;letter-spacing:.16em}
#cinema.slot-cinema .slot-fx-skill strong{display:block;color:var(--fx-soft);font:900 clamp(24px,6vw,38px)/1.4 var(--serif);margin:5px 0;overflow-wrap:anywhere}
#cinema.slot-cinema .slot-fx-skill p{margin:0;color:#eff1e8;font:500 14px/1.7 system-ui;overflow-wrap:anywhere}
#cinema.slot-cinema .slot-fx-skill.skill-tier-SR{border-color:#bb9bff}
#cinema.slot-cinema .slot-fx-skill.skill-tier-SSR{border:2px solid #ffdc86;background:linear-gradient(125deg,#c5923c30,#15111be8)}
#cinema.slot-cinema .slot-fx-skill.skill-tier-UNIQUE{border:2px solid transparent;background:linear-gradient(#211a32,#0b1c24) padding-box,linear-gradient(130deg,#acffec,#ffe09a,#eeb2ff,#b9d8ff) border-box}
#cinema.slot-cinema.fx-acquisition .slot-fx-total{display:none}
#cinema.slot-cinema.fx-acquisition .slot-fx-shell{pointer-events:auto;max-height:calc(100dvh - 115px);overflow-y:auto;scrollbar-width:thin;padding-block:12px;overscroll-behavior:contain}
#cinema.slot-cinema.fx-acquisition.charging .slot-fx-skills{opacity:0;visibility:hidden}
#cinema.slot-cinema.fx-acquisition.impact .slot-fx-skills{animation:slot-payout-land calc(.55s / var(--fx-speed,1)) ease-out both}
#cinema.slot-cinema.impact .slot-fx-shell{animation-duration:calc(.55s / var(--fx-speed,1))}
#cinema.slot-cinema.impact .slot-fx-shards i{animation-duration:calc(.95s / var(--fx-speed,1));animation-delay:calc(var(--i)*8ms / var(--fx-speed,1))}
#cinema.slot-cinema.payout .slot-fx-sparks i{animation-duration:calc(1.5s / var(--fx-speed,1));animation-delay:calc(var(--i)*22ms / var(--fx-speed,1))}
@keyframes slot-beam-open{0%{opacity:0;scale:.25}30%{opacity:.7}100%{opacity:.1;scale:1.12}}
@keyframes slot-sigil-unfold{from{opacity:0;transform:scale(.4) rotate(-35deg)}to{opacity:.7;transform:scale(1) rotate(0)}}
@keyframes slot-foil-shine{from{background-position:100% 0}to{background-position:0 0}}
@media(max-width:560px){#cinema.slot-cinema .slot-fx-skills{gap:9px;margin-top:13px}#cinema.slot-cinema .slot-fx-skill{padding:13px 14px}#cinema.slot-cinema.fx-acquisition .slot-fx-title{font-size:clamp(28px,8.5vw,43px)}}
@media(max-height:620px){#cinema.slot-cinema.fx-acquisition .slot-fx-hero{display:none}#cinema.slot-cinema.fx-acquisition .slot-fx-kicker{display:none}#cinema.slot-cinema .slot-fx-skill{padding:10px 12px}#cinema.slot-cinema .slot-fx-skill strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){#cinema.slot-cinema .slot-fx-beams{display:none}#cinema.slot-cinema .slot-fx-orbits{opacity:.45;transform:none}#cinema.slot-cinema.fx-acquisition.charging .slot-fx-skills{opacity:1;visibility:visible}}
