.trans-height {
    transition: height .25s ease-in-out;
}

.prizes-box {
    @extend .trans-height;
    position: relative;
    height: 348px;
    background-size: 100% auto;

    .show-more {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 125px;
        height: 27px;
        background: #FF2121;
        border: 2px solid rgba(255, 33, 33, 1);
        border-radius: 5px 5px 0 0;
        font-size: 13px;
        color: #fff;
        line-height: 27px;
        text-align: center;
        z-index: 20;

        img {
            margin-left: 4.5px;
            width: 10.05px;
        }
    }

    .rule-btn {
        position: absolute;
        top: 32.5px;
        left: 50%;
        transform: translateX(-50%);
        color: #FFDD1D;
        font-size: 12px;
        text-decoration: underline;
    }

    @mixin common-deco($bg) {
        content: '';
        display: block;
        width: 100%;
        background: url($bg) no-repeat;
        background-size: 100% auto;
    }

    &::before {
        @include common-deco('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-head.png');
        height: 148.5px;
    }

    &::after {
        @include common-deco('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png');
        height: 85px;
        margin-top: -1px;
    }

    .bg {
        @extend .trans-height;
        width: 100%;
        height: 115px;
        margin-top: -1px;
        overflow: hidden;
        z-index: 10;
        background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-bg.png") repeat-y;
        background-size: 100% auto;
    }

    .inner-box {
        @extend .trans-height;
        position: absolute;
        top: 130px;
        left: 0;
        width: 100%;
        z-index: 20;
        height: 187px;
        overflow: hidden;
    }


    .prize-list {
        display: flex;
        flex-flow: wrap;
        padding: 0 57px;

        & li:nth-of-type(2n) {
            margin-right: 0;
        }

        li {
            position: relative;
            width: 125px;
            height: 99px;
            background: rgba(255, 255, 255, 1);
            border: 2px solid rgba(255, 227, 0, 1);
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
            border-radius: 1px;
            margin-right: 10.5px;
            margin-bottom: 6.5px;

            .prize-list__image {
                display: block;
                width: 100%;
                height: 100%;
                background-position: center;
                background-size: cover;
            }

            img {
                width: 90px;
                object-fit: contain;
            }
        }

        & li:last-child {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .top-tag {
            position: absolute;
            top: 0;
            right: 0;
            border-radius: 0 0 0 4px;
            font-size: 12px;
            line-height: 16px;
            text-align: center;
            padding: 0 4px;
            color: #fff;
        }

        .captain {
            background: linear-gradient(270deg, rgba(255, 93, 0, 1) 0%, rgba(255, 23, 0, 1) 100%);
        }

        .stage {
            background: linear-gradient(-90deg, rgba(0, 75, 251, 1) 0%, rgba(0, 156, 255, 1) 100%);
        }

        .no-limit {
            position: absolute;
            bottom: 0;
            right: 0;
            background: rgba(0, 0, 0, .8);
            font-size: 12px;
            color: #fff;
            padding: 0 4px;
            border-radius: 6px 0 0 0;
        }

        .bottom-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            //height: 18px;
            padding: 0 5px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0, 0, 0, .8);
            font-size: 12px;
            color: #fff;

            .progress-bar {
                position: relative;
                flex: 0 1 45px;
                height: 2px;
                background: #fff;
                border-radius: 1px;

                .progress {
                    position: absolute;
                    right: 0;
                    top: 0;
                    width: 80%;
                    height: 100%;
                    background: linear-gradient(-90deg, rgba(255, 140, 0, 1) 0%, rgba(255, 23, 0, 1) 100%);
                    border-radius: 1px;
                }
            }
        }
    }
}

.common_container {
    .container_content {
        .prizes-box {
            margin: 0 -15px;
        }
    }
}


.landing-treasure-rules {
    width: 320px;

    &.popup-container {
        top: 50%;
        transform: translate(-50%, -50%);
        .title {
            font-size: 18px;
            color: #111111;
        }
    }

    .content {
        padding: 0 19px 15px;
        margin-top: 22px;
        color: #666666;
        font-size: 14px;

        li {
            margin-bottom: 5px;
        }
    }
}

