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

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

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

.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;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.header-menu .about-box .about,
.header-menu .about-box #Home {
    position: relative;
    padding: 0 10px;
    color: #000;
    border: 0;
    background-color: transparent;
}

.header-menu .about-box .about span,
.header-menu .about-box #Home 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/category.004cad6.png);
}

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

.about-list {
    position: absolute;
    top: 30px;
    right: 0;
    height: auto;
    width: auto;
    background-color: #353535;
    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: #fc920a;
    border: 2px solid #000;
}

.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: 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: 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 20px;
    height: 90%;
    margin-right: 2px;
    background-color: #fc920a;
    border-radius: 20px;
}

.search-btn {
    width: 25px;
    aspect-ratio: 1;
    background-image: url(../../images/search.ae09478.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.35066ad.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.fa9d205.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;
    border-top: 1px solid #ddd;
    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-left h2 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-links {
    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;
    padding: 0;
    margin: 0 0 15px 0;
}

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

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

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

.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;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    margin-bottom: 20px;
}

.bottom .fav {
    height: 60px;
}

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

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

/* 通用卡片样式 */

.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: 100%;
    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;
}

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

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

.game-card--type1 {
    width: 8%;
    margin: 0.1666%;
    text-align: center;
    padding: 3px;
}

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

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

.game-card--type2 {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-card--type2 .game-icon {
    display: none;
}

.game-card--type2 .info-img {
    display: inline-block;
}

.game-card--type2 .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-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--type3 {
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.game-card--type3 .hot-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ff7b00;
    border-bottom-right-radius: 4px;
    z-index: 3;
    width: 50px;
    aspect-ratio: 1;
    -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
            clip-path: polygon(0 0, 100% 0, 0 100%);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.game-card--type3 .hot-tag .hot-icon {
    width: 30px;
    aspect-ratio: 1;
    background-image: url(../../images/hot.fcc19cc.png);
    background-size: 100%;
    background-position: top left;
    background-repeat: no-repeat;
}

.game-card--type3 .game-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 2;
    border-radius: 4px;
}

.game-card--type3 .game-info {
    background-color: #f0f0f0;
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
}

.game-card--type3 .game-icon-wrap {
    position: relative;
    overflow: hidden;
}

.game-card--type3 .star-container {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 5px;
    margin: 5px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .3);
}

.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--type2 .score-four-half-star .star-text,
.game-card--type3 .score-four-half-star .star-text {
    background-image: url(../../images/4.5-stars.938c546.png);
}

.game-card--type2 .score-five-star .star-text,
.game-card--type3 .score-five-star .star-text {
    background-image: url(../../images/5-stars.00899ee.png);
}

.game-card--type2 .score-four-star .star-text,
.game-card--type3 .score-four-star .star-text {
    background-image: url(../../images/4-stars.f5a3402.png);
}

.game-card--type3 .image-blur-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 15px;
    background: -webkit-gradient(linear,
            left bottom, left top,
            from(rgba(240, 240, 240, 1)),
            color-stop(50%, rgba(240, 240, 240, 0.8)),
            to(rgba(240, 240, 240, 0.1)));
    background: -webkit-linear-gradient(bottom,
            rgba(240, 240, 240, 1) 0%,
            rgba(240, 240, 240, 0.8) 50%,
            rgba(240, 240, 240, 0.1) 100%);
    background: linear-gradient(to top,
            rgba(240, 240, 240, 1) 0%,
            rgba(240, 240, 240, 0.8) 50%,
            rgba(240, 240, 240, 0.1) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.game-card--type4 {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.game-card--type4 .game-icon {
    width: 100%;
    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--type5 .star-text,
.game-card--type4 .star-text {
    width: 15px;
    aspect-ratio: 1;
    background-image: url(../../images/star-icon.8607cc3.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 {
        width: 100%;
    }

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

    .aside-menu {
        display: block;
    }

    .game-card--type1 {
        width: 19.5%;
        margin: 0.25%;
    }

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

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

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

    .bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }

    .game-card--type1 {
        width: 33%;
        margin: 0.166%;
    }

}
