/* Site-local notice skin. Keep display under jQuery fadeIn/fadeOut control. */
.jinjuyudeung-theme #noticePopupArea .popup-container {
    z-index: 10050;
    width: 540px;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #d4b477;
    border-radius: 24px;
    background: linear-gradient(145deg, #fffdf7, #f8efdf);
    box-shadow: 0 26px 80px rgba(8, 6, 26, .45), 0 0 32px rgba(225, 177, 85, .12);
}

.jinjuyudeung-theme #noticePopupArea .popup-top {
    position: relative;
    flex: 0 0 auto;
    max-height: 30vh;
    padding: 28px 30px 25px;
    overflow: auto;
    border-radius: 0;
    border-bottom: 2px solid #e4b63f;
    background:
        radial-gradient(ellipse at 90% 0, rgba(241, 194, 75, .18), transparent 55%),
        linear-gradient(120deg, #11142e, #2b1c43 65%, #502442);
    text-align: left;
}

.jinjuyudeung-theme #noticePopupArea .jinju-notice-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #efcf89;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
}

.jinjuyudeung-theme #noticePopupArea .popup-title {
    margin: 0;
    color: #fff8e9;
    font-family: inherit;
    font-size: clamp(21px, 4.5vw, 26px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.035em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.jinjuyudeung-theme #noticePopupArea .popup-middle {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 420px;
    padding: 28px 30px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c5ac7c #f5eddf;
}

.jinjuyudeung-theme #noticePopupArea .popup-content {
    margin: 0;
    color: #493c4d;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.jinjuyudeung-theme #noticePopupArea .popup-content > :last-child {
    margin-bottom: 0;
}

.jinjuyudeung-theme #noticePopupArea .popup-content img,
.jinjuyudeung-theme #noticePopupArea .popup-content video {
    max-width: 100% !important;
    height: auto !important;
}

.jinjuyudeung-theme #noticePopupArea .popup-content iframe {
    max-width: 100%;
}

.jinjuyudeung-theme #noticePopupArea .popup-content a {
    color: #715023;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jinjuyudeung-theme #noticePopupArea .popup-bottom {
    flex: 0 0 auto;
    gap: 12px;
    padding: 18px 30px 22px;
    border-radius: 0;
    border-top: 1px solid #e8dbc7;
    background: rgba(247, 238, 222, .8);
}

.jinjuyudeung-theme #noticePopupArea .close {
    width: 100%;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid #dfb753;
    border-radius: 12px;
    color: #332513;
    background: linear-gradient(125deg, #f8dc7d, #edc255 55%, #dba141);
    box-shadow: 0 5px 14px rgba(117, 78, 24, .14), inset 0 1px 0 rgba(255, 255, 255, .45);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    opacity: 1;
    text-shadow: none;
}

.jinjuyudeung-theme #noticePopupArea .close:hover {
    background: linear-gradient(125deg, #ffe69a, #f3cd69 55%, #e6b153);
}

.jinjuyudeung-theme #noticePopupArea .close:focus-visible,
.jinjuyudeung-theme #noticePopupArea .popup-content a:focus-visible {
    outline: 3px solid #805528;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .jinjuyudeung-theme #noticePopupArea .popup-container {
        border-radius: 20px;
    }

    .jinjuyudeung-theme #noticePopupArea .popup-top {
        padding: 22px 22px 20px;
    }

    .jinjuyudeung-theme #noticePopupArea .popup-middle {
        padding: 22px;
    }

    .jinjuyudeung-theme #noticePopupArea .popup-bottom {
        padding: 16px 22px 20px;
    }
}

@media (max-height: 450px) {
    .jinjuyudeung-theme #noticePopupArea .popup-top,
    .jinjuyudeung-theme #noticePopupArea .popup-bottom {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .jinjuyudeung-theme #noticePopupArea .jinju-notice-eyebrow {
        margin-bottom: 6px;
    }
}
