﻿@charset "utf-8";


html,
body {
    width: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-image: url("../images/bg.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
}


a {
    text-decoration: none;
    color: rgb(0, 0, 24);
    cursor: pointer;
}


.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;
}


.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;
}


.title {
    display: inline-block;
    width: 100%;
    margin: 40px 10px 10px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    font-weight: 600;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


aside {
    width: 20%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -20%;
    z-index: 999;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
}


.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}


.show-aside {
    left: 0;
}


aside .categoryBox {
    width: 100%;
}


.aside-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 30px;
    aspect-ratio: 1;
    background-image: url("../images/close.png");
    background-position: center;
    background-size: cover;
}


.menu-title {
    text-align: center;
    margin-top: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 28px;
}


.categoryBox .Namei {
    margin: 10px auto;
    padding-left: 20px;
    width: 80%;
    height: 40px;
    line-height: 40px;
    border-radius: 15px;
    /* background-color: rgb(185, 219, 213); */
    cursor: pointer;
}


.top_box {
    width: 100%;
    height: 56px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .2);
}


.top_box .tnode {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    height: 56px;
    margin: 0 auto;
}


.fav {
    max-width: 70%;
    min-width: 70%;
    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;
}

.fav a {
    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;
}

.fav .rootbg {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    height: 80%;
    /* background-image: url(../images/main/topbox/julysun.png); */
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    cursor: pointer;
}


.tnode .left,
.tnode .right {
    width: auto;
}


.left .category {
    float: left;
    width: 38px;
    height: 38px;
    border-radius: 25px;
    margin: 9px 10px;
    background: url("../images/menu-black.png") center/cover;
    cursor: pointer;
}


.right .search {
    float: right;
    width: 38px;
    height: 38px;
    border-radius: 25px;
    margin: 9px 10px 9px 0px;
    background: url("../images/search.png") center/cover;
    cursor: pointer;

}


.search-box {
    display: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 48px;
    margin: 3px 0;
    padding: 0 5px 0 0;
    border: 2px solid #ccc;
    border-radius: 7px;
    background-color: #fff;
    overflow: hidden;
}


.search-btn,
.search-close-btn {
    margin-left: 10px;
    width: 25px;
    aspect-ratio: 1;
    background-image: url("../images/search.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
    background-color: transparent;
}


.search-btn {
    float: right;
    height: 48px;
    width: 35px;
    margin: 3px 0;
    background-image: url("../images/search.png");
}


.search-close-btn {
    position: absolute;
    right: 5px;
    top: 10px;
}


.myInput {
    height: 30px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    margin: 8px 0;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 0;
    color: #6a6f77;
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;
}


.inbox {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 0;
}


.inbox .gamebox {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 0;
    width: 98%;
    margin: 0 auto;

}


.gamebox .child:hover>* {
    -webkit-transform: scale(1.1) translateY(-2px);
    transform: scale(1.1) translateY(-2px);
}


.child .bg {
    width: 100%;
    aspect-ratio: 1;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 15px;
    background-position: center;
    background-size: cover;
    background-image: url("../images/loading.gif");
}


.child {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 12%;
    margin: 0.25%;
    aspect-ratio: 1;
    /* 调整宽度和边距 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 5px 3px rgba(0, 0, 0, .2);
    -webkit-transition: -webkit-transform 1s ease;
    transition: -webkit-transform 1s ease;
    transition: transform 1s ease;
    transition: transform 1s ease, -webkit-transform 1s ease;
    text-align: center;
    cursor: pointer;
}
.child:hover > .child-title {
    display: block;
}

.child-title {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    color: #fff;
    font-size: 13px;
    text-align: center;
    display: none;
}



.bottombox {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
}


.bottombox .btitle {
    margin: auto;
    width: 50%;
    height: 113px;
}


.bottombox .btitle .rootbg {
    margin: auto;
    max-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%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 13px;
}


#awebsite {
    color: blue;
}


.bottom-description {
    width: 60%;
    margin: 20px auto;
}


.bottom-contasiner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    text-align: center;
    width: 50%;
    margin: 20px auto;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}


.bottombox .title {
    margin: 10px auto;
}


.bottom-pages-list {
    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;
}


.bottom-category-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}


.bottom-pages-list a {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    -moz-box-flex: 2;
    flex: 2;
    line-height: 30px;

    color: blue;
}


.bottom-category-item {
    width: 50%;
    line-height: 30px;
}


.desc-game {
    width: 98%;
    margin: 30px auto;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, .2);
    padding: 20px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.desc-game .desc-img {
    height: 100px;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    border-radius: 15px;
    margin-right: 10px;
}


.desc-game .desc-game-main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}


.desc-game-main .desc-detail {
    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-justify-content: space-around;
    justify-content: space-around;
    padding: 10px 5px;
}


.desc-detail .desc-gamename {
    font-size: 20px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}


.desc-detail .desc-star {
    position: relative;
    width: 80px;
    height: 20px;
    background-image: url("");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 2%;
    vertical-align: middle;
}


.desc-detail .desc-mask {
    width: 10px;
    height: 100%;
    position: absolute;
    right: 0;
    background-color: #fff;
}


.desc-detail .desc-pbutton {
    border: 1px solid #4CC65E;
    padding: 7px;
    width: 60px;
    text-align: center;
    font-size: 15px;
    border-radius: 7px;
    color: #4CC65E;
    margin-top: 5px;
    cursor: pointer;
}


.desc-game .desc-intro {
    margin: 5px;

}


@media screen and (max-width:900px) {
    .top_box .tnode {
        width: 90%;
    }

    aside {
        height: 100vh;
        width: 40%;
        left: -40%;
        overflow: hidden;
        overflow: scroll;
    }

    .tnode .left,
    .tnode .right {
        width: auto;
    }
}


@media screen and (max-width:470px) {
    .child {
        width: -webkit-calc((100% - 40px)/4);
        width: calc((100% - 40px)/4);
        margin: 1.2%;
    }

    aside {
        width: 80%;
        left: -80%;
    }

    .bottom-contasiner {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        flex-direction: column;
    }

    .bottom-description {
        margin: 10px auto;
        width: 90%;
    }


    .bottombox .btxt {
        font-size: 12px;
    }

    .tnode .right {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -moz-box-flex: 1;
        flex: 1;
    }

    .myInput {
        padding: 0 0.5em;
    }

    .title {
        margin: 20px 10px 10px;
        font-size: 18px;
    }

}

.inbox {
    width: 90%;
    padding-bottom: 20px;
}


.most-online-games,
.may-like-games,
.hot-games {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}


.inbox .title {
    padding-right: 15px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
}


.title span {
    height: 100%;
    aspect-ratio: 1;
    background-image: url("../images/right-arrow.png");
    background-position: center;
    background-size: cover;
    cursor: pointer;
}


.mode2 {
    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: 24%;
    margin: 0.5%;
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    box-shadow: 0 0 8px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .2);
}


.mode2 .game-img {
    width: 100%;
    aspect-ratio: 1.8;
    background-position: center;
    background-size: cover;
}


.mode2 .game-intro {
    margin: 5px;
    margin-left: 10px;
    max-height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}


.mode3 {
    width: 32%;
    margin: 0.667%;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .2);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
}


.mode3 .game-img {
    width: 50%;
    aspect-ratio: 1.8;
    background-position: center;
    background-size: cover;
}


.mode3 .game-desc {
    width: 50%;
    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;
    padding: 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.mode3 .game-desc .game-name {
    /* height: 50%; */
    font-weight: 600;
    font-size: 16px;
    min-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.mode3 .game-desc .game-intro {
    /* height: 50%; */
    /* overflow: hidden;
  text-overflow: ellipsis; */
    font-size: 12px;
    color: #4EA697;
    max-height: 40px;
    line-height: 20px;
    overflow: hidden;
    position: relative;
}


.only-two-line {
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}


@media screen and (max-width:900px) {
    .mode2 {
        width: 30%;
        margin: 1.667%;
    }

    .mode3 {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        flex-direction: column;
        width: 30%;
        margin: 1.667%;
    }

    .mode3 .game-img {
        width: 100%;
        aspect-ratio: 2;
    }

    .mode3 .game-desc {
        width: 100%;
        padding: 10px;
    }
}


@media screen and (max-width:470px) {

    .mode2 {
        width: 95%;
        margin: 2.5%;
    }

    .mode3 {
        width: 45%;
        margin: 2.5%;
    }

}

.bg-color {
    background-color: rgb(245, 239, 230);
}

.show-menu-body {
    height: 100vh; overflow: hidden;
}

.categoryBox > div {
    background-color: rgb(255, 210, 127);
}

.bg-yellow {
    background-color: rgb(255, 210, 127);
}

.main-games {
    padding-top: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.iframe {
    overflow: hidden;
    width: 100%;
    height: -webkit-calc(100% - 60px);
    height: calc(100% - 60px);
    /* background-color: black; */
    position: absolute;
    top: -webkit-calc(50% + 28px);
    top: calc(50% + 28px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0 auto;
    display: block;
}