/* Fixed city chrome across screens and overlays. Camera/content alone can move. */
html,body{overscroll-behavior:none}
#game.rk-fixed-shell{position:relative;overflow:hidden;height:100dvh;height:100svh;max-height:100dvh;contain:layout;isolation:isolate}
#game.rk-fixed-shell>.top{position:absolute!important;inset:0 0 auto!important;top:0!important;right:0!important;left:0!important;width:100%!important;max-width:600px;margin:0 auto!important;height:67px;z-index:80!important;transform:none!important;transition:none!important;will-change:auto!important}
#game.rk-fixed-shell>.status{position:absolute!important;top:66px!important;right:0!important;left:0!important;max-width:600px;margin:0 auto!important;height:27px;min-height:27px;z-index:79!important;transform:none!important;transition:none!important}
#game.rk-fixed-shell #rk-apk-dock{position:absolute!important;bottom:0!important;z-index:82!important;transition:none!important;will-change:auto!important}
#game.rk-fixed-shell #viewport{position:absolute!important;inset:93px 0 92px!important;min-height:0!important;height:auto!important;max-height:none!important;flex:none!important;overscroll-behavior:contain}
#game.rk-fixed-shell #rk-apk-right-actions{top:111px;z-index:35}
#game.rk-fixed-shell #rk-apk-more{z-index:40}
#game.rk-fixed-shell #rk-apk-quick-menu{z-index:45;max-height:min(63vh,480px);overflow:auto}
#game.rk-fixed-shell #rk-world-native{top:0;bottom:0;z-index:10}
#game.rk-fixed-shell .fab{bottom:103px}
#game.rk-fixed-shell.rk-world-active #rk-world-coords{top:14px}
#game.rk-fixed-shell #rk-world-left{bottom:20px}
#game.rk-fixed-shell #rk-world-return{bottom:20px}
#dialog.overlay:not(.hidden){position:fixed!important;top:93px!important;bottom:92px!important;left:0!important;right:0!important;z-index:60!important;padding:8px!important;overflow:hidden!important;display:grid;place-items:center}
#dialog.overlay:not(.hidden) .modal{max-height:calc(100svh - 198px)!important;width:min(96vw,470px);display:flex;flex-direction:column;overflow:hidden!important}
#dialog.overlay:not(.hidden) .modal-head{flex:0 0 auto}
#dialog.overlay:not(.hidden) .modal-body{overflow-y:auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#dialog.rk-upgrade-mode.overlay:not(.hidden) .modal{max-height:calc(100svh - 198px)!important}
#rk-shell-page{position:absolute;inset:93px 0 92px;z-index:23;overflow:hidden;background:#0c1b28}
#rk-shell-page[hidden]{display:none}
#rk-shell-frame{display:block;width:100%;height:100%;border:0;background:#0a1926;overscroll-behavior:contain}
#rk-shell-loading{position:absolute;inset:0;display:grid;place-items:center;background:#132633;color:#f3d79b;font:15px Tahoma}
#rk-shell-loading[hidden]{display:none}
#game.rk-subpage-open #rk-apk-right-actions{display:none!important}
#game.rk-subpage-open .fab{display:none!important}
#game.rk-subpage-open #rk-apk-more{bottom:104px}
#game.rk-subpage-open #rok-audio-holder{display:none!important}
#game.rk-fixed-shell .top,#game.rk-fixed-shell .status,#game.rk-fixed-shell #rk-apk-dock{animation:none!important}
@media (max-height:650px){#game.rk-fixed-shell #viewport{bottom:81px!important}#rk-shell-page{bottom:81px}#dialog.overlay:not(.hidden){bottom:81px!important}#dialog.overlay:not(.hidden) .modal{max-height:calc(100svh - 188px)!important}#game.rk-fixed-shell #rk-apk-more{bottom:87px}}
@media(min-width:700px){#game.rk-fixed-shell #rk-apk-dock{left:50%!important;right:auto!important;transform:translateX(-50%)!important}}
@media(prefers-reduced-motion:reduce){#game.rk-fixed-shell>.top,#game.rk-fixed-shell #rk-apk-dock{transition:none!important}}
