/* WebPush Modal */
.webpush-modal,
.webpush-alert-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.45);
}

.webpush-modal .wp-modal-card,
.webpush-alert-modal .wp-modal-card {
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.25);
    overflow: hidden;
}

.webpush-modal .wp-modal-body,
.webpush-alert-modal .wp-modal-body {
    padding: 28px 26px 18px;
    text-align: center;
}

.webpush-modal .wp-modal-title,
.webpush-alert-modal .wp-modal-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin-bottom: 14px;
    color: #111;
}

.webpush-modal .wp-modal-desc,
.webpush-alert-modal .wp-modal-desc {
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.2px;
    color: #111;
    text-align: left;
}

.webpush-modal .wp-modal-desc .muted,
.webpush-alert-modal .wp-modal-desc .muted {
    color: #444;
}

.webpush-modal .wp-modal-footer,
.webpush-alert-modal .wp-modal-footer {
    padding: 0 26px 24px;
    display: flex;
    justify-content: center;
}

.webpush-modal .wp-modal-btn,
.webpush-alert-modal .wp-modal-btn {
    width: 100%;
    max-width: 220px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #0b0b0b;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.webpush-alert-modal.is-text-only .wp-modal-desc {
    text-align: center;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

#livePushModal,
#marketingSettingModal{
    display: none;
}

#livePushModal.active,
#marketingSettingModal.active{
    display: flex;
}

#livePushModal .wp-text-left {
    text-align: left;
    color: #444;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.2px;
    margin-top: 19px;
}

#livePushModal .wp-modal-section legend {
    visibility: unset !important;
    position: unset !important;
    width: unset !important;
    height: unset !important;
    line-height: unset !important;
    font-weight: bold;
}

#livePushModal .wp-modal-section legend .muted{
    font-weight: normal !important;
}

.mb-19 {
    margin-bottom: 19px;
}

.wp-radio-row {
    cursor: pointer;
}

#webPushMyPopup #openWebPushSettingBtn,
#webPushMyPopup #openMarketingSettingBtn button span {
    font-size: 16px;
}

#webPushMyPopup #openMarketingSettingBtn button span {
    font-weight: bold;
}

.web-push-wrapper.web-push-wrapper,
.wpn-subscribed #landingWebPushStickyContent,
.web-push-off-btn,
.webpush-logged-active {
    display: none;
}

.wpn-unsubscribed .web-push-wrapper.active,
.wpn-wpn-unsubscribed #landingWebPushStickyContent {
    display: block;
}

.webpush-modal .wp-modal-desc.scroll-desc {
    min-height: 200px;
    overflow-y: auto;
}

.wpn-subscribed .web-push-off-btn.active {
    display: none;
}

.wpn-subscribed .popup-container-live.active{
    display: none;
}

body.wpn-subscribed.popup-open {
    overflow: unset !important;
}

.wp-modal-body {
    position: relative;
}

.wp-modal-body .close-popup-btn {
    position: absolute;
    top: 17px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif !important;
}

#pre-permission-dim, #alert-dim {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    background: rgba(20, 20, 20, 0.75);
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.footer_left .info_row {
    margin-bottom: 0;
}

.footer_left .info_row .label {
    margin-right: 0;
}

.info_row.api-footer {
    white-space: pre-line;
}

/* 20260609*/


/* 싱크형, 플친형 관련 버튼 숨김 처리*/
/* TOP*/
.is-logon .favorite-top-sync.active,
.is-logon .favorite-top-plus.active,
    /* MID */
.is-logon #kakao-sync-login.active,
.is-logon #kakao-plus-login.active,
    /* ?*/
.is-logon #syncSubscript.active,
.is-logon #plusSubscript.active,
    /* 2형 LIST BLOCK*/
.is-logon .live-group-blocker,
    /* 2형 LIST LOGIN BTN*/
.is-logon .card-profile-box .btn-profile-favorite,
    /* FOOTER FIXED BTN */
.is-logon #landingSyncStickyContent.active,
.is-logon #landingPlusStickyContent.active,
.is-logon .app-install-btn {
    display: none;
}

.mr-15 {
    margin-right: 15px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    z-index: 1100;
}

.modal .modal-content {
    background: #fff;
}

.modal .push-settings {
    width: 100%;
    max-width: 700px;
    background: #fff;
    height: 100%;
}

.modal .popup-header {
    align-items: center;
    justify-content: flex-start;
}

.modal .back-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    z-index: 1;
}

.modal .popup-titles {
    line-height: unset;
}

.modal .settings-item {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.modal .settings-text {
    max-width: 80%;
}

.modal .title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.modal .desc {
    font-size: 14px;
    line-height: 1.3;
    color: #777;
}

.modal .desc .marketing-notice {
    font-size: 11px;
    color: #a1a0a0;
    margin-top: 7px;
}

/* toggle */

.modal .switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.modal .switch input {
    display: none;
}

.modal .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: .3s;
}

.modal .slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.modal .switch input:checked + .slider {
    background: #ff2d78;
}

.modal .switch input:checked + .slider:before {
    transform: translateX(20px);
}

.modal .push-settings {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.modal .settings-withdraw-wrap {
    margin-top: auto;
    padding: 24px 16px calc(20px + env(safe-area-inset-bottom));
}

.modal .btn-withdraw {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 앱, 웹 상태 Style*/
body.is-logon #installBtn {
    display: none;
}

/* 웹 마이페이지 > 설정 메뉴 비노출 처리*/
body.is-logout .app-only-setting-item {
    display: none;
}

/* 로그인 후*/
.is-logout .logged-in-container {
    display: none;
}

.is-logon .cover-logged {
    position: absolute;
    top: 0;
    right: 0;
}

/* 마이페이지 */
.is-logon .mypage-fab {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #111;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.10);
    transition: transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.is-logon .mypage-fab svg {
    width: 22px;
    height: 22px;
    stroke: #111;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.is-logon .mypage-fab:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.20),
    0 3px 8px rgba(0, 0, 0, 0.12);
}

.is-logon .mypage-fab:active {
    transform: scale(0.96);
}

.is-logon .mypage-fab:focus-visible {
    outline: 2px solid rgba(255, 59, 48, 0.45);
    outline-offset: 2px;
}

.is-logon .mypage-fab:hover svg {
    stroke: #ff2d20;
}

/* landing.css */
.bottom-nav-wrapper {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 65px;
    width: 100%;
    max-width: 700px;
    z-index: 998;
    pointer-events: none; /* 아래 클릭 막지 않게 */
}

.bottom-nav___top {
    position: absolute;
    right: 16px;
    bottom: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #dadada;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
    pointer-events: auto;
}

.bottom-nav___top a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav___top svg {
    display: block;
    transform: translateY(1px);
}

.bottom-nav___top--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========= POPUP STYLES START ========= */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s,
    opacity 0.3s ease;
}

.popup-container.active {
    visibility: visible;
    opacity: 1;
}

#settingsPopup,
#retirePopup {
    z-index: 1001;
}

.popup-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: #f0f0f0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.popup-container.active .popup-content {
    transform: translateX(0);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    flex-shrink: 0;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.btn-header-icon svg {
    margin-right: 4px;
}

.btn-header-icon {
    z-index: 1;
}

.btn-header-icon svg {
    color: #555;
}

#myPagePopup .popup-body,
#webPushMyPopup .popup-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#settingsPopup .popup-body,
#retirePopup .popup-body {
    padding: 0;
    overflow: hidden;
    flex-grow: 1;
}

#settingsFrame,
#retireFrame {
    width: 100%;
    height: 100%;
    border: none;
}

.customer-service-box {
    background-color: #000;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.customer-service-box p {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: bold;
}

.customer-service-box .btn-inquire {
    background-color: #fee500;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
}

.popup-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    background-color: #fff;
    border-radius: 12px;
}

.popup-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.popup-menu li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.popup-menu svg {
    color: #aaa;
}

/* Accordion styles */
.arrow-icon {
    transition: transform 0.3s ease;
}

.btn-back {
    z-index: 1;
}

.btn-back,
.btn-header-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.btn-header-icon {
    z-index: 1;
}

.btn-header-icon svg {
    color: #555;
    margin-right: 4px;
}

#myPagePopup .popup-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.customer-service-box {
    background-color: #000;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.customer-service-box p {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: bold;
}

.customer-service-box .btn-inquire {
    background-color: #fee500;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.popup-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    background-color: #fff;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

.popup-menu li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.popup-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.agreement-content.open a {
    display: unset;
    align-items: unset;
    padding: unset;
    text-decoration: underline !important;
    color: #007bff !important;
    font-size: unset;
}

.accordion-toggle.active .arrow-icon {
    transform: rotate(90deg);
}

.popup-menu svg {
    color: #aaa;
}

.agreement-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f7f7f7;
}

.agreement-content .inner-content {
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.agreement-content.open {
    max-height: 9999px;
}

.fr-view {
    word-wrap: break-word;
}

/* ========= POPUP STYLES END ========= */


/* 세부 셋팅*/
.confirm-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.confirm-popup.active {
    display: flex;
}

.confirm-popup-content {
    width: 100%;
    max-width: 332px;
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px 20px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.confirm-popup-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    word-break: keep-all;
}

.confirm-popup-desc {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    word-break: keep-all;
}

.confirm-popup-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.confirm-popup-btn {
    flex: 1;
    height: 48px;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.confirm-popup-btn.is-cancel {
    color: #111;
}

.confirm-popup-btn.is-confirm {
    color: #ff2f7d;
}

/* 회원수 미노출 처리 20260401*/
.signup-box,
.t3-count {
    display: none !important;
}

/* 구글플레이 인라인 설치 커스텀 모달 */

#google-install-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    font-family: 'Noto Sans KR', sans-serif;
}

.modal-bottom-sheet {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 24px;
    box-sizing: border-box;
    animation: slideUp_awake 0.4s cubic-bezier(0, 0, 0.2, 1);
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: #e8eaed;
    border-radius: 2px;
    margin: 0 auto 20px;
}

.modal-app-info {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.modal-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-right: 16px;
    object-fit: cover;
}

.modal-btn-group {
    display: flex;
    gap: 12px;
}

.btn-later {
    flex: 1;
    padding: 14px;
    border: 1px solid #dadce0;
    background: #fff;
    border-radius: 10px;
    color: #5f6368;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-install {
    flex: 2;
    padding: 14px;
    border: none;
    /*background: #ff2d78;*/
    background: #01875f;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.modal-x-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #f1f3f4;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.modal-x-btn:hover {
    background: #e8eaed;
}

/* X 아이콘 모양 (SVG 대신 간단한 CSS 처리) */
.modal-x-btn::before, .modal-x-btn::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: #5f6368;
}

.modal-x-btn::before {
    transform: rotate(45deg);
}

.modal-x-btn::after {
    transform: rotate(-45deg);
}

.stop-scroll {
    height: 100%;
    overflow: hidden;
}

@keyframes slideUp_awake {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-ios-instruction {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
}

.ios-icon {
    display: inline-block;
    width: 20px;
    vertical-align: middle;
    margin: 0 2px;
}

.button-container {
    margin: 15px 0;
}

/* 탈퇴하기 */
.withdraw-modal.active {
    display: block;
}

.withdraw-modal {
    background: #242424;
}

.modal .withdraw-content {
    width: 100%;
    min-height: 100vh;
    background: #242424;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.withdraw-content .popup-header {
    position: relative;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #242424;
    color: #fff;
}

.withdraw-content .popup-header .popup-titles {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.withdraw-body {
    padding: 32px 14px 0;
}

.withdraw-body h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.withdraw-desc {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.7;
    color: rgb(219, 219, 220);
    font-weight: 400;
}

.withdraw-notice-box {
    padding: 18px 18px;
    border-radius: 10px;
    background: #303030;
    color: #9d9d9d;
}

.withdraw-notice-box ul {
    margin: 0;
    padding-left: 18px;
}

.withdraw-notice-box li {
    list-style: disc;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.withdraw-notice-box li::marker {
    font-size: 0.8em;
}

.withdraw-bottom {
    margin-top: auto;
    padding: 16px 14px calc(32px + env(safe-area-inset-bottom));

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.withdraw-agree {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.modal .withdraw-agree input {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-checkbox svg {
    width: 12px;
    height: 12px;
    fill: #fff;
    opacity: 0;
}

.withdraw-agree input:checked + .custom-checkbox {
    background: #ff2d78;
    border-color: #ff2d78;
}

.withdraw-agree input:checked + .custom-checkbox svg {
    opacity: 1;
}

.withdraw-header {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.withdraw-header .back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}

.withdraw-header .back-btn svg {
    color: #fff;
}

.withdraw-header .popup-titles {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.withdraw-close-btn {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
}

.withdraw-submit-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #333;
    color: #777;
    font-size: 15px;
    font-weight: 700;
    cursor: not-allowed;
}

.withdraw-submit-btn.is-active {
    background: #fff;
    color: #222;
    cursor: pointer;
}

.modal .with-draw-back-btn {
 color: #fff;
}
