body {
    font-family: 'HTOWERTI', sans-serif;
}

@font-face {
    font-family: HTOWERTI;
    src: url(../../fonts/HTOWERTI.b9437c8.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;
}

.ad {
    margin: 10px 0;
    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;
    cursor: pointer;
}

p {
    font-weight: bolder;
}

.category-item {
    font-weight: bolder;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad {
    width: 100%;
    height: auto;
    background-color: rgb(216, 216, 216);
    border-radius: 15px;
    margin: 15px 0;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

button {
    background-color: transparent;
    border: 0;
}

/* header样式 */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 99;
}

.header-box {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

header .menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    -webkit-justify-content: space-around;
            justify-content: space-around;
}

.fav {
    height: 60px;
    margin: 0 auto;
}

.rootbg {
    display: inline-block;
    margin-left: 10px;
    width: 150px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.menu .menu-item {
    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-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    padding: 10px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.menu .mobile-search,
.menu .mobile-tags {
    display: none;
}

.menu i {
    display: inline-block;
    height: 40px;
    width: 40px;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
}

.menu p {
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.search-box {
    position: relative;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
    width: 400px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.search-icon {
    position: absolute;
    margin-left: 10px;
    left: 10px;
    width: 20px;
    height: 100%;
    background-image: url(../../images/search-black.f2d7520.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
}

.search-btn {
    width: 100px;
    background-color: rgb(255, 102, 0);
    height: 100%;
    color: #fff;
    border-radius: 0 15px 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.search-box .myInput {
    margin-left: 10px;
    padding-left: 45px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 100%;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px 0 0 6px;
    border: 0;
    color: #6a6f77;
    display: inline-block;
    text-decoration: none;
}

/* 移动端搜索 */

.main-mask {
    position: fixed;
    top: 0;
    left: 0;
    float: left;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 199;
}

.mobile-box {
    display: none;
}

.mobile-box {
    position: absolute;
    top: 25%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 80%;
    display: none;
    height: 60px;
    padding: 5px;
    z-index: 999;
}

.mobile-box .head-mobile {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    width: 100%;
    height: 40px;
}

.head-mobile .search-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
    aspect-ratio: 1;
    background-image: url(../../images/search-btn.b72a509.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
    background-color: transparent;
    border-radius: 50%;

}

.head-mobile .myInput {
    height: 40px;
    background-color: transparent;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    outline: 0;
    font-size: 1rem;
    border: 0;
    color: #fff;
    display: inline-block;
    padding: 0 1em;
}

.cancel {
    position: absolute;
    top: 65px;
    right: 10px;
    display: none;
    height: 40px;
    width: 40px;
    background-image: url(../../images/close-white.27d0d87.png);
    background-position: center;
    background-size: cover;
    z-index: 999;
    cursor: pointer;
}

.mobile-box .head-mobile #search-suggestions-second {
    position: absolute;
    width: 100%;
    top: 40px;
    left: 10%;
    max-height: 55vh;
    margin-top: 20px;
    color: #fff;
    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: 60px;
    height: 60px;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
}

.search-item .search-item-name {
    margin-left: 5px;
    height: 60px;
    font-size: 20px;
    line-height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 导航栏 */

.nav {
    width: 100%;
    margin-top: 60px;
    background-color: #fff;
    height: 40px;
}

.nav-list {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    line-height: 40px;
    color: rgb(0, 115, 199);
}

/* 移动端侧边栏 */

aside {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100vh;
    background-color: rgb(244, 216, 105);
    display: none;
    z-index: 999;
    overflow: scroll;
}

aside .fav {
    position: absolute;
    width: 100%;
    height: 60px;
}

aside .fav .rootbg {
    float: left;
    margin-left: 10px;
    width: 150px;
    height: 60px;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.fav .close {
    float: right;
    width: 40px;
    height: 40px;
    margin: 10px;
    background-image: url(../../images/close-white.27d0d87.png);
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.aside-list {
    margin-top: 80px;
}

.aside .item .icon {
    width: 60px;
    height: 60px;
    margin-right: 5px;
    background-position: center;
    background-size: cover;
}

.aside-list .item {
    width: 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;
    height: 80px;
    padding: 0 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;

}

.main-mask {
    position: fixed;
    top: 0;
    left: 0;
    float: left;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 999;
}

.new-games {
    padding-top: 20px;
}

.bottom {
    padding-bottom: 50px;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
}

.bottom .fav {
    margin: auto;
    height: 60px;
}

.bottom .fav .rootbg {
    margin: auto;
    width: 150px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.bottom .btxt {
    margin: auto;
    width: 80%;
    height: auto;
}

.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: 10px auto;
    max-width: 1200px;
}

.title {
    width: 100%;
    font-size: 24px;
    font-weight: 600;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    padding-left: 10px;
}

.title::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    width: 50px;
    height: 10px;
    background-color: rgb(255, 102, 0);
    border-radius: 10px;
}

.title .more {
    color: rgb(0, 115, 199);
}

.child {
    width: 23.5%;
    margin: 0.75%;
    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;
    border-radius: 10px;
    overflow: hidden;
    -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;
}

.child:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}

.child .game-img {
    width: 100%;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.child .game-name {
    width: 100%;
    background-color: #fff;
    color: black;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: 600;
}

@media screen and (max-width:900px) {

    .header-box {
        width: 100%;
    }

    .main {
        width: 98%;
        margin: 70px auto 0;
    }

    .menu .menu-item,
    .nav {
        display: none;
    }

    header .menu {
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
           -moz-box-pack: end;
                justify-content: flex-end;
    }

    .menu .mobile-search,
    .menu .mobile-tags {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }

    #search-suggestions-second .search-item {
        width: 95%;
    }

    .title {
        font-size: 20px;
    }
}

@media screen and (max-width:480px) {
    .child {
        width: 48%;
        margin: 1%;
    }


}
.new-list,
.game-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.popular-categories-list {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.popular-categories-list .item {
  width: 32%;
  margin: 0.666%;
  height: 50px;
  line-height: 50px;
  background-color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  padding-left: 20px;
  -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;
}

.popular-categories-list .item:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  color: rgb(254, 54, 56);
  cursor: pointer;
}

@media screen and (max-width:900px) {

}

@media screen and (max-width:480px) {

  .game-main-item {
    width: 32.3%;
  }

  .popular-categories-list .item {
    width: 90%;
    margin: 2% 5%;
  }
}
