* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    --color-primary: #4F44FF;
    --font-color: #333;
}

    html::-webkit-scrollbar,
    div::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

div::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

img {
}

html::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

html::-webkit-scrollbar-track,
div::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* 当鼠标悬停在滚动条上时，改变滑块的样式 */
::-webkit-scrollbar-thumb:hover {
    background: #999; /* 悬停时滑块的背景颜色变深 */
    border-radius: 10px; /* 悬停时滑块的圆角变大 */
    width: 10px; /* 悬停时滑块的宽度变大 */
    height: 10px; /* 悬停时滑块的高度变大 */
}

body {
    background: #19092D url(../img/bg.png) no-repeat top center;
    background-size: contain;
}

.header div,
.act-container div {
    transition: all 0.1s ease-in-out;
}

.container {
    max-width: 1226px;
    min-width: 1000px;
    margin: 0 auto;
}

#app {
    color: var(--font-color);
    min-width: 1226px;
    height: 100vh;
    overflow-y: auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.header {
    height: 100px;
    background-size: 100% 100%;
    padding: 5px 50px;
    background: #17126B;
    border-bottom: 4px solid #FFCB6F;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    color: #fff;
}

    .header .logo {
        display: block;
        border-radius: 7px;
        cursor: pointer;
        transition: all 0.3s;
    }

        .header .logo img {
            max-width: 300px;
            object-fit: contain;
        }

.act-container {
    height: 184px;
    margin: 20px auto;
    user-select: none;
    position: relative;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
    }

.act-list {
    width: calc(100% - 70px);
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
}

    .act-list::-webkit-scrollbar {
        width: 0;
        height: 0;
    }


    .act-list.nodata {
        width: 100%;
        font-size: 22px;
        font-weight: bold;
        color: #ddd;
    }

    .act-list .list-content {
        height: 100%;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

        .act-list .list-content::-webkit-scrollbar {
            display: none;
        }

.act-item {
    min-width: 234px;
    max-width: 234px;
    min-height: 120px;
    max-height: 120px;
    height: 100%;
    border-radius: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0 5px;
    position: relative;
    background: url(../img/act_bg.png) 100% 100% no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

    .act-item.active {
        border: 1px solid var(--color-primary);
    }

.act-item-name {
    color: #4E576D;
    font-size: 18px;
    width: 110px;
    text-align: left;
    
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center; 
}

    .act-item-name .text {
        width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        white-space: break-spaces;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .act-item .act-item-img {
        max-width: 100px;
        max-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .act-item .act-item-img span {
        text-align: left;
        font-size: 12px;
        color: #555;
        display: none;
    }

    .act-item .act-item-img,
    .act-item .act-item-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.act-container .left,
.act-container .right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #b5cdef;
    position: absolute;
    top: 120px;
}

    .act-container .left:hover,
    .act-container .right:hover {
        background: var(--color-primary);
        color: #fff;
    }

    .act-container .left::after,
    .act-container .right::after {
        font-size: 12px;
        font-weight: bold;
    }

.act-container .left {
    left: 5px;
}

.act-container .right {
    right: 5px;
}

.divider-wrap {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

    .divider-wrap .divider {
        border-top: 1px solid var(--color-primary);
        width: 45%;
        height: 0;
    }

    .divider-wrap div:nth-child(2) {
        margin: 0 10px;
        font-size: 18px;
        color: #554aff;
        width: 84px;
        height: 28px;
    }

.info-box {
    line-height: 80px;
}

.info-item {
    height: 100%;
    margin-right: 20px;
}

    .info-item:last-child {
        margin-right: 0;
    }

/* .info-item span {
  color: #fff;
} */

.main {
    width: 1240px;
    flex-shrink: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
    margin-top: 10px;
}

.lucky-val {
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 7px;
}

    .lucky-val span {
        color: #333;
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

        .lucky-val span.balance {
            color: #af3434;
            margin-left: 5px;
        }

    .lucky-val > div {
        display: flex;
        line-height: normal;
        flex-wrap: wrap;
    }

        .lucky-val > div > div {
            margin-right: 20px;
        }

.expired-date, #timer {
    font-size: 18px;
    color: #333;
    line-height: 35px;
}

    .expired-date .date {
        font-size: 24px;
        color: #af3434;
    }


.roulette-wrap {
    width: 65%;
    border-radius: 7px;
    padding-top: 5px;
}

.roulette-container {
    position: relative;
}

    .roulette-container .roulette {
        height: 550px;
        width: 550px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: url(../img/bj_hdzp_silver.png) no-repeat;
        background-size: 100% 100%;
        position: relative;
        z-index: 1;
        filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
        transform: rotate(0deg);
        transition: transform 2s ease-in-out, -webkit-transform 2s ease-in-out;
    }

        .roulette-container .roulette .roulette-item {
            width: 100px;
            height: 500px;
            margin: auto;
            padding-top: 20px;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            z-index: 10;
            text-align: center;
            user-select: none;
        }

.roulette-item span {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

.roulette-item .thq {
    font-size: 20px;
}

.roulette-item img {
    max-width: 50px;
    max-height: 50px;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
}

.roulette-container .pointer {
    position: absolute;
    left: 310px;
    bottom: 200px;
    height: 160px;
    width: 145px;
    background: url(../img/img_zphdljcj_silver.png) no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    user-select: none;
}

    .roulette-container .pointer .draw-txt {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
        position: relative;
        top: 5px;
    }

.roulette-container .win-area {
    position: absolute;
    left: 285px;
    top: -5px;
    height: 285px;
    width: 195px;
    background: url(../img/img_zphdzz_silver.png) no-repeat;
    background-size: 100% 100%;
    z-index: 2;
}

    .roulette-container .win-area img {
        width: 85%;
        height: 87%;
        position: relative;
        left: 14px;
        opacity: 0;
    }

.roulette-wrap .type {
    height: 110px;
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

.type-item {
    height: 90px;
    width: 32%;
    margin-right: 15px;
    background: #fff;
    border-radius: 7px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

    .type-item p {
        height: 35px;
        line-height: 35px;
        color: #333;
    }

    .type-item.active {
        background: var(--color-primary);
        color: #fff;
    }

        .type-item.active p {
            color: #fff;
        }

            .type-item.active p:nth-child(2) {
                color: rgba(255, 255, 255, 0.70);
            }

    .type-item:last-child {
        margin-right: 0;
    }

    .type-item .lucky-value {
        color: #999;
    }

.records {
    --pc-record-list-height: 650px;
    width: 360px;
    height: calc(var(--pc-record-list-height) + 75px);
    background: #fff;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.06);
    border-radius: 7px;
}

    .records .record-type {
        width: 100%;
        height: 60px;
        border-bottom: 1px solid #eee;
        padding: 0 20px;
    }

        .records .record-type .record-type-item {
            width: 33.3%;
            height: 100%;
            line-height: 60px;
            text-align: center;
            cursor: pointer;
            user-select: none;
            text-align: center;
            position: relative;
        }

            .records .record-type .record-type-item.active {
                color: var(--color-primary);
            }

                .records .record-type .record-type-item.active::after {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 2px;
                    background: var(--color-primary);
                    position: absolute;
                    bottom: 0;
                }

    .records .record-list {
        padding: 0 20px;
        width: 100%;
        height: var(--pc-record-list-height);
        overflow-y: auto;
        transition: all 0.1s ease-in-out;
    }

        .records .record-list .record-item {
            width: 100%;
            height: 60px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .records .record-list .record-item .record-item-icon {
                border-radius: 50%;
                background: #f5f5f5;
                display: flex;
                justify-content: center;
                align-items: center;
                margin-right: 20px;
            }

.record-list.task .record-item-content {
    width: 55% !important;
}

.record-list.task .record-item-bonus {
    width: 30% !important;
    text-align: center !important;
    color: #999;
}

.record-list.task .task-status {
    width: 10%;
}

    .record-list.task .task-status img {
        width: 20px;
    }

.record-list.task .desc, .record-list.task .record-item-bonus span {
    text-align: left;
}

.records .nodata {
    padding: 0 20px;
    width: 100%;
    height: var(--pc-record-list-height);
    transition: all 0.1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .records .nodata img {
        width: 150px;
        margin-left: 20px;
    }

    .records .nodata p {
        color: #999;
    }

.records .loading {
    padding: 0 20px;
    width: 100%;
    height: var(--pc-record-list-height);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .records .loading img {
        width: 75px;
        height: 75px;
        object-fit: cover;
    }

.record-item-icon img {
    width: 40px;
    height: 40px;
}

.records .record-list .record-item .record-item-content {
    width: 65%;
}

.record-item-content span {
    display: block;
    font-size: 14px;
    color: #999;
}

.records .record-list .record-item .record-item-bonus {
    width: 35%;
    text-align: right;
}

.record-item-bonus span {
    font-size: 16px;
    color: #ffaa09;
}

.explain {
    margin: 20px auto;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(10px);
    color: #333;
}

    .explain .explain-content {
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px; /* 187.5% */
        white-space: pre-wrap;
        word-break: break-word;
        border-radius: 10px;
        padding: 29px;
    }

    .explain .title {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 10px;
    }

#winModal {
    border: none;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    padding: 20px;
}

    #winModal::backdrop {
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(1px);
    }

    #winModal .roulette-img {
        width: 210px;
        height: 210px;
        margin: 0 auto;
        background: rgba(0, 0, 0, 0.5);
        display: none;
    }

    #winModal .roulette-simg {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        background: rgba(0, 0, 0, 0.5);
    }

    #winModal .roulette-text {
        width: 250px;
        margin-top: -45px;
        font-size: 24px;
        color: #fff;
        text-align: center;
        padding: 10px;
        position: relative;
        z-index: 1;
        display: none;
    }

    #winModal .bonus-text {
        font-size: 20px;
        text-align: center;
        padding: 10px;
        width: 250px;
        height: 50px;
        background: #fff;
        border-radius: 5px;
        margin-top: 10px;
        color: #666;
    }

        #winModal .bonus-text span {
            font-size: 20px;
            color: #ffaa09;
        }

    #winModal .footer {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
    }

        #winModal .footer button {
            background: url(../img/close_icon.png) no-repeat;
            background-size: 100% 100%;
            width: 35px;
            height: 35px;
            border: none;
            outline: none;
            cursor: pointer;
        }


@media screen and (max-width: 750px) {
    ::-webkit-scrollbar {
        display: none;
    }

    #app .main, #app .explain {
        filter: none;
    }

    body {
        font-size: 0.4rem;
    }

    #app {
        max-width: 10rem;
        min-width: 10rem;
        font-size: 0.32rem;
        padding-bottom: 0.2rem;
    }

    .container {
        max-width: 9.5rem;
        min-width: 9.5rem;
        margin: 0 auto;
    }

    .header {
        height: 1.6rem;
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 999;
        border-width: 0.05rem;
    }


        .header .logo img {
            max-width: 4rem;
            margin-top: 0.25rem;
        }

    .divider-wrap {
        height: 0.4rem;
        margin: 0.2rem 0;
        padding: 0;
    }

        .divider-wrap .divider {
            border-top: 0.01rem solid #928bff;
        }

        .divider-wrap div:nth-child(2) {
            font-size: 0.28rem;
            width: 20%;
            height: 0.5rem;
            text-align: center;
            line-height: 0.5rem;
        }

    .act-container {
        width: 100%;
        height: 2.5rem;
        margin: 0.2rem auto;
        user-select: none;
        padding: 0.1rem 0;
        border-radius: 0.15rem;
    }

    .act-list {
        width: 100%;
        height: 1.35rem;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

        .act-list.nodata {
            font-size: 0.4rem;
            color: rgba(255, 255, 255, 0.60);
        }

    .act-item {
        min-width: 2.68rem;
        max-width: 2.68rem;
        min-height: 1.35rem;
        max-height: 1.35rem;
        padding: 0.1rem;
    }

        .act-item.active {
            border-width: 0.01rem;
        }

        .act-item .act-item-img {
            max-width: 1rem;
            max-height: 1rem;
        }

            .act-item .act-item-img span {
                font-size: 0.18rem;
                margin-top: 0.05rem;
                color: #5b5b5b;
            }

    .act-item-name {
        font-size: 0.28rem;
        flex: 1;
        width: 1.5rem;
        height: 100%;
        line-height: 1.35;
    }

    .act-container .left,
    .act-container .right {
        display: none;
    }

    .info-box {
        line-height: 1.3rem;
    }

    .main {
        padding: 0;
        box-shadow: none;
        outline: none;
        border-radius: 0.15rem;
        background: none;
    }

    .lucky-val {
        height: 0.8rem;
        line-height: normal;
        padding: 0 0.2rem
    }

        .lucky-val p {
            line-height: 1;
        }

        .lucky-val span {
            font-size: 0.32rem;
        }

            .lucky-val span.balance {
                font-size: 0.4rem;
                margin-left: 0.1rem;
            }

        .lucky-val > div > div {
            margin-right: 0.5rem;
        }

    .expired-date {
        font-size: 0.32rem;
        color: #333;
        line-height: 1.6;
    }

        .expired-date .date {
            font-size: 0.4rem;
        }

    .roulette-wrap {
        height: 10.75rem;
        width: 100%;
        float: none;
        margin-bottom: 0.2rem;
        border-radius: 0.15rem;
        background: rgba(255, 255, 255, 0.60);
        backdrop-filter: blur(3px);
    }

    .roulette-container .roulette {
        height: 7rem;
        width: 7rem;
        filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0.5));
        margin-top: 0.5rem
    }

        .roulette-container .roulette .roulette-item {
            width: 2rem;
            height: 6.5rem;
            padding-top: 0.2rem;
        }

    .roulette-item span {
        font-size: 0.36rem;
        margin-bottom: 0.2rem;
    }

    .roulette-item .thq {
        font-size: 0.32rem;
    }

    .roulette-item img {
        max-width: 0.7rem;
        min-width: 0.4rem;
        object-fit: contain;
    }

    .roulette-container .pointer {
        left: 3.65rem;
        bottom: 2.3rem;
        height: 2.45rem;
        width: 2.2rem;
    }

        .roulette-container .pointer .draw-txt {
            font-size: 0.4rem;
        }

    .roulette-container .win-area {
        left: 3.45rem;
        top: -0.15rem;
        height: 3.55rem;
        width: 2.55rem;
    }

        .roulette-container .win-area img {
            height: 3.35rem;
            width: 2.15rem;
            left: 0.1rem;
        }

    .roulette-wrap .type {
        height: 1.75rem;
        padding: 0.2rem;
        margin-top: 0.55rem;
        position: relative;
        z-index: 99;
    }

    .type-item {
        height: 1.3rem;
        width: 30%;
        margin-right: 0.4rem;
        text-align: center;
    }

        .type-item p {
            height: 0.45rem;
            line-height: 0.45rem;
        }

    .records {
        --mobile-record-list-height: 8rem;
        height: calc(var(--mobile-record-list-height) + 1.3rem);
        width: 100%;
        float: none;
        border-radius: 0.15rem;
        background: rgba(255, 255, 255, 0.60);
        backdrop-filter: blur(3px);
    }

        .records .record-type {
            height: 1.2rem;
            padding: 0 0.2rem;
            border-bottom: 0.01rem solid #C4BDD3;
        }

            .records .record-type .record-type-item {
                height: 1.2rem;
                line-height: 1.2rem;
                font-size: 0.4rem;
            }

        .records .record-list {
            height: var(--mobile-record-list-height);
            padding: 0 0.2rem;
        }

            .records .record-list .record-item {
                height: 1.2rem;
                padding: 0 0.2rem;
            }

                .records .record-list .record-item .record-item-icon {
                    margin-right: 0.2rem;
                }

    .record-list.task .task-status img {
        width: 0.5rem;
    }

    .record-list.task .record-item-bonus {
        color: rgba(255, 255, 255, 0.70);
    }

    .records .nodata {
        height: var(--mobile-record-list-height);
    }

        .records .nodata p {
            color: #eee;
        }

        .records .nodata img {
            width: 2rem;
            margin-left: 0.25rem;
        }



    .records .loading {
        height: var(--mobile-record-list-height);
    }

        .records .loading img {
            width: 1rem;
            height: 1rem;
        }

    .record-item-icon img {
        width: 0.65rem;
        height: 0.65rem;
    }

    .record-item-content span {
        color: rgba(255, 255, 255, 0.70);
        font-size: 0.35rem;
        margin-right: 0.2rem;
    }

    .records .record-list .record-item {
        border-bottom: 0.01rem solid #C4BDD3;
    }

        .records .record-list .record-item .record-item-bonus {
            width: 20%;
            text-align: right;
        }

    .record-item-bonus span {
        font-size: 0.35rem;
    }

    .explain {
        font-size: 0.28rem;
        padding: 0.25rem;
        margin: 0 auto;
        border-radius: 0.15rem;
        margin-top: 0.2rem;
        margin-bottom: 0.5rem;
    }

        .explain .explain-content {
            font-size: 0.32rem;
            padding: 0;
        }

    #winModal {
        padding: 0.2rem;
    }

        #winModal .roulette-simg {
            width: 1.2rem;
            height: 1.2rem;
        }

        #winModal .roulette-img {
            width: 3.5rem;
            height: 3.5rem;
        }

        #winModal .roulette-text {
            width: 5rem;
            font-size: 0.4rem;
            margin: 0 auto;
            margin-top: -0.8rem;
        }

        #winModal .bonus-text {
            width: 5rem;
            height: 1rem;
            line-height: 1.2;
            font-size: 0.4rem;
            margin-top: 0.2rem;
        }

            #winModal .bonus-text span {
                font-size: 0.4rem;
            }

        #winModal .footer button {
            width: 0.75rem;
            height: 0.75rem;
        }

    .loading-box .loading {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
}

/** 闪烁 */
@-webkit-keyframes flash {
    0%, 50%, to {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@keyframes flash {
    0%, 50%, to {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

.flash {
    animation: flash 0.65s 2;
}

@keyframes bounceOut {
    20% {
        transform: scale(0.9);
        opacity: 1;
    }

    50%, 55% {
        opacity: 0.5;
        transform: scale(1.1);
    }

    to {
        opacity: 0;
        transform: scale(0.3);
    }
}

@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    20% {
        transform: scale(1.1);
    }

    40% {
        transform: scale(0.9);
    }

    60% {
        opacity: 1;
        transform: scale(1.03);
    }

    80% {
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.roulette-simg.bounceOut {
    animation: bounceOut 0.5s forwards;
}

.roulette-img.bounceIn {
    animation: bounceIn 0.5s forwards;
}
