/* Site confirmation dialog (confirm-dialog.js): dark card, gold primary button, same look as the panel. */
.mw-confirm {
  width: min(460px, calc(100vw - 32px)); padding: 26px 24px 22px; border: 1px solid #f6c98a40; border-radius: 22px;
  background: radial-gradient(120% 80% at 50% 0%, #4a1a4a 0%, #2a1230 55%, #1c0b22 100%); color: var(--mw-pearl, #fff8f3);
  box-shadow: 0 24px 60px #0000008c, 0 0 0 1px #ffffff0d inset; text-align: center;
}
.mw-confirm::backdrop { background: #0d0410b3; backdrop-filter: blur(4px); }
.mw-confirm[open] { animation: mw-confirm-in .22s ease-out; }
.mw-confirm-icon {
  display: grid; width: 52px; height: 52px; margin: 0 auto 14px; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, #fbe3bb, #f6c98a 55%, #ff9fb8); color: #2b0f2e; box-shadow: 0 0 24px #ff9fb859;
}
.mw-confirm-icon svg { width: 24px; height: 24px; }
.mw-confirm-title { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.3; }
.mw-confirm-text { margin: 0 0 22px; color: #e9dcef; font-size: .95rem; line-height: 1.5; }
.mw-confirm-actions { display: flex; gap: 10px; }
.mw-confirm-actions button {
  flex: 1; min-height: 48px; padding: 0 14px; white-space: nowrap; border-radius: 12px; font: inherit; font-weight: 800; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.mw-confirm-cancel { border: 1px solid #ffffff2e; background: #ffffff0a; color: var(--mw-pearl, #fff8f3); }
.mw-confirm-cancel:hover { border-color: #ff8cc4; }
.mw-confirm-accept { border: 0; background: linear-gradient(90deg, #fbe3bb, #f6c98a); color: #2b0f2e; box-shadow: 0 8px 22px #f6c98a40; }
.mw-confirm-accept:hover { transform: translateY(-1px); box-shadow: 0 10px 26px #f6c98a66; }
@media (max-width: 420px) { .mw-confirm-actions { flex-direction: column-reverse; } }
@media (prefers-reduced-motion: reduce) { .mw-confirm[open] { animation: none; } }
@keyframes mw-confirm-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
