.sts-game-modal {
	position: fixed;
	inset: 0;
	z-index: 9500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.sts-game-modal[hidden] {
	display: none;
}

.sts-game-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 10, 26, 0.85);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.sts-game-modal-dialog {
	position: relative;
	background: var(--sts-card);
	border: 1px solid var(--sts-border);
	border-radius: var(--sts-radius-lg);
	width: 100%;
	max-width: 1100px;
	height: 80vh;
	max-height: 720px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sts-game-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-bottom: 1px solid var(--sts-border);
	color: #fff;
}

.sts-game-modal-title {
	margin: 0;
	font-size: 16px;
}

.sts-game-modal-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sts-card-2);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.sts-game-modal-body {
	flex: 1;
	background: #000;
}

.sts-game-modal-body iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media (max-width: 640px) {
	.sts-game-modal {
		padding: 0;
	}
	.sts-game-modal-dialog {
		max-width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
	}
}
