

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	font-family: Tahoma;
	user-select: none;
}
body {
	background-image: url(/assets/nine/img/pop-bg.jpg?v=1001);
	background-repeat: no-repeat;
	background-size: 100vw 100vh;
	overflow: hidden;
}
html, body {
	width: 100vw;
	min-height: 100vh;
}
.wrap {
	min-width: 322px;
	min-height: 100vw;
	margin: 0 auto;
}
h1.title {
	width: 322px;
	height: 30px;
	line-height: 30px;
	font-size: 24px;
	margin: 20px auto;
	color: #b70
}
h1.title:after {
	height: 0;
	clear: both;
}
a {text-decoration: none}
.mode-wrap {
	font-size: 14px;
	float: right;
	color: #666
}
.mode-wrap select {
	background: transparent;
}
.title-icon  {
	display: inline-block;
	width: 24px;
	height: 24px;
	float: right;
	cursor: pointer;
	margin-left: 10px;
}
.title-icon img {
	border-radius: 100%;
	vertical-align: middle;
	box-shadow: 0 0 4px rgba(0,0,0,.4);
}
#main {
	width: 322px;
	height: 322px;
	position: relative;
	z-index: 1;
	font-size: 16px;
	padding: 32px 0;
	margin: 0 auto;
}
#nbox {
	width: 322px;
	height: auto;
	/*text-align: center;*/
	margin: 0 auto;
}
.k-number {
	width: 40px;
	height: 40px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 20px;
	line-height: 40px;
	background: #F8F8F8;
	text-align: center;
}
.k-number:nth-child(5n) {
	margin-right: 0;
}
.skill {
	display: inline-block;
	border-radius: 3px;
	border: 2px solid #ffe431;
	box-shadow: 0 0 4px rgba(0,0,0,.4);
	cursor: pointer;
}
#health-wrap {
	width: 322px;
	height: 4px;
	margin: 10px auto 0 auto;
	border-radius: 4px;
	border: 1px solid #ffe431;
	box-shadow: 0 0 4px rgba(0,0,0,.4);
	background: #999;
	overflow: hidden;
	position: relative;
	z-index: 20;
}
#health-bar {
	display: inline-block;
	width: 100%;
	height: 100%;
	background: #b70;
	position: absolute;
	z-index: 20;
	top: 0;
	right: 0;
}
#toolbar {
	width: 322px;
	margin: 20px auto;
	text-align: right;
}
#toolbar .skill {
	display: inline-block;
	width: 40px;
	height: 40px;
	
	margin-left: 8px;
	/* background-image: url(/assets/img/godseye.jpg?1000);
	background-repeat: no-repeat;
	background-size: 100% 100%; */
	position: relative;
	z-index: 10;
	overflow: hidden;
}
#toolbar .rotate-right {
	display: none;
	width: 28px;
	height: 56px;
	background: rgba(0,0,0,.6);
	position: absolute;
	z-index: 13;
	right: -8px;
	top: -8px;
	transform-origin: left;
}
#toolbar .rotate-left {
	display: none;
	width: 28px;
	height: 56px;
	background: rgba(0,0,0,.6);
	position: absolute;
	z-index: 15;
	left: -8px;
	top: -8px;
	transform-origin: right;
}
#toolbar .mask-right {
	display: inline-block;
	width: 20px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: -20px 0;
	background-size: cover;
	position: absolute;
	z-index: 12;
	right: 0;
	bottom: 0;
}
#toolbar .mask-left {
	display: inline-block;
	width: 20px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: cover;
	position: absolute;
	z-index: 14;
	left: 0;
	bottom: 0;
}
#toolbar .count {
	display: inline-block;
	width: 24px;
	height: 12px;
	font-size: 12px;
	font-style: normal;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,.8);
	position: absolute;
	z-index: 19;
	right: 0;
	bottom: 0;
}
#toolbar #prompt .mask-right, #toolbar #prompt .mask-left {background-image: url(/assets/nine/img/prompt.jpg?1000);}
#toolbar #health .mask-right, #toolbar #health .mask-left {background-image: url(/assets/nine/img/health.jpg?1000);}
#toolbar #clear .mask-right, #toolbar #clear .mask-left {background-image: url(/assets/nine/img/clear.jpg?1000);}
#toolbar #skill {background-image: url(/assets/nine/img/skill.jpg?1000);background-size:cover}
#main span {
	display: inline-block;
	width: 34px;
	height: 34px;
	text-align: center;
	line-height: 34px;
	background: #CCC;
	/* position: absolute;
	z-index: 2;
	top: 0;
	left: 0; */
	border-right: 1px solid #b70;
	border-bottom: 1px solid #b70;
	word-wrap: break-word;
	word-break: normal;
	vertical-align: top;
}
#main span input {
	border: none;
	width: 34px;
	height: 34px;
	text-align: center;
	vertical-align: top;
	
}
#main span.off {
	background: #AAA;
}
#main span.on {
	cursor: pointer;
	background: #fef9f0;
}
#main span.col_1 {
	border-left: 2px solid #b70
}
#main span.row_1 {
	border-top: 2px solid #b70
}
#main span.col_3, #main span.col_6, #main span.col_9 {
	border-right: 2px solid #b70
}
#main span.row_3, #main span.row_6, #main span.row_9 {
	border-bottom: 2px solid #b70
}
#main span.focus {
	background: #ffe431;
}
.ad-box {
	width: 320px;
	height: 60px;
	text-align: center;
	font-size: 14px;
	color: #b70;
	line-height: 150%;
	margin: 20px auto;
	overflow: hidden;
	position: relative;
	z-index: 50;
}
.ad-list1, .ad-list2 {
	display: inline;
	position: absolute;
	z-index: 51;
	left: 0;
	top: 0;
}
.ad-box a {
	width: 320px;
	height: 60px;
	display: inline-block;
	color: #333;
	font-weight: bold;
	margin: 0;
	vertical-align: middle;
}
.ad-box a span {
	color: #C30;
	font-size: 12px;
}
.ad-box a em {
	font-size: 12px;
	font-style: normal;
	text-decoration: line-through;
	color: #999
}
.copyright {
	min-width: 320px;
	height: 30px;
	text-align: center;
	font-size: 12px;
	color: #b70;
	margin: 0 auto;
}

.tip-line {
	margin-bottom: 12px;
}
.score {
	font-size: 24px;
	font-weight: bold;
	margin: 24px auto!important;
}
.pop-success {
	text-align: center;
	background:#ffe431;
	border:none;
	color:#b70;
	font-size:16px;
}
.pop-success a {
	width: 100%;
	margin: 0!important;
	padding: 10px 0!important;
	border: none!important;
	background: #FFF!important;
	color: #b70!important;
}
.layui-layer-btn {
	text-align: center!important;
	padding: 0!important;
	border: none!important;
}
.pop-success span[yes] {
	color: #b70;
}
.pop-success span[no] {
	color: #999;
}
.pop-wrap {
	width: 300px;
	height: 500px;
	background-image: url(/assets/nine/img/pop-bg.jpg?v=1001);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	/*background: #fef9f0;*/
	/*border: 1px solid #ffe431;*/
}
.pop-wrap .content {
	width: 220px;
	height: 360px;
	margin: 20px auto;
	padding: 20px;
	overflow: auto;
	border: 1px solid #ffe431;
	background: #FFF
}
.pop-wrap h2 {
	font-size: 16px;
	color: #b70;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #b70;
}
.pop-wrap p {
	font-size: 12px;
	color: #454545;
	line-height: 200%;
	margin-bottom: 10px;
}
.pop-wrap p.title {
	font-size: 12px;
	text-align: center;
	font-weight: bold;
}
.pop-wrap dl {
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #EEE;
}
.pop-wrap dt {
	display: block;
	text-align: center;
	width: 100%;
	font-size: 16px;
	color: #b70;
	margin-bottom: 10px;
}
.pop-wrap dd {
	display: block;
	width: 160px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	border: 1px solid #ffe431;
	border-radius: 30px;
	margin: 0 auto 10px auto;
	font-size: 14px;
}
.pop-wrap dd.on {
	background: #ffe431;
}
.pop-wrap a {
	background: #ffe431!important;
	color: #b70!important;
	border: none;
	border-radius: 3px!important;
	font-weight: bold!important;
	box-shadow: 0 0 5px #b70!important
}
.pop-wrap span[yes] {
	width: 100px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	/* position: fixed;
	z-index: 101;
	bottom: 20px;
	left: 100px; */
	border-radius: 3px;
	background: #ffe431;
	color: #b70;
	cursor: pointer;
	font-weight: bold;
	box-shadow: 0 0 5px #b70
}