.domain-notice {
    box-sizing: border-box;
    width: min(540px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid #f4edff;
    border-radius: 28px;
    background: #fffdfd;
    color: #302343;
    box-shadow: 0 24px 100px #24113638;
    font: 16px/1.6 Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    overscroll-behavior: contain;
}
.domain-notice::backdrop { background: #23173094; backdrop-filter: blur(5px); }
.domain-notice *, .domain-notice *::before, .domain-notice *::after { box-sizing: border-box; }
.domain-notice [hidden] { display: none !important; }
.domain-notice__art { position: relative; background: #eee4fb; }
.domain-notice__art img { display: block; width: 100%; height: 205px; object-fit: cover; object-position: center 57%; }
.domain-notice__close {
    position: absolute; top: 14px; right: 14px; min-height: var(--control-height-lg); min-width: 64px;
    border: 1px solid #fff9; border-radius: var(--control-radius-pill); padding: 8px 14px;
    background: #fffffff0; color: #4a365f; font: inherit; font-size: var(--control-font-md); font-weight: 650; cursor: pointer;
}
.domain-notice__body { padding: 24px 32px 16px; }
.domain-notice h2 { margin: 0 0 18px; color: #39214f; font-size: 32px; line-height: 1.3; letter-spacing: -1.2px; font-weight: 800; }
.domain-notice__address { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #f4ecfc; font-size: 17px; }
.domain-notice__old { color: #766286; text-decoration: line-through; text-decoration-color: #b09bc0; }
.domain-notice__address strong { color: #7439b2; font-size: 25px; font-weight: 800; letter-spacing: -.6px; }
.domain-notice__steps { display: grid; gap: 10px; margin: 20px 0 12px; padding-left: 20px; font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.domain-notice__steps li::marker { color: #a77ad3; }
.domain-notice__steps strong { font-weight: 750; }
.domain-notice__login { margin: 0 0 20px; color: #715d80; font-size: var(--control-font-md); word-break: keep-all; }
.domain-notice__actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.domain-notice__primary, .domain-notice__copy {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--control-height-lg);
    border: 1px solid transparent; border-radius: var(--control-radius-action); padding: 12px 10px;
    font: inherit; font-weight: 750; font-size: var(--control-font-lg); line-height: 1.4; text-decoration: none; cursor: pointer;
}
.domain-notice__primary { color: #fff; background: #8045b6; box-shadow: 0 5px 12px #8045b624; }
.domain-notice__copy { color: #704299; background: #f5eefb; border-color: #e7d8f3; }
.domain-notice__primary:hover { background: #6e339f; color: #fff; }
.domain-notice__copy:hover { background: #eadcf5; }
.domain-notice__close:hover { background: #fff; }
.domain-notice button:active, .domain-notice__primary:active { transform: translateY(1px); }
.domain-notice :is(button, a, input):focus-visible { outline: 3px solid #56218d; outline-offset: 3px; }
.domain-notice h2:focus { outline: none; }
.domain-notice__hide { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--control-height-lg); margin-top: 10px; color: #695677; font-size: var(--control-font-md); cursor: pointer; }
.domain-notice__hide input { width: 20px; height: 20px; margin: 0; accent-color: #8045b6; cursor: pointer; }
.domain-notice__status { margin: 12px 0 0; color: #644381; font-size: var(--control-font-md); word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 420px) {
    .domain-notice { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 22px; }
    .domain-notice__art img { height: 155px; }
    .domain-notice__body { padding: 20px 20px 12px; }
    .domain-notice h2 { font-size: 27px; letter-spacing: -.8px; margin-bottom: 14px; }
    .domain-notice__address { gap: 8px; padding: 10px 8px; font-size: var(--control-font-md); }
    .domain-notice__address strong { font-size: 21px; }
    .domain-notice__steps { font-size: 15px; margin-top: 16px; gap: 8px; }
    .domain-notice__login { margin-bottom: 16px; }
    .domain-notice__actions { grid-template-columns: 1fr; gap: 8px; }
    .domain-notice__primary, .domain-notice__copy { min-height: var(--control-height-lg); }
}
@media (max-height: 700px) { .domain-notice__art img { height: 125px; } }
