body {
    font-family: 'Poppins', sans-serif;
}

@font-face {
    font-family: Poppins;
    src: url("poppins.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-family: Poppins, 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
    background-color: rgb(246, 249, 248);
}

.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;
    width: 100%;
    margin-bottom: 10px;

    /* height: 250px;
    width: 300px;
    background-color: #0a0a0aad;
    margin: 0px auto 10px ; */
}

.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;
}

.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 {
    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;
    display: none;
}

.mobile .search-btn-top i,
.desktop .search-btn i {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-image: url("../images/search.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.png");
    background-position: center;
    background-size: cover;
}

.mobile .close {
    display: none;
    width: 40px;
    height: 40px;
    margin: 7.5px;
    background-image: url("../images/close.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.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 {
    width: auto;
    height: 60px;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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 {
    color: #ffffff;
    margin: auto;
    width: 100%;
    line-height: 25px;
    text-align: center;
    font-size: 13px;
    padding: 16px 0 20px 0;
}

.btxt div {
    font-size: 18px;
    color: #999999;
}

.btxt a {
    color: #999999;
}

.btxt .nav,
.btxt .copyright {
    font-size: 13px;
    color: #999999;
}
.btxt .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.top-arrow {
    position: fixed;
    width: 50px;
    height: 50px;
    background-image: url("../images/arrow.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;
    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-category-description {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 24px 20px;
    word-break: break-all;
}

.game-name {
    font-size: 24px;
    font-weight: 600;
    height: 60px;
    padding: 10px;
    max-width: 90%;
    text-wrap: nowrap;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.game-intro {
    color: rgb(47, 73, 112);
    padding: 0 10px;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.child .game-intro {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    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%;
}

.overlay {
    height: 50px;
    width: calc(100% - 24px);
    margin: 16px auto;
    padding: 10px 20px;
    line-height: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.may-like .title {
    width: 100%;
    margin-bottom: 20px;
    padding: 5px 0;
    position: relative;
    font-size: 20px;
    font-weight: 700;
    border-bottom: rgb(215, 215, 215) solid 1px;
}


.may-like .title:before {
    position: absolute;
    content: "";
    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%);
    height: 3px;
    width: 40px;
    bottom: -2px;
    left: 0;
}


.may-like {
    width: 98%;
    padding: 20px;
    margin: 20px auto 0;
    background-color: rgba(0, 0, 0, 0.156);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-bottom: 16px;
}


.may-like-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    flex-wrap: wrap;
}


.game-may-like-item {
    width: 24%;
    aspect-ratio: 1.5;
    margin: 0.5%;
    position: relative;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}


.game-may-like-item:hover {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);

}
.game-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(45%, rgba(0, 0, 0, 0)), color-stop(60%, rgba(0, 0, 0, .4)), to(#000000d9));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .4) 60%, #000000d9 100%);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .4) 60%, #000000d9 100%);
    overflow: hidden;
}


.may-like .game-img {
    height: 100%;
    width: 100%;
}


.may-like .game-category {
    position: absolute;
    bottom: 60px;
    left: 20px;
}


.may-like .game-name {
    position: absolute;
    bottom: 0;
    left: 16px;
    color: #fff;
}


.game-name:hover {
    color: rgb(137, 33, 107);
    cursor: pointer;
}

@media screen and (max-width:900px) {

    .gamebox {
        width: 98%;
        margin: 0 auto;
    }

    .game-may-like-item .game-name {
        width: -webkit-calc(100% - 15px);
        width: calc(100% - 15px);
        font-size: 20px;
        left: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


@media screen and (max-width:480px) {

    .gamebox {
        width: 93%;
    }

    .may-like-list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
                gap: 16px;
    }

    .main .game-may-like-item {
        width: 98%;
        margin: 1%;
    }
}

.game-desc-item {
    width: 90%;
    margin: 20px auto 40px;
    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;
    -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;
  }
  
  .desc-game .game-category {
    display: inline-block;
    width: 110px;
    text-align: center;
  }
  
  .desc-game .game-img {
    width: 40%;
    aspect-ratio: 1.5;
    margin: auto;
  }
  
  .desc-game .game-name {
    font-size: 26px;
  }
  
  .desc-game .game-intro {
    width: 90%;
    height: auto;
    text-wrap: wrap;
    line-height: 20px;
    margin: 0 10px;
  }
  
  .desc-game .more-button {
    height: 40px;
    line-height: 40px;
    border: none;
    background: rgb(251, 33, 117);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(251, 33, 117, 1)), to(rgba(234, 76, 137, 1)));
    background: -webkit-linear-gradient(bottom, rgba(251, 33, 117, 1) 0%, rgba(234, 76, 137, 1) 100%);
    background: linear-gradient(0deg, rgba(251, 33, 117, 1) 0%, rgba(234, 76, 137, 1) 100%);
    color: #fff;
    overflow: hidden;
    margin: 0 auto;
  }

body {
    background-color: rgb(255, 255, 255);
    margin: 0%;
}

.box {
    margin: auto;
    background-color: rgb(255, 255, 255);
    width: 38%;
    padding-bottom: 100px;
}

.box .showtxt {
    text-indent: 2em;
    padding-bottom: 5%;
    margin-left: 1%;
    margin-right: 1%;
    background-color: rgba(255, 255, 255, 0.157);
    width: 98%;
    font-size: 14px;
    text-align: left;
    line-height: 21px;
}

.showtxt .txta {
    color: #434343;
}

.showtxt a {
    text-decoration: none;
    color: #002fff;
}

.showtxt .txtb {
    color: #000000;
    line-height: 50px;
    font-weight: bold;
    font-size: 20px;
    padding-top: 10px;
}

@media screen and (max-width:480px) {
    body {
        background-color: black;
    }

    .box {
        margin: 0%;
        width: 100%;
    }

    .showtxt {
        margin: 0%;
    }
}

body {
    background-color: rgb(246, 249, 248);
}
header {
    background-color: rgb(255, 255, 255);
}

.bg-white {
    background-color: #fff;
}

.back-icon {
    text-decoration: none;
    border-radius: 50%;
    position: fixed;
    top: 50px;
    left: 8px;
    z-index: 1;
    background-color: aqua;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.back-icon img {
    position: relative;
    top: 4px;
}

.adv {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif;
    text-align: center;
    margin-bottom: 12px;
    margin-top: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adv::before {
    content: 'Advertisement';
    font-size: 12px;
    font-weight: bold;
    padding: 0 0 10px 0;
    color: #000000;
}
.ad-middle {
    width: 100%;
}

.showtxt {
    margin: 24px;
}
.showtxt p {
    margin-bottom: 12px;
}

.game-tag-container {
    padding: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 10px 20px;
}
.game-tag-container span {
    padding: 7px 14px;
    border-radius: 17px;
    background: #eee;
    color: #666;
    cursor: default;
    font-size: 13px;
}

@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 {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
           -moz-box-flex: 1;
                flex: 1;
    }

    .fav .rootbg {
        margin: 0 auto;
        width: 80%;
    }

    .game-main-item {
        width: 95%;
        margin: 2.55%;
    }
}


@media screen and (max-width:900px) {

}

@media screen and (max-width:480px) {
    .desc-game .game-img,
    .desc-game .game-intro {
        width: 98%;
    }

    .recommend-list,
    .may-like-list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        flex-direction: column;
    }

    .main .game-recommend-item,
    .main .game-may-like-item {
        width: 98%;
        margin: 1%;
        aspect-ratio: 1.8;
    }
}

.logo-a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.logo-img {
    height: 48px;
}
.site-name {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-left: 14px;
    text-transform: uppercase;
}
.mobile .logo-a {
    flex-direction: row;
}