.copy-email-toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #fff;
  background: rgba(48, 65, 62, .94);
  box-shadow: 0 14px 38px rgba(31, 43, 41, .27);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px) scale(.96);
  transition: opacity .22s ease, transform .28s cubic-bezier(.22, .8, .3, 1);
  backdrop-filter: blur(12px);
}

.copy-email-toast::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: #315e54;
  background: #dff0e9;
  font-size: 13px;
}

.copy-email-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

[data-copy-support-email].is-copied {
  filter: saturate(.8);
}

@media (max-width: 520px) {
  .copy-email-toast {
    width: max-content;
    max-width: calc(100% - 28px);
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy-email-toast {
    transition: none;
  }
}
