
/* Galaxy Live 2.9.1 — Stability/Reconciliation layer. */
.gl291BlueprintDrawer{overflow-y:auto;padding-bottom:max(22px,env(safe-area-inset-bottom))}
.gl291DrawerBrand{padding:4px 38px 10px 4px;border-bottom:1px solid var(--line);margin-bottom:8px}
.gl291DrawerBrand span{font-size:9px;letter-spacing:2.7px;color:#a8bad8}.gl291DrawerBrand h2{margin:2px 0 3px;color:#fff}.gl291DrawerBrand h2::first-letter{color:var(--gold)}
.gl291DrawerBrand small{color:var(--muted)}
.gl291DrawerNav{gap:3px!important;margin-top:7px!important}.gl291DrawerNav button{min-height:40px!important;padding:9px 10px!important}.gl291DrawerNav button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Inbox foundation */
.gl291InboxHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 12px}.gl291InboxHeader h2{margin:0}.gl291InboxHeader small{display:block;color:var(--muted);margin-top:3px}
.gl291InboxLayout{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:10px;min-height:620px}
.gl291ConversationPane,.gl291ThreadPane{border:1px solid var(--line);border-radius:16px;background:#06101f;overflow:hidden;min-height:0}
.gl291ConversationTools{display:flex;gap:7px;padding:10px;border-bottom:1px solid var(--line)}.gl291ConversationTools input{flex:1;min-width:0;background:#030817;border:1px solid var(--line);border-radius:999px;color:#fff;padding:9px 11px}
.gl291ConversationList{overflow:auto;max-height:650px}.gl291Conversation{width:100%;border:0;border-bottom:1px solid #14213b;background:transparent;color:#fff;padding:12px;text-align:left;display:grid;gap:4px}.gl291Conversation.active,.gl291Conversation:hover{background:#0a1730}.gl291Conversation b{display:flex;justify-content:space-between;gap:8px}.gl291Conversation small,.gl291Conversation span{color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gl291ThreadPane{display:flex;flex-direction:column}.gl291ThreadHead{padding:12px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px}.gl291ThreadHead .miniAvatar{flex:0 0 auto}.gl291ThreadMessages{flex:1;overflow:auto;padding:13px;display:flex;flex-direction:column;gap:8px;min-height:380px}.gl291Dm{max-width:min(76%,560px);padding:9px 11px;border:1px solid #263b62;border-radius:13px;background:#0a1428;align-self:flex-start}.gl291Dm.mine{align-self:flex-end;background:#173761;border-color:#2b69aa}.gl291Dm small{display:block;color:#8fa5c6;font-size:9px;margin-top:4px}.gl291DmEmpty{margin:auto;color:var(--muted);text-align:center;padding:30px}
.gl291DmComposer{display:flex;gap:7px;border-top:1px solid var(--line);padding:10px}.gl291DmComposer input{flex:1;min-width:0;background:#030817;border:1px solid var(--line);border-radius:999px;color:#fff;padding:10px 12px}.gl291DmComposer button{border:0;border-radius:999px;background:#157fff;color:#fff;padding:0 16px;font-weight:800}.gl291DmComposer button:disabled{opacity:.45}
.gl291UserResults{display:grid;gap:6px;margin-top:9px;max-height:300px;overflow:auto}.gl291UserResult{display:flex;justify-content:space-between;gap:8px;align-items:center;border:1px solid var(--line);background:#071427;color:#fff;border-radius:11px;padding:9px;text-align:left}.gl291UserResult small{color:var(--muted);display:block}

/* Mobile keyboard: the live video remains visible above chat. This deliberately overrides the 2.8 viewport rule. */
:root{--gl291-vvh:100vh;--gl291-kb:0px}
body.gl291Keyboard{height:var(--gl291-vvh)!important;max-height:var(--gl291-vvh)!important;overflow:hidden!important;overscroll-behavior:none!important}
@media(max-width:900px){
 body.gl291Keyboard .topbar,body.gl291Keyboard .bottomNav{display:none!important}
 body.gl291Keyboard .shell{margin-left:0!important;height:var(--gl291-vvh)!important;overflow:hidden!important}
 body.gl291Keyboard #page-room.active{height:var(--gl291-vvh)!important;min-height:0!important;overflow:hidden!important}
 body.gl291Keyboard .referenceRoom{height:100%!important;min-height:0!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.gl291Keyboard .referenceRoomHeader{display:none!important}
 body.gl291Keyboard .referenceRoomGrid{height:100%!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(120px,34%) minmax(0,66%)!important;gap:0!important;overflow:hidden!important}
 body.gl291Keyboard .referenceStage{height:100%!important;min-height:0!important;border-radius:0!important;overflow:hidden!important}
 body.gl291Keyboard .referenceStageMeta,body.gl291Keyboard .stageLower,body.gl291Keyboard .gl22LiveControls,body.gl291Keyboard .gl24QueuePanel,body.gl291Keyboard .referenceModules{display:none!important}
 body.gl291Keyboard .referenceHostVisual{height:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important}
 body.gl291Keyboard .creatorVideo{width:100%!important;height:100%!important;object-fit:cover!important}
 body.gl291Keyboard .referenceRightPanel{display:flex!important;height:100%!important;min-height:0!important;max-height:none!important;position:relative!important;inset:auto!important;border-radius:0!important;border-left:0!important;border-right:0!important;overflow:hidden!important}
 body.gl291Keyboard .referenceRightPanel .demoCrowdBar{display:none!important}
 body.gl291Keyboard .referenceRightPanel #panel-chat{display:flex!important;flex:1!important;min-height:0!important;overflow:hidden!important}
 body.gl291Keyboard .referenceRightPanel .messages{min-height:0!important;max-height:none!important;overflow:auto!important;padding-bottom:8px!important}
 body.gl291Keyboard .referenceRightPanel .composer{position:relative!important;bottom:auto!important;flex:0 0 auto!important;background:#030816!important;padding:8px!important;z-index:15!important}
 body.gl291Keyboard .referenceRightPanel .composer input{font-size:16px!important}
 body.gl291Keyboard .referenceTabs{flex:0 0 auto!important}
 body.gl291Keyboard #gl28InteractionClose{display:grid!important}
}
@media(max-width:720px){.gl291InboxLayout{display:block}.gl291ConversationPane{min-height:180px;margin-bottom:8px}.gl291ConversationList{max-height:235px}.gl291ThreadPane{min-height:440px}.gl291InboxHeader{align-items:flex-start}.gl291InboxHeader button{flex:0 0 auto}}
