html,body,#mobile-root{height:100%;margin:0}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow:hidden}
#mobile-root{display:flex}
/* Native full-screen WebView activity (CanonicalHostActivity) → a full-screen frame over the app. */
#lab-fullscreen{position:fixed;inset:0;z-index:1000;background:#fff;overflow:auto;-webkit-overflow-scrolling:touch} /* scrolls if a browser grows the frame past it */
#lab-fullscreen iframe{border:0;width:100%;height:100%;display:block}
/* The web app: the game pages in the app's phone-width column (web_cheetio/app.html), grey on both sides. */
.web-app #lab-fullscreen{left:max(0px,calc((100% - 480px) / 2));right:max(0px,calc((100% - 480px) / 2));bottom:auto;height:calc(var(--app-h,100dvh) - var(--layer-top,0px))} /* down to what the browser shows (app.html --app-h), below the admin strip (--layer-top) */
/* The web app: the site's admin strip (admins) on Home only (site.tsx: body.app-strip-hidden elsewhere). */
.web-app.app-strip-hidden #admin-strip-root{display:none}
