dialog.name-change-notice {
    box-sizing: border-box;
    width: min(640px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 40px;
    overflow-y: auto;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #29326e;
    box-shadow: 0 20px 80px #0003;
}
.name-change-notice::backdrop { background: rgb(20 25 55 / 65%); }
.name-change-notice .name-change-logo { display: block; width: 150px; height: 75px; object-fit: contain; margin-bottom: 24px; }
.name-change-notice h2 { margin: 0 0 20px; font-size: 1.8rem; line-height: 1.2; }
.name-change-notice p { max-width: none; margin: 0 0 16px; line-height: 1.6; }
.name-change-notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.name-change-notice .name-change-signature { font-weight: 700; }
.name-change-notice .name-change-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #f3f2fa; color: #29326e; font-size: 28px; line-height: 1; cursor: pointer; }
.name-change-notice .name-change-confirm { display: block; margin-top: 24px; padding: 12px 28px; border: 0; border-radius: 24px; background: #29326e; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.name-change-notice .name-change-confirm:hover { background: #4558a5; }
.name-change-notice button:focus-visible, .name-change-notice a:focus-visible { outline: 3px solid #ff8615; outline-offset: 3px; }
html.name-change-open { overflow: hidden; }
@media (max-width: 575px) {
    dialog.name-change-notice { padding: 28px 24px; }
    .name-change-notice h2 { font-size: 1.5rem; }
}
