textarea {
    resize: none !important;
    overflow: hidden !important;
}

#cnt,
#innerCnt {
    overflow-x: hidden;
}

#innerCnt.user-fund-list {
    display: flex;
    flex-direction: column;
}

.user-fund {
    .number {
        font-size: 28px;
        font-weight: 700;
        line-height: 32px;
        letter-spacing: -1px;
    }

    .card {
        width: 100%;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.12);

        .title {
            font-size: 18px;
            font-weight: 700;
            line-height: 134%;
            margin-bottom: 14px;
        }

        .info {
            padding: 16px;
            margin-bottom: 0 !important;
            border-radius: 8px;
            border: 1px solid var(--gray-200);
            background-color: var(--gray-background-color);
            font-size: 14px;

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

                .label {
                    display: flex;
                    align-items: center;

                    .nickname {
                        display: inline-block;
                        max-width: 96px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }

                .amount {
                    flex: 1;
                    text-align: right;
                    font-weight: 500;
                }
            }
        }
    }

    .progress {
        position: sticky;
        display: flex;
        top: 0;
        width: 100%;
        height: 4px;
        background-color: var(--white-color);
        z-index: 1;

        .active {
            width: 0;
            height: 4px;
            background-color: var(--primary2-color);
            visibility: visible;
            transition: width 0.3s ease;
        }
    }

    .open-wrap {
        display: flex;
        width: 400%;
        height: calc(100% - 4px);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .slide-step {
        display: flex;
        flex-direction: column;
        width: 25%;
        height: 100%;
        box-sizing: border-box;

        .inner {
            flex: 1;
            overflow-y: auto;
            box-sizing: border-box;
        }

        .title {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 30px 20px 0;
            color: var(--gray-900);
            font-size: 20px;
            font-weight: 600;
            line-height: 134%;
        }
    }

    .step1 {
        .title {
            padding: 26px 20px 0;

            b {
                color: var(--primary-color);
                font-weight: 600;
            }
        }

        .content {
            display: flex;
            justify-content: center;
            flex: 1;
            margin-top: 50px;
        }
    }

    .step2 {
        .title {
            align-items: baseline;
            gap: 4px;

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

        .content {
            position: relative;
            flex: 1;

            .subtitle {
                position: absolute;
                display: flex;
                justify-content: center;
                width: 100%;
                bottom: 0;
                color: var(--gray-800);
                font-size: 14px;
                font-weight: 500;
                line-height: 21px;
                text-align: center;
            }
        }

        .fund-wrap {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            padding: 26px 20px 70px;

            .row {
                display: flex;
                width: 100%;
                gap: 10px;
            }

            .fund {
                position: relative;
                display: flex;
                flex-direction: column;
                gap: 6px;
                flex: 1;
                height: 120px;
                padding: 20px;
                box-sizing: border-box;
                border-radius: 12px;
                border: 1px solid var(--gray-200);
                box-shadow: none;
                background: var(--gray-background-color);
                cursor: pointer;

                &.active {
                    border: 1px solid transparent;
                    box-shadow: 0 0 0 2px var(--primary-color);
                    background: var(--selected-color);
                }

                img {
                    position: absolute;
                    right: 14px;
                    bottom: -1px;
                    background-size: cover;
                }
            }

            .fund-0 {
                width: 100%;
                height: 124px;
                padding: 25px 20px;

                &:after {
                    content: '';
                    position: absolute;
                    right: 18px;
                    bottom: 28px;
                    width: 59px;
                    height: 59px;
                    background: url(/assets/images/icon/ic-dolgo-22a6b12143c736faa32b0cd1b5a09a08.svg) no-repeat center center;
                    background-size: cover;
                }
            }

            .name {
                color: var(--gray-900);
                font-size: 18px;
                font-weight: 700;
                line-height: 134%;
            }

            .description {
                color: var(--gray-800);
                font-size: 14px;
                font-weight: 400;
                line-height: 160%;
            }
        }
    }

    .step3 {
        .title {
            gap: 4px;

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

        .content {
            display: flex;
            flex-wrap: wrap;
            margin-top: 20px;
            padding: 6px 20px;
            gap: 10px;

            .category,
            .manual-input {
                padding: 10px 15px;
                border-radius: 60px;
                border: 1px solid var(--gray-300);
                color: var(--gray-900);
                font-size: 16px;
                font-weight: 500;
                line-height: 21px;
                cursor: pointer;
            }

            .category.active {
                border: 1px solid var(--gray-800);
                background: var(--gray-800);
                color: var(--white-color);
            }

            .manual-input {
                input {
                    display: none;
                }

                &.focus {
                    .placeholder {
                        display: none;
                    }

                    input {
                        display: block;
                    }
                }
            }
        }
    }

    .step4 {
        .title {
            padding-top: 58px;
            text-align: center;
            font-size: 24px;

            .subtitle {
                margin-top: 12px;
                font-size: 16px;
                font-weight: 400;
                line-height: 26px;
            }
        }

        .content {
            display: flex;
            padding: 120px 120px 0;
            align-items: center;
            justify-content: center;

            .lottie-wrap {
                position: relative;
                width: 150px;
                height: 150px;
            }
        }
    }
}

.user-fund-top {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-image: '';
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);

    .menu {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: end;
        height: 100%;
        padding: 24px 20px 44px;
        right: 0;
        z-index: 1;

        .add-main-image-btn {
            display: none;
            align-items: center;
            width: 169px;
            padding: 16px 20px;
            border-radius: 12px;
            background-color: var(--white-color);
            color: var(--gray-900);
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
            gap: 8px;
            cursor: pointer;

            &.active {
                display: flex;
            }
        }
    }
}

.delete-main-image-btn,
.delete-image-btn {
    display: none;
    width: 26px;
    height: 26px;
    padding: 5px;
    border-radius: 50%;
    background-color: var(--gray-100);
    cursor: pointer;

    &.active {
        display: block;
    }
}

.add-main-image-btn img,
.add-image-btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(33%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(92%) contrast(90%);
}

/* 2. 아이덴티티 헤더 (제목 + 인게이지먼트) */
.user-fund-identity {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 18px 20px 0 20px;
    background-color: var(--white-color);

    .content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;

        .title {
            flex: 1;
            min-width: 0;
            font-size: 24px;
            font-weight: 700;
            color: var(--gray-900);
            line-height: 1.35;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }
    }

    .engagement {
        display: flex;
        gap: 15px;
        color: #A4A4A4;
        font-size: 14px;
        font-weight: 400;
        line-height: 16px;

        .engagement-item {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 4px;

            img {
                width: 16px;
                height: 16px;
            }
        }
    }


}

.user-fund-identity .edit-title-btn,
.user-fund-content .edit-content-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    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;

    img {
        width: 16px;
        height: 16px;
    }
}

/* 3. 설립자 */
.user-fund-owner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--white-color);

    &.linked {
        cursor: pointer;

        &:after {
            position: absolute;
            right: 20px;
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            background-image: url('/assets/images/icon/ic-ds-chevron-right-99bed574b282be41c6f605f433d15288.svg');
            background-size: contain;
            background-repeat: no-repeat;
            filter: brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(0%) hue-rotate(0deg);
            vertical-align: middle;
        }
    }

    .user-icon {
        width: 36px !important;
        height: 36px !important;
        margin-right: 10px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #f3f3f3;
    }

    .nickname-wrap {
        display: flex;
        flex-direction: column;
        gap: 2px;

        .desc {
            color: #A4A4A4;
            font-size: 12px;
            font-weight: 400;
        }
    }

    .badge-wrap {
        position: relative;
        display: flex;
        align-items: center;

        .nickname {
            margin-right: 4px;
            font-size: 14px;
            font-weight: 500;
        }

        .badge-icon {
            width: 15px;
            height: 15px;
        }

        .badge-info {
            position: absolute;
            display: none;
            top: 24px;
            width: max-content;
            background-color: var(--white-color);
            padding: 15px;
            border-radius: 8px;
            border: 1px solid var(--gray-200);
            box-shadow: 0 4px 10px 0 #00000033;
            font-size: 12px;
            color: var(--gray-700);
            z-index: 1;
        }

        &.has-badge:hover .badge-icon + .badge-info {
            display: inline-block;
        }
    }
}

/* 4. 실시간 누적 모금액 + 리더보드 */
.user-fund-amount {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px 20px;
    box-sizing: border-box;
    background-color: var(--white-color);

    .title {
        color: #A4A4A4;
        font-size: 13px;
        font-weight: 500;
    }

    .amount {
        display: flex;
        align-items: baseline;
        color: var(--primary-color);
        font-size: 28px;
        font-weight: 700;
        line-height: 39px;
        letter-spacing: -0.5px;
        gap: 2px;

        .number {
            color: var(--primary-color);
        }
    }

    .description {
        color: #A4A4A4;
        margin-top: 4px;
        font-size: 13px;
        font-weight: 500;
        line-height: 18px;
    }
}

/* 5. 기부 분야 (pill 태그) */
.user-fund-tag {
    display: flex;
    flex-direction: column;
    padding: 30px 16px;
    background-color: var(--white-color);

    .title {
        color: var(--gray-900);
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .dolgo-tag {
        .info-icon {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .tip {
            display: none;
            position: absolute;
            left: 0;
            top: calc(100% + 6px);
            width: 256px;
            padding: 16px;
            border-radius: 8px;
            border: 1px solid var(--gray-200);
            background: var(--white-color);
            box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.20);
            color: var(--gray-700);
            font-size: 12px;
            font-weight: 400;
            line-height: 18px;
            white-space: normal;
            text-align: left;
            z-index: 100;
            cursor: default;

            &.active {
                display: block;
            }
        }
    }
}

/* 6. 기부 혜택 (list fragment 래퍼) */
.user-fund-benefit {
    padding-bottom: 30px;
    background-color: var(--white-color);
}

/* 7. Q&A (Q/A 뱃지) */
.user-fund-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    gap: 14px;
    background-color: var(--white-color);

    &.first {
        padding-top: 30px;
    }

    &.last {
        padding-bottom: 30px;
    }

    &.last[data-has-media='1'] {
        padding-bottom: 0;
    }

    .row {
        display: flex;
        gap: 10px;
        padding: 0 16px;

        &.q {
            align-items: center;

            .title {
                flex: 1;
                min-width: 0;
                height: auto;
                background: none;
                border-radius: 0;
                color: var(--gray-900);
                font-size: 16px;
                font-weight: 700;
                line-height: 1.5;
                word-break: keep-all;
            }
        }

        &.a {
            align-items: center;

            .content {
                flex: 1;
                min-width: 0;
                border-radius: 0;
                background: none;
                box-shadow: none;
                color: var(--gray-700);
                font-size: 15px;
                line-height: 27px;
                word-break: keep-all;

                &.empty {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    padding: 4px 0 0;
                    color: var(--gray-600);

                    .empty-content {
                        display: block;
                        cursor: pointer;
                        flex: 1;
                        min-width: 0;
                    }

                    .filled-content {
                        display: none;
                    }
                }

                .empty-content {
                    display: none;
                }

                .filled-content {
                    display: block;
                    width: 100%;
                    word-break: keep-all;
                    overflow-wrap: break-word;

                    a {
                        color: var(--primary-color);
                        text-decoration: underline;
                        word-break: break-all;
                    }
                }
            }

            .edit-content-btn {
                width: 70px;
                flex-shrink: 0;
                align-self: flex-start;
            }
        }

        .badge {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 9px;
            font-size: 15px;
            font-weight: 700;
            padding: 5px 10px;
            align-self: flex-start;

            &.q {
                background-color: var(--selected-color);
                color: var(--primary-color);
            }

            &.a {
                background-color: var(--gray-background-color);
                color: var(--gray-600);
            }
        }
    }

    .image-wrap {
        position: relative;

        .youtube-player-wrapper {
            margin-top: 0;
        }
    }

    .content-img {
        display: none;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;

        &.active {
            display: block;
        }
    }

    .add-image-btn {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-color: var(--gray-background-color);
        background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%238d8d8dFF' stroke-width='2' stroke-dasharray='9%2c8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
        color: var(--gray-600);
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;

        &.active {
            display: flex;
        }
    }

    .delete-image-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 2;
    }
}

/* 8. 모금 현황 */
.user-fund-stats {
    width: 100%;
    padding: 30px 20px;
    background-color: var(--white-color);

    .head {
        margin-bottom: 15px;

        .title {
            color: var(--gray-900);
            font-size: 20px;
            font-weight: 700;
        }

        .sub {
            color: var(--gray-400);
            font-size: 14px;
            font-weight: 400;
        }
    }

    .content-amount-label {
        margin-top: 4px;
    }

    .stats-bar {
        display: flex;
        width: 100%;
        height: 6px;
        margin: 18px 0 16px;
        border-radius: 999px;
        overflow: hidden;
        background-color: var(--gray-100);

        .bar-part {
            height: 100%;

            &.owner {
                background-color: var(--primary-color);
            }

            &.member {
                background-color: var(--orange-color);
            }
        }
    }

    .stats-legend {
        display: flex;
        flex-direction: column;
        gap: 12px;

        .row {
            display: flex;
            align-items: center;
        }

        .dot {
            display: inline-block;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            margin-right: 8px;
            flex-shrink: 0;

            &.owner {
                background-color: var(--primary-color);
            }

            &.member {
                background-color: var(--orange-color);
            }
        }

        .label {
            display: flex;
            align-items: center;
            color: var(--gray-700);
            font-size: 14px;
            font-weight: 500;

            .nickname {
                display: inline-block;
                max-width: 120px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }

        .amount {
            flex: 1;
            text-align: right;
            color: var(--gray-800);
            font-size: 14px;
            font-weight: 600;
        }
    }

    .ticker {
        margin-top: 20px;
    }
}

/* 9. 누적 모금액 배분 현황 */
.user-fund-divide {
    width: 100%;
    padding: 30px 20px;
    background-color: var(--white-color);

    .head {
        margin-bottom: 15px;

        .title {
            color: var(--gray-900);
            font-size: 20px;
            font-weight: 700;
        }
    }

    .list {
        display: flex;
        flex-direction: column;

        .row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 0 15px;
            border-bottom: 1px solid var(--gray-050);

            &.is-more {
                display: none;
            }
        }

        &.is-expanded .row.is-more {
            display: flex;
        }

        .rank {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            border-radius: 11px;
            font-size: 12px;
            font-weight: 700;

            &.top {
                background-color: #e8f0fe;
                color: #1b64da;
            }

            &:not(.top) {
                background-color: #f2f4f6;
                color: var(--gray-600);
            }
        }

        .label {
            flex: 1;
            color: #333d4b;
            font-size: 15px;
            font-weight: 500;
        }

        .amount {
            color: #191f28;
            font-size: 15px;
            font-weight: 600;
            white-space: nowrap;
        }
    }

    .more {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        margin-top: 16px;
        padding: 14px;
        border: 1px solid #EEE;
        border-radius: 14px;
        background: var(--white-color);
        color: var(--gray-600);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;

        .chev {
            transition: transform 0.2s;
        }

        &.is-expanded .chev {
            transform: rotate(180deg);
        }
    }

    .note {
        margin-top: 16px;
        color: var(--gray-600);
        font-size: 12px;
        line-height: 1.6;
    }
}

/* 10. 기부금 보고서 + 단체 후기 */
.user-fund-report {
    padding: 30px 0px;
    background-color: var(--white-color);
}

.user-fund-comment,
.user-fund-donor-overview {
    display: none;
}

@media screen and (max-height: 700px) {
    .user-fund .step1 .content {
        margin-top: 30px;
    }

    .user-fund .step4 .content {
        padding: 80px 80px 0;
    }
}

.footer.user-fund {
    display: flex;
    flex-direction: column;
    padding: 10px 19.5px;
    border-top: 1px solid var(--gray-000);

    .wrap {
        display: flex;
        align-items: center;
        gap: 16px;

        .cheer-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            flex-shrink: 0;
            cursor: pointer;

            .cheer-label {
                color: var(--gray-600);
                font-size: 11px;
                font-weight: 500;
                line-height: 14px;
            }
        }

        .icon {
            width: 26px;
            height: 26px;
        }

        .btn {
            flex: 1;
            position: relative;
            padding: 16px 0;
            border-radius: 12px;
            background-color: var(--primary-color);
            color: var(--gray-000);
            text-align: center;
            font-size: 16px;
            font-weight: 600;
            line-height: 24px;
            letter-spacing: 0.32px;
            cursor: pointer;
        }
    }

    .link-btn {
        display: none;
        margin: 20px 0 10px;
        color: var(--gray-600);
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        cursor: pointer;

        &.active {
            display: block;
        }
    }

    .subtitle {
        padding: 6px 0 0;
        color: var(--gray-600);
        font-size: 12px;
        font-weight: 400;
        line-height: 134%;
        letter-spacing: 0.30px;
    }

    &.open {
        box-shadow: unset;

        .btn {
            padding: 16px 0;
        }
    }
}

.modal {
    .modal-input-title {
        display: none;
        flex-direction: column;
        padding: 10px 20px;

        .description {
            font-size: 16px;
            font-weight: 400;
            line-height: 26px;
        }

        .title {
            margin: 24px 0 0;
            padding: 9px 0;
            border-bottom: 1px solid var(--gray-600);
            color: var(--gray-900);
            font-size: 20px;
            font-weight: 500;
            line-height: 30px;
            word-break: keep-all;
            outline: none;
        }

        &.active {
            display: flex;
            flex: 1;
        }
    }

    .modal-input-content {
        display: none;
        min-height: 0;
        flex-direction: column;
        padding: 8px 20px 0;
        overflow: hidden;

        .description {
            margin-bottom: 8px;
            color: var(--gray-900);
            font-size: 20px;
            font-weight: 600;
            line-height: 32px;
        }

        .content {
            flex: 1;
            padding: 9px 0;
            color: var(--gray-900);
            font-size: 16px;
            font-weight: 400;
            line-height: 26px;
            outline: none;
        }

        &.active {
            display: flex;
            flex: 1;
        }
    }
}

.footer--msg {
    align-items: center;
    gap: 8px;
    bottom: 86px;
    text-align: left;

    span:before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        background-image: url('/assets/images/icon/ic-warn-d546927689cf7773db15a46df6073083.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }
}

.input-mirror {
    position: absolute;
    visibility: hidden;
    white-space: pre;
    font-size: 16px;
    font-weight: 500;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    box-sizing: border-box;
}

.user-fund-list {
    .list-wrap {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 6px 16px 0;

        &.hidden {
            display: none;
        }
    }

    /* 기부재단 목록 카드 */

    .user-fund-list-wrap {
        display: flex;
        flex-direction: column;

        & + & {
            padding-top: 24px;
            border-top: 1px solid #F8F8F8;
        }
    }

    .user-fund-list-item {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        padding: 0;
        cursor: pointer;
    }

    .user-fund-list-item-img-wrap {
        flex-shrink: 0;
        width: 130px;
        height: 170px;
        border-radius: 15px;
        border: 1px solid #eceff1;
        overflow: hidden;
    }

    .user-fund-list-item-img {
        width: 130px;
        height: 170px;
        object-fit: cover;
        display: block;
        max-width: 130px;
    }

    .user-fund-list-item-info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
        align-self: stretch;
    }

    .user-fund-list-item-info-top {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .user-fund-list-item-target {
        color: var(--gray-500);
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-fund-list-item-title {
        color: var(--gray-900);
        font-size: 18px;
        font-weight: 600;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .user-fund-list-item-founder {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .user-fund-list-item-founder-name {
        color: var(--gray-500);
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }

    .user-fund-list-item-badge {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .user-fund-list-item-info-bottom {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .user-fund-list-item-donor-count {
        color: var(--gray-500);
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
    }

    .user-fund-list-item-amount {
        color: var(--gray-900);
        font-size: 20px;
        font-weight: 700;
        white-space: nowrap;

        &.zero {
            color: var(--gray-500);
        }

        /* 입금 확인 전 설립 예정 금액 */
        &.pending {
            color: var(--gray-700);
        }
    }

    /* 계좌이체 설립 기부금 입금 확인 전 안내 (금액 상단) */
    .user-fund-list-item-deposit-pending {
        color: var(--gray-500);
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
    }

    .user-fund-list-divider {
        width: 100%;
        height: 1px;
        background-color: #F8F8F8;
        margin: 24px 0;
    }

    .empty-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 0;
        flex: 1;

        &.hidden {
            display: none;
        }

        .empty-icon {
            width: 100px;
            height: 100px;
            margin-bottom: 16px;
        }

        .empty-text {
            font-size: 15px;
            font-weight: 500;
            color: #A4A4A4;
            line-height: 1.6;
            text-align: center;
            margin: 0 0 20px;
        }

        .empty-btn {
            padding: 10px 20px;
            width: 150px;
            height: 40px;
            background: var(--primary-color);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            text-align: center;

            &:focus-visible {
                outline: 2px solid var(--primary-color);
                outline-offset: 2px;
            }
        }
    }

    .last {
        position: relative;
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 20px;
        margin: 35px 20px;
        flex-shrink: 0;
        border-radius: 16px;
        background: linear-gradient(101deg, var(--primary-color) 8%, var(--primary5-color) 116.62%);
        box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.25);
        cursor: pointer;

        .title-wrap {
            display: flex;
            flex-direction: column;
            gap: 6px;
            color: var(--white-color);

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

        &::after {
            position: absolute;
            right: 20px;
            content: '';
            width: 12px;
            height: 19px;
            background-color: var(--white-color);
            -webkit-mask: url(/assets/images/icon/ic-arrow-thin-right-mono-a370436a6c3120e1e77da610de23c78c.svg) no-repeat center / contain;
            mask: url(/assets/images/icon/ic-arrow-thin-right-mono-a370436a6c3120e1e77da610de23c78c.svg) no-repeat center / contain;
        }
    }
}

/* 미디어 선택 팝오버 */
.media-popover {
    position: absolute;
    background-color: white;
    border-radius: 14px;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.12);
    z-index: 1000;
    width: 187px;

    &.hidden {
        display: none;
        opacity: 0;
    }

    .popover-option {
        display: flex;
        font-weight: 400;
        font-size: 16px;
        line-height: 25px;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        flex-direction: row;
        padding: 11px 18px;
        justify-content: space-between;
        color: var(--gray-700);

        div {
            align-content: center;
            justify-self: center;
        }

        &:last-child {
            border-bottom: none;
        }
    }
}

#youtubeModal {
    .header {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .title {
        font-size: 20px;
        font-weight: 600;
        color: var(--gray-900);
        text-align: center;
    }

    .subtitle {
        font-size: 14px;
        font-weight: 400;
        color: var(--gray-600);
        text-align: center;
    }

    /* 유튜브 모달 스타일 */
    .youtube-input-wrap {
        padding-top: 20px;
        padding-bottom: 10px;

        .title {
            font-size: 14px;
            font-weight: 400;
            color: var(--gray-600);
            display: block;
            margin-bottom: 8px;
            text-align: left;
        }
    }

    /* Input with button wrapper */
    .input-with-button {
        position: relative;
        width: 100%;
        border-bottom: 1px solid var(--gray-500);
        display: flex;
        align-items: center;
    }

    .youtube-url-input {
        flex: 1;
        padding: 9px 0;
        font-size: 16px;
        border: none;
        box-sizing: border-box;

        &:focus {
            outline: none;
        }
    }

    .youtube-status {
        margin: 10px 0;
        font-size: 14px;
        font-weight: 400;
        min-height: 21px;

        &.valid {
            color: var(--primary-color);
        }

        &.invalid {
            color: var(--red-color);
        }
    }

    .btn-wrap {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin: 47px 0 16px;

        .btn.ok {
            padding: 16px 20px;
            border-radius: 12px;
            background: var(--primary-color);
            color: var(--gray-000);
            font-size: 16px;
            font-weight: 600;
            line-height: 24px;
            letter-spacing: 0.32px;
        }
    }

    .youtube-preview-wrap {
        color: #A4A4A4;
        background-color: var(--gray-000);
        border-radius: 12px;
        position: relative;
        overflow: hidden;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .preview-placeholder {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .placeholder-content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        font-size: 14px;
    }

    .preview-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;

        &.hidden {
            display: none;
        }

        iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px;
        }
    }
}

/* 유튜브 플레이어 래퍼 (공통) */
.youtube-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 16px;
    overflow: hidden;
    background: #000;

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

    &.loading {
        background: var(--gray-100);
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 360px;

        &::after {
            content: "유튜브 영상을 불러오는 중...";
            color: var(--gray-600);
            font-size: 14px;
        }
    }

    > div {
        width: 100%;
        height: 100%;
    }
}

.fund-flow-guide {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 20px 16px;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background-color: var(--primary0-color);
    text-align: left;
    cursor: pointer;
    width: 350px;

    .fund-flow-guide-icon {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .fund-flow-guide-text {
        flex: 1;
        color: var(--gray-900);
        font-size: 13px;
        font-weight: var(--fontWeight-medium);
        line-height: 20px;
        word-break: keep-all;
    }

    .fund-flow-guide-arrow {
        flex-shrink: 0;
        margin-top: 4px;
    }
}

#fundFlowSheet {
    .inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .fund-flow-title {
        margin: 0;
        color: var(--primary-color);
        font-size: 17px;
        font-weight: var(--fontWeight-bold);
        line-height: 1.4;
        text-align: center;
    }

    .fund-flow-steps {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px 0 10px;
        list-style: none;
    }

    .fund-flow-step {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .fund-flow-step-no {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        border-radius: 14px;
        background-color: var(--primary0-color);
        color: var(--primary-color);
        font-size: 12px;
        font-weight: var(--fontWeight-bold);
        line-height: 28px;
        text-align: center;
    }

    .fund-flow-step-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        color: var(--gray-800);
        word-break: keep-all;
    }

    .fund-flow-step-title {
        font-size: 14px;
        font-weight: var(--fontWeight-bold);
        line-height: 1.5;
    }

    .fund-flow-step-desc {
        font-size: 13px;
        font-weight: var(--fontWeight-normal);
        line-height: 1.5;
    }

    .fund-flow-divider {
        width: 305px;
        max-width: 100%;
        height: 1px;
        margin: 0 auto;
        border: 0;
        background-color: var(--gray-100);
    }

    .fund-flow-note {
        margin: 0;
        color: var(--gray-600);
        font-size: 13px;
        font-weight: var(--fontWeight-normal);
        line-height: 1.5;
        text-align: center;
        word-break: keep-all;
    }

    .modal-footer {
        width: 100%;
        padding: 30px 16px;

        .btn {
            padding: 13px 20px;
        }
    }
}

.user-fund-volunteer {
    .content-section-head {
        margin-bottom: 24px;
    }

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

    .content-more-btn {
        display: block;
        margin: 24px 0 0;
    }
}
