.ads .inner {
    margin-top: .1rem;
    padding: .5rem 0
}

.ads .inner:after, .ads .inner:before {
    font-size: .14rem
}

.ads .inner:before {
    top: .04rem
}

.ads .inner:after {
    bottom: .04rem
}

.ads {
    background: #e5e3e5;
    position: relative;
    text-align: center;
    width: 100%
}

.ads .inner {
    margin-top: 10PX;
    padding: 12PX 0;
    width: 100%
}

.ads .inner:after, .ads .inner:before {
    color: #7c7a7c;
    content: "Advertisement";
    font-size: 14PX;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%
}

.ads .inner:before {
    top: 4PX
}

.ads .inner:after {
    bottom: 4PX
}

:root {
    --adm-radius-s: 4px;
    --adm-radius-m: 8px;
    --adm-radius-l: 12px;
    --adm-font-size-1: 9px;
    --adm-font-size-2: 10px;
    --adm-font-size-3: 11px;
    --adm-font-size-4: 12px;
    --adm-font-size-5: 13px;
    --adm-font-size-6: 14px;
    --adm-font-size-7: 15px;
    --adm-font-size-8: 16px;
    --adm-font-size-9: 17px;
    --adm-font-size-10: 18px;
    --adm-color-primary: #1677ff;
    --adm-color-success: #00b578;
    --adm-color-warning: #ff8f1f;
    --adm-color-danger: #ff3141;
    --adm-color-white: #fff;
    --adm-color-text: #333;
    --adm-color-text-secondary: #666;
    --adm-color-weak: #999;
    --adm-color-light: #ccc;
    --adm-color-border: #eee;
    --adm-color-box: #f5f5f5;
    --adm-color-background: #fff;
    --adm-font-size-main: var(--adm-font-size-5);
    --adm-font-family: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, segoe ui, arial, roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    --adm-border-color: var(--adm-color-border)
}

html[data-prefers-color-scheme=dark] {
    --adm-color-primary: #3086ff;
    --adm-color-success: #34b368;
    --adm-color-warning: #ffa930;
    --adm-color-danger: #ff4a58;
    --adm-color-text: #e6e6e6;
    --adm-color-text-secondary: #b3b3b3;
    --adm-color-weak: grey;
    --adm-color-light: #4d4d4d;
    --adm-color-border: #2b2b2b;
    --adm-color-box: #0a0a0a;
    --adm-color-background: #1a1a1a;
    --adm-border-color: var(--adm-color-border)
}

:root {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

body {
    color: #333;
    color: var(--adm-color-text);
    font-family: -apple-system, blinkmacsystemfont, Helvetica Neue, helvetica, segoe ui, arial, roboto, PingFang SC, miui, Hiragino Sans GB, Microsoft Yahei, sans-serif;
    font-family: var(--adm-font-family);
    font-size: 13px;
    font-size: var(--adm-font-size-main)
}

a, button {
    cursor: pointer
}

a {
    color: #1677ff;
    color: var(--adm-color-primary);
    transition: opacity .2s ease-in-out
}

a:active {
    opacity: .8
}

.adm-plain-anchor {
    color: inherit;
    transition: none
}

.adm-plain-anchor:active {
    opacity: 1
}

body.adm-overflow-hidden {
    overflow: hidden !important
}

div.adm-px-tester {
    --size: 1;
    bottom: -100vh;
    height: calc(var(--size) / 2 * 2px);
    pointer-events: none;
    position: fixed;
    right: -100vw;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 0
}

.adm-image {
    --width: var(--adm-image-width, auto);
    --height: var(--adm-image-height, auto);
    display: block;
    height: var(--height);
    overflow: hidden;
    width: var(--width)
}

.adm-image-img {
    height: 100%;
    width: 100%
}

.adm-image-tip {
    background-color: var(--adm-color-box);
    height: 100%;
    min-height: 24px;
    min-width: 24px;
    position: relative
}

.adm-image-tip > svg {
    color: var(--adm-color-weak);
    height: 24px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px
}

.btn {
    cursor: pointer;
    left: 0;
    padding: 0;
    position: fixed;
    top: 1.2rem;
    z-index: 200
}

.header {
    align-items: center;
    background: #87312e;
    box-shadow: 0 .04rem .08rem 0 rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    height: 2.9rem;
    justify-content: center
}

.title {
    font-weight: 600;
}

.title, .title .searchIcon {
    color: #fff;
    font-size: 1.2rem
}

.title .searchIcon {
    right: 1.1rem;
    top: 1.38rem;
    transform: translateY(-50%);
    z-index: 888
}

.searchContainer {
    border: 5 solid red;
    height: .8rem;
    position: fixed;
    width: 90%
}

.searchContainer .input {
    font-size: 1.28rem;
    height: 2.6rem;
    left: 1.26rem;
    opacity: .9;
    position: absolute;
    top: 30%;
    width: 90%;
    z-index: 999;
}

.searchContainer .searchResults {
    background-color: #fff;
    box-shadow: 0 0 .1rem rgba(0, 0, 0, .5);
    left: .26rem;
    opacity: .9;
    position: absolute;
    top: .7rem;
    width: 90%;
    z-index: 1000
}

.searchResults li a {
    align-items: center;
    border-radius: .21rem;
    display: flex;
    font-size: .24rem;
    font-weight: 600;
    height: .6rem;
    padding-left: .14rem;
    width: 100%
}

.searchResults li a .thum {
    border-radius: .06rem;
    height: .3rem;
    margin-right: .08rem;
    overflow: hidden;
    width: .3rem
}

.searchResults li a .thum img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%
}

.searchContainer {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding-right: .05rem;
    position: relative
}

.searchBox input {
    font-size: .28rem;
    height: .6rem;
    position: absolute;
    right: .7rem;
    top: 30%;
    width: 100%;
    width: 4rem
}

.searchIcon {
    color: #fff;
    font-size: .5rem;
    padding-right: .05rem;
    position: absolute;
    top: 30%;
    transform: translateY(-50%)
}

.copyRights {
    color: #333232;
    font-size: .32rem;
    font-weight: 400;
    padding-bottom: 1rem;
    padding-left: .3rem
}

footer {
    background: #f08080;
    bottom: 0;
    height: 2.8rem;
    left: 0;
    margin-top: .3rem;
    position: fixed;
    width: 100%;
    z-index: 999
}

footer nav {
    align-items: stretch;
    display: flex;
    justify-content: stretch;
    width: 100%
}

footer nav a {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    height: 2.8rem;
    justify-content: center;
    text-decoration: none;
    width: 33%
}

footer nav a:hover {
    color: #fff;
    text-decoration: none
}

footer nav a.active {
    background: #c496ec;
    text-decoration: none
}

footer nav a .iconfont {
    font-size: .24rem
}

.foot-icon-size {
    font-size: .32rem
}

.img {
    display: block
}

.category_games {
    background: hsla(0, 0%, 100%, .6);
    border: .03rem solid #fff;
    border-radius: .2rem;
    box-shadow: 0 .04rem .06rem 0 rgba(0, 0, 0, .2);
    margin: .1rem auto .2rem;
    width: calc(100% - .3rem)
}

.category_games h1 {
    align-items: center;
    background: #c496ec;
    border: .03rem solid #fff;
    border-radius: 0 0 .28rem .28rem;
    border-top: none;
    box-shadow: 0 .06rem .02rem 0 rgba(0, 0, 0, .2);
    color: #fff;
    display: flex;
    font-size: 1.3rem;
    font-weight: 600;
    height: 1.8rem;
    justify-content: center;
    margin: 0 auto .2rem;
    padding-bottom: .05rem;
    width: calc(100% - .4rem)
}

.category_games > ul {
    grid-gap: .1rem .1rem;
    display: grid;
    gap: .1rem .1rem;
    grid-auto-flow: row dense;
    grid-template-columns:repeat(auto-fill, calc(33.33333% - .06667rem));
    padding: 0 .15rem .2rem
}

.category_games > ul li {
    height: 0;
    list-style-type: none;
    padding-bottom: 100%;
    position: relative
}

.category_games > ul li a {
    border-radius: .16rem;
    box-shadow: 0 .04rem .1rem 0 #64b4b2;
    display: block;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%
}

.category_games > ul li a img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 16px;
    height: 100%;
    width: 100%
}

img {
    display: block
}

body {
    background: #bd8f5c;
    background-attachment: fixed;
    background-position: 50%;
    background-size: 100% 100vh;
    counter-reset: num;
    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;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    min-height: 100%;
    padding-bottom: 50px;
    position: relative;
    width: 100%
}

a {
    text-decoration: none
}

ol, ul {
    list-style: none
}

.content {
    margin-bottom: .3rem;
    min-height: calc(100vh - 1.8rem);
    padding-bottom: .1rem
}

.games {
    grid-gap: .12rem .12rem;
    display: grid;
    gap: .12rem .12rem;
    grid-auto-flow: row dense;
    grid-template-columns:repeat(auto-fill, calc(33.33333% - .08rem));
    margin-top: .2rem;
    padding: .05rem .15rem .3rem
}

.games li {
    height: 0;
    list-style-type: none;
    padding-bottom: 100%;
    position: relative
}

.games li:nth-child(12n-1), .games li:nth-child(12n-8) {
    grid-column-start: span 2;
    grid-row-start: span 2
}

.games li a {
    border: .02rem solid #fff;
    border-radius: .24rem;
    box-shadow: 0 .04rem .1rem 0 #167c79;
    display: block;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%
}

.games li a img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%
}