/* V58.24: expansao compacta de moderacao no proprio cartao do participante. */
#members .v27-member-row:has(>.v5824-member-panel:not([hidden])){flex-wrap:wrap!important;height:auto!important;min-height:62px!important;align-content:start!important;z-index:2!important}
#members .v27-member-row>.v5824-member-toggle{flex:0 0 34px!important;min-width:34px!important;width:34px!important;min-height:34px!important;height:34px!important;align-self:center!important;display:grid!important;place-items:center!important;padding:0!important;margin-left:auto!important;line-height:1!important;font-size:26px!important;color:#e8bdfd!important;background:#382047!important;border:1px solid #765085!important;border-radius:11px!important;box-shadow:none!important;cursor:pointer;transition:background .15s,color .15s,transform .15s}
#members .v27-member-row>.v5824-member-toggle[aria-expanded="true"]{background:#603075!important;color:#fff!important;box-shadow:inset 0 0 0 1px #ae67d1!important;transform:rotate(180deg)}
#members .v27-member-row>.v5824-member-toggle:focus-visible{outline:2px solid #e0aeff;outline-offset:2px}
#members .v27-member-row>.v5824-member-panel[hidden]{display:none!important}
#members .v27-member-row>.v5824-member-panel:not([hidden]){box-sizing:border-box!important;position:static!important;order:10!important;flex:1 0 100%!important;min-width:0!important;width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:11px 3px 2px!important;margin:6px 0 0!important;border:0!important;border-top:1px solid #a768cd45!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;z-index:auto!important}
#members .v5824-member-panel button{box-sizing:border-box!important;display:flex!important;min-width:0!important;width:100%!important;min-height:38px!important;gap:6px!important;align-items:center!important;justify-content:center!important;padding:8px 6px!important;margin:0!important;border:1px solid #674875!important;border-radius:11px!important;background:#382247!important;color:#f4e9fb!important;box-shadow:none!important;text-align:center!important;font:650 12px/1.25 system-ui,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important}
#members .v5824-member-panel button span{min-width:0!important;white-space:normal!important;font-size:11px!important}
#members .v5824-member-panel button:focus-visible{outline:2px solid #dfa4f7!important;outline-offset:1px!important}
@media(max-width:350px){#members .v27-member-row>.v5824-member-panel:not([hidden]){grid-template-columns:1fr 1fr!important;gap:5px!important}#members .v5824-member-panel button{padding:6px 3px!important;font-size:11px!important}}
/* Cinema: opcoes selecionadas em verde, desativadas em roxo. */
#roomColumns.v54-theater-stage #v53ModesToolbar button[data-v53-mode][aria-pressed="true"],
#roomColumns.v54-theater-stage #v53ModesToolbar #v58OverlayChatToggle[aria-pressed="true"],
#roomColumns.v54-theater-stage #v53ModesToolbar #v58OverlayVoiceToggle[aria-pressed="true"]{
 background:linear-gradient(145deg,#0d7652,#0c493e)!important;border:1px solid #56e7a9!important;color:#e4fff5!important;box-shadow:inset 0 0 0 1px #88f6c322,0 0 12px #13a66d55!important}
#roomColumns.v54-theater-stage #v53ModesToolbar button[aria-pressed="false"]{background:#38224c!important;border:1px solid #805a97!important;color:#e9d8f4!important;box-shadow:none!important}
/* Feed de chat e indicador de voz continuam sobre o filme durante o modo imersivo. */
#roomColumns.v52-clean-immersive.v53-clean-immersive.v54-theater-stage.v27-mode-overlay:is(:fullscreen,.v26-pseudo-stage) #videoWrap>#v27ChatFeed.v27-visible{
 display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:none!important;position:absolute!important;z-index:115!important;left:8px!important;right:auto!important;bottom:clamp(14px,4dvh,34px)!important;max-width:min(56vw,380px)!important;max-height:52dvh!important;flex-direction:column!important;gap:7px!important}
#roomColumns.v52-clean-immersive.v53-clean-immersive.v54-theater-stage.v27-mode-overlay.v58-hide-feed:is(:fullscreen,.v26-pseudo-stage) #videoWrap>#v27ChatFeed,
#roomColumns.v52-clean-immersive.v53-clean-immersive.v54-theater-stage.v27-mode-overlay.v43-chat-muted:is(:fullscreen,.v26-pseudo-stage) #videoWrap>#v27ChatFeed{display:none!important;visibility:hidden!important;opacity:0!important}
#roomColumns.v52-clean-immersive.v53-clean-immersive.v54-theater-stage.v27-mode-overlay:is(:fullscreen,.v26-pseudo-stage) #videoWrap>#v43VoiceHud:not([hidden]){display:flex!important;visibility:visible!important;z-index:118!important}
#roomColumns.v52-clean-immersive.v53-clean-immersive.v54-theater-stage.v27-mode-overlay.v58-hide-speakers:is(:fullscreen,.v26-pseudo-stage) #videoWrap>#v43VoiceHud{display:none!important;visibility:hidden!important}

/* Chat a esquerda e voz a direita: nunca sobrepor o nome ou a mensagem. */
#roomColumns.v52-clean-immersive.v53-clean-immersive.v54-theater-stage.v27-mode-overlay:is(:fullscreen,.v26-pseudo-stage) #videoWrap>#v43VoiceHud:not([hidden]){left:auto!important;right:10px!important;bottom:14px!important;max-width:min(38vw,185px)!important;overflow:hidden!important}
