.mask {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 510px;
    background-color: rgba(0, 0, 0, 0.71);
    z-index: var(--zIndex-mask);
}

.container {
    width: 100%;
    max-width: 510px;
    margin: 0 auto;

    // height: 49.41rem;
    height: 82%;
    border-radius: 10px;
    background: rgba(37, 38, 43, 1);
    // background-color: #000;
    position: absolute;
    bottom: 0;
    z-index: var(--zIndex-max);

    .header {
        width: 100%;
        position: relative;
        .imgBg {
            width: 100%;
            border-radius: 10px 10px 0rem 0rem;
            position: absolute;
            top: 0;
        }

        .arrow {
            width: 1.1rem;
            position: absolute;
            // 居中
            left: 50%;
            transform: translate(-50%, 0);
            top: 0.36rem;
        }

        .record {
            width: 3.31rem;
            right: 0.51rem;
            top: 2.57rem;
            position: absolute;
            z-index: var(--zIndex-top);
        }

        .freeBonus {
            position: absolute;
            width: 100%;
            top: 2.64rem;
            display: flex;
            justify-content: center;
            align-items: center;
            img {
                width: 2.21rem;
                margin-right: 0.5rem;
            }
            span {
                color: rgba(255, 197, 45, 1);

                font-family: Roboto;
                font-size: 2.65rem;
                font-weight: 500;
                line-height: 3.09rem;
                letter-spacing: 0rem;
            }
        }

        .tips {
            position: absolute;
            top: 7.13rem;
            color: rgba(255, 255, 255, 1);
            width: 100%;

            font-family: Roboto;
            font-size: 1.03rem;
            font-weight: 500;
            line-height: 1.18rem;
            letter-spacing: 0rem;
            text-align: center;
        }

        // .tabs {
        //     display: flex;
        //     justify-content: space-around;
        //     align-items: center;
        //     position: absolute;
        //     top: 10rem;
        //     width: 100%;
        //     background-color: #fff;
        //     height: 1.9rem;

        //     .tab {
        //         position: relative;

        //         color: rgba(2, 163, 113, 1);

        //         font-family: Roboto;
        //         font-size: 1.18rem;
        //         font-weight: 500;
        //         line-height: 1.4rem;
        //         letter-spacing: 0rem;
        //     }
        //     span {
        //         color: rgba(2, 163, 113, 1);

        //         font-family: Roboto;
        //         font-size: 1.18rem;
        //         font-weight: 500;
        //         line-height: 1.4rem;
        //         letter-spacing: 0rem;
        //     }

        //     .activeTab {
        //         color: rgba(12, 238, 167, 1);
        //     }
        // }

        .tabs {
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: absolute;
            top: 10rem;
            width: 100%;
            // background-color: #fff;
            height: 1.9rem;
            position: relative;

            .tab {
                position: relative;
                color: rgba(2, 163, 113, 1);
                font-family: Roboto;
                font-size: 1.18rem;
                font-weight: 500;
                line-height: 1.4rem;
                letter-spacing: 0rem;
                // cursor: pointer;
                padding: 0.2rem 0.5rem;
                transition: color 0.3s ease;
            }

            span {
                color: rgba(2, 163, 113, 1);
                font-family: Roboto;
                font-size: 1.18rem;
                font-weight: 500;
                line-height: 1.4rem;
                letter-spacing: 0rem;
                // position: absolute;
                // right: 0;
            }

            .activeTab {
                color: rgba(12, 238, 167, 1);
            }

            .locked {
                color: rgba(125, 136, 147, 1) !important;
            }
        }

        /* 下划线元素 */
        .tabUnderline {
            position: absolute;
            bottom: -0.3rem;
            height: 0.22rem;
            background-color: rgba(12, 238, 167, 1);
            transition: all 0.3s ease;
            border-radius: 0.1rem;
        }
    }

    .content {
        width: 100%;
        max-width: 510px;
        margin: 0 auto;
        // height: 35.88rem;
        border-radius: 20px;
        box-shadow: 0rem -1.62px 22px 0rem rgba(0, 0, 0, 0.3);
        background: rgba(37, 38, 43, 1);
        position: absolute;
        overflow: hidden scroll;
        top: 13.5rem;
        height: calc(100% - 13.5rem);

        scroll-behavior: smooth;
        scrollbar-width: none;
        padding-bottom: 5rem;
        // .missions{
        //     height: 18.3rem;
        // }

        .mission {
            width: 100%;
            padding-left: 1.32rem;
            padding-top: 1.25rem;
            padding-right: 0.51rem;

            margin-bottom: 1.15rem;
            .title {
                color: rgba(255, 255, 255, 1);
                font-family: Roboto;
                font-size: 1.03rem;
                font-weight: 500;
                line-height: 1.18rem;
                letter-spacing: 0rem;
            }

            .bottom {
                width: 100%;
                margin-top: 0.36rem;
                height: 2.72rem;
                // background-color: #fff;
                display: flex;
                justify-content: flex-start;
                align-items: center;

                .progress {
                    width: 18.16rem;
                    position: relative;
                    height: 1.03rem;

                    border-radius: 20px;
                    background: rgba(25, 26, 31, 1);
                    // margin-top: 0.88rem;
                    .progressBar {
                        width: 18.16rem;
                        height: 1.03rem;
                        background-color: #4caf50;
                        border-radius: 10px;
                        // transition: width 0.3s ease;

                        box-sizing: border-box;
                        border: 0.07rem solid rgba(30, 248, 181, 1);
                        border-radius: 20rem;
                        background: linear-gradient(
                            180deg,
                            rgba(27, 242, 174, 1),
                            rgba(8, 145, 101, 1) 100%
                        );
                    }

                    .progressText {
                        position: absolute;
                        // right: 10px;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        color: #333;
                        font-size: 12px;

                        color: rgba(255, 255, 255, 1);
                        font-family: Roboto;
                        font-size: 1.03rem;
                        font-weight: 500;
                        line-height: 2.72rem;
                        letter-spacing: 0rem;

                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
                }

                .go {
                    /* 矩形 71 */
                    width: 7.06rem;
                    height: 2.72rem;
                    border-radius: 90px;
                    box-shadow: inset 0rem 0.15rem 4rem 0rem rgba(0, 0, 0, 0.1);
                    background: linear-gradient(
                        180deg,
                        rgba(8, 199, 115, 1) 10%,
                        rgba(0, 150, 84, 1) 100%
                    );
                    margin-left: 0.5rem;

                    color: rgba(255, 255, 255, 1);
                    font-family: Roboto;
                    font-size: 1.47rem;
                    font-weight: 700;
                    text-align: center;
                    line-height: 2.72rem;
                }
                .check {
                    width: 2.54rem;
                    height: 1.92rem;
                    margin-left: 2.42rem;
                }
            }
        }

        .missionOver {
            .title {
                color: rgba(95, 104, 115, 1);
            }
        }

        .tipsAll {
            width: 100%;
            height: 12.15rem;
            color: rgba(255, 255, 255, 1);

            font-family: Roboto;
            font-size: 1.03rem;
            font-weight: 500;
            line-height: 1.6rem;
            letter-spacing: 0rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            .money {
                color: rgba(255, 197, 45, 1);
            }
        }

        .taskInfo {
            margin-top: 5rem;
            color: rgba(127, 140, 151, 1);

            font-family: Roboto;
            font-size: 1.03rem;
            font-weight: 500;
            // line-height: 1.18rem;
            letter-spacing: 0rem;
            text-align: center;
        }

        .withdrawBtn {
            margin: 0 auto;
            margin-top: 1.47rem;
            width: 25.22rem;
            height: 4.26rem;

            border-radius: 90px;
            box-shadow: inset 0rem 0.15rem 4rem 0rem rgba(0, 0, 0, 0.1);
            background: linear-gradient(
                180deg,
                rgba(178, 178, 178, 1) 24%,
                rgba(147, 147, 147, 1) 100%
            );

            color: rgba(255, 255, 255, 1);

            font-family: Roboto;
            font-size: 1.47rem;
            font-weight: 700;
            line-height: 4.26rem;
            letter-spacing: 0rem;
            text-align: center;
        }

        .canWithdraw {
            background: linear-gradient(
                180deg,
                rgba(8, 191, 110, 1) 7%,
                rgba(0, 153, 86, 1) 100%
            );
        }

        .missionAllOver {
            &.taskInfo {
                color: rgba(255, 197, 45, 1) !important;
            }
        }

        .withdrawOverMask {
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            top: 13.5rem;
            left: 0;
            background-color: #fff;
            border-radius: 20px;
            background: rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }
        .taskInfoProcessed {
            margin-top: 5rem;

            font-family: Roboto;
            font-size: 1.03rem;
            font-weight: 500;
            // line-height: 1.18rem;
            letter-spacing: 0rem;
            text-align: center;
            color: rgba(2, 163, 113, 1);

            padding-bottom: 10rem;
        }
    }
}

.marquee_con {
    /* 矩形 76 */
    margin: 0 auto;
    width: 21.1rem;
    height: 3.16rem;
    background: linear-gradient(
        270deg,
        rgba(42, 50, 57, 0),
        rgba(42, 50, 57, 1) 30%,
        rgba(42, 50, 57, 1) 74%,
        rgba(42, 50, 57, 0) 100%
    );
    margin-top: 1.17rem;
}

/* Swiper容器必须设置高度 */
.swiper_list_single {
    height: 100% !important;
    overflow: hidden;
}

.marquee_item {
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 3.16rem;
    display: flex;
    justify-content: center;
    align-items: center;
    .avatar {
        width: 1.4rem;
        height: 1.4rem;
        background: rgba(196, 196, 196, 1);
        border-radius: 50%;
    }

    .phone {
        color: rgba(127, 140, 151, 1);

        font-family: Roboto;
        font-size: 1.03rem;
        font-weight: 500;
        margin-left: 0.36rem;
        line-height: 3.16rem;
    }

    .tip {
        color: rgba(255, 197, 45, 1);

        font-family: Roboto;
        font-size: 1.03rem;
        font-weight: 500;
        margin-left: 1.76rem;
        line-height: 3.16rem;
    }
}

/* 确保Swiper Slide有高度 */
.swiper-slide {
    height: 100% !important;
}

/* 定义从下往上的滑入动画 */
@keyframes slideUp {
    from {
        transform: translateY(100%); /* 从底部（100% 自身高度）开始 */
    }
    to {
        transform: translateY(0); /* 滑动到正常位置（0） */
    }
}

/* 退出时的类名，比如 .container-exit */
.close {
    animation: slideOutDown 0.3s ease forwards;
}

.open {
    /* 添加以下动画属性 */
    transform: translateY(100%); /* 初始状态：完全隐藏在底部 */
    animation: slideUp 0.3s ease forwards; /* 应用动画 */
}

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

@media screen and (min-width: 510px) {
    .bottom {
        // align-items: center !important;
        // justify-content: center !important;
        .go {
            margin-left: auto !important;
        }
        .check {
            margin-left: auto !important;
            margin-right: 2rem !important;
        }
    }
}
