#innerCnt { position: relative; }

.profile-top {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    padding: 13px 20px 0;

    .profile-image {
        position: relative;
        width: 76px;
        height: 76px;

        img {
            width: 100%;
            height: 100%;
            border-radius: 76px;
            border: 1px solid var(--gray-300);
            object-fit: cover;
        }

        /* 프로필 수정 배지 - 수정 페이지 .edit 와 동일 룩(gray-800 원 + 흰 2px 링 + 흰 연필 12px)
           단 여기는 아바타 우측에 텍스트가 붙는 레이아웃이라 걸침 없이 아바타 경계 안쪽 우하단 배치 */
        .avatar-edit-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            /* 외곽 28px(링 포함) = 수정 페이지 .edit(div, content-box) 지오메트리와 동일 */
            box-sizing: content-box;
            position: absolute;
            right: 0;
            bottom: 0;
            width: 20px;
            height: 20px;
            padding: 0;
            border: 2px solid var(--white-color);
            border-radius: 50%;
            background: var(--gray-800);
            cursor: pointer;

            .icon {
                display: block;
                width: 20px;
                height: 20px;
                background-color: var(--white-color);
                -webkit-mask: url('/assets/images/icon/ic-edit-mono-7328091e6f1cfbdb4410b29684f50f0e.svg') no-repeat center / 12px;
                mask: url('/assets/images/icon/ic-edit-mono-7328091e6f1cfbdb4410b29684f50f0e.svg') no-repeat center / 12px;
            }
        }
    }

    .profile-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 225px;
        line-height: 20px;

        .nickname {
            color: var(--gray-900);
            font-size: 16px;
            font-weight: 600;
        }

        .introduce {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: 40px;
            margin-top: 4px;
            color: var(--gray-700);
            font-size: 14px;
            font-weight: 400;
            word-break: keep-all;
            line-break: anywhere;
        }

        .introduce.empty {
            color: #A4A4A4;
        }

        .link {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 6px;
            color: var(--primary-color);
            font-size: 12px;
            font-weight: 500;
            line-height: normal;
            letter-spacing: 0.36px;
            text-decoration: none;

            .line-wrap { flex: 1 }
        }

        .link::before {
            display: inline-block;
            content: '';
            width: 17px;
            height: 17px;
            background-image: url('/assets/images/icon/ic-link-blue-b0dd3237aafe8b09a234b2115f50df07.svg');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
}

.profile-total {
    width: 100%;
    padding: 15px 16px 0;

    .card {
        display: flex;
        padding: 16px 0 12px;
        border-radius: 12px;
        border: 1px solid var(--gray-100);
        box-shadow: 0 0 22px 0 rgba(116, 162, 211, 0.20);

        .item {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 6px;
            align-items: center;
            border-right: 1px solid var(--gray-200);

            img {
                width: 24px;
                height: 24px;
                object-fit: cover;
            }

            .desc {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 4px;

                .value {
                    display: flex;
                    align-items: center;
                    color: var(--gray-900);
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 20px;

                    .num { font-size: 18px; }

                    img.num {
                        width: auto;
                        height: 10px;
                        margin-right: 4px;
                    }
                }

                .title {
                    color: var(--gray-600);
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 20px;
                    letter-spacing: 0.36px;
                }
            }
        }

        .item:last-child { border-right: 0; }
    }

    .donation-public-desc {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 10px 0 0;

        .desc {
            color: var(--gray-600);
            font-size: 13px;
            font-weight: 400;
            line-height: 19px;
        }
    }

    .donation-public-desc::before {
        display: inline-block;
        content: '';
        width: 20px;
        height: 20px;
        background-image: url("/assets/images/icon/ic-hidden-small-b89d6f3ea93d21d62c67d3c44ae32072.svg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.profile-badge {
    /* 하단 수정/공유 버튼 영역 제거(헤더/아바타로 이동) 후 gray-bar 와의 간격을 섹션 패딩으로 확보 */
    padding: 20px;
    .section-title {
        margin: 0;

        /* 미확인 신규 배지 Red dot - "나의 배지" 라벨 우측 상단 (base 스타일은 common.css .red-dot) */
        .red-dot { margin-left: 2px; }

        .beta-badge-tooltip {
            border-radius: 50px;
            background-color: var(--gray-050);
            padding: 2px 10px;
            color: var(--gray-500);
            font-size: 12px;
            font-style: normal;
            font-weight: 500;
            cursor: pointer;
            margin-left: 4px;
        }
    }

    .badge-strip {
        /* 좌우 -10 = 배지 좌우 끝 여백 10px (섹션 패딩 20 을 10 상쇄) - 스크롤 모드 slidesOffset 10 과 동일 */
        margin: 10px -10px 0;

        /* 정적(채움) 모드 기본 - 좌우 10px(margin -10) 영역을 뺀 나머지 전체 폭에 배지 4개를
           균일 간격(space-evenly)으로 배치 = 양끝/사이 간격 모두 동일.
           횡스크롤 모드는 아래 .badge-strip.swiper 가 재정의 */
        .swiper-wrapper {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        /* 번들 전역 .swiper-slide { width: 100% } 무력화 - 정적 모드도 아이템 실폭(80px)이어야
           space-between 이 좌우 고정 + 균일 간격으로 동작한다 (양쪽 모드 공통) */
        .swiper-slide {
            width: auto;
            flex-shrink: 0;
        }

        /* 고정 80x80 = 리사이즈 썸네일(200x200 정사각, 투명 패딩)과 동일 비율이라 렌더 결과는 기존과 같고,
           이미지 로드 전에도 영역을 차지해 레이아웃 시프트가 없다.
           그림자는 정적(항상 부여) - 로드 전엔 img opacity 0(투명)이라 그림자도 안 보이고,
           로드 시 opacity 페이드와 함께 자연히 나타난다.
           ⚠️ filter 를 transition 하면(과거 구현) iOS WebKit 이 합성 레이어를 border-box 로만 잡아
           박스 밖 하단 그림자를 잘라내고 트랜지션 후에도 stale 클립이 남는다 → 정적 filter 로 회피
           (opacity 페이드는 공용 img-fade 담당, opacity 애니는 filter ink overflow 를 레이어에 포함) */
        .badge-icon {
            display: block;
            width: 80px;
            height: 80px;
            object-fit: contain;
            filter: drop-shadow(0 2px 4px rgba(116, 162, 211, 0.5));
        }

        /* 페이드인(opacity 전이)은 공용 img.img-fade(common.css)가 담당.
           미획득(잠금)은 흑백+블러, 로드 후 딤(0.3)만 예외 처리(그림자 없음 - 아래 filter 가 override).
           translateZ(0) = iOS WebKit filter:blur 독립 레이어 렌더(수평 띠 아티팩트 방지) */
        .badge-item.locked .badge-icon {
            filter: grayscale(1);
            transform: translateZ(0);
        }

        .badge-item.locked .badge-icon.is-loaded {
            opacity: 0.3;
        }
    }

    /* 횡스크롤 모드(보유 5개 이상, 보유 전체) - 섹션 padding(20px) 상쇄 풀블리드
       초기 좌측 여백 20px 은 Swiper slidesOffsetBefore 가 대신 담당(user-profile.js)
       → 처음엔 현행과 동일한 위치에서 시작, 스크롤 시 화면 좌우 끝까지 꽉 참
       ⚠️ 좌우 margin 은 부모 .profile-badge padding(20px)과 반드시 동일값(-20px)이어야 한다.
       초과하면(예: -23px) 스트립 박스가 #wrap 밖으로 돌출 → #innerCnt(overflow-y:auto 라 x축이
       auto 로 계산됨)가 가로 스크롤 가능해져 iOS 에서 페이지 전체가 횡패닝된다(진열장 .new-badge-slide 선례).
       상하 padding = overflow 클립 안쪽에 drop-shadow 여백 확보(아이콘 그림자 잘림 방지) */
    .badge-strip.swiper {
        margin: 6px -20px -8px;
        padding: 4px 0 8px;
        overflow: hidden;

        .swiper-wrapper {
            justify-content: flex-start;
        }

        /* 진입 애니메이션 - 진열장 새로획득 캐로셀(.new-badge-slide)과 동일:
           초기 좌측+투명 → Swiper 초기화(swiper-initialized) 후 제자리 이동+페이드인
           transform 은 합성 레이어에서 처리돼 reflow 없이 부드럽다. 정적(0~4개) 모드엔 미적용 */
        .badge-item {
            opacity: 0;
            transform: translateX(-16px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
    }

    .badge-strip.swiper.swiper-initialized .badge-item {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-donation {
    padding: 24px 20px 0;

    .value {
        display: flex;
        align-items: center;
        gap: 4px;
        height: 32px;
        color: var(--gray-900);
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;

        .num {
            font-size: 28px;
            line-height: 32px;
            letter-spacing: -1px;
        }

        img.num {
            width: auto;
            height: 10px;
        }

        .private { color: var(--gray-600); }
    }

    .graph {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        padding: 6px;
        border-radius: 8px;
        border: 1px solid var(--gray-300);
        gap: 6px;

        .bar-part {
            height: 35px;
            border-radius: 6px;
        }

        .bar-part:nth-child(1) { background-color: var(--primary-color); }

        .bar-part:nth-child(2) { background-color: var(--orange-color); }
    }

    .card {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 14px;
        padding: 16px 20px 10px;
        border-radius: 12px;
        border: 1px solid var(--gray-200);
        background: var(--gray-000);

        .row {
            display: flex;
            flex-direction: row;
            gap: 20px;

            .item {
                flex: 1;
                color: var(--gray-900);
                font-size: 14px;
                font-weight: 400;
                line-height: 22px;

                .title {
                    display: flex;
                    gap: 6px;
                    align-items: center;

                    .direct-amount, .passive-amount {
                        display: inline-flex;
                        width: 8px;
                        height: 8px;
                        border-radius: 8px;
                    }

                    .direct-amount { background-color: var(--primary-color); }

                    .passive-amount { background-color: var(--orange-color); }
                }

                .value {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 20px;
                }
            }

            .item.receipt {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 20px 0 10px;
                border-top: 1px solid var(--gray-200);
                cursor: pointer;

                .info {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    font-size: 16px;
                    line-height: 24px;

                    .receipt-img {
                        width: 24px;
                        height: 24px;
                        object-fit: contain;
                    }

                    .change-img {
                        width: 20px;
                        height: 20px;
                        object-fit: contain;
                    }

                    .change-label {
                        color: var(--primary-color);
                        font-size: 16px;
                        font-weight: 500;
                        line-height: 24px;
                    }
                }
            }
        }
    }
}

.profile-donation.has-bottom {
    padding-bottom: 44px;
}

.profile-user-fund {
    padding: 34px 20px 10px;

    .wrap {
        padding: 8px 0 44px;

        .item {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 25px;

            .user-fund-more {
                position: absolute;
                top: 0;
                right: 0;
                z-index: 10;
            }

            .content {
                display: flex;
                gap: 16px;

                img {
                    width: 96px;
                    height: 96px;
                    border-radius: 10px;
                    object-fit: cover;
                }

                .info {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    gap: 4px;
                    color: var(--gray-900);

                    .title {
                        height: 46px;
                        font-size: 16px;
                        font-weight: 400;
                        line-height: 23px;
                    }

                    .amount {
                        display: flex;
                        align-items: center;
                        gap: 4px;
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 24px;

                        .num {
                            font-size: 18px;
                        }
                    }

                    .desc-wrap {
                        display: flex;
                        gap: 8px;

                        .desc {
                            display: flex;
                            align-items: center;
                            gap: 4px;
                            color: var(--gray-700);
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 18px;
                            letter-spacing: 0.36px;
                        }

                        .like::before, .comment::before, .share::before {
                            display: inline-block;
                            content: '';
                            width: 16px;
                            height: 16px;
                            background-size: cover;
                            background-repeat: no-repeat;
                            background-position: center;
                        }

                        .like::before { background-image: url('/assets/images/icon/ic-heart-mini-mono-4608b5fa490d6384c5c549477a5880bd.svg'); }

                        .comment::before { background-image: url('/assets/images/icon/ic-chat-mini-mono-2905021f268a30aee281f8d5888bc2c6.svg'); }

                        .share::before { background-image: url('/assets/images/icon/ic-share-mini-mono-d31ebbaee4554ad859667cb6ae282836.svg'); }
                    }

                    .tag {
                        padding: 4px 12px;
                        border-radius: 60px;
                        background: var(--selected-color);
                        color: var(--primary5-color);
                        font-size: 14px;
                        font-weight: 500;
                        line-height: 24px;
                    }
                }
            }

            .btn-wrap {
                display: flex;
                gap: 10px;
            }
        }
    }
}

.profile-donation-list {
    padding: 24px 20px 0;

    .donation-empty {
        padding: 14px 0 0;
    }
}

.profile-donation-list.last { padding-bottom: 50px; }

.edit-wrap {
    display: flex;
    flex-direction: column;
    gap: 86px;
    padding: 12px 20px 22px;

    .input-title {
        color: var(--gray-700);
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
    }

    .profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;

        .profile-image {
            position: relative;
            width: 92px;
            height: 92px;
            border-radius: 92px;
            border: 1px solid var(--gray-300);
            background: url('') lightgray 50% / cover no-repeat;

            .edit {
                position: absolute;
                left: 76px;
                bottom: 2px;
                width: 24px;
                height: 24px;
                border-radius: 12px;
                border: 2px solid var(--white-color);
                background: var(--gray-800);

                .icon {
                    display: block;
                    width: 20px;
                    height: 20px;
                    background-color: var(--white-color);
                    -webkit-mask: url('/assets/images/icon/ic-edit-mono-7328091e6f1cfbdb4410b29684f50f0e.svg') no-repeat center/12px;
                    mask: url('/assets/images/icon/ic-edit-mono-7328091e6f1cfbdb4410b29684f50f0e.svg') no-repeat center/12px;
                }
            }
        }

        .text-input {
            width: 100%;

            label {
                position: relative;
                display: flex;
                flex-direction: column;

                input, textarea {
                    padding: 9px 0;
                    border-bottom: 1px solid var(--gray-600);
                    color: var(--gray-900);
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 26px;
                    outline: none;
                }

                input.sns-link {
                    position: relative;
                    padding-right: 32px;
                }

                .link-icon {
                    position: absolute;
                    right: 4px;
                    bottom: 14px;
                    width: 18px;
                    height: 18px;
                    background-color: #A4A4A4;
                    -webkit-mask: url('/assets/images/icon/ic-link-mono-c31a49315e977873e5a718db7d34d864.svg') no-repeat center/18px;
                    mask: url('/assets/images/icon/ic-link-mono-c31a49315e977873e5a718db7d34d864.svg') no-repeat center/18px;
                }
            }

            .text-validator {
                padding: 10px 0;
            }
        }
    }

    .setting {
        min-height: unset;

        .switch-wrap { padding: 14px 0; }
    }
}

.profile-user-fund-share-modal .modal--sec.bottom {
    height: 448px;
    /* 상단 radius(26) 로 iframe(사각형) 을 둥글게 클립 */
    overflow: hidden;

    iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }
}

.regular-wrap, .regular-end-wrap {
    padding: 12px 20px 34px;

    .section-title {
        margin-bottom: 30px;
        padding: 4px 0;
        color: var(--gray-700);
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .list-wrap {
        display: flex;
        flex-direction: column;
        gap: 34px;

        .item {
            padding-bottom: 20px;
            border-bottom: 1px solid var(--gray-050);

            .title {
                color: var(--gray-900);
                font-size: 16px;
                font-weight: 600;
                line-height: 20px;
            }

            .info-wrap {
                display: flex;
                flex-direction: column;
                gap: 12px;
                margin-top: 24px;

                .info {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    .name {
                        color: var(--gray-700);
                        font-size: 16px;
                        font-weight: 400;
                        line-height: 21px;
                    }

                    .value {
                        color: var(--gray-900);
                        font-size: 14px;
                        font-weight: 500;
                        line-height: 21px;
                    }

                    .desc {
                        color: var(--gray-500);
                        font-size: 12px;
                        font-weight: 500;
                        line-height: 21px;
                    }
                }
            }

            .btn-wrap {
                display: flex;
                justify-content: end;
                margin-top: 16px;
                gap: 8px;

                .btn {
                    padding: 10px 14px;
                    border-radius: 8px;
                    border: 1px solid var(--gray-300);
                    color: var(--gray-900);
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 18px;
                    letter-spacing: 0.05px;
                }
                .stop {
                    border-color: #F0A5A9 !important;
                }
            }
        }

        .item:last-child {
            padding-bottom: 0;
            border-bottom: none;
        }
    }

    .empty-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .logo {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: var(--gray-050);

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        .desc {
            margin-top: 10px;
            color: var(--gray-500);
            font-size: 16px;
            font-weight: 500;
            line-height: 26px;
        }
    }
}

.regular-stop-modal {
    background-image: url(/assets/images/common/regular-stop-background-073d9baab6639f590d57ae210b36ded6.svg);
    background-repeat: no-repeat;
    background-size: 300px auto;
    background-position: center;

    .inner {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding-top: 34px !important;

        .title {
            color: var(--gray-900);
            font-size: 20px;
            font-weight: 600;
            line-height: 27px;
        }

        .desc {
            color: var(--gray-600);
            font-size: 16px;
            font-weight: 400;
            line-height: 26px;

            b {
                color: var(--gray-900);
                font-size: 16px;
                font-weight: 500;
            }
        }

        .info {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin: 40px 0;
            text-align: center;

            div:nth-child(1) span {
                padding: 6px 12px;
                border-radius: 36px;
                background: var(--gray-800);
                color: var(--white-color);
                font-size: 16px;
                font-weight: 500;
                line-height: 27px;
            }

            div:nth-child(2) span {
                padding: 8px 16px;
                border-radius: 48px;
                background: var(--primary1-color);
                color: var(--primary8-color);
                font-size: 22px;
                font-weight: 500;
                line-height: 36px;
            }

            div:nth-child(3) span {
                padding: 10px 20px;
                border-radius: 60px;
                background: var(--white-color);
                color: var(--gray-900);
                font-size: 28px;
                font-weight: 500;
                line-height: 44px;
            }
        }
    }

    .modal-footer {
        padding-bottom: 16px;
        display: flex;
        justify-content: center;
        width: 100%;

        .btn-wrap {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
            justify-content: center;

            .btn { flex: 1; }

            .link-btn {
                color: var(--gray-600);
                font-size: 16px;
                font-weight: 500;
                line-height: 24px;
            }
        }
    }
}

/* 공용 설정 */
.section-title {
    display: flex;
    gap: 0;
    justify-content: space-between;
    margin: 4px 0;
    color: var(--gray-700);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;

    .num {
        margin-left: 4px;
        color: var(--primary-color);
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

    .link-btn {
        color: var(--gray-600);
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
        text-decoration: underline;
        cursor: pointer;
    }
}

.line-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.line-btn.disabled {
    color: #A4A4A4;
    border: 1px solid var(--gray-200);
    background-color: var(--gray-050);
    cursor: initial;
}

.line-btn.edit::before {
    display: inline-block;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("/assets/images/icon/ic-edit-mono-7328091e6f1cfbdb4410b29684f50f0e.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.swiper-pagination-bullet {
    margin: 0 5px;
    width: 10px;
    height: 10px;
    background-color: var(--gray-200) !important;
}

.swiper-pagination-bullet .swiper-pagination-bullet-active {
    background-color: var(--gray-600) !important;
}

.title { word-break: keep-all; }

/* 결제 정보 수정 모달 스타일 */
.payment-edit-wrap {
    padding: 20px 0 40px 0;
}

.edit-section {
    margin-bottom: 40px;
}

.section-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #383838;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-label .help-message {
    width: 24px;
    height: 24px;
    background-image: url('/assets/images/icon/ic-info-mono-48df6739a6aacfabc0822c006790b6fb.svg');
}

.section-label .help-message div {
    top: 30px;
    max-width: 280px;
    color: var(--gray-700);
    font-weight: 400;
}

.section-label .help-message:hover div {
    display: block;
}

.amount-display {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-600);
    cursor: pointer;
}

.dolgo-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.amount-display .amount {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-800);
}

.amount-display .currency {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-800);
    margin-left: 2px;
    margin-right: auto;
}

.amount-display .edit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 12px;
    border-radius: 40px;
    background-color: var(--selected-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    gap: 4px;
    cursor: pointer;
    border: none;
}

.amount-display .edit-btn img {
    width: 16px;
    height: 16px;
}

.payment-date-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 9px 0;
}

.payment-date-wrap > div {
    display: flex;
    flex: 1;
}

.payment-date-wrap input.btn-date {
    display: none;
}

.payment-date-wrap .btn-date + label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 14px 0;
    border-radius: 12px;
    border: 1px solid var(--gray-700);
    color: var(--gray-900);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
}

.payment-date-wrap .btn-date:checked + label {
    border: 1px solid transparent !important;
    box-shadow: 0 0 0 2px var(--primary-color);
    background-color: var(--selected-color);
    color: var(--primary6-color);
    font-weight: 700;
}

.payment-date-wrap .btn-date:disabled + label {
    opacity: 0.5;
}

.date-display {
    width: 100%;
    padding: 9px 0;
    color: var(--gray-800);
    font-size: 20px;
    font-weight: 500;
    line-height: 38px;
    border-bottom: 1px solid var(--gray-600);
}

.label-subText {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 4px;
}

.ml-4 {
    margin-left: auto;
}

/* 결제 정보 수정 모달 푸터 */
.payment-edit-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.payment-edit-footer .amount-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
    color: var(--gray-800);
}

.payment-edit-footer .amount-wrap .desc {
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
}

.payment-edit-footer .amount-wrap .amount {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 18px;
    font-weight: 500;
    line-height: 18px;
}

.payment-edit-footer .amount-wrap .amount .num {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.4px;
}

.payment-edit-footer .btn {
    width: 142px;
    height: 56px;
    flex: 0 0 142px;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: var(--gray-000);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.32px;
    border: none;
    cursor: pointer;
}

/* 결제 정보 수정 모달 크기 제한 (화면의 80%) */
#paymentDetailEditModal .modal--sec {
    max-height: 90vh;
    overflow-y: auto;
}

/* =========================================================
   기부/봉사 탭 (프로필) — .profile-tab / .tab-panel / .vp-*
   ========================================================= */
.profile-tab {
    display: flex;
    background: var(--white-color);
}

.profile-tab-item {
    flex: 1;
    position: relative;
    padding: 13px 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    cursor: pointer;
}

.profile-tab-item.active {
    font-weight: 800;
    color: var(--gray-900);
}

.profile-tab-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 60%;
    height: 2.5px;
    border-radius: 2px;
    background: var(--primary-color);
}

.tab-panel[data-panel="volunteer"] {
    padding: 8px 0 16px;
}

.vp-section {
    padding: 0 20px;
    margin-top: 12px;
}

/* A. 진행중 신청 카드 */
.vp-apply-card {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 14px;
    background: var(--white-color);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
}

.vp-apply-top {
    display: flex;
    gap: 12px;
}

.vp-apply-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
}

.vp-apply-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vp-apply-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary1-color) 0%, var(--primary2-color) 100%);
}

.vp-apply-head {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vp-apply-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vp-apply-org {
    flex: 1;
    min-width: 0;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp-apply-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary9-color);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vp-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.vp-badge-applied {
    background: var(--white-color);
    border-color: var(--lightgray-color);
    color: var(--gray-500);
}

.vp-badge-approved {
    background: var(--primary-color);
    color: var(--white-color);
}

.vp-apply-info {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 12.5px;
    color: var(--black-color);
}

.vp-apply-info-icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.vp-apply-dday {
    color: var(--gray-500);
}

.vp-apply-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 2px;
}

.vp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.vp-btn-line {
    background: var(--white-color);
    border: 1px solid var(--lightgray-color);
    color: var(--gray-900);
}

.vp-btn-fill {
    background: var(--primary-color);
    border: none;
    color: var(--white-color);
}

.vp-btn-fill img {
    width: 17px;
    height: 17px;
}

/* B. 배너 (후기 유도 / 패널티) */
.vp-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
}

.vp-banner-review {
    background: var(--orange1-color);
}

.vp-banner-penalty {
    background: var(--red1-color);
}

.vp-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--white-color);
}

.vp-banner-icon img {
    width: 20px;
    height: 20px;
}

.vp-banner-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vp-banner-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--orange8-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp-banner-sub {
    font-size: 12px;
    color: var(--orange8-color);
    opacity: 0.85;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp-banner-title-penalty {
    color: var(--red7-color);
}

.vp-banner-sub-penalty {
    color: var(--red6-color);
    opacity: 0.9;
}

.vp-banner-btn {
    flex-shrink: 0;
    padding: 9px 15px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white-color);
    cursor: pointer;
}

.vp-banner-btn-review {
    background: var(--orange5-color);
}

.vp-banner-clear {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--gray-000);
}

.vp-banner-clear-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.vp-banner-clear-text {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: var(--gray-900);
}

.vp-banner-link {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary5-color);
    cursor: pointer;
}

/* D. 봉사 활동 이력 */
.vp-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 2px;
}

.vp-history-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary9-color);
}

.vp-history-title .num {
    color: var(--primary-color);
    margin-left: 2px;
}

.vp-history-all {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
}

.vp-history-all img {
    width: 14px;
    height: 14px;
}

.vp-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vp-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    cursor: pointer;
}

.vp-history-item + .vp-history-item {
    border-top: 1px solid var(--gray-100);
}

.vp-history-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary1-color) 0%, var(--primary2-color) 100%);
}

.vp-history-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vp-history-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vp-history-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary9-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp-history-attend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
}

.vp-history-attend::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.vp-history-attend.is-present {
    color: var(--primary6-color);
}

.vp-history-attend.is-absent {
    color: var(--red6-color);
}

.vp-history-attend.is-canceled {
    color: var(--gray-400);
}

.vp-history-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--gray-400);
}

/* 빈 상태 — Figma 2194-17857 (점선 카드) */
.vp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 26px 16px;
    border: 1px dashed var(--gray-100);
    border-radius: 14px;
    text-align: center;
}

.vp-empty-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--gray-700);
}

.vp-empty-desc {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-400);
}

.vp-empty-btn {
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--white-color);
    cursor: pointer;
}

/* =========================================================
   나의 봉사 섹션 (프로필) — Figma 2194-16995
   그레이밴드→헤더 21 / 헤더→카드 14 / 카드→dots 10 / dots→그레이밴드 21
   헤더는 공용 .section-title, 카드는 volunteer.css .va-* 재사용
   ========================================================= */
.profile-volunteer {
    padding: 21px 20px;
}

.profile-volunteer .section-title {
    margin-bottom: 21px;
}

/* Figma 카운트 = Bold */
.profile-volunteer .section-title .num {
    font-weight: 700;
}

.profile-volunteer #volunteerApplyList {
    padding-bottom: 36px;
}

.profile-volunteer #volunteerApplyList .swiper-slide {
    height: auto;
}

.profile-volunteer #volunteerApplyList .va-card {
    width: 100%;
    margin: 0;
}

.profile-volunteer #volunteerApplyList .swiper-pagination {
    bottom: 0;
}

.profile-volunteer #volunteerApplyList .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #D1D1D1 !important;
    opacity: 0.2;
}

.profile-volunteer #volunteerApplyList .swiper-pagination-bullet-active {
    opacity: 1;
}

/* 좌우 패딩은 wrap(.profile-volunteer)이 담당 → 내부 .vp-section 이중 패딩 제거 */
.profile-volunteer .vp-section {
    padding-left: 0;
    padding-right: 0;
}

/* 프로필 이미지 리사이즈~S3 직접 업로드 진행 오버레이 (스피너만, 아바타 원 안쪽으로 스케일) */
.profile-image-upload {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
}

.profile-image-upload.hidden {
    display: none;
}

.profile-image-upload .upload-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: var(--white-color);
    border-radius: 999px;
    animation: profileUploadSpin 1s linear infinite;
}

@keyframes profileUploadSpin {
    to {
        transform: rotate(360deg);
    }
}
