html,
body {
	font-size: 13.3333333333333333333vw;
	font-family: "MicrosoftYaHei", "Helvetica Neue", sans-serif;
	overflow-x: hidden;
}

body {
	background: url(../images/m-bg1.jpg) no-repeat;
	background-size: cover;
	padding-top: 1.7rem;
	padding-bottom: 1.5rem;
}

/* header */
.header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 1.2rem;
	background-color: rgba(80, 44, 93, 0.6);
	z-index: 10;
	box-sizing: border-box;
	padding-top: .2rem;
	padding-left: .16rem;
	line-height: 1.2rem;
}

.logo-ico {
	display: inline-block;
	width: 3.44rem;
	height: 1.31rem;
	background: url(../images/logo1.png) no-repeat;
	background-size: 100% auto;
}

.header-right {
	position: absolute;
	right: .18rem;
	top: 0;
}

.share-bg {
	display: inline-block;
	width: 0.57rem;
	height: 0.57rem;
	background: url(../images/share-bg.png) no-repeat;
	background-size: 100% auto;
	margin-bottom: .06rem;
}

.back-home {
	display: inline-block;
	width: 2.07rem;
	height: 0.71rem;
	background: url(../images/back.png) no-repeat center/cover;
}

/* 翻牌福利 */
.wrap {
	font-size: 0;
	text-align: center;
}

.title1,
.title2 {
	display: block;
	width: 6.41rem;
	height: 1.2rem;
	background: url(../images/m-title1.png) no-repeat center/cover;
	margin: 0 auto;
}

.title1 {
	background: url(../images/m-title2.png) no-repeat center/cover;
}

.login-div {
	display: inline-block;
	font-size: .22rem;
	color: #fff9e9;
	background-color: #504ca9;
	border-radius: .3rem;
	text-align: center;
	width: 5rem;
	height: .6rem;
	line-height: .6rem;
}

.login {
	display: inline-block;
}

.login a {
	color: #fff9e9;
}

.look {
	color: #fff1b1;
	margin-left: .3rem;
	position: relative;
}

.look::before {
	content: '';
	position: absolute;
	width: 1px;
	height: .23rem;
	background-color: #a4aaff;
	left: -.24rem;
	top: 50%;
	transform: translateY(-50%);
}

.tip {
	text-align: left;
	width: 90%;
	font-size: .22rem;
	color: #504ca9;
	text-indent: 2em;
	margin: .31rem auto .49rem;
}

.flip-container {
	perspective: 500;
	display: inline-block;
	position: relative;
}

.flip-container,
.front,
.back {
	width: 100%;
	height: 100%;
}

.front,
.back {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transition: 0.6s;
	position: absolute;
	top: 0px;
	left: 0px;
}

.front {
	z-index: 2;
}

.back {
	transform: rotateY(-180deg);
	background: url(../images/icon-back.png) no-repeat center/cover;
}

.frontclick {
	transform: rotateY(180deg);
}

.backclick {
	transform: rotateY(0deg);
	z-index: 3;
	position: relative;
}

.backclick span {
	position: absolute;
	font-size: .2rem;
	color: rgb(255, 249, 233);
	left: 0;
	top: 50%;
	transform: translateY(-35%);
	line-height: .25rem;
	text-align: center;
	width: 100%;
	text-shadow: #504ca9 1px 0 0, #504ca9 0 1px 0, #504ca9 -1px 0 0, #504ca9 0 -1px 0;
}

.backclick::before {
	content: '';
	position: absolute;
	width: .7rem;
	height: .65rem;
	background: url(../images/icon-back-yes.png) no-repeat center/cover;
	z-index: 10;
	left: -.2rem;
	top: -.2rem;
}

.fanzhuan {
	display: inline-block;
	margin-right: -.08rem;
}

.fanzhuan li {
	display: inline-block;
	width: 1.1rem;
	height: 1.1rem;
	margin-right: .08rem;
	margin-bottom: .2rem;
}

.fanzhuan li i {
	display: inline-block;
	width: 100%;
	height: 100%;
	background: url(../images/icon-lisy.png) no-repeat;
	background-size: 6.94rem 6.25rem;
}

.fanzhuan li.li0 i,
.fanzhuan li.li6 i,
.fanzhuan li.li12 i,
.fanzhuan li.li18 i,
.fanzhuan li.li24 i {
	background-position-x: 0;
}

.fanzhuan li.li1 i,
.fanzhuan li.li7 i,
.fanzhuan li.li13 i,
.fanzhuan li.li19 i,
.fanzhuan li.li25 i {
	background-position-x: -1.18rem;
}

.fanzhuan li.li2 i,
.fanzhuan li.li8 i,
.fanzhuan li.li14 i,
.fanzhuan li.li20 i,
.fanzhuan li.li26 i {
	background-position-x: -2.35rem;
}

.fanzhuan li.li3 i,
.fanzhuan li.li9 i,
.fanzhuan li.li15 i,
.fanzhuan li.li21 i,
.fanzhuan li.li27 i {
	background-position-x: -3.52rem;
}

.fanzhuan li.li4 i,
.fanzhuan li.li10 i,
.fanzhuan li.li16 i,
.fanzhuan li.li22 i,
.fanzhuan li.li28 i {
	background-position-x: -4.68rem;
}

.fanzhuan li.li5 i,
.fanzhuan li.li11 i,
.fanzhuan li.li17 i,
.fanzhuan li.li23 i,
.fanzhuan li.li29 i {
	background-position-x: -5.85rem;
}

.fanzhuan li.li6 i,
.fanzhuan li.li7 i,
.fanzhuan li.li8 i,
.fanzhuan li.li9 i,
.fanzhuan li.li10 i,
.fanzhuan li.li11 i {
	background-position-y: -1.3rem;
}

.fanzhuan li.li12 i,
.fanzhuan li.li13 i,
.fanzhuan li.li14 i,
.fanzhuan li.li15 i,
.fanzhuan li.li16 i,
.fanzhuan li.li17 i {
	background-position-y: -2.6rem;
}

.fanzhuan li.li18 i,
.fanzhuan li.li19 i,
.fanzhuan li.li20 i,
.fanzhuan li.li21 i,
.fanzhuan li.li22 i,
.fanzhuan li.li23 i {
	background-position-y: -3.88rem;
}

.fanzhuan li.li24 i,
.fanzhuan li.li25 i,
.fanzhuan li.li26 i,
.fanzhuan li.li27 i,
.fanzhuan li.li28 i,
.fanzhuan li.li29 i {
	background-position-y: -5.15rem;
}

.tip-div {
	display: inline-block;
	width: 5.32rem;
	height: .65rem;
	background: url(../images/tip.png) no-repeat center/cover;
	margin-top: .49rem;
}

.gift-list {
	display: block;
	margin-top: .19rem;
}

.gift-list li {
	display: inline-block;
	margin-right: .3rem;
	position: relative;
	font-size: .2rem;
	color: #805329;
}

.gift-list li span {
	position: absolute;
	top: .12rem;
	left: .4rem;
	text-shadow: #fff 1px 0 0, #fff 0 1px 0, #fff -1px 0 0, #fff 0 -1px 0;
}

.gift-list li:last-child {
	margin-right: 0;
}

.gift-list li i {
	display: inline-block;
	width: .9rem;
	height: .95rem;
	background: url(../images/case-close.png) no-repeat center/cover;
}

.gift-list li.on i {
	width: .68rem;
	height: .68rem;
	background: url(../images/case-open.png) no-repeat center/cover;
}

.gift-list li.on span {
	display: none;
}

.gift-step {
	height: .12rem;
	background: url(../images/step-bg.png) no-repeat;
	background-size: 100% auto;
	position: relative;
	margin-top: .1rem;
	margin-bottom: 5rem;
}

.gift-ul {
	position: absolute;
	left: .66rem;
	top: -.1rem;
}

.gift-ul li {
	display: inline-block;
	font-size: .2rem;
	color: #504ca9;
	margin-right: .83rem;
	position: relative;
}

.gift-ul li:last-child {
	margin-right: 0;
}

.gift-ul li i {
	display: inline-block;
	width: .37rem;
	height: .35rem;
	background: url(../images/hua-close.png) no-repeat center/cover;
}

.gift-ul li.on i {
	background: url(../images/hua-open.png) no-repeat center/cover;
}

.gift-ul li div {
	position: absolute;
	bottom: -.32rem;
	left: -.24rem;
	white-space: nowrap;
}

.bottom-list {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 10;
}

.bottom-list li {
	display: inline-block;
	width: 50%;
	height: 1.1rem;
	float: left;
}

.bottom-list li.li0 {
	background: url(../images/btn2.png) no-repeat center/cover;
}

.bottom-list li.on.li0 {
	background: url(../images/btn4.png) no-repeat center/cover;
}

.bottom-list li.li1 {
	background: url(../images/btn3.png) no-repeat center/cover;
}

.bottom-list li.on.li1 {
	background: url(../images/btn1.png) no-repeat center/cover;
}

/* wrap1 */
.wrap1-gift {
	display: inline-block;
	width: 6.86rem;
	height: 4.3rem;
	background: url(../images/gift1.png) no-repeat center/cover;
	margin-top: .57rem;
}

.to-game,
.get-gift {
	display: block;
	width: 3.73rem;
	height: 1.05rem;
	margin: 0 auto;
}

.to-game {
	background: url(../images/to-game1.png) no-repeat center/cover;
	margin: .42rem auto .15rem;
}

.get-gift {
	background: url(../images/gifted1.png) no-repeat center/cover;
}

.rule {
	display: block;
	width: 90%;
	font-size: .24rem;
	color: #504ca9;
	text-align: left;
	margin: .49rem auto 0;
	line-height: .4rem;
}

.rule p {
	font-size: .36rem;
	font-weight: bold;
	margin-bottom: .1rem;
}

/* mask */
.mask1 {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999;
	overflow: auto;
}

.share-list {
	position: fixed;
	bottom: 0.7rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: space-between;
	width: 5rem;
}

.share-list li {
	width: 0.98rem;
	height: 0.98rem;
}

.tieba {
	background: url(../images/tieba.png) no-repeat;
	background-size: 100% auto;
}

.weibo {
	background: url(../images/weibo.png) no-repeat;
	background-size: 100% auto;
}

.qqzone {
	background: url(../images/qqZone.png) no-repeat;
	background-size: 100% auto;
}

.close-mask {
	position: absolute;
	top: -1.1rem;
	left: 50%;
	transform: translateX(-50%);
	width: .87rem;
	height: .85rem;
	background: url(../images/close-mask.png) no-repeat center/cover;
}

.dialog-content {
	transform: scale(.6);
}

.table-gift {
	margin-top: -1rem;
}

.table-gift tr {
	line-height: .6rem;
}

.taomee-dialog .dialog-body {
	max-height: 60vh;
	overflow: auto;
}
