* {
	margin: 0;
	padding: 0;
}
*:after {
	clear: both;
	display: block;
}
article, aside, figure, footer, header, hgroup, nav, section, canvas {
	display: block;
}
html, body {
	height: 100%;
}
body {
	background: #ABC url(../img/back.jpg);
	color: #456;
	font-family: sans-serif;
	font-size: 16px;
	line-height: 1em;
}
img {
	border: 0;
}
a, a:link, a:visited {
	color: #0CF;
	text-decoration: underline;
	-webkit-tap-highlight-color: rgba(255,255,255,0.3); 
}
a.btn {
	display: inline-block;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	padding: 0 5px;
	margin: 0 5px;
	width: 110px;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	background: -moz-linear-gradient(
		top,
		#0CF 0%,
		#06F);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#0CF),
		to(#06F));
}
a.btn, a.btn:link, a.btn:visited {
	color: #FFF;
}
#content {
	width: 320px;
	height: 100%;
	margin: 0 auto;
	background-color: #FFF;
}
#console {
	background-color: #0CF;
}
#taparea {
	margin: 5px auto 6px auto;
	width: 300px;
	height: 125px;
	cursor: pointer;
	border: 4px solid #0CF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
#taparea p {
	margin: 10px auto;
	width: 250px;
	height: 105px;
	background: url(../img/sprites.png) no-repeat -350px -100px;
	text-align: center;
}
#taparea span {
	display: inline-block;
	margin-top: 23px;
	width: 100px;
	height: 60px;
	background: url(../img/sprites.png) no-repeat -250px -100px;
	text-indent: -9999px;
	overflow: hidden;
}
#menu {
	display: block;
	height: 50px;
}
#menu li {
	list-style-type: none;
	display: block;
	float: left;
	text-align: center;
	font-size: 9px;
	line-height: 0;
}
#menu a {
	display: block;
	width: 80px;
	height: 50px;
	overflow: hidden;
	text-decoration: none;
}
#menu a, #menu a:link, #menu a:visited {
	color: #456;
}
#menu span {
	display: inline-block;
	width: 36px;
	height: 43px;
	background: url(../img/sprites.png) no-repeat 0px -170px;
}
#menu a.collection span {
	background-position: -50px -170px;
}
#menu a.demo span {
	background-position: -100px -170px;
}
#menu a.higopage span {
	background-position: -150px -170px;
}
#result {
	position: absolute;
	background-color:rgba(0,0,0,0.75);
	color: #fff;
	top: 160px;
	width: 320px;
	height: 142px;
	text-align: center;
	z-index: 2;
	display: none;
}
#result li {
	list-style-type: none;
	display: inline-block;
	margin-top: 10px;
}
#dist {
	margin-top: 10px;
	font-size: 40px;
	line-height: 40px;
	font-weight: bold;
}
.small_title {
	font-size: 12px;
	margin-right: 5px;
}
#rank {
	font-weight: bold;
}
#howto {
	position: absolute;
	top: 125px;
	background-color: #FFF;
	width: 320px;
	height: 231px;
	text-align: center;
	z-index: 3;
	display: none;
}
#howtoplay {
	display: none;
}
#howtoplay span {
	display: inline-block;
	vertical-align: bottom;
	margin-right: 3px;
	width: 18px;
	height: 18px;
	background: url(../img/sprites.png) no-repeat -200px -150px;
}
#howtoplay a,#howtoplay a:link,#howtoplay a:visited {
	color: #7E0;
}
#congratulations {
	display: none;
}
#congratulations span {
	display: inline-block;
	vertical-align: bottom;
	margin-right: 3px;
	width: 18px;
	height: 16px;
	background: url(../img/sprites.png) no-repeat -200px -170px;
}
#congratulations a,#congratulations a:link,#congratulations a:visited {
	color: #F69;
}
#collection {
	position: absolute;
	top: 0;
	background-color: #FFF;
	width: 320px;
	height: 356px;
	text-align: center;
	z-index: 3;
	display: none;
}
#collection h3 {
	font-size: 16px;
	color: #0BF;
	margin-top: 5px;
	display: none;
}
#collection h4 {
	font-size: 16px;
	font-weight: normal;
	margin-top: 5px;
	display: none;
}
#collection h3 span {
	display: inline-block;
	vertical-align: bottom;
	margin: 0 3px;
	width: 18px;
	height: 18px;
	background: url(../img/sprites.png) no-repeat -200px -125px;
}
#collection ul {
	margin: 10px 0 5px 0;
}
#collection ul span {
	display: none;
}
#collection li {
	list-style-type: none;
	display: inline-block;
}
#collection li a {
	display: block;
	position: relative;
	margin: 2px 5px;
	line-height: 0;
	background: #AEF url("../img/question.gif") no-repeat center center;
	width: 80px;
	height: 80px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	text-decoration: none;
}
#record {
	visibility: hidden;
}
#collection li.c0 a { background: #FFF url("../img/collection.jpg") no-repeat 0px 0px; }
#collection li.c1 a { background: #FFF url("../img/collection.jpg") no-repeat -80px 0px; }
#collection li.c2 a { background: #FFF url("../img/collection.jpg") no-repeat -160px 0px; }
#collection li.c3 a { background: #FFF url("../img/collection.jpg") no-repeat 0px -80px; }
#collection li.c4 a { background: #FFF url("../img/collection.jpg") no-repeat -80px -80px; }
#collection li.c5 a { background: #FFF url("../img/collection.jpg") no-repeat -160px -80px; }
#collection li.c6 a { background: #FFF url("../img/collection.jpg") no-repeat 0px -160px; }
#collection li.c7 a { background: #FFF url("../img/collection.jpg") no-repeat -80px -160px; }
#collection li.c8 a { background: #FFF url("../img/collection.jpg") no-repeat -160px -160px; }
#collection p {
	margin: 2px 0;
}
#collection b {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: -10px;
	margin-right: -10px;
	width: 42px;
	height: 42px;
	background: url("../img/new.png") no-repeat center center;
}
#detail {
	position: absolute;
	top: 0;
	background-color: #FFF;
	width: 320px;
	height: 356px;
	z-index: 4;
	text-align: center;
	display: none;
}
#detail div {
	width: 320px;
	height: 190px;
	padding-top: 23px;
	color: #FFF;
	background: 
	-moz-radial-gradient(
		center center,
		circle farthest-side,
		#CFF,
		#6DF);
	background:
	-webkit-gradient(
		radial, center center, 0, center center, 160, 
		from(#CFF),
		to(#6DF));
}
#detail h3 {
	font-size: 160px;
	line-height: 160px;
	font-weight: bold;
}
#hint {
	margin: 5px 10px;
	height: 90px;
	text-align: left;
	overflow: hidden;
	line-height: 1.5em;
}
