@charset "utf-8";

@font-face {
    font-family: "ComicSimple";
    src: url(../ttf/comic_simple.ff9243a.ttf) format("truetype");
    font-display: swap;
}

html,
body {
    width: 100%;
    /* background-color: rgb(118, 0, 196); */
    margin: 0%;
    overflow-x: hidden;
    font-family: "ComicSimple", Arial, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

h2 {
    color: white;
}

.adslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    width: 100%;
}

.gptslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 16px;
    margin-top: 0px;
}

.ad-label {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    position: relative;
    padding: 2px 0px 2px 0px;
    font-size: 14px;
}

.inbox {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    min-height: 90vh;
    margin-top: 80px;
}

.top_box {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 90%;
    max-width: 1200px;
    height: 60px;
    background-color: #ffffff;
    z-index: 999;
    border-radius: 30px;
    margin: 1% auto;
}

.top_box .fav {
    width: 70%;
    float: left;
    height: 100%;
}

.fav .rootbg {
    width: 150px;
    height: 100%;
    margin: auto;
    background-image: url(../png/julysun.c213a84.png);
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.top_box .left {
    width: 15%;
}

.left .category {
    float: left;
    width: 52px;
    height: 38px;
    border-radius: 25px;
    margin: 12px 10px;
    background: url(../png/category.d6316ac.png) center/cover;
    background-color: #0000001d;
    cursor: pointer;
}

.top_box .right {
    width: 15%;
}

.right .history {
    float: right;
    width: 52px;
    height: 38px;
    border-radius: 25px;
    margin: 12px 10px 6px 0px;
    background: url(../png/search.49a632c.png) center/cover;
    background-color: #0000001d;
    cursor: pointer;
}

.inbox .gamebox {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    padding: 1%;
    padding-top: 0;
    width: 98%;
    margin-top: 5px;
}

.gamebox .child {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    width: -webkit-calc((100% - 36px) / 6);
    width: calc((100% - 36px) / 6);
    aspect-ratio: 1;
    /* 调整宽度和边距 */
    border-radius: 15px;
    overflow: hidden;
    margin-right: 0;
    margin-left: 5px;
    margin-bottom: 5px;
    background-color: #fff;
    box-shadow: 0 3px 5px 3px rgba(0, 0, 0, .2);
    -webkit-transition: -webkit-transform 1s ease;
    transition: -webkit-transform 1s ease;
    transition: transform 1s ease;
    transition: transform 1s ease, -webkit-transform 1s ease;
    text-align: center;
    /* 添加过渡效果 */
}

.gamebox .child:hover>* {
    -webkit-transform: scale(1.1) translateY(-5px);
            transform: scale(1.1) translateY(-5px);
}

.child .bg {
    width: 98%;
    height: 98%;
    margin: auto;
    background-position: center;
    background-size: cover;
}

.child .toptag {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 0 15px 0 15px;
    background-color: #ffffff;
    background-image: url(../png/fire02.8cf0ce4.png);
    background-size: 100%;
    background-position: center;
    /* display: none; */
}

.child .title {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    padding-bottom: 5px;
    margin: -5px;
    background-color: #ffffffe3;
    /* line-height: 10%; */
    text-align: center;

    display: none;
}

.gamebox .child:hover .title {
    display: block;
}

.gamebox .child a {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 网页声明 */

.bottombox {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgb(255, 255, 255);
    text-align: center;
    padding-bottom: 20px;
}

.bottombox .btitle {
    margin: auto;
    width: 50%;
    height: 113px;
}

.bottombox .btitle .rootbg {
    margin: auto;
    width: 200px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.bottombox .btxt {
    margin: auto;
    width: 70%;
    height: auto;
}

@media screen and (max-width:480px) {
    .top_box {
        margin: 2% auto;
        height: 50px;
    }


    .left .category {
        margin: 6px 10px;
    }

    .top_box .right {
        width: 15%;
    }

    .right .history {
        margin: 6px 10px 6px 0px;
    }

    .inbox {
        margin-top: 65px;
    }

    .gamebox .child {
        width: -webkit-calc((100% - 36px)/3);
        width: calc((100% - 36px)/3);
        margin-left: 9px;
        margin-bottom: 10px;
    }

}

@media screen and (min-width:880px) {


    .top_box {
        margin: 0.5% auto;
    }

}



@media screen and (max-width:470px) {


}

@media screen and (min-width:880px) {

}
