#gameKeyboard{position:fixed;left:1px;top:1px;width:1px;height:1px;min-height:1px;padding:0;border:0;opacity:0;resize:none;font-size:16px;pointer-events:none}
#viewerDialog .viewer-policy{margin-left:auto;justify-content:flex-end;flex:none;gap:6px}
#viewerDialog .viewer-policy .checkbox-label{margin:0;white-space:nowrap;font-size:12px}
#viewerDialog .viewer-policy select{width:auto;min-width:90px;min-height:34px;padding:5px 25px 5px 8px;font-size:12px}
#viewerDialog .viewer-policy .btn{min-height:34px;padding:6px 9px;font-size:12px}
#viewerDialog>.modal-head{flex-wrap:wrap}
#viewerDialog .modal-head .game-detail-nav{min-width:200px}
#viewerInteractionLabel{min-width:180px}#viewerInteraction{font-size:13px}
#viewerDialog #gameChatPanel{min-height:0;flex:none;height:auto}
#viewerDialog #gameChatStatus{margin:8px 0 0;font-size:12px}
#viewerDialog #viewerKeys{margin-top:10px}
#viewerDialog.game-detail-dialog{width:calc(100vw - 32px);max-width:1480px;height:calc(100dvh - 32px);max-height:none}
#viewerDialog.game-detail-dialog.viewer-expanded{width:100vw;max-width:none;height:100dvh}
#viewerDialog.game-detail-dialog .viewer-body{grid-template-columns:minmax(0,1fr) 320px;gap:12px}
#viewerDialog.game-detail-dialog .viewer-body.readonly,#viewerDialog.game-detail-dialog .viewer-body.controls-hidden{grid-template-columns:minmax(0,1fr)}
#viewerDialog .game-detail-tabs>button{white-space:nowrap}
#viewerDialog.game-detail-dialog .controller{padding:12px}
#viewerDialog.game-detail-dialog .controller button[data-key]{min-height:36px;padding:6px}
#viewerDialog .softkeys,#viewerDialog .numpad,#viewerDialog .dpad{gap:5px;margin:6px 0}
#viewerDialog #gameTextEnterLabel{margin-top:6px}
#viewerDialog #viewerKeys summary{padding:5px 0}
.sidebar{overflow-y:auto}.sidebar .main-nav{flex:none;margin-bottom:18px}
.game-nav-group{flex:none;margin-bottom:18px}.game-nav-group>summary{cursor:pointer;user-select:none;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:34px;margin:0 0 6px}
.game-nav-group>summary::-webkit-details-marker{display:none}.game-nav-group>summary:after{content:'⌄';font-size:18px}.game-nav-group:not([open])>summary:after{content:'›'}
@media(max-width:680px){#viewerDialog.game-detail-dialog{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}#viewerDialog.game-detail-dialog .viewer-body{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,190px)}#viewerDialog.game-detail-dialog .viewer-body.readonly,#viewerDialog.game-detail-dialog .viewer-body.controls-hidden{grid-template-rows:minmax(0,1fr)}#viewerDialog.game-detail-dialog .controller{max-height:190px}#viewerDialog.game-detail-dialog.loader-mobile{width:100vw;height:100dvh;max-height:100dvh}.sidebar .brand{margin-bottom:22px}}
#dashboardPage .slot-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#dashboardPage .slot-actions .btn{min-width:0;padding:9px 5px;gap:4px;font-size:13px;white-space:nowrap}
.viewer-server-hint{font-size:12px;line-height:1.4;color:#657258;flex:1;min-width:170px}
.slot-expiry{margin:10px 0 3px;padding:9px 11px;border:1px solid #a8d8b8;border-radius:8px;background:#e9f8ed;color:#176534;font-size:14px;font-weight:700;line-height:1.5}
.slot-expiry.expired{border-color:#efb2ac;background:#fff0ed;color:#a3312a}
.rental-table .slot-expiry{display:inline-block;margin:0}
.account-menu>summary{cursor:pointer;list-style:none;user-select:none}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary>span{margin-left:auto}.account-menu[open]>summary>span{transform:rotate(180deg)}.account-menu-items{padding:2px 0 6px 12px;border-left:1px solid #ffffff20;margin-left:24px}.account-menu-items .nav-item{font-size:13px}
#resetSlot{color:#9c3d28;border:1px solid #e4c5b8;background:#fff8f1;padding:8px 10px;border-radius:8px;font-size:13px}#resetSlot:disabled{opacity:.45;cursor:not-allowed}#resetSlotHint{font-size:12px;color:#6d7869;margin-top:8px}
@media(max-width:680px){#viewerDialog .viewer-policy{width:auto;gap:4px}#viewerDialog .modal-head .game-detail-nav{min-width:0}#viewerDialog>.modal-head{padding:8px;gap:6px}#viewerDialog .viewer-policy .btn{padding:5px 7px}#viewerDialog .frame-toolbar label{flex:1;min-width:130px}#viewerDialog .frame-toolbar #viewerInteractionLabel{min-width:180px}}
