.rb-chat-launcher {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.rb-chat-launcher img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 10px #4b2aad30);
}
.rb-chat-launcher[aria-busy="true"] { opacity: .7; cursor: progress; }
body:not([data-rb-chat-ready]) iframe[data-review-bestie-guide] { visibility: hidden; pointer-events: none; }

.rb-chat-fallback {
  box-sizing: border-box;
  position: fixed;
  inset: auto max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) auto;
  width: min(322px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  margin: 0;
  padding: 23px;
  border: 1px solid #e4dcf6;
  border-radius: 16px;
  background: #fff;
  color: #272231;
  box-shadow: 0 12px 45px #33204724;
  font: 14px/1.55 Inter, Arial, sans-serif;
}
.rb-chat-fallback::backdrop { background: #24203333; }
.rb-chat-fallback h2 { margin: 0 28px 0 0; font: 800 20px/1.2 Nunito, Arial, sans-serif; }
.rb-chat-fallback p { margin: 10px 0 5px; color: #534762; }
.rb-chat-fallback a { display: flex; align-items: center; min-height: 36px; color: #5134b5; text-decoration: underline; }
.rb-chat-fallback .rb-chat-privacy { margin-top: 3px; font-size: 12px; }
.rb-chat-fallback form button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #534762;
  font: 24px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}
.rb-chat-launcher:focus-visible,
.rb-chat-fallback :is(a, button):focus-visible {
  outline: 3px solid #967bf7;
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .rb-chat-launcher {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + var(--rb-consent-height, 0px));
    width: 54px;
    height: 54px;
  }
}
