/* Ampliação de uma câmera sem mover/recriar os elementos de mídia. */
.gatto-room-participant,video.chat-call-local-video,video.chat-call-remote-video{touch-action:manipulation}
.gatto-camera-view-tools{
  position:absolute!important;top:8px!important;right:8px!important;left:auto!important;z-index:5000!important;
  display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:6px;
  max-width:calc(100% - 16px);max-height:calc(100% - 16px);overflow:hidden;
}
.gatto-camera-view-tools>button{
  min-width:0;min-height:34px;padding:6px 10px;border:1px solid #6186aa;border-radius:10px;
  background:#0b1728!important;color:#fff!important;font-size:12px;cursor:pointer;
  white-space:nowrap;flex:0 1 auto;
}
/* Trava a rolagem da página enquanto uma câmera ocupa a tela inteira. */
html.gatto-camera-lock,body.gatto-camera-lock{overflow:hidden!important;overscroll-behavior:none!important}
/* O divisor do Chat (linha rosa/ciano) não pode vazar por cima da câmera. */
html.gatto-camera-lock .chat-column-splitter,
html.gatto-camera-lock .chat-message-splitter,
html.gatto-camera-lock .chat-v73-splitter,
body.gatto-camera-lock .chat-column-splitter,
body.gatto-camera-lock .chat-message-splitter,
body.gatto-camera-lock .chat-v73-splitter{display:none!important;visibility:hidden!important}
#chatRoomSidePanelV972.gatto-room-shell.gatto-camera-expanded{
  inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:auto!important;height:100dvh!important;max-width:100vw!important;max-height:none!important;
  grid-template-rows:minmax(0,1fr)!important;border-radius:0!important;
  padding:0!important;border:0!important;gap:0!important;overflow:hidden!important;z-index:10000!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-header{
  position:absolute!important;top:8px!important;left:8px!important;right:auto!important;
  width:40px!important;min-height:40px!important;padding:0!important;grid-template-columns:40px!important;gap:0!important;z-index:200!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-header>.gatto-room-brand,
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-header>.gatto-room-online{display:none!important}
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-controls-wrap{
  position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;
  width:calc(100% - 16px)!important;z-index:150!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-messages,
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-composer{display:none!important}
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-gallery{
  position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;grid-auto-rows:minmax(0,1fr)!important;
  height:100%!important;min-height:0!important;max-height:none!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-gallery>.gatto-camera-selected{
  grid-area:1/1!important;width:100%!important;max-width:none!important;height:100%!important;
  min-height:0!important;aspect-ratio:auto!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded .gatto-camera-selected .gatto-room-video{
  width:100%!important;height:100%!important;object-fit:contain!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded .gatto-camera-selected .gatto-room-name{bottom:72px!important}
/* Mantém os outros players vivos (inclusive áudio), fora da área visível. */
#chatRoomSidePanelV972.gatto-camera-expanded>.gatto-room-gallery>.gatto-room-participant:not(.gatto-camera-selected),
#chatCallModal.gatto-camera-expanded:not(.hidden) .chat-call-panel[class] .chat-call-stage.video>video:not(.gatto-camera-selected){
  position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;
  min-width:0!important;min-height:0!important;opacity:0!important;pointer-events:none!important;
  overflow:hidden!important;grid-area:auto!important;
}
#chatCallModal.gatto-camera-expanded:not(.hidden)[class]{padding:0!important;inset:0!important;z-index:10000!important}
#chatCallModal.gatto-camera-expanded:not(.hidden) .chat-call-panel[class]{
  position:relative!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;box-sizing:border-box!important;border-radius:0!important;
  display:grid!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important;
}
#chatCallModal.gatto-camera-expanded:not(.hidden) .chat-call-panel[class]>:not(.chat-call-stage):not(.chat-call-actions){display:none!important}
#chatCallModal.gatto-camera-expanded:not(.hidden) .chat-call-panel[class] .chat-call-stage.video{
  position:relative!important;display:grid!important;grid-template: minmax(0,1fr)/minmax(0,1fr)!important;
  width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
}
#chatCallModal.gatto-camera-expanded:not(.hidden) .chat-call-panel[class] .chat-call-stage.video>video.gatto-camera-selected{
  position:relative!important;inset:auto!important;grid-area:1/1!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  min-width:0!important;min-height:0!important;object-fit:contain!important;border-radius:0!important;
}
#chatCallModal.gatto-camera-expanded:not(.hidden) .chat-call-actions{
  position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;
  width:calc(100% - 16px)!important;max-height:28dvh!important;overflow-y:auto!important;z-index:200!important;
  background:rgba(7,16,26,.8);border-radius:10px;
}
#chatRoomSidePanelV972.gatto-camera-expanded.gatto-camera-fill .gatto-camera-selected .gatto-room-video,
#chatCallModal.gatto-camera-expanded.gatto-camera-fill:not(.hidden) .chat-call-panel[class] .chat-call-stage.video>video.gatto-camera-selected{object-fit:cover!important}
#chatRoomSidePanelV972.gatto-camera-expanded .gatto-camera-selected .gatto-camera-ambient{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;pointer-events:none!important;
  filter:blur(26px) brightness(.5) saturate(1.15)!important;transform:scale(1.2)!important;
  z-index:0!important;background:#040a11!important;
}
#chatRoomSidePanelV972.gatto-camera-expanded .gatto-camera-selected .gatto-room-video{z-index:1!important}
#chatRoomSidePanelV972.gatto-camera-expanded.gatto-camera-fill .gatto-camera-ambient{visibility:hidden!important}




