* {
    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: 70px;
    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;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.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: 70px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.header-left {
    padding-right: 30px;
    border-radius: 0 0 30px 0;
}

.header-right {
    -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-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;
    background-image: url(../../images/more.568d3e4.png);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}

.about-list {
    position: absolute;
    top: 40px;
    left: 0;
    height: auto;
    width: auto;
    background-color: #f0f0f0;
    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; */
    background-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;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* overflow: hidden; */
}

.myInput {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 100%;
    outline: 0;
    font-size: 1rem;
    border: 0;
    background-color: transparent;
    padding: 0 1em;
    color: #333;
}

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

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

.myInput {
    color: #000;
    height: 40px;
    width: 100%;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 0;
    background-color: rgba(0, 0, 0, 0);
    display: inline-block;
    padding: 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%;
}

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

.bottom-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-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    text-align: center;
}

.bottom-text-box .bottom-title {
    background-color: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.bottomfav {
    width: 160px;
    height: 70px;
    margin: 20px 0;
}

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

.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-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 0 1% 10px;
    height: 60px;
}

.self_B_00_title .text-box {
    width: 100%;
    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-size: 20px;
    font-weight: bold;
    color: #000;
}

.text-box p {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.3);
    font-size: 16px;
    color: #8b4513;
    margin: 0;
}

.self_B_00_title .more-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    -webkit-flex-shrink: 0;
            flex-shrink: 0;
    color: #8b4513;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.3);
}

.game-card-list,
.game-list {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: row dense;
    padding-bottom: 20px;
}

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

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

.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: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-child-item .game-text-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 8px 8px;

    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.game-child-item:hover .game-text-box {
    opacity: 1;
}

.game-child-item .game-score {
    display: none;
}

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

.hot-icon {
    display: none;
    position: absolute;
    top: -3px;
    left: -3px;
    width: 40%;
    aspect-ratio: 1;
    background-image: url(../../images/subscript.f1c0153.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.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-image: url(../../images/start.d995b14.png);
    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;
}

.hottest-game-list .game-icon {
    display: block;
}

.hottest-game-list .game-child-item:nth-child(4),
.hottest-game-list .game-child-item:nth-child(8),
.hottest-game-list .game-child-item:nth-child(11),
.hottest-game-list .game-child-item:nth-child(13) {
    grid-column: span 2;
    grid-row: span 2;
}
