.contact-popup {
  --popup-radius: 32px;
  --close-inset: 12px;
  position: fixed;
  width: min(430px, calc(100% - 28px));
  max-width: calc(100% - 28px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  margin: auto;
  padding: 64px 24px;
  border: 0;
  border-radius: var(--popup-radius);
  color: #1f2936;
  background: #eff3f7;
  box-shadow: 0 24px 80px #1f293626;
}
.contact-popup::backdrop {
  background: #1f293642;
  backdrop-filter: blur(3px);
}
.contact-popup[open] { animation: contact-enter 160ms ease-out; }
.contact-popup-icon { flex-shrink: 0; width: 24px; height: 24px; }
.contact-popup button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.contact-popup .contact-popup-close {
  position: absolute;
  top: var(--close-inset);
  right: var(--close-inset);
  border-radius: calc(var(--popup-radius) - var(--close-inset));
  background: linear-gradient(135deg, #e5e9ee, #e8e2f0);
}
.contact-popup .contact-popup-close:hover { background: linear-gradient(135deg, #dbe1e8, #dbd2e9); }
.contact-popup-value-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
}
.contact-popup-value { min-width: 0; font-size: 20px; line-height: 1.4; font-weight: 700; white-space: nowrap; user-select: all; }
.contact-popup-value:hover { color: #c60027; }
.contact-popup-copy { background: #eff3f7; }
.contact-popup-copy:hover { background: #e1e8ef; }
.contact-popup-copy.is-copied { color: #286544; background: #e5f1e9; }
.contact-popup-copy .copied-symbol { display: none; }
.contact-popup-copy.is-copied .copy-symbol { display: none; }
.contact-popup-copy.is-copied .copied-symbol { display: block; }
.contact-popup-status { position: absolute; bottom: 18px; left: 16px; right: 16px; margin: 0; font-size: 14px; line-height: 20px; color: #286544; text-align: center; }
.contact-popup-status.is-error { color: #a31933; }
body:has(.contact-popup[open]) { overflow: hidden; }
@keyframes contact-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 420px) {
  .contact-popup { --popup-radius: 28px; --close-inset: 10px; padding-inline: 18px; }
  .contact-popup-icon { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .contact-popup[open] { animation: none; } }
