#simWrap {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #0c3f66;
	overflow: hidden;
}

#simCanvas {
	display: block;
	width: 100%;
	height: calc(100vh - 150px);
	min-height: 480px;
	touch-action: none;
	cursor: default;
}

#simWrap:fullscreen #simCanvas { height: 100vh; }
#simWrap:-webkit-full-screen #simCanvas { height: 100vh; }

#simFullscreen, #simView {
	position: absolute;
	left: 10px;
	bottom: 34px;
	z-index: 5;
	opacity: 0.85;
	cursor: pointer;
	width: 36px;
	height: 36px;
	padding: 0;
	line-height: 34px;
	text-align: center;
	font-size: 16px;
}

#simView { bottom: 76px; }

#simView.active { background: #ffd166; opacity: 1; }

.sim-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 20, 40, 0.78);
	color: #fff;
	padding: 15px;
	overflow-y: auto;
}

#simEnd { display: none; }

.sim-card {
	max-width: 780px;
	width: 100%;
	text-align: center;
}

.sim-card h2 { margin-top: 0; color: #fff; }

.sim-keys {
	display: inline-block;
	text-align: left;
	margin: 10px 0 20px;
	padding: 12px 20px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 8px;
}

.sim-levels .btn {
	margin: 5px;
	white-space: normal;
}

.sim-ok { color: #9be564; }
.sim-ko { color: #ff6b6b; }

.sim-stats {
	margin: 10px auto;
	text-align: left;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
}

.sim-stats td { padding: 6px 16px; color: #fff; }
.sim-stats b { color: #ffd166; }

#simEndStars {
	font-size: 2.4em;
	color: #ffd166;
	margin: 10px 0;
}

.sim-tips { padding: 20px 0; }
