* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html, body {
    font-size: 14px;
}

img {
    border: 0px;
    vertical-align: top;
}

ul, li {
    list-style-type: none;
}

.lottery-box {
    overflow: hidden;
    width: 56.55vh;
    height: 100vh;
    margin: 0 auto;
    padding-bottom: 2vh;
    background: url(../img/bg.png) center center/cover no-repeat;
}

.lottery-box .title {
    width: 53.4vh;
    height: 19.3vh;
    display: flex;
    margin: 1.7vh auto 1.1vh;
    flex-direction: column;
    align-items: center;
    padding: 5.7vh 0 0;
    background: url(../img/title-bg.png) no-repeat center center/cover;
    border-radius: 0.8vh;
}

.lottery-box .title .img {
    width: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottery-box .title .img>img {
    width: 100%;
}

.lottery {
    width: 53.4vh;
    height: 76vh;
    overflow: hidden;
    margin: 0 auto 0;
    background: url(../img/img-bg.png) no-repeat center center/cover;
    border-radius: 0.8vh;
}

.lottery .lottery-item {
    height: auto;
    position: relative;
    margin-top: 1.8vh;
    margin-left: 1.1vh;
}

.lottery .lottery-item ul li {
    width: 15.9vh;
    height: 23vh;
    position: absolute;
    margin-right: 1.7vh;
    margin-bottom: 1.6vh;
}

.lottery .lottery-item ul li .active-on {
    width: 15.9vh;
    height: 23vh;
    padding-top: 1.2vh;
    border-radius: 0.7vh;
    /* overflow: hidden; */
    background: url(../img/image-bg.png) no-repeat center center/cover;
    box-shadow: 5px 0 8px rgba(75, 96, 71, 0.71);
}

.lottery .lottery-item ul li:nth-child(2) {
    left: 17.6vh;
}

.lottery .lottery-item ul li:nth-child(3) {
    left: 35.2vh;
}

.lottery .lottery-item ul li:nth-child(4) {
    left: 35.2vh;
    top: 24.6vh;
}

.lottery .lottery-item ul li:nth-child(5) {
    left: 35.2vh;
    top: 49.2vh;
}

.lottery .lottery-item ul li:nth-child(6) {
    left: 17.6vh;
    top: 49.2vh;
}

.lottery .lottery-item ul li:nth-child(7) {
    left: 0;
    top: 49.2vh;
}

.lottery .lottery-item ul li:nth-child(8) {
    left: 0;
    top: 24.6vh;
}

.lottery .lottery-item ul li .img {
    width: 12vh;
    height: 14vh;
    border-radius: 0.7vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.2vh 2.1vh 0.5vh 1.7vh;
}

.lottery .lottery-item ul li .img img {
    width: 12vh;
    max-height: 100%;
}

.lottery .lottery-item ul li p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 14.4vh;
    height: 3.1vh;
    font-size: 1.7vh;
    line-height: 1.7vh;
    font-weight: bold;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    border: none;
}

@media screen and (max-height:720px) and (min-width:768px) {
    .lottery .lottery-item ul li p span {
        vertical-align: top;
        font-size: 1.7vh;
        line-height: 1.7vh;
        -webkit-transform: scale(0.8, 0.8);
    }
}

.lottery .lottery-item ul li.on .active-on {
    background: url(../img/image-bg-on.png) no-repeat center center/cover;
}

.lottery .lottery-item .lottery-start {
    position: absolute;
    left: 17.6vh;
    top: 24.6vh;
    width: 15.9vh;
    height: 23vh;
    cursor: pointer;
    border-radius: 0.6vh;
    overflow: hidden;
    box-shadow: 5px 0 8px rgba(75, 96, 71, 0.71);
}

.lottery .lottery-item .lottery-start img {
    width: 100%;
}

.mask {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    z-index: 222;
    top: 0;
    left: 0;
    background: url(../img/mask.png) no-repeat center center/cover;
}

.lottery-alert {
    z-index: 10000;
    width: 35.9vh;
    height: 52.1vh;
    position: fixed;
    top: 50%;
    left: 50%;
    padding-top: 18.3vh;
    transform: translate(-50%, -50%);
    background: url(../img/mask-image-bg.png) no-repeat center center/cover;
    box-shadow: 3px 0 3px rgba(0, 0, 51, 0.71);
    border-radius: 1.5vh;
}

.lottery-alert h1 {
    width: 33vh;
    height: 7.5vh;
    margin: 0 auto;
    font-size: 2.8vh;
    line-height: 2.8vh;
    font-weight: 400;
    color: #FFF;
    text-align: center;
    position: relative;
    z-index: 2;
}

.lottery-alert h1>p {
    margin: 1.5vh auto 0;
    font-size: 3.2vh;
    line-height: 3.2vh;
    letter-spacing: 1px;
    color: #FFD149;
    text-align: center;
}

.lottery-alert .mask-img {
    /* margin: -4.167vh auto 0; */
    margin: 2.4vh auto 0;
    width: 33vh;
    height: 14.3vh;
    position: relative;
}

.lottery-alert .mask-img-on {
    /* margin: 2.644vh auto 0.563vh; */
}

.lottery-alert .mask-img .img {
    width: 100%;
    height: 14.3vh;
    position: relative;
}

.lottery-alert .mask-img .img img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    /* width: 15.638vh; */
    /* width: 100%; */
    width: auto;
    height: 14.3vh;
}

.lottery-alert .mask-img p {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #FFF;
    font-size: 5.231vh;
    line-height: 5.231vh;
    font-weight: bold;
    z-index: 2;
}

.lottery-alert .btn-div {
    width: 28vh;
    height: 3.2vh;
    margin: 2.4vh auto 0;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    justify-content: space-between;
}

.lottery-alert .btn-div2 {
    justify-content: center;
}

.lottery-alert .btn-div .btnsave {
    border-radius: 1.6vh;
    width: 12.5vh;
    height: 3.2vh;
    cursor: pointer;
    line-height: 1.8vh;
    font-size: 1.8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: bold;
    background-image: -webkit-linear-gradient(-180deg, #000100,#333);
    border: 1px solid #dbb476;
    padding-bottom: 1px;
    box-shadow: 0px 1px 3px 0px rgba(96, 162, 114, 0.71);
}

.btnsave span {
    line-height: 1.8vh;
    font-size: 1.8vh;
    background-image: -webkit-linear-gradient(-180deg, #dba755,#fbdcab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lottery-alert .close {
    width: 5.4vh;
    height: 5.4vh;
    position: absolute;
    bottom: -6.6vh;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.lottery-alert .close img {
    width: 100%;
    height: 100%;
}

.lottery-alert .mask-img-tips {
    margin-top: 1.4vh;
    height: 13vh;
}

.lottery-alert .mask-img.mask-img-tips .img, .lottery-alert .mask-img.mask-img-tips .img img {
    height: 13vh;
}

.lottery-alert .mask-tips p {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #FFF;
}

@media screen and (max-height:720px) {
    .lottery-alert h1 {
        transform: scale(0.8);
        margin-top: -2.5vh;
    }

    .lottery-alert .mask-tips p span {
        display: inline-block;
        width: 130%;
        margin-left: -15%;
        vertical-align: top;
        font-size: 12px;
        line-height: 16px;
        -webkit-transform: scale(0.6, 0.6);
    }

    .mask2 .lottery-alert2 .h1 {
        width: 120%;
        margin-left: -10% !important;
    }
}

.lottery-alert .btn-div-tips {
    margin-top: 1.4vh;
}

.mask2 .lottery-alert .img {
    width: 97%;
    /* margin: -4.106vh auto 2.25vh; */
    margin: 2.4vh auto 0;
    height: 14.3vh;
}

.mask2 .lottery-alert .img img {
    width: 100%;
    height: 14.3vh;
}

.mask2 .lottery-alert .btnsave {
    margin: 0 auto;
    border-radius: 1.6vh;
    width: 12.5vh;
    height: 3.2vh;
    cursor: pointer;
    font-size: 1.8vh;
    line-height: 1.8vh;
    display: flex;
    padding-bottom: 1px;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: bold;
    border: 1px solid #F8E9D2;
}

.mask2 .lottery-alert2 h1 {
    height: auto;
    font-size: 2.4vh;
    line-height: 2.8vh;
    margin-bottom: 0;
    margin-top: -2vh;
}

.mask2 .lottery-alert2 h1.qrcode {
    margin-top: 0;
    margin-bottom: 0;
}

.mask2 .lottery-alert2 .h1 {
    height: auto;
    /* font-size: 1.8vh; */
    font-size: 1.6vh;
    margin: 1vh auto 0;
    line-height: 2.099vh;
}

.mask2 .lottery-alert2 .img {
    /* width: 19.688vh; */
    width: 18vh;
    height: 18vh;
    margin-top: 1.4vh;
}

.mask2 .lottery-alert2 .img img {
    width: 100%;
    height: 100%;
}

.mask2 .lottery-alert2 .btnsave {
    margin-top: 1.33vh;
}

.mask-pop {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    z-index: 225;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0);
}

.mask-pop .mask-loading {
    width: 7.875vh;
    height: 7.875vh;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.pswp__preloader__icn {
    opacity: 0.75;
    width: 7.875vh;
    height: 7.875vh;
    -webkit-animation: clockwise 500ms linear infinite;
    animation: clockwise 500ms linear infinite;
}

.pswp__preloader__cut {
    position: relative;
    width: 3.9375vh;
    height: 7.875vh;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.pswp__preloader__donut {
    box-sizing: border-box;
    width: 7.875vh;
    height: 7.875vh;
    border: 2px solid #000;
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    margin: 0;
    -webkit-animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
    animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
}

@-webkit-keyframes clockwise {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes clockwise {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@-webkit-keyframes donut-rotate {
    0% {
        -webkit-transform: rotate(0)
    }

    50% {
        -webkit-transform: rotate(-140deg)
    }

    100% {
        -webkit-transform: rotate(0)
    }
}

@keyframes donut-rotate {
    0% {
        transform: rotate(0)
    }

    50% {
        transform: rotate(-140deg)
    }

    100% {
        transform: rotate(0)
    }
}

@media screen and (max-width:768px) {
    .lottery-box {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding-bottom: 3.1vw;
        background-size: 100% 100%;
    }

    .lottery-box .title {
        width: 94.4vw;
        height: 34.2vw;
        margin: 2.9vw auto 2.1vw;
        padding: 10.2vw 0 0;
    }

    .lottery-box .title .img {
        width: 90vw;
    }

    .lottery {
        width: 94.3vw;
        height: 134.4vw;
    }

    .lottery .lottery-item {
        margin-top: 3.1vw;
        margin-left: 2vw;
    }

    .lottery .lottery-item ul li {
        width: 28.1vw;
        height: 40.7vw;
        margin-right: 3vw;
        margin-bottom: 3.2vw;
    }

    .lottery .lottery-item ul li .active-on {
        width: 28.1vw;
        height: 40.7vw;
        padding: 2.2vw 2.2vw 0 1.7vw;
        border-radius: 1.3vw;
        box-shadow: 5px 0 8px rgba(75, 96, 71, 0.71);
    }

    .lottery .lottery-item ul li:nth-child(2) {
        left: 31.1vw;
    }

    .lottery .lottery-item ul li:nth-child(3) {
        left: 62.2vw;
    }

    .lottery .lottery-item ul li:nth-child(4) {
        left: 62.2vw;
        top: 43.4vw;
    }

    .lottery .lottery-item ul li:nth-child(5) {
        left: 62.2vw;
        top: 86.8vw;
    }

    .lottery .lottery-item ul li:nth-child(6) {
        left: 31.1vw;
        top: 86.8vw;
    }

    .lottery .lottery-item ul li:nth-child(7) {
        left: 0;
        top: 86.8vw;
    }

    .lottery .lottery-item ul li:nth-child(8) {
        left: 0;
        top: 43.4vw;
    }

    .lottery .lottery-item ul li .img {
        width: 21vw;
        height: 25vw;
        overflow: hidden;
        margin: 1.7vw auto 1.6vw;
    }

    .lottery .lottery-item ul li .img img {
        width: 100%;
    }

    .lottery .lottery-item ul li p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 25.5vw;
        height: 5.5vw;
        font-size: 3vw;
        line-height: 3vw;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2.7vw;
        color: #000000;
        border: none;
    }

    .lottery .lottery-item .lottery-start {
        position: absolute;
        left: 31.3vw;
        top: 43.4vw;
        width: 28.1vw;
        height: 40.7vw;
        cursor: pointer;
    }

    .lottery-alert {
        z-index: 10000;
        width: 63.5vw;
        height: 92.1vw;
        position: fixed;
        top: 50%;
        left: 50%;
        padding-top: 32.4vw;
        transform: translate(-50%, -50%);
        background: url(../img/mask-image-bg.png) no-repeat center center/cover;
        border-radius: 2.5vw;
    }

    .lottery-alert h1 {
        width: 55.6vw;
        height: auto;
        margin: 0 auto;
        font-size: 5vw;
        line-height: 5vw;
        /* font-weight: bold; */
        font-weight: 400;
        color: #FFF;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .lottery-alert h1>p {
        margin: 2.6vw auto 0;
        font-size: 5.7vw;
        line-height: 5.7vw;
        letter-spacing: 1px;
        text-align: center;
    }

    .lottery-alert .mask-img {
        /* margin: -5.4vw auto 0; */
        margin: 4.2vw auto 0;
        width: 63vw;
        height: 25.2vw;
        position: relative;
    }

    .lottery-alert .mask-img .img {
        width: 100%;
        height: 25.2vw;
        position: relative;
    }

    .lottery-alert .mask-img .img img {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        /* width: 100%; */
        width: auto;
        height: 25.2vw;
    }

    .lottery-alert .mask-img p {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        color: #FFF;
        font-size: 9.3vw;
        line-height: 9.3vw;
        font-weight: bold;
        z-index: 2;
    }

    .lottery-alert .btn-div {
        width: 50vw;
        height: 5.7vw;
        margin: 4.2vw auto 0;
        display: flex;
        align-items: center;
        /* justify-content: center; */
        justify-content: space-between;
    }

    .lottery-alert .btn-div2 {
        justify-content: center;
    }

    .lottery-alert .btn-div .btnsave {
        border-radius: 2.8vw;
        box-shadow: 1px 0 3px rgba(34, 47, 73, 0.71);
        width: 22.0vw;
        height: 5.7vw;
        cursor: pointer;
        text-align: center;
        line-height: 3.3vw;
        color: #FFF;
        font-weight: bold;
        font-size: 3.3vw;
    }

    .btnsave span {
        line-height: 3.3vw;
        font-size: 3.3vw;
    }

    .lottery-alert .close {
        width: 9.6vw;
        height: 9.6vw;
        position: absolute;
        bottom: -11.8vw;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
    }

    .lottery-alert .close img {
        width: 100%;
        height: 100%;
    }

    .lottery-alert .mask-img-tips {
        margin-top: 2.7vw;
        height: 23.2vw;
    }

    .lottery-alert .mask-img.mask-img-tips .img, .lottery-alert .mask-img.mask-img-tips .img img {
        height: 23.2vw;
    }

    .lottery-alert .mask-tips p {
        font-size: 10px;
        line-height: 14px;
        text-align: center;
        color: #FFF;
    }

    .lottery-alert .btn-div-tips {
        margin-top: 2.7vw;
    }

    .mask2 .lottery-alert .img {
        width: 97%;
        height: 25.2vw;
        margin: 4.2vw auto 0;
        /* margin: -7.3vw auto 0; */
    }

    .mask2 .lottery-alert .img img {
        width: 100%;
        height: 25.2vw;
    }

    .mask2 .lottery-alert .btnsave {
        margin: 0 auto 0;
        border-radius: 2.8vw;
        box-shadow: 1px 0 3px rgba(34, 47, 73, 0.71);
        width: 22.0vw;
        height: 5.7vw;
        cursor: pointer;
        text-align: center;
        line-height: 3.3vw;
        color: #FFF;
        font-weight: bold;
        font-size: 3.3vw;
    }

    .mask2 .lottery-alert2 h1 {
        height: auto;
        font-size: 4.26vw;
        line-height: 5vw;
        margin-bottom: 8.83vw;
        margin-bottom: 0;
        margin-top: -3.3vw;
    }

    .mask2 .lottery-alert2 h1.qrcode {
        margin-top: 0;
        margin-bottom: 0;
    }

    .mask2 .lottery-alert2 .h1 {
        height: auto;
        font-size: 3.2vw;
        margin: 2.2vw auto 0;
        line-height: 3.73vw;
    }

    .mask2 .lottery-alert2 .img {
        width: 32vw;
        height: 32vw;
        margin-top: 2.5vw;
    }

    .mask2 .lottery-alert2 .img img {
        width: 100%;
        height: 100%;
    }

    .mask2 .lottery-alert2 .btnsave {
        margin-top: 2.3vw;
    }

    .mask-pop .mask-loading {
        width: 14vw;
        height: 14vw;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        transform: translate(-50%, -50%);
    }

    .pswp__preloader__icn {
        opacity: 0.75;
        width: 14vw;
        height: 14vw;
        -webkit-animation: clockwise 500ms linear infinite;
        animation: clockwise 500ms linear infinite;
    }

    .pswp__preloader__cut {
        position: relative;
        width: 7vw;
        height: 14vw;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
    }

    .pswp__preloader__donut {
        box-sizing: border-box;
        width: 14vw;
        height: 14vw;
        border: 2px solid #000;
        border-radius: 50%;
        border-left-color: transparent;
        border-bottom-color: transparent;
        position: absolute;
        top: 0;
        left: 0;
        background: none;
        margin: 0;
        -webkit-animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
        animation: donut-rotate 1000ms cubic-bezier(.4, 0, .22, 1) infinite;
    }
}