@charset "utf-8";

@font-face {
    font-family: "ComicSimple";
    src: url(../fonts/comic_simple.ff9243a.ttf) format("truetype");
    font-display: swap;
}

html,
body {
    width: 100%;
    background-color: rgb(120, 216, 213);
    margin: 0;
    overflow-x: hidden;
    font-family: "ComicSimple", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: rgb(0, 0, 24);
}

.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;
    width: 100%;
}

.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 0 2px;
    font-size: 14px;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

h2 {
    height: 50px;
    line-height: 50px;
    font-size: 1.8rem;
    margin-top: 40px;
    padding-left: 15px;
}

.awebsite {
    text-align: center;
    font-size: 30px;
}

.title {
    font-size: 30px;
    text-align: center;
}

.fixed {
    position: fixed;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgb(105, 147, 146);
    z-index: 100;
}

.fav {
    height: 60px;
    line-height: 60px;
    font-size: 1.7rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;

}

.rootbg {
    margin: 0 auto;
    width: 150px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

/* 搜索功能 */

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    /* justify-content: space-around; */
    width: 100%;
    height: 50px;
    padding: 5px;
    background-color: #fff;
    border-bottom: 1px solid rgb(153, 153, 153);
}

.search-btn {
    /* margin: 5px; */
    margin-left: 10px;
    width: 30px;
    background-image: url(../images/search-black.f2d7520.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    background-color: #fff;
}

.search-box .myInput {
    height: 40px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    /* margin: 5px 0; */
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 0;
    color: #6a6f77;
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;

}

.search-box .close {
    position: fixed;
    right: 1.5%;
    top: auto;
    width: 30px;
    height: 30px;
    margin-top: 5px;
    display: none;
    background-image: url(../images/close.007b66b.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    background-color: #fff;
}

.search-suggestions {
    margin-top: 50px;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: #fff;

}

.search-suggestions .title {
    position: fixed;
    width: 100%;
    padding: 20px;
    padding-left: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid rgb(153, 153, 153);
    background-color: #fff;
}

.search-games {
    margin-top: 50px;
    width: 100%;
    height: 80%;
    padding-top: 70px;
}

.search-games .search-game-item {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    padding: 1rem 1.4rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.search-game-item img {
    width: 10%;
    margin: 0 10px;
    aspect-ratio: 1;
    border-radius: 10px;
    min-width: 50px;
}

.search-game-item .game-name {
    width: 80%;
    padding-left: 10px;
    /* font-size: 1.2rem; */
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-game-item .game-category {
    /* width: 10%; */
    font-size: 1.4rem;
    padding-right: 10px;
    color: rgb(110, 110, 110);
}

.suggestions {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 95%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 1px solid #e6e6e69e;
    z-index: 2;
    border-radius: 0 0 10px 10px;
}

.search .search-btn {
    background-color: transparent;
    background-image: url(../images/bar1.1e74726.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    height: 24px;
    position: absolute;
    right: 25%;
    top: 32px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 24px;
}

.suggestions div {
    padding: 6px 12px;
}

.suggestions div:hover {
    background-color: #555555b5;
}

/* 底部样式 */

.bottom {
    /* margin-top: 30px; */
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: rgb(68, 68, 68);
    padding-bottom: 50px;
}

.bottom a {
    color: #fff;

}

.bottom .btxt {
    margin: auto;
    width: 80%;
    height: auto;
}

.bottom .rootbg {
    margin: 0 auto;
}

.main {
    width: 900px;
    margin: 80px auto 0;
    min-height: 75vh;
}

.home {
    position: fixed;
    bottom: 10%;
    right: 20px;
    height: 50px;
    width: 50px;
    z-index: 999;
    background-image: url(../images/home-white.12e3f62.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* border: 1px solid black; */
    border-radius: 50%;
    background-color: black;
}

/* 孩子模版1样式 */

.mode1 {
    width: 80%;
    margin: 0 auto;
}

.mode1 {

    display: -webkit-box;

    display: -webkit-flex;

    display: -moz-box;

    display: flex;
    margin-top: 20px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.mode1 .game-img {
    position: relative;
    width: 30%;
    aspect-ratio: 1.5;
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    /* flex: 1; */
}

.mode1 .game-decs {
    width: 70%;
    margin-left: 3%;
    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: space-evenly;
    -webkit-justify-content: space-evenly;
       -moz-box-pack: space-evenly;
            justify-content: space-evenly;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.mode1 .game-name,
.mode3 .game-name {
    font-size: 20px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mode1 .game-intro {
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mode1 .game-count {
    position: absolute;
    border: 1px solid #fff;
    /* width: 30%; */
    padding: 0 5px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #fff;
}

/* 孩子模版2样式 */

.mode2 {
    width: 14.5%;
    margin: 1%;
}

.mode2 .game-img {
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 16px;
    background-position: center;
    background-size: cover;

}

.mode2 .game-name {
    margin: 5px;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 孩子模版3样式 */

.mode3 {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin-top: 20px;
}

.mode3 .game-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .3);
    background-position: center;
    background-size: cover;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    object-fit: cover;
    -webkit-filter: blur(20px);
            filter: blur(20px);
}

.mode3 .game-img {

    width: 40%;
    aspect-ratio: 1.5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    border: 2px solid transparent;
    border-radius: 24px;
}

.mode3 .game-name {
    z-index: 2;
    margin-top: 20px;
    margin-left: 10px;
    width: 60%;
}

/* 适配 */

@media screen and (max-width:900px) {
    .main {
        padding: 0 10px;
        width: 100%;
        /* margin-top: 120px; */
    }

    .search-suggestions .title,
    .search-game-item .game-category {
        font-size: 1.2rem;
    }

    .search-games .search-game-item {
        padding: 1rem 0.1rem;
    }

    .mode1,
    .mode3 {
        width: 100%;
    }

    .mode2 {
        width: 31%;
    }
}
.main {
    position: relative;
}

.main-game {
    width: 80%;
    margin: 0 auto;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    min-width: 280px;
}

.back {
    position: absolute;
    background-image: url(../images/back.e0d60b4.png);
    background-size: cover;
    background-position: center;
    width: 50px;
    height: 50px;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    cursor: pointer;
    /* border: 1px solid black; */
    /* font-size: 50px; */
    /* background-color: black; */
}

.main-img {
    width: 45%;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
    min-width: 195px;

}

.main-right {
    width: 45%;
    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;

}

.main-name {
    font-size: 2rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;

}

.main-category {
    display: inline-block;
    margin: 10px 0;
    /* width: 70px; */
    padding: 10px 20px;
    text-align: center;
    height: 30px;
    line-height: 10px;
    border: 1px solid black;
    border-radius: 15px;
    background-color: #fff;
    cursor: pointer;
}

.main-intro {
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-commend {
    width: 80%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 30px auto;
    text-align: center;
    font-size: 20px;
    height: 50px;
    line-height: 50px;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
       -moz-box-pack: space-evenly;
            justify-content: space-evenly;
}

.like-click,
.pbutton {
    width: 45%;
    border: 2px solid black;
    border-radius: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.like {
    background-color: coral;
    color: #fff;
    border: 2px solid #fff;
}

.game-hot-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.hot-game {
    margin-top: 100px;
}

/* 适配 */

@media screen and (max-width:750px) {

    .main-game,
    .game-hot-list,
    .main-commend {
        width: 100%;
    }

    .main-game {
        -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;
    }

    .main-right {
        width: 90%;
        margin: 10px auto;
    }

    .main-decs {
        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;

    }

    .main-name {
        text-align: center;

    }

    .main-category {
        margin: 10px auto;
    }

    .pbutton,
    .like-click {
        width: 49%;
    }

}
