/* PC privacy-law dialog; the existing markup and open/close handlers are retained. */

body.pc-support-privacy #overlay {
    z-index: 2147483000;
    background: rgba(25, 29, 35, .48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

body.pc-support-privacy #law-popup,
body.pc-support-privacy #law-popup :where(p, div, a, button, ul, li, b) {
    box-sizing: border-box;
    font-family: Arial, 'Malgun Gothic', sans-serif !important;
}

body.pc-support-privacy #law-popup {
    z-index: 2147483001;
    width: 640px;
    max-width: calc(100% - 64px);
    max-height: calc(var(--pc-law-viewport-height, 100vh) - 48px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(20, 27, 38, .18), 0 4px 16px rgba(20, 27, 38, .08);
    color: #4b5058;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

body.pc-support-privacy #law-popup .custom-popup-title {
    position: relative;
    margin: 0;
    padding: 29px 72px 28px 84px;
    color: #22262d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.5px;
    text-align: left;
}

body.pc-support-privacy #law-popup .custom-popup-title::before {
    position: absolute;
    top: 24px;
    left: 28px;
    width: 40px;
    height: 40px;
    border: 1px solid #fbe3d5;
    border-radius: 12px;
    background: #fff3ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e8753d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.2c0 4.4 3.1 7.6 7.5 9.8 4.4-2.2 7.5-5.4 7.5-9.8V6L12 3Z'/%3E%3Cpath d='m8.5 12 2.3 2.3 4.7-4.7'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
    content: '';
}

body.pc-support-privacy #law-popup .custom-popup-content {
    max-height: calc(var(--pc-law-viewport-height, 100vh) - 248px);
    min-height: min(120px, calc(var(--pc-law-viewport-height, 100vh) - 248px));
    margin: 0 28px;
    padding: 0 10px 24px 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #d6d9de transparent;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: #555b64;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: -.2px;
}

body.pc-support-privacy #law-popup .custom-popup-content::-webkit-scrollbar {
    width: 5px;
}

body.pc-support-privacy #law-popup .custom-popup-content::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #d6d9de;
}

body.pc-support-privacy #law-popup .custom-popup-content p {
    margin: 0 0 14px;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

body.pc-support-privacy #law-popup .custom-popup-content > p:first-child {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid #f7e5d9;
    border-radius: 10px;
    background: #fff8f2;
    color: #8e4d2b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: -.25px;
}

body.pc-support-privacy #law-popup .custom-popup-content p > b {
    display: block;
    padding-top: 8px;
    color: #2c323b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

body.pc-support-privacy #law-popup .custom-popup-content ul {
    margin: 0 0 20px;
    padding: 0 0 0 3px;
    list-style: none;
}

body.pc-support-privacy #law-popup .custom-popup-content li {
    margin: 0;
    padding: 0 0 0 1.25em;
    list-style: none;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-indent: -1.25em;
}

body.pc-support-privacy #law-popup .custom-popup-content li + li {
    margin-top: 8px;
}

body.pc-support-privacy #law-popup .custom-popup-content a {
    color: #b4532c;
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.pc-support-privacy #law-popup .custom-popup-content > p:last-child {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #edf0f2;
    color: #777d86;
    font-size: 12px;
    line-height: 1.8;
}

body.pc-support-privacy #law-popup .custom-popup-content + div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 18px 28px !important;
    border-top: 1px solid #edf0f2;
    background: #fff;
}

body.pc-support-privacy #law-popup #close-popup,
body.pc-support-privacy #law-popup #close-popup:visited {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 104px;
    height: 44px;
    padding: 0 25px;
    border: 1px solid #f05a24;
    border-radius: 8px;
    background: #f05a24;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease;
}

body.pc-support-privacy #law-popup #close-popup:hover,
body.pc-support-privacy #law-popup #close-popup:active {
    border-color: #db4b19;
    background: #db4b19;
    color: #fff;
    text-decoration: none;
}

body.pc-support-privacy #law-popup .pc-law-close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #7c828b;
    line-height: 1;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}

body.pc-support-privacy #law-popup .pc-law-close svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

body.pc-support-privacy #law-popup .pc-law-close:hover {
    background: #f3f4f6;
    color: #303640;
}

body.pc-support-privacy #law-popup :where(a, button):focus-visible {
    outline: 2px solid #f59d77;
    outline-offset: 3px;
}

@media (max-height: 540px) {
    body.pc-support-privacy #law-popup .custom-popup-title {
        padding: 20px 64px 20px 70px;
    }

    body.pc-support-privacy #law-popup .custom-popup-title::before {
        top: 19px;
        left: 22px;
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background-size: 21px 21px;
    }

    body.pc-support-privacy #law-popup .custom-popup-content {
        max-height: calc(var(--pc-law-viewport-height, 100vh) - 190px);
        min-height: min(120px, calc(var(--pc-law-viewport-height, 100vh) - 190px));
        margin-right: 22px;
        margin-left: 22px;
        padding-bottom: 18px;
    }

    body.pc-support-privacy #law-popup .custom-popup-content + div {
        padding: 12px 22px !important;
    }

    body.pc-support-privacy #law-popup .pc-law-close {
        top: 17px;
        right: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pc-support-privacy #law-popup #close-popup,
    body.pc-support-privacy #law-popup .pc-law-close {
        transition: none;
    }
}

/* Customer articles use the Korea News article navigation presentation. */

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav {
    margin: 22px 0 0;
    padding: 0 !important;
    border-top: 1px solid #e7e9ed;
}

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav > .notice-prev,
body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav > .notice-next {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #ededed;
    line-height: 1.65;
}

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav em {
    flex: 0 0 70px;
    width: 70px;
    color: #999;
    font-size: 11px;
    font-style: normal;
    text-align: left;
}

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav em::before {
    width: 11px;
    height: 11px;
    margin-right: 7px;
    opacity: .6;
}

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav a,
body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav .pc-support-nav-empty {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 640px;
    padding: 0;
    overflow: hidden;
    color: #666;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav .pc-support-nav-empty {
    color: #a3a9b2;
}

body.pc-support-navigation main .cs-content .notice-listbtn.pc-support-back {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 140px;
    min-height: 44px;
    margin: 24px auto 0;
    padding: 10px 14px;
    border: 1px solid #e0e4e8;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    text-decoration: none;
}

body.pc-support-navigation main .cs-content .notice-listbtn.pc-support-back:visited,
body.pc-support-navigation main .cs-content .notice-listbtn.pc-support-back:hover {
    color: #fff;
    background: #ed3909;
    text-decoration: none;
}

body.pc-support-navigation main .cs-content .notice-nav.pc-support-nav a:focus-visible,
body.pc-support-navigation main .cs-content .notice-listbtn.pc-support-back:focus-visible {
    outline: 2px solid #ff3900;
    outline-offset: 3px;
}

/* Keep customer list buttons white after visiting or interacting with them. */

body.pc-support-navigation main .cs-content .notice-listbtn.pc-support-back,
body.pc-support-navigation main .cs-content .notice-listbtn.pc-support-back:is(:visited,:hover,:focus,:active) {
    border-color: #e0e4e8;
    background: #fff;
    color: #555;
}
