#hgKeyboard{width:min(760px,94vw);max-height:85vh;overflow:auto;background:#081525;color:#e2e8f0;border:1px solid #407f94;border-radius:14px;padding:20px;box-shadow:0 20px 65px #0009;font:14px/1.5 system-ui;z-index:2000}#hgKeyboard::backdrop{background:#020617b8}#hgKeyboard a{color:#8ce3e5}.hg-key-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.hg-key-head h2{font-size:21px;margin:0}.hg-key-head button{background:#173044;color:#e2e8f0;border:1px solid #407f94;padding:7px 12px;border-radius:6px;cursor:pointer}.hg-key-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:20px}.hg-key-list h3{color:#8ce3e5;margin:10px 0}.hg-key-list section>div{display:flex;align-items:baseline;gap:10px;padding:6px 0;border-bottom:1px solid #25374a}.hg-key-list kbd,.shortcut-table kbd{font:600 12px monospace;background:#14283c;color:#e2e8f0;padding:3px 7px;border:1px solid #38566b;border-radius:5px;white-space:nowrap}.hg-key-list span{flex:1}body.idle-naked .naked-exit-pill:has(:focus-visible){opacity:1!important;pointer-events:auto!important;transform:none}.naked-exit-pill{width:max-content;max-width:95vw;flex-wrap:wrap;justify-content:center;border-radius:12px!important}.shortcut-table{border-collapse:collapse;width:100%;font-size:14px}.shortcut-table td,.shortcut-table th{text-align:left;border-bottom:1px solid #304459;padding:9px}.shortcut-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}.hg-immersive .tv-wall{height:100dvh}
/* Deck fullscreen is a fitted viewing wall, not a scrolling dashboard. */
body.frameless #gridScroll{position:fixed;inset:0;padding:5px;overflow:hidden;min-height:0;flex:none;}
body.frameless #videoGrid{height:100%;grid-auto-rows:minmax(0,1fr);align-content:stretch;}
body.frameless #videoGrid .feed-card{min-height:0;}
body.frameless #videoGrid .feed-viewport{flex:1;min-height:0;aspect-ratio:auto;}
body.frameless #scrollSentinel{display:none;}
body.frameless.idle-naked .naked-exit-pill{visibility:hidden;}
body.frameless:not(.idle-naked) .naked-exit-pill{visibility:visible;}

#hgKeyboard{box-sizing:border-box;max-height:min(85dvh,760px)}
#hgKeyboard .hg-key-head{position:sticky;top:-20px;background:#081525;padding:10px 0;z-index:1}
#hgKeyboard :focus-visible{outline:2px solid #67e8f9;outline-offset:3px}
@media(max-width:600px){#hgKeyboard{padding:14px;width:94vw}.hg-key-head h2{font-size:18px}#hgKeyboard .hg-key-head{top:-14px}}

#hgKeyboard{position:fixed;inset:0;margin:auto;height:fit-content}
