@charset "utf-8";

* {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    margin: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-family: serif;
}

html,
body {
    width: 100%;
    margin: 0;
    font-family: pala, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow-x: hidden;
    color: rgb(51, 51, 51);
}

a {
    font-weight: 500;
    text-decoration: none;
    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: #00000073; */

    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: rgb(0, 0, 0);
}

.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;
}

.bgi {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../../images/loading.e29b847.gif);
}

.black {
    background-color: #2f2b2c;
    padding: 5px 10px;
    color: #fff;
    border-radius: 20px;
    margin-top: 20px;
}

.title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 10px auto 5px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    border-radius: 20px;
    padding: 0 10px;
    text-wrap: nowrap;
}

.title span {
    width: 40px;
    min-width: 40px;
    aspect-ratio: 1;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.orange {
    width: 98%;
    background-color: #fc920a;
    color: #fff;
    padding: 5px 30px;
}

.game-controls {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
       -moz-box-pack: end;
            justify-content: flex-end;
    gap: 10px;
}

.game-controls div {
    color: #000;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    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;
    cursor: pointer;
    font-size: 20px;
}

/* 头部样式 */

header {
    position: relative;
    width: 100%;
    padding: 0 5px;
    color: #fff;
}

.header-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;
}

.header-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 60px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
       -moz-box-pack: start;
            justify-content: flex-start;
    border-radius: 0 0 0 30px;
}

.header-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 60px;
    -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;
    border-radius: 0 0 30px 0;
}

.header-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 0 10px;
    color: #333;
    font-weight: 600;
}

.header-menu .about-box .about,
.header-menu .about-box #Home,
.header-menu .about-box #Games {
    position: relative;
    padding: 0 10px;
    color: #000;
    border: 0;
    background-color: #fff;
    border-radius: 8px;
    font-size: 12px;
}

.header-menu .about-box .about span,
.header-menu .about-box #Home span,
.header-menu .about-box #Games span {
    width: 20px;
    aspect-ratio: 1;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.header-menu .about-box .about span {
    background-image: url(../../images/GameCategory.57b02e9.png);
}

.header-menu .about-box #Home span {
    background-image: url(../../images/home.76c7445.png);
}

.header-menu .about-box #Games span {
    background-image: url(../../images/games.ac58354.png);
}

.about-list {
    position: absolute;
    top: 30px;
    right: 0;
    height: auto;
    width: auto;
    background-color: #b5b1b1;
    z-index: 999;
    display: none;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 5px;
    border-radius: 10px;
    padding: 20px 40px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.header-category-box .play-item,
.about-list .play-item {
    margin: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 30px;
    line-height: 30px;
    padding: 3px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: inline-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;
    border: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-wrap: nowrap;
    background-color: #f46397;
    border: 2px solid #777373;
}

.play-item:hover {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}

.about-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.play-item p {
    margin: 0 20px
}

.play-item .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: auto 0;
    margin-right: 5px;
    background-size: cover;
    background-position: center;
}

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    /* display: none; */
    width: 60%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    background-color: #fff;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.search-btn-box {
    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;
    padding: 5px 10px;
    height: 90%;
    margin-right: 2px;
}

.search-btn {
    width: 25px;
    aspect-ratio: 1;
    background-image: url(../../images/search.48743c0.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.myInput {
    color: #000;
    height: 30px;
    width: 100%;
    outline: 0;
    font-size: 1rem;
    border: 0;
    display: inline-block;
    margin: 0 1em;
    text-decoration: none;
}

#search-suggestions {
    position: absolute;
    width: 92%;
    top: 39px;
    left: 4%;
    /* transform: translateX(-50%); */
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 0 1px 1px 1px solid #e6e6e69e;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

#search-suggestions div {
    padding: 6px 12px;
    cursor: pointer;
}

#search-suggestions div:hover {
    background-color: #555555b5;
}

.aside-menu {
    display: none;
    width: 40px;
    height: 40px;
    background-image: url(../../images/menu.7889495.png);
    background-position: center;
    background-size: 100%;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* 侧边栏 */

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: #fff;
    -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.3979c2f.png);
    cursor: pointer;
}

.sidebar-container .list-canvas {
    width: 95%;
    margin: 10px auto;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
}

.list-canvas .tag-icon,
.list-canvas .icon {
    width: 30px;
    height: 30px;
    margin: 0 7px;
}

.list-canvas .menu-tag,
.list-canvas .item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    height: 45px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.514);
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px 0px;
}

.menu-tag .home-icon {
    background-image: url(../../images/home.76c7445.png);
}

.menu-tag .picks-icon {
    background-image: url(../../images/EditorPicks.3e8dc5e.png);
}

.menu-tag .top-icon {
    background-image: url(../../images/TopGames.338d612.png);
}

.menu-tag .hot-icon {
    background-image: url(../../images/HotGames.3b1bd29.png);
}

.menu-tag .new-icon {
    background-image: url(../../images/NewGames.3f1a5ca.png);
}

/* 网页声明 */

.bottom {
    padding: 20px;
    margin-top: 30px;
}

.bottom-container {
    width: 90%;
    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;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
       -moz-box-align: stretch;
            align-items: stretch;
    margin: 0 auto;
}

.footer-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;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
       -moz-box-align: end;
            align-items: flex-end;
}

.footer-right h2 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-right a {
    text-decoration: none;
    color: #333;
    margin-bottom: 10px;
}

.footer-left {
    max-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;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
}

.bottom .fav {
    height: 60px;
}

.main {
    width: 90%;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: 10px auto 0;
    overflow: hidden;
}

.game-card {
    display: inline-block;
    margin: 5px;
    padding: 8px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-family: Arial, sans-serif;
    cursor: pointer;
    box-sizing: border-box;
}

.game-icon-wrap {
    margin-bottom: 4px;
}

.game-icon {
    position: relative;
    min-width: 60px;
    aspect-ratio: 1;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-icon .game-tag {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    aspect-ratio: 1;
    background-image: url(../../images/surprise.1919aca.png);
    background-position: center;
    background-size: 100%;
    display: none;
}

.game-info {
    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;
    overflow: hidden;
    font-size: 12px;
}

.game-name {
    margin-bottom: 2px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
}

.info-and-btn {
    overflow: hidden;
}

.info-and-btn .info-btn {
    display: none;
}

.game-card--type1 {
    text-align: center;
    padding: 3px;
}

.game-card--type1 .game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 15px;
    min-height: 91px;
}

.game-card--type1 .info-and-btn {
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.info-img {
    display: none;
    min-width: 60px;
    aspect-ratio: 1;
    border-radius: 4px;
    margin-right: 6px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.star-container {
    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-top: 2px;
}

.rating-value {
    font-size: 12px;
}

.game-btn {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: auto;
}

.game-card--type4 {
    width: 100%;
}

.game-card--type4 .game-icon {
    width: 100%;
    height: auto;
    min-height: 89px;
    aspect-ratio: 2;
    border-radius: 10px;
    margin-bottom: 8px;
}

.game-card--type4 .game-info {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

.game-card--type4 .info-and-btn {
    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;
}

.star-text {
    width: 15px;
    color: gold;
    margin-right: 4px;
    aspect-ratio: 1;
    background-image: url(../../images/black-star.e89d229.png);
    background-size: 100%;
    background-position: center;
}

.black .star-text {
    background-image: url(../../images/white-star.b97d011.png);
}

.game-card--type4 .info-and-btn .info-img {
    display: inline-block;
    min-width: 60px;
    aspect-ratio: 1;
    border-radius: 30px;
    margin-right: 6px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.game-card--type4 .info-and-btn .info-btn {
    background-color: #f46397;
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    display: inline-block;
    padding: 5px 8px;
}

@media screen and (max-width:900px) {
    .main {
        width: 98%;
    }

    .header-box .header-menu {
        display: none;
    }

    .aside-menu {
        display: block;
    }

    .desc-text .desc-game-name {
        font-size: 16px;
    }
}

@media screen and (max-width:480px) {

    body {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .game-card--type4 .info-and-btn .info-img {
        min-width: 40px;
    }
    

    .aside,
    .search-box {
        width: 90%;
    }

    .bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }

    .bottom-container {
        -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;
        gap: 10px;
    }

    .bottom-container .footer-left,
    .bottom-container .footer-right {
        max-width: 100%;
        -webkit-box-align: center;
        -webkit-align-items: center;
           -moz-box-align: center;
                align-items: center;
        text-align: center;
    }
}
.title .hot-icon {
  background-image: url(../../images/Present.09af9b9.png);
}

.title .super-icon {
  background-image: url(../../images/SuperSelection.d230509.png);
}

.title .popular-icon {
  background-image: url(../../images/PopularDownloads.da8fbef.png);
}

.title .top-icon {
  background-image: url(../../images/TopCommunityGames.0cc7ec2.png);
}

.title .trend-icon {
  background-image: url(../../images/hot-trends.dde942e.png);
}

.game-list-box1 .game-tag {
  display: block;
}

.game-list-box1,
.game-list-box2,
.game-list-box5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 6), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc(100% / 6), 1fr));
  gap: 0;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

.game-list-box3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 12), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc(100% / 12), 1fr));
  gap: 0;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

.game-list-box4 .game-card--type4 .game-icon,
.game-list-box4 .game-card--type4 .info-and-btn .info-btn {
  display: none;
}

.game-list-box4 .game-card--type4 .info-and-btn .info-img {
  border-radius: 10px;
  width: 60px
}

.game-list-box4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 8), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc(100% / 8), 1fr));
  gap: 0;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

.banner {
  border-radius: 20px;
  padding: 20px;
  height: 90px;
  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;
}

.banner-icon {
  min-width: 30px;
  aspect-ratio: 1;
  margin-right: 10px;
  border-radius: 50%;
  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;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.banner-1 .banner-icon {
  background-image: url(../../images/TitleIcon_1.025f883.png);
}

.banner-2 .banner-icon {
  background-image: url(../../images/TitleIcon_2.74d96c4.png);
}

@media screen and (max-width:1200px) {

  .game-list-box1,
  .game-list-box2,
  .game-list-box5 {
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 5), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 5), 1fr));
  }
}

@media screen and (max-width:900px) {

  .game-list-box1,
  .game-list-box2,
  .game-list-box5 {
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 3), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 3), 1fr));
  }

  .game-list-box3 {
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 8), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 8), 1fr));
  }

  .game-list-box4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 6), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 6), 1fr));
  }
}

@media screen and (max-width:480px) {

  .game-list-box1,
  .game-list-box2,
  .game-list-box5 {
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 2), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 2), 1fr));
  }

  .game-list-box3 {
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 4), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 4), 1fr));
  }

  .game-list-box4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 2), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(calc(100% / 2), 1fr));
  }
}
