.container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: var(--zIndex-popup);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.activity {
    display: flex;
    position: relative;
    align-items: flex-start;
    justify-content: center;
    aspect-ratio: 1;
    // overflow-y: scroll;
    width: 25.22rem;
    height: 44.04rem;
    // width: 91.4%;
    border-radius: 10px;
    background: rgba(37, 38, 43, 1);
    // margin-top:9.19rem;

    .themeImg {
        width: 25.22rem;
        height: 19.63rem;
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
    }

    .layout {
        z-index: 1;
        width: 100%;
        height: 100%;

        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;

        .msgBar {
            width: 23.16rem;
            height: 1.76rem;
            border-radius: 60px;
            background: rgba(19, 20, 27, 0.81);
            margin-top: 11.98rem;
            position: relative;

            .left {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 100%;
                position: absolute;
                left: 0;

                img {
                    width: 1.54rem;
                    height: 1.47rem;
                    margin-left: 0.44rem;
                }

                span {
                    color: rgba(125, 137, 148, 1);

                    // font-family: Roboto;
                    font-size: 1.03rem;
                    font-weight: 400;
                    line-height: 1.76rem;
                    letter-spacing: 0rem;
                    text-align: center;
                    margin-left: 0.73rem;
                }
            }
            .right {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 100%;
                position: absolute;
                right: 0;

                img {
                    width: 1.03rem;
                    height: 1.25rem;
                    margin-right: 0.36rem;
                    margin-top: -0.1rem;
                }

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

                    font-family: Roboto;
                    font-size: 1.03rem;
                    font-weight: 400;
                    line-height: 1.76rem;
                    letter-spacing: 0rem;
                    text-align: center;
                    margin-right: 0.07rem;
                }

                .nums {
                    color: rgba(240, 255, 74, 1);

                    font-family: Roboto;
                    font-size: 1.03rem;
                    font-weight: 400;
                    line-height: 1.76rem;
                    letter-spacing: 0rem;
                    text-align: center;
                    margin-right: 0.36rem;
                }
            }
        }
        .selectArea {
            width: 23.68rem;
            height: 17.65rem;
            margin-top: 1.25rem;
            position: relative;

            .items {
                width: 100%;
                height: 100%;

                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;

                .item {
                    width: 7.57rem;
                    height: 5.59rem;
                    border-radius: 7px;
                    // background-color: #fff;
                    position: relative;
                    transition: transform 0.2s ease; /* 控制旋转过渡 */

                    .lock {
                        position: absolute;
                        width: 7.57rem;
                        top: 0;
                        left: 0;
                    }
                    .open {
                        position: absolute;
                        width: 7.57rem;
                        top: 0;
                        left: 0;
                    }

                    .reward {
                        position: absolute;
                        bottom: 0.07rem;
                        left: 50%;
                        transform: translateX(-50%);

                        width: 4.71rem;
                        height: 1.32rem;
                        border-radius: 25px;
                        background: rgba(0, 0, 0, 0.5);

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

                        font-family: Roboto;
                        font-size: 1.03rem;
                        font-weight: 400;
                        line-height: 1.32rem;
                        letter-spacing: 0rem;
                        text-align: center;
                    }
                    .selectReward {
                        position: absolute;
                        bottom: 0.07rem;
                        left: 50%;
                        transform: translateX(-50%);

                        width: 4.71rem;
                        height: 1.32rem;
                        border-radius: 25px;
                        box-shadow: inset 0rem 1px 1px 0rem
                            rgba(255, 205, 113, 1);
                        background: rgba(248, 171, 28, 1);

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

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

                    .mask {
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        background: rgba(0, 0, 0, 0.5);
                        border-radius: 7px;
                    }
                }
            }
        }
    }
    .msgPanel {
        width: 23.16rem;
        border-radius: 8px;
        // position: absolute;
        // top: 25.59rem;
        padding: 0 1rem;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        // top: calc(25.59rem - 7.65rem) !important;
        margin-top: 0.29rem;

        .item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 2.06rem;
            width: 100%;
            margin-top: 1.1rem;

            .itemBox {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .icon_cash {
                width: 1.22rem;
                height: 1.01rem;
                margin-right: 0.28rem;
            }
            .icon_gift {
                width: 1.32rem;
                height: 1.47rem;
                margin-right: 0.37rem;
            }

            .price {
                color: rgba(255, 255, 255, 1);
                font-family: Roboto;
                font-size: 1.03rem;
                font-weight: 500;
                line-height: 1.18rem;
                letter-spacing: 0rem;
                // margin-right: 1.6rem;
                line-height: 2.06rem;
            }

            .plus {
                color: rgba(255, 255, 255, 1);
                font-family: Roboto;
                font-size: 1.47rem;
                font-weight: 500;
                line-height: 1.69rem;
                letter-spacing: 0rem;
                // margin-right: 1.1rem;
                line-height: 2.06rem;
            }

            .spinTimes {
                color: rgba(255, 255, 255, 1);
                font-family: Roboto;
                font-size: 1.03rem;
                font-weight: 500;
                line-height: 1.18rem;
                letter-spacing: 0rem;
                line-height: 2.06rem;
                // margin-right: 2.5rem;
            }

            .buy {
                width: 5.44rem;
                height: 2.06rem;

                border-radius: 43rem;
                background: linear-gradient(
                    180deg,
                    rgba(7, 199, 115, 1),
                    rgba(1, 153, 86, 1) 100%
                );
                color: rgba(255, 255, 255, 1);

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

.close {
    width: 1.91rem;
    height: 1.76rem;
    position: absolute;
    z-index: var(--zIndex-max);
    right: 0;
    top: -3.37rem;
}

.question {
    position: absolute;
    width: 1.18rem;
    height: 1.18rem;
    top: 0.58rem;
    right: 0.88rem;
    z-index: 2;
}

// 金币飞行动画核心样式
.flyingCoin {
    position: fixed;
    width: 20px;
    height: 20px;
    z-index: var(--zIndex-max, 10000);
    pointer-events: none;
    will-change: transform, opacity;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 1s ease-in 0.2s; /* opacity延迟0.2s开始，持续1s */
}

// rule
.rule_container {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: var(--zIndex-popup);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    .rule_popup {
        width: 22.87rem;
        height: 24.49rem;
        padding: 1.1rem;
        background-color: #272d39;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        border-radius: 10px;

        .rule_title {
            width: 100%;
            color: rgba(255, 255, 255, 1);

            font-family: Roboto;
            font-size: 1.32rem;
            font-weight: 500;
            text-align: left;
        }

        .rule_texts {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            flex-direction: column;
            // gap: 0.588rem;
            .rule_text {
                display: flex;
                margin-top: 1.1rem;

                span {
                    color: #ffffff;
                    font-family: Roboto;
                    font-weight: 400;
                    vertical-align: baseline;
                    line-height: 1.3;

                    font-size: 1.18rem;
                    font-weight: 400;
                }

                // &::before {
                //     background-color: #ffffff;
                //     border-radius: 50%;
                //     content: "";
                //     display: block;
                //     flex: none;
                //     height: 0.36rem;
                //     width: 0.36rem;
                //     margin: 0.4rem 0.73rem;
                // }
            }
        }

        .rule_btnClaim {
            width: 11rem;
            height: 2.64rem;
            margin-top: 2.8rem;
            background: linear-gradient(
                180deg,
                rgb(8, 201, 116),
                rgb(0, 149, 83) 100%
            );

            text-align: center;
            border-radius: 1.47rem;
            font-size: 1.02rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 2.64rem;

            width: 19.63rem;
            height: 2.79rem;

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

            img {
                width: 1.03rem;
                margin: 0 0.3rem;
                margin-top: -0.2rem;
            }
        }
    }
}

// detail
.detail_container {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: var(--zIndex-popup);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    .detail_popup {
        width: 22.87rem;
        height: 27.28rem;
        padding: 1.1rem;
        // background-color: #272d39;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        border-radius: 10px;
        padding-left: 0.8rem;
        padding-right: 0;

        box-shadow: inset 0rem 0rem 2px 2px rgba(91, 99, 129, 1);
        background: linear-gradient(
            180deg,
            rgba(68, 79, 138, 1),
            rgba(37, 38, 43, 1) 52%
        );
        position: relative;

        .detailGift {
            width: 3.28rem;
            height: 3.6rem;
            transform: rotate(6.13deg);
            position: absolute;
            top: 0.6rem;
            right: 0.375rem;
        }

        .detail_title {
            width: 100%;
            color: rgba(255, 255, 255, 1);

            font-family: Roboto;
            font-size: 1.32rem;
            font-weight: 500;
            text-align: left;
        }

        .detail_texts {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            flex-direction: column;
            margin-top: 0.61rem;
            // gap: 0.588rem;
            .detail_text {
                display: flex;
                margin-top: 0.51rem;

                span {
                    color: #ffffff;
                    font-family: Roboto;
                    font-weight: 400;
                    vertical-align: baseline;
                    line-height: 1.3;

                    font-size: 1.18rem;
                    font-weight: 400;
                }
            }
        }

        .detail_btnOK {
            width: 11rem;
            height: 2.64rem;
            margin-top: 2.42rem;
            background: linear-gradient(
                180deg,
                rgb(8, 201, 116),
                rgb(0, 149, 83) 100%
            );

            text-align: center;
            border-radius: 1.47rem;
            font-size: 1.02rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 2.64rem;

            width: 19.63rem;
            height: 2.79rem;

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