/* Attract mode used by the landing page hero (game.html?demo=1). Only active when html.demo is set. */
#demoFade{display:none}
html.demo,html.demo body{margin:0!important;padding:0!important;background:transparent!important;overflow:hidden!important;width:100%;height:100%}
html.demo body::before,html.demo body::after{display:none!important}
html.demo #gameShell{position:fixed;inset:0;margin:0!important;padding:0!important;max-width:none!important;width:100%;height:100%;background:none!important;border:0!important;box-shadow:none!important}
html.demo #gameShell>header,html.demo .hud,html.demo .under,html.demo .modal,html.demo .mobileControls,
html.demo .rewardToast,html.demo #gameOver,html.demo #inventory,html.demo #chapterClearToast{display:none!important}
html.demo main{display:block!important;position:absolute;inset:0;margin:0!important;padding:0!important;max-width:none!important;width:100%;height:100%;background:none!important;border:0!important}
html.demo #game{display:block;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;position:absolute;left:0;top:0;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;image-rendering:pixelated}
html.demo #demoFade{display:block;position:fixed;inset:0;background:#0a0e24;opacity:0;pointer-events:none;transition:opacity .3s ease;z-index:5}
html.demo #demoFade.on{opacity:1}

/* V53: The embedded demo must use the entire 16:9 iframe viewport.
   This override is loaded after all responsive game styles on the website only. */
html.demo,html.demo body{width:100%!important;height:100%!important;min-width:0!important;overflow:hidden!important}
html.demo #gameShell{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
html.demo #gameShell main{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
html.demo #gameShell canvas#game{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;aspect-ratio:auto!important;object-fit:fill!important;border:0!important;border-radius:0!important;box-shadow:none!important}
