/* GattoMusic 2.0 - Build 10.45 */

/* Mute: sem ícone. A moldura vermelha pertence somente ao card/faixa do nome. */
.gatto-room-participant.mic-off .gatto-room-media-status{display:none!important}
.gatto-room-participant.mic-off .gatto-room-name{
  border:2px solid #ff4354!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.75),0 0 11px rgba(255,67,84,.58)!important;
  background:rgba(58,4,10,.82)!important;
}
.gatto-room-participant:not(.mic-off) .gatto-room-name{border-color:transparent}

/* O ícone de Compartilhar tela é puramente decorativo: o botão inteiro é o alvo. */
.gatto-v1042-room-screen>.gatto-room-control-label,
.gatto-v1042-room-screen>.gatto-room-control-icon,
.gatto-v1042-room-screen>.gatto-room-control-icon *{pointer-events:none!important}

/* Build 10.46 — ferramentas da tela fora da mídia. */
.gatto-v1046-screen-tools[hidden]{display:none!important}
.gatto-v1046-screen-tools{
  position:static!important;z-index:auto!important;display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;
  min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
  pointer-events:auto!important
}
.gatto-v1045-screen-hidden-bar[hidden],.gatto-v1046-screen-visibility-tools[hidden],.gatto-v1045-screen-quality-bar[hidden]{display:none!important}
.gatto-v1045-screen-hidden-bar,.gatto-v1046-screen-visibility-tools{
  position:static!important;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;
  width:auto;max-width:100%;min-width:0;margin:0;pointer-events:auto
}
.gatto-v1045-screen-hidden-item{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;max-width:100%;padding:5px 7px;border:1px solid rgba(126,154,190,.24);border-radius:9px;background:rgba(8,14,22,.82);font-size:11px;color:#cbd5e2}
.gatto-v1045-screen-hidden-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gatto-v1045-screen-show,.gatto-v1046-screen-hide,.gatto-v1046-screen-toggle{height:28px;padding:0 9px;border:1px solid rgba(163,105,255,.64);border-radius:7px;background:rgba(72,31,113,.78);color:#fff;cursor:pointer;font-weight:700;font-size:11px;white-space:nowrap}
.gatto-v1045-screen-show:hover,.gatto-v1046-screen-hide:hover,.gatto-v1046-screen-toggle:hover{background:rgba(105,46,166,.9)}

/* Qualidade ocupa a barra de ferramentas, nunca a superfície de vídeo. */
.gatto-v1045-screen-quality-bar{
  position:static!important;z-index:auto!important;display:flex;align-items:center;justify-content:center;gap:8px;
  width:auto;max-width:100%;min-width:0;min-height:34px;padding:4px 8px;box-sizing:border-box;
  border:1px solid rgba(139,50,255,.42);border-radius:9px;background:rgba(10,17,29,.92);color:#fff;overflow:hidden
}
.gatto-v1045-screen-quality-label{flex:0 1 auto;white-space:nowrap;font:700 11px/1.2 Verdana,Arial,sans-serif}
.gatto-v1045-screen-quality{height:28px;width:auto;min-width:min(260px,48vw);max-width:min(420px,58vw);padding:0 26px 0 8px;border:1px solid rgba(255,255,255,.28);border-radius:7px;background:#0c1320;color:#fff;font:700 11px/1 Verdana,Arial,sans-serif;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}

/* Tela compartilhada e câmeras na mesma viewport, Firefox e Chromium.
   Esta regra vence o display:flex histórico das superfícies de apresentação. */
.gatto-room-fullscreen-host .chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen:fullscreen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-room-fullscreen="1"],
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen,
.gatto-room-detached-host .chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-room-detached="1"],
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-detached,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) minmax(86px,min(24dvh,220px)) auto!important;
  align-items:stretch!important;
  align-content:stretch!important;
  min-width:0!important;min-height:0!important;
  height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;
  overflow:hidden!important;
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen>.gatto-v1042-screen-stage,
.gatto-room-detached-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-detached>.gatto-v1042-screen-stage,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen>.gatto-v1042-screen-stage{
  grid-row:1!important;display:grid!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;overflow:hidden!important;
  grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr))!important;gap:6px!important;align-items:stretch!important;
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen>.gatto-room-gallery,
.gatto-room-detached-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-detached>.gatto-room-gallery,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen>.gatto-room-gallery{
  grid-row:2!important;display:grid!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;max-height:100%!important;overflow:hidden!important;
  grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;gap:6px!important;align-content:stretch!important;align-items:stretch!important;
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen>.gatto-room-controls-wrap,
.gatto-room-detached-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-detached>.gatto-room-controls-wrap,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen>.gatto-room-controls-wrap{grid-row:3!important;min-width:0!important;min-height:0!important;margin:0!important}

.gatto-room-shell.gatto-v1042-has-screen .gatto-v1042-screen-card{min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important}
.gatto-room-shell.gatto-v1042-has-screen .gatto-v1042-screen-video,
#gattoV1040DetachedRoot .gatto-v1042-screen-video{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;background:#05080d!important}
.gatto-room-shell.gatto-v1042-has-screen .gatto-room-gallery>.gatto-room-participant,
#gattoV1040DetachedRoot .gatto-room-gallery>.gatto-room-participant{min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;max-height:100%!important;aspect-ratio:auto!important;overflow:hidden!important}
.gatto-room-shell.gatto-v1042-has-screen .gatto-room-gallery .gatto-room-video,
#gattoV1040DetachedRoot .gatto-room-gallery .gatto-room-video{width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important}

@media(max-height:620px){
  .gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen,
  .gatto-room-shell.gatto-v1042-has-screen:fullscreen,
  .gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen,
  .gatto-room-detached-host .gatto-room-shell.gatto-v1042-has-screen,
  .gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-detached,
  #gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen{grid-template-rows:minmax(0,1fr) minmax(70px,20dvh) auto!important}
}

/* Apresentação responsiva também quando não existe tela compartilhada.
   Os estilos legados do popup tinham min-width:640px, o que fazia o Firefox
   cortar a Sala e deixava as câmeras fora da viewport em janelas menores. */
.gatto-room-detached-host .chat-room-sidepanel-v972.gatto-room-shell,
.gatto-room-fullscreen-host .chat-room-sidepanel-v972.gatto-room-shell,
.chat-room-sidepanel-v972.gatto-room-shell.is-gatto-room-detached,
.chat-room-sidepanel-v972.gatto-room-shell.is-gatto-room-fullscreen,
#gattoV1040DetachedRoot>.gatto-v1040-projection{
  box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;min-height:0!important;
  overflow:hidden!important;
}
.gatto-room-detached-host .chat-room-sidepanel-v972.gatto-room-shell:not(.gatto-v1042-has-screen),
.gatto-room-fullscreen-host .chat-room-sidepanel-v972.gatto-room-shell:not(.gatto-v1042-has-screen),
.chat-room-sidepanel-v972.gatto-room-shell.is-gatto-room-detached:not(.gatto-v1042-has-screen),
.chat-room-sidepanel-v972.gatto-room-shell.is-gatto-room-fullscreen:not(.gatto-v1042-has-screen),
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) auto!important;gap:8px!important;
}
.gatto-room-detached-host .gatto-room-gallery,
.gatto-room-fullscreen-host .gatto-room-gallery,
.gatto-room-shell.is-gatto-room-detached .gatto-room-gallery,
.gatto-room-shell.is-gatto-room-fullscreen .gatto-room-gallery,
#gattoV1040DetachedRoot .gatto-room-gallery{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;
  overflow:auto!important;display:grid!important;align-content:stretch!important;
}
.gatto-room-detached-host .gatto-room-controls-wrap,
.gatto-room-fullscreen-host .gatto-room-controls-wrap,
.gatto-room-shell.is-gatto-room-detached .gatto-room-controls-wrap,
.gatto-room-shell.is-gatto-room-fullscreen .gatto-room-controls-wrap,
#gattoV1040DetachedRoot .gatto-room-controls-wrap{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:visible!important;position:relative!important;display:flex!important;flex-wrap:wrap!important;
  align-items:center!important;justify-content:center!important;gap:8px!important;
}
.gatto-room-detached-host .gatto-room-controls,
.gatto-room-fullscreen-host .gatto-room-controls,
.gatto-room-shell.is-gatto-room-detached .gatto-room-controls,
.gatto-room-shell.is-gatto-room-fullscreen .gatto-room-controls,
#gattoV1040DetachedRoot .gatto-room-controls{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;
}
.gatto-room-detached-host .gatto-room-control,
.gatto-room-fullscreen-host .gatto-room-control,
.gatto-room-shell.is-gatto-room-detached .gatto-room-control,
.gatto-room-shell.is-gatto-room-fullscreen .gatto-room-control,
#gattoV1040DetachedRoot .gatto-room-control{min-width:0!important;max-width:100%!important;flex:1 1 132px!important}
.gatto-room-detached-host .gatto-room-participant,
.gatto-room-fullscreen-host .gatto-room-participant,
.gatto-room-shell.is-gatto-room-detached .gatto-room-participant,
.gatto-room-shell.is-gatto-room-fullscreen .gatto-room-participant,
#gattoV1040DetachedRoot .gatto-room-participant{min-width:0!important;max-width:100%!important;width:100%!important;height:100%!important}

/* Build 10.46 refeita — Tela Cheia segue a composição aprovada do Destacar Sala.
   Nunca esconde a tela compartilhada nem deixa ferramentas sobre a mídia. */
body.gatto-room-fullscreen-host .chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen.is-open.is-gatto-room-fullscreen,
.gatto-room-fullscreen-host .chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen:fullscreen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen,
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-room-fullscreen="1"],
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:fullscreen,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:-webkit-full-screen{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) minmax(82px,min(22dvh,210px)) auto!important;
  gap:7px!important;align-items:stretch!important;align-content:stretch!important;
  inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;
  min-width:0!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box!important
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen>.gatto-v1042-screen-stage,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen>.gatto-v1042-screen-stage,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:fullscreen>.gatto-v1042-screen-stage,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:-webkit-full-screen>.gatto-v1042-screen-stage{
  grid-row:1!important;display:grid!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-height:100%!important;overflow:hidden!important;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr))!important;gap:6px!important
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen>.gatto-room-gallery,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen>.gatto-room-gallery,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:fullscreen>.gatto-room-gallery,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:-webkit-full-screen>.gatto-room-gallery{
  grid-row:2!important;display:grid!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-height:100%!important;overflow:hidden!important;grid-template-columns:repeat(auto-fit,minmax(105px,1fr))!important;
  grid-auto-rows:minmax(0,1fr)!important;gap:6px!important;align-content:stretch!important;align-items:stretch!important
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen:-webkit-full-screen>.gatto-room-controls-wrap,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen>.gatto-room-controls-wrap,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:fullscreen>.gatto-room-controls-wrap,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:-webkit-full-screen>.gatto-room-controls-wrap{
  grid-row:3!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  gap:6px!important;position:relative!important;width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;
  overflow:visible!important;align-self:end!important
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen .gatto-v1042-screen-card,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen .gatto-v1042-screen-card,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen .gatto-v1042-screen-card{
  min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important
}
.gatto-room-fullscreen-host .gatto-room-shell.gatto-v1042-has-screen .gatto-v1042-screen-video,
.gatto-room-shell.gatto-v1042-has-screen:fullscreen .gatto-v1042-screen-video,
.gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen .gatto-v1042-screen-video{
  display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;background:#05080d!important
}
/* No modo normal/destacado, controls-wrap também mantém ferramentas e controles em faixas separadas. */
.gatto-room-shell.gatto-v1042-has-screen>.gatto-room-controls-wrap,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen>.gatto-room-controls-wrap{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:6px!important
}
.gatto-room-shell.gatto-v1042-has-screen>.gatto-room-controls-wrap>.gatto-v1046-screen-tools,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen>.gatto-room-controls-wrap>.gatto-v1046-screen-tools{grid-row:1!important}
.gatto-room-shell.gatto-v1042-has-screen>.gatto-room-controls-wrap>.gatto-room-controls,
#gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen>.gatto-room-controls-wrap>.gatto-room-controls{grid-row:2!important;width:100%!important;min-width:0!important}
@media(max-height:620px){
  .gatto-room-fullscreen-host .chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen,
  .gatto-room-shell.gatto-v1042-has-screen:fullscreen,
  .gatto-room-shell.gatto-v1042-has-screen.is-gatto-room-fullscreen,
  #gattoV1040DetachedRoot>.gatto-v1040-projection.gatto-v1042-has-screen:fullscreen{
    grid-template-rows:minmax(0,1fr) minmax(64px,18dvh) auto!important;gap:5px!important
  }
  .gatto-v1046-screen-tools{gap:4px!important}
  .gatto-v1045-screen-quality-bar{min-height:30px!important;padding:2px 6px!important}
}


/* Build 10.46 — visibilidade robusta da tela e hitbox confiável. */
.gatto-v1042-screen-stage[hidden],
.gatto-v1042-screen-card[hidden]{display:none!important}
.gatto-v1045-screen-show,.gatto-v1046-screen-hide,.gatto-v1046-screen-toggle{
  position:relative!important;z-index:3!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:150px!important;min-height:34px!important;height:34px!important;padding:0 12px!important;
  pointer-events:auto!important;touch-action:manipulation!important;user-select:none!important;-webkit-user-select:none!important
}
.gatto-v1045-screen-hidden-item{position:relative!important;z-index:2!important;pointer-events:auto!important}
.gatto-v1045-screen-hidden-note{pointer-events:none!important}

/* Fullscreen: se o stage está visível, ele sempre ocupa a superfície principal.
   Não depende de um segundo render para a regra display:grid vencer. */
.gatto-room-fullscreen-host .gatto-room-shell>.gatto-v1042-screen-stage:not([hidden]),
.gatto-room-shell:fullscreen>.gatto-v1042-screen-stage:not([hidden]),
.gatto-room-shell:-webkit-full-screen>.gatto-v1042-screen-stage:not([hidden]),
#gattoV1040DetachedRoot>.gatto-v1040-projection:fullscreen>.gatto-v1042-screen-stage:not([hidden]),
#gattoV1040DetachedRoot>.gatto-v1040-projection:-webkit-full-screen>.gatto-v1042-screen-stage:not([hidden]){
  display:grid!important;grid-row:1!important;visibility:visible!important;opacity:1!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important
}


/* Build 10.46 — fullscreen independente do zoom do navegador.
   A geometria vem do elemento realmente em fullscreen (JS -> variáveis CSS),
   não de breakpoints de vh/dvh que mudavam após vários Ctrl++ . */
.chat-room-sidepanel-v972.gatto-room-shell[data-gatto-v1046-fullscreen-layout="1"]{
  position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  box-sizing:border-box!important;margin:0!important;
  width:var(--gatto-v1046-fs-width,100%)!important;max-width:none!important;min-width:0!important;
  height:var(--gatto-v1046-fs-height,100%)!important;max-height:none!important;min-height:0!important;
  overflow:hidden!important;transform:none!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"]{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) minmax(72px,20%) auto!important;
  gap:7px!important;align-items:stretch!important;align-content:stretch!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"]>.gatto-v1042-screen-stage{
  grid-row:1!important;display:grid!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  overflow:hidden!important;align-content:stretch!important;align-items:stretch!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"]>.gatto-v1042-screen-stage>.gatto-v1042-screen-card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:100%!important;
  overflow:hidden!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"] .gatto-v1042-screen-head{
  grid-row:1!important;min-width:0!important;max-width:100%!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"] .gatto-v1042-screen-video{
  grid-row:2!important;display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;visibility:visible!important;opacity:1!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"]>.gatto-room-gallery{
  grid-row:2!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;
  max-height:100%!important;overflow:hidden!important
}
.chat-room-sidepanel-v972.gatto-room-shell.gatto-v1042-has-screen[data-gatto-v1046-fullscreen-layout="1"]>.gatto-room-controls-wrap{
  grid-row:3!important;min-width:0!important;min-height:0!important;width:100%!important;margin:0!important;overflow:visible!important
}


/* Build 10.46 refeita — Chrome / Destacar Sala sem compartilhamento.
   O diagnóstico real mostrou o vídeo projetado com largura válida e altura 0px.
   Sem tela compartilhada, a galeria recebe explicitamente a faixa elástica e
   cada linha do grid recebe altura real; iniciar um compartilhamento não é mais
   necessário para "acordar" as câmeras. */
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) auto!important;align-items:stretch!important;align-content:stretch!important;
  min-width:0!important;min-height:0!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;
}
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen)>.gatto-room-gallery{
  grid-row:1!important;display:grid!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  grid-auto-rows:minmax(0,1fr)!important;align-items:stretch!important;align-content:stretch!important;overflow:hidden!important;
}
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen)>.gatto-room-gallery>.gatto-room-participant{
  min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;max-height:100%!important;aspect-ratio:auto!important;
}
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen)>.gatto-room-gallery .gatto-room-media,
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen)>.gatto-room-gallery .gatto-room-video{
  min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;
}
#gattoV1040DetachedRoot>.gatto-v1040-projection:not(.gatto-v1042-has-screen)>.gatto-room-controls-wrap{
  grid-row:2!important;margin-top:0!important;
}

/* A ampliação da tela compartilhada mantém ações úteis dentro do próprio card,
   pois somente o card participa do Fullscreen API. */
.gatto-v1042-screen-expand{width:auto!important;min-width:30px!important;max-width:min(260px,48vw)!important;padding:0 9px!important;white-space:nowrap!important}
.gatto-v1046-screen-card-quality-wrap{display:inline-flex;align-items:center;gap:5px;min-width:0;color:#fff;font:700 10px/1.1 Verdana,Arial,sans-serif}
.gatto-v1046-screen-card-quality-label{white-space:nowrap}
.gatto-v1046-screen-card-quality{height:27px;min-width:128px;max-width:min(230px,32vw);padding:0 24px 0 7px;border:1px solid rgba(255,255,255,.24);border-radius:7px;background:#0c1320;color:#fff;font:700 10px/1 Verdana,Arial,sans-serif;cursor:pointer}
.gatto-v1042-screen-card:fullscreen .gatto-v1042-screen-head,
.gatto-v1042-screen-card:-webkit-full-screen .gatto-v1042-screen-head,
.gatto-v1042-screen-card.is-expanded .gatto-v1042-screen-head{position:absolute!important;left:8px!important;right:8px!important;top:8px!important;z-index:20!important;display:flex!important;visibility:visible!important;opacity:1!important}
@media(max-width:760px){
  .gatto-v1046-screen-card-quality-label{display:none}
  .gatto-v1046-screen-card-quality{min-width:112px;max-width:36vw}
  .gatto-v1042-screen-expand{max-width:42vw!important;overflow:hidden;text-overflow:ellipsis}
}


/* Build 10.46 — menus suspensos: somente o Destacar Sala abre acima da barra.
   A Sala normal mantém o comportamento canônico, abrindo abaixo dos botões. */
#gattoV1040DetachedRoot>.gatto-v1040-projection .gatto-room-controls-wrap{overflow:visible!important}
#gattoV1040DetachedRoot>.gatto-v1040-projection .gatto-room-popover{
  top:auto!important;bottom:calc(100% + 7px)!important;left:50%!important;transform:translateX(-50%)!important;
  max-height:min(48dvh,330px)!important;z-index:120!important;overflow:auto!important
}
#gattoV1040DetachedRoot>.gatto-v1040-projection .gatto-room-controls-wrap.has-open-popover{z-index:130!important}
