/* Reserve actual rows for Cash's label, outcome and full wager/mask summary. */
html body.portrait-play.slot-screen #app .scene-slots .cash-machine .cash-feature-display{height:auto!important;min-height:58px!important;flex:none!important;display:grid!important;grid-template-rows:12px minmax(20px,auto) minmax(15px,auto)!important;gap:1px!important;padding:4px 6px!important;box-sizing:border-box!important;overflow:visible!important;line-height:1.15!important}
html body.portrait-play.slot-screen #app .scene-slots .cash-machine .cash-feature-display>span{font:700 10px/1.25 system-ui!important;display:block!important;min-width:0!important;white-space:normal!important}
/* The trim surrounds the reel window; it no longer stretches into a gold wall. */
html body.portrait-play.slot-screen #app .scene-slots .vault-play-area{width:100%!important;max-width:none!important;align-self:stretch!important;justify-content:center!important}
html body.portrait-play.slot-screen #app .scene-slots .reel-frame{flex:0 1 auto!important;height:auto!important;min-height:0!important;max-height:100%!important;width:100%!important;max-width:none!important;aspect-ratio:5/3!important;align-self:center!important;position:relative!important;background:#0b0e14!important;border:5px ridge #d1ac5d!important;padding:4px!important}
html body.portrait-play.slot-screen #app .scene-slots .reel-window{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:5/3!important;margin:0!important}
html body.portrait-play.slot-screen #app .scene-slots .reel-frame.artwork-loading::before,html body.portrait-play.slot-screen #app .scene-slots .reel-frame.artwork-error::before{position:absolute!important;inset:6px!important;z-index:30!important;display:grid!important;place-items:center!important;background:#080d17!important;color:#f8dfa2!important;text-align:center!important;font:700 13px/1.4 system-ui!important;pointer-events:none!important;content:'Preparing reel artwork…'!important}
html body.portrait-play.slot-screen #app .scene-slots .reel-frame.artwork-error::before{content:'Reel artwork unavailable · refresh to retry'!important}
html body.home-screen #app .home-host-stage{isolation:isolate!important;overflow:hidden!important;border-radius:18px!important}
html body.home-screen #app .home-host-stage img,html body.home-screen #app .home-host-stage .host-motion{object-fit:cover!important;object-position:50% 18%!important;mask-image:none!important;animation:none!important;filter:none!important;transform:none!important}
/* Videos cover photographed stills only after a decoded frame exists. */
html body #app :is(.host-motion,.showgirl-film,.story-character-motion,.table-cinema){opacity:0;transition:opacity .2s ease-out;pointer-events:none}
html body #app :is(.host-motion,.showgirl-film,.story-character-motion,.table-cinema).motion-ready{opacity:1}
.story-film-cast{position:absolute;inset:5% 4% 40%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;z-index:2;pointer-events:none;overflow:hidden;align-items:stretch}
.story-film-cast.single-performer{grid-template-columns:minmax(0,1fr);inset-inline:17%}
.story-film-performer{position:relative;margin:0;overflow:hidden;border:1px solid #b6965577;border-radius:14px;background:#10100e;min-width:0;box-shadow:0 8px 20px #0008}
.story-film-performer :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%;display:block}
.story-film-performer.is-speaker{border-color:#f4d995;box-shadow:0 0 12px #d1a74b33}
.story-film-performer figcaption{position:absolute;inset:auto 0 0;z-index:3;padding:14px 6px 7px;background:linear-gradient(transparent,#050608e6);color:#ffe7a8;font:600 14px/1.2 Georgia;text-align:center}
.v239-stage:has(.story-film-cast) .v239-stage-copy{z-index:4!important}
.realistic-table{position:relative;isolation:isolate;background:linear-gradient(#0005,#0007),var(--real-table-poster) center/cover!important}
.table-cinema{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:-1!important;border-radius:inherit!important;filter:brightness(.64) saturate(.8);pointer-events:none!important}
.showgirl-film{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:inherit!important;z-index:1!important}
.showgirl-still{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
html body #app :is(.machine-number,.machine-saved){z-index:3!important}
@media(max-height:650px){.story-film-cast{inset:3% 4% 47%;gap:6px}.story-film-performer figcaption{font-size:11px}.story-film-cast.single-performer{inset-inline:20%}}
@media(prefers-reduced-motion:reduce){html body #app :is(.host-motion,.showgirl-film,.story-character-motion,.table-cinema){display:none!important;transition:none!important}}
html body:is(.reduce,.system-reduced-motion) #app :is(.host-motion,.showgirl-film,.story-character-motion,.table-cinema){display:none!important}

.story-environment-motion{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;z-index:1;opacity:0;filter:brightness(.55)}
.story-environment-motion.motion-ready{opacity:1}
.story-character-motion{opacity:0;pointer-events:none}.story-character-motion.motion-ready{opacity:1}
@media(prefers-reduced-motion:reduce){.story-environment-motion,.story-character-motion{display:none!important}}
body:is(.reduce,.system-reduced-motion) :is(.story-environment-motion,.story-character-motion){display:none!important}

.legacy-realistic-scene{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:16/9;background:#0c1015}.legacy-realistic-scene .story-film-cast{inset:0 12% 0 45%;z-index:3}.story-environment-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.6)}.legacy-film-prize{position:absolute;left:4%;bottom:15%;z-index:5;color:#ffe1a0;font:700 20px Georgia}

/* Keep the Kitty Mania title in its own strip, never over a face or kitten. */
.home-screen #app .gamecard.room-gems{position:relative}
.home-screen #app .gamecard.room-gems .room-heading{position:relative!important;inset:auto!important;flex:0 0 auto!important;padding:8px 14px!important;background:linear-gradient(100deg,#081b16,#19150d)!important;order:0}
.home-screen #app .gamecard.room-gems .room-heading .room-category{display:none!important}
.home-screen #app .gamecard.room-gems .room-heading h2{font-size:clamp(18px,4vw,25px)!important;margin:0!important;line-height:1.08!important}
.home-screen #app .gamecard.room-gems .sunshyne-card-art{order:1;min-height:0!important;flex:1 1 auto!important;height:auto!important;max-height:none!important;position:relative;background:#081b16!important}
.home-screen #app .gamecard.room-gems .sunshyne-card-art img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:contain;object-position:center}
.home-screen #app .gamecard.room-gems .room-details{order:2;flex:0 0 auto}
