*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}
a{
    text-decoration: none;
}
ul,li{
    list-style: none;
}
input[type=text]::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
    color:#ddd;
}
input[type=text]:-moz-placeholder,textarea:-moz-placeholder{
    color:#ddd;
}
input[type=text]:-ms-input-placeholder,textarea:-ms-input-placeholder{
    color:#ddd;
}
body,html{
	height: 100%;
	box-sizing: border-box;
}
body{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
	background-color:#17181C;
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
	color: #fff;
}
.f-green{
	color:#A4EF2E;
}
.mb15{
	margin-bottom: 20px;
}
/* header */
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:20px 30px;
	color: #fff;
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	background-color: #17181C;
	z-index: 999;
}
.header h2 a{
	font-size: 28px;
	color: #fff;
	font-weight:800;
}
.menu{
	width: 50%;
	background-color: #fff;
	border-radius: 50px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #1a1a1a;
}
.menu>span{
	display: inline-block;
}
.menu .txt{
	padding:10px 20px;
	font-size: 18px;
}
.menubtn{
	padding:10px 28px;
	border-radius:30px;
	text-align: center;
	background-color:#A4EF2E;
	display: inline-block;
	color: #fff;
	line-height: 1.5;
}
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.6);
    z-index: 2147483647;
    display: none;
	overflow: hidden;
}
#sidebar{
	width: 50%;
    background-color:#fff;
    position: absolute;
    top:10px;
	right: 10px;
	overflow-y: auto;
    animation: menudrop .3s linear forwards;
	border-radius:20px;
	padding: 0 0 10px 10px;
}
#sidebar .menu{
	width: 100%;
}
.hide #sidebar{
    animation: menudrop 1s ease reverse forwards;
}

#sidebar ul li a{
	display: block;
	text-align:left;
	font-size: 18px;
	padding: 15px 20px;
	color: #333;
}
@keyframes menudrop{
    0% {
        transform: translateY(-165vw);
    }
    100% {
        transform: translateY(0);
    }
}

.sortWrap{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background-color:#292B2F;
	border-radius: 30px;
	padding: 15px;
	margin-bottom: 15px;
}
.sortItem{
	width: 166px;
	height:166px;
	margin:10px;
	border-radius:28px;
	overflow: hidden;
}
.sortItem .imgIcon{
	width: 100%;
	overflow: hidden;
	flex-shrink: 0;
}
.sortItem .imgIcon:first-child{
	margin-left: 0;
}

/* gameitems */
.gameItems{
	display: flex;
	color: #fff;
}
.gameItems .img{
	width: 146px;
	height:146px;
	flex-shrink: 0;
}
.gameItems .img img{
	width: 100%;
	border-radius:20px;
	object-fit: cover;
}
.gameItems .infoWrap{
	flex: 1;
	padding-left: 15px;
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	
}
.gameItems .infoWrap dl{
	flex: 1;
	padding-right: 15px;
}
.gameItems .title{
	text-overflow: ellipsis;
    font-size: 24px;
	font-weight: bold;
    overflow: hidden;
	max-height: 60px;
}

.gameItems .infoWrap dd{
	color: #797979;
	font-size: 18px;
	white-space: wrap;
	padding-right: 5px;
	max-height: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 10px 0;
	word-wrap: break-word;
	word-break: break-all;
}
.gameItems .btn{
	display: inline-block;
	border-radius: 30px;
	background-color:#A4EF2E;
	font-size: 34px;
	padding:6px 25px 3px 25px;
}

.starWrap {
	display: flex;
	margin:10px 0 20px;
}
.starWrap>span{
	display: inline-block;
	vertical-align: middle;
}
.starWrap .star{
	width: 22px;
	height:22px;
	background: url('../images/star.png') center no-repeat;
	background-size: 100%;
	margin:0 3px;
}

/* foot */
.foot{
	padding:24px 0;
    color:#fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgba(255,255,255,.2);
	
}
.foot .foot-left a{
	text-align:left;
	display: inline-block;
	font-weight: 500;
	color: #fff;
	font-size: 18px;
	padding-right: 30px;
}
.backTop{
	font-size: 18px;
	display:inline-flex;
	align-items: center;
}
.backTop i,.backTop span{
	display: inline-block;
	vertical-align: middle;
}
.backTop i{
	margin-right: 10px;
	font-size: 14px;
}
.chu_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: -100%;
    overflow: hidden;
    z-index: 9999;
}
.chu_box #sidebar{
	top: 5%;
	left:20px;
	border-radius: 20px;
	padding-top: 15px;
}

.chu_active {
    left: 0;
}
.gameWrap{
	height:calc(100% - 20px);
}
.gameWrap .gamePlay{
	width: 100%;
	height: 100%;
	
}
.gamePlay>iframe {
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 999;
}

.floatMenu{
	position: fixed;
	z-index: 11111;
	border-radius:50%;
	background-color: #fff;
	padding: 5px;
	top: 15px;
	left: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.floatMenu a{
	display:block;
	border-radius: 50%;
	text-align: center;
	height: 48px;
	width: 48px;
}
.floatMenu.active {
    z-index: 999999;
}
.floatMenu .btn img{
	width:100%;
}
@media screen and (max-width:1181px){
	
}
@media screen and (max-width:1025px){
	.sortItem {
	    width: 138px;
	    height: 138px;
	    border-radius: 15px;
	}
	.gameItems .img {
	    width: 134px;
	    height: 134px;
	}
	.gameItems .btn {
	    font-size: 36px;
	    padding: 10px 30px 6px 30px;
	}
	.gameItems .title {
	    font-size: 28px;
	}
	.gameItems .infoWrap dd {
	    font-size:20px;
	}
	.foot {
	    padding: 20px;
	}
}
@media screen and (max-width:915px){
	.header h2 a{
		font-size:34px;
	}
	.sortWrap{
		padding: 10px;
	}
	.sortItem {
	    width: 124px;
	    height: 124px;
	    border-radius: 15px;
	}
	.gameItems .img {
	    width: 148px;
	    height: 148px;
	}
	.gameItems .infoWrap{
		padding-left: 20px;
	}
	.gameItems .infoWrap dl {
	    flex: 1;
	    padding-right: 20px;
	}
	
}
@media screen and (max-width:821px){
	.sortWrap {
	   flex-wrap: wrap;
	   padding:10px 15px;
	}
	.sortItem {
	    width: 104px;
	    height:104px;
		border-radius: 15px;
		margin:10px 0;
	}
	.gameItems .img {
	    width: 120px;
	    height: 120px;
	}
	.floatMenu a {
	    height: 46px;
	    width: 46px;
	}
	.chu_box #sidebar{
		border-radius: 15px;
		top: 40px
	}
}
@media screen and (max-width:768px){
	.header {
	    padding: 15px 20px;
	}
	.header h2 a {
	    font-size: 42px;
	}
	.menu .txt {
	    font-size:20px;
	}
	.gameItems .img {
	    width: 154px;
	    height: 154px;
	}
	.gameItems .infoWrap {
	    padding-left: 15px;
	}
	.gameItems .title {
	    font-size: 24px;
	}
	.sortItem {
	    width: 200px;
	    height:200px;
		margin: 15px;
	}
	.foot {
		margin-top: 5px;
	    padding: 20px 15px;
	}
	.backTop{
		width: 45%;
		justify-content: right;
	}
	.chu_box #sidebar{
		top: 35px;
	}
}
@media screen and (max-width:641px){
	.sortItem {
	    width: 156px;
	    height: 156px;
	}
	.floatMenu a {
	    height: 36px;
	    width: 36px;
	}
}
@media screen and (max-width:541px){
	.gameItems .title {
	    font-size: 20px;
		max-height: 44px;
	}
	.sortItem {
	    width: 138px;
	    height: 138px;
		margin: 10px 0;
	}
}
@media screen and (max-width:431px){
	.header {
	    padding:10px 15px;
	}
	.header h2 a{
	    font-size: 26px;
	}
	.menubtn {
	    line-height: 1.2;
	}
	.menu .txt {
	    padding: 8px 15px;
	    font-size: 16px;
	}
	.sortWrap {
		flex-wrap: wrap;
		margin-top: 10px;
	}
	.sortItem {
	    width: 100px;
	    height:100px;
		margin:8px 0;
	    border-radius: 15px;
	}
	.gameItems .btn {
		font-size: 28px;
	    padding: 4px 18px 2px 18px;
	}
	#sidebar ul li a {
	    padding:10px 15px;
	}
	.gameItems .title {
		width: 90%;
	    font-size: 15px;
		max-height: 40px;
	}
	.gameItems .infoWrap dd {
	    font-size: 13px;
		max-height: 36px;
		margin-bottom: 0;
	}
	.chu_box #sidebar {
	    left: 6%;
	}
}
@media screen and (max-width:415px){
	.sortItem {
	    width: 106px;
	    height: 106px;
	    border-radius: 15px;
	}
	.starWrap .star {
	    width: 18px;
	    height: 18px;
	}
	.foot .foot-left a {
	    font-size: 14px;
	}
	.backTop {
	    font-size: 16px;
	   
	}
}
@media screen and (max-width:376px){
	.header {
	    padding:10px 15px;
	}
	.sortWrap {
		border-radius:20px;
		padding:10px 15px;
	}
	.sortItem {
	    width: 95px;
	    height: 95px;
	}
	.gameItems .btn {
	    font-size: 24px;
	    padding: 4px 15px 2px 15px;
	}
}

@media screen and (max-width:361px){
	
	.header h2 a {
	    font-size: 24px;
	}
	.sortItem {
	    width: 93px;
	    height:93px;
	}
	.sortWrap {
	   padding:10px 12px;
	}
	.gameItems .btn {
	    font-size: 26px;
	    padding: 2px 15px 1px 15px;
	}
	.backTop {
	    font-size: 12px;
	}
	.foot .foot-left a {
     font-size: 12px;
	}
	.foot {
	    padding:10px 15px;
	}
	.backTop i {
	    font-size: 10px;
	}
	#sidebar ul li a {
	    font-size: 16px;
	    padding: 15px;
	}
}
@media screen and (max-width:321px){
	.header h2 a {
	    font-size: 24px;
	}
	.menu .txt {
	    padding: 5px 0 5px 15px;
	    font-size: 14px;
	}
	.sortItem {
	    width: 84px;
	    height: 84px;
		margin:6px 0;
	}
	.menubtn {
	    padding:6px 20px;
	    line-height: 1.5;
	}
}
@media screen and (max-width:281px){
	.sortItem {
	    width: 70px;
	    height: 70px;
	    margin: 6px 0;
		border-radius: 10px;
	}
}