/* Live Talk Lounge: the chat opens exclusively via BetBlunt's support links.
   The provider appends this launcher directly to <body>. Keep it in the DOM
   so js/support-chat.js can still invoke its click handler programmatically. */
body > button[aria-label="Abrir chat de atendimento"] {
  display: none !important;
}

/* Mobile only: treat the support iframe as a full-height sheet instead of the
   provider's 380x600px desktop popup (bottom:88px / right:20px).
   Keep display controlled by the widget, so its own close button still works.
   The optional visualViewport variables track the usable height when the
   on-screen keyboard opens; 100dvh is the safe fallback. */
@media (max-width: 767px) {
  body > iframe[title="Chat de atendimento"] {
    position: fixed !important;
    inset: auto !important;
    top: calc(var(--bb-chat-visual-top, 0px) + env(safe-area-inset-top, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(var(--bb-chat-visual-height, 100dvh) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }
}
