*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}
a{
    text-decoration: none;
}
ul,li{
    list-style: none;
}
body,html{
	box-sizing: border-box;
}
body{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
	background:linear-gradient(to bottom,#FACAD7,#FEF2F2 100%);
	color: #333;
	
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
	
}
.mr30{
	margin-right: 30px;
}
/* header */
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #E82E2F;
	padding:20px;
}
.header h2{
	height: 54px;
	overflow: hidden;
	line-height: 54px;
	font-size: 48px;
    font-weight: 800;
}
.header .btn{
	width: 54px;
	height: 54px;
	line-height: 54px;
	background-color: #E82E2F;
	text-align: center;
	color: #FEF2F2;
}
.header .btn span{
    font-size:38px;
	display: inline-block;
}
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,.8);
    z-index: 2147483647;
    display: none;
	overflow: hidden;
}
#sidebar{
	position: relative;
    background-color:#FACBD8;
    position: absolute;
    top:80px;
    width: 440px;
	border-radius:0 30px 30px 0;
	overflow: hidden;
    animation: menudrop .3s linear forwards;
}
.mobile-ul{
	display: flex;
	flex-direction:column;
	padding:15px 20px;
}
.mobile-ul .home{
	color: #E82E2F;
}
.mobile-ul a{
	display: block;
	text-align: center;
	padding:20px;
	font-size: 28px;
	color: #333;
}
.hide #sidebar{
    animation: menudrop 1s ease reverse forwards;
}
#sidebar .top{
	text-align: right;
	padding:15px 15px 0 0;
}
#sidebar .closedBtn{
	position: absolute;
	right: 15px;
	top: 15px;
	width: 44px;
	text-align: center;
	height: 44px;
	color:#E82E2F;
	border-radius: 50px;
	display: block;
}
#sidebar .closedBtn i{
	font-size: 44px;
}

@keyframes menudrop{
    0% {
        transform: translateY(-165vw);
    }
    100% {
        transform: translateY(0);
    }
}
.sortWrap{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	background-color: #fff;
	border-radius: 35px;
	padding:20px;
}
.sortItem{
	width: 146px;
	display: block;
	margin: 5px;
}
.sortItem .imgIcon{
	height: 146px;
	display: block;
	border-radius: 30px;
	overflow: hidden;
	margin-bottom: 10px;
}
.sortItem .imgIcon img{
	width: 100%;
	object-fit: cover;
}
.sortItem .title{
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 20px;
	font-weight: bold;
	white-space: nowrap;
	color: #292B2F;
	text-align: center;
}
/* gameitem */
.gameItems{
	position: relative;
	display: flex;
	border-radius: 30px;
	width: 230px;
	height: 230px;
	overflow: hidden;
	margin:15px 0;
}
.gameItems a{
	display: block;
}
.gameItems .img{
	width: 100%;
}
.gameItems .img img{
	width: 100%;
	object-fit: cover;
}
.starWrap {
	display: flex;
	padding:10px 0;
	margin-bottom: 15px;
}
.starWrap>span{
	display: inline-block;
	vertical-align: middle;
}
.starWrap .star{
	width: 28px;
	height:28px;
	background: url('../images/star.png') center no-repeat;
	background-size: 100%;
	margin:0 3px;
}

.playBtn{
	padding:8px 20px;
	border-radius: 20px;
	background-color:#FE5100;
	font-size: 22px;
	color: #fff;
	text-align: center;
	width:100px;
	display:inline-block;
}

/* foot */
.foot{
	margin: 0 20px;
	padding:15px 0;
    color:#fff;
	border-top:2px solid #FFBCC0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.foot .logo{
	font-size: 34px;
	color: #E82E2F;
	font-weight:800;
}
.foot-right a{
	padding-left: 15px;
	display: inline-block;
	color: #E82E2F;
	font-size:20px;
}

.gameWrap{
	height:calc(100% - 60px);
}
.gameWrap .gamePlay{
	width: 100%;
	height: 100%;
	
}
.gamePlay>iframe {
    display: block;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 999;
}

.floatMenu{
	position: fixed;
	z-index: 11111;
	border-radius:0 30px 30px 0;
	padding:6px 6px 6px 10px;
	background-color: #facbd8;
	top: 5%;
	left:0;
}
.floatMenu a{
	display:block;
	width: 38px;
	height:38px;
	border-radius: 50%;
	background-color: #f55f5f;
	text-align: center;
	line-height: 38px;
	color: #1a1a1a;
}
.floatMenu.active {
    left: 60%;
	top:10%;
    z-index: 999999;
}
.floatMenu .btn img{
	width:28px;
	display: inline-block;
	margin-top: 5px;
}
.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:20px;
	border-radius: 0 20px 20px 0;
	left: 0;
	width: 60%;
	bottom: 20px;
}
.chu_box .mobile-ul{
	height: auto;
}
.chu_active {
    left: 0;
}
@media screen and (max-width:1082px){
	.gameItems {
		width: 235px;
		height: 235px;
	}	
}
@media screen and (max-width:1025px){
	.sortItem {
	    width: 138px;
	    margin: 5px 0;
	}
	.sortItem .imgIcon{
		height: 138px;
	}
	.gameItems {
	  
	    width: 220px;
	    height: 220px;
	    overflow: hidden;
	    margin: 15px 0;
	}
}
@media screen and (max-width:913px){
	.sortWrap {
	    border-radius: 35px;
	    padding:15px 30px;
	}
	.sortItem {
	    width: 248px;
	    display: block;
	    margin:15px 0px ;
	}
	.sortItem .imgIcon {
	   height: 248px;
	}
	.gameItems {
	    position: relative;
	    display: flex;
	    border-radius: 30px;
	    width: 190px;
	    height:190px;
	    overflow: hidden;
	    margin: 15px 0;
	}
}
@media screen and (max-width:821px){
	.sortItem {
	    width: 212px;
	    display: block;
	    margin:15px 0px ;
	}
	.sortItem .imgIcon {
	   height: 212px;
	}
	.gameItems {
	    width: 172px;
	    height:172px;
		margin: 12px 0;
	}
}
@media screen and (max-width:768px){
	.sortItem {
	    width: 202px;
	}
	.sortItem .imgIcon {
	   height: 202px;
	   margin-bottom: 15px;
	}
	.gameItems {
	    width: 218px;
	    height: 218px;
		margin: 16px 0;
	}
	
}
@media screen and (max-width:641px){
	.header h2 {
	    height: 48px;
	    line-height: 48px;
	    font-size: 38px;
	}
	.header .btn {
	    width: 48px;
	    height: 48px;
	    line-height: 48px;
	}
	.header .btn span {
	    font-size: 28px;
	}
	.sortWrap {
	    border-radius: 25px;
	    padding:15px 20px;
	}
	.sortItem {
	    width:172px;
		margin: 10px 0;
	}
	.sortItem .imgIcon {
	    height: 172px;
	    margin-bottom: 10px;
		border-radius: 20px;
	}
	.gameItems {
		border-radius:20px;
	    width: 184px;
	    height:184px;
	    margin:10px 0;
	}
}
@media screen and (max-width:541px){
	#sidebar {
	    width: 280px;
	}
	.mobile-ul a {
	    padding:15px;
	    font-size: 22px;
	}
	.sortItem .title {
	    font-size: 16px;
	}
	.starWrap .star {
	    width: 22px;
	    height: 22px;
	}
}
@media screen and (max-width:431px){
	.header {
	    display: flex;
	    justify-content: space-between;
	    align-items: center;
	    color: #E82E2F;
	    padding:15px;
	}
	.header .btn {
	    width: 42px;
	    height: 42px;
	    line-height: 42px;
	}
	.header h2 {
	    height: 42px;
	    line-height: 42px;
	    font-size: 32px;
	}
	.header .btn span {
	    font-size: 28px;
	}
	.sortWrap {
	    border-radius: 20px;
	    padding: 10px 15px;
	}
	.sortItem {
	    width: 112px;
	    margin: 6px 0;
	}
	.sortItem .imgIcon {
	    height: 112px;
	    border-radius: 20px;
	}
	.gameItems {
	    border-radius: 20px;
	    width: 124px;
	    height: 124px;
	    margin: 8px 0;
	}
	.foot {
	    margin:15px 15px 0;
	    padding:15px 0;
	    color: #fff;
	    border-top: 2px solid #FFBCC0;
	    display: flex;
	    align-items: center;
	    justify-content: space-between;
	}
	.foot .logo {
	    font-size: 26px;
	}
	.foot-right a {
	    font-size:16px;
	}
	#sidebar{
		top: 70px;
		width: 240px;
	}
	#sidebar .closedBtn{
		right: 8px;
		top: 8px;
		width: 40px;
		height: 40px;
	}
	#sidebar .closedBtn i{
		font-size: 40px;
	}
}
@media screen and (max-width:415px){
	
	.sortWrap {
	    border-radius: 20px;
	    padding:10px 14px;
	}
	.sortItem {
	    width: 110px;
	}
	.sortItem .imgIcon {
	    height: 110px;
	    border-radius: 20px;
	}
	.sortItem .title {
	    font-size: 15px;
	}
	.gameItems {
	    border-radius: 20px;
	    width: 118px;
	    height: 118px;
	    margin: 6px 0;
	}
	.mobile-ul a {
	    font-size: 18px;
	}
	
}
@media screen and (max-width:376px){
	.header h2 {
	    font-size: 28px;
		height: 36px;
		line-height: 36px;
	}
	.header .btn {
	    width: 36px;
	    height: 36px;
	    line-height: 36px;
	}
	#sidebar{
		top: 60px;
		width: 220px;
		
	}
	.mobile-ul a {
	    font-size: 16px;
	}
	#sidebar .closedBtn {
	    right: 10px;
	    top: 10px;
	    width: 38px;
	    height:38px;
	}
	.sortTitle {
	    font-size: 24px;
	}
	.sortItem {
	    width: 98px;
	}
	.sortItem .imgIcon {
	    height: 98px;
	    border-radius:15px;
	}
	.gameItems {
	    border-radius: 15px;
	    width: 106px;
	    height: 106px;
	    margin: 6px 0;
	}
}
@media screen and (max-width:361px){
	.sortItem {
	    width: 92px;
	}
	.sortItem .imgIcon {
	    height: 92px;
	}
	.gameItems {
	    border-radius: 15px;
	    width: 102px;
	    height: 102px;
	    margin: 6px 0;
	}
}
@media screen and (max-width:321px){
	.header h2 {
	    font-size: 24px;
	}
	.sortItem {
	    width: 84px;
		margin:8px 0;
	}
	.sortItem .imgIcon {
	    height: 84px;
	    border-radius: 10px;
	}
	.sortWrap {
	    border-radius: 20px;
	    padding:6px 12px;
	}
	.gameItems {
	    border-radius: 10px;
	    width:90px;
	    height: 90px;
	    margin: 6px 0;
	}
	.foot {
	    margin:10px 12px 0;
	}
	.foot .logo {
	    font-size: 22px;
	}
	.foot-right a {
	    font-size: 14px;
	}
}
@media screen and (max-width:280px){
	
}