/* "Premium only" dialog (base.html #premiumDialog), opened by main.js.
   Native <dialog>: Bootstrap's .modal is restyled site-wide as a side drawer. */

.hs-premium-dialog {
  width: min(400px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(20, 17, 14, .18);
  text-align: center;
}
.hs-pd-body { padding: 28px 28px 24px; }
.hs-premium-dialog::backdrop { background: rgba(20, 17, 14, .45); }
.hs-premium-dialog[open] { animation: hs-pd-in .16s ease-out; }
@keyframes hs-pd-in { from { opacity: 0; transform: translateY(8px); } }

.hs-pd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 22px;
  color: var(--brand);
}
.hs-pd-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
}
.hs-premium-dialog h2 { margin: 0 0 8px; font: 600 22px 'Fraunces', serif; }
.hs-pd-msg { margin: 0 0 22px; font-size: 15px; line-height: 1.5; color: var(--slate); }

.hs-pd-actions { display: flex; flex-direction: column; gap: 8px; }
.hs-pd-actions .btn-action { justify-content: center; width: 100%; }
.hs-pd-cancel {
  padding: 8px;
  border: 0;
  background: none;
  font: 500 14px 'Hanken Grotesk', sans-serif;
  color: var(--slate);
  cursor: pointer;
}
.hs-pd-cancel:hover { color: var(--ink); }
.hs-pd-cancel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
