.reg-modal[hidden] { display: none !important; }
html.reg-modal-open, .reg-modal-open body { overflow: hidden; }
.reg-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(0 0 0 / .55); }
.reg-modal [role="dialog"] { box-sizing: border-box; width: 100%; max-width: 32rem; max-height: calc(100dvh - 32px); overflow-y: auto; overflow-wrap: anywhere; padding: 20px; border-radius: 12px; background: var(--surface); color: var(--ink); }
.reg-modal h2 { margin-top: 0; }
.reg-modal button { display: block; margin-top: 16px; min-height: 44px; padding: 8px 16px; }
.reg-cta { display: inline-flex; box-sizing: border-box; padding: .7rem 1rem; background: var(--accent); color: #fff; border-radius: 8px; text-decoration: none; white-space: normal; text-align: center; max-width: 100%; }
