.registration-placeholder { margin-top: 110vh; min-height: 100vh; }
.modal, .modal *, .modal *::before, .modal *::after { box-sizing: border-box; }
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; z-index: 40; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; -webkit-font-smoothing: antialiased; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(27, 23, 19, 0.58); }
.modal__dialog { position: relative; width: min(100%, 420px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 28px 24px 22px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22); text-align: center; }
.modal__title { margin: 0; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; color: #a54838; }
.modal__message { margin: 14px 0 0; font-size: 0.9rem; line-height: 1.25rem; font-weight: 700; color: #3b3127; white-space: pre-line; }
.modal__message--subtle { font-size: 12px; color: #6f6156; }
.modal__actions { margin-top: 22px; }
.modal__button { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; padding: 12px 22px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #e37f68 0%, #d2624e 100%); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.modal__button:focus-visible { outline: 3px solid #063c75; outline-offset: 4px; }
.text-nowrap { white-space: nowrap; }
@media (max-width: 480px) { .modal__dialog { padding: 24px 18px 18px; } }