@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei";
}
html, body{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
a{
    text-decoration: none;
}
img{
    width: 100%;
    display: block;
}
/* 公共 */
.cont{
    max-width: 8rem;
    height: 100%;
    overflow: hidden;
    background: #9c755c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.main{
    width: 7.5rem;
    height: 11.5rem;
    position: relative;
}
.gamemain{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 2000px;
    overflow: hidden;
}
.gamemain1{
    background: url(../../images/zt/h5_zhengding/bg_ready.png) left bottom no-repeat;
    background-size: cover;
}
.gamemain2{
    background: url(../../images/zt/h5_zhengding/bg_start.png) left bottom no-repeat;
    background-size: cover;
}	
.gamemain3{
    background: url(../../images/zt/h5_zhengding/bg_gamemain.png) left bottom no-repeat;
    background-size: cover;
}
.btn{
    width: 1.95rem;
    height: 0.69rem;
    position: absolute;
    left: 50%;
    bottom: 0.6rem;
    transform: translateX(-50%);
}
.btn_in{
    width: 1.95rem;
    height: 0.69rem;
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
}
.music{
    width: 0.6rem;
    height: 0.6rem;
    position: absolute;
    right: 0.2rem;
    top: 0.2rem;
    z-index: 1000;
}
.music img{
    display: none;
}
.music .mute{
    display: block;
}
.time{
    width: 1rem;
    height: 0.6rem;
    background: #9c755c;
    color: #fcc9a8;
    text-align: center;
    line-height: 0.6rem;
    position: absolute;
    right: 0.6rem;
    top: 0.8rem;
    font-size: 0.4rem;
}
.tc{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    background: url(../../images/zt/h5_zhengding/bg_gamemain.png) left bottom no-repeat;
    background-size: cover;
    z-index: 1000;
}
.tc > img{
    width: 6.24rem;
    margin: 0 auto;
    margin-top: 0.4rem;
}
.gamein_item{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 2000px;
    overflow: hidden;
}
.game_rule{
    display: block;
}
.game_rule_msg{
    margin: 0 auto;
    margin-top: 0.5rem;
}

.ispc{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2001;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #666;
}
.qr{
	width: 4rem;
	height: 4rem;
}
.ispc p{
	font-size: 0.36rem;
	text-align: center;
	color: #999;
	margin-top: 0.2rem;
}
.btn_copy{
	position: unset;
	margin: 0 auto;
	margin-top: 1rem;
	transform: translate(0);
}
.url{
	opacity: 0;
}

/* 游戏加载 */
.load{
    width: 7.5rem;
    height: 11.5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: url(../../images/zt/h5_zhengding/bg_gamemain.png) left top no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loding{
    width: 3rem;
    height: 3.04rem;
    position: relative;
    background: url(../../images/zt/h5_zhengding/bg_loading.png) center top no-repeat;
    background-size:  1.72rem 3.04rem;
}
.loding_pro{
    width: 100%;
    height: 0.4rem;
    position: absolute;
    left: 0;
    top: 2.2rem;
    border: 2px solid #77574c;
    border-radius: 6px;
    padding: 2px;
    box-sizing: border-box;
}
.loading_bg{
    width: 100%;
    height: 100%;
    background: url(../../images/zt/h5_zhengding/loading_img.png) left top repeat-x;
    background-size:  auto 100%;
    border-radius: 4px;
    overflow: hidden;
}

/* 游戏准备 */
.ready{
    top: 0;
}
.ready_txt{
    position: absolute;
    left: 0;
    top: 4rem;
}

/* 开始游戏 */
.game_start_img{
    width: 7.25rem;
    height: auto;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

/* 选择角色 */
.choose_title{
    font-size: 0.46rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    color: #9c755c;
}
.choose1{
    width: 3.49rem;
    height: 3.83rem;
    margin: 0 auto;
    margin-top: 0.2rem;
    opacity: 0.6;
}
.choose2{
    width: 3.49rem;
    height: 3.91rem;
    margin: 0 auto;
    margin-top: 0.2rem;
    opacity: 0.6;
}

/* 关卡1 */
.game_rule1{
    top: 0;
}
.game_rule_msg1{
    width: 6.54rem;
    height: 7.51rem;
}
.p1_brain{
    width: 1.86rem;
    height: 1.38rem;
    position: absolute;
    left: 0.3rem;
    top: 0.3rem;
}
.p1_main{
    width: 7rem;
    height: 7.7rem;
    margin: 0 auto;
    margin-top: 1.88rem;
    background: #fff;
    border-radius: 0.2rem;
    overflow: hidden;
}
.p1_bot{
    width: 6.4rem;
    height: 0.8rem;
    position: relative;
    margin: 0 auto;
    margin-top: 0.2rem;
}
.p1_bot div{
    width: 0.8rem;
    height: 0.8rem;
    position: absolute;
    top: 0;
}
.p1_bot_rotate{
    left: 0;
}
.p1_bot_down{
    left: 1.6rem;
}
.p1_bot_left{
    right: 1.3rem;
}
.p1_bot_right{
    right: 0;
}
.block_img{
    display: none;
}

/* 第二关 */
.game_rule2{
    top: 0;
}
.game_cont2{
    background: url(../../images/zt/h5_zhengding/p2_table.png) left top no-repeat;
    background-size: 100% auto;
}
.p2_paper{
    width: 0.63rem;
    height: 0.58rem;
    background: url(../../images/zt/h5_zhengding/p2_paper.png) no-repeat;
    background-size: cover;
    position: absolute;
}
.p2_paper1{
    left: 1rem;
    top: 1rem;
}
.p2_paper2{
    right: 1rem;
    top: 4rem;
    transform: scale(0.8);
}
.p2_paper3{
    left: 3rem;
    top: 6rem;
    transform: scale(0.6);
}
.p2_xiansuo{
    width: 100%;
    height: 7.47rem;
    background: url(../../images/zt/h5_zhengding/p2_bg_xiansuo.png) left top no-repeat;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    display: none;
}
.p2_xiansuo_text{
    width: 3rem;
    margin-left: 1.2rem;
    margin-top: 4.6rem;
    font-size: 0.38rem;
    font-weight: bold;
    color: #77574c;
    text-align: center;
    display: block;
}
.p2_people{
    width: 100%;
    height: 100%;
    background: url(../../images/zt/h5_zhengding/bg_gamemain.png) left bottom no-repeat;
    background-size: cover;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
.p2_people img{
    width: 6rem;
    height: auto;
    margin: 0 auto;
    margin-top: 0.2rem;
}
.p2_role{
    display: block;
    width: 2rem;
    height: 3rem;
    position: absolute;
}
.p2_role1{
    width: 2rem;
    height: 2.6rem;
    left: 1rem;
    top: 0.4rem;
}
.p2_role2{
    width: 2rem;
    height: 3.4rem;
    left: 4rem;
    top: 0.22rem;
}
.p2_role3{
    width: 2rem;
    height: 2.6rem;
    left: 0.8rem;
    top: 3.6rem;
}
.p2_role4{
    width: 2rem;
    height: 2.6rem;
    left: 4rem;
    top: 3.8rem;
}
.p2_role5{
    width: 2rem;
    height: 2.7rem;
    left: 0.8rem;
    top: 6.8rem;
}
.p2_role6{
    width: 3.4rem;
    height: 2.6rem;
    left: 3.2rem;
    top: 7rem;
}

/* 第三关 */
.game_rule3{
    top: 0;
}
.game_cont3{
    padding: 0.2rem;
    box-sizing: border-box;
}
.qa{
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    padding: 0.2rem;
    box-sizing: border-box;
}
.qa_cont{
    height: 92%;
    overflow-y: auto;
}
.qa_num{
    width: 1.8rem;
    height: 0.6rem;
    background: #fce44d;
    font-size: 0.4rem;
    line-height: 0.6rem;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    color: #77574c;
    border-radius: 0.2rem;
}
.qa_main{
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: auto;
    padding: 0.2rem;
    box-sizing: border-box;
}
.qa_title{
    font-size: 0.36rem;
    color: #77574c;
    margin-top: 0.5rem;
    font-weight: bold;
}
.qa_answer{
    font-size: 0.36rem;
    color: #77574c;
    margin-top: 0.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qa_answer3_x{
    display: block;
}
.qa_answer3 {
    margin-bottom: 0.3rem;
}
.btn_sub_p3{
    left: initial;
    right: 0;
    bottom: 0.3rem;
}
.active_answer{
    font-weight: bold;
    color: #e04813;
}

/* 第四关 */
.game_rule4{
    top: 0;
}
.p4_img{
    width: 100%;
    height: 100%;
    padding: 0.2rem;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
.p4_cont_top{
    height: 2.48rem;
}
.p4_thumb{
    width: 2.16rem;
    height: 100%;
    float: left;
}
.p4_thumb img{
    width: 100%;
}
.p4_sp{
    width: calc(100% - 2.36rem);
    height: 100%;
    float: right;
    position: relative;
    z-index: 999;
}
.p4_sp img{
    position: absolute;
    top: 0.1rem;
}
.p4_cont_bot1{
    width: 5.22rem;
    height: 6.83rem;
    margin: 0 auto;
    margin-top: 1rem;
    background: url(../../images/zt/h5_zhengding/p4_img_1.png) no-repeat;
    background-size: cover;
    position: relative;
    background-color: #fff;
}
.p4_cont_bot2{
    width: 5.23rem;
    height: 6.85rem;
    margin: 0 auto;
    margin-top: 1rem;
    background: url(../../images/zt/h5_zhengding/p4_img_2.png) no-repeat;
    background-size: cover;
    position: relative;
    background-color: #fff;
}
.p4_img1_k, .p4_img2_k{
    position: absolute;    
}

.dragover{
    background: rgba(224, 75, 20, 0.5);
}
.time4{
    left: initial;
    top: initial;
    right: 0.1rem;
    bottom: 0.1rem;
    border: 1px solid #fce44d;
    box-sizing: border-box;
}

#p4_sp1_img1{
    width: 1.79rem;
    height: 2.15rem;
    left: 1rem;
}
#p4_sp1_img2{
    width: 1.69rem;
    height: 2.7rem;
    left: 0rem;    
}
#p4_sp1_img3{
    width: 1.76rem;
    height: 2.64rem;
    left: 2.6rem;
}
#p4_sp1_img4{
    width: 1.8rem;
    height: 2.64rem;
    left: 2.8rem;
}
#p4_sp1_img5{
    width: 1.7rem;
    height: 2.19rem;
    left: 2.9rem;
}
#p4_sp1_img6{
    width: 1.73rem;
    height: 2.19rem;
    left: 1.9rem;
}
.p4_img1_k1{
    width: 1.79rem;
    height: 2.15rem;
    left: 1.67rem;
    top: 0;
}
.p4_img1_k2{
    width: 1.69rem;
    height: 2.7rem;
    left: 0; 
    top: 1.22rem;   
}
.p4_img1_k3{
    width: 1.76rem;
    height: 2.64rem;
    right: 0rem;
    top: 1.26rem;
}
.p4_img1_k4{
    width: 1.8rem;
    height: 2.64rem;
    left: 1.68rem;
    top: 2.9rem;
}
.p4_img1_k5{
    width: 1.7rem;
    height: 2.19rem;
    left: 0;
    bottom: 0;
}
.p4_img1_k6{
    width: 1.73rem;
    height: 2.19rem;
    right: 0rem;
    bottom: 0rem;
}

/* 第四关 图片2 */
#p4_sp2_img1{
    width: 2.16rem;
    height: 1.67rem;
    left: 1rem;
}
#p4_sp2_img2{
    width: 2.28rem;
    height: 1.69rem;
    left: 0rem;    
}
#p4_sp2_img3{
    width: 2.81rem;
    height: 1.78rem;
    left: 0.8rem;
}
#p4_sp2_img4{
    width: 2.18rem;
    height: 1.73rem;
    left: 1.8rem;
}
#p4_sp2_img5{
    width: 2.27rem;
    height: 1.77rem;
    left: 2rem;
}
#p4_sp2_img6{
    width: 2.81rem;
    height: 1.73rem;
    left: 1.9rem;
}
.p4_img2_k1{
    width: 2.16rem;
    height: 1.67rem;
    left: 0;
    top: 0;
}
.p4_img2_k2{
    width: 2.28rem;
    height: 1.69rem;
    right: 0rem;
    top: 0;    
}
.p4_img2_k3{
    width: 2.81rem;
    height: 1.78rem;
    left: 1.16rem;
    top: 1.69rem;
}
.p4_img2_k4{
    width: 2.18rem;
    height: 1.73rem;
    left: 0;
    bottom: 1.7rem;
}
.p4_img2_k5{
    width: 2.27rem;
    height: 1.77rem;
    bottom: 1.7rem;
    right: 0;
}
.p4_img2_k6{
    width: 2.81rem;
    height: 1.73rem;
    left: 1.19rem;
    bottom: 0;
}

/* 第五关 */
.game_rule5{
    top: 0;
}
.game_cont5_main{
    width: 6.39rem;
    height: 8.06rem;
    margin: 0 auto;
    margin-top: 1.3rem;
    background: url(../../images/zt/h5_zhengding/p5_book.jpg) center no-repeat;
    background-size: 5.6rem 7.03rem;
    position: relative;
}
.time5{
    right: 0.2rem;
    top: 0.2rem;
}
.p5_line{
    position: absolute;
}
.p5_line_hor{
    width: 100%;
    height: 20px;
    top: 1rem;
    left: 0rem;
}
.p5_line_ver{
    width: 20px;
    height: 100%;
    top: 0rem;
    left: 1rem;
}
.p5_line1{
    background: url(../../images/zt/h5_zhengding/p5_line1.png) repeat-y;
    background-size: cover;
}
.p5_line1_1{
    top:0;
    height: 1px;
    background: url(../../images/zt/h5_zhengding/p5_line1_1.png) no-repeat;
    background-size: cover;
    display: none;
}
.p5_line2{
    background: url(../../images/zt/h5_zhengding/p5_line2.png) repeat-x;
    background-size: cover;
}
.p5_line2_1{
    left: 0;
    width: 1px;
    background: url(../../images/zt/h5_zhengding/p5_line2_1.png) no-repeat;
    background-size: cover;
    display: none;
}
/* 第六关 */
.game_rule6{
    top: 0;
}
.p6_gamemain{
    width: 100%;
    height: 8rem;
    margin-top: 2rem;
    background: #fff;
}
.p6_hidden{
    display: none;
}
.p6_person{
    width: 150px;
    height: 200px;
}
.p6_road{
    width: 15.44rem;
    height: 5.6rem;
}
.p6_tips{
    width: 100%;
    font-size: 0.3rem;
    color: #77574c;
    text-align: center;
    margin-top: 0.1rem;
}

/* 卡牌界面 */
.game_rule_over{
    top: 0;
}
.close{
	width: 1rem;
	height: 0.6rem;
	border: 2px solid #77574c;
	border-radius: 0.1rem;
	color: #fce9db;
	position: absolute;
	right: 0.2rem;
	top: 0.2rem;
	font-size: 0.3rem;
	line-height: 0.6rem;
	text-align: center;
	background: #77574c;
}
.game_cont_over{
    display: flex;
    align-items: center;
    justify-content: center;
}   
.cards{
    width: 5.33rem;
    height: 9.22rem;
    position: relative;
}
.cards img{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.over_tips{
    position: absolute;
    top: 0.2rem;
    text-align: center;
    color: #77574c;
    font-size: 0.36rem;
}
.btn_prize1{
    left: initial;
    right: -0.6rem;
    bottom: 0.1rem;
}
.over_hidden{
    display: none;
}

/* 抽奖 */
.game_rule_prize{
    top: 0;
}
.prize_loading{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
}
.game_cont_prize, .prize_loading{
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
}
.game_cont_prize img, .prize_loading img{
    width: 2rem;
    height: 2rem;
}
.btn_again{
    left: 0.4rem;
    bottom: 1rem;
    transform: translateX(0);
}
.btn_shop{
    width: 2.73rem;
    height: 0.64rem;
    left: initial;
    right: 0.4rem;
    bottom: 1rem;
    transform: translateX(0);
}
.quan{
    width: 7.44rem;
    height: auto;
    overflow: hidden;
    position: relative;
}
.quan a{
    display: block;
    width: 5.16rem;
    height: 1rem;
    line-height: 1rem;
    font-size: 0.4rem;
    background: #ff425a;
    color: #fff;
    font-weight: bold;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8.2rem;
    border-radius: 0.2rem;
}
.quan > img{
    width: 100%;
    height: 10.49rem;
}
