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;
}

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

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

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

.user-fund .card .info .row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-fund .card .info .row .label {
    display: flex;
    align-items: center;

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

.user-fund .card .info .row .amount {
    flex: 1;
    text-align: right;
    font-weight: 500;
}

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

.user-fund-top .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(--gray9-color);
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        gap: 8px;
        cursor: pointer;
    }

    .add-main-image-btn.active { display: flex; }
}

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

.delete-main-image-btn.active, .delete-image-btn.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%);
}

.user-fund-top .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-fund-top .content .title {
    width: 280px;
    max-height: 72px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 24px;
    font-weight: 700;
    color: var(--gray0-color);
    word-break: keep-all;
    line-break: anywhere;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.user-fund-top .content .subtitle {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray3-color);
}

.user-fund-top .content .subtitle span {
    margin-left: 4px;
}

.user-fund-top .content .subtitle img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -4px;
}

.user-fund-top .content .engagement {
    display: flex;
    gap: 8px;
    color: var(--gray-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.user-fund-top .content .engagement .engagement-item {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.user-fund-top .edit-title-btn, .user-fund-content .edit-content-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    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;
    }
}

.user-fund-top .edit-title-btn { margin-bottom: 8px; }

.user-fund-owner {
    position: relative;
    display: flex;
    align-items: center;
    width: calc(100% - 32px);
    padding: 14px 0;
    margin: 0 16px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--lightgray2-color);
}

.user-fund-owner.linked {
    cursor: pointer;
}

.user-fund-owner.linked:after {
    position: absolute;
    right: 0;
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('/assets/images/icon/ic-arrow-right-white-1097bcfd3cd9c8432e69e700f62c08a4.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(49%) sepia(0%) saturate(0%) hue-rotate(0deg);
    margin-left: 6px;
    vertical-align: middle;
}

.user-fund-owner .user-icon {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

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

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

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

    .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(--gray2-color);
        box-shadow: 0 4px 10px 0 #00000033;
        font-size: 12px;
        color: var(--gray7-color);
        z-index: 1;
    }

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

.user-fund-amount {
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    gap: 2px;
}

.user-fund-amount .title {
    color: var(--gray6-color);
    font-size: 16px;
    line-height: 26px;
}

.user-fund-amount .amount {
    display: flex;
    align-items: center;
    color: var(--gray9-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    gap: 6px;
}

.user-fund-amount .description {
    color: var(--gray-color);
    padding-top: 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.36px;
}

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

.user-fund-tag {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 0;

    .desc {
        color: var(--gray9-color);
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0.32px;

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

    ul {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;
        gap: 8px 6px;
        align-self: stretch;

        li {
            position: relative;
            display: flex;
            height: 35px;
            padding: 10px 12px;
            justify-content: center;
            align-items: center;
            border-radius: 100px;
            border: 1px solid var(--gray-background-color);
        }

        li.fund-map-0 { background-color: var(--gray-background-color); }
        li.has-tip { cursor: pointer; }
        li.fund-map-1 { background-color: var(--fund-map-1-color); }
        li.fund-map-2 { background-color: var(--fund-map-2-color); }
        li.fund-map-3 { background-color: var(--fund-map-3-color); }
        li.fund-map-4 { background-color: var(--fund-map-4-color); }
        li.fund-map-6 { background-color: var(--fund-map-6-color); }
        li.fund-map-7 { background-color: var(--fund-map-7-color); }
        li.fund-map-8 {
            background-color: var(--fund-map-8-color);
            img {
                width: 18px;
                height: auto;
            }
        }
        li.fund-map-9 { background-color: var(--fund-map-9-color); }
        li.fund-map-10 { background-color: var(--fund-map-10-color); }
        li.fund-map-11 { background-color: var(--fund-map-11-color); }

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

        li span {
            padding-left: 4px;
            color: var(--gray9-color);
            font-size: 14px;
            line-height: 14px;
        }

        li .tail-icon {
            margin-left: 6px;
            cursor: pointer;
        }

        li .tip {
            display: none;
            position: absolute;
            left: 0;
            top: calc(100% + 4px);
            width: 256px;
            padding: 16px;
            border-radius: 8px;
            border: 1px solid var(--gray2-color);
            background: var(--white-color);
            box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.20);
            color: var(--gray7-color);
            font-size: 12px;
            font-weight: 400;
            line-height: 18px;
            z-index: 100;
        }

        li .tip.active {
            display: block;
        }
    }
}

.user-fund-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 50px 16px 0;
    gap: 12px;
}

.user-fund-content.first {
    padding: 34px 16px 0;
}

.user-fund-content.last {
    margin-bottom: 50px;
}

.user-fund-content .title {
    display: flex;
    height: 58px;
    padding: 17px 20px;
    border-radius: 12px;
    background-color: var(--gray-background-color);
    color: var(--gray8-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}
@media (max-width: 390px) {
    .user-fund-content .title {
        font-size: 16px;
    }
}

.user-fund-content .content {
    padding: 24px 20px;
    border-radius: 16px;
    background-color: var(--white-color);
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.16);
    color: var(--gray9-color);
    font-size: 16px;
    line-height: 160%;
    word-break: keep-all;
    display: flow-root;

    .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;
        }
    }
}

.user-fund-content .content.empty {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: var(--gray6-color);

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

.user-fund-content .content .edit-content-btn {
    width: 70px;
    float: right;
    margin-left: 20px;
}

.user-fund-content .image-wrap {
    position: relative;
}

.user-fund-content .content-img {
    display: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 1px 12px 2px rgba(0, 0, 0, 0.25);
}

.user-fund-content .content-img.active {
    display: block;
}

.user-fund-content .add-image-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    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' rx='12' ry='12' stroke='%23CCCCCCFF' stroke-width='4' stroke-dasharray='9%2c8' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    color: var(--gray6-color);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.user-fund-content .add-image-btn.active { display: flex; }

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

.user-fund-stats {
    width: 100%;
    padding: 34px 20px 0;
    margin-bottom: 20px;
}

.user-fund-stats .card .wrap {
    margin-bottom: 20px;
}

.user-fund-stats .card .wrap .title {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    color: var(--gray7-color);
    font-size: 16px;
    font-weight: 500;
    gap: 4px;
}

.user-fund-stats .card .wrap .title img {
    width: 24px;
    height: 24px;
}

.user-fund-stats .card .wrap .title span {
    margin-top: 2px;
}

.user-fund-stats .card .wrap .value {
    display: flex;
    align-items: center;
    color: var(--gray8-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    gap: 6px;
}

.user-fund-stats .row { height: 22px; }

.user-fund-stats .row:first-child { margin-bottom: 2px; }
.user-fund-stats .row:last-child { margin-bottom: 0 !important; }

.user-fund-stats .graph {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-bottom: 12px !important;
    border-radius: 8px;
    border: 1px solid var(--gray3-color);
    gap: 6px;
}

.user-fund-stats .graph .bar-part {
    height: 35px;
    border-radius: 6px;
}

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

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

.user-fund-stats .info .row .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.user-fund-stats .info .row .dot.blue {
    background-color: var(--primary-color);
}

.user-fund-stats .info .row .dot.orange {
    background-color: var(--orange-color);
}

.user-fund-divide {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 24px;
}

.user-fund-divide .set-number {
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: var(--gray7-color);
    color: var(--gray0-color);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;   /* 세로 중앙 */
    justify-content: center; /* 가로 중앙 */
}

.user-fund-divide .row {
    height: 20px;
    margin-bottom: 8px;
}

.user-fund-divide .row:last-child { margin-bottom: 0; }

.user-fund-divide .description {
    padding: 0 2px;
    margin-top: 10px;
    color: var(--gray6-color);
    font-size: 12px;
    line-height: 160%;
}

.user-fund-donors-overview-wrapper {
    padding: 25px 0;
}

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

/* 기부자 목록 */
.donors {
    padding: 24px 0;

    .top {
        padding: 0 20px;
        margin-bottom: 20px;

        .title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 18px;
            font-weight: 700;
            color: var(--gray9-color);

            .link {
                font-size: 14px;
                font-weight: 500;
                color: var(--gray6-color);
                cursor: pointer;
            }
        }
    }

    .donor-list {
        display: flex;
        gap: 16px;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;

        &::-webkit-scrollbar {
            display: none;
        }
    }

    .donor-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 72px;
        gap: 6px;
        cursor: pointer;

        .avatar-wrap {
            position: relative;
            width: 56px;
            height: 56px;

            .avatar {
                width: 56px;
                height: 56px;
                border-radius: 50%;
                object-fit: cover;
                border: 1px solid var(--gray1-color);
            }

            .badge {
                position: absolute;
                top: -4px;
                left: -4px;
                width: 24px;
                height: 24px;
                border-radius: 50%;
                background-color: var(--white-color);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                display: flex;
                align-items: center;
                justify-content: center;

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

        .nickname {
            width: 72px;
            font-size: 12px;
            font-weight: 400;
            color: var(--gray8-color);
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .tag {
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;

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

    .donor-stats {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 20px 20px 0;
        margin-top: 20px;
        border-top: 1px solid var(--gray1-color);

        .stats-title {
            font-size: 14px;
            font-weight: 400;
            color: var(--gray6-color);
        }

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

            .total-count {
                font-size: 24px;
                font-weight: 700;
                color: var(--gray9-color);
                margin-right: 8px;
            }

            .tag {
                padding: 2px 8px;
                border-radius: 4px;
                font-size: 12px;
                font-weight: 500;

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

                &.onetime {
                    background-color: var(--gray1-color);
                    color: var(--gray6-color);
                }
            }

            .count {
                font-size: 16px;
                font-weight: 600;
                color: var(--gray9-color);
            }
        }
    }

    .empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        gap: 16px;

        .logo {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--gray1-color);
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 24px;
                height: 24px;
                filter: brightness(0) saturate(100%) invert(70%);
            }
        }

        span {
            font-size: 14px;
            font-weight: 400;
            color: var(--gray6-color);
            text-align: center;
            line-height: 160%;
        }
    }
}

/* 기부자 전체 목록 페이지 */
.donors-page {
    padding: 24px 20px;

    .donors-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 12px;

        @media (max-width: 480px) {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .donor-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        cursor: pointer;

        .avatar-wrap {
            position: relative;
            width: 64px;
            height: 64px;

            .avatar {
                width: 64px;
                height: 64px;
                border-radius: 50%;
                object-fit: cover;
                border: 1px solid var(--gray1-color);
            }

            .badge {
                position: absolute;
                top: -4px;
                left: -4px;
                width: 24px;
                height: 24px;
                border-radius: 50%;
                background-color: var(--white-color);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                display: flex;
                align-items: center;
                justify-content: center;

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

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

        .nickname {
            font-size: 13px;
            font-weight: 500;
            color: var(--gray8-color);
            text-align: center;
            max-width: 80px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .tag {
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;

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

            &.onetime {
                background-color: var(--gray1-color);
                color: var(--gray6-color);
            }
        }
    }

    .pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 32px;
        padding: 16px 0;

        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--gray1-color);
            transition: background-color 0.2s;

            &:hover {
                background-color: var(--gray2-color);
            }

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

        .page-info {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            color: var(--gray6-color);

            .current {
                font-weight: 700;
                color: var(--gray9-color);
            }
        }
    }

    .donors-summary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--gray1-color);

        .summary-label {
            font-size: 14px;
            font-weight: 400;
            color: var(--gray6-color);
        }

        .summary-count {
            font-size: 18px;
            font-weight: 700;
            color: var(--gray9-color);
        }
    }

    .empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        gap: 16px;

        .logo {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--gray1-color);
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 24px;
                height: 24px;
                filter: brightness(0) saturate(100%) invert(70%);
            }
        }

        span {
            font-size: 14px;
            font-weight: 400;
            color: var(--gray6-color);
            text-align: center;
            line-height: 160%;
        }
    }
}

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

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

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

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

.user-fund .slide-step .inner {
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
}

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

.user-fund .step1 .title {
    padding: 26px 20px 0;
}

.user-fund .step1 .title b {
    color: var(--primary-color);
    font-weight: 600;
}

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

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

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

.user-fund .step2 .content {
    position: relative;
    flex: 1;
}

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

.user-fund .step2 .fund-wrap .row {
    display: flex;
    width: 100%;
    gap: 10px;
}

.user-fund .step2 .fund-wrap .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(--gray2-color);
    box-shadow: none;
    background: var(--gray-background-color);
    cursor: pointer;
}

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

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

.user-fund .step2 .fund-wrap .name {
    color: var(--gray9-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 134%;
}

.user-fund .step2 .fund-wrap .description {
    color: var(--gray8-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}

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

.user-fund .fund-0: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;
}

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

.user-fund .step3 .title { gap: 4px; }

.user-fund .step3 .title .subtitle {
    color: var(--gray7-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

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

.user-fund .step3 .content {
    .category, .manual-input {
        padding: 10px 15px;
        border-radius: 60px;
        border: 1px solid var(--gray3-color);
        color: var(--gray9-color);
        font-size: 16px;
        font-weight: 500;
        line-height: 21px;
        cursor: pointer;
    }

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

.user-fund .step3 .content .manual-input input {
    display: none;
}

.user-fund .step3 .content .manual-input.focus {
    .placeholder {
        display: none;
    }

    input {
        display: block;
    }
}

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

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

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

.user-fund .step4 .content .lottie-wrap {
    position: relative;
    width: 150px;
    height: 150px;
}

@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 20px;
    box-shadow: 0 -8px 24px 0 rgba(0, 0, 0, 0.12);
}

.footer.user-fund .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer.user-fund .wrap .icon {
    width: 28px;
    height: 28px;
}

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

.footer.user-fund .warp .btn.disabled {
    background: var(--gray-color);
}

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

.footer.user-fund .link-btn.active {
    display: block;
}

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

.footer.user-fund.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(--gray6-color);
        color: var(--gray9-color);
        font-size: 20px;
        font-weight: 500;
        line-height: 30px;
        word-break: keep-all;
        outline: none;
    }
}

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

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

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

.modal .modal-input-title.active, .modal .modal-input-content.active {
    display: flex;
    flex: 1;
}

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

.footer--msg 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;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    box-sizing: border-box;
}

.user-fund-list {
    .filter-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 35px 20px 0;
    }

    .tab-wrap {
        display: flex;
        align-items: center;
        padding-top: 25px;

        .tab {
            display: flex;
            gap: 4px;
            justify-content: center;
            flex: 1;
            padding-bottom: 12px;
            color: var(--gray9-color);
            font-size: 16px;
            font-weight: 500;
            line-height: 21px;
            cursor: pointer;
            border-bottom: 1px solid var(--gray1-color);
            box-shadow: unset;

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

        .tab.selected {
            border-bottom: unset;
            box-shadow: inset 0 -2px 0 0 var(--gray9-color);
        }
    }
}

/* 미디어 선택 팝오버 */
.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;
}

.media-popover.hidden {
    display: none;
    opacity: 0;
}

.media-popover .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(--gray7-color);
}

.media-popover .popover-option div {
    align-content: center;
    justify-self: center;
}
.media-popover .popover-option:last-child {
    border-bottom: none;
}

#youtubeModal .header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#youtubeModal .title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray9-color);
    text-align: center;
}
#youtubeModal .subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray6-color);
    text-align: center;
}

/* 유튜브 모달 스타일 */
#youtubeModal .youtube-input-wrap {
    padding-top: 20px;
    padding-bottom: 10px;
}
#youtubeModal .youtube-input-wrap .title {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray6-color);
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

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

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

#youtubeModal .youtube-url-input:focus {
    outline: none;
}

#youtubeModal .paste-btn {
    color: var(--gray5-color);
}

#youtubeModal .confirm-btn {
    color: var(--gray5-color);
}

#youtubeModal .confirm-btn.disabled {
    color: var(--gray5-color);
    cursor: not-allowed;
}

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

#youtubeModal .youtube-status.valid {
    color: var(--primary-color);
}

#youtubeModal .youtube-status.invalid {
    color: var(--red-color);
}

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

.youtube-player-wrapper iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
}

/* 유튜브 플레이어 로딩 상태 */
.youtube-player-wrapper.loading {
    background: var(--gray1-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.youtube-player-wrapper.loading::after {
    content: "유튜브 영상을 불러오는 중...";
    color: var(--gray6-color);
    font-size: 14px;
}

/* 이미지 영역 내 유튜브 플레이어 */
.user-fund-content .image-wrap .youtube-player-wrapper {
    margin-top: 0;
}

/* 유튜브 플레이어 내부 div */
.youtube-player-wrapper > div {
    width: 100%;
    height: 100%;
}

#youtubeModal .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(--gray0-color);
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0.32px;
    }
}

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

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

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

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

#youtubeModal .preview-player.hidden {
    display: none;
}

#youtubeModal .preview-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}
