/* 公共样式 */
* {
    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: Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
    background-color: rgb(246, 249, 248);
}
.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: 2px 0px 2px 0px;
    font-size: 14px;
}
a {
    text-decoration: none;
}
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}
.ad {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 15px 0;
}
.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}
button {
    background-color: transparent;
    border: 0;
}
.title {
    font-size: 2rem;
    font-weight: 600;
    margin: 20px 0;
    text-align: center;
}
aside,
.search-box-top,
.head-box-top,
.head-box-first,
.mobile {
    display: none;
}
header {
    position: fixed;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    top: 0;
    width: 100%;
    z-index: 99;
    height: 60px;
}
/* PC端 */
/* 顶栏和搜索栏 */
.top {
    width: 100%;
    height: 60px;
    background-color: rgb(140, 125, 192);
}
.desktop {
    width: 70%;
    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;
    margin: 0 auto;
    /* padding: 0 100px; */
}
.fav {
    height: 60px;
}
.rootbg {
    margin-left: 10px;
    width: 150px;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}
.space {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}
.search-box {
    height: 60px;
}
.mobile .search-btn-top,
.desktop .search-btn {
    width: 30px;
    aspect-ratio: 1;
    background-image: url(../images/search.b72a509.png);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    margin: 15px 10px;
}
#search-suggestions,
#search-suggestions-second {
    position: absolute;
    width: 90%;
    top: 40px;
    left: 10%;
    max-height: 55vh;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 1px solid #e6e6e69e;
    z-index: 2;
    border-radius: 0 0 10px 10px;
}
#search-suggestions-second {
    display: none;
}
#search-suggestions div,
#search-suggestions-second div {
    padding: 6px 12px;
    cursor: pointer;
}
#search-suggestions div:hover,
#search-suggestions-second div:hover {
    background-color: #555555b5;
}
.bepic {
    position: relative;
}
.bepic-list {
    position: absolute;
    top: 51px;
    left: 0;
    height: auto;
    width: auto;
    background-color: #fff;
    z-index: 20;
    display: none;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    padding: 5px;
}
.bepic-list .objprivacy,
.bepic-list .objterms,
.bepic-list .awebsite {
    width: 50%;
    height: 50px;
    line-height: 30px;
    color: black;
    padding: 10px;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
}
.objprivacy:hover,
.objterms:hover,
.awebsite:hover {
    color: rgb(198, 119, 167);
}
.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 {
    width: 100%;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    display: none;
    height: 60px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    background-color: rgb(140, 125, 192);
}
.mobile .menu {
    width: 40px;
    height: 40px;
    margin: 0 5px 0;
    background-image: url(../images/menu.7889495.png);
    background-position: center;
    background-size: cover;
}
.mobile .mobile-title {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}
.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 rgb(198, 119, 167);
}
.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.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: rgb(198, 119, 167);

}
.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: 990;
    cursor: pointer;
}
.mobile-box .head-mobile #search-suggestions-second {
    margin-top: 20px;
    background-color: transparent;
    color: #fff;
    border: 0;
    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: 180px;
    height: 180px;
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
}
.search-item .search-item-name {
    height: 200px;
    line-height: 180px;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 移动端侧边栏 */
aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 30%;
    min-width: 280px;
    min-height: 100%;
    background-color: rgb(198, 119, 167);
    display: none;
    z-index: 999;

}
aside .fav {
    width: 100%;
    height: 60px;
}
aside .fav .rootbg {
    float: left;
    margin-left: 10px;
    width: 160px;
    height: 60px;
    background-position: center;
    background-size: 100% auto;
    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;
    cursor: pointer;
}
.aside-list {
    width: 100%;
    height: 60px;
    padding: 0 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.aside-home,
.aside-play-onlined,
.aside-played,
.aside-bepic {
    height: 60px;
    line-height: 60px;
}
.aside-bepic-list {
    font-size: 16px;
    font-weight: normal;
}
.aside-bepic-list a {
    width: auto;
    margin: 0 10px;
}
/* 底部 */
.bottom {
    margin-top: 30px;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 10px 0 50px;
    background-color: rgb(140, 125, 192);
}
.bottom-box {
    width: 70%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    color: #fff;
    margin: 0 auto;
}
.bottom .rootbg {
    margin: 0 auto;
    width: 150px;
}
.bottom .btxt {
    margin-top: 50px;
    width: 30%;
    height: auto;
    text-align: center;
}
.bottom .latest-game,
.bottom .trending-game {
    width: 30%;
}
.bottom .title {
    font-size: 20px;
}
/* 顶部标题 */
.desktop-title {
    margin-top: 60px;
    width: 100%;
    height: 110px;
    line-height: 110px;
    font-size: 30px;
    color: rgb(198, 119, 167);
    font-weight: 700;
    text-align: center;
    border-bottom: 1px dashed rgb(211, 214, 218);
    cursor: pointer;
}
/* 导航栏 */
nav {
    width: 100%;
    border-bottom: 1px solid rgb(198, 119, 167);
}
.nav-box {
    width: 70%;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    font-weight: 600;
}
.nav-box div:hover {
    cursor: pointer;
    color: rgb(198, 119, 167);
}
.red {
    color: rgb(198, 119, 167);
}
.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;
}
/* 孩子公共样式 */
.game-img {
    aspect-ratio: 1;
    background-position: center;
    background-size: cover;
    border-radius: 15px;
}
.game-name {
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 10px 0;
    text-align: center;
}
/* 孩子2 */
.mode2 {
    width: 14.5%;
    margin: 1%;
    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;
}
.mode2 .game-img {
    width: 95%;
    position: relative;
}
.mode2 .game-score {
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 58px;
    height: 26px;
    line-height: 26px;
    font-size: 1.1rem;
    left: 8px;
    bottom: 8px;
    color: #fff;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 5px;
}
.mode2 .game-star {
    width: 15px;
    margin: 5px;
    aspect-ratio: 1;
    background-image: url(../images/star.1a07a1c.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.mode2 .game-name {
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 10px 0;
    text-align: center;
    /* color: #fff; */
}
.mode3 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 40px 5px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    width: 98%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}
.mode3 .game-img {
    width: 50%;
    aspect-ratio: 1.7;
}
.mode3 .game-name {
    font-weight: 600;
}
/* 孩子4的样式 */
.mode4 {
    width: 45%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    margin: 2.5%;
    height: 200px;
    border: 1px solid rgb(198, 119, 167);
    box-shadow: 0 3px 5px 3px rgba(198, 119, 167, .5);
}
.mode4 .item-left {
    width: 40%;
    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;
}
.mode4 .item-left .game-category {
    padding: 5px;
    border-bottom: 3px solid rgb(198, 119, 167);
    display: inline;
    margin: 5px;
    width: auto;
}
.mode4 .item-left .game-intro {
    width: 100%;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 5px;
}
.mode4 .item-left .game-name {
    font-size: 18px;
    font-weight: 600;
    margin: 5px;
    text-align: left;
}
.mode4 .item-right {
    width: 30%;
    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: end;
    -webkit-align-items: flex-end;
       -moz-box-align: end;
            align-items: flex-end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}
.mode4 .item-left .more {
    float: right;
    background-image: url(../images/play.d61b511.png);
    background-position: center;
    background-size: cover;
    height: 30px;
    width: 30px;
    z-index: 10;
}
.mode4 .item-right .game-img {
    float: right;
    width: 100%;
    aspect-ratio: 1.5;
}
.mode5 {
    width: 14.65%;
    margin: 1% 1% 1%;
    border-radius: 10px;
    position: relative;
}
.mode5 .game-name {
    font-size: 1.2rem;
    font-weight: 600;
}
.mode5 .game-img {
    width: 100%;
    aspect-ratio: 1;
}
.mode5 .game-img-icon {
    width: 30%;
    aspect-ratio: 1;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0 5px 40px rgba(17, 114, 255, .7);
    bottom: -10%;
    right: 10%;
}
.mode5 .game-img-icon:hover {
    -webkit-transition: -webkit-transform .4s;
    transition: -webkit-transform .4s;
    transition: transform .4s;
    transition: transform .4s, -webkit-transform .4s;
    -webkit-transform: translateX(-25px) scale(0.95);
            transform: translateX(-25px) scale(0.95);
    cursor: pointer;
}
@media screen and (max-width:900px) {

    /*横屏*/
    .new {
        width: 100%;
    }

    .main,
    .nav-box {
        width: 100%;
    }

    .bepic-list {
        left: -200%;
        width: auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    #search-suggestions,
    #search-suggestions-second {
        max-height: 250px;
    }

    .search-item .search-item-icon {
        width: 100px;
        height: 100px;
    }

    .search-item .search-item-name {
        height: 100px;
        line-height: 100px;
    }

    .mobile-box {
        top: 150px;
    }

    .bottom-box {
        width: 100%;
    }
}
@media screen and (max-width:480px) {

    /*竖屏*/
    .top,
    .desktop-title,
    nav,
    .main-right {
        display: none;
    }

    .mobile {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }

    .fav {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
           -moz-box-flex: 1;
                flex: 1;
    }

    .fav .rootbg {
        margin: 0 auto;
    }

    #search-suggestions,
    #search-suggestions-second {
        max-height: 55vh;
    }

    #search-suggestions-second .search-item {
        width: 90%;
    }

    .search-item .search-item-icon {
        width: 60px;
        height: 60px;
    }

    .search-item .search-item-name {
        height: 60px;
        font-size: 20px;
        line-height: 50px;
    }

    .mode2 {
        width: 30%;
        margin: 10px auto;
    }

    .mode4 {
        width: 100%;
        height: 180px;
        margin: 2.5% 0;
    }

    .mode4 .item-left {
        width: 50%;
    }

    .mode4 .item-right {
        width: 40%;
    }

    .mode5 {
        width: 31.3%;
    }

    .mode5 .game-name {
        font-size: 16px;
    }

    .mode5 .game-img-icon {
        width: 40%;
    }

    .bottom-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
           -moz-box-orient: vertical;
           -moz-box-direction: reverse;
                flex-direction: column-reverse;
        width: 100%;
    }

    .bottom .btxt,
    .bottom .latest-game,
    .bottom .trending-game {
        width: 100%;
    }
}
.main {
  width: 900px;
  height: auto;
  margin: 60px auto;
  min-height: 60vh;
}

.home {
  color: rgb(198, 119, 167)
}

/* 轮播图 */

.img-show {
  position: relative;
  width: 480px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.swipe {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 400px;
}

.swipe-box {
  position: absolute;
  width: 600%;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.swipe .pic {
  float: left;
  margin: 0;
  width: 16.667%;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  height: 400px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 游戏列表 */

.recommend,
.best {
  margin: 50px auto 0;
  width: 97%;
}

.recommend-game {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.new {
  width: 100%;
  margin: 50px auto;
}

.new-game {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.best-game {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.catalog-btn {
  width: 20%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  margin: 50px auto;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(100%, rgb(140, 125, 192)), to(#fff));
  background-image: -webkit-linear-gradient(top, #fff, rgb(140, 125, 192) 100%, #fff);
  background-image: linear-gradient(180deg, #fff, rgb(140, 125, 192) 100%, #fff);
  box-shadow: 0 5px 40px rgba(140, 125, 192, .8);
  -webkit-transition: all .3s cubic-bezier(0.2, 0.57, 0.36, 0.8);
  transition: all .3s cubic-bezier(0.2, 0.57, 0.36, 0.8);
}

.catalog-btn:hover {
  cursor: pointer;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(0, rgb(140, 125, 192)), to(#fff));
  background-image: -webkit-linear-gradient(top, #fff, rgb(140, 125, 192) 0, #fff);
  background-image: linear-gradient(180deg, #fff, rgb(140, 125, 192) 0, #fff);
  color: rgb(128, 134, 147);
  font-size: 1.1rem;
}

.best .title,
.new .title,
.recommend .title {
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
  height: 80px;
  min-width: 250px;
  margin: 50px 0 0;
}

.best .title {
  background-image: url(../images/best.3da2329.png);
}

.new .title {
  background-image: url(../images/new.ad4c8cd.png);
}

.recommend .title {
  background-image: url(../images/recommend-big.1ad7f42.png);
}

@media screen and (max-width:900px) {

  /*横屏*/
  .main {
    width: 100%;
  }

  .new {
    width: 70%;
  }

  .main-game {
    width: 70%;
  }

  .catalog-btn {
    width: 30%;
  }
}

@media screen and (max-width:480px) {

  /*竖屏*/
  .main {
    margin-top: 70px;
    width: 100%;
  }

  .img-show {
    width: 100%;
    aspect-ratio: 1;
  }

  .imgList li {
    width: 20%;
    aspect-ratio: 1;
    background-position: center;
    background-size: 100%;
  }

  .catalog-btn {
    width: 50%;
  }

  .new {
    width: 95%;
  }

  .recommend .title {
    background-image: url(../images/recommend-small.c3cdeac.png);
  }
}
