/* SPDX-License-Identifier: MIT. Opt-in root attribute only; desktop rules unaffected. */
html[data-mobile-guest=true]{background:#000;color-scheme:dark;--mobile-vh:100dvh;--mobile-vw:100vw;scrollbar-gutter:auto}html[data-mobile-guest=true] body{margin:0;background:#000}html[data-mobile-guest=true] main{max-width:none;margin:0;padding:0}html[data-mobile-guest=true] main> :not(#terminal-section):not(#mobile-guest-status):not(#mobile-guest-keys):not(footer){display:none!important}#mobile-guest-main{height:var(--mobile-vh);width:var(--mobile-vw);max-width:100%;padding:max(2px,env(safe-area-inset-top)) max(3px,env(safe-area-inset-right)) max(2px,env(safe-area-inset-bottom)) max(3px,env(safe-area-inset-left))!important;display:grid;grid-template-rows:minmax(0,1fr) 18px auto 18px;gap:3px}#mobile-guest-main #terminal-section{display:flex!important;min-height:0;min-width:0;margin:0;padding:0;overflow:visible}#mobile-guest-main #terminal-viewport{width:100%;height:100%;min-height:0;overflow:visible;touch-action:auto}#mobile-guest-main #terminal-stage{width:100%;height:100%;min-height:0;display:flex;align-items:flex-start;justify-content:center;overflow:visible}#mobile-guest-main #fTelnetContainer{min-width:0;margin:0;padding:0;max-width:100%;max-height:100%}#mobile-guest-main canvas{display:block;touch-action:auto;image-rendering:pixelated}#mobile-guest-main .fTelnetKeyboardWrapper,#mobile-guest-main .fTelnetMenu,#mobile-guest-main .fTelnetMenuButtons,#mobile-guest-main .fTelnetMenuButton,#mobile-guest-main .fTelnetFocusWarning,#mobile-guest-main .fTelnetScrollback,#mobile-guest-main .fTelnetStatusBar,#mobile-guest-main .fTelnetConnectButton,#mobile-guest-main .fTelnetFocusWarningBar{display:none!important}#mobile-guest-main .terminal-placeholder{font:12px system-ui;text-align:center;color:#888}#mobile-guest-status{margin:0;text-align:center;font:11px/18px system-ui,sans-serif;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#mobile-guest-keys{display:grid;gap:3px;align-content:end;touch-action:manipulation}.mobile-key-row{display:flex;justify-content:center;gap:3px}.mobile-key{flex:1;min-width:0;min-height:44px;padding:0 1px!important;border:0!important;border-radius:4px;background:#555!important;color:#fff!important;font:clamp(14px,4.8vw,27px) ui-monospace,monospace!important;line-height:1.1!important}.mobile-key-row:last-child .mobile-key{font-size:clamp(10px,2.8vw,16px)!important}.mobile-key.mobile-space{flex:2}.mobile-key:active,.mobile-key[aria-pressed=true]{background:#888!important}.mobile-key:focus-visible{outline:2px solid white;outline-offset:1px}#mobile-guest-main footer{display:flex;justify-content:center;gap:12px;white-space:nowrap;line-height:18px;padding:0;margin:0;font:10px/18px system-ui}#mobile-guest-main footer a{color:#aaa;text-decoration:none}@media(orientation:landscape){#mobile-guest-main{gap:2px;grid-template-rows:minmax(0,1fr) 16px auto 16px}.mobile-number-row{display:none}#mobile-guest-keys,.mobile-key-row{gap:1px}.mobile-key{min-height:20px;height:20px;font-size:14px!important;line-height:1!important}.mobile-key-row:last-child .mobile-key{font-size:12px!important}#mobile-guest-status,#mobile-guest-main footer{line-height:16px}}@media(max-height:320px){#mobile-guest-main footer{display:none}#mobile-guest-main{grid-template-rows:minmax(0,1fr) 16px auto}}
