.sn-wrap {
	max-width: 420px;
	margin: 0 auto;
}

.sn-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	margin-bottom: 12px;
	color: #333;
}

.sn-board-wrap {
	background: #1b4332;
	border-radius: 12px;
	padding: 8px;
	touch-action: none;
}

.sn-board {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	background: #081c15;
}

.sn-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
}

.sn-action {
	min-width: 110px;
	border: 0;
	border-radius: 999px;
	padding: 10px 18px;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
}

.sn-action:disabled {
	opacity: 0.45;
	cursor: default;
}

.sn-start {
	background: #111;
	color: #fff;
}

.sn-pause {
	background: #fff;
	color: #1b4332;
	border: 2px solid #1b4332;
}

.sn-joystick {
	width: 140px;
	height: 140px;
	margin: 16px auto 0;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 45%, #3d8b6e 0%, #1b4332 70%);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.12), 0 6px 16px rgba(0, 0, 0, 0.18);
	position: relative;
	touch-action: none;
	user-select: none;
	cursor: grab;
}

.sn-joystick:active {
	cursor: grabbing;
}

.sn-joystick-knob {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 58px;
	height: 58px;
	margin-left: -29px;
	margin-top: -29px;
	border-radius: 50%;
	background: linear-gradient(145deg, #95d5b2, #52b788);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
	pointer-events: none;
	transition: box-shadow 0.15s ease;
}

.sn-joystick.is-active .sn-joystick-knob {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.sn-joystick-hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	color: rgba(255, 255, 255, 0.28);
	font-size: 12px;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.sn-help {
	text-align: center;
	margin-top: 10px;
	font-family: 'Nunito', sans-serif;
	font-size: 13px;
	color: #666;
}
