#mobile-controls,#mobile-keys,#mobile-key-hint{display:none}
body.mobile{display:block}
body.mobile header{position:relative;display:flex;flex-direction:row;justify-content:space-between;width:100%;height:56px;padding:6px 16px;border-right:0;border-bottom:1px solid #e3e8f0}
body.mobile .brand{display:flex;width:auto}
body.mobile .brand strong{display:inline}
body.mobile .account-area{flex-direction:row}
body.mobile.connected{display:block;height:var(--mobile-height,100dvh);background:#fff}
body.mobile.connected header{display:none}
body.mobile.connected #session{display:flex;flex-direction:column;height:var(--mobile-height,100dvh);padding-bottom:60px;background:#fff;overflow:hidden}
body.mobile #screen-stage{height:var(--mobile-screen-height,38vh);flex:none;background:#000;touch-action:none}
body.mobile #screen{max-width:none;max-height:none;flex:none;touch-action:none}
#mobile-resize-handle{height:24px;flex:none;display:grid;place-items:center;touch-action:none;cursor:ns-resize}
#mobile-resize-handle::after{content:'';width:36px;height:4px;border-radius:4px;background:#c7c7cc}
#mobile-trackpad{flex:1;min-height:80px;margin:12px;border:1px solid #dddde3;border-radius:16px;background:#f3f3f8;touch-action:none;user-select:none}
body.mobile.connected #mobile-controls{position:fixed;bottom:0;left:0;right:0;height:60px;display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:#fafafa;border-top:1px solid #efeff2}
#mobile-controls button{width:44px;height:44px;border:0;border-radius:50%;background:#eeeef2;color:#2465e8;font-size:25px;line-height:1}
body.mobile.keyboard-open #mobile-controls{display:none}
body.mobile.keyboard-open #mobile-keys{position:fixed;left:0;right:0;height:52px;display:flex;gap:6px;padding:4px 8px;background:#f5f5f8;z-index:5}
.mobile-key-scroll{display:flex;gap:6px;min-width:0;flex:1;overflow-x:auto;overscroll-behavior-x:contain}
#mobile-keys button{height:44px;min-width:44px;flex:none;padding:0 8px;border:0;border-radius:8px;background:#e6e6eb;color:#1c1e22}
#mobile-keys button.selected{background:#2465e8;color:#fff}
body.mobile #mobile-key-hint:not(:empty){display:block;position:fixed;bottom:58px;left:12px;right:12px;padding:8px 12px;background:#172237;color:#fff;border-radius:8px;font-size:13px;z-index:6}
body.mobile main{margin:0 auto;padding:28px 20px}
body.mobile .setup-heading{gap:8px}
body.mobile .setup-actions{gap:8px}
.mobile-licenses{display:block;margin-top:32px;min-height:44px;padding:8px 0;border:0;background:none;color:#607089;font-size:12px}
