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

@font-face {
    font-family: "Ebrima";
    src: url(../../fonts/ebrima.99ced7d.ttf) format("truetype");
    font-display: swap;
}

body {
    font-family: Ebrima;
}

.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 auto;
    margin-top: 0px;
    min-height: 250px;
    max-width: 300px;
}

.ad-label {
    color: rgb(171, 171, 171);
    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;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}

header {
    width: 100%;
}

.header-box {
    width: 90%;
    margin: 0 auto;
    padding: 0 30px;
    height: 60px;
    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;
}

.fav {
    width: 160px;
    height: 60px;
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
}

.main {
    width: 90%;
    margin: 30px auto;
    padding: 10px;
    color: #fff;
}

.rootbg {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.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: start;
    -webkit-justify-content: flex-start;
       -moz-box-pack: start;
            justify-content: flex-start;
    padding-right: 30px;
    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;
}

.about-box .about {
    position: relative;
    padding: 0 2px;
}

.about-list {
    position: absolute;
    top: 30px;
    left: 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: 2.5px 16px;
    border-radius: 20px;
    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;
}

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

.header-home,
.header-online-game,
.aside-about-list a {
    height: 60px;
    font-weight: normal;
    font-size: 1rem;
    padding: 5px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    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;
    word-break: keep-all;
    white-space: nowrap;
}

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

.play-item p,
.header-home 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;
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
}

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

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

.myInput {
    color: #fff;
    height: 30px;
    width: 100%;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #767676;
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;
    background-color: #202020;
    border-radius: 4px;
}

#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%;
}

aside {
    width: 80%;
    position: fixed;
    right: 0;
    height: 100vh;
    background-color: #000000ed;
    z-index: 200;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 20px;
    overflow-y: scroll;
    box-shadow: 0 0 15px #ffffff55;

}

.close {
    width: 100%;
    position: relative;
    height: 40px;
    margin-bottom: 10px;
}

.close-icon {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.aside-home,
.aside-play-online,
.aside-played-games,
.aside-about {
    margin: 15px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

.aside-list,
.aside-about-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    width: 100%;
}

.awebsite {
    cursor: pointer;
}

.bottom-text-box {
    width: 90%;
    margin: 0 auto;
    color: #fff;
    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;
    background: -webkit-gradient(linear, left top, right top, from(#ff7e5f), to(#feb47b));
    background: -webkit-linear-gradient(left, #ff7e5f, #feb47b);
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    /* 模拟图片中的橙色渐变背景，可替换实际渐变值 */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.bottom-text-box .bottom-title {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 22px;
}

.bottom-desc {
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.bottom-desc .text-decoration {
    display: inline-block;
    width: 16px;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-image: url(../../images/love.bb8bdcf.png);
}

.bottomfav {
    width: 160px;
    height: 70px;
}

.bottom-footer {
    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;
    color: #4d4a48;
}

.bottom-game-list {
    width: 90%;
    margin: 10px auto;
    border-radius: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    padding: 20px;
    color: #fff;
    -webkit-justify-content: space-around;
            justify-content: space-around;
}

.bottom-game-list .game-bottom-item {
    margin: 0 10px;
}

.bottom-game-list span {
    font-weight: 600;
}

.btxt {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.bt_iframe {
    width: 100%;
    min-height: 1900px;
    overflow-y: auto;
}

.self_B_00_title {
    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-align: end;
    -webkit-align-items: flex-end;
       -moz-box-align: end;
            align-items: flex-end;
    margin: 0 1% 10px;
    height: 60px;
}

.self_B_00_title .text-box {
    height: 40px;
    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-weight: bold;
    color: #fff;
    overflow: hidden;
}

.text-box p {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 24px;
    margin: 0;
}

.self_B_00_title .more-btn {
    height: 30px;
    -webkit-flex-shrink: 0;
            flex-shrink: 0;
}

.game-slider-container {
    position: relative;
    width: 100%;
    padding: 10px 0;
}

.game-slider-btn {
    position: absolute;
    top: 0;
    height: 100%;
    border: none;
    background-color: transparent;
    cursor: pointer;
    z-index: 10;
    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;
}

.game-slider-btn-left {
    left: -24px;
    border-radius: 0 8px 8px 0;
}

.game-slider-btn-right {
    right: -24px;
    border-radius: 8px 0 0 8px;
}

.btn-red-circle {
    width: 48px;
    height: 48px;
    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;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
    z-index: 1;
}

.game-slider-btn-left .btn-red-circle {
    background-image: url(../../images/Left.4384525.png);
    background-size: cover;
    background-position: center;
}

.game-slider-btn-right .btn-red-circle {
    background-image: url(../../images/Right.2c8cba3.png);
    background-size: cover;
    background-position: center;
}

.game-list-inner {
    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;
    gap: 10px;
    padding: 0 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.game-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: nowrap;
            flex-wrap: nowrap;
    gap: 10px;
}

.game-child-item {
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.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-flex: 0;
    -webkit-flex: 0 0 -webkit-calc(8.333% - 10px);
       -moz-box-flex: 0;
            flex: 0 0 calc(8.333% - 10px);
}

.game-child-item .game-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    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;
}

.game-child-item .game-name {
    color: #fff;
    font-size: 12px;
    text-align: center;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-child-item .game-text-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px 4px;
    background: #353535;
    border-radius: 0 0 6px 6px;
    opacity: 1;
}

.game-card-item {
    width: 100%;
    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: 8px 12px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.game-img {
    min-width: 60px;
    aspect-ratio: 1;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
}

.game-text-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: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.game-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.game-score {
    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;
    height: 30px;
}

.game-score p {
    font-size: 12px;
    color: #666;
    margin-right: 4px;
    margin: 0;
}

.star-icon {
    display: inline-block;
    width: 20px;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
}

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

    .bottom,
    .header-box {
        width: 100%;
        margin: 0;
        padding: 0;
    }

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

    .header-right {
        margin: 0;
        padding: 0;
    }

    .header-left {
        width: 30%;
    }

    .header-left .fav {
        width: 100%;
        margin-left: 10px;
    }

    .bottomfav {
        margin: 10px auto;
        height: 70px;
    }

    .btxt {
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
        gap: 5px 10px;
    }

    .aside-menu {
        display: block;
    }

    .aside-list .play-item {
        width: auto;
        padding: 5px 10px;
        font-size: 14px;
    }

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

    .game-card-list {
        grid-template-columns: repeat(2, 1fr);
    } */
}

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

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

    .game-card-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
body {
    min-height: 100vh;
}

.game-img {
    min-width: 76px;
}

.top-game-list .row-1 .game-child-item,
.funny-game-list .row-1 .game-child-item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 -webkit-calc(12.5% - 10px);
       -moz-box-flex: 0;
            flex: 0 0 calc(12.5% - 10px);
}

.crazy-game-list .game-child-item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 -webkit-calc(11.111% - 10px);
       -moz-box-flex: 0;
            flex: 0 0 calc(11.111% - 10px);
    min-height: 140px;
}

.crazy-game-list .game-child-item .game-img {
    aspect-ratio: 0.7;
}

.crazy-game-list .row-2 {
    display: none;
}

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

    .top-game-list .row-1 .game-child-item,
    .funny-game-list .row-1 .game-child-item {
        -webkit-box-flex: 3;
        -webkit-flex: 3 0 -webkit-calc(46.666% - 10px);
           -moz-box-flex: 3;
                flex: 3 0 calc(46.666% - 10px);
    }
    
}
