* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    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;
    word-break: break-word
}

body {
    background-color: #75bbdd;
}

a {
    text-decoration: none
}

ul, li {
    list-style: none
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    overflow: hidden
}

.container {
    /*margin: 0 auto;*/
    margin: 0 1rem;
}

@media screen and (max-width: 468px) {
    .container {
        margin: 0 auto;
    }
}

@media screen and (min-width: 468px) {
    .container {
        margin: 0 1rem;
    }
}

.container .gameImgBox {
    display: block;
    transition: all .3s;
    font-weight:bold;
}

.container .gameImgBox .imgBox {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 98%;
    position: relative;
    overflow: hidden;
    border: 3px solid #3175f7;
    border-radius: 10px;
    font-weight:bold;
}

.container .gameImgBox .imgBox img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover
}

.container .gameImgBox .imgBox p {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    bottom: 0;
    height: 70px;
    background-color: rgba(0, 0, 0, .4);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    padding: 0 5px;
    line-height: 40px;
}

@media screen and (max-width: 468px){
    .container .small .imgBox p {
        height:30px;
        line-height: 30px;
    }
}

.container .gameImgBox .imgBox + p {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.container .gameImgBox:hover {
    transform: scale(1.1)
}

.container .gameImgBox:hover .imgBox {
    border: 3px solid #3175f7
}

.container .gameImgBox:hover .imgBox p {
    color: #3175f7;
}

.container .gameImgBox:hover p {
    color: #fff;
}

@media screen and (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px
    }
}

header {
    background-color: #3175f7;
}

header .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

header .container .logo {
    height: 50px;
    display: flex;
    align-items: center
}

header .container .search {
    display: flex;
    align-items: center
}

header .container .search .searchBOx {
    position: relative;
    width: 340px;
    height: 40px
}

header .container .search .searchBOx > input {
    border: none;
    outline: none;
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    text-indent: 1rem;
    border-radius: 4px;
    color: #666
}

header .container .search .searchBOx > input::placeholder {
    color: #ccc
}

header .container .search .searchBOx .iconfont {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 1.4em;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #fff;
    background-color: #080dff;
    cursor: pointer
}

header .container .search .searchBOx .iconfont:hover {
    opacity: .8
}

header .container .search .searchBOx .keyword {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50px;
    background-color: #fff;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, .4);
    border-radius: 4px;
    padding: 15px 20px 5px;
    display: none;
    flex-wrap: wrap;
    z-index: 999999
}

header .container .search .searchBOx .keyword a {
    color: #666;
    margin-bottom: 10px;
    margin-right: 15px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    border-radius: 4px;
    background-color: #eee;
    padding: 0 15px
}

header .container .search .searchBOx .keyword a:hover {
    background-color: #0b5ed7;
    color: #fff
}

header .container .search .gameType {
    display: none
}

header .container #wapBtn {
    display: none
}

@media screen and (max-width: 1200px) {
    header .container {
        height: 60px
    }

    header .container .logo {
        height: 36px
    }

    header .container .logo span {
        height: 46px;
        font-size: 14px;
        line-height: 1.3em;
        width: 360px
    }

    header .container .logo span::before {
        top: 14px
    }

    header .container .search .searchBOx {
        width: 220px;
        height: 36px
    }

    header .container .search .searchBOx .iconfont {
        height: 36px
    }
}

footer {
    text-align: center;
    padding: 30px 0 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight:bold;
    background: #3175f7;
}

footer .container p, footer .container a {
    color: #fff;
    font-size: 15px;
    line-height: 1.4em;
}

footer .container p.link, footer .container a.link {
    padding: 5px 0;
}

footer .container p.link:hover, footer .container a.link:hover {
    color: #fff
}

@media screen and (max-width: 1200px) {
    footer {
        padding: 20px 0 10px
    }
}

.main {
    padding: 15px 0
}

.main .topNav {
    margin-bottom: 15px;
    background-color: #80a5eb;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.main .topNav .classify_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% - 140px);
    height: 40px;
    overflow: hidden
}

.main .topNav .classify_list a {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 40px;
    color: #fff;
    padding: 10px 20px 10px 10px;
    transition: all .3s;
    font-weight: bold;
}

.main .topNav .classify_list a.active, .main .topNav .classify_list a:hover {
    background-color: #3175f7;
    color: #fff;
    border-radius: 4px
}

.main .topNav .classify_list a + a {
    margin-left: 20px
}

.main .topNav .classify_list a img {
    width: 20px;
    margin-right: 4px
}

.main .topNav .more {
    height: 40px;
    width: 130px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    background-color: #31cdf7;
    border-radius: 4px;
    transition: all .3s
}

.main .topNav .more:hover {
    opacity: .8
}

.main .recommendGames {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px
}

.main .recommendGames .gameImgBox {
    width: calc((100% - 180px) / 10)
}

.main .recommendGames .gameImgBox + .gameImgBox {
    margin-left: 10px
}

.main .recommendGames .gameImgBox:hover .imgBox img {
    transform: scale(1.04)
}

@media screen and (max-width: 1200px) {
    .main {
        padding: 10px
    }

    .main .topNav {
        margin-bottom: 20px
    }

    .main .topNav .classify_list {
        height: 40px
    }

    .main .topNav .classify_list a {
        padding: 10px 20px 10px 10px
    }

    .main .topNav .classify_list a + a {
        margin-left: 15px
    }

    .main .topNav .more {
        height: 40px;
        line-height: 40px
    }

    .main .recommendGames {
        margin-bottom: 20px
    }
}

.commentAndGames {
    background-color: #fff;
    padding: 25px;
    border-radius: 4px
}

.commentAndGames .bigGames {
    display: flex;
    flex-wrap: wrap
}

.commentAndGames .bigGames .gameImgBox {
    width: calc(20% - 16px);
    margin-right: 20px;
    margin-bottom: 10px
}

.commentAndGames .bigGames .gameImgBox:nth-child(5n) {
    margin-right: 0
}

.commentAndGames .smallGames {
    display: flex;
    flex-wrap: wrap
}

.commentAndGames .smallGames .gameImgBox {
    width: calc((100% - 80px) / 9);
    margin-right: 10px;
    margin-bottom: 5px
}

.commentAndGames .smallGames .gameImgBox:nth-child(9n) {
    margin-right: 0
}

.commentAndGames .comment {
    display: flex;
    justify-content: space-between
}

.commentAndGames .comment .commentBox {
    width: calc(100% - (100% - 80px) / 9 * 2 - 20px);
    padding: 10px;
    background-color: rgba(0, 0, 0, .06)
}

.commentAndGames .comment .comGames {
    width: calc((100% - 80px) / 9 * 2 + 10px);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between
}

.commentAndGames .comment .comGames .gameImgBox {
    width: calc(50% - 5px);
    margin-bottom: 5px
}

@media screen and (max-width: 1200px) {
    .commentAndGames {
        padding: 15px
    }

    .commentAndGames .bigGames .gameImgBox {
        width: calc(20% - 8px);
        margin-right: 10px;
        margin-bottom: 5px
    }

    .commentAndGames .smallGames .gameImgBox {
        width: calc((100% - 40px) / 9);
        margin-right: 5px
    }

    .commentAndGames .comment {
        display: flex;
        justify-content: space-between
    }

    .commentAndGames .comment .commentBox {
        width: calc(100% - (100% - 40px) / 9 * 2 - 10px);
        padding: 10px;
        background-color: #b0d237
    }

    .commentAndGames .comment .comGames {
        width: calc((100% - 40px) / 9 * 2 + 5px);
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between
    }

    .commentAndGames .comment .comGames .gameImgBox {
        width: calc(50% - 2.5px);
        margin-bottom: 5px
    }
}

.ad_box_flex {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, .04);
    margin-bottom: 20px;
    padding: 5px;
    border-radius: 3px
}

.ad_box_flex > p {
    writing-mode: vertical-lr;
    transform: rotateZ(180deg);
    color: rgba(0, 0, 0, .3);
    font-size: 12px;
    text-align: center;
    margin-right: 10px
}

.ad_box_flex .ad {
    display: flex;
    align-items: center;
    justify-content: center
}