/*** index ***/
.contain{
	position: relative;
	padding:0 0.2rem 0.2rem;
	min-height:calc(100% - 1rem);
}
.card{
	background-color: #fff;
	border-radius: 0.1rem;
	padding: 0.2rem;
}
.card-head{
	display: flex;
	flex-direction: row;
	align-items: center;
}
.header-title{
	position: relative;
	font-size: 0.2rem;
	color: #333333;
	padding: 0.1rem 0;
	display: flex;
	align-items: center;
	text-transform: capitalize;
	font-weight: 1000;
}
.header-title span{
	position: relative;
	display: inline-block;
	padding-left: 0.1rem;
}
.header-title::before{
	display: inline-block;
	z-index: 10;
	content: '';
	width: 0.05rem;
	height: 0.18rem;
	background:#ac7bff;
	border-radius: 0.08rem;
}
.game-griad{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.game-griad li{
	width:2.1rem;
	display:inline-block;
	padding: 0.1rem 0;
}
.game-griad li a{
	display: block;
}
.them-img{
	width:2.1rem;
	height:2.1rem;
	border-radius: 0.2rem;
	overflow: hidden;
	margin: 0 auto;
}
.them-img img{
	max-width: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.game-griad .name{
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.18rem;
	color: #333;
	padding: 0.1rem ;
	
}
/* detail */
.playbtn{
	display: block;
	background-color: #fa78a6;
	border-radius: 0.4rem;
	padding: 0.1rem 0.15rem;
	color: #fff;
	font-size: 0.18rem;
	font-weight: bold;
	text-align: center;
	border: 0;
	text-transform: capitalize;
}


/* list */
.game-list{
	margin-top: 0.15rem;
}
.game-list-item{
	background-color: #fff;
	border-radius:.3rem;
	padding: 0.15rem;
	margin-bottom: 0.2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between; 
	box-shadow: 0 0 20px rgba(0,0,0,.1);
}
.game-list-item .thum-img{
	width: 1.2rem;
	height:1.2rem;
	border-radius: 0.25rem;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	flex-shrink: 0;
}
.game-list-item .thum-img img{
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position:center;
}
.game-list-item .info{
	flex: 1;
	display: inline-flex;
	align-items:center;
}
.game-list-item .info .title{
	font-size: 0.24rem;
	font-weight: bold;
	overflow: hidden;
	padding-left: 0.15rem;
	color: #666;
}
.game-list-item .info .star{
	padding-left: 0.08rem;
	margin: 0.05rem 0 0;
}
.star{
	margin: 0.1rem 0;
	display: flex;
	align-items: center;
}
.star span{
	display: inline-block;
	font-size: 0.2rem;
	font-family:"iconfont";
	color: #f978a6;
}
.star span:before{
	content: '\e62d';
}
.game-list-item  .playbtn{
	display: inline-block;
	width:1.1rem;
}

/* detail */
.detail-card{
	padding:0.15rem;
	background-color: #fff;
	border-radius: 0.1rem;
	margin: 0.15rem 0 0;
}
.detail-card .head{
	text-transform: capitalize;
	font-size: 0.2rem;
}
.detail-card  p{
	color: #797979;
	font-size: 0.14rem;
	padding: 0.1rem 0;
	line-height: 1.4;
}

.tags{
	display: flex;
	align-items: center;
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
}
.tags span{
	position: relative;
	display: inline-block;
	font-size: 0.14rem;
	color: #fff;
	text-transform: capitalize;
	padding: 0.03rem 0.1rem;
	background-color: #f978a6;
	border-radius: 0.4rem;
	margin-right: 0.05rem;
}

/* game */
.refreshWrap{
	position: relative;
}
.gameWrap{
	height:100%;
}
.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;
	top: 1.01rem;
	left:-0.11rem;
	width: 0.46rem;
	height:0.46rem;
	border-radius: 50%;
	text-align: center;
	line-height:0.46rem;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,.1);
	overflow: hidden;
	  -webkit-transition:left 0.5s 0.1s,-webkit-transform 0.5s 0.1s; /* For Safari 3.1 to 6.0 */
	    transition:left 0.5s 0.1s,transform 0.5s 0.1s;
}
.floatMenu .btn{
	display:block;
	font-size: 0.2rem;
}
.floatMenu.active{
	background-color: #fa78a6;
	color: #fff;
	left: 0.12rem;
	-webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
	transform: rotate(180deg);
}
.floatMenu.active .btn{
	font-size: 0.24rem;
}

.chu_box {
    width:100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    position: fixed;
    top: 0;
    left: -100%;
    overflow: hidden;
    z-index:9999;
}
.chu_box #sidebar{
	top: 0.9rem;
	left: 0;
	width: 0;
	background-color: #fff;
	border-radius:3rem;
	padding: 0.06rem 0.1rem 0.06rem 0.48rem;
	transition: width 0.5s;
}
.chu_box .mobile-ul{
	display: flex;
}
.chu_box .mobile-ul a {
	flex-shrink: 0;
	display: inline-block;
	width: 0.46rem;
	height: 0.46rem;
	line-height: 0.46rem;
	background-color: #fff;
	border-radius: 50%;
	margin: 0 0.05rem;
	box-shadow: 0 0 10px rgba(0,0,0,.1);
	font-size: 0.24rem;
	text-align:center;
	padding: 0;
	color: #999;
}
.chu_box .closedbtn{
	position: absolute;
	bottom: 10%;
	background-color: #fff;
	width: 0.42rem;
	height: 0.42rem;
	line-height: 0.42rem;
	border-radius: 50%;
	text-align: center;
	left: 45%;
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.chu_box .closedbtn i{
	font-style: normal;
	font-size: 0.32rem;
}
.chu_active {
   left: 0;
}
.chu_active #sidebar{
	width: 2.45rem;
}
.floatItem{
	display: flex;
	align-items: center;
	position: absolute;
	z-index: 1111;
	left: 0.15rem;
	right: 0.15rem;
	bottom:0.2rem;
	border-radius:0.15rem;
	padding:0.1rem;
	background-color:#fff;
	box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.floatItem .img{
	display: inline-block;
	width:0.6rem;
	height:0.6rem;
	border-radius:0.1rem;
	overflow: hidden;
	flex-shrink: 0;
}
.floatItem .img img{
	width: 100%;
	height: auto;
	object-fit: cover;
}
.floatItem .info{
	padding-left: 0.1rem;
	width: calc(100% - 0.6rem);
}
.floatItem .info .title{
	width: 90%;
	font-size:0.16rem;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.floatItem .info .star span {
    font-size: 0.18rem;
}

/* category */
.category-griad{
	padding: 0.1rem 0 0;
}
.category-item{
	display: flex;
	align-items:center;
	justify-content: space-between;
	background-color: #fff;
	border-radius: 0.12rem;
	padding: 0.15rem;
	margin-bottom: 0.2rem;
	box-shadow: 0 0 20px rgba(0,0,0,.1);
	font-size: 0.2rem;
	text-transform: capitalize;
	margin: 0.1rem 0;
	color: #666;
}
.category-item>span{
	display: inline-block;
}

@keyframes playAnimate {
    0%{
       left: -100px;
	   width: 0;
    }
    100%{
       left: 0;
	   width: 100%;
    }
}

@media screen and (max-width:769px){
	.game-griad li {
	    width: 2rem;
	}
	.them-img {
	    width: 2rem;
	    height: 2rem;
	}
}
@media screen and (max-width:541px){

}
@media screen and (max-width:441px){
	.contain{
		padding:0 0.15rem 0.15rem;
	}
	.game-list-item {
	    border-radius: 0.2rem;
	    padding: 0.1rem;
	    margin-bottom: 0.15rem;
	}
	.game-list-item .thum-img {
	    width: 0.8rem;
	    height: 0.8rem;
	    border-radius: 0.15rem;
	}
	.game-list-item .playbtn {
	    width:0.76rem;
		font-size: 0.16rem;
	}
	.game-list-item .info .title {
	    font-size: 0.2rem;
	    padding-left: 0.1rem;
	}
	.game-griad li {
	    width: 1.14rem;
	    padding: 0.05rem 0;
	}
	.them-img {
	    width: 1.14rem;
	    height: 1.14rem;
	    border-radius: 0.15rem;
	}
	.game-griad .name {
	    font-size: 0.16rem;
	}
}
@media screen and (max-width:431px){
	.game-griad li {
	    width: 1.1rem;
	}
	.them-img {
	    width: 1.1rem;
	    height: 1.1rem;
	}
}
@media screen and (max-width:415px){
	.contain{
		padding: 0 0.1rem 0.1rem;
	}
	.game-griad li {
	    width: 1.06rem;
	}
	.them-img {
	    width: 1.06rem;
	    height: 1.06rem;
	}
	.game-griad .name {
		padding: 0.05rem;
	}
	
}
@media screen and (max-width:394px){
	.game-list-item .info .title {
	    font-size: 0.18rem;
	}
	.playbtn {
	    padding: 0.08rem 0.1rem;
	    font-size: 0.14rem;
	}
	.game-list-item .thum-img {
	    width: 0.74rem;
	    height: 0.74rem;
	}
	.game-list-item .playbtn {
	    width: 0.7rem;
	    font-size: 0.14rem;
	}
	.game-griad li {
	    width:1.04rem;
	    padding: 0.05rem 0;
	}
	.them-img {
	    width:1.04rem;
	    height:1.04rem;
	}
	.game-griad .name {
		padding: 0.05rem 0;
		font-size: 0.14rem;
	}
	.game-list {
	    margin-top: 0.1rem;
	}
}
@media screen and (max-width:376px){
	
	.game-griad li {
	    width:0.97rem;
	}
	.them-img {
	    width:0.97rem;
	    height:0.97rem;
	}
	.category-item{
		font-size: 0.18rem;
	}
}
@media screen and (max-width:321px){
	.game-list-item .thum-img {
		width: 0.7rem;
		height: 0.7rem;
	}
	.game-griad li {
	    width: 1.08rem;
	}
	.them-img {
	    width: 1.08rem;
	    height: 1.08rem;
	}
	
}

/* 下拉刷新插件样式 */
.refreshWrap .refresh{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height:0.6rem;
	line-height:0.6rem;
	text-align: center;
}
.refreshWrap .loadingBox{
	width: 100%;
	height:0.4rem;
	text-align: center;
	padding: 0.1rem;
	position: relative;
	z-index: 2;
}
.refreshWrap .loading,.refreshWrap .loadTxt{
	vertical-align: middle;
	display: inline-block;
	color: #999;
}
.refreshWrap .loading{
	border-radius: 50%;
	width: 16px;
	height: 16px;
	border: 1px solid #666;
	border-top-color: transparent;
	margin-right: 8px;
	transform: translateZ(0);
	position: relative;
}
.refreshWrap .noMore .loading{
	display:none;
}
.refreshWrap .success{
	border-color: transparent;
}
.refreshWrap .success:before{
	content:"";
	border:1px solid #666;
	border-top-color: transparent;
	border-left-color:transparent;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 8px;
	height: 16px;
}
.refreshWrap .rotate {
    -webkit-animation: refresh-rotate 0.6s linear infinite;
    animation: refresh-rotate 0.6s linear infinite;
}
@keyframes refresh-rotate {
    0% {
        transform: rotateZ(0deg);
        -moz-transform: rotate(0deg);
    }
    100% {
        transform: rotateZ(360deg);
        -moz-transform: rotate(360deg);
    }
}
