#gssRemoteBar{position:fixed;bottom: max(8px,env(safe-area-inset-bottom));right:12px;z-index:1100;display:flex;gap:6px}#gssRemoteBar[hidden],#gssRemoteBar button[hidden]{display:none!important}#gssRemoteBar button{min-height:36px;background:#182333;color:white;border:1px solid #728096;border-radius:6px;padding:6px 10px}#gssRemoteDialog{width:min(480px,92vw);max-height:85vh;overflow:auto;background:#101827;color:white;border:1px solid #64748b;border-radius:12px;padding:16px}#gssRemoteDialog::backdrop{background:#000b}#gssRemoteDialog label{display:block;margin:12px 0}#gssRemoteDialog select{width:100%}.remoteGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.remoteGrid button{min-height:44px}body.clean #gssRemoteBar:focus-within{opacity:1}

/* Compact viewing controls; setup retains all customization. */
#gssRemoteBar{top:max(8px,env(safe-area-inset-top));bottom:auto;right:12px;max-width:calc(100vw - 24px);flex-wrap:wrap;justify-content:flex-end;z-index:1100}
#gssRemoteBar button{min-height:36px;font-size:13px;white-space:nowrap}
body.clean #gssRemoteBar #displayLock{display:block!important;position:static!important;min-height:36px!important;padding:6px 10px!important}
body.clean #exitTV,body.clean #displayLockRow,body.handheld:not(.setupMode) #setupExitHand,body.handheld:not(.setupMode) #handScreenLabel,body.handheld:not(.setupMode) #viewModeLabel,body.handheld:not(.setupMode) #settingsBtn,body.handheld:not(.setupMode) #handNav,body.handheld:not(.setupMode) #handTools,body.handheld:not(.setupMode) #simpleNav{display:none!important}
body.clean #gssRemoteBar button[hidden],#gssRemoteBar #displayLock[hidden]{display:none!important}
@media(max-width:600px){#gssRemoteBar{top:auto;bottom:max(8px,env(safe-area-inset-bottom));left:8px;right:8px;justify-content:center;max-width:none}#gssRemoteBar button{font-size:12px;min-height:40px}}
