* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
}

img {
    display: block;
}

body {
    width: 100%;
    min-height: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    background: linear-gradient(180deg, #80ddd8 0%, #1ec9bd 100%);
    background-size: 100% 100vh;
    background-position: center;
    background-attachment: fixed;
    counter-reset: num;
    position: relative;
    padding-bottom: 50px;
    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;
}

a {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

@font-face {
    font-family: "iconfont";
    src: url("../font/iconfont.eot");
    src: url("../font/iconfont.eot?#iefix") format("embedded-opentype"),
        url("../font/iconfont.woff") format("woff"),
        url("../font/iconfont.ttf") format("truetype"),
        url("../font/iconfont.svg#iconfont") format("svg");
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

header {
    height: 50px;
    background: linear-gradient(180deg, #182a3d 0%, #37485e 100%);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

header a img {
    display: block;
    height: 44px;
}

.desc {
    width: calc(100% - 30px);
    margin: 10px auto 20px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 3px solid #fff;
    padding: 15px;
}

.desc .tag {
    border-bottom: 1px solid rgba(22, 42, 63, 0.2);
    padding-bottom: 10px;
}

.desc .tag h2 {
    font-size: 16px;
    font-weight: 600;
    color: #172a3e;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.desc .tag nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: calc(100% + 9px);
}

.desc .tag nav a {
    margin-right: 9px;
    margin-bottom: 10px;
    height: 24px;
    border: 1px solid #a7cbd3;
    border-radius: 13px;
    line-height: 22px;
    padding: 0 10px;
    font-size: 12px;
    color: #5f7a99;
}

.desc .desc_box {
    padding-top: 20px;
}

.desc .desc_box h2 {
    font-size: 16px;
    font-weight: 600;
    color: #172a3e;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.desc .desc_box #des {
    max-height: 15em;
    overflow: hidden;
}

.desc .desc_box #des.active {
    max-height: initial;
}

.desc .desc_box #des p {
    font-size: 16px !important;
    color: #607a98 !important;
    line-height: 1.5em !important;
    margin: 0 !important;
    padding: 0 !important;
}

.desc .desc_box a {
    width: 200px;
    height: 40px;
    background: rgba(255, 255, 255, 0);
    border-radius: 20px;
    border: 1px solid #a7cbd3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #5f7a99;
    font-weight: 600;
    margin: 10px auto 0;
}

/* .desc .desc_box a::before {
    content: "SHOW MORE";
}

.desc .desc_box a.active::before {
    content: "SHOW LESS";
} */

.game_base {
    width: calc(100% - 30px);
    margin: 10px auto 0;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 3px solid #fff;
    padding: 10px;
    display: flex;
    align-items: center;
}

.game_base .thum {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 10px;
}

.game_base .thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game_base h1 {
    font-size: 18px;
    font-weight: 600;
    color: #30455d;
}

.rating {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.play {
    display: block;
    width: calc(100% - 30px);
    height: 40px;
    background: #fff;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-share {
    display: block;
    width: 120px;
    height: 40px;
    background: #fff;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    gap: 10px;
}

.category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px 15px 0;
}

.category li {
    width: calc(50% - 5px);
}

.category li:nth-child(n + 3) {
    margin-top: 16px;
}

.category li a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 21px;
    padding-left: 16px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.category li a .thum {
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 6px;
    margin-right: 8px;
}

.category li a .thum img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.ad {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10px 0;
}

.ad::before {
    content: "Advertisement";
    font-size: 12px;
    color: #fff;
    line-height: 20px;
}

#app {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
}

#app iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    z-index: 1;
    overflow: hidden;
}

#app .more {
    position: absolute;
    width: 44px;
    height: 44px;
    background: linear-gradient(180deg, #ff9c6a 0%, #ff5d00 100%);
    box-shadow: 0px 6px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 22px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    left: 10px;
    bottom: 30px;
}

#app .more .iconfont {
    color: #fff;
    font-size: 24px;
}

#mask_box {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 19999;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: none;
}

#mask_box.active {
    display: block;
}

#mask_box .mask_main {
    width: 130px;
    height: 100%;
    background: #fff linear-gradient(180deg, #80ddd8 0%, #1ec9bd 100%);
    border: 1px solid #979797;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 15px;
}

#mask_box .mask_main > a {
    width: 100px;
    height: 70px;
    background: linear-gradient(180deg, #ff9c6a 0%, #ff5d00 100%);
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

#mask_box .mask_main > a .iconfont {
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 4px;
}

#mask_box .mask_main .mask_games {
    height: calc(100% - 80px);
    width: 100%;
    overflow-y: scroll;
}

#mask_box .mask_main .mask_games::-webkit-scrollbar {
    margin-right: 10px;
    width: 0px;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}

#mask_box .mask_main .mask_games::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: transparent;
}

#mask_box .mask_main .mask_games ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 20px;
}

#mask_box .mask_main .mask_games ul li {
    width: 100px;
    height: 100px;
}

#mask_box .mask_main .mask_games ul li + li {
    margin-top: 10px;
}

#mask_box .mask_main .mask_games ul li a {
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: 0px 4px 10px 0px #167c79;
    border-radius: 24px;
    border: 2px solid #fff;
    overflow: hidden;
}

#mask_box .mask_main .mask_games ul li a img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#games {
    display: grid;
    gap: 12px 12px;
    padding: 5px 15px 30px;
    grid-template-columns: repeat(auto-fill, calc((100% - 24px) / 3));
    grid-auto-flow: row dense;
}

#games li {
    height: 0;
    padding-bottom: 100%;
    position: relative;
}

#games li:nth-child(12n-8),
#games li:nth-child(12n-1) {
    grid-column-start: span 2;
    grid-row-start: span 2;
}

#games li a {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 2px solid #fff;
    box-shadow: 0px 4px 10px 0px #167c79;
}

#games li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#games.history_games {
    padding-top: 15px;
}

#games.history_games li:nth-child(12n-8),
#games.history_games li:nth-child(12n-1) {
    grid-column-start: initial;
    grid-row-start: initial;
}

#no_history {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 50px;
}

#no_history img {
    width: 150px;
    margin-bottom: 30px;
}

#no_history p {
    font-size: 16px;
    color: #fff;
}

.category_games {
    width: calc(100% - 30px);
    margin: 10px auto 20px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 3px solid #fff;
}

.category_games h1 {
    width: calc(100% - 40px);
    background: linear-gradient(180deg, #ff9c6a 0%, #ff5d00 100%);
    box-shadow: 0px 6px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 28px 28px;
    border: 3px solid #fff;
    height: 58px;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding-bottom: 5px;
}

.category_games > ul {
    display: grid;
    gap: 10px 10px;
    padding: 0px 15px 20px;
    grid-template-columns: repeat(auto-fill, calc((100% - 20px) / 3));
    grid-auto-flow: row dense;
}

.category_games > ul li {
    height: 0;
    padding-bottom: 100%;
    position: relative;
}

.category_games > ul li a {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 4px 10px 0px #64b4b2;
}

.category_games > ul li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

footer {
    background: #fff linear-gradient(180deg, #182a3d 0%, #37485e 100%);
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 999;
}

footer nav {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

footer nav a {
    width: 25%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 12px;
    color: #fff;
}

footer nav a.active {
    background: #fff linear-gradient(180deg, #ff9c6a 0%, #ff5d00 100%);
}

footer nav a .iconfont {
    font-size: 20px;
}

.privacy {
    width: calc(100% - 30px);
    margin: 15px auto;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 3px solid #fff;
    padding: 20px 15px;
}

.privacy h1 {
    font-size: 16px;
    color: #172a3e;
    font-weight: 500;
    margin-bottom: 10px;
}

.privacy .privacy_box p {
    font-size: 16px !important;
    color: #607a98 !important;
    line-height: 1.5em !important;
}

.privacy .privacy_box p + p {
    margin-top: 15px !important;
}

.about_nav {
    padding: 20px 15px;
}

.about_nav a {
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.about_nav a + a {
    margin-top: 16px;
}

.about_nav a .l {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.about_nav a .l .iconfont {
    font-weight: 400;
    margin-right: 8px;
    font-size: 24px;
}

.about_nav a .layui-icon {
    color: #fff;
    font-size: 16px;
}

/*# sourceMappingURL=main.css.map */
