/* Only the page behind the native dialog is frosted; the form stays opaque. */
.profile-dialog::backdrop {
  background: rgba(42, 34, 25, .30);
  -webkit-backdrop-filter: blur(12px) saturate(.65);
  backdrop-filter: blur(12px) saturate(.65);
}

.profile-dialog {
  background: var(--card, #f8f3e6);
  border-color: #655a49;
  box-shadow: 0 24px 80px rgba(23, 20, 17, .32), 0 2px 12px rgba(23, 20, 17, .12);
}

.profile-dialog .dialog-heading {
  background: var(--card, #f8f3e6);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .profile-dialog::backdrop { background: rgba(23, 20, 17, .66); }
}
