/* 公共样式 */
* {
    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: #fff;
}
.menu .mobile-search,
.menu .mobile-tags {
    display: none;
}
.menu .mobile-search:hover,
.menu .mobile-tags:hover {
    background-color: #b28e66;
}
.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;
    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: 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(../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: #ece6a9;
    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;
    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: 1200px;
}

.main-game {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.main-left,
.main-right {
    width: 23%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
}

.similar-game-left,
.similar-game-right {
    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;
    width: 50%;
}

.similar-game-left .mode1,
.similar-game-right .mode1 {
    width: 95%;
    margin: 2%;
}

.main-game .ad {
    width: 40%;
    height: auto;
    -webkit-writing-mode: vertical-rl;
            writing-mode: vertical-rl;
    text-align: center;
}

.main-game .mode1 .featured-icon {
    display: none;
}

.main-game .title {
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.main-middle {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: auto;
    background-color: #ece6a9;
    border-radius: 10px;
    padding: 5px;
    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;
}

.middle-nav {
    border-bottom: 1px dotted #035193;
    height: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.home-icon,
.back-icon {
    width: 20px;
    height: 20px;
    margin: 5px 10px 5px 5px;
    background-position: center;
    background-size: cover;
    background-color: rgb(1, 82, 148);
    color: rgb(243, 197, 35);
    border-radius: 4px;
}

.home-icon {
    background-image: url(../png/home.c0f8bd8.png);
}

.back-icon {
    background-image: url(../png/back.5664b19.png);
}

.game-name-p {
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    color: #b28e66;
    font-weight: 700;
}

.middle-game {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
}

.game-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: rgba(0, 0, 0, .3);
    -webkit-filter: blur(45px);
            filter: blur(45px);
}

.game-img {
    width: 200px;
    aspect-ratio: 1.5;
    position: absolute;
    left: 50%;
    top: 35%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 180px;
    width: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 3px solid #fff;
    border-radius: 50%;
}

.pbutton {
    position: absolute;
    bottom: 15%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 30%;
    height: 50px;
    padding: 10px;
    background-color: #9fc326;
    color: #fff;
    border: 3px solid #fff;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    border-radius: 16px;
}

.middle-game .game-name-middle {
    position: absolute;
    bottom: 5%;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-shadow: 1px 1px #505050;
    background: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(30, 87, 153, 0)), color-stop(50%, rgba(0, 0, 0, .3)), to(rgba(125, 185, 232, 0)));
    background: -webkit-linear-gradient(left, rgba(30, 87, 153, 0) 0, rgba(0, 0, 0, .3) 50%, rgba(125, 185, 232, 0) 100%);
    background: linear-gradient(to right, rgba(30, 87, 153, 0) 0, rgba(0, 0, 0, .3) 50%, rgba(125, 185, 232, 0) 100%);
    color: #fff;
}

.main-des {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 50px auto;
    padding: 20px;
    background-color: #ece6a9;
    border-radius: 14px;
}

.main-des .game-des-img {
    width: 90%;
    aspect-ratio: 1;
    margin: 0 auto;
    max-width: 400px;
    border-radius: 16px;
    background-position: center;
    background-size: cover;
}

.main-des .game-text {
    color: #b28e66;
    padding: 10px;
}

.main-des .game-des-name {
    font-family: Oswald, sans-serif;
    height: 60px;
    line-height: 60px;
    font-size: 25px;
}

.main-des .game-category {
    padding: 5px 10px;
    border: 1px solid #fff;
    display: inline-block;
    border-radius: 16px;
    background-color: #fff;
    margin: 2%;
}

.main-des .ad {
    width: 20%;
}

.similar-games {
    margin: 50px auto;
    padding: 20px;
    background-color: #ece6a9;
    border-radius: 14px;
}

.similar-games .title {
    font-size: 16px;
    font-weight: 700;
    color: #003d71;
    border-left: solid 4px #ffda19;
    text-indent: 9px;
    text-transform: capitalize;
}

.similar-games .similar-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.similar-games .similar-list .mode1 .featured-icon {
    display: none;
}

@media screen and (max-width:1200px) {
    .main {
        width: 100%;
    }
}

@media screen and (max-width:900px) {
    .game-img {
        width: 150px;
        height: 150px;
    }

    .pbutton {
        height: 30px;
        font-size: 16px;
        line-height: 25px;
        padding: 0 10px;
        top: 70%;
        width: 40%;
    }
}

@media screen and (max-width:480px) {
    .main {
        width: 100%;
    }

    .main-game {
        -webkit-box-align: center;
        -webkit-align-items: center;
           -moz-box-align: center;
                align-items: center;
    }

    .main-left,
    .main-right {
        display: none;
    }

    .main-middle {
        width: 100%;
    }

    .middle-game {
        width: 100%;
        aspect-ratio: 1;
    }

    .pbutton {
        width: 60%;
        height: 50px;
        padding: 10px;
        font-size: 20px;
    }

    .main-des {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .main-des .game-des-img {

    }


}
