.kangoo-chat {
  z-index: 9990 !important;
}

.kangoo-chat__badge[hidden] {
  display: none !important;
}

.kangoo-chat.kangoo-chat--right {
  right: max(18px, env(safe-area-inset-right));
  left: auto;
}

.kangoo-chat--right .kangoo-chat__panel {
  right: 0;
  left: auto;
}

.kangoo-chat__help-tip {
  position: absolute;
  right: 0;
  bottom: 70px;
  z-index: 2;
  display: block;
  min-width: max-content;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(7, 29, 69, 0.14);
  border-radius: 11px;
  background: #fff;
  color: #071d45;
  box-shadow: 0 10px 28px rgba(4, 24, 59, 0.18);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.kangoo-chat__help-tip::after {
  content: "";
  position: absolute;
  right: 24.5px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(7, 29, 69, 0.14);
  border-bottom: 1px solid rgba(7, 29, 69, 0.14);
  background: inherit;
  transform: rotate(45deg);
}

.kangoo-chat__help-tip.is-visible {
  opacity: 1;
  transform: none;
}

.kangoo-chat__help-tip[hidden] {
  display: none !important;
}

body.kangoo-theme--dark .kangoo-chat__help-tip {
  border-color: rgba(255, 255, 255, 0.14);
  background: #101a2a;
  color: #fff;
}

@media (max-width: 520px) {
  .kangoo-chat.kangoo-chat--right {
    right: max(18px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  .kangoo-chat__help-tip {
    transition: none;
  }
}
