.home {
    display: flex;
    flex-direction: column;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;

    > section {
        margin-block: 15px;
    }

    > section:first-child {
        margin-top: 0;
    }

    > section:last-child {
        margin-bottom: 0;
    }
}


.home-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    .home-banner-slider {
        position: relative;
        width: 100%;

        .home-banner-count {
            position: absolute;
            right: 16px;
            bottom: 15px;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 2px;
            padding: 2px 10px;
            border-radius: 15px;
            background: rgba(0, 0, 0, 0.3);
            opacity: 0.9;
            color: var(--white-color);
            font-size: 12px;
        }

        .home-banner-link {
            display: block;

            img {
                display: block;
                width: 100%;
                aspect-ratio: 390 / 210;
                object-fit: cover;
            }
        }
    }

    .home-banner-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        height: 5px;

        &.swiper-pagination-bullets {
            .swiper-pagination-bullet {
                width: 5px;
                height: 5px;
                margin: 0;
                border-radius: 2.5px;
                background: var(--gray-200);
                opacity: 1;
                transition: width 0.2s;
            }

            .swiper-pagination-bullet-active {
                width: 14px;
                border-radius: 3px;
                background: var(--primary-color);
            }
        }
    }
}

.home-quick-menu {
    .home-quick-menu-pages {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;

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

    .home-quick-menu-list {
        display: grid;
        flex: 0 0 100%;
        grid-template-columns: repeat(4, 80px);
        justify-content: space-between;
        align-content: start;
        row-gap: 12px;
        padding: 0 16px;
        scroll-snap-align: start;

        .home-quick-menu-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;

            .home-quick-menu-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 50px;
                height: 50px;

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

            .home-quick-menu-name {
                font-size: 13px;
                font-weight: 500;
                color: var(--gray-900);
                text-align: center;
                white-space: nowrap;
            }
        }
    }
}

.home-snack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    border: 1px solid var(--gray-100);
    border-radius: 30px;
    background: var(--white-color);

    .home-snack-question {
        font-size: 18px;
        font-weight: 700;
        color: var(--gray-900);
        word-break: keep-all;
        white-space: pre-line;
    }

    .home-snack-hint {
        font-size: 13px;
        font-weight: 400;
        color: var(--primary-color);
        line-height: normal;
    }

    .home-snack-choices {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 10px 0;

        .home-snack-choice {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            overflow: hidden;
            height: 43px;
            padding: 0 12px;
            border: 1px solid var(--gray-200);
            border-radius: 22px;
            background: var(--white-color);
            font-size: 14px;
            font-weight: 500;
            color: #595F69;
            text-align: center;
            word-break: keep-all;

            &.active {
                border-color: var(--primary-color);
                background: var(--primary0-color);
                color: var(--primary-color);
            }

            .home-snack-label {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }

            .home-snack-image {
                width: 100%;
                height: 96px;
                object-fit: cover;
            }

            .home-snack-check {
                display: none;
                position: absolute;
                top: 11px;
                right: 11px;
                width: 22px;
                height: 22px;
            }

            .home-snack-sub {
                padding: 5px 10px 10px;
                font-size: 12px;
                line-height: normal;
                color: var(--gray-600);
            }

            .home-snack-correct {
                display: none;
                position: absolute;
                top: 8px;
                right: 8px;
                padding: 2px 7px;
                border-radius: 100px;
                background: var(--primary-color);
                font-size: 12px;
                font-weight: 600;
                line-height: 1.4;
                color: var(--white-color);
            }
        }

        &[data-type="OX"] {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 15px;

            .home-snack-choice {
                flex-direction: column;
                line-height: normal;
                font-weight: 400;
                gap: 11px;
                height: auto;
                padding: 20px 0;
                border-color: transparent;
                border-radius: 20px;
                background: var(--primary0-color);
                color: var(--primary5-color);

                position: relative;

                &:nth-child(2) {
                    background: var(--red-050);
                    color: var(--red5-color);
                }

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

                .home-snack-ox-off {
                    display: none;
                }

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

                &.is-correct {
                    border: 2px solid var(--primary-color);

                    .home-snack-correct {
                        display: block;
                    }
                }

                &.is-off {
                    background: var(--gray-050);
                    color: var(--gray-400);

                    .home-snack-ox-on {
                        display: none;
                    }

                    .home-snack-ox-off {
                        display: block;
                    }

                    &.active {
                        border: 2px solid #C4C9D5;
                    }
                }
            }
        }

        &[data-type="IMAGE_CARD"] {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 15px;

            .home-snack-choice {
                position: relative;
                flex-direction: column;
                align-items: stretch;
                justify-content: flex-start;
                gap: 0;
                height: auto;
                padding: 0;
                border: 1px solid var(--gray-050);
                border-radius: 14px;
                background: var(--white-color);
                text-align: left;

                &.active {
                    border-color: var(--primary-color);
                    background: var(--white-color);
                    box-shadow: 0 0 0 1px var(--primary-color);

                    .home-snack-check {
                        display: block;
                    }
                }

                .home-snack-label {
                    padding: 10px 10px 0;
                    font-size: 13px;
                    font-weight: 700;
                    line-height: 1.4;
                    color: var(--gray-900);

                    &:last-child {
                        padding-bottom: 10px;
                    }
                }
            }
        }
    }

    .home-snack-input {
        display: flex;
        flex-direction: column;
        gap: 15px;

        .home-snack-input-body {
            display: flex;
            flex-direction: column;
            gap: 10px;

            .home-snack-input-help {
                font-size: 13px;
                line-height: 1.3;
                color: var(--primary-color);
            }

            .home-snack-input-wrap {
                display: flex;
                flex-direction: column;
                gap: 5px;

                .home-snack-field {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    height: 45px;
                    padding: 0 15px;
                    border: 1px solid var(--gray-200);
                    border-radius: 12px;
                    background: var(--white-color);

                    &:focus-within {
                        border-color: var(--primary-color);
                    }

                    &.has-value:focus-within .home-snack-clear {
                        display: flex;
                    }

                    &.is-long {
                        flex-direction: column;
                        align-items: stretch;
                        gap: 5px;
                        height: 126px;
                        padding: 14px 15px;
                    }

                    &.is-error {
                        border-color: var(--red5-color);

                        .home-snack-counter {
                            color: var(--red5-color);
                        }
                    }

                    .home-snack-input-field {
                        flex: 1;
                        min-width: 0;
                        border: 0;
                        background: transparent;
                        font-size: 15px;
                        font-weight: 500;
                        line-height: 1.6;
                        color: var(--gray-900);
                        outline: none;
                        resize: none;

                        &::placeholder {
                            color: #C4C9D5;
                        }
                    }

                    .home-snack-counter {
                        font-size: 15px;
                        font-weight: 500;
                        line-height: 1.6;
                        color: var(--gray-400);
                        text-align: right;
                    }

                    .home-snack-clear {
                        display: none;
                        flex-shrink: 0;
                        align-items: center;
                        justify-content: center;
                        width: 20px;
                        height: 20px;
                        border-radius: 50%;
                        background: #C4C9D5;

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

                .home-snack-input-error {
                    font-size: 12px;
                    line-height: 19.8px;
                    color: var(--red5-color);
                }
            }
        }

        .home-snack-submit {
            height: 45px;
            border-radius: 10px;
            background: var(--primary-color);
            font-size: 12px;
            font-weight: 700;
            color: var(--white-color);
            text-align: center;

            &:disabled {
                background: var(--gray-100);
                color: var(--gray-400);
            }
        }
    }

    .home-snack-box {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        border-radius: 14px;
        background: var(--gray-000);
        color: var(--gray-900);
    }

    .home-snack-summary,
    .home-snack-thanks {
        font-size: 14px;
        font-weight: 600;
    }

    .home-snack-ratio {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .home-snack-box {
            .home-snack-summary {
                &:empty {
                    display: none;
                }
            }

            .home-snack-bars {
                display: flex;
                flex-direction: column;
                gap: 10px;

                .home-snack-bar {
                    display: flex;
                    flex-direction: column;
                    gap: 6px;

                    &.active {
                        .home-snack-bar-text {
                            font-weight: 700;
                            color: #0F7CF0;
                        }

                        .home-snack-bar-track {
                            i {
                                background: #2F8BE6;
                            }
                        }
                    }

                    .home-snack-bar-text {
                        display: flex;
                        align-items: baseline;
                        justify-content: space-between;
                        gap: 8px;
                        font-size: 13px;
                        font-weight: 400;
                        color: var(--gray-800);
                    }

                    .home-snack-bar-track {
                        overflow: hidden;
                        height: 10px;
                        border-radius: 5px;
                        background: #E1E5F0;

                        i {
                            display: block;
                            height: 10px;
                            border-radius: 5px;
                            background: #9DC4EE;
                            transition: width 0.4s;
                        }
                    }
                }
            }
        }

        .home-snack-ratio-cta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 49px;
            padding: 0 16px;
            border-radius: 14px;
            background: var(--primary-color);
            font-size: 14px;
            font-weight: 600;
            color: var(--white-color);

            i {
                font-size: 16px;
                font-style: normal;
            }
        }
    }

    .home-snack-result {
        .home-snack-result-title {
            font-size: 16px;
            font-weight: 700;

            &:empty {
                display: none;
            }
        }

        .home-snack-result-text {
            font-size: 14px;
            font-weight: 500;
            white-space: pre-line;

            &:empty {
                display: none;
            }
        }

        .home-snack-cta {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 38px;
            border-radius: 11px;
            background: var(--primary-color);
            font-size: 12px;
            font-weight: 700;
            color: var(--white-color);
        }
    }

    &[data-result-type="RATIO"] {
        &[data-ratio-columns="2"] {
            .home-snack-choices {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }
        }

        .home-snack-choice {
            height: 44px;
            border-radius: 12px;
            font-weight: 700;
            color: var(--gray-900);
        }

        .home-snack-choices:not([data-type="OX"]) .home-snack-choice.active {
            color: var(--primary-color);
        }
    }

    &[data-type="CHOICE_INPUT"] {
        .home-snack-choices {
            gap: 10px;

            .home-snack-choice {
                height: auto;
                padding: 12px;
                border-color: var(--gray-100);
                border-radius: 12px;
                font-weight: 700;
                line-height: 1.3;
                color: var(--gray-900);

                &.active {
                    border-color: var(--primary-color);
                    background: var(--primary0-color);
                    color: var(--primary-color);
                }
            }
        }
    }

    &.is-quiz {
        .home-snack-result {
            border-radius: 20px;

            .home-snack-result-text {
                font-size: 13px;
                font-weight: 400;
                line-height: 1.3;
            }

            .home-snack-cta {
                border-radius: 10px;
            }
        }
    }
}

.home-snack-section {
    .home-snack-notice {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 3px;
        margin-top: -10px;
        padding: 0 5px;
        font-size: 12px;
        line-height: normal;
        color: var(--gray-400);

        img {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
        }
    }
}

.home-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
    background: var(--white-color);
}

.home-section-title-row {
    display: flex;
    align-items: center;
    gap: 2px;
}

.home-section-info {
    display: flex;
    padding: 0;
    border: 0;
    background: none;
}

#homeUserFundInfoSheet {
    .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 47px 16px 0;
        text-align: center;

        .home-user-fund-info-title {
            margin-bottom: 20px;
            font-size: 17px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--primary-color);
        }

        .home-user-fund-info-desc {
            font-size: 15px;
            font-weight: 500;
            line-height: 1.6;
            color: var(--gray-800);
            margin-bottom: 20px;
        }

        .home-user-fund-info-steps {
            display: flex;
            flex-direction: column;
            gap: 15px;

            li {
                display: flex;
                align-items: center;
                gap: 11px;
                padding: 11px 13px;
                border-radius: 15px;
                background: var(--gray-000);
                font-size: 13px;
                font-weight: 600;
                line-height: 1.4;
                color: var(--gray-900);
                text-align: left;

                span {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-shrink: 0;
                    width: 30px;
                    height: 30px;
                    border-radius: 10px;
                    background: var(--primary0-color);
                    font-size: 14px;
                    font-weight: 700;
                    line-height: 1.5;
                    color: var(--primary-color);
                }
            }
        }

        .home-user-fund-info-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            width: 100%;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid var(--gray-100);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.5;
            color: var(--primary-color);

            span {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 26px;
                height: 26px;
                border-radius: 15px;
                background: var(--primary0-color);
            }
        }
    }

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

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

.home-section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    white-space: pre-line;
}

.home-section-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-400);
}

.home-section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    .home-section-header {
        flex: 1 0 0;
        min-width: 1px;
    }
}

.home-section-header-more {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    line-height: normal;

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

.home-donation-list,
.home-volunteer-list,
.home-review-list,
.home-news-list,
.home-report-list {
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-padding: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

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

.home-donation {
    .home-donation-list {
        display: flex;
        gap: 20px;
    }

    &.story-wrapper {
        .story-body {
            .story-card {
                flex: 0 0 288px;
                flex-direction: column;
                gap: 10px;
                margin: 0;
                padding: 0;
                border-bottom: 0;
                scroll-snap-align: start;

                .story-thumb {
                    width: 288px;
                    height: 192px;
                    border-radius: 20px;

                    img {
                        width: 100%;
                        height: 100%;
                        max-width: none !important;
                        border-radius: 20px;
                    }
                }

                .story-text {
                    gap: 15px;
                }

                .story-head {
                    .story-type {
                        display: none;
                    }

                    .story-title {
                        height: 47px;
                        font-size: 17px;
                    }
                }

                .story-fund {
                    .story-fund-top {
                        .story-percent {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
}

.home-volunteer {
    .home-volunteer-list {
        display: flex;
        gap: 20px;

        .volunteer-card {
            flex: 0 0 288px;
            gap: 0;
            padding: 0;
            border-bottom: 0;
            scroll-snap-align: start;

            .volunteer-card-main {
                position: relative;
                flex-direction: column;
                gap: 10px;

                .volunteer-card-thumb {
                    box-sizing: border-box;
                    width: 288px;
                    height: 192px;
                    border: 1px solid #eceff1;
                    border-radius: 15px;

                    .volunteer-card-status-badge {
                        top: 10px;
                        left: 10px;
                    }
                }

                .volunteer-card-body {
                    gap: 5px;

                    .volunteer-card-info-top,
                    .volunteer-card-info-bottom {
                        gap: 5px;
                    }

                    .volunteer-card-info-top {
                        .volunteer-card-taxonomy-group {
                            display: none;
                        }

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

                        .volunteer-card-location {
                            font-size: 14px;
                            font-weight: 500;
                            color: var(--gray-400);

                            .volunteer-card-location-org {
                                max-width: none;
                            }
                        }

                        .volunteer-card-original {
                            position: absolute;
                            top: 10px;
                            left: 10px;
                            padding: 4px 8px;
                            border-color: var(--primary-color);
                            background: linear-gradient(109.26deg, var(--primary-color) 0%, #00eaff 100%), var(--white-color);
                            -webkit-background-clip: text, padding-box;
                            background-clip: text, padding-box;
                            font-size: 12px;

                            &::before {
                                display: none;
                            }
                        }
                    }

                    .volunteer-card-info-bottom {
                        .volunteer-card-schedule {
                            font-size: 14px;
                            font-weight: 500;
                            color: var(--gray-800);
                        }

                        .volunteer-card-date {
                            font-size: 14px;
                            font-weight: 600;
                            color: var(--gray-900);
                        }
                    }
                }
            }

            .volunteer-card-review {
                display: none;
            }
        }
    }
}

.home-review {
    .home-review-list {
        display: flex;
        gap: 20px;

        > li {
            display: flex;
            flex-direction: column;
            gap: 15px;
            flex: 0 0 280px;
            scroll-snap-align: start;

            .home-review-link {
                overflow: hidden;
                padding-top: 15px;
                border-top: 1px solid var(--gray-100);
                font-size: 13px;
                font-weight: 600;
                line-height: 1.4;
                color: var(--gray-900);
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }
    }

    .home-review-item {
        display: flex;
        flex-direction: column;
        gap: 15px;
        flex: none;
        width: 280px;

        .home-review-photo {
            width: 280px;
            height: 190px;
            border-radius: 10px;
            object-fit: cover;
        }

        .home-review-profile {
            display: flex;
            align-items: center;
            gap: 10px;

            .home-review-avatar {
                flex-shrink: 0;
                width: 30px;
                height: 30px;
                overflow: hidden;
                border: 1px solid var(--gray-050);
                border-radius: 50%;

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

            .home-review-meta {
                display: flex;
                flex-direction: column;
                gap: 3px;
                min-width: 0;

                .home-review-name {
                    font-size: 13px;
                    font-weight: 600;
                    line-height: 1.4;
                    color: var(--gray-900);
                }

                .home-review-info {
                    display: flex;
                    gap: 3px;
                    font-size: 12px;
                    font-weight: 400;
                    line-height: normal;
                    color: var(--gray-400);
                }
            }
        }

        .home-review-text {
            display: -webkit-box;
            overflow: hidden;
            height: 65px;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.5;
            color: var(--gray-900);
            word-break: break-word;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }
    }
}

.home-report {
    .home-report-list {
        display: flex;
        gap: 20px;

        > li {
            flex: 0 0 280px;
            scroll-snap-align: start;
        }
    }

    .home-report-card {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 280px;
        cursor: pointer;

        .home-report-photo {
            width: 280px;
            height: 190px;
            border-radius: 10px;
            object-fit: cover;
        }

        .home-report-profile {
            display: flex;
            align-items: center;
            gap: 10px;

            .home-report-avatar {
                flex-shrink: 0;
                width: 30px;
                height: 30px;
                overflow: hidden;
                border: 1px solid var(--gray-050);
                border-radius: 50%;

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

            .home-report-meta {
                display: flex;
                flex-direction: column;
                gap: 3px;
                min-width: 0;

                .home-report-name {
                    overflow: hidden;
                    font-size: 13px;
                    font-weight: 600;
                    line-height: 1.4;
                    color: var(--gray-900);
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

                .home-report-date {
                    font-size: 12px;
                    font-weight: 400;
                    line-height: normal;
                    color: var(--gray-400);
                }
            }
        }

        .home-report-title {
            display: -webkit-box;
            overflow: hidden;
            height: 52px;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.6;
            color: var(--gray-900);
            word-break: break-word;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .home-report-fund {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            padding-top: 15px;
            border-top: 1px solid var(--gray-100);

            .home-report-fund-label {
                font-size: 14px;
                font-weight: 400;
                line-height: 1.5;
                color: var(--gray-600);
            }

            .home-report-fund-amount {
                font-size: 20px;
                font-weight: 700;
                line-height: normal;
                color: var(--primary-color);
            }
        }
    }
}

.home-impact {
    position: relative;
    overflow: hidden;
    background: var(--white-color) url("/assets/images/main/home-impact-bg-3afaec1cae96af6199abb7e2db812f5f.svg") no-repeat 111px 56px;

    .home-section-subtitle {
        font-size: 12px;
    }

    .home-impact-list {
        display: flex;
        flex-direction: column;
        gap: 14px;

        div {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

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

        dd {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .home-impact-divider {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 16px;
            font-weight: 400;
            color: var(--gray-900);
            white-space: nowrap;

            &::before,
            &::after {
                content: "";
                flex: 1 0 0;
                height: 1px;
                background: var(--gray-100);
            }
        }
    }
}

.home-rank {
    .home-rank-tabs {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;

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

        .home-rank-tab {
            flex-shrink: 0;
            padding: 7px 15px;
            border: 1px solid var(--gray-200);
            border-radius: 99px;
            background: var(--white-color);
            font-size: 13px;
            font-weight: 500;
            line-height: 1.4;
            color: var(--gray-600);

            &.active {
                border-color: var(--primary-color);
                background: var(--primary0-color);
                color: var(--primary-color);
            }
        }
    }

    .home-rank-panel {
        display: flex;
        flex-direction: column;
        gap: 18px;

        &.hidden {
            display: none;
        }

        &.is-loading .home-rank-podium {
            min-height: 199px;
        }

        .home-rank-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            padding: 20px;
            border-radius: 15px;
            background: var(--primary0-color);
            text-align: center;

            strong {
                font-size: 16px;
                font-weight: 700;
                line-height: 1.3;
                color: var(--gray-900);
            }

            p {
                font-size: 14px;
                font-weight: 500;
                line-height: 1.5;
                color: var(--gray-600);
            }

            a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 45px;
                border-radius: 10px;
                background: var(--primary-color);
                font-size: 14px;
                font-weight: 700;
                color: var(--white-color);
            }
        }

        .home-rank-podium {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 20px;

            &:not([data-count="0"]):not([data-count="1"]) .is-rank-1 {
                margin-bottom: 30px;
            }

            &:not([data-count="0"]):not([data-count="1"]):not([data-count="2"]) {
                gap: 8px;
            }

            .home-rank-podium-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
                width: 114px;
                padding: 15px 10px;
                border-radius: 20px;
                background: var(--home-rank-bg);
                filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.05));
                --home-rank-color: var(--primary-color);
                --home-rank-value-color: var(--primary-color);
                --home-rank-bg: var(--primary0-color);

                &.is-rank-1 {
                    order: 2;
                }

                &.is-rank-2 {
                    order: 1;
                    --home-rank-color: var(--orange-color);
                    --home-rank-value-color: var(--orange5-color);
                    --home-rank-bg: var(--orange-050);
                }

                &.is-rank-3 {
                    order: 3;
                    --home-rank-color: var(--red3-color);
                    --home-rank-value-color: var(--red3-color);
                    --home-rank-bg: var(--red-050);
                }

                &.is-empty {
                    width: 90px;
                    height: 120px;
                    padding: 0;
                    background: var(--gray-000);
                    filter: none;
                    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

                    &.is-rank-1 {
                        width: 114px;
                        height: 156px;
                    }
                }

                .home-rank-avatar {
                    width: 70px;
                    height: 70px;
                    margin-bottom: 3px;
                }

                .home-rank-name {
                    margin-top: 15px;
                    font-size: 12px;
                    font-weight: 700;
                    color: #2d333a;
                }

                .home-rank-value {
                    margin-top: -5px;
                    font-weight: 700;
                    color: var(--home-rank-value-color);
                }
            }
        }

        .home-rank-rows {
            padding-top: 6px;

            li {
                display: flex;
                align-items: center;
                gap: 13px;
                padding: 11px 0;

                + li {
                    border-top: 1px solid #f2f4f6;
                }

                .home-rank-name {
                    flex: 1 0 0;
                    min-width: 1px;
                }

                .home-rank-no {
                    width: 20px;
                    font-size: 13px;
                    font-weight: 400;
                    color: #8b95a1;
                    text-align: center;
                }

                &.is-empty {
                    .home-rank-name,
                    .home-rank-value {
                        height: 16px;
                        border-radius: 4px;
                        background: var(--gray-050);
                    }

                    .home-rank-name {
                        flex: 0 0 96px;
                    }

                    .home-rank-value {
                        width: 72px;
                        margin-left: auto;
                    }
                }
            }
        }

        .home-rank-count {
            padding: 9px 5px;
            border-radius: 8px;
            background: var(--primary0-color);
            font-size: 14px;
            font-weight: 400;
            color: var(--gray-700);
            text-align: center;

            strong {
                font-weight: 700;
                color: var(--primary-color);
            }

            &.is-empty {
                background: var(--gray-050);
            }
        }

        .home-rank-updated {
            margin-top: -8px;
            font-size: 12px;
            color: var(--gray-500);
            text-align: right;
        }
    }

    &.is-reveal-ready .home-rank-podium-item {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;

        &.is-rank-2 {
            transition-delay: 0.2s;
        }

        &.is-rank-3 {
            transition-delay: 0.4s;
        }
    }

    &.is-revealed .home-rank-podium-item {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
        &.is-reveal-ready .home-rank-podium-item {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    .home-rank-avatar {
        position: relative;
        display: block;
        flex-shrink: 0;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #eef1f4;

        img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .home-rank-badge {
            position: absolute;
            bottom: -15px;
            left: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border: 2px solid var(--white-color);
            border-radius: 50%;
            background: var(--home-rank-color);
            font-size: 16px;
            font-weight: 700;
            color: var(--white-color);
            transform: translateX(-50%);
        }
    }

    .home-rank-name {
        overflow: hidden;
        max-width: 100%;
        font-size: 13px;
        font-weight: 400;
        color: #122740;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-rank-value {
        flex-shrink: 0;
        font-size: 12px;
        font-weight: 400;
        color: #8b95a1;
    }
}

.home-news {
    .home-news-list {
        display: flex;
        gap: 20px;

        > li {
            flex: 0 0 280px;
            scroll-snap-align: start;
        }

        .home-news-card {
            display: block;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            border: 1px solid var(--gray-050);
            border-radius: 20px;
            background: var(--gray-000);

            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

.home-faq {
    .home-faq-list {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .home-faq-item {
            border: 1px solid var(--gray-050);
            border-radius: 15px;
            background: var(--white-color);

            &::details-content {
                display: grid;
                grid-template-rows: 0fr;
                transition: grid-template-rows 0.3s ease, content-visibility 0.3s allow-discrete;
            }

            &[open]::details-content {
                grid-template-rows: 1fr;
            }

            &[open] {
                border-color: var(--primary1-color);

                .home-faq-question {
                    .home-faq-plus {
                        display: none;
                    }

                    .home-faq-minus {
                        display: block;
                    }
                }
            }

            .home-faq-question {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                padding: 15px;
                font-size: 14px;
                font-weight: 600;
                line-height: 1.6;
                color: var(--gray-900);
                cursor: pointer;
                list-style: none;

                &::-webkit-details-marker {
                    display: none;
                }

                img {
                    flex-shrink: 0;
                    width: 24px;
                    height: 24px;
                }

                .home-faq-minus {
                    display: none;
                }
            }

            .home-faq-answer-wrap {
                min-height: 0;
                overflow: hidden;

                .home-faq-answer {
                    padding: 0 15px 15px;
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 1.6;
                    color: #4e5968;
                    word-break: break-word;

                    img {
                        max-width: 100%;
                        height: auto;
                    }
                }
            }
        }
    }
}

.home-cs {
    margin: 0 16px;
    padding: 20px;
    border-radius: 20px;
    background: var(--gray-000);

    .home-cs-info {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .home-cs-title-row {
            display: flex;
            align-items: flex-start;
            gap: 10px;

            .home-section-title {
                flex: 1 0 0;
                min-width: 1px;
            }

            .home-cs-status {
                display: flex;
                flex-shrink: 0;
                align-items: center;
                gap: 5px;
                padding: 5px 9px;
                border-radius: 99px;
                background: var(--gray-050);
                font-size: 11px;
                font-weight: 600;
                line-height: 1.3;
                color: var(--gray-500);

                &::before {
                    width: 6px;
                    height: 6px;
                    border-radius: 3px;
                    background: var(--gray-400);
                    content: "";
                }

                &.is-open {
                    background: #dffae2;
                    color: #15803d;

                    &::before {
                        background: #22c55e;
                    }
                }
            }
        }

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

        .home-cs-hours {
            display: flex;
            flex-direction: column;
            gap: 5px;
            font-size: 13px;

            strong {
                font-weight: 700;
                line-height: 1.4;
                color: var(--gray-700);
            }

            span {
                font-weight: 400;
                line-height: 1.5;
                color: var(--gray-600);
            }
        }
    }

    .home-cs-button {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 45px;
        padding: 13px;
        border-radius: 13px;
        background: #fee500;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        color: var(--black-color);
    }
}

.home-target {
    .home-target-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        .home-target-chip {
            flex-shrink: 0;
            padding: 5px 12px;
            border: 1px solid var(--gray-200);
            border-radius: 100px;
            background: var(--white-color);
            font-size: 14px;
            font-weight: 400;
            color: var(--gray-600);

            &.active {
                border-color: var(--primary-color);
                background: var(--primary-color);
                font-weight: 600;
                color: var(--white-color);
            }

            &.is-common:not(.active) {
                border-color: transparent;
                background:
                    linear-gradient(105.57deg, var(--primary-color) 0%, #00eaff 100%),
                    linear-gradient(var(--white-color), var(--white-color)),
                    linear-gradient(105.57deg, var(--primary-color) 0%, #00eaff 100%) border-box;
                -webkit-background-clip: text, padding-box, border-box;
                background-clip: text, padding-box, border-box;
                font-weight: 600;
                color: transparent;
            }

            &.is-common.active {
                border-color: transparent;
                background: linear-gradient(108.61deg, var(--primary-color) 0%, #00eaff 100%) border-box;
            }
        }
    }

    .home-target-panel {
        display: flex;
        flex-direction: column;
        gap: 14px;

        .home-target-card {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 8px;
            height: 190px;
            padding: 20px;
            border: 1px solid var(--gray-050);
            border-radius: 20px;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52.895%, rgba(0, 0, 0, 0.7) 100%), var(--home-target-card-image, none) center / cover no-repeat var(--white-color);
            color: var(--white-color);

            .home-target-card-info {
                display: flex;
                flex-direction: column;
                gap: 4px;
                min-width: 0;

                .home-target-card-title {
                    font-size: 24px;
                    font-weight: 700;
                    line-height: 1.2;
                }

                .home-target-card-text {
                    font-size: 12px;
                    font-weight: 400;
                    line-height: normal;
                }
            }

            .home-target-card-button {
                display: flex;
                flex-shrink: 0;
                align-items: center;
                justify-content: center;
                width: 26px;
                height: 26px;
                margin: 0 1px 1px 0;
                border-radius: 50px;
                background: var(--white-color);
            }
        }

        .home-target-stories {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;

            a {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            img {
                width: 100%;
                aspect-ratio: 1;
                border: 1px solid var(--gray-050);
                border-radius: 15px;
                background: var(--white-color);
                object-fit: cover;
            }

            span {
                display: -webkit-box;
                overflow: hidden;
                height: 42px;
                font-size: 14px;
                font-weight: 500;
                line-height: 1.5;
                color: #383838;
                word-break: break-word;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
        }

        .home-target-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            height: 185px;
            border-radius: 20px;
            background: var(--gray-000);
            text-align: center;

            strong {
                font-size: 18px;
                font-weight: 700;
                color: #2d333a;
            }

            p {
                font-size: 13px;
                color: var(--gray-400);
            }
        }

        .home-target-common {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px 19px 20px;
            border-radius: 20px;
            background: #eef6fc;
            color: var(--gray-900);
            text-align: center;

            dotlottie-player {
                display: block;
                width: 100%;
                margin-top: 23px;
                aspect-ratio: 16 / 9;
            }

            .home-target-common-title {
                font-size: 18px;
                font-weight: 700;
                line-height: 1.5;
                color: var(--primary-color);
            }

            .home-target-common-text {
                margin-top: 15px;
                font-size: 15px;
                font-weight: 600;
                line-height: 1.5;
                color: var(--gray-700);
                word-break: keep-all;
            }

            .home-target-common-button {
                width: 100%;
                margin-top: 14px;
                padding: 15px;
                border: 0;
                border-radius: 15px;
                background: var(--primary-color);
                font-size: 16px;
                font-weight: 700;
                line-height: 1.3;
                color: var(--white-color);
            }
        }
    }
}

.home-user-fund {
    .home-user-fund-list {
        display: flex;
        gap: 20px;
        margin: 0 -16px;
        padding: 0 16px;
        overflow-x: auto;
        scroll-padding: 0 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;

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

        li {
            flex: 0 0 150px;
            scroll-snap-align: start;
        }

        .home-user-fund-card {
            display: flex;
            flex-direction: column;
            gap: 10px;

            .home-user-fund-thumb {
                display: block;
                width: 150px;
                height: 150px;
                overflow: hidden;
                border: 1px solid var(--gray-050);
                border-radius: 15px;
                background: var(--white-color);

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

            .home-user-fund-info {
                display: flex;
                flex-direction: column;
                gap: 5px;

                .home-user-fund-tags {
                    display: flex;
                    gap: 5px;

                    .home-user-fund-more {
                        background: var(--gray-050);
                        color: var(--gray-400);
                    }
                }

                .home-user-fund-title {
                    display: -webkit-box;
                    overflow: hidden;
                    height: 42px;
                    font-size: 14px;
                    font-weight: 600;
                    line-height: 1.5;
                    color: var(--gray-900);
                    word-break: break-word;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                }

                .home-user-fund-amount {
                    display: flex;
                    flex-direction: column;
                    gap: 3px;
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 1.2;
                    color: var(--gray-500);

                    b {
                        font-size: 20px;
                        font-weight: 700;
                        color: var(--primary-color);
                    }
                }
            }
        }
    }
}

.home-partner {
    .home-partner-list {
        display: flex;
        gap: 16px;
        margin: 0 -16px;
        padding: 0 16px;
        overflow-x: auto;
        scroll-padding: 0 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;

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

        li {
            flex: 0 0 150px;
            scroll-snap-align: start;
        }

        .home-partner-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
            height: 170px;
            padding: 10px;
            border: 1px solid #e8e8e8;
            border-radius: 14px;
            background: var(--white-color);
            text-align: center;

            .home-partner-logo {
                width: 100%;

                img {
                    display: block;
                    width: 100%;
                    height: 54px;
                    object-fit: contain;
                }
            }

            .home-partner-name {
                overflow: hidden;
                max-width: 100%;
                font-size: 12px;
                font-weight: 600;
                line-height: 1.2;
                color: var(--gray-900);
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .home-partner-amount {
                display: flex;
                flex-direction: column;
                gap: 2px;
                margin-top: -10px;
                font-size: 12px;
                font-weight: 500;
                line-height: 1.4;
                color: var(--gray-700);

                b {
                    font-weight: 700;
                    line-height: normal;
                    color: var(--primary-color);
                }
            }
        }
    }
}

.home-agency {
    gap: 30px;
    padding: 20px 16px;
    color: var(--gray-900);

    .home-agency-main {
        display: flex;
        flex-direction: column;
        gap: 20px;

        .home-agency-text {
            display: flex;
            flex-direction: column;
            gap: 10px;

            .home-agency-eyebrow {
                font-size: 14px;
                font-weight: 700;
                line-height: 1.5;
                color: var(--primary-color);
            }

            .home-agency-title {
                font-size: 20px;
                font-weight: 700;
                line-height: 1.4;
            }

            .home-agency-count {
                font-size: 14px;
                line-height: 1.5;

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

            .home-agency-points {
                display: flex;
                flex-direction: column;
                gap: 5px;
                padding-top: 10px;
                font-size: 14px;
                line-height: 1.4;

                li::before {
                    content: "✓";
                    margin-right: 5px;
                    font-weight: 800;
                    color: var(--primary-color);
                }
            }
        }

        .home-agency-button {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 50px;
            border-radius: 12px;
            background: var(--primary-color);
            font-size: 14px;
            font-weight: 700;
            line-height: 1.5;
            color: #f8f8f8;
        }
    }

    .home-agency-logos {
        overflow: hidden;
        margin: 0 -16px;

        img {
            flex-shrink: 0;
            max-width: 118px;
            height: 39px;
            object-fit: contain;
        }

        .home-agency-logos-track {
            display: flex;
            align-items: center;
            gap: 10px;
            width: max-content;
            animation: home-agency-roll var(--home-agency-roll-duration) linear infinite;

            @media (prefers-reduced-motion: reduce) {
                animation: none;
            }
        }
    }
}

@keyframes home-agency-roll {
    to {
        transform: translateX(calc(-50% - 5px));
    }
}

.home-volunteer-group-recruit {
    color: var(--gray-900);

    .home-volunteer-group-recruit-text {
        display: flex;
        flex-direction: column;
        gap: 10px;

        .home-volunteer-group-recruit-eyebrow {
            font-size: 14px;
            font-weight: 700;
            line-height: 1.5;
            color: var(--primary-color);
        }

        .home-volunteer-group-recruit-title {
            font-size: 20px;
            font-weight: 700;
            line-height: 1.4;
        }

        .home-volunteer-group-recruit-desc {
            font-size: 14px;
            line-height: 1.5;
        }
    }

    .home-volunteer-group-recruit-photos {
        display: grid;
        grid-template-columns: 200fr 148fr;
        grid-template-rows: 1fr 1fr;
        gap: 8px 10px;

        .home-volunteer-group-recruit-photo {
            position: relative;
            overflow: hidden;
            border-radius: 10px;

            &.is-main {
                grid-row: span 2;
                aspect-ratio: 1 / 1;
            }

            img {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .home-volunteer-group-recruit-tag {
                position: absolute;
                bottom: 8px;
                left: 8px;
                padding: 5px 11px;
                border-radius: 100px;
                background: rgba(255, 255, 255, 0.8);
                font-size: 12px;
                font-weight: 700;
                line-height: normal;
            }
        }
    }

    .home-volunteer-group-recruit-points {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding-top: 10px;
        font-size: 14px;
        line-height: 1.4;

        li::before {
            content: "✓";
            margin-right: 5px;
            font-weight: 800;
            color: var(--primary-color);
        }
    }

    .home-volunteer-group-recruit-button {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
        border-radius: 12px;
        background: var(--primary-color);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5;
        color: #f8f8f8;
    }
}
