@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;
    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;
    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);
}

.title p {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    text-wrap: nowrap;
}

.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;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    border-radius: 20px;
    padding: 5px 20px;
    overflow: hidden;
}

.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-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;
    padding-right: 30px;
    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;
}

.about-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;
    gap: 20px;
}

.play-item {
    height: 40px;
    line-height: 40px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    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;
    font-size: 14px;
}

#Download {
    background-color: #60c798;
    color: #fff;
}

.download-icon {
    width: 40px;
    aspect-ratio: 1;
    margin-right: 8px;
    background-image: url(../../images/MostDownloaded.5f79fdd.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

#Random {
    background-color: #fff;
    color: #60c798;
    border: 2px solid #60c798;
}

.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: #e6e6e6;
    margin: 10px auto;
    border-radius: 20px;
    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;
    height: 90%;
    margin-left: 10px;
    border-radius: 20px;
}

.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;
    background-color: #e6e6e6;
}

#search-suggestions {
    position: absolute;
    width: 92%;
    top: 39px;
    left: 4%;
    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.35066ad.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.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 {
    width: 30%;
    padding: 15px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    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;
}

.games-tab {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    background-color: #e9e9e9;
    border-radius: 20px;
    padding: 8px 15px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    -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;
}

.games-tab .games-icon {
    width: 30px;
    aspect-ratio: 1;
    margin-right: 8px;
    background-image: url(../../images/games.43b1e33.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.category-list {
    list-style: none;
    padding: 0;
    width: 70%;
    margin: 0 auto;
}

.category-list .item {
    padding: 8px 0;
    cursor: pointer;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.category-list .item:hover {
    background-color: #f5f5f5;
}

.language-select {
    width: 70%;
    margin: 20px auto;
    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: 20px;
}

.language-select .internet-icon {
    width: 30px;
    aspect-ratio: 1;
    margin-right: 8px;
    background-image: url(../../images/internet-icon.39640c9.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.sidebar-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.sidebar-footer .links {
    margin-bottom: 8px;
}

.sidebar-footer .links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.sidebar-footer .copyright {
    margin-bottom: 8px;
}

.sidebar-container {
    padding: 20px;
}

.sidebar-footer .fav {
    height: 60px;
    margin: 0 auto;
}

.close-btn-box {
    display: none;
    position: absolute;
    top: 35px;
    right: 35px;
    z-index: 999;
}

.close-btn {
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    cursor: pointer;
}

.copyright,
.awebsite {
    font-size: 14px;
    color: #666;
}

.back-to-top {
    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;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin-bottom: 20px;
    float: right;
}

.arrow-icon {
    width: 40px;
    aspect-ratio: 1;
    background-image: url(../../images/back-to-top.db34b28.png);
    background-position: center;
    background-size: 100%;
}

.main {
    width: 95%;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: 10px auto 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.main-container {
    width: 70%;
}

/* 通用卡片样式 */

.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 {
    min-width: 60px;
    aspect-ratio: 1;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.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;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

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

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

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

.game-card--type1 .game-icon {
    width: 100%;
    aspect-ratio: 1;
    min-height: 112px;
}

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

.star-text {
    color: gold;
    margin-right: 4px;
}

.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--type2 .star-text,
.game-card--type3 .star-text {
    width: 100px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.game-card--type4 {
    width: 100%;
    border-radius: 8px;
}

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

.game-card--type4 .info-and-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.game-card--type4 .star-text {
    width: 15px;
    aspect-ratio: 1;
    background-image: url(../../images/star-icon.848b4d7.png);
    background-size: 100%;
    background-position: center;
}

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

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

    .main,
    .main-container {
        width: 100%;
    }

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

    .aside-menu {
        display: block;
    }

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

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

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

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

    .sidebar {
        width: 90%;
    }

}
.game-list-box1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc(100% / 3), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc(100% / 3), 1fr));
  gap: 0;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  background-color: #eeeced;
  border-radius: 15px;
  padding: 10px;
}

.game-list-box1 .game-box-left,
.game-list-box1 .game-box-right,
.game-list-box1 .game-box-middle {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc((100% - 10px) / 1), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc((100% - 10px) / 1), 1fr));
  gap: 10px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

.game-box-middle {
  margin: 10px 10px 20px;
}

.game-list-box1 .game-box-left .game-card--type4,
.game-list-box1 .game-box-right .game-card--type4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(-webkit-calc((100% - 10px) / 2), 1fr));
  grid-template-columns: repeat(auto-fill, minmax(calc((100% - 10px) / 2), 1fr));
  gap: 10px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

.game-list-box1 .game-box-right .info-score-box,
.game-list-box1 .game-box-left .info-score-box {
  display: none;
}

.common-card {
  padding: 0;
  /* margin: 20px; */
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  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;
}

.common-card .game-card-img {
  position: relative;
  width: 100%;
  min-height: 202px;
  aspect-ratio: 1.8;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
}

.common-card .game-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.game-box-middle .common-card .info-and-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 0 0 8px 8px;
  opacity: 1;
  color: #fff;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 10px;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
     -moz-box-align: end;
          align-items: flex-end;
}

.game-box-middle .common-card .info-and-btn .game-category,
.game-list-box2 .common-card .info-and-btn .game-intro {
  display: none;
}

.common-card .info-score-box {
  width: 30px;
  font-size: 20px;
  font-weight: 800;
}

.common-card .game-intro {
  text-wrap: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.game-list-box2,
.game-list-box3 {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 0 15px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row dense;
  padding-bottom: 20px;
}

.game-list-box2 .info-and-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  padding: 8px;
}

.game-list-box2 .info-and-btn .game-name {
  color: #000;
}

.game-list-box2 .info-and-btn .info-score-box {
  color: #53ba88;
}

.game-list-box3 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(9, -webkit-calc(100% / 9));
  grid-template-columns: repeat(9, calc(100% / 9));
  gap: 0;
  padding: 0 15px 20px;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

.game-list-box3 .game-icon {
  aspect-ratio: 1;
  border-radius: 15px;
}

.game-list-box3 .info-and-btn {
  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: start;
  -webkit-align-items: flex-start;
     -moz-box-align: start;
          align-items: flex-start;
}

.game-list-box3 .info-score-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
}

.game-list-box3 .star-text {
  width: 15px;
  aspect-ratio: 1;
  background-image: url(../../images/star-icon.848b4d7.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width:900px) {
  .game-list-box2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .game-list-box3 {
    grid-template-columns: repeat(6, -webkit-calc(100% / 6));
    grid-template-columns: repeat(6, calc(100% / 6));
  }
}

@media screen and (max-width:480px) {
  .game-list-box1 {
    grid-template-columns: repeat(1, -webkit-calc(100% / 1));
    grid-template-columns: repeat(1, calc(100% / 1));
  }

  .game-list-box2 {
    grid-template-columns: repeat(1, 1fr);
  }

  .game-list-box3 {
    grid-template-columns: repeat(3, -webkit-calc(100% / 3));
    grid-template-columns: repeat(3, calc(100% / 3));
  }

}
