.whg-game-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 24px 16px;
}

.whg-game-header h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(25px, 5vw, 38px);
	line-height: 1.05;
}

.whg-game-header p {
	margin: 0;
	color: #aeb8c7;
}

.whg-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(72px, 1fr));
	gap: 8px;
	min-width: 280px;
}

.whg-stats div {
	padding: 9px 12px;
	text-align: center;
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--whg-border);
	border-radius: 12px;
}

.whg-stats span {
	display: block;
	color: #98a5b6;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.whg-stats strong {
	color: #fff;
	font-size: 24px;
}

.whg-rules {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 16px 14px;
}

.whg-rules span {
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 800;
	background: rgba(255, 255, 255, .06);
	border: 1px solid currentColor;
	border-radius: 999px;
}

.whg-rules .is-positive { color: var(--whg-green); }
.whg-rules .is-bonus { color: var(--whg-blue); }
.whg-rules .is-negative { color: var(--whg-red); }
.whg-rules .is-trap { color: #ff9d62; }
.whg-rules .is-level { color: var(--whg-gold); }

.whg-arena {
	position: relative;
	height: clamp(390px, 54vw, 610px);
	margin: 0 16px;
	overflow: hidden;
	cursor: crosshair;
	user-select: none;
	touch-action: manipulation;
	background: #843c1c url("https://wowhub.com.ua/img/4cd86a21-af7e-4ac4-8d91-03b2487a53b2_1920x1080.jpg") center / cover no-repeat;
	border: 1px solid var(--whg-border);
	border-radius: 16px;
}

.whg-arena.is-danger {
	box-shadow: inset 0 0 60px rgba(255, 45, 30, .65);
}

.whg-arena.is-miss {
	animation: whg-miss .16s linear;
}

.whg-arena-shade {
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(26, 11, 4, .06), transparent 30%, rgba(18, 7, 2, .15)),
		radial-gradient(ellipse at center, transparent 50%, rgba(18, 8, 3, .28) 100%);
}

.whg-game-message {
	position: absolute;
	z-index: 8;
	top: 50%;
	left: 50%;
	display: grid;
	gap: 7px;
	width: min(88%, 490px);
	padding: 20px;
	text-align: center;
	transform: translate(-50%, -50%);
	background: rgba(8, 13, 21, .88);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 14px;
	backdrop-filter: blur(8px);
}

.whg-game-message strong {
	color: var(--whg-gold);
	font-size: 25px;
}

.whg-game-message span {
	color: #d8e0ea;
}

.whg-game-message[hidden] {
	display: none;
}

.whg-target,
.whg-trap {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	padding: 0;
	visibility: hidden;
	pointer-events: none;
	cursor: crosshair;
	appearance: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	will-change: transform;
}

.whg-target {
	z-index: 4;
	width: 90px;
	height: 90px;
	filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .45));
}

.whg-trap {
	z-index: 5;
	width: 82px;
	height: 62px;
	filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .65));
}

.whg-target:hover,
.whg-target:focus,
.whg-target:active,
.whg-trap:hover,
.whg-trap:focus,
.whg-trap:active {
	background: transparent !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

.whg-target::before,
.whg-target::after,
.whg-trap::before,
.whg-trap::after {
	display: none !important;
	content: none !important;
}

.whg-target.is-visible,
.whg-trap.is-visible {
	visibility: visible;
	pointer-events: auto;
}

.whg-target.is-bonus {
	filter:
		drop-shadow(0 0 6px #fff)
		drop-shadow(0 0 14px #42cfff);
}

.whg-target img,
.whg-trap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.whg-feedback {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	min-width: 150px;
	font-size: clamp(23px, 4vw, 34px);
	font-weight: 950;
	text-align: center;
	text-shadow: 0 3px 7px #000;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%);
}

.whg-feedback.is-shown {
	animation: whg-feedback .72s ease-out;
}

.whg-game-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	min-height: 82px;
	padding: 16px 20px;
	color: #b7c2d0;
}

.whg-start {
	padding: 12px 22px;
	color: #17130a;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	background: linear-gradient(180deg, #ffd670, #e7a92f);
	border: 0;
	border-radius: 10px;
	box-shadow: 0 5px 18px rgba(244, 189, 69, .23);
}

.whg-start:hover,
.whg-start:focus-visible {
	color: #17130a !important;
	filter: brightness(1.08);
}
.whg-start:disabled { cursor: default; filter: grayscale(.4); }
.whg-game-footer strong { color: var(--whg-gold); }

@keyframes whg-feedback {
	0% { opacity: 0; transform: translate(-50%, -35%) scale(.75); }
	18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
	100% { opacity: 0; transform: translate(-50%, -125%) scale(1); }
}

@keyframes whg-miss {
	0%, 100% { filter: none; }
	50% { filter: saturate(1.6) brightness(.75); }
}

@media (max-width: 680px) {
	.whg-game-header {
		display: grid;
		padding: 20px 16px 14px;
	}

	.whg-stats {
		width: 100%;
		min-width: 0;
	}

	.whg-arena {
		height: 480px;
		margin: 0 10px;
		background-position: 57% center;
	}

	.whg-game-footer {
		flex-direction: column;
		gap: 8px;
	}
}
