.sg-game-heading {
	display: flex;
	align-items: flex-start;
	column-gap: 24px;
	row-gap: 12px;
	margin-bottom: 24px;
}

.sg-game-heading .heading-h2 {
	margin-bottom: 0;
}

.sg-game-heading .heading-h2 span {
	color: var(--thunderbird-500);
}

.sg-game-heading .room-rating {
	gap: 10px;
}

.sg-game-heading .room-rating-number {
	font-size: 32px;
	line-height: 40px;
}

.sg-game-heading .room-rating-star svg {
	width: 24px;
	height: 24px;
}

.sg-h-game {
	display: grid;
	grid-template-columns: 1fr 285px;
	grid-column-gap: 24px;
	grid-row-gap: 12px;
	padding: 32px;
	background: var(--mirage-950);
	border-radius: 12px;
}

.sg-h-game__iframe {
	position: relative;
	grid-area: 1 / 1 / 2 / 2;
}

.sg-h-game__code {
	height: 472px;
}

.sg-h-game__code .sg-h-game__room {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 8px 12px;
	display: none;
	z-index: 1;
}

.sg-h-game__code .sg-h-game__room-link img {
	min-height: 50px;
    max-height: 50px;
}

.sg-h-game__code iframe {
	width: 100%;
	height: 100%;
	border-radius: 24px;
}

.sg-h-game__code.fullscreen {
	height: 100%;
}

.sg-h-game__code.fullscreen .sg-h-game__room {
	display: grid;
}

.sg-h-game__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
	opacity: .85;
}

.sg-h-game__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0 24px;
	min-width: 205px;
	height: 40px;
}

.sg-h-game__game {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sg-h-game__resize-btn {
	position: absolute;
	bottom: 12px;
	right: 12px;
	padding: 0 12px;
	font-size: 12px;
	height: 28px;
}


.sg-h-game__room {
	position: relative;
	display: grid;
	align-items: center;
	grid-template-columns: 104px auto auto auto;
	padding: 12px;
	color: var(--white);
	background: var(--mirage-900);
	border-radius: 12px;
	grid-area: 2 / 1 / 3 / 2;
}

.sg-h-game__room-link {
	display: block;
	text-align: center;
	padding: 0 10px;
	background: var(--mirage-950);
	border-radius: 8px;
	overflow: hidden;
}

.sg-h-game__room-link img {
	width: 100%;
	min-height: 86px;
	max-height: 104px;
	object-fit: contain;
	transition: opacity ease .1s;
}

.sg-h-game__room-link:hover img {
	opacity: .9;
}

.sg-h-game__room-title {
	padding: 0 12px 0 10px;
}

.sg-h-game__room-title a {
	display: inline-block;
	color: var(--white);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
	transition: color ease .1s;
}

.sg-h-game__room-title a:hover {
	color: var(--thunderbird-500);
}

.sg-h-game__room-meta {
	padding: 0 12px;
}

.sg-h-game__room-meta--label {
	font-size: 12px;
	margin-bottom: 8px;
}

.sg-h-game__room-meta span {
	font-size: 18px;
	font-weight: 700;
}

.sg-h-game__review {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 40px;
	height: 40px;
	border-radius: 24px 0 12px 0;
	border-left: 6px solid var(--mirage-950);
    border-top: 6px solid var(--mirage-950);
    transition: background ease .1s;
}

.sg-h-game__review:hover {
	background: var(--thunderbird-500);
}

.sg-h-game__review::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNC42NjY2NyAxMS4zMzM0TDExLjMzMzMgNC42NjY2OU0xMS4zMzMzIDQuNjY2NjlINC42NjY2N00xMS4zMzMzIDQuNjY2NjlWMTEuMzMzNCIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==");
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: center;
}

.sg-h-game__side {
	grid-area: 1 / 2 / 3 / 3;
}

.sg-h-game__side-meta--item {
	display: flex;
	align-items: center;
	font-size: 16px;
	color: var(--blue-violet-400);
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--mirage-600);
}

.sg-h-game__side-meta--value {
	margin-left: auto;
	color: var(--white);
	font-size: 18px;
	font-weight: 700;
}


@media (max-width: 991px) {
	.sg-h-game {
		grid-template-columns: 1fr;
		grid-row-gap: 24px;
		padding: 12px;
	}

	.sg-h-game__iframe,
	.sg-h-game__room,
	.sg-h-game__side {
		grid-area: auto;
	}

	.sg-h-game__code {
		height: auto;
		padding-top: 60%;
	}

	.sg-h-game__code iframe {
		position: absolute;
		top: 0;
		left: 0;
		border-radius: 12px;
	}

	.sg-h-game__img {
		position: absolute;
		top: 0;
		left: 0;
		border-radius: 12px;
	}
}

@media (max-width: 768px) {
	.sg-game-heading {
		flex-wrap: wrap;
	}

	.sg-h-game__code .sg-h-game__room-meta span {
		font-size: 14px;
	}
}

@media (max-width: 576px) {
	.sg-game-heading .room-rating-number {
		font-size: 24px;
	}

	.sg-game-heading .room-rating-star svg {
		width: 20px;
		height: 20px;
	}

	.sg-h-game__room {
		grid-template-columns: 1fr;
		grid-gap: 12px;
	}

	.sg-h-game__room-link img {
		max-width: 110px;
		min-height: 104px;
	}

	.sg-h-game__room-title,
	.sg-h-game__room-meta {
		padding: 0;
	}

	.sg-h-game__room-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.sg-h-game__room-title a {
		margin-bottom: 0;
	}

	.sg-h-game__room-meta--label {
		margin-bottom: 2px;
	}

	.sg-h-game__code .sg-h-game__room {
		grid-gap: 5px;
	}

	.sg-h-game__code .sg-h-game__room-link {
		display: none;
	}

	.sg-h-game__code .sg-h-game__room-title {
		display: block;
	}

	.sg-h-game__code .sg-h-game__room-bonus {
		order: -1;
		grid-area: 1 / 1 / 2 / 3;
	}

	.sg-h-game__code .sg-h-game__room-promo {
		margin-right: 40px;
	}
}