@charset "utf-8";

@font-face {
    font-family: Beryliub;
    src: url(../../fonts/Beryliub.56d5e74.ttf);
}

* {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    margin: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    font-family: Beryliub, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow-x: hidden;

}

a {
    font-weight: 500;
    text-decoration: none;
    color: rgb(0, 0, 24);
    cursor: pointer;
}

.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;
    margin-top: 0px;
    min-height: 250px;
    /* background-color: #ffffff; */

    width: 300px;
    margin: auto;
}

.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;
    color: white;
}

.fav {
    width: 160px;
    height: 100%;
}

.fav .rootbg {
    display: inline-block;
    width: 160px;
    height: 100%;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}

.gba-bgi {
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image: url(../../images/loading.e29b847.gif);
}

.gba-title {
    display: inline-block;
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    font-weight: 600;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    color: #fff;
    text-shadow: 0 1px 3px #000;
}

/* 头部样式 */

header {
    position: relative;
    width: 100%;
    padding: 10px;
    background-color: #2d333b;
}

.header-pc,
.header-mobile {
    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;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    height: 50px;
}

/* 搜索框 */

.search-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    width: 200px;
}

.search-input {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    width: 200px;
    height: 40px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #999;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.search-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url(../../images/search-copy.64fa14a.png);
}

.header-mobile {
    display: none;
}

.header-mobile .menu-btn,
.header-mobile .mobile-search-btn {
    width: 30px;
    height: 30px;
}

.header-mobile .menu-btn {
    background-image: url(../../images/menu.7889495.png);

}

.header-mobile .mobile-search-btn {
    background-image: url(../../images/search.ae09478.png);
    background-size: 70%;
}

.mobile-search-box {
    display: none;
    position: absolute;
    top: 69px;
    padding: 4px 10px;
    left: 0;
    background-color: #2d333b;
    width: 100vw;
}

.mobile-search-box .search-input {
    margin: 0 auto;
    width: 100%;
}

.nav-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    max-width: 1312px;
    overflow-x: scroll;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.gba-item {
    margin: 5px 10px;
    padding: 5px 10px;
    border-radius: 15px;
    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;
    background-color: #000;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.gba-item:hover {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
}

.gba-item .gba-icon {
    height: 30px;
    aspect-ratio: 1;
}

.gba-item .gba-icon-name {
    color: rgba(205, 217, 229, 0.7);
    margin: 0 5px;
}

/* 侧边栏 */

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: #222;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 999;
    overflow: scroll;
}

.sidebar-container {
    padding: 20px;
}

.sidebar-container .fav {
    height: 60px;
}

.close-btn-box {
    position: absolute;
    top: 35px;
    right: 35px;
}

.close-btn {
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    cursor: pointer;
}

.sidebar-container .list-canvas {
    width: 95%;
    margin: 10px auto;
    background-color: #2d333b;
    padding: 5px 10px;
    color: rgba(205, 217, 229, 0.7);
    border-radius: 10px;
}

.list-canvas .tag-icon,
.list-canvas .gba-icon {
    width: 30px;
    height: 30px;
    margin: 0 7px 0 0;
}

.list-canvas .menu-tag,
.list-canvas .gba-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 40px;
    margin: 5px;
    background-color: transparent;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    width: 100%;
}

.menu-tag .all-icon {
    background-image: url(../../images/all-icon.79b19ab.png);
}

.menu-tag .latest-icon {
    background-image: url(../../images/latest-icon.97d9185.png);
}

.menu-tag .popular-icon {
    background-image: url(../../images/popular-icon.abcc4e2.png);
}

.menu-tag .trending-icon {
    background-image: url(../../images/trending-icon.762ad6c.png);
}

/* 返回顶部按钮 */

.scroll-top-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    bottom: 15%;
    right: 5%;
    display: none;
    cursor: pointer;
    background-image: url(../../images/top-arrow.d196adc.png);
    background-size: 50%;
    z-index: 2;
}

.gba-main {
    max-width: 1300px;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: auto;
    padding: 20px;
    color: #fff;
    border-radius: 10px;
}

/* 网页声明 */

.gba-bottom {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    min-height: 60px;
    margin: 70px auto 0;
    padding: 20px;
    color: #fff;
    background-color: #2d333b;
}

.gba-bottom-container {
    width: 95%;
    margin: 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;
}

.gba-bottom-container .fav {
    height: 60px;
}

.gba-cp-box,
.gba-policy-box {
    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;
}

.gba-cp-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column
}

.gba-policy-box a {
    margin: 0 10px;
    color: #fff;
    font-size: 12px;
}

.gba-child {
    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: 7.64%;
    margin: 0.345%;
    aspect-ratio: 1;
    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 2px 4px 0 rgba(0, 0, 0, .3);
    position: relative;
}

.gba-child .game-img {
    width: 100%;
    aspect-ratio: 1;
    background-position: center;
    background-size: 100% cover;
    background-image: url(../../images/loading.e29b847.gif);

}

.gba-child .game-name {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    max-height: 30px;
    line-height: 30px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(55%, transparent), to(rgba(0, 0, 0, .5)));
    background: -webkit-linear-gradient(transparent 55%, rgba(0, 0, 0, .5));
    background: linear-gradient(transparent 55%, rgba(0, 0, 0, .5));
    -webkit-transition: bottom 0.2s ease-in-out;
    transition: bottom 0.2s ease-in-out;
}

.gba-child:hover .game-name {
    bottom: 0;
}

@media screen and (max-width:1200px) {

    .gba-child {
        width: 12%;
        margin: 0.25%;
    }

}

@media screen and (max-width:900px) {
    .gba-bottom {
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        padding: 0 20px;
    }

}

@media screen and (max-width:470px) {
    .gba-main {
        margin-top: 30px;
    }

    .gba-aside {
        width: 90%;
    }

    .popular-game-list .gba-child,
    .gba-child {
        width: 30%;
        margin: 1.667%;
    }

    .main-category-list {
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
    }

    .gba-item {
        width: 30%;
        margin: 1.667%;
        padding: 0 5px;
        margin: 8px 5px;
    }



    .gba-bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }

    .header-pc {
        display: none;
    }

    .header-mobile {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }
}
.main-game-box,
.main-category {
  padding-bottom: 50px;
}

.main-game-list,
.main-category-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.main-game-list .gba-child:nth-child(-n+6) {
  width: 16%;
  margin: 0.3333%;
}

.main-category-list .gba-item {
  width: 10%;
  min-width: 100px;
  margin: 0.556%;
  aspect-ratio: 1;
  position: relative;
  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;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  overflow: hidden;
}

.main-category-list .gba-item .gba-item-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.main-category-list .gba-item .gba-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.main-category-list .gba-item .gba-icon-name {
  position: absolute;
  z-index: 3;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.gba-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
}

.gba-title p {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
}

.gba-title .gba-more {
  font-size: 14px;
  color: #fdb713;
}

.main-game-intro {
  background-color: #000000;
  padding: 15px;
  margin: 20px 0;
  border-radius: 12px;
}

.main-game-intro .intro-title {
  color: #fdb713;
  font-size: 18px;
  margin: 0 0 5px;
}

.btxt {
  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;
}

.bt_iframe {
  width: 100%;
  max-width: 1300px;
  height: 1860px;
  overflow: hidden;
  margin-bottom: 0;
}

@media screen and (max-width:900px) {}

@media screen and (max-width:470px) {

  .main-menu {
    top: 25px;
    left: 15px;
  }

  .main-category-list .gba-item,
  .main-game-list .gba-child {
    width: 30% !important;
    margin: 1.667% !important;
  }
}
