body {
    font-family: 'Poppins', sans-serif;
}

@font-face {
    font-family: Poppins;
    src: url(../../fonts/Italic.5a59cb5.ttf);
}

/* 公共样式 */

* {
    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 {
    font: Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
    background-color: rgb(246, 249, 248);
}

.bt_iframe {
    width: 100%;
    height: 1860px;
    overflow: hidden;
    margin-bottom: 0;
}

.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 auto;
    margin-top: 0px;
    min-height: 250px;
}

.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: 5px 0px 2px 0px;
    font-size: 14px;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 15px 0;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}

button {
    background-color: transparent;
    border: 0;
}

.aside,
.search-box-top,
.head-box-top,
.head-box-first,
.mobile {
    display: none;
}

header {
    /* position: fixed; */
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    top: 0;
    width: 100%;
    z-index: 99;
    height: 110px;
}

.main-mask {
    position: fixed;
    top: 0;
    left: 0;
    float: left;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 199;
}

/* PC端 */

/* 顶栏和搜索栏 */

.top {
    width: 90%;
    height: 100px;
    max-width: 1300px;
    margin: 0 auto;
}

.desktop {
    width: 100%;
    height: 100%;
    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;
    margin: 0 auto;
}

.fav {
    height: 60px;
}

.rootbg {
    display: inline-block;
    margin-left: 10px;
    width: 150px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.space {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    color: black;
    font-size: 16px;
    font-weight: 400;
}

.top-category-list {
    margin: 30px;
}

.top-category-item {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    margin: auto;
    font-weight: 600;
}

.top-category-item:hover {
    color: rgb(137, 33, 107);
    cursor: pointer;
}

.search-box {
    height: 60px;

}

.mobile .search-btn-top,
.desktop .search-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    margin: 7.5px;
    background: -webkit-gradient(linear, left top, right top, from(#89216b), to(#da4453));
    background: -webkit-linear-gradient(left, #89216b 0%, #da4453 100%);
    background: linear-gradient(90deg, #89216b 0%, #da4453 100%);
}

.mobile .search-btn-top i,
.desktop .search-btn i {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-image: url(../../images/search.b72a509.png);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

#search-suggestions,
#search-suggestions-second {
    position: absolute;
    width: 90%;
    top: 40px;
    left: 10%;
    max-height: 55vh;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 1px solid #e6e6e69e;
    z-index: 2;
    border-radius: 0 0 10px 10px;
}

#search-suggestions-second {
    display: none;
}

#search-suggestions div,
#search-suggestions-second div {
    padding: 6px 12px;
    cursor: pointer;
}

#search-suggestions div:hover,
#search-suggestions-second div:hover {
    background-color: #555555b5;
}

/* 移动端 */

.mobile {
    width: 100%;
    height: 100%;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    display: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.mobile .menu {
    width: 40px;
    height: 40px;
    margin: 7.5px;
    background-image: url(../../images/menu-black.5e87896.png);
    background-position: center;
    background-size: cover;
}

.mobile .close {
    display: none;
    width: 40px;
    height: 40px;
    margin: 7.5px;
    background-image: url(../../images/close.007b66b.png);
    background-position: center;
    background-size: cover;
}

.mobile .mobile-title {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-box {
    position: absolute;
    top: 25%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 80%;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    height: 130px;
    padding: 0 5px;
    z-index: 999;
    background-color: #fff;
}

.mobile-box .head-mobile {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    width: 100%;
    height: 80px;
    padding: 10px 5px;
}

.head-mobile .search-btn {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 100%;
    padding: 10px 30px;
    border: rgb(229, 229, 229) 2px solid;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    background: -webkit-gradient(linear, left top, right top, from(#89216b), to(#da4453));
    background: -webkit-linear-gradient(left, #89216b 0%, #da4453 100%);
    background: linear-gradient(90deg, #89216b 0%, #da4453 100%);
}

.head-mobile .myInput {
    height: 100%;
    background-color: transparent;
    width: 80%;
    outline: 0;
    font-size: 1rem;
    border: rgb(229, 229, 229) 2px solid;
    display: inline-block;
    padding: 0 1em;
    border-radius: 10px;

}

.cancel-box {
    width: 100%;
    height: 50px;
    border-bottom: rgb(229, 229, 229) 1px solid;
}

.cancel {
    float: right;
    margin: 10px;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    background: -webkit-gradient(linear, left top, right top, from(#89216b), to(#da4453));
    background: -webkit-linear-gradient(left, #89216b 0%, #da4453 100%);
    background: linear-gradient(90deg, #89216b 0%, #da4453 100%);
    cursor: pointer;
}

.cancel i {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-image: url(../../images/close-white.27d0d87.png);
    background-position: center;
    background-size: cover;
}

.mobile-box .head-mobile #search-suggestions-second {
    margin-top: 40px;
    background-color: transparent;
    color: #fff;
    border: 0;
    width: 100%;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    overflow-y: scroll;
}

#search-suggestions-second .search-item {
    width: 45%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 20px 2.5%;
}

.search-item .search-item-icon {
    width: 180px;
    height: 180px;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
}

.search-item .search-item-name {
    height: 200px;
    line-height: 180px;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端侧边栏 */

.aside {
    width: 95%;
    margin: 0px auto 0;
    height: auto;
    display: none;
}

.aside-list {
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.aside-list div {
    height: 40px;
    width: 100%;
    line-height: 40px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(225, 225, 225, 0.4);
    background: rgba(7, 7, 7, 0.3);
}

.bottom {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 10px 0 50px;
}

.bottombox {
    position: absolute;
    color: #fff;
    left: 0;
    width: 100%;
    height: auto;
}

.bottombox .fav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    height: 60px;
}

.bottombox .fav .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 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    color: #ffffff;
    margin: auto;
    width: 100%;
    line-height: 25px;
    text-align: center;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.btxt .policy-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.btxt div {
    font-size: 18px;
    color: #999999;
}

.btxt a {
    color: #999999;
}

.awebsite {
    color: blue;
}

.top-arrow {
    position: fixed;
    width: 50px;
    height: 50px;
    background-image: url(../../images/arrow.c7cf5bb.png);
    background-position: center;
    background-size: 100% auto;
    bottom: 10%;
    right: 5%;
    display: none;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 99;
}

.main {
    margin: 0 auto 0;
    min-height: 70vh;
    width: 90%;
    max-width: 1300px;
}

.game-img {
    display: block;
    width: 98%;
    border-radius: 10px;
    background-position: center;
    background-size: cover;
}

.child .game-img {
    aspect-ratio: 1.3;
}

.game-category {
    margin: 15px 5px 0 5px;
    font-size: 14px;
    padding: 4px 8px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    color: #fff;
    background: -webkit-gradient(linear, left top, right top, from(#89216b), to(#da4453));
    background: -webkit-linear-gradient(left, #89216b 0%, #da4453 100%);
    background: linear-gradient(90deg, #89216b 0%, #da4453 100%);
}

.game-name {
    font-size: 24px;
    font-weight: 600;
    height: 60px;
    padding: 10px;
    max-width: 100%;
}

.game-intro {
    color: rgb(47, 73, 112);
    padding: 0 10px;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.child .game-intro {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 60px;
    position: relative;
}

.more-button {
    display: inline-block;
    width: 110px;
    height: 40px;
    margin: 15px 10px;
    border: #89216b solid 2px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    line-height: 36px;
}

.game-container {
    display: none;
}

.game-container.active {
    display: block;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.pagination {
    margin-top: 20px;
    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;
}

.page-button,
.nav-button {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 40px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 600;
}

.page-button:hover,
.nav-button:hover {
    background: -webkit-gradient(linear, left top, right top, from(#89216b), to(#da4453));
    background: -webkit-linear-gradient(left, #89216b 0%, #da4453 100%);
    background: linear-gradient(90deg, #89216b 0%, #da4453 100%);
    color: #fff;
}

.page-button.active {
    background: -webkit-gradient(linear, left top, right top, from(#89216b), to(#da4453));
    background: -webkit-linear-gradient(left, #89216b 0%, #da4453 100%);
    background: linear-gradient(90deg, #89216b 0%, #da4453 100%);
    color: #fff;
}

.nav-button {
    font-weight: bold;
}

.game-main-item {
    width: 32%;
    margin: 0.666%;
}

@media screen and (max-width:900px) {
    .main {
        width: 100%;
    }

    /*竖屏*/
    .head-mobile .myInput {
        width: 60%;
    }

    .top,
    .desktop-title {
        display: none;
    }

    .mobile {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }

    .fav {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
           -moz-box-flex: 1;
                flex: 1;
    }

    .fav .rootbg {
        margin: 0 auto;
    }

    .game-main-item {
        width: 95%;
        margin: 2.55%;
    }

    .bt_iframe {
        height: 2080px;
    }
}

@media screen and (max-width:480px) {
    .bt_iframe {
        height: 2760px;
    }

}



@media screen and (max-width:900px) {

  /*横屏*/

}

@media screen and (max-width:480px) {

  /*竖屏*/

}
