.sup {
    position: absolute;
    right: -10px;
    top: -13px;
    width: 30px;
    height: 16px;
    background: rgba(255, 227, 0, 1);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 8px 8px 8px 0;
    color: #0E7442;
    font-size: 10px;
    text-align: center;
    line-height: 16px;
}

#landing {
    background: #BC2A18;
    text-align: center;

    #to-square {
        position: relative;
        width: 100%;
        height: 30px;
        background: #FF2121;
        color: #fff;
        font-size: 14px;
        line-height: 30px;
        text-align: center;
        z-index: 10;
    }

    .box-container {
        width: 100%;
    }

    .snow-deco {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 68px;
        background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/snow-deco.png") no-repeat;
        background-size: contain;
    }

    .main-avatar {
        width: 49px;
        height: 49px;
        border-radius: 50%;
        margin-bottom: 5px;
        margin-top: 37.5px;
        object-fit: cover;
    }

    .des {
        font-size: 14px;
        color: #FFDC1E;

        span {
            display: inline-block;
            width: 15px;
            height: 15px;
            line-height: 16px;
            color: #327443;
            border-radius: 50%;
            background: #FFDC1E;
        }
    }




    .group {
        ul.member {
            display: flex;
            padding: 0 49px;
        }

        & li:nth-last-child(1) {
            margin-right: 0;
        }

        li {
            margin-right: 24.5px;
        }

        .avatar-wrapper {
            position: relative;

            &::after {
                content: '';
                display: block;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 22px;
                height: 3px;
                background: #243529;
                opacity: 0.8;
                border-radius: 50%;
            }

            sup {
                @extend .sup;
            }

            img {
                width: 36px;
                height: 36px;
                border-radius: 50%;
            }
        }

        .bars {
            display: flex;
            padding-left: 37.5px;
            margin-top: 15px;

            & li:nth-child(1) {
                border-radius: 2px 0 0 2px;
            }

            & li:nth-last-child(1) {
                border-radius: 0 2px 2px 0;
                margin-right: 0;
            }

            li {
                width: 59px;
                height: 5px;
                margin-right: 1.5px;
                background: #035B34;

                &.active {
                    background: #FFDD1D;
                }
            }
        }

        &-des {
            margin-top: 27px;
            font-size: 14px;
            color: #FFE300;
        }

        .invite-btn {
            width: 320px;
            height: 44px;
            line-height: 44px;
            margin: 14.5px auto 57px;
            color: #0B7B45;
            font-size: 15px;
            background: #FFE300;
            border: 0;
            outline: 0;
            -webkit-appearance: none;
            border-radius: 3px;
            font-family: "HiraginoSansGB-W6", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
        }

        .certainly-prompt {
            margin-top: -43px;
            padding-bottom: 16px;
            font-size: 14px;
            color: #FFE300;
        }
    }

    .activity-end{
        display: flex;
        flex-flow: column;
        align-items: center;
        margin-top: 26px;
        font-size: 14px;
        color: #FFE300;
        div:first-child{
            margin-bottom: 5px;
        }
        div:nth-child(2){
            margin-bottom: 19px;
        }
        img{
            width: 120px;
            height: 120px;
            margin-bottom: 12px;
        }
        div:last-child{
            color: #fff;
            font-size: 12px;
        }
    }

}

.popup-container {
    .tip {
        font-size: 15px;
        line-height: 37px;
        color: #666;
        text-align: center;

        span {
            color: #FF2121;
        }
    }
}

.popup-button {
    width: 270px;
    height: 44px;
    padding: 0;
    margin-top: 20px;
    background: #FFE319;
    border: 1px solid #090909;
    border-radius: 5px;
    line-height: 44px;
    font-size: 16px;
    color: #090909;
}

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

    &.popup-container {
        .title {
            font-size: 18px;
            color: #111111;
        }
    }

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

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

.landing-join-success-wrapper {
    &.popup-container {
        width: 320px;
        text-align: center;

        .title {
            img {
                width: 54px;
                height: 54px;
                margin-bottom: 10px;
            }

            font-size: 18px;
            color: #111111;
        }
    }

    /*.tip {
        font-size: 15px;
        line-height: 37px;
        color: #666;
        text-align: center;
    }*/

    button {
        @extend .popup-button;
    }

}

.landing-create-success {
    text-align: center;

    &.popup-container {
        width: 320px;
        padding: 20px;

        .title {
            font-size: 18px;
            color: #111111;
        }
    }

    img.treasure-box {
        margin: 20px 0;
        width: 120px;
        height: 72px;
    }

    .members {
        display: flex;

        & li:nth-last-child(1) {
            margin-right: 0;
        }

        li {
            position: relative;
            margin-right: 15px;
        }

        .avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
        }

        sup {
            @extend .sup;
        }
    }

    button {
        @extend .popup-button;
    }
}

.landing-remind {
    &.popup-container {
        width: 320px;
        text-align: center;
        padding: 20px 30px;

        .title {
            font-size: 18px;
            color: #111;
            margin-bottom: 8px;
        }
    }

    img {
        margin: 18px 0 16px;
        width: 137px;
        height: 137px;
    }

    .des {
        font-size: 14px;
        color: #666;
    }
}

.landing-unpack-treasure-box {
    text-align: center;

    &.popup-container {
        width: 320px;
        padding: 20px 18px;
        top: 62px;

        .title {
            font-size: 18px;
            color: #111;
            margin-bottom: 10px;
        }
    }

    .prize-wrapper {
        width: 130px;
        height: 103px;
        margin: 0 auto 5px;
        border: 1px solid #CDCDCD;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .prize-name {
        font-size: 15px;
        color: #FF232D;
        margin-bottom: 5px;
    }

    .members {
        background: #EFEFEF;
        text-align: left;
        padding: 12px;
        margin-top: 12px;

        li:nth-last-child(1) {
            margin-bottom: 0;
        }

        li {
            display: flex;
            align-items: center;
            height: 25px;
            margin-bottom: 8px;
            font-size: 12px;
            line-height: 25px;

            .avatar-wrapper {
                position: relative;
                width: 25px;
                height: 25px;
                margin-right: 8px;

                sup {
                    @extend .sup;
                    top: -50%;
                    right: -80%;
                }
            }


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

            .prize-name {
                color: #090909;
                margin-bottom: 0;
            }

            .unopened {
                color: #9A9A9A;
            }
        }
    }

    button {
        @extend .popup-button;
    }
}

.landing-open-in-browser-tip, .landing-share-tip {
    font-size: 17px;
    color: #111;

    &.popup-container {
        width: 270px;
        text-align: center;
        top: 114px;
        padding: 20px 33px;
    }

    span {
        color: #FF2121;
    }
}

.landing-open-in-browser-tip.wechat, .landing-share-tip.wechat {
    &.popup-container {
        &::after {
            content: '';
            display: block;
            position: absolute;
            top: -50px;
            right: -18px;
            width: 50px;
            height: 38px;
            background: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/share-indicator.png") no-repeat;
            background-size: contain;
        }
    }
}

.landing-open-in-browser-tip {
    &.popup-container {
        width: 312px;
    }
}
