/* One viewport and one thumb dock for every chapter. */
html.game-shell,html.game-shell body{margin:0;height:100%;overflow:hidden;background:#241e22}
html.game-shell body main{display:block!important;position:relative;width:min(440px,100vw,calc((100svh - 176px)*.75))!important;min-width:0!important;padding:0!important;margin:0 auto!important;min-height:0!important}
html.game-shell body main>.scene{width:100%!important;aspect-ratio:3/4!important;height:auto!important;max-height:none!important;min-width:0!important;margin:0!important;box-sizing:border-box;border-radius:18px!important}
html.game-shell body main>.info{position:fixed!important;left:-20000px!important;top:0!important;width:380px!important;padding:0!important;margin:0!important}
html.game-shell body .scene.elevator-mode>:is(.lift-interior,.after-lift,.beds-route,.beds-jump){width:75%!important;left:12.5%!important;right:auto!important;height:100%!important}
html.game-shell .shell-original{position:fixed!important;left:-20000px!important;top:0!important;width:380px!important;max-height:none!important;pointer-events:none!important}
html.game-shell .shell-control{opacity:0!important;pointer-events:none!important}
html.game-shell :is(.brand-audio,.photo-toggle,.badge,.guard-game header,.eyebrow,.info>.lead,.info>.members,.info>.facts,.info>details,.info>.old,.info>.track,.info>#status){display:none!important}
html.game-shell #game-dock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,460px);height:168px;box-sizing:border-box;padding:6px 8px max(6px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:5px;background:linear-gradient(155deg,#462b32f7,#241c24fa);border:1px solid #d6ac6350;border-radius:18px 18px 0 0;color:#fff7df;z-index:1000;font:13px/1.25 Arial,sans-serif}
html.game-shell .intro-splash-content h2{color:#fff7cf;text-shadow:-2px -2px #b52725,2px -2px #b52725,-2px 2px #b52725,2px 2px #b52725,0 5px #f6a32c,0 8px #762120;transform:rotate(-2deg)}
html.game-shell .intro-splash-content::before,html.game-shell .intro-splash-content::after{content:'✦';position:absolute;font-size:45px;color:#ffd552;text-shadow:0 3px #e8442f;top:28%;left:6%}
html.game-shell .intro-splash-content::after{left:auto;right:7%;top:65%;font-size:30px}
html.game-shell .scene .journey-next{display:none!important}
html.game-shell .scene :is(.jump-controls,.beds-tip){opacity:0!important;pointer-events:none!important}
html.game-shell .scene button.shell-control{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden!important}
html.game-shell .beds-banner{height:auto!important;min-height:0!important;bottom:auto!important;padding:18px 14px!important}
#game-dock .dock-hint{font-size:12px;line-height:1.25;min-height:15px;max-height:32px;overflow:auto;text-align:center;margin:0;color:#fff3d5}
#game-dock .dock-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;flex:1;min-height:44px;overflow:auto}
#game-dock button,#game-dock select{box-sizing:border-box;min-height:40px;border:1px solid #e6b97770;border-radius:12px;padding:6px 10px;background:#59333d;color:#fff6df;font:700 12px/1.2 Arial;touch-action:manipulation;cursor:pointer}
#game-dock .dock-actions button{flex:1;min-width:70px;max-width:100%;background:linear-gradient(#f6662e,#cb202d);box-shadow:inset 0 1px #ffffff70}
#game-dock button:disabled{opacity:.45;cursor:default}
#game-dock button:focus-visible,#game-dock select:focus-visible{outline:2px solid #d6ff36;outline-offset:2px}
#game-dock .dock-nav{display:flex;gap:5px;flex:none}#game-dock .dock-nav select{flex:1;min-width:0}#game-dock .dock-nav button{min-width:40px}
#game-dock .dock-meter{height:12px;position:relative;background:#ab2638;border-radius:8px;width:100%;margin:0 10px;overflow:hidden}#game-dock .dock-meter span{position:absolute;inset:0 auto 0 44%;width:12%;background:#caff36;box-shadow:0 0 7px #d6ff36}#game-dock .dock-meter i{position:absolute;width:3px;top:0;bottom:0;background:white}
@media(max-height:600px){html.game-shell body main{width:min(440px,100vw,calc((100svh - 152px)*.75))!important}html.game-shell #game-dock{height:146px}.dock-hint{max-height:16px!important}#game-dock button,#game-dock select{min-height:36px}}
@media(prefers-reduced-motion:reduce){#game-dock *{scroll-behavior:auto}}
