body.notice-popup-open { overflow: hidden; }
.notice-popup-overlay[hidden] { display: none !important; }
.notice-popup-overlay { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 11, 22, .58); box-sizing: border-box; }
.notice-popup { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 36px 34px 28px; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.3); box-sizing: border-box; }
.notice-popup-x { position: absolute; top: 12px; right: 15px; padding: 3px 8px; border: 0; background: transparent; color: #777; font-size: 28px; line-height: 1; cursor: pointer; }
.notice-popup-label { margin-bottom: 9px; color: #6d35b3; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.notice-popup h2 { margin: 0; color: #222; font-size: 24px; line-height: 1.35; word-break: keep-all; }
.notice-popup-contents { min-height: 110px; margin-top: 22px; color: #4a4a4a; font-size: 15px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-popup-image { display: block; width: 100%; height: auto; margin-top: 20px; border-radius: 8px; }
.notice-popup-image[hidden] { display: none !important; }
.notice-popup-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #ece9f0; }
.notice-popup-actions button { min-height: 42px; padding: 0 17px; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; }
.notice-popup-dismiss { border: 1px solid #d1ccd7; background: #fff; color: #555; }
.notice-popup-close { border: 1px solid #5b21b6; background: #5b21b6; color: #fff; }
@media (max-width: 520px) { .notice-popup { padding: 32px 22px 22px; } .notice-popup h2 { font-size: 21px; } .notice-popup-actions { flex-direction: column-reverse; } .notice-popup-actions button { width: 100%; } }
