body {
    margin: 0;
    padding: 0
}

#q,
#nextQiShu {
    color: red
}

.kj-lotto {
    /* padding: 0 5px; */
    box-sizing: border-box;
    color: #000;
    font-size: 16px;
    text-align: center;
    max-width: 1000px;
    /* margin: 0 .6rem; */
    /* border: 1px solid #dad7d7; */
}

.kj-lotto a {
    text-decoration: none
}

.kj-lotto ul {
    margin: 0;
    padding: 0
}

.kj-lotto ul li {
    list-style: none
}
.kj-lotto .kj-lotto-tit {
    height: 2.5em;
    line-height: 2.5em;
    display: flex;
    justify-content: left
}

.kj-lotto .kj-lotto-box ul {
    display: flex;
    justify-content: space-between;
    background-color: #f0eded;
}

.kj-lotto .kj-lotto-box ul li {
    width: 13%;
    height: 115px;
    border: solid 1px #ddd;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    background: linear-gradient(to top, #eee, #fff);
	display: flex;
    align-items: center;
    justify-content: center;
	flex-direction: column;
}

.kj-lotto .kj-lotto-box ul li span {
    width: 2.8em;
    height: 2.8em;
    line-height: 2.8em;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    background-size: 100% 100% !important
}

.kj-lotto .kj-sapnjia {
    display: inline-block;
    height: 115px;
    line-height: 101px;
    color: #666a6e;
    font-size: 58px;
}

.kj-lotto .kj-lotto-red {
    background: url('../static/picture/red.png') 0 0 no-repeat;
}

.kj-lotto .kj-lotto-blue {
    background: url('../static/picture/blue.png') 0 0 no-repeat;
}

.kj-lotto .kj-lotto-green {
    background: url('../static/picture/green.png') 0 0 no-repeat;
}

.kj-lotto .kj-lotto-none {
    color: rgb(0, 0, 0);
    background-color: rgb(153, 153, 153)
}

.kj-lotto .kj-lotto-box ul li label {
    display: block;
   
    /* padding: 5px 10px;
    border-radius: 10px; */
    width: 72px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 12px;
    border-radius: 72px;
    font-size: 22px;
}
.kj-lotto .kj-lotto-box ul li label.red {
    background-color: #e04748;
}
.kj-lotto .kj-lotto-box ul li label.blue {
    background-color: #178cd0;
}

.kj-lotto .kj-lotto-box ul li label.green {
    background-color: #5db64b;
}


.kj-lotto .kj-lotto-foot {
    /* height: 46px; */
    display: flex;
    justify-content: space-between;
    align-items: center
}

.kj-lotto-foot2 {
    padding: 3px 8px;
    color: #fff;
    border-radius: 2px;
    display: inline-block;
    background: linear-gradient(to top, #c10000, #f00);
    text-decoration: none
}
@media screen and (max-width: 800px) {
    .kj-lotto {
        font-size: 15px;
        margin: 0 30px;
    }

    .kj-lotto .kj-lotto-tit {
        height: 72px;
        line-height: 72px;
        /* border: 1px solid blue; */
        display: flex;
    }
    .kj-lotto .kj-lotto-tit.last {
        background: #f0eded;
        height: 67px;
        line-height: 67px;
    }
    .kj-lotto .kj-lotto-tit>span {
        /* height: 40px;
        line-height: 40px;
        border: 1px solid blue;
        display: flex; */
        flex: 1;
        height: 72px;
        line-height: 72px;
        background-color: #fff;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #444444;
    }
    .kj-lotto .kj-lotto-tit>span img {
        width: 34px;
        height: 34px;
        margin-right: 6px;
    }
    .kj-lotto .kj-lotto-tit>span a {
        font-size: 28px;
        color: #444444;
    }

    .kj-lotto .kj-lotto-tit1 {
        font-size: 26px;
        display: flex;
        align-items: center;
        color: #444444;
    }
    .kj-lotto .kj-lotto-tit1 .name {
        margin-right: 10px;
    }
    .kj-lotto .kj-lotto-tit1 img {
        width: 34px;
        height: 34px;
        margin: 0 10px;
    }

    .kj-lotto .kj-lotto-box ul li label {
        margin-top: 6px;
    }

    .kj-lotto .kj-lotto-foot1 {
        font-size: 26px;
        display: flex;
        align-items: center;
        color: #444444;
        /* height: 67px;
        line-height: 67px; */
        /* padding: 15px 0; */
    }

    .kj-lotto .kj-lotto-box ul li {
        height: 122px;
        border-radius: 8px;
        box-shadow: 0 0 6px rgba(0, 0, 0, .1);
    }

    .kj-lotto .kj-lotto-box ul li span {
        width: 50px;
        height: 50px;
        line-height: 40px;
        font-size: 22px;
        color: #444444;
    }

    .kj-lotto .kj-lotto-box ul li em {
        margin-top: 10px;
    }
    .kj-lotto .kj-sapnjia {
        height: 100px;
        line-height: 85px;
    }
    .kj-lotto .kj-lotto-foot {
        /* height: 120px; */
        line-height: 40px;
    }

    .kj-lotto .kj-lotto-foot2 a {
        width: 70px;
        height: 26px;
        line-height: 26px;
    }

    .kj-lotto .kj-lotto-box ul {
        /* height: 60px; */
    }
}
@media screen and (max-width: 650px) {
    .kj-lotto {
        font-size: 14px;
        /* background-color: blue; */
        margin: 0 1px;
    }

    .kj-lotto .kj-lotto-tit {
        height: 36px;
        line-height: 36px;
    }

    .kj-lotto .kj-lotto-tit.last {
        background: #f0eded;
        height: 33px;
        line-height: 33px;
        margin-top: 6px;
    }

    .kj-lotto .kj-lotto-tit>span {
        /* height: 40px;
        line-height: 40px;
        border: 1px solid blue;
        display: flex; */
        flex: 1;
        height: 36px;
        line-height: 36px;
        background-color: #fff;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #444444;
    }
    .kj-lotto .kj-lotto-tit>span img {
        width: 17px;
        height: 17px;
        margin-right: 6px;
    }
    .kj-lotto .kj-lotto-tit>span a {
        font-size: 14px;
        color: #444444;
    }

    .kj-lotto .kj-lotto-tit1 {
        font-size: 13px;
        margin: 10px 0;
        /* display: flex;
        align-items: center;
        color: #444444; */
    }
    .kj-lotto .kj-lotto-tit1 .name {
        margin-right: 10px;
    }
    .kj-lotto .kj-lotto-tit1 img {
        width: 17px;
        height: 17px;
        margin: 0 10px;
    }

    .kj-lotto .kj-lotto-foot1 {
        font-size: 13px;
    }

    .kj-lotto .kj-lotto-box ul li label {
        width: 90%;
        font-size: 13px;
    }


    .kj-lotto .kj-lotto-box ul li {
        height: 85px;
        border-radius: 6px;
        box-shadow: 0 0 5px rgba(0, 0, 0, .1);
        padding: 5px 0;
    }

    .kj-lotto .kj-lotto-box ul li em {
        margin-top: 10px;
    }

    .kj-lotto .kj-lotto-box ul li span {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 18px;
    }
    .kj-lotto .kj-sapnjia {
        height: 85px;
        line-height: 75px;
        font-size: 50px;
    }
    .kj-lotto .kj-lotto-foot {
        height: 85px;
        line-height: 36px;
    }

    .kj-lotto .kj-lotto-foot2 a {
        width: 66px;
        height: 24px;
        line-height: 24px;
    }
}

@media screen and (max-width: 500px) {
    .kj-lotto {
        font-size: 13px;
    }

    .kj-lotto .kj-lotto-tit {
        height: 32px;
        line-height: 32px;
    }

    .kj-lotto .kj-lotto-box ul li {
        height: 70px;
        border-radius: 6px;
        box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    }

    .kj-lotto .kj-lotto-box ul li span {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 16px;
    }
    .kj-lotto .kj-sapnjia {
        height: 70px;
        line-height: 60px;
        font-size: 45px;
    }
    .kj-lotto .kj-lotto-box ul li em {
        margin-top: 8px;
    }

    .kj-lotto .kj-lotto-foot {
        height: 55px;
        line-height: 32px;
    }

    .kj-lotto .kj-lotto-foot2 a {
        width: 60px;
        height: 22px;
        line-height: 22px;
    }
}

@media screen and (max-width: 450px) {
    .kj-lotto {
        font-size: 12px;
    }

    .kj-lotto .kj-lotto-tit {
        height: 32px;
        line-height: 32px;
    }

    .kj-lotto .kj-lotto-box ul li {
        height: 60px;
        border-radius: 6px;
        box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    }

    .kj-lotto .kj-lotto-box ul li span {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
    .kj-lotto .kj-sapnjia {
        height: 60px;
        line-height: 55px;
        font-size: 30px;
    }
    .kj-lotto .kj-lotto-box ul li em {
        margin-top: 8px;
    }

    .kj-lotto .kj-lotto-foot {
        height: 32px;
        line-height: 32px;
    }

    .kj-lotto .kj-lotto-foot2 a {
        width: 50px;
        height: 20px;
        line-height: 20px;
    }
}

@media screen and (max-width: 400px) {
    .kj-lotto {
        font-size: 12px;
    }

    .kj-lotto .kj-lotto-tit {
        height: 30px;
        line-height: 30px;
    }

    .kj-lotto .kj-lotto-box ul li {
        height: 64px;
        border-radius: 6px;
        box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    }

    .kj-lotto .kj-lotto-box ul li span {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }

    .kj-lotto .kj-sapnjia {
        height: 60px;
        line-height: 55px;
        font-size: 25px;
    }

    .kj-lotto .kj-lotto-box ul li em {
        margin-top: 5px;
    }

    .kj-lotto .kj-lotto-foot {
        height: 30px;
        line-height: 30px;
    }

    .kj-lotto .kj-lotto-foot2 a {
        width: 46px;
        height: 20px;
        line-height: 20px;
    }
}

@media screen and (max-width: 350px) {
    .kj-lotto {
        font-size: 12px;
    }

    .kj-lotto .kj-lotto-tit {
        height: 30px;
        line-height: 30px;
    }

    .kj-lotto .kj-lotto-box ul li {
        /* height: 60px; */
        border-radius: 6px;
        box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    }

    .kj-lotto .kj-lotto-box ul li span {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }

    .kj-lotto .kj-lotto-box ul li em {
        margin-top: 5px;
    }

    .kj-lotto .kj-lotto-foot {
        height: 30px;
        line-height: 30px;
    }

    .kj-lotto .kj-lotto-foot2 a {
        width: 46px;
        height: 20px;
        line-height: 20px;
    }
}