/* Full-width images are content, not masked pseudo-element background layers. */
body #winner.screen.active,
body.hunger-experiment-active #winner.screen.active,
body.hunger-experiment-active #all.screen.active,
body.hunger-experiment-active #wheel-screen.screen.active,
body.hunger-experiment-active #search-error.screen.active{padding-top:0!important}
body #winner.screen.active::before,body #winner.screen.active::after,
body.hunger-experiment-active #all.screen.active::before,body.hunger-experiment-active #all.screen.active::after,
body.hunger-experiment-active #wheel-screen.screen.active::before,body.hunger-experiment-active #wheel-screen.screen.active::after,
body.hunger-experiment-active #search-error.screen.active::before,body.hunger-experiment-active #search-error.screen.active::after{content:none!important;display:none!important;background:none!important}
/* Use the document's scrollbar-adjusted width so both edges meet the viewport. */
body .screen .scene-hero{display:block!important;position:relative!important;z-index:1!important;width:var(--scene-viewport-width,100vw)!important;max-width:none!important;height:auto!important;margin:0 calc((100% - var(--scene-viewport-width,100vw))/2) 24px!important;padding:0!important;border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;transform:none!important;filter:none!important;isolation:isolate}
body .screen .scene-hero[hidden]{display:none!important}
body .screen .scene-hero::before,body .screen .scene-hero::after{content:none!important;display:none!important}
body .screen .scene-hero>img,
body #winner.screen.active .scene-hero>img.jackpot-hero-v1452{display:block!important;position:static!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;filter:none!important;opacity:1!important;transform:none!important;-webkit-mask-image:none!important;mask-image:none!important}
/* The illustration already says JACKPOT; never add a second title or badge. */
body #winner.screen.active .lab-winner-card::before,
body #winner.screen.active .winner-card::before,
body #winner.screen.active .jackpot-ornament{content:none!important;display:none!important}
body #winner.screen.active>.eyebrow,body #winner.screen.active>.winner-title{display:none!important}
body #winner.screen.active .winner-card{margin-top:0!important;border-radius:20px 20px 0 0!important;padding-top:24px!important}
body #winner.screen.active .winner-bottom-actions-v1452{box-sizing:border-box!important}
/* Loading art spans side to side at its natural ratio. Status is BELOW the art. */
body:has(#loading.active) main #loading.screen.active{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;max-height:none!important;padding:0 0 24px!important;margin:0!important;overflow:visible!important;background:#041127!important}
body:has(#loading.active) main #loading.screen.active::before,
body:has(#loading.active) main #loading.screen.active::after{content:none!important;display:none!important}
body #loading.screen.active>img.loading-scene-hero{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0!important;filter:none!important;mask-image:none!important;-webkit-mask-image:none!important;opacity:1!important}
body:has(#loading.active) main #loading.screen.active>.hangry-loading-ui{position:relative!important;inset:auto!important;transform:none!important;width:min(900px,calc(100% - 28px))!important;max-width:calc(100% - 28px)!important;margin:18px auto 0!important;padding:16px!important;flex:0 0 auto!important;background:#061b30!important;border-radius:16px!important;box-shadow:none!important}
body #loading.screen.active .hangry-loading-ui>.hangry-reset-everywhere{position:static!important;display:block!important;width:auto!important;max-width:100%!important;margin:12px auto 0!important;inset:auto!important;transform:none!important}
@media(max-width:700px){
 body .screen .scene-hero{margin-bottom:18px!important}
 body #winner.screen.active .winner-card{border-radius:14px 14px 0 0!important}
 body #loading.screen.active>.loading-scene-hero{width:100%!important;height:auto!important}
}
/* Hunger-specific winner rules must not reintroduce its old casino layers. */
html body.hunger-experiment-active #winner.screen.active::before,
html body.hunger-experiment-active #winner.screen.active::after{content:none!important;display:none!important;background:none!important}
