* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    width: 100%;
    height: 100%
}

body {
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
    width: 100%;
    background-color: #f4b800;
    position: relative;
    overflow-x: hidden
}

body.active {
    height: 100%;
    overflow-y: hidden
}

a {
    text-decoration: none
}

ul, ol {
    list-style: none
}

.container {
    width: 100%;
    max-width: 1070px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    position: relative
}

.container.container_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px
}

.container.container_title .l {
    display: flex;
    align-items: center
}

.container.container_title .l .iconfont {
    font-size: 20px;
    margin-right: 5px
}

.container.container_title .l h2 {
    font-size: 18px;
    color: #222;
    font-weight: 600
}

.container.container_title .l h2.before {
    display: flex;
    align-items: center
}

.container.container_title .l h2.before::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: linear-gradient(360deg, #FF4E4E 0%, #FF3886 100%);
    border-radius: 15px;
    filter: blur(6px)
}

.container.container_title > a {
    font-size: 14px;
    color: #999
}

.container .container_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px
}

.container .container_title::before, .container .container_title::after {
    content: "";
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    height: 8px;
    border: 2px solid #f4b800;
    border-radius: 5px;
    background-color: #32c743
}

.container .container_title h2 {
    font-weight: 800;
    color: #ebc9c9;
    font-size: 22px;
    padding: 0 20px
}

@font-face {
    font-family: iconfont;
    src: url(../iconfont.html);
    src: url(../iconfontd41d.html?#iefix) format("embedded-opentype"), url(../iconfont-2.html) format("woff"), url(../iconfont-3.html) format("truetype"), url(../iconfont-4.html#iconfont) format("svg")
}

.iconfont {
    font-family: iconfont !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: .2px;
    -moz-osx-font-smoothing: grayscale
}

button {
    border: none;
    outline: none
}

img {
    display: block
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -.15em;
    fill: currentColor;
    overflow: hidden
}

header {
    background-color: #ebc9c9;
    margin-bottom: 20px
}

header .container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

header .container .menu_branch_search {
    display: flex;
    align-items: center
}

header .container .menu_branch_search .search_trigger {
    display: none
}

header .container .menu_branch_search .menu_trigger {
    width: 40px;
    height: 40px;
    overflow: hidden;
    background-color: #32c743;
    border-radius: 21px;
    border: 2px solid #f4b800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    transition: all .3s
}

header .container .menu_branch_search .menu_trigger .iconfont {
    color: #ebc9c9
}

header .container .menu_branch_search .menu_trigger:hover {
    background-color: #f4b800
}

header .container .menu_branch_search .branch img {
    height: 40px
}

header .container .nav_search {
    height: 100%;
    display: flex;
    align-items: center
}

header .container .nav_search .top_nav {
    display: flex;
    height: 100%;
    margin-right: 20px
}

header .container .nav_search .top_nav a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #32c743;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s;
    position: relative
}

header .container .nav_search .top_nav a svg {
    margin-right: 8px;
    width: 24px;
    height: 24px
}

header .container .nav_search .top_nav a::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: transparent;
    transition: all .3s
}

header .container .nav_search .top_nav a.active, header .container .nav_search .top_nav a:hover {
    background-color: rgba(0, 0, 0, .1)
}

header .container .nav_search .top_nav a.active::before, header .container .nav_search .top_nav a:hover::before {
    background-color: #32c743
}

header .container .nav_search .search_box form {
    position: relative
}

header .container .nav_search .search_box form input {
    outline: none;
    border: 2px solid #ebc9c9;
    background-color: transparent;
    width: 300px;
    height: 40px;
    border-radius: 10px;
    text-indent: 1em
}

header .container .nav_search .search_box form input::placeholder {
    font-size: 14px;
    color: #ebc9c9
}

header .container .nav_search .search_box form input:focus {
    background-color: #fff
}

header .container .nav_search .search_box form button {
    border: none;
    outline: none;
    background-color: transparent;
    position: absolute;
    cursor: pointer;
    right: 16px;
    top: 50%;
    transform: translateY(-50%)
}

header.extension {
    margin-bottom: 0
}

@media screen and (max-width: 940px) {
    header .container .nav_search .top_nav {
        margin-right: 15px
    }

    header .container .nav_search .top_nav a {
        padding: 0 10px
    }

    header .container .nav_search .top_nav a svg {
        margin-right: 6px;
        width: 22px;
        height: 22px
    }

    header .container .nav_search .search_box form {
        position: relative
    }

    header .container .nav_search .search_box form input {
        width: 260px
    }
}

@media screen and (max-width: 800px) {
    header .container {
        height: 50px
    }

    header .container .menu_branch_search {
        width: 100%;
        justify-content: space-between
    }

    header .container .menu_branch_search .menu_trigger {
        margin-right: 0
    }

    header .container .menu_branch_search .search_trigger {
        width: 40px;
        height: 40px;
        background-color: #32c743;
        border-radius: 21px;
        border: 2px solid #f4b800;
        display: flex;
        align-items: center;
        justify-content: center
    }

    header .container .menu_branch_search .search_trigger .iconfont {
        color: #ebc9c9
    }

    header .container .nav_search .top_nav {
        display: none
    }

    header .container .nav_search .search_box {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .5)
    }

    header .container .nav_search .search_box.active {
        display: block
    }

    header .container .nav_search .search_box::before {
        content: "";
        display: block;
        width: 100%;
        height: 50px;
        background-color: #ebc9c9
    }

    header .container .nav_search .search_box form {
        position: absolute;
        width: calc(100% - 32px);
        left: 16px;
        top: 5px
    }

    header .container .nav_search .search_box form input {
        background-color: #fff;
        width: 100%
    }

    header .container .nav_search .search_box form button {
        border: none;
        outline: none;
        background-color: transparent;
        position: absolute;
        cursor: pointer;
        right: 16px;
        top: 50%;
        transform: translateY(-50%)
    }
}

.banner_ad {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-direction: column
}

.banner_ad::before {
    content: "Advertisement";
    font-size: 12px;
    margin-bottom: 3px;
    color: #999
}

#menu_mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5)
}

#menu_mask .mask_main {
    width: 780px;
    background-color: #32c743;
    margin: 100px auto 0
}

#menu_mask .mask_main .menu_header {
    background-color: #ebc9c9;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

#menu_mask .mask_main .menu_header h2 {
    font-size: 22px;
    color: #32c743;
    font-weight: 800
}

#menu_mask .mask_main .menu_header a {
    position: absolute;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #32c743;
    border-radius: 21px;
    border: 2px solid #f4b800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all .3s
}

#menu_mask .mask_main .menu_header a .iconfont {
    color: #ebc9c9
}

#menu_mask .mask_main .menu_header a:hover {
    background-color: #fff
}

#menu_mask .mask_main .category_nav {
    padding: 40px 0 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap
}

#menu_mask .mask_main .category_nav a {
    width: 25%;
    text-align: center;
    margin-bottom: 24px;
    color: #ebc9c9;
    font-weight: 600;
    text-transform: uppercase
}

#menu_mask .mask_main .category_nav a:hover {
    text-decoration: underline
}

#menu_mask.active {
    display: block
}

@media screen and (max-width: 800px) {
    #menu_mask {
        top: 50px;
        height: calc(100% - 50px)
    }

    #menu_mask .mask_main {
        width: 160px;
        padding: 24px 0 24px 16px;
        margin: 0;
        height: 100%;
        overflow-y: scroll;
        display: flex;
        flex-direction: column
    }

    #menu_mask .mask_main .menu_header {
        display: none
    }

    #menu_mask .mask_main .top_nav {
        display: flex;
        align-items: flex-start;
        flex-direction: column
    }

    #menu_mask .mask_main .top_nav a {
        display: flex;
        align-items: center;
        margin-bottom: 24px;
        color: #ebc9c9;
        font-size: 16px;
        font-weight: 600
    }

    #menu_mask .mask_main .top_nav a svg {
        width: 24px;
        height: 24px;
        margin-right: 8px
    }

    #menu_mask .mask_main .category_nav {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        padding: 0
    }

    #menu_mask .mask_main .category_nav a {
        width: 100%;
        text-align: left;
        font-size: 14px
    }
}

.edit_games {
    margin-bottom: 20px
}

.grid_games {
    display: grid;
    grid-template-columns:repeat(auto-fill, calc((100% - 100px) / 6));
    gap: 20px;
    grid-auto-flow: row dense
}

.grid_games li {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 4px solid #fff;
    overflow: hidden;
    position: relative
}

.grid_games li.hot::before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 7;
    background-image: url("../png/hot.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

.grid_games li a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative
}

.grid_games li a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.grid_games li a p {
    position: absolute;
    width: calc(100% + 8px);
    height: 26px;
    line-height: 26px;
    text-align: center;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #32c743;
    font-size: 12px;
    color: #ebc9c9;
    font-weight: 600;
    left: -4px;
    bottom: -4px;
    z-index: 5;
    transition: all .3s;
    transform: translateY(100%)
}

.grid_games li a:hover p {
    transform: translateY(0)
}

@media screen and (max-width: 1000px) {
    .grid_games {
        grid-template-columns:repeat(auto-fill, calc((100% - 75px) / 6));
        gap: 15px
    }
}

@media screen and (max-width: 900px) {
    .grid_games li.hot::before {
        width: 50px;
        height: 50px
    }
}

@media screen and (max-width: 670px) {
    .grid_games {
        grid-template-columns:repeat(auto-fill, calc((100% - 50px) / 6));
        gap: 10px
    }
}

@media screen and (max-width: 560px) {
    .grid_games {
        grid-template-columns:repeat(auto-fill, calc((100% - 16px) / 3));
        gap: 8px
    }

    .grid_games li.hot::before {
        width: 57px;
        height: 57px
    }

    .grid_games li:nth-child(1), .grid_games li:nth-child(8) {
        grid-column-start: span 2;
        grid-row-start: span 2
    }

    .grid_games li:nth-child(1).hot::before, .grid_games li:nth-child(8).hot::before {
        width: 80px;
        height: 80px
    }
}

.hot_games {
    margin-bottom: 20px
}

.crumbs {
    height: 30px;
    background: #32c743;
    border: 1px solid #e8e9ea;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #ebc9c9;
    padding: 0 10px;
    margin-bottom: 20px
}

.crumbs a {
    color: #ebc9c9
}

.crumbs a .iconfont {
    font-size: 16px
}

.crumbs a:hover {
    text-decoration: underline
}

.crumbs a::after {
    content: "/";
    padding: 0 5px
}

.category_name {
    border-bottom: 1px solid #e8e9ea;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #ebc9c9;
    text-indent: -15px
}

.flex_games {
    display: flex;
    align-items: center;
    flex-wrap: wrap
}

.flex_games li {
    width: calc((100% - 140px) / 8);
    margin-right: 20px
}

.flex_games li:nth-child(8n) {
    margin-right: 0
}

.flex_games li:nth-child(n+9) {
    margin-top: 20px
}

.flex_games li a {
    display: block;
    width: 100%
}

.flex_games li a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 92%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 4px solid #fff;
    margin-bottom: 6px
}

.flex_games li a .thum img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    position: absolute;
    transition: all .3s
}

.flex_games li a p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #ebc9c9;
    font-weight: 600;
    height: 18px;
    line-height: 18px
}

.flex_games li a:hover .thum img {
    transform: scale(1.1)
}

.flex_games li a:hover p {
    text-decoration: underline
}

.flex_games li.online a {
    position: relative
}

.flex_games li.online a::before {
    content: "";
    font-family: iconfont;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-radius: 21px;
    left: -16px;
    top: -16px;
    height: 40px;
    z-index: 10;
    font-size: 18px;
    color: #ff500e;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3)
}

@media screen and (max-width: 960px) {
    .flex_games li {
        width: calc((100% - 120px) / 7)
    }

    .flex_games li:nth-child(8n) {
        margin-right: 20px
    }

    .flex_games li:nth-child(7n) {
        margin-right: 0
    }

    .flex_games li:nth-child(n+8) {
        margin-top: 20px
    }
}

@media screen and (max-width: 850px) {
    .flex_games li {
        margin-right: 15px;
        width: calc((100% - 75px) / 6)
    }

    .flex_games li:nth-child(8n) {
        margin-right: 15px
    }

    .flex_games li:nth-child(7n) {
        margin-right: 15px
    }

    .flex_games li:nth-child(6n) {
        margin-right: 0
    }

    .flex_games li:nth-child(n+7) {
        margin-top: 15px
    }
}

@media screen and (max-width: 740px) {
    .flex_games li {
        width: calc((100% - 60px) / 5)
    }

    .flex_games li:nth-child(6n) {
        margin-right: 15px
    }

    .flex_games li:nth-child(5n) {
        margin-right: 0
    }

    .flex_games li:nth-child(n+6) {
        margin-top: 15px
    }

    .flex_games li.online a::before {
        width: 32px;
        height: 32px;
        left: -5px;
        top: -5px;
        font-size: 16px
    }

    .flex_games li.online a p {
        display: none
    }
}

@media screen and (max-width: 630px) {
    .flex_games li {
        margin-right: 8px;
        width: calc(25% - 6px)
    }

    .flex_games li:nth-child(7n) {
        margin-right: 8px
    }

    .flex_games li:nth-child(6n) {
        margin-right: 8px
    }

    .flex_games li:nth-child(5n) {
        margin-right: 8px
    }

    .flex_games li:nth-child(4n) {
        margin-right: 0
    }

    .flex_games li:nth-child(n+5) {
        margin-top: 8px
    }
}

.extension_games {
    display: grid;
    grid-template-columns:repeat(auto-fill, calc((100% - 460px) / 24));
    gap: 20px;
    grid-auto-flow: row dense
}

.extension_games li:nth-child(-n+12) {
    grid-column-start: span 4;
    grid-row-start: span 4;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 4px solid #fff;
    overflow: hidden;
    position: relative
}

.extension_games li:nth-child(-n+12).hot::before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 7;
    background-image: url(../png/hot.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

.extension_games li:nth-child(-n+12) a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative
}

.extension_games li:nth-child(-n+12) a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.extension_games li:nth-child(-n+12) a p {
    position: absolute;
    width: calc(100% + 8px);
    height: 26px;
    line-height: 26px;
    text-align: center;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #fff;
    font-size: 12px;
    color: #ebc9c9;
    font-weight: 600;
    left: -4px;
    bottom: -4px;
    z-index: 5;
    transition: all .3s;
    transform: translateY(100%)
}

.extension_games li:nth-child(-n+12) a:hover p {
    transform: translateY(0)
}

.extension_games li:nth-child(n+13) {
    grid-column-start: span 3;
    grid-row-start: span 3
}

.extension_games li:nth-child(n+13) a {
    display: block;
    width: 100%
}

.extension_games li:nth-child(n+13) a .thum {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 4px solid #fff;
    margin-bottom: 6px
}

.extension_games li:nth-child(n+13) a .thum img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    position: absolute;
    transition: all .3s
}

.extension_games li:nth-child(n+13) a p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #ebc9c9;
    font-weight: 600;
    height: 18px;
    line-height: 18px
}

.extension_games li:nth-child(n+13) a:hover .thum img {
    transform: scale(1.1)
}

.extension_games li:nth-child(n+13) a:hover p {
    text-decoration: underline
}

.extension_games li:nth-child(n+13).online a {
    position: relative
}

.extension_games li:nth-child(n+13).online a::before {
    content: "";
    font-family: iconfont;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-radius: 21px;
    left: -20px;
    top: -20px;
    height: 40px;
    z-index: 10;
    font-size: 16px;
    color: #ff500e;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3)
}

@media screen and (max-width: 1000px) {
    .extension_games {
        grid-template-columns:repeat(auto-fill, calc((100% - 345px) / 24));
        gap: 15px
    }
}

@media screen and (max-width: 900px) {
    .extension_games li.hot::before {
        width: 50px;
        height: 50px
    }
}

@media screen and (max-width: 860px) {
    .extension_games li:nth-child(-n+12) {
        grid-column-start: span 6;
        grid-row-start: span 6
    }

    .extension_games li:nth-child(n+13) {
        grid-column-start: span 4;
        grid-row-start: span 4
    }
}

@media screen and (max-width: 630px) {
    .extension_games {
        grid-template-columns:repeat(auto-fill, calc((100% - 88px) / 12));
        gap: 8px
    }

    .extension_games li:nth-child(-n+12) {
        grid-column-start: span 4;
        grid-row-start: span 4
    }

    .extension_games li:nth-child(1), .extension_games li:nth-child(8) {
        grid-column-start: span 8;
        grid-row-start: span 8
    }

    .extension_games li:nth-child(n+13) {
        grid-column-start: span 3;
        grid-row-start: span 3
    }
}

#more_games {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ebc9c9;
    font-weight: 600;
    padding: 20px 0
}

footer {
    margin-top: 40px;
    background-color: #ebc9c9;
    background-size: 80px 80px;
    padding: 40px 0;
    display: flex;
    align-items: center;
    flex-direction: column
}

footer .branch img {
    height: 50px
}

footer nav {
    padding: 20px 0;
    display: flex;
    align-items: center
}

footer nav a {
    font-size: 14px;
    color: #32c743
}

footer nav a:hover {
    text-decoration: underline
}

footer nav a + a {
    margin-left: 40px
}

@media screen and (max-width: 400px) {
    footer nav a + a {
        margin-left: 20px
    }
}

footer p {
    font-size: 14px;
    color: #32c743
}

.company_title {
    font-size: 22px;
    font-weight: 800;
    color: #ebc9c9;
    border-bottom: 1px solid #e8e9ea;
    padding-bottom: 10px;
    margin-bottom: 15px
}

.about_main {
    min-height: calc(100vh - 406px)
}

.about_main h3 {
    font-size: 16px;
    color: #ebc9c9;
    font-weight: 600;
    margin-bottom: 10px
}

.about_main p {
    font-size: 14px;
    color: #ebc9c9;
    margin-bottom: 5px
}

.about_main .layui-form .layui-form-item input {
    border: none;
    outline: none;
    background-color: #f5f5f5;
    border-radius: 10px
}

.about_main .layui-form .layui-form-item:nth-child(1) input, .about_main .layui-form .layui-form-item:nth-child(2) input {
    width: 330px
}

@media screen and (max-width: 500px) {
    .about_main .layui-form .layui-form-item:nth-child(1) input, .about_main .layui-form .layui-form-item:nth-child(2) input {
        width: 100%
    }
}

.about_main .layui-form .layui-form-item textarea {
    border: none;
    outline: none;
    background-color: #f5f5f5;
    resize: none;
    border-radius: 10px
}

.about_main .layui-form input[type=submit] {
    border: 2px solid #ebc9c9;
    outline: none;
    height: 40px;
    background-color: #ebc9c9;
    font-size: 14px;
    color: #ebc9c9;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    width: 100px
}

.no_res {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 60px 0
}

.no_res form {
    position: relative;
    margin-bottom: 30px
}

.no_res form input {
    border: none;
    outline: none;
    width: 600px;
    height: 50px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 10px;
    text-indent: 1em
}

.no_res form button {
    border: none;
    outline: none;
    background-color: transparent;
    position: absolute;
    right: 10px;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer
}

.no_res p {
    font-size: 14px;
    text-align: center;
    color: #ebc9c9;
    line-height: 1.4em
}

@media screen and (max-width: 620px) {
    .no_res {
        padding: 30px 0
    }

    .no_res form {
        width: 100%;
        margin-bottom: 20px
    }

    .no_res form input {
        width: 100%;
        height: 40px
    }
}

.ad_game_baseinfo {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 15px
}

.ad_game_baseinfo .ad {
    width: 336px;
    display: flex;
    align-items: center;
    flex-direction: column
}

.ad_game_baseinfo .ad::before {
    content: "Advertisement";
    font-size: 12px;
    margin-bottom: 3px;
    color: #999
}

.ad_game_baseinfo .ad > div {
    width: 336px;
    height: 280px
}

.ad_game_baseinfo .gameinfo {
    padding-top: 19px;
    width: calc(100% - 346px);
    margin-left: 10px
}

.ad_game_baseinfo .gameinfo .info_overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px
}

.ad_game_baseinfo .gameinfo .info_overview .thum_name {
    width: calc(100% - 140px);
    display: flex;
    align-items: center
}

.ad_game_baseinfo .gameinfo .info_overview .thum_name .thum {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 16px
}

.ad_game_baseinfo .gameinfo .info_overview .thum_name .thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.ad_game_baseinfo .gameinfo .info_overview .thum_name dl {
    max-width: calc(100% - 90px)
}

.ad_game_baseinfo .gameinfo .info_overview .thum_name dl dt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 34px;
    color: #ebc9c9;
    font-weight: 600;
    line-height: 1.5em
}

.ad_game_baseinfo .gameinfo .info_overview .thum_name dl dd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #666;
    line-height: 20px
}

.ad_game_baseinfo .gameinfo .info_overview .star {
    width: 122px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #e8e9ea;
    display: flex;
    align-items: center;
    justify-content: center
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate {
    padding: 0;
    display: flex;
    align-items: center
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate li .layui-icon {
    font-size: 12px
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate li .layui-icon::before {
    content: "";
    font-family: iconfont
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate li .layui-icon.layui-icon-rate-half {
    color: #ff500e
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate .layui-inline i.layui-icon {
    font-size: 12px;
    margin-right: 4px;
    color: #bbb
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate .layui-inline i.layui-icon::before {
    content: "";
    font-family: iconfont
}

.ad_game_baseinfo .gameinfo .info_overview .star .layui-rate .layui-inline i.layui-icon.layui-icon-rate-solid {
    color: #ff500e
}

.ad_game_baseinfo .gameinfo .info_overview .star > span.layui-inline {
    font-size: 12px;
    color: #666
}

.ad_game_baseinfo .gameinfo .info_detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.ad_game_baseinfo .gameinfo .info_detail li {
    width: calc(50% - 5px);
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 10px
}

.ad_game_baseinfo .gameinfo .info_detail li:nth-child(n+3) {
    margin-top: 10px
}

.ad_game_baseinfo .gameinfo .info_detail li svg {
    width: 24px;
    height: 24px;
    margin-right: 8px
}

.ad_game_baseinfo .gameinfo .info_detail li dl {
    width: calc(100% - 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px
}

.ad_game_baseinfo .gameinfo .info_detail li dl dt {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ebc9c9
}

.ad_game_baseinfo .gameinfo .info_detail li dl dd {
    font-size: 12px;
    color: #666
}

.ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: calc(100% - 80px);
    font-size: 12px;
    color: #666;
    overflow: hidden;
    line-height: 40px;
    height: 40px
}

.ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd a {
    font-size: 12px;
    color: #666
}

.ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd a:hover {
    color: #ebc9c9;
    text-decoration: underline
}

.ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd a + a {
    display: flex;
    align-items: center
}

.ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd a + a::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    background-color: #999;
    border-radius: 3px;
    margin: 0 8px
}

@media screen and (max-width: 900px) {
    .ad_game_baseinfo .gameinfo .info_overview {
        margin-bottom: 10px
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name {
        width: calc(100% - 70px)
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name .thum {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        margin-right: 8px
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name dl {
        max-width: calc(100% - 68px)
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name dl dt {
        font-size: 20px
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name dl dd {
        font-size: 12px
    }

    .ad_game_baseinfo .gameinfo .info_overview .star {
        width: 58px
    }

    .ad_game_baseinfo .gameinfo .info_overview .star::before {
        content: "";
        font-family: iconfont;
        color: #ff500e;
        font-size: 12px;
        margin-right: 8px
    }

    .ad_game_baseinfo .gameinfo .info_overview .star .layui-rate {
        display: none
    }

    .ad_game_baseinfo .gameinfo .info_detail li dl {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 60px
    }

    .ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd {
        justify-content: flex-start;
        width: 100%;
        line-height: 20px;
        height: 20px
    }
}

@media screen and (max-width: 700px) {
    .ad_game_baseinfo .ad {
        width: 100%
    }

    .ad_game_baseinfo .ad > div {
        width: 100%;
        height: 280px
    }

    .ad_game_baseinfo .gameinfo {
        width: 100%
    }

    .ad_game_baseinfo .gameinfo .info_overview {
        margin-bottom: 15px
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name .thum {
        width: 70px;
        height: 70px;
        margin-right: 10px
    }

    .ad_game_baseinfo .gameinfo .info_overview .thum_name dl {
        max-width: calc(100% - 80px)
    }

    .ad_game_baseinfo .gameinfo .info_detail {
        flex-direction: column
    }

    .ad_game_baseinfo .gameinfo .info_detail li {
        width: 100%
    }

    .ad_game_baseinfo .gameinfo .info_detail li:nth-child(2) {
        margin-top: 10px
    }

    .ad_game_baseinfo .gameinfo .info_detail li dl {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 50px
    }

    .ad_game_baseinfo .gameinfo .info_detail li:last-child dl dd {
        justify-content: flex-end;
        width: calc(100% - 50px)
    }
}

.desc_pat .desc_box {
    overflow: hidden;
    position: relative;
    margin-bottom: 10px
}

.desc_pat .desc_box::after {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
    position: absolute;
    left: 0;
    bottom: 0
}

.desc_pat .desc_box .des {
    font-family: Montserrat-Regular !important;
    font-size: 14px !important;
    color: #ebc9c9 !important;
    line-height: 1.6em !important
}

.desc_pat .desc_box .des > * {
    display: block
}

.desc_pat .desc_box .des p {
    font-family: Montserrat-Regular !important;
    font-size: 14px !important;
    color: #ebc9c9 !important;
    line-height: 1.6em !important;
    margin-bottom: 10px
}

.desc_pat .desc_box .des p + p {
    margin-top: 5px !important
}

.desc_pat a {
    width: 200px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 16px;
    font-size: 12px;
    color: #ebc9c9;
    margin: 0 auto 20px
}

.desc_pat a::before {
    content: "Show More"
}

.desc_pat a.active {
    display: none
}

.desc_pat.active .desc_box {
    max-height: initial !important
}

.desc_pat.active .desc_box::after {
    display: none
}

.desc_pat.active a::before {
    content: "Show Less"
}

.desc_pat.hide_toogle .desc_box::after {
    display: none
}

.desc_pat.hide_toogle a {
    display: none
}

.game_action {
    border: 1px solid #e8e9ea;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px
}

.game_action .thum_dl {
    width: calc(100% - 430px);
    display: flex;
    align-items: center
}

.game_action .thum_dl dl {
    width: calc(100% - 160px)
}

.game_action .thum_dl dl dt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 28px;
    color: #ebc9c9;
    font-weight: 600;
    line-height: 1.5em;
    margin-bottom: 14px
}

.game_action .thum_dl dl dd {
    font-size: 14px;
    color: #ebc9c9;
    line-height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical
}

.game_action .thum_dl .thum {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 20px
}

.game_action .thum_dl .thum img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover
}

.game_action .actions {
    width: 410px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.game_action .actions a {
    width: calc(50% - 5px);
    height: 56px;
    background-color: #ebc9c9;
    border-radius: 10px;
    border: 2px solid #ebc9c9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s
}

.game_action .actions a .iconfont {
    font-size: 32px;
    color: #ebc9c9;
    margin-right: 6px
}

.game_action .actions a dl dt {
    font-size: 16px;
    color: #ebc9c9;
    font-weight: 600
}

.game_action .actions a dl dd {
    font-size: 12px;
    color: #ebc9c9
}

.game_action .actions a:hover {
    color: #ebc9c9;
    transform: scale(1.02)
}

.game_action .actions a:hover dl dd {
    text-decoration: underline
}

.game_action .actions a:first-child {
    color: #ebc9c9;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    width: 100%;
    background-color: #32c743
}

.game_action .actions a:first-child .iconfont {
    font-weight: 400
}

@media screen and (max-width: 1000px) {
    .game_action .thum_dl {
        width: calc(100% - 380px)
    }

    .game_action .actions {
        width: 360px
    }
}

@media screen and (max-width: 850px) {
    .game_action {
        flex-wrap: wrap
    }

    .game_action .thum_dl {
        width: 100%;
        margin-bottom: 10px
    }

    .game_action .thum_dl dl {
        width: calc(100% - 120px)
    }

    .game_action .thum_dl dl dt {
        font-size: 18px;
        color: #ebc9c9;
        margin-bottom: 10px
    }

    .game_action .thum_dl dl dd {
        font-size: 14px;
        color: #ebc9c9;
        line-height: 1.4em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical
    }

    .game_action .thum_dl .thum {
        width: 100px;
        height: 100px
    }

    .game_action .actions {
        width: 100%
    }

    .game_action .actions a {
        width: calc((100% - 20px) / 3)
    }

    .game_action .actions a .iconfont {
        font-size: 28px
    }

    .game_action .actions a:first-child {
        width: initial;
        margin-bottom: 0;
        width: calc((100% - 20px) / 3)
    }
}

@media screen and (max-width: 600px) {
    .game_action {
        flex-wrap: wrap;
        padding: 15px
    }

    .game_action .thum_dl {
        width: 100%;
        margin-bottom: 10px
    }

    .game_action .thum_dl dl {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column
    }

    .game_action .thum_dl dl dt {
        font-size: 24px;
        margin-bottom: 8px
    }

    .game_action .thum_dl dl dd {
        line-clamp: initial;
        -webkit-line-clamp: initial;
        text-align: center
    }

    .game_action .thum_dl .thum {
        display: none
    }

    .game_action .actions {
        width: 100%
    }

    .game_action .actions a {
        width: 100%;
        height: 40px
    }

    .game_action .actions a .iconfont {
        font-size: 24px
    }

    .game_action .actions a:first-child {
        width: 100%
    }

    .game_action .actions a + a {
        margin-top: 8px
    }

    .game_action .actions a:nth-child(n+2) {
        justify-content: space-between;
        padding: 0 15px
    }

    .game_action .actions a:nth-child(n+2) dl {
        width: calc(100% - 30px);
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .game_action .actions a:nth-child(n+2) dl dt {
        font-size: 14px
    }
}

.walkthrough {
    margin: 10px 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 15px
}

.walkthrough .walkthrough_box {
    position: relative
}

.walkthrough .walkthrough_box .swiper-wrapper .swiper-slide {
    width: auto;
    height: 270px;
    overflow: hidden
}

.walkthrough .walkthrough_box .swiper-wrapper .swiper-slide img {
    height: 100%
}

.walkthrough .walkthrough_box .swiper-scrollbar {
    position: absolute;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #f5f5f5;
    box-shadow: inset 0 0 6px 0 rgba(0, 0, 0, .2);
    bottom: -15px;
    left: 0
}

.walkthrough .walkthrough_box .swiper-scrollbar .swiper-scrollbar-drag {
    height: 100%;
    border-radius: 4px;
    background-color: #7a7a7a;
    cursor: pointer
}

.walkthrough > a {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2);
    border-radius: 25px;
    position: absolute;
    top: calc(50% - 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99
}

.walkthrough > a.whlk_prev {
    left: 10px
}

.walkthrough > a.whlk_next {
    right: 10px
}

.walkthrough > a .iconfont {
    font-size: 20px;
    color: #16243e
}

.play_box {
    display: grid;
    grid-template-columns:repeat(auto-fill, calc((100% - 140px) / 8));
    gap: 20px;
    grid-auto-flow: row dense
}

.play_box > li.online {
    position: relative
}

.play_box > li.online .game_ {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 4px solid #fff;
    overflow: hidden;
    position: relative
}

.play_box > li.online .game_ a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative
}

.play_box > li.online .game_ a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.play_box > li.online .game_ a p {
    position: absolute;
    width: calc(100% + 8px);
    height: 26px;
    line-height: 26px;
    text-align: center;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #32c743;
    font-size: 12px;
    color: #ebc9c9;
    font-weight: 600;
    left: -4px;
    bottom: -4px;
    z-index: 5;
    transition: all .3s;
    transform: translateY(100%)
}

.play_box > li.online .game_ a:hover p {
    transform: translateY(0)
}

.play_box > li.online::before {
    content: "";
    font-family: iconfont;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-radius: 21px;
    left: -10px;
    top: -10px;
    height: 40px;
    z-index: 10;
    font-size: 16px;
    color: #ff500e;
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3)
}

.play_box > li.play_iframe {
    grid-column-start: 2;
    grid-column-end: 8;
    grid-row-start: span 4
}

.play_box > li.play_iframe .game_pat {
    width: 100%;
    height: calc(100% - 70px);
    background-color: #ebc9c9;
    background-size: 80px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.play_box > li.play_iframe .game_pat #game_iframe {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden
}

.play_box > li.play_iframe .game_pat .thum_action {
    position: relative;
    z-index: 1
}

.play_box > li.play_iframe .game_pat .thum_action a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
    background: #ebc9c9;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 3px solid #fff;
    position: absolute;
    left: calc(50% - 75px);
    bottom: -20px;
    font-size: 16px;
    color:#f4b800;
    font-weight: 600
}

.play_box > li.play_iframe .game_pat .thum_action .thum {
    width: 200px;
    height: 201px;
    border-radius: 20px;
    border: 4px solid #fff;
    overflow: hidden
}

.play_box > li.play_iframe .game_pat .thum_action .thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.play_box > li.play_iframe .game_pat.active #game_iframe {
    display: block;
    z-index: 2
}

.play_box > li.play_iframe .game_info {
    background-color: #ebc9c9;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px
}

.play_box > li.play_iframe .game_info .l {
    max-width: calc(100% - 180px)
}

.play_box > li.play_iframe .game_info .l .thum {
    display: none
}

.play_box > li.play_iframe .game_info .l h1 {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    color: #32c743;
    font-weight: 600
}

.play_box > li.play_iframe .game_info .r {
    display: flex;
    align-items: center
}

.play_box > li.play_iframe .game_info .r .star {
    width: 122px;
    height: 30px;
    border-radius: 10px;
    background-color: #fff;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

.play_box > li.play_iframe .game_info .r .star .layui-rate {
    padding: 0;
    display: flex;
    align-items: center
}

.play_box > li.play_iframe .game_info .r .star .layui-rate li .layui-icon {
    font-size: 12px
}

.play_box > li.play_iframe .game_info .r .star .layui-rate li .layui-icon::before {
    content: "";
    font-family: iconfont
}

.play_box > li.play_iframe .game_info .r .star .layui-rate li .layui-icon.layui-icon-rate-half {
    color: #ff500e
}

.play_box > li.play_iframe .game_info .r .star .layui-rate .layui-inline i.layui-icon {
    font-size: 12px;
    margin-right: 4px;
    color: #bbb
}

.play_box > li.play_iframe .game_info .r .star .layui-rate .layui-inline i.layui-icon::before {
    content: "";
    font-family: iconfont
}

.play_box > li.play_iframe .game_info .r .star .layui-rate .layui-inline i.layui-icon.layui-icon-rate-solid {
    color: #ff500e
}

.play_box > li.play_iframe .game_info .r .star > span.layui-inline {
    font-size: 12px;
    color: #666
}

.play_box > li.play_iframe .game_info .r > a {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

.play_box > li.play_iframe .game_info .r > a .iconfont {
    color: #ebc9c9
}

.play_box > li.li_ad_box {
    grid-column-start: span 8;
    margin-bottom: 10px
}

.play_box > li.li_ad_box::before {
    display: block;
    text-align: center;
    margin-bottom: 2px;
    content: "Advertisement";
    font-size: 12px;
    margin-bottom: 3px;
    color: #999
}

.play_box > li.mobile_btn {
    display: none
}

@media screen and (max-width: 900px) {
    .play_box {
        grid-template-columns:repeat(auto-fill, calc((100% - 70px) / 8));
        gap: 10px
    }

    .play_box > li.play_iframe {
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: initial
    }

    .play_box > li.play_iframe .game_pat {
        height: initial;
        padding: 30% 0
    }
}

@media screen and (max-width: 600px) {
    .play_box > li {
        grid-column-start: span 2
    }

    .play_box > li.play_iframe {
        grid-row-start: 1
    }

    .play_box > li.play_iframe .game_pat {
        display: none
    }

    .play_box > li.play_iframe .game_info {
        background-color: initial;
        height: initial;
        padding: 0
    }

    .play_box > li.play_iframe .game_info .l {
        max-width: calc(100% - 80px);
        display: flex;
        align-items: center
    }

    .play_box > li.play_iframe .game_info .l .thum {
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 10px;
        overflow: hidden;
        margin-right: 10px
    }

    .play_box > li.play_iframe .game_info .l .thum img {
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: cover
    }

    .play_box > li.play_iframe .game_info .l h1 {
        width: calc(100% - 60px);
        font-size: 20px
    }

    .play_box > li.play_iframe .game_info .r .star {
        border: 1px solid #e8e9ea;
        margin-right: 0;
        width: 58px
    }

    .play_box > li.play_iframe .game_info .r .star::before {
        content: "";
        font-family: iconfont;
        color: #ff500e;
        font-size: 12px;
        margin-right: 8px
    }

    .play_box > li.play_iframe .game_info .r .star .layui-rate {
        display: none
    }

    .play_box > li.play_iframe .game_info .r > a {
        display: none
    }

    .play_box > li.li_ad_box {
        order: 2;
        grid-column-start: 1;
        grid-column-end: 9;
        grid-row-start: 2;
        margin-bottom: 0
    }

    .play_box > li.mobile_btn {
        display: block;
        grid-column-start: span 8;
        padding: 15px;
        border: none;
        border-radius: 0;
        box-shadow: none
    }

    .play_box > li.mobile_btn > a {
        position: initial;
        padding-bottom: initial;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        background: #ebc9c9;
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
        border-radius: 20px;
        border: 3px solid #fff;
        font-size: 16px;
        color: #f4b800;
        font-weight: 600
    }
}

#mobile_iframe_box {
    display: none
}

#mobile_iframe_box.active {
    display: block
}

#mobile_iframe_box.active .close {
    display: none
}

#mobile_iframe_box.full {
    display: block;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
}

#mobile_iframe_box.full #game_iframe {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 11
}

#mobile_iframe_box.full .close {
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 22;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2)
}

#is_down_mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background-color: rgba(0, 0, 0, .5)
}

#is_down_mask.active {
    display: flex
}

#is_down_mask .con {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .1);
    width: 480px;
    padding: 40px 0;
    border-radius: 20px
}

#is_down_mask .con h2 {
    font-size: 20px;
    color: #ebc9c9;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 84px
}

#is_down_mask .con .actions {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center
}

#is_down_mask .con .actions a {
    width: 160px;
    height: 40px;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .3s
}

#is_down_mask .con .actions a + a {
    margin-left: 20px
}

#is_down_mask .con .actions a:nth-child(1) {
    font-weight: 600;
    color: #ebc9c9;
    border: 1px solid #ebc9c9
}

#is_down_mask .con .actions a:nth-child(1):hover {
    background-color: #ebc9c9
}

#is_down_mask .con .actions a:nth-child(2) {
    font-weight: 600;
    color: #ebc9c9;
    background-color: #ebc9c9
}

#is_down_mask .con .actions a:nth-child(2):hover {
    opacity: .8
}

@media screen and (max-width: 700px) {
    #is_down_mask .con {
        width: calc(100% - 30px);
        padding: 30px 0
    }

    #is_down_mask .con h2 {
        font-size: 18px;
        padding: 0 25px
    }

    #is_down_mask .con .actions a {
        width: 120px;
        height: 40px;
        font-size: 14px
    }

    #is_down_mask .con .actions a + a {
        margin-left: 10px
    }
}

@media screen and (max-width: 700px) {
    .mobile_order {
        display: flex;
        align-items: stretch;
        flex-direction: column
    }

    .mobile_order .banner_ad {
        order: 5
    }
}

.extension {
    margin-top: 0
}

.extension:has(.extension_game) {
    background-color: #ebc9c9;
    padding-top: 20px;
    padding-bottom: 40px
}

@media screen and (max-width: 1024px) {
    .extension:has(.extension_game) {
        padding-top: 10px
    }
}

.extension .container {
    max-width: 100%
}

.extension .container .extension_game {
    display: grid;
    grid-template-columns:repeat(auto-fill, 200px);
    justify-content: center;
    gap: 20px;
    grid-auto-flow: row dense
}

.extension .container .extension_game li {
    aspect-ratio: 4/3;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
    border-radius: 20px;
    border: 4px solid #fff;
    overflow: hidden;
    position: relative
}

.extension .container .extension_game li a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative
}

.extension .container .extension_game li a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.extension .container .extension_game li a p {
    position: absolute;
    width: calc(100% + 8px);
    height: 26px;
    line-height: 26px;
    text-align: center;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #32c743;
    font-size: 12px;
    color: #ebc9c9;
    font-weight: 600;
    left: -4px;
    bottom: -4px;
    z-index: 5;
    transition: all .3s;
    transform: translateY(100%)
}

.extension .container .extension_game li a:hover p {
    transform: translateY(0)
}

@media screen and (max-width: 1920px) {
    .extension .container .extension_game {
        grid-template-columns:repeat(auto-fill, calc((100% - 140px) / 8))
    }
}

@media screen and (max-width: 1500px) {
    .extension .container .extension_game {
        grid-template-columns:repeat(auto-fill, calc((100% - 120px) / 7))
    }
}

@media screen and (max-width: 1250px) {
    .extension .container .extension_game {
        grid-template-columns:repeat(auto-fill, calc((100% - 100px) / 6))
    }
}

@media screen and (max-width: 1000px) {
    .extension .container .extension_game {
        gap: 15px;
        grid-template-columns:repeat(auto-fill, calc((100% - 60px) / 5))
    }
}

@media screen and (max-width: 750px) {
    .extension .container .extension_game {
        grid-template-columns:repeat(auto-fill, calc((100% - 45px) / 4))
    }
}

@media screen and (max-width: 600px) {
    .extension .container .extension_game {
        gap: 10px;
        grid-template-columns:repeat(auto-fill, calc((100% - 20px) / 3))
    }
}
