/* 公共样式 */
* {
    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: Oswald, sans-serif;
    background-color: #b28e66;
}
.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 0;
    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: 5px 0px 2px 0px;
    font-size: 14px;
}
a {
    text-decoration: none;
    cursor: pointer;
}
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: 80px;
    background-color: #ece6a9;
    z-index: 99;
}
.header-box {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 900px;
    height: 80px;
    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: 10px 0;
}
.rootbg {
    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;
}
.menu .menu-item:hover {
    background-color: #b28e66;
    cursor: pointer;
    color: #ece6a9;
}

.menu .mobile-search,
.menu .mobile-tags {
    display: none;
}
.menu .mobile-search:hover,
.menu .mobile-tags:hover {
    background-color: #b28e66;
    color: #ece6a9;
}
.menu i {
    display: inline-block;
    height: 40px;
    width: 40px;
    margin: 0 auto;
    background-position: center;
    background-size: cover;
}
.tag-icon,
.mobile-tags-icon {
    background-image: url(../png/tags.3eb2cf5.png);
}
.new-icon {
    background-image: url(../png/new.e86589f.png);
}
.best-icon {
    background-image: url(../png/best.f8c96a3.png);
}
.featured-icon {
    background-image: url(../png/featured.3679f9f.png);
}
.played-icon {
    background-image: url(../png/played.7d348c4.png);
}
.mobile-search-icon,
.search-icon {
    background-image: url(../png/search.49a632c.png);
}
.menu p {
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #b28e66;
}
.menu p:hover{
    color: #ece6a9;
}
.tag {
    position: relative;
}
.tag .menu-category-list {
    width: 180px;
    position: absolute;
    display: none;
    top: 80px;
    right: 0;
    background-color: #b28e66;
    color: #ece6a9;
    font-size: 14px;
}
.tag .category-item {
    padding: 5px;
    color: #fff;
}
.tag .category-item:hover {
    background-color: #b28e66;
    color: #ece6a9;
    cursor: pointer;
}
.search {
    position: relative;
}
.search-box {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    /* display: flex; */
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
    width: 220px;
    background-color: #b28e66;
}
.search-btn {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    background-image: url(../png/search-btn.b72a509.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
}
.search-box .myInput {
    margin-left: 10px;
    padding-left: 5px;
    width: 160px;
    height: 30px;
    outline: 0;
    font-size: 1rem;
    border-radius: 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.7);
    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;
    border-bottom: 2px solid #b28e66;
}
.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(../png/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%;
    background-color: #b28e66;

}
.head-mobile .myInput {
    height: 40px;
    background-color: #8aa9c1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    outline: 0;
    font-size: 1rem;
    border: 0;
    color: #ffffff;
    display: inline-block;
    padding: 0 1em;
}
.cancel {
    position: absolute;
    top: 65px;
    right: 10px;
    display: none;
    height: 40px;
    width: 40px;
    background-image: url(../png/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;
}
/* 移动端侧边栏 */
aside {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100vh;
    background-color: #ece6a9;
    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(../png/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: #b28e66;
    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.7);
    display: none;
    z-index: 999;
}
/* 底部样式 */
/* 网页声明 */
.bottom {
    background-color: #ece6a9;
    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(../png/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: 90px auto;
}
.mode1 {
    position: relative;
    width: 16%;
    aspect-ratio: 1.3;
    background-color: #fff;
    margin: 0.33%;
    font-size: 14px;
    border: 2px solid #fff;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
}
.mode1:hover {
    border: 2px solid #b28e66;

}
.mode1 .featured-icon {
    position: absolute;
    width: 50%;
    height: 60%;
    top: -7%;
    left: -7%;
    background-image: url(../png/featured-1.2ced88a.png);
    background-size: cover;
    background-position: left;
}
.mode1 .game-name {
    width: 100%;
    height: 30px;
    line-height: 30px;
    position: absolute;
    bottom: -2px;
    text-align: center;
    color: #b28e66;
    font-size: 14px;
    font-weight: 600;
    background-color: #ece6a9;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width:900px) {
    .header-box {
        width: 100%;
    }

    /* .menu .menu-item {
        display: none;
    }

    header .menu {
        justify-content: flex-end;
    }

    .menu .mobile-search {
        display: flex;
    } */
}
@media screen and (max-width:480px) {
    .menu .menu-item {
        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%;
    }

    .mode1 {
        width: 32.3%;
    }
}
.main {
  width: 90%;
  margin: 10px auto 0;
}

.gameBox {
  width: 90%;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.gameBox .main-game {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

@media screen and (max-width:900px) {}

@media screen and (max-width:480px) {

  .game-main-item {
    width: 32.3%;
  }

}
