@charset "utf-8";
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td,
figure {
    margin: 0;
    padding: 0;
}

fieldset,
img {
    border: 0;
}

:focus {
    outline: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var,
optgroup {
    font-style: normal;
    font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

input,
button,
textarea,
select,
optgroup,
option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

code,
kbd,
samp,
tt {
    font-size: 100%;
}

body {
    line-height: 1.5;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
}

sup,
sub {
    font-size: 100%;
    vertical-align: baseline;
}

:link,
:visited,
ins {
    text-decoration: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

b,
em,
i {
    font-style: normal;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

a {
    color: #6297ff;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    font-family: 'Microsoft Yahei', Arial, Tahoma, Helvetica, 'SimSun', 'Hiragino Sans GB', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    position: relative;
    color: #333;
    background: #eaeef1;
    height: 100%;
}

button,
input,
select,
textarea,
th {
    background: #fff;
    font-size: 12px;
    line-height: 1;
    font-family: 'Microsoft Yahei', Arial, Tahoma, Helvetica, 'SimSun';
}

input[type='submit'],
input[type='reset'],
input[type='password'],
input[type='button'],
input[type='text'],
button {
    -webkit-appearance: none;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

html {
    font-size: 100px;
}

body {
    font-size: 0.24rem;
    max-width: 7.5rem;
    min-width: 3.2rem;
    margin: 0 auto;
}

header,
section,
footer,
aside,
nav,
article,
figure {
    display: block;
}

header {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 0.26rem;
    height: 0.98rem;
    background: #fff;
}

header a {
    display: block;
}

header .logo {
    display: block;
    width: auto;
    height: 0.79rem;
    margin-top: 0.09rem;
}

header .logo img {
    display: block;
    width: auto;
    height: 100%;
}

header .troll {
    position: relative;
    width: 3.9rem;
    height: 0.6rem;
    border-radius: 0.3rem;
    background-color: #ebebeb;
    margin-top: 0.2rem;
}

header .troll:after {
    content: '';
    position: absolute;
    top: 0.13rem;
    right: 0.24rem;
    display: block;
    width: 0.35rem;
    height: 0.35rem;
    background: url(../img/icon_game_list.png) no-repeat;
    background-size: 10rem 10rem;
    background-position: -0.1rem -0.05rem;
}

header .troll input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    border: none;
    width: 3.2rem;
    padding: 0 0.3rem;
    height: 0.6rem;
    border-radius: 0.3rem;
    background-color: transparent;
    text-align: left;
    font-size: 0.24rem;
    color: #999;
}

header .troll input::-webkit-input-placeholder {
    color: rgba(153, 153, 153, 0.3);
    font-size: 0.24rem;
}

header .troll input::-moz-placeholder {
    color: rgba(153, 153, 153, 0.3);
    font-size: 0.24rem;
}

header .troll input:-moz-placeholder {
    color: rgba(153, 153, 153, 0.3);
    font-size: 0.24rem;
}

header .troll input:-ms-input-placeholder {
    color: rgba(153, 153, 153, 0.3);
    font-size: 0.24rem;
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 100%;
    height: 0.04rem;
    background: linear-gradient(-90deg, #6c71ff, #56c4ff);
}

nav {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0.88rem;
    background: linear-gradient(-90deg, #6c71ff, #56c4ff);
}

nav:after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: block;
    height: 0.88rem;
    width: 0.68rem;
    background: linear-gradient(to right, rgba(105, 105, 225, 0), rgba(105, 105, 225, 1));
}

nav div {
    padding-left: 0.205rem;
    height: 0.88rem;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0;
    overflow-x: -moz-scrollbars-none;
    -ms-overflow-style: none;
}

nav div::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
    -webkit-appearance: none;
    border-radius: 0;
}

nav a {
    position: relative;
    display: inline-block;
    line-height: 0.88rem;
    text-align: center;
    color: #fff;
    font-size: 0.32rem;
    padding: 0 0.285rem;
}

nav a.current {
    color: #fff;
}

nav a:before,
nav a:after {
    content: '';
    position: absolute;
    display: none;
    width: 0.78rem;
    height: 0.7rem;
    background: url(../img/icon_game_list.png) no-repeat;
    background-size: 10rem 10rem;
}

nav a:before {
    top: 0;
    left: -0.2rem;
    background-position: -0.1rem -0.72rem;
}

nav a:after {
    bottom: 0;
    right: -0.26rem;
    background-position: -0.99rem -0.72rem;
}

nav a.current:before {
    display: block;
}

nav a.current:after {
    display: block;
}

footer {
    position: relative;
    background: #202020;
    padding: 0.22rem 0.26rem 0.56rem;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    width: 100%;
    height: 0.04rem;
    background: linear-gradient(-90deg, #6c71ff, #56c4ff);
}

footer img {
    margin: auto;
    display: block;
    height: 0.86rem;
    width: auto;
    margin-bottom: 0.24rem;
}

footer p,
footer p a {
    font-size: 0.22rem;
    color: #666;
    text-align: center;
    line-height: 0.36rem;
}

footer p a {
    color: #888;
}
