html {
    overflow-y: scroll
}

.pc-header {
    display: none
}

.mobile-header {
    display: block
}

:root, :root.model-white {
    --mafa-color0: #e4e4e4;
    --mafa-color1: #f2f2f2;
    --mafa-color2: #e4e4e4;
    --mafa-color3: #c1c1c1;
    --game-show-color1: #e4e4e4;
    --game-more-color1: #e4e4e4;
    --game-thumb-color1: #f2f2f2;
    --game-thumb-filter1: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(10%) hue-rotate(236deg) brightness(103%) contrast(90%);
    --game-show-color2: #d1d4ff;
    --game-more-color2: #d1d4ff;
    --game-thumb-color2: #e1e2ff;
    --game-show-color3: #efc7ad;
    --game-more-color3: #efc7ad;
    --game-thumb-color3: #f3d6c4;
    --game-show-color4: #f8c7e4;
    --game-more-color4: #f8c7e4;
    --game-thumb-color4: #ffddf1;
    --game-show-color5: #b6ebf1;
    --game-more-color5: #b6ebf1;
    --game-thumb-color5: #d5faff;
    --game-show-color6: #f9daa4;
    --game-more-color6: #f9daa4;
    --game-thumb-color6: #fbe7c2;
    --all-bg-color: #fbfbfb;
    --all-text-color: #000;
    --all-text-filter: brightness(0) saturate(100%) invert(0%) sepia(2%) saturate(0%) hue-rotate(239deg) brightness(104%) contrast(100%);
    --game-btn-color: #484848;
    --game-btn-filter: brightness(0) saturate(100%) invert(27%) sepia(32%) saturate(0%) hue-rotate(199deg) brightness(95%) contrast(97%);
    --page-bg-color: #fbfbfb;
    --header-footer-color: #f2f2f2;
    --search-input-bg-color: #fff;
    --search-icon-color: #8f8f8f;
    --search-icon-filter: brightness(0) saturate(100%) invert(63%) sepia(0%) saturate(0%) hue-rotate(151deg) brightness(91%) contrast(88%);
    --normal-card-bg-color: #f2f2f2;
    --svg-close-all-color: #c1c1c1;
    --svg-close-all-filter: brightness(0) saturate(100%) invert(90%) sepia(0%) saturate(0%) hue-rotate(184deg) brightness(89%) contrast(84%);
    --svg-close-one-color: #ffffff;
    --svg-close-one-bg-color: #f2f2f266;
    --close-bg-color: #f2f2f2;
    --play-bg-color: #f2f2f2;
    --play-info-bg-color: #fbfbfb;
    --play-foot-bg-color: #e4e4e4;
    --like-hover-color: #f2f2f2;
    --form-input-color: #e4e4e4;
    --item-bg-color: #e4e4e4;
    --item-hover-bg-color: #f2f2f2;
    --info-btn-color: #939393;
    --info-btn-filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(232deg) brightness(97%) contrast(88%);
    --top-menu-bg-color: #e4e4e4;
    --highlight-color: #fd613b;
    --highlight-filter: brightness(0) saturate(100%) invert(53%) sepia(43%) saturate(4989%) hue-rotate(338deg) brightness(104%) contrast(98%);
    --move-btn-path-color: #955f5f;
    --highlight-bg-color: #fd613b33;
    --loading-bg-color: #e4e4e4;
    --pagi-li-bg-color: #e4e4e4;
    --model-bg-color: rgba(20, 20, 20, 0.8)
}

body {
    background: var(--all-bg-color);
    color: var(--all-text-color)
}

a {
    color: var(--all-text-color)
}

.pc-header .header, .foot {
    background: var(--header-footer-color)
}

.top_search_input input {
    background: var(--search-input-bg-color);
    color: var(--all-text-color)
}

.search-icon {
    filter: var(--search-icon-filter);
    padding-right: 15px;
}

.search-icon path {
    fill: var(--search-icon-color)
}

.game-category .list a {
    background: var(--mafa-color2)
}

.card-per-container:nth-child(6n+1) .game-show-container {
    background: var(--game-show-color1)
}

.card-per-container:nth-child(6n+1) .thumb {
    background: var(--game-thumb-color1)
}

.card-per-container:nth-child(6n+2) .game-show-container {
    background: var(--game-show-color2)
}

.card-per-container:nth-child(6n+2) .thumb {
    background: var(--game-thumb-color2)
}

.card-per-container:nth-child(6n+3) .game-show-container {
    background: var(--game-show-color3)
}

.card-per-container:nth-child(6n+3) .thumb {
    background: var(--game-thumb-color3)
}

.card-per-container:nth-child(6n+4) .game-show-container {
    background: var(--game-show-color4)
}

.card-per-container:nth-child(6n+4) .thumb {
    background: var(--game-thumb-color4)
}

.card-per-container:nth-child(6n+5) .game-show-container {
    background: var(--game-show-color5)
}

.card-per-container:nth-child(6n+5) .thumb {
    background: var(--game-thumb-color5)
}

.card-per-container:nth-child(6n+6) .game-show-container {
    background: var(--game-show-color6)
}

.card-per-container:nth-child(6n+6) .thumb {
    background: var(--game-thumb-color6)
}

.card-per-container .game-show-container {
    padding: 1rem 0;
}

@media only screen and (min-width: 1000px) {
    .pc-header {
        display: block
    }

    .mobile-header {
        display: none
    }
}

.mobile-header .header {
    min-width: 330px;
    position: relative;
    width: 100%;
    height: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--header-footer-color)
}

.mobile-header .header_left {
    padding-left: 15px;
    cursor: pointer
}

.menu-mask-div {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #0006;
    top: 0;
    left: 0;
    z-index: 13;
    display: none
}

.nav_ico {
    flex: 0 0 auto;
    cursor: pointer;
    order: 1;
    align-self: flex-start;
    min-width: 2em;
    min-height: 2em;
    pointer-events: none
}

.nav_ico div {
    width: 28px;
    height: 4px;
    margin: 6px 0;
    background-color: #9d9d9d;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px
}

.bar1, .bar2, .bar3 {
    transition: 0.6s
}

.change .bar1 {
    transform: rotate(-45deg) translate(-11px, 5px)
}

.change .bar2 {
    opacity: 0
}

.change .bar3 {
    transform: rotate(45deg) translate(-9px, -3px)
}

.mobile-header .logo-a {
    height: 60px;
    display: flex;
    align-items: center
}

@media only screen and (max-width: 500px) {
    .mobile-header .logo-a {
        position: absolute;
        left: 60px
    }
}

.mobile-header .logo-a img {
    height: 80%;
    user-select: none
}

.top-menu-container {
    overflow: scroll;
    background: var(--top-menu-bg-color);
    z-index: 15;
    position: fixed;
    top: 0;
    left: -150px;
    width: 230px;
    height: 100%;
    transition: all 0.2s;
    animation: hideMenu 0.2s linear;
    opacity: 0;
    pointer-events: none
}

.top-menu-container::-webkit-scrollbar {
    width: 0;
    display: none
}

.hideMenuDiv {
    cursor: pointer;
    height: 60px;
    padding-left: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center
}

.show-menu {
    left: 0;
    animation: show-menu 0.2s linear;
    opacity: 1;
    pointer-events: all
}

.menu-content {
    text-align: left;
    width: 100%
}

.menu-list {
    display: flex;
    flex-direction: column
}

.menu-list li {
    width: 100%;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    overflow: hidden;
    background: var(--top-menu-bg-color);
    color: var(--all-text-color);
    box-sizing: border-box
}

.menu-list li.selected {
    background: var(--highlight-color) !important
}

.menu-list li.selected a {
    color: var(--all-text-color)
}

.menu-list li a {
    text-decoration: none;
    color: var(--all-text-color);
    user-select: none;
    width: 100%;
    display: block;
    padding-left: 30px;
    box-sizing: border-box;
    font-weight:bold;
}

@media (hover: hover) {
    .menu-list li:hover {
        background-color: #fd613b1a
    }
}

.menu-list li img {
    padding: 0 5px 0 0
}

.searchDiv {
    width: 100%;
    padding: 0 0 0 0;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    clear: both;
    margin-top: -1px;
    top: 0;
    background: var(--header-footer-color);
    left: 105vw;
    transition: all 0.2s;
    display: none;
    animation: hideSearch 0.2s linear
}

.show-search {
    opacity: 1;
    pointer-events: all;
    left: 0;
    display: block;
    animation: show-search 0.2s linear
}

.hideSearchDiv {
    position: absolute;
    top: 20px;
    left: 20px
}

.submit-btn, .hideSearchDiv {
    cursor: pointer
}

.search-form {
    height: 60px;
    float: left;
    width: 100%;
    padding-left: 75px;
    padding-right: 30px;
    box-sizing: border-box
}

[type='search']::-webkit-search-decoration {
    display: none
}

.submit-btn {
    width: 30px;
    height: 30px;
    float: right;
    position: absolute;
    right: 40px;
    top: 16px;
}

.pc-header .header {
    width: 100%;
    opacity: 1
}

a {
    transition: background-color 1s ease
}

.breadcrumb {
    font-size: 14px;
    color: var(--all-text-color);
    height: 30px;
    line-height: 36px;
    padding-left: 10px;
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    width: calc(100% - 20px);
    white-space: nowrap;
    text-overflow: ellipsis
}

.breadcrumb::-webkit-scrollbar {
    display: none
}

.breadcrumb {
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none
}

.breadcrumb ul li {
    display: inline-block
}

.breadcrumb li:not(:first-child)::before {
    content: '>';
    font-size: 13px;
    margin: 0 6px 0 2px
}

.breadcrumb span {
    font-size: 13px
}

.breadcrumb a {
    color: var(--all-text-color);
    text-decoration: none;
    font-weight: 700
}

@media (hover: hover) {
    .breadcrumb a:hover {
        color: var(--highlight-color)
    }
}

.breadcrumb span::before {
    content: '-';
    font-size: 13px;
    margin: 0 6px 0 2px
}

.game-container {
    display: grid;
    grid-template-columns:1fr 1fr 1fr
}

.back-to-game {
    font-weight: bolder;
    color: var(--highlight-color);
    cursor: pointer;
}

@media (hover: hover) {
    .random-game-button:hover {
        background-color: var(--highlight-bg-color)
    }
}

.random-game {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none
}

.random-game img {
    width: 300px;
    user-select: none;
    cursor: pointer
}

.random-game-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--highlight-color);
    border: 1px solid;
    width: max-content;
    min-width: 120px;
    line-height: 19px;
    margin: 30px auto 20px;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: none;
    font-size: 24px;
}

@media (hover: hover) {
    .submit-btn:hover {
        background-color: var(--highlight-bg-color)
    }
}

@media only screen and (min-width: 500px) {
    .game-container {
        grid-template-columns:1fr 1fr 1fr 1fr
    }
}

@media only screen and (min-width: 720px) {
    body {
        padding: 0 1.5%
    }

    .game-container {
        grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr
    }
}

@media only screen and (min-width: 1172px) {
    .game-container {
        grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr
    }
}

@media only screen and (min-width: 1800px) {
    .game-container {
        grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr
    }
}

@media only screen and (min-width: 2400px) {
    .game-container {
        grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr
    }
}

.main-container {
    min-height: calc(100vh - 140px);
    overflow: hidden
}

.pc-header .top {
    margin: 0;
    height: 60px;
    width: 100%;
    display: flex
}

.pc-header .top_logo {
    margin-left: 10px
}

.pc-header .top_logo a {
    display: flex;
    align-items: center;
    height: 100%
}

.pc-header .top_logo a img {
    margin-right: 20px;
    height: 90%
}

.pc-header .top_nav {
    height: 60px;
    margin: 0 0 0 0;
    overflow: hidden;
    width: calc(100vw - 400px)
}

.pc-header .top_nav ul {
    margin: 0 0 0 5px;
    padding: 0
}

.pc-header .top_nav li {
    float: left;
    list-style: none;
    font-size: 16px;
    color: #b1b0b1;
    text-align: center;
    line-height: 50px
}

.pc-header .top_nav li img {
    width: 32px;
    height: 32px;
    margin: 10px 4px 0 0
}

.pc-header .top_nav li a {
    text-decoration: none;
    padding: 5px 18px;
    height: 100%;
    display: block;
    font-weight: bold;
    font-size: 18px
}

@media (hover: hover) {
    .pc-header .top_nav li:hover {
        background-color: #fd613b1a
    }
}

.pc-header .top_nav li.selected {
    background-color: var(--highlight-color)
}

.pc-header .top_nav li.selected a {
    color: #fff
}

.top_search {
    display: flex;
    align-items: center;
    justify-content: center
}

.top_search_input {
    position: relative
}

.top_search_input input {
    line-height: 45px;
    padding: 0 0 0 5px;
    width: 270px;
    height: 45px;
    font-size: 18px;
    padding-left: 10px;
    padding-right: 40px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px
}

.top_search_input button {
    position: absolute;
    cursor: pointer;
    border: none;
    height: 45px;
    width: 45px;
    right: 0;
    top: 0;
    background: none;
}

.top_search_input {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.mobile-header input:focus {
    outline: 1px solid var(--all-text-color)
}

.pc-header input:focus {
    outline: 1px solid var(--all-text-color)
}

@keyframes cardwrap2 {
    0% {
        transform: translateY(5px)
    }
    100% {
        transform: translateY(0)
    }
}

@keyframes show-menu {
    0% {
        left: -150px
    }
    100% {
        left: 0
    }
}

@keyframes hideMenu {
    0% {
        left: 0
    }
    100% {
        left: -150px
    }
}

@keyframes show-search {
    0% {
        left: 105vw;
        opacity: 0;
        display: none
    }
    100% {
        left: 0;
        opacity: 1;
        display: block
    }
}

@keyframes hideSearch {
    0% {
        left: 0;
        opacity: 1;
        display: block
    }
    100% {
        left: 105vw;
        opacity: 0;
        display: none
    }
}

.thumb a {
    width: 100%;
    display: block;
    height: 100%;
    box-sizing: border-box
}

.game-tag-name {
    height: 46px;
    user-select: none
}

.game-tag-name {
    min-width: 260px;
    padding-left: 10px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.game-tag-name a {
    text-decoration: none
}

.tag-name-text {
    font-size: 24px;
    font-weight: bold;
    line-height: 46px;
}

.tag-name-text a {
    text-decoration: none
}

.game-show-container {
    overflow: hidden;
    position: relative
}

.game-show-container ::-webkit-scrollbar {
    width: 0;
    display: none
}

.game-show {
    overflow: scroll;
    transition: all 1s linear
}

.game-show ::-webkit-scrollbar {
    width: 0;
    display: none
}

.game-show .game-container {
    margin: 10px 0;
    width: max-content;
    overflow: scroll;
    display: flex;
    align-items: center
}

.game-show div.thumb {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    margin: 0 10px;
    width: 46vw;
    aspect-ratio: 3/3.6;
    height: calc(46vw / 3 * 3.6)
}

@media screen and (min-width: 360px) {
    .game-show div.thumb {
        width: 31vw;
        aspect-ratio: 3/3.8;
        height: calc(31vw / 3 * 3.6)
    }

    .game-show div.thumb a .img-container {
        margin: 7px !important
    }
}

@media screen and (min-width: 500px) {
    .game-show div.thumb {
        width: 23vw;
        aspect-ratio: 3/3.9;
        height: calc(23vw / 3 * 3.9)
    }
}

@media screen and (min-width: 600px) {
    .game-show div.thumb {
        width: 23.5vw;
        aspect-ratio: 3/3.8;
        height: calc(23.5vw / 3 * 3.8)
    }
}

@media screen and (min-width: 720px) {
    .game-show div.thumb {
        width: 15.4vw;
        aspect-ratio: 3/4;
        height: calc(15.4vw / 3 * 4)
    }
}

@media screen and (max-width: 800px) {
    .game-show div.thumb {
        margin: 0 5px !important
    }

    .game-show div.thumb a .img-container {
        margin: 7px !important
    }
}

@media screen and (min-width: 800px) {
    .game-show div.thumb {
        width: 14.3vw;
        aspect-ratio: 3/3.9;
        height: calc(14.3vw / 3 * 3.9)
    }
}

@media screen and (min-width: 900px) {
    .game-show div.thumb {
        width: 14.7vw;
        aspect-ratio: 3/3.9;
        height: calc(14.7vw / 3 * 3.9);
        margin: 0 10px !important
    }
}

@media screen and (min-width: 1000px) {
    .game-show div.thumb {
        aspect-ratio: 3/3.7;
        height: calc(14.7vw / 3 * 3.7)
    }
}

@media screen and (min-width: 1172px) {
    .game-show div.thumb {
        width: 10.9vw;
        aspect-ratio: 3/3.8;
        height: calc(10.9vw / 3 * 3.8)
    }
}

@media screen and (min-width: 1400px) {
    .game-show div.thumb {
        width: 11.1vw;
        aspect-ratio: 3/3.7;
        height: calc(11.1vw / 3 * 3.7)
    }
}

@media screen and (min-width: 1600px) {
    .game-show div.thumb {
        width: 11.35vw;
        aspect-ratio: 3/3.7;
        height: calc(11.35vw / 3 * 3.7)
    }
}

@media screen and (min-width: 1800px) {
    .game-show div.thumb {
        width: 7.25vw;
        aspect-ratio: 3/3.9;
        height: calc(7.25vw / 3 * 3.9)
    }
}

@media screen and (min-width: 1900px) {
    .game-show div.thumb {
        width: 7.3vw;
        aspect-ratio: 3/3.8;
        height: calc(7.3vw / 3 * 3.8)
    }
}

@media screen and (min-width: 2200px) {
    .game-show div.thumb {
        width: 7.45vw;
        aspect-ratio: 3/3.8;
        height: calc(7.45vw / 3 * 3.8)
    }
}

@media screen and (min-width: 2400px) {
    .game-show div.thumb {
        width: 5.45vw;
        aspect-ratio: 3/3.9;
        height: calc(5.45vw / 3 * 3.9)
    }
}

@media screen and (min-width: 3000px) {
    .game-show div.thumb {
        width: 5.7vw;
        aspect-ratio: 3/3.6;
        height: calc(5.7vw / 3 * 3.6)
    }
}

.game-show div.thumb a .img-container {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    margin: 10px;
    overflow: hidden
}

.img-container img, .tag-img-container img {
    background-size: cover;
    display: block;
    aspect-ratio: 1 / 1
}

.game-show .GameText {
    height: auto;
    width: 100%;
    padding: 0 10px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical
}

@media (max-width: 600px) {
    .game-show .game-container {
        height: 180px
    }

    .game-show .thumb:nth-child(1) {
        margin-left: 10px
    }

    .game-show .game-container:nth-child(2) .thumb:nth-child(2) {
        margin-left: 10px
    }

    .game-show div.thumb a .img-container {
        margin: 5px
    }

    .game-show .GameText {
        padding: 0 5px
    }
}

@media screen and (max-width: 720px) {
    .game-show .game-container:first-child {
        height: auto !important;
        margin: 5px 0
    }
}

@media screen and (max-width: 800px) {
    .game-show div.thumb {
        margin: 0 5px
    }
}

.game-page-background {
    overflow: hidden;
    width: calc(100% - 20px);
    margin: 0 auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: Helvetica, montserrat, arial, sans-serif;
    position: relative;
    min-height: 100%;
    overflow: hidden
}

body::-webkit-scrollbar {
    display: none
}

html {
    height: 100%;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%
}

dl, dt, dd, ul, li, form, input, textarea, p, td {
    padding: 0;
    margin: 0
}

ul, dl {
    list-style: none
}

img {
    vertical-align: top;
    border: 0
}

.left {
    float: left
}

.right {
    float: right
}

div.thumb {
    text-align: center;
    position: relative;
    float: left
}

div.thumb {
    --margin: 4px;
    --allWidth: calc(100% - 16px);
    --width: calc((100% - 16px) / 8);
    margin: var(--margin);
    overflow: hidden;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px
}

div.thumb a img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}

div.thumb a {
    text-decoration: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
}

@media (hover: hover) {
    div.thumb a:hover .img-container img {
        transition: 0.5s;
        transform: scale(1.1)
    }
}

.thumb img {
    border: none !important;
    object-fit: fill
}

.GameText {
    display: flex;
    flex-direction: column;
    height: 70%;
    justify-content: space-evenly;
    align-items: center
}

div.thumb div.GameName {
    color: var(--all-text-color);
    font-family: montserrat, arial, sans-serif;
    width: 100%;
    height: auto;
    font-size: 16px;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.foot {
    width: 100%;
    min-width: 300px;
    line-height: 1.5;
    padding: 1rem 0;
    clear: both;
    overflow: hidden;
    text-align: center;
    font-size: 14px;
}

.foot a {
    text-decoration: none
}

.game-category {
    overflow: hidden;
    width: calc(100% - 20px);
    margin: 0 10px 20px 10px;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 5px 10px 10px 10px;
    background: var(--mafa-color1)
}

.game-page-background .game-category {
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: none
}

.game-category .list {
    overflow: hidden;
    margin: 0 -12px 0 5px
}

.game-category .list a {
    font-size: 18px;
    font-weight: bold;
    float: left;
    color: var(--all-text-color);
    box-shadow: -1px 1px 6px 0 rgb(0 0 0 / .2);
    margin: 5px 12px 5px 0;
    padding: 3px;
    overflow: hidden;
    width: calc(33% - 12px);
    box-sizing: border-box;
    border-radius: 10px
}

.game-category .list a:hover {
    color: var(--highlight-color)
}

.game-category .list .item {
    width: 100%;
    height: 100%;
    float: inherit
}

.game-category .list .item img {
    height: 100%;
    width: 100%;
    border-radius: 4px
}

.game-category .list .name {
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px 0;
    box-sizing: border-box
}

@media only screen and (min-width: 800px) {
    .game-category .list .item {
        width: 100px;
        height: 100px;
        float: left
    }

    .game-category .list .name {
        height: 100px;
        width: calc(100% - 100px)
    }
}

@media only screen and (min-width: 600px) {
    .game-category .list a {
        width: calc(25% - 14px)
    }
}

@media only screen and (min-width: 1400px) {
    .game-category .list a {
        width: calc((100% / 6) - 13px);
    }
}

@media only screen and (min-width: 500px) {

    .game-category a:last-child .name .text::after {
        content: ' Game'
    }
}

@media only screen and (min-width: 800px) {

    .game-category a:last-child .name .text::after {
        content: ''
    }
}

@media only screen and (min-width: 1000px) {

    .game-category a:last-child .name .text::after {
        content: ' Game'
    }
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-family: montserrat, arial, sans-serif !important
}

*::-webkit-scrollbar {
    display: none
}

html {
    overflow-y: scroll
}

.m-page .main-container {
    min-height: 0
}

.main-container {
    min-height: calc(100vh - 135px)
}

.game-intro {
    position: relative;
    padding: 9px;
    width: 100%!important;
    margin: 10px auto!important;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    border-radius: 10px;
    background: var(--mafa-color1)
}

body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-family: montserrat, arial, sans-serif;
    position: relative;
    min-height: 100%;
    overflow: hidden
}

.game-container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px
}

.game-category .list .item img {
    height: 100%;
    width: 100%;
    border-radius: 10px
}

.game-category .list .name {
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%
}

.game-category .list .name .text {
    text-align: center;
    height: auto;
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media only screen and (min-width: 800px) {

    .game-category .list .item {
        width: 100px;
        height: 100px;
        float: left
    }

    .game-category .list .name {
        height: 100px;
        width: calc(100% - 100px)
    }
}

@media only screen and (min-width: 500px) {

    .game-category a:last-child .name .text::after {
        content: ' Game'
    }
}

@media only screen and (min-width: 800px) {
    .game-category a:last-child .name .text::after {
        content: ''
    }
}

@media only screen and (min-width: 1000px) {

    .game-category a:last-child .name .text::after {
        content: ' Game'
    }
}

.m-page .game-page-background {
    width: calc(100% - 20px) !important;
    margin-left: 10px !important
}

.m-game .GameName {
    display: none
}

.m-game .game-main {
    width: 100%;
    z-index: 101;
    text-align: center;
    overflow: hidden;
    padding-bottom: 5px
}

.m-game .game_info_middle {
    width: 99%;
    width: -moz-calc(100% - 30px);
    -webkit-calc: calc(100% - 30px);
    -o-calc: calc(100% - 30px);
    width: calc(100% - 30px);
    min-width: 300px;
    padding: 5px 5px 0 5px;
    margin: 5px auto 0 auto;
    height: 200px;
    clear: both;
    color: #fff;
    font-size: 14px;
    border-radius: 10px;
    border: 2px solid #7a64e14a;
    position: relative;
    display: block;
}

.m-game .game_info_middle a {
    text-decoration: none;
    color: #fff
}

.m-game .game_info_middle .game_thumb img {
    width: 140px;
    height: 140px;
    border-radius: 10px
}

.m-game h1 {
    width: 100%;
    font-size: 14px;
    color: #fff;
    height: 18px;
    overflow: hidden;
    font-family: Comic Sans MS
}

.m-game h1 a {
    text-decoration: none;
    color: #fff
}

.m-game .play_btn {
    clear: both;
    display: block;
    width: 70%;
    height: 50px;
    line-height: 50px;
    margin: 5px auto;
    font-size: 1.2em;
    border-radius: 5px;
    text-align: center;
    background-color: var(--highlight-color);
    color: #fff;
    border: 0;
    outline: 0;
    cursor: pointer;
    text-transform: uppercase
}

.play-triangle {
    display: flex;
    align-items: center;
    justify-content: center
}

.play-triangle svg {
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)
}

.grid {
    display: grid!important;
    gap: 10px 0;
}

footer {
    background: var(--header-footer-color);
    text-align: center;
    padding-bottom: 1rem;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .max-6:nth-child(n+7) {
        display: none;
    }
    .max-9:nth-child(n+10) {
        display: none;
    }
}

#back-to-top {
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    bottom: 40px;
    right: 15px;
    cursor: pointer;
    display: none;
    color: #fff;
    z-index: 5;
    filter: var(--search-icon-filter);
}

.hide-icon {
    filter: var(--search-icon-filter);
    width: 25px;
    height: 25px;
}

.search-input {
    width: 100%;
    height: 40px;
    padding-left: 5px;
    padding-right: 50px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    margin-top: 12px;
    background: var(--search-input-bg-color);
    color: var(--all-text-color);
    border: none;
    font-size: 18px;
    font-family: Helvetica;
}

.margin-top-1 {
    margin-top: 1rem;
}


.detail-desc {
    font-size: 16px;
    line-height: 1.5;
    color: #5e5e5e;
}

.detail-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (min-width: 768px) {
    .detail-desc {
        -webkit-line-clamp: 2;
    }
}

.desc_btn {
    background: #908fec;
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 1rem;
}

.game-bg {
    position: absolute;
    width: 100%;
    height: calc(100% - 45px);
    top: 45px;
    left: 0;
    filter: blur(45px);
    opacity: .9;
    z-index: 5;
}

.game-bg img {
    width: 100%;
    height: 100%;
}

.game-info {
    z-index: 9;
    width: calc(100% - 10px);
    position: absolute;
}
