* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

body {
    width: 100%;
    min-height: 100vh;
    font: Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad {
    width: 100%;
    height: auto;
    margin: 15px auto;
    border: 1px solid #fff;

}

.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 auto;
    margin-top: 0px;
    min-height: 250px;
}

.ad-label {
    color: rgb(255, 255, 255);
    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: 5px 0px 2px 0px;
    font-size: 14px;
}

.fav {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;

}

.rootbg {
    display: inline-block;
    width: 100px;
    height: 100%;
    margin: 0 auto;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

/* 横栏 */

.top_box {
    position: fixed;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    margin: 0%;
    height: 60px;
    z-index: 999;
}

.top_box .fav,
.right {
    width: 200px;
    float: left;
    height: 100%;
}

.fav .rootbg {
    width: 150px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.top_box .search {
    /* background-color: #000; */
    margin: auto;
    /* float: left; */
    width: 50%;
    line-height: 60px;
    text-align: center;
    position: relative;
}

.search .myInput {
    background-color: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #555;
    font-size: 16px;
    padding: 10px 20px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    width: 70%;
}

#search-suggestions {
    position: absolute;
    top: 60px;
    left: 20%;
    width: 60%;
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 1px solid #e6e6e69e;
    z-index: 2;
    border-radius: 0 0 15px 15px;
}

.search .search-btn {
    background-color: transparent;
    background-image: url(../../images/search-black.f2d7520.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    height: 24px;
    position: absolute;
    right: 18%;
    top: 32px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 24px;
}

#search-suggestions div {
    padding: 6px 12px;
    cursor: pointer;
}

#search-suggestions div:hover {
    background-color: #555555b5;
}

/* 置底盒子 */

.underbox {
    position: fixed;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    margin: 0%;
    height: 60px;
    z-index: 999;
}

.underbox .childbutton {
    width: 25%;
    height: 60px;

    /* margin: 0 1% 0 1%; 
    background-color: rgb(0, 0, 0); */
}

.underbox .childbutton .cbbg {
    width: 60px;
    height: 60px;
    margin: auto;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.main {
    width: 700px;
    margin: 70px auto 50px;
    min-width: 250px;
    min-height: -webkit-calc(100vh - 120px);
    min-height: calc(100vh - 120px);
}

.header {
    width: 100%;
    height: 60px;
    background: -webkit-gradient(linear, left top, left bottom, from(#182A3D), to(#37485E));
    background: -webkit-linear-gradient(top, #182A3D 0%, #37485E 100%);
    background: linear-gradient(180deg, #182A3D 0%, #37485E 100%);
}

.game-title {
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    background: -webkit-gradient(linear, left top, left bottom, from(#FF9C6A), to(#FF5D00));
    background: -webkit-linear-gradient(top, #FF9C6A 0%, #FF5D00 100%);
    background: linear-gradient(180deg, #FF9C6A 0%, #FF5D00 100%);
    box-shadow: 0 6px 2px 0 rgba(0, 0, 0, .2);
    border-radius: 0 0 28px 28px;
    border: 3px solid #fff;
    height: 58px;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    border-top: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    margin: 0 auto 20px;
    padding-bottom: 5px;
}

.game {
    width: 98%;
    margin: 1%;
    padding-bottom: 20px;
    border: 3px solid #fff;
    border-radius: 15px;
    background: rgba(255, 255, 255, .6);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .2);
}

.game-list {
    margin-top: 20px;
    display: grid;
    gap: 10px 10px;
    padding: 0 15px;
    grid-template-columns: repeat(auto-fill, -webkit-calc((100% - 20px)/3));
    grid-template-columns: repeat(auto-fill, calc((100% - 20px)/3));
    grid-auto-flow: row dense;
}

.game-item {
    width: 100%;
    margin: 1% 0;

}

.game-img {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
}

.bottom {
    margin-top: 30px;
    padding-bottom: 70px;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;

}

.bottom a {
    color: #fff;
    text-decoration: none;

}

.bottom a:hover {
    cursor: pointer;
}

.bottom .btxt {
    margin: auto;
    width: 80%;
    height: auto;
}

.bottom .fav .rootbg {
    margin: 0 auto;
}

@media screen and (max-width:900px) {
    #search-suggestions {
        left: 0;
        width: 150%;
        margin-left: -25%;
    }

}

@media screen and (max-width:700px) {
    .main {
        width: 98%;
        margin: 70px auto 50px;
    }

    .fav .rootbg {
        width: 100px;
    }

    .top_box .search {
        width: 60%;
    }

    .search .myInput {
        width: 100%;
    }

    .search .search-btn {
        right: 10%;
    }

}

@media screen and (max-width:500px) {
    #search-suggestions {
        left: 0;
        width: 150%;
        margin-left: -25%;
    }

}

@media screen and (max-width:400px) {
    #search-suggestions {
        left: 0;
        width: 200%;
        margin-left: -50%;
    }

}
.game-list,
.gameBox {
    display: grid;
    gap: 12px 12px;
    padding: 5px 15px 30px;
    grid-template-columns: repeat(auto-fill, -webkit-calc((100% - 24px)/3));
    grid-template-columns: repeat(auto-fill, calc((100% - 24px)/3));
    grid-auto-flow: row dense;
}


.game-img {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    border: 2px solid white;
}


.game-main-item:nth-child(12n-8),
.game-main-item:nth-child(12n-1) {
    grid-column-start: span 2;
    grid-row-start: span 2;
}


@media screen and (max-width:700px) {

    .game-list,
    .gameBox {
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        gap: 5px;
        padding: 5px;
        grid-template-columns: repeat(auto-fill, -webkit-calc((100% - 10px)/3));
        grid-template-columns: repeat(auto-fill, calc((100% - 10px)/3));
    }
}
