.rsp-shell {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: #04060b;
	box-sizing: border-box;
}

.rsp-wrapper {
	--rsp-color-bg: #090d15;
	--rsp-color-cover: #cfd2d7;
	--rsp-color-cell-bg: #101723;
	--rsp-color-text: #f3f4f6;
	--rsp-color-btn-bg: #16a34a;
	--rsp-color-btn-text: #ffffff;
	--rsp-color-helper-text: #b5bcc8;
	--rsp-fs-title: 44px;
	--rsp-fs-symbol: 40px;
	--rsp-fs-btn: 16px;
	--rsp-fs-helper: 22px;

	font-family: "Poppins", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: var(--rsp-color-bg);
	color: var(--rsp-color-text);
	padding: 22px;
	border-radius: 22px;
	max-width: 380px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}

.rsp-online-pill {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 6px 12px;
	margin: 0 auto 10px;
	width: fit-content;
	max-width: 100%;
}

.rsp-online-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #18db4f;
	box-shadow: 0 0 0 3px rgba(24, 219, 79, 0.2);
}

.rsp-online-count {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
}

.rsp-online-text {
	font-size: 11px;
	font-weight: 500;
	color: #d0d5dd;
}

.rsp-instruction {
	margin: 0 0 14px;
	text-align: center;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.25;
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
}

.rsp-board {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	overflow: hidden;
}

.rsp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	width: 100%;
	height: 100%;
	gap: 9px;
	padding: 9px;
	box-sizing: border-box;
}

.rsp-cell {
	background: var(--rsp-color-cell-bg);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rsp-symbol {
	font-size: var(--rsp-fs-symbol);
	line-height: 1;
	user-select: none;
}

.rsp-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: crosshair;
}

.rsp-cta {
	margin-top: 20px;
	text-align: center;
}

.rsp-win-disclaimer {
	margin: 14px 0 0;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #c2c7d2;
}

.rsp-cta-title {
	margin: 0 0 14px;
	font-size: var(--rsp-fs-title);
	font-weight: 800;
	line-height: 1.25;
}

.rsp-cta-button {
	display: inline-block;
	text-decoration: none;
	background: var(--rsp-color-btn-bg);
	color: var(--rsp-color-btn-text);
	padding: 15px 30px;
	border-radius: 16px;
	font-size: calc(var(--rsp-fs-btn) + 4px);
	font-weight: 800;
	line-height: 1;
	min-width: 260px;
	box-shadow:
		0 12px 30px rgba(22, 163, 74, 0.42),
		0 0 24px rgba(22, 163, 74, 0.33);
}

.rsp-cta-helper {
	margin: 16px 0 0;
	font-size: var(--rsp-fs-helper);
	font-weight: 500;
	line-height: 1.4;
	color: var(--rsp-color-helper-text);
}

@media (max-width: 420px) {
	.rsp-shell {
		padding: 16px 12px;
	}

	.rsp-online-count {
		font-size: 17px;
	}

	.rsp-instruction {
		font-size: 17px;
	}
}
