.customer-support-launcher {
  --customer-support-launcher-size: 90px;
  align-items: center;
  background: linear-gradient(135deg, #ff4f7d 0%, #bf4bc8 50%, #7556ff 100%);
  border: 0;
  border-radius: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  box-shadow: 0 16px 38px rgba(68, 39, 157, .42), 0 4px 12px rgba(0, 0, 0, .28);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: var(--customer-support-launcher-size);
  justify-content: center;
  padding: 0;
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  transition: box-shadow .18s ease, transform .18s ease;
  width: var(--customer-support-launcher-size);
  z-index: 10001;
}

.customer-support-launcher[hidden] {
  display: none;
}

.customer-support-launcher:hover {
  box-shadow: 0 19px 44px rgba(68, 39, 157, .5), 0 5px 14px rgba(0, 0, 0, .32);
  transform: translateY(-2px) scale(1.04);
}

.customer-support-launcher:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.customer-support-launcher svg {
  fill: currentColor;
  height: 44px;
  width: 44px;
}

.customer-support-unread {
  align-items: center;
  background: #ff355f;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font: 800 12px/1 system-ui, sans-serif;
  height: 25px;
  justify-content: center;
  min-width: 25px;
  padding: 0 5px;
  position: absolute;
  right: -2px;
  top: -2px;
}

.customer-support-unread[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .customer-support-launcher {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-support-launcher {
    transition: none;
  }
}
