
/*
//=====================================================================================
*/

.hilo_page .field_box input:read-only
{
	color: var(--text_dim);
}

.hilo_page .field_chip:disabled
{
	opacity: 0.45;
	cursor: default;
}

.hilo_page .play_button:disabled
{
	cursor: default;
}

.hilo_page .field_box_static output.is_down
{
	color: #fda4af;
}

.hilo_odds
{
	display: grid;
	gap: 6px;
	margin: 0;
}

.hilo_odds div
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
}

.hilo_odds dt
{
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--text_dim);
	font-size: 13px;
}

.hilo_odds dd
{
	margin: 0;
	color: var(--text);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.odds_icon
{
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.odds_icon.is_up
{
	color: #34d399;
}

.odds_icon.is_down
{
	color: #fb7185;
	rotate: 180deg;
}

/*
//=====================================================================================
*/

.hilo_stage
{
	gap: 12px;
}

.hilo_scene
{
	position: relative;
	flex: 1 1 0;
	min-height: 180px;
}

.hilo_rig
{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1000px;
	height: 640px;
	transform: translate(-50%, -50%) scale(var(--hilo_scale, 1));
}

.hilo_cabinet
{
	position: absolute;
	left: 30px;
	top: 30px;
	width: 940px;
	height: 580px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 34px;
	background: #0f0a22;
	box-shadow: 0 0 0 15px #1d1438, 0 0 0 16px rgba(245, 196, 81, 0.3), 0 0 0 29px #0f0a22, 0 40px 70px rgba(0, 0, 0, 0.6);
}

.hilo_cabinet::after
{
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: 34px;
	box-shadow: inset 0 0 0 2px rgba(245, 196, 81, 0.34), inset 0 0 60px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.hilo_wall
{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 240px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 28px), linear-gradient(180deg, #0e0924 0%, #181140 70%, #211955 100%);
}

.hilo_arch
{
	position: absolute;
	left: 345px;
	top: 18px;
	width: 250px;
	height: 230px;
	border-radius: 125px 125px 8px 8px;
	background: linear-gradient(180deg, #170f38 0%, #251a5c 100%);
	box-shadow: inset 0 0 0 2px rgba(245, 196, 81, 0.3), inset 0 0 0 9px rgba(9, 5, 26, 0.45), inset 0 0 0 10px rgba(245, 196, 81, 0.13), inset 0 16px 30px rgba(0, 0, 0, 0.45);
}

.hilo_rail
{
	position: absolute;
	left: -20px;
	right: -20px;
	top: 216px;
	z-index: 2;
	height: 28px;
	border-radius: 14px;
	background: linear-gradient(180deg, #4b3998 0%, #2d216a 42%, #1a1242 100%);
	box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.35), 0 2px 0 rgba(245, 196, 81, 0.5), 0 10px 16px rgba(0, 0, 0, 0.5);
}

.hilo_rail::before
{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 11px;
	border-top: 1.5px dashed rgba(255, 255, 255, 0.12);
}

.hilo_felt
{
	position: absolute;
	left: 0;
	right: 0;
	top: 232px;
	bottom: 0;
	background: radial-gradient(ellipse 55% 70% at 50% 25%, rgba(255, 255, 255, 0.055), transparent 70%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 5px), radial-gradient(ellipse at 50% 30%, #34248c 0%, #22185f 52%, #140d38 100%);
	box-shadow: inset 0 14px 22px rgba(0, 0, 0, 0.45), inset 0 0 70px rgba(0, 0, 0, 0.4);
}

.hilo_felt::after
{
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 22px;
	bottom: 10px;
	border: 1px solid rgba(245, 196, 81, 0.15);
	border-top: 0;
	border-radius: 0 0 26px 26px;
}

.hilo_spot
{
	position: absolute;
	left: 380px;
	top: 14px;
	width: 180px;
	height: 232px;
	border-radius: 18px;
	border: 1.5px solid rgba(245, 196, 81, 0.24);
	box-shadow: inset 0 0 0 7px rgba(6, 4, 15, 0.1);
}

.hilo_tray
{
	position: absolute;
	left: 24px;
	top: 250px;
	width: 892px;
	height: 92px;
	border-radius: 18px;
	background: rgba(6, 4, 15, 0.26);
	box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(245, 196, 81, 0.16), 0 1px 0 rgba(255, 255, 255, 0.04);
}

/*
//=====================================================================================
*/

.hilo_sign
{
	position: absolute;
	left: 64px;
	top: 70px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	width: 296px;
}

.hilo_title
{
	color: rgba(245, 196, 81, 0.82);
	font: 700 27px/1 var(--font_game);
	letter-spacing: 0.42em;
	text-indent: 0.42em;
	white-space: nowrap;
}

.hilo_rule
{
	position: relative;
	width: 230px;
	height: 1px;
	margin: 4px 0;
	background: linear-gradient(90deg, transparent, rgba(245, 196, 81, 0.55), transparent);
}

.hilo_rule::after
{
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	rotate: 45deg;
	background: #e2b04a;
}

.hilo_terms
{
	color: rgba(245, 196, 81, 0.5);
	font: 600 12.5px/1.2 var(--font_game);
	letter-spacing: 0.26em;
	text-indent: 0.26em;
	white-space: nowrap;
}

.hilo_plaque
{
	position: absolute;
	left: 650px;
	top: 66px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 284px;
	height: 140px;
	border-radius: 16px;
	background: radial-gradient(circle 3.4px at 15px 15px, #f8dc8c 0 2.4px, transparent 3px), radial-gradient(circle 3.4px at calc(100% - 15px) 15px, #f8dc8c 0 2.4px, transparent 3px), radial-gradient(circle 3.4px at 15px calc(100% - 15px), #f8dc8c 0 2.4px, transparent 3px), radial-gradient(circle 3.4px at calc(100% - 15px) calc(100% - 15px), #f8dc8c 0 2.4px, transparent 3px), linear-gradient(180deg, #1c1444, #0c0820);
	box-shadow: inset 0 0 0 2px rgba(245, 196, 81, 0.55), inset 0 0 0 7px #120c2c, inset 0 0 0 8px rgba(245, 196, 81, 0.22), inset 0 12px 22px rgba(0, 0, 0, 0.4), 0 12px 20px rgba(0, 0, 0, 0.45);
}

.plaque_label
{
	color: rgba(245, 196, 81, 0.75);
	font: 700 13px/1 var(--font_game);
	letter-spacing: 0.34em;
	text-indent: 0.34em;
	text-transform: uppercase;
}

.plaque_value
{
	color: #fff1c2;
	font: 800 50px/1 var(--font_game);
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.plaque_note
{
	color: var(--text_dim);
	font: 600 14.5px/1 var(--font_body);
	white-space: nowrap;
}

.hilo_plaque[data-state="win"] .plaque_value
{
	color: #6ee7b7;
}

.hilo_plaque[data-state="loss"] .plaque_value
{
	color: #fda4af;
}

/*
//=====================================================================================
*/

.hilo_fox_box
{
	position: absolute;
	left: 370px;
	top: 30px;
	z-index: 2;
	width: 260px;
	height: 250px;
}

.hilo_fox
{
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.hilo_fox .fox_rig
{
	transform-origin: 130px 250px;
	transition: transform 0.35s var(--ease);
}

.hilo_fox .fox_torso
{
	transform-origin: 130px 220px;
}

.hilo_fox .fox_head
{
	transform-origin: 130px 158px;
}

.hilo_fox .fox_tail
{
	transform-origin: 180px 212px;
}

.hilo_fox .fox_ear
{
	transition: rotate 0.25s var(--ease);
}

.hilo_fox .fox_ear_west
{
	transform-origin: 104px 74px;
}

.hilo_fox .fox_ear_east
{
	transform-origin: 156px 74px;
}

.hilo_fox .fox_hat
{
	transform-origin: 100px 62px;
	transition: translate 0.3s var(--ease);
}

.hilo_fox .fox_eyes
{
	transform-origin: 130px 102px;
	transition: transform 0.2s var(--ease), opacity 0.15s;
}

.hilo_fox .fox_pupils
{
	translate: var(--look_x, 0px) var(--look_y, 0px);
	transition: translate 0.18s ease-out;
}

.hilo_fox .fox_lid
{
	transform-box: fill-box;
	transform-origin: 50% 0;
	transform: scaleY(0);
}

.hilo_fox .fox_brow
{
	transform-box: fill-box;
	transform-origin: 50% 50%;
	transition: translate 0.25s var(--ease), rotate 0.25s var(--ease);
}

.hilo_fox .fox_arm_west
{
	transform-origin: 86px 180px;
}

.hilo_fox .fox_arm_east
{
	transform-origin: 174px 180px;
}

.hilo_fox .fox_paw_west
{
	transform-origin: 96px 232px;
}

.hilo_fox .fox_paw_east
{
	transform-origin: 164px 232px;
}

.hilo_fox .fox_deck
{
	transition: opacity 0.35s, translate 0.35s var(--ease);
}

.hilo_fox .fox_deck_west
{
	transform-origin: 116px 242px;
}

.hilo_fox .fox_deck_east
{
	transform-origin: 144px 242px;
}

.hilo_fox .fox_mouth,
.hilo_fox .fox_happy
{
	transition: opacity 0.12s;
}

.hilo_fox .fox_mouth_grin,
.hilo_fox .fox_mouth_smirk,
.hilo_fox .fox_mouth_gasp,
.hilo_fox .fox_happy,
.hilo_fox .fox_riffle
{
	opacity: 0;
}

.hilo_fox.is_playing .fox_deck
{
	opacity: 0;
	translate: 0 12px;
}

.hilo_fox.is_lean .fox_rig
{
	transform: translateY(6px) scale(1.035);
}

.hilo_fox.is_lean .fox_brow,
.hilo_fox.is_gasp .fox_brow
{
	translate: 0 -5px;
}

.hilo_fox.is_lean .fox_ear_west
{
	rotate: 8deg;
}

.hilo_fox.is_lean .fox_ear_east
{
	rotate: -8deg;
}

.hilo_fox.is_tip .fox_eyes
{
	opacity: 0;
}

.hilo_fox.is_tip .fox_happy,
.hilo_fox.is_tip .fox_mouth_grin,
.hilo_fox.is_smirk .fox_mouth_smirk,
.hilo_fox.is_gasp .fox_mouth_gasp
{
	opacity: 1;
}

.hilo_fox.is_tip .fox_mouth_smile,
.hilo_fox.is_smirk .fox_mouth_smile,
.hilo_fox.is_gasp .fox_mouth_smile
{
	opacity: 0;
}

.hilo_fox.is_smirk .fox_brow_east
{
	translate: 0 -5px;
	rotate: 10deg;
}

.hilo_fox.is_smirk .fox_brow_west
{
	translate: 0 2px;
	rotate: 6deg;
}

.hilo_fox.is_gasp .fox_eyes
{
	transform: scale(1.12);
}

.hilo_fox.is_gasp .fox_ear_west
{
	rotate: -9deg;
}

.hilo_fox.is_gasp .fox_ear_east
{
	rotate: 9deg;
}

.hilo_fox.is_gasp .fox_hat
{
	translate: 0 -7px;
}

@media (prefers-reduced-motion: no-preference)
{
	.hilo_fox .fox_torso
	{
		animation: fox_breathe 3.6s ease-in-out infinite;
	}

	.hilo_fox .fox_head
	{
		animation: fox_bob 3.6s ease-in-out infinite;
	}

	.hilo_fox .fox_lid
	{
		animation: fox_blink 5.2s infinite;
	}

	.hilo_fox .fox_ear_west
	{
		animation: fox_twitch_west 7.4s ease-in-out infinite;
	}

	.hilo_fox .fox_ear_east
	{
		animation: fox_twitch_east 9.8s ease-in-out 1.6s infinite;
	}

	.hilo_fox .fox_tail
	{
		animation: fox_tail 4.6s ease-in-out infinite;
	}

	.hilo_fox:not(.is_playing) .fox_deck_west
	{
		animation: fox_cut_west 10s ease-in-out 1.5s infinite;
	}

	.hilo_fox:not(.is_playing) .fox_deck_east
	{
		animation: fox_cut_east 10s ease-in-out 1.5s infinite;
	}

	.hilo_fox:not(.is_playing) .fox_arm_west
	{
		animation: fox_hold_west 10s ease-in-out 1.5s infinite;
	}

	.hilo_fox:not(.is_playing) .fox_arm_east
	{
		animation: fox_hold_east 10s ease-in-out 1.5s infinite;
	}

	.hilo_fox:not(.is_playing) .fox_riffle
	{
		animation: fox_riffle 10s linear 1.5s infinite;
	}

	.hilo_fox:not(.is_playing) .fox_riffle_b
	{
		animation-delay: 1.6s;
	}

	.hilo_fox:not(.is_playing) .fox_riffle_c
	{
		animation-delay: 1.7s;
	}

	.hilo_fox:not(.is_playing) .fox_riffle_d
	{
		animation-delay: 1.8s;
	}

	.hilo_fox.is_nod .fox_head
	{
		animation: fox_nod 0.5s ease-in-out;
	}

	.hilo_fox.is_tip .fox_hat
	{
		animation: fox_tip 1.5s var(--ease) both;
	}

	.hilo_fox.is_tip .fox_head
	{
		animation: fox_nod 0.6s ease-in-out 0.2s 2;
	}

	.hilo_fox.is_smirk .fox_arm_west
	{
		animation: fox_shrug_west 1.3s var(--ease) 0.35s both;
	}

	.hilo_fox.is_smirk .fox_arm_east
	{
		animation: fox_shrug_east 1.3s var(--ease) 0.35s both;
	}

	.hilo_fox.is_smirk .fox_head
	{
		animation: fox_shrug_head 1.3s var(--ease) 0.35s both;
	}

	.hilo_fox.is_smirk .fox_torso
	{
		animation: fox_shrug_body 1.3s var(--ease) 0.35s both;
	}

	.hilo_fox.is_gasp .fox_head
	{
		animation: fox_gasp 0.5s var(--ease) both;
	}

	.hilo_fox.is_gasp .fox_hat
	{
		animation: fox_pop 0.6s var(--ease) both;
	}

	.hilo_fox.is_gasp .fox_tail
	{
		animation: fox_tail_fluff 0.35s ease-in-out 3;
	}
}

@keyframes fox_breathe
{
	0%,
	100%
	{
		transform: scale(1, 1);
	}

	50%
	{
		transform: scale(1.016, 1.035);
	}
}

@keyframes fox_bob
{
	0%,
	100%
	{
		transform: translateY(0);
	}

	50%
	{
		transform: translateY(-1.6px);
	}
}

@keyframes fox_blink
{
	0%,
	91%,
	97%,
	100%
	{
		transform: scaleY(0);
	}

	94%
	{
		transform: scaleY(1);
	}
}

@keyframes fox_twitch_west
{
	0%,
	86%,
	100%
	{
		transform: rotate(0deg);
	}

	89%
	{
		transform: rotate(-11deg);
	}

	92%
	{
		transform: rotate(4deg);
	}

	95%
	{
		transform: rotate(-3deg);
	}
}

@keyframes fox_twitch_east
{
	0%,
	80%,
	100%
	{
		transform: rotate(0deg);
	}

	83%
	{
		transform: rotate(12deg);
	}

	86%
	{
		transform: rotate(-3deg);
	}
}

@keyframes fox_tail
{
	0%,
	100%
	{
		transform: rotate(0deg);
	}

	50%
	{
		transform: rotate(-7deg);
	}
}

@keyframes fox_tail_fluff
{
	50%
	{
		transform: rotate(-12deg) scale(1.06);
	}
}

@keyframes fox_cut_west
{
	0%,
	17%,
	100%
	{
		transform: none;
	}

	3%
	{
		transform: translate(-3px, -13px) rotate(-18deg);
	}

	11%
	{
		transform: translate(1px, -11px) rotate(-12deg);
	}

	14%
	{
		transform: translate(5px, -2px) rotate(-2deg);
	}
}

@keyframes fox_cut_east
{
	0%,
	17%,
	100%
	{
		transform: none;
	}

	3%
	{
		transform: translate(3px, -13px) rotate(18deg);
	}

	11%
	{
		transform: translate(-1px, -11px) rotate(12deg);
	}

	14%
	{
		transform: translate(-5px, -2px) rotate(2deg);
	}
}

@keyframes fox_hold_west
{
	0%,
	17%,
	100%
	{
		transform: none;
	}

	3%,
	11%
	{
		transform: translate(-1px, -11px) rotate(3deg);
	}

	14%
	{
		transform: translate(3px, -2px);
	}
}

@keyframes fox_hold_east
{
	0%,
	17%,
	100%
	{
		transform: none;
	}

	3%,
	11%
	{
		transform: translate(1px, -11px) rotate(-3deg);
	}

	14%
	{
		transform: translate(-3px, -2px);
	}
}

@keyframes fox_riffle
{
	0%,
	3.5%
	{
		opacity: 0;
		transform: translateY(-4px);
	}

	4%,
	9%
	{
		opacity: 1;
	}

	10.5%,
	100%
	{
		opacity: 0;
		transform: translateY(14px);
	}
}

@keyframes fox_nod
{
	0%,
	100%
	{
		transform: none;
	}

	45%
	{
		transform: translateY(5px) rotate(3deg);
	}
}

@keyframes fox_tip
{
	0%,
	100%
	{
		transform: none;
	}

	22%,
	62%
	{
		transform: translate(-4px, -18px) rotate(-24deg);
	}

	80%
	{
		transform: translate(0, -2px) rotate(-3deg);
	}
}

@keyframes fox_shrug_west
{
	0%,
	100%
	{
		transform: none;
	}

	22%,
	72%
	{
		transform: translate(-6px, -16px) rotate(22deg);
	}
}

@keyframes fox_shrug_east
{
	0%,
	100%
	{
		transform: none;
	}

	22%,
	72%
	{
		transform: translate(6px, -16px) rotate(-22deg);
	}
}

@keyframes fox_shrug_head
{
	0%,
	100%
	{
		transform: none;
	}

	22%,
	72%
	{
		transform: translateY(-5px) rotate(-7deg);
	}
}

@keyframes fox_shrug_body
{
	0%,
	100%
	{
		transform: none;
	}

	22%,
	72%
	{
		transform: translateY(-4px) scale(1.03, 1);
	}
}

@keyframes fox_gasp
{
	0%
	{
		transform: none;
	}

	40%
	{
		transform: translateY(-7px) scale(1.04);
	}

	100%
	{
		transform: translateY(-3px);
	}
}

@keyframes fox_pop
{
	0%
	{
		transform: none;
	}

	35%
	{
		transform: translateY(-16px) rotate(-6deg);
	}

	100%
	{
		transform: none;
	}
}

/*
//=====================================================================================
*/

.hilo_shoe
{
	position: absolute;
	left: 722px;
	top: 282px;
	z-index: 3;
	width: 230px;
	height: 160px;
	overflow: visible;
}

.hilo_bet
{
	position: absolute;
	left: 121px;
	top: 325px;
	z-index: 3;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 2px solid rgba(245, 196, 81, 0.42);
	background: radial-gradient(closest-side, rgba(6, 4, 15, 0.2), rgba(6, 4, 15, 0.08));
}

.hilo_bet::before
{
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 50%;
	border: 1px solid rgba(245, 196, 81, 0.22);
}

.hilo_bet_word
{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 17px;
	color: rgba(245, 196, 81, 0.5);
	font: 700 14px/1 var(--font_game);
	letter-spacing: 0.4em;
	text-indent: 0.4em;
	text-align: center;
}

.hilo_stack
{
	position: absolute;
	left: 43px;
	bottom: 54px;
	width: 64px;
	height: 24px;
}

.hilo_payout
{
	left: 100px;
}

.hilo_chip
{
	position: absolute;
	left: 0;
	bottom: calc(var(--i) * 7px);
	width: 64px;
	height: 24px;
	border-radius: 50%;
	background: repeating-linear-gradient(90deg, var(--chip_dark) 0 8px, #efe7ff 8px 11px);
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.4);
}

.hilo_chip::before
{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -7px;
	height: 24px;
	border-radius: 50%;
	background: radial-gradient(ellipse 34% 34% at 50% 50%, var(--chip) 0 86%, #fff4dd 90% 100%, transparent 102%), repeating-conic-gradient(from 6deg, var(--chip) 0 24deg, #fff7e8 24deg 36deg);
	box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hilo_bet_amount
{
	position: absolute;
	left: 96px;
	top: 481px;
	z-index: 3;
	width: 200px;
	text-align: center;
}

.hilo_bet_amount .money
{
	padding: 5px 13px;
	border-radius: 999px;
	color: #fde68a;
	font: 700 17px/1 var(--font_game);
	background: rgba(6, 4, 15, 0.55);
	border: 1px solid rgba(245, 196, 81, 0.3);
	vertical-align: 0;
}

.hilo_bet_amount.is_idle .money
{
	color: rgba(253, 230, 138, 0.55);
	border-style: dashed;
}

/*
//=====================================================================================
*/

.hilo_card_shadow
{
	position: absolute;
	left: 428px;
	top: 486px;
	z-index: 3;
	width: 144px;
	height: 30px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.hilo_cards
{
	position: absolute;
	left: 422px;
	top: 286px;
	z-index: 4;
	width: 156px;
	height: 218px;
	perspective: 900px;
	perspective-origin: 50% 10%;
}

.hilo_card
{
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transform: rotateX(9deg);
}

.card_turn
{
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
}

.card_turn.is_down
{
	transform: rotateY(180deg);
}

.card_face
{
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 12px;
	backface-visibility: hidden;
}

.card_front
{
	color: #2a1d6e;
	background: linear-gradient(165deg, #fffdf8 0%, #f7f1e6 70%, #ebe2d1 100%);
	box-shadow: inset 0 0 0 1px rgba(42, 29, 110, 0.16), inset 0 -3px 0 rgba(0, 0, 0, 0.06), 0 18px 26px -12px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
	transition: box-shadow 0.3s;
}

.card_front.is_red
{
	color: #d4234a;
}

.card_index
{
	position: absolute;
	left: 8px;
	top: 9px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	width: 28px;
}

.card_index.is_flip
{
	left: auto;
	top: auto;
	right: 8px;
	bottom: 9px;
	rotate: 180deg;
}

.index_rank
{
	font: 800 27px/1 var(--font_game);
	letter-spacing: -0.05em;
}

.index_suit
{
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.card_middle
{
	position: absolute;
	inset: 0;
}

.card_pip
{
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	fill: currentColor;
}

.card_pip.is_flip
{
	rotate: 180deg;
}

.ace_ring
{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 106px;
	height: 106px;
	margin: -53px 0 0 -53px;
	border-radius: 50%;
	border: 2px solid rgba(212, 161, 58, 0.8);
	box-shadow: inset 0 0 0 5px #fffaf0, inset 0 0 0 6px rgba(212, 161, 58, 0.45);
}

.card_ace
{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 70px;
	height: 70px;
	margin: -35px 0 0 -35px;
	fill: currentColor;
}

.card_court
{
	position: absolute;
	left: 31px;
	top: 38px;
	width: 94px;
	height: 141px;
}

.court_pip
{
	position: absolute;
	left: 38px;
	top: 45px;
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.court_pip.is_flip
{
	left: auto;
	top: auto;
	right: 38px;
	bottom: 46px;
	rotate: 180deg;
}

.card_back
{
	transform: rotateY(180deg);
	background: repeating-linear-gradient(45deg, rgba(245, 196, 81, 0.13) 0 1.2px, transparent 1.2px 11px), repeating-linear-gradient(-45deg, rgba(245, 196, 81, 0.13) 0 1.2px, transparent 1.2px 11px), radial-gradient(circle at 50% 42%, #4b33b0, #24175e 75%);
	box-shadow: inset 0 0 0 3px #e2b04a, inset 0 0 0 9px #1d1349, inset 0 0 0 10.5px rgba(245, 196, 81, 0.65), 0 18px 26px -12px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
}

.back_medal
{
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	margin: -37px 0 0 -37px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, #3b2896, #170f3c 75%);
	box-shadow: 0 0 0 2.5px #e2b04a, 0 0 0 6px #1d1349, 0 0 0 7px rgba(245, 196, 81, 0.5), 0 6px 10px rgba(0, 0, 0, 0.4);
}

.back_logo
{
	width: 44px;
	height: 37px;
}

.hilo_card.is_correct .card_front
{
	box-shadow: inset 0 0 0 3px #34d399, inset 0 0 0 5px rgba(52, 211, 153, 0.22), 0 18px 26px -12px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
}

.hilo_card.is_bust .card_front
{
	box-shadow: inset 0 0 0 3px #f43f5e, inset 0 0 0 5px rgba(244, 63, 94, 0.22), 0 18px 26px -12px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: no-preference)
{
	.hilo_card.is_bust .card_front
	{
		animation: card_bust 0.9s ease-out;
	}
}

@keyframes card_bust
{
	0%,
	30%
	{
		box-shadow: inset 0 0 0 9px #f43f5e, inset 0 0 0 12px rgba(244, 63, 94, 0.35), 0 18px 26px -12px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
	}

	15%
	{
		box-shadow: inset 0 0 0 4px #f43f5e, inset 0 0 0 6px rgba(244, 63, 94, 0.2), 0 18px 26px -12px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
	}
}

/*
//=====================================================================================
*/

.hilo_strip
{
	position: absolute;
	left: 64px;
	top: 514px;
	z-index: 3;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 7px;
	width: 872px;
	height: 88px;
	padding: 9px 10px 0;
	overflow: hidden;
}

.strip_more
{
	display: grid;
	flex: none;
	place-items: center;
	align-self: flex-start;
	width: 46px;
	height: 58px;
	margin-right: 4px;
	border-radius: 6px;
	color: rgba(245, 196, 81, 0.75);
	font: 700 14px/1 var(--font_game);
	border: 1px dashed rgba(245, 196, 81, 0.35);
}

.hilo_strip_empty
{
	position: absolute;
	left: 64px;
	top: 551px;
	z-index: 2;
	width: 872px;
	color: rgba(245, 196, 81, 0.3);
	font: 700 15px/1 var(--font_game);
	letter-spacing: 0.5em;
	text-indent: 0.5em;
	text-align: center;
}

.hilo_strip_empty[hidden]
{
	display: none;
}

.strip_step
{
	position: relative;
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 54px;
}

.strip_card
{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 44px;
	height: 58px;
	border-radius: 6px;
	color: #2a1d6e;
	background: linear-gradient(165deg, #fffdf8, #ede5d6);
	box-shadow: inset 0 0 0 1px rgba(42, 29, 110, 0.18), 0 4px 6px rgba(0, 0, 0, 0.4);
}

.strip_card.is_red
{
	color: #d4234a;
}

.strip_rank
{
	font: 800 20px/1 var(--font_game);
	letter-spacing: -0.04em;
}

.strip_suit
{
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.strip_badge
{
	position: absolute;
	right: -7px;
	top: -7px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #052e1f;
	background: #34d399;
	box-shadow: 0 0 0 2px #1c1446;
}

.strip_badge.is_skip
{
	color: #1c1446;
	background: #b8b2da;
}

.strip_step.is_bust .strip_badge
{
	color: #4c0519;
	background: #fb7185;
}

.strip_icon
{
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.strip_badge.is_lower .strip_icon
{
	rotate: 180deg;
}

.strip_tag
{
	color: #c4b5fd;
	font: 700 14px/1 var(--font_game);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.strip_step.is_start .strip_tag
{
	color: rgba(245, 196, 81, 0.75);
}

.strip_step.is_win .strip_tag
{
	color: #6ee7b7;
}

.strip_step.is_skip .strip_tag
{
	color: #8f88b8;
}

.strip_step.is_bust .strip_tag
{
	color: #fda4af;
}

.strip_step.is_current .strip_card
{
	box-shadow: inset 0 0 0 2px #f5c451, 0 4px 6px rgba(0, 0, 0, 0.4);
}

.strip_step.is_bust .strip_card
{
	box-shadow: inset 0 0 0 2px #f43f5e, 0 4px 6px rgba(0, 0, 0, 0.4);
}

/*
//=====================================================================================
*/

.hilo_actions
{
	position: relative;
	z-index: 2;
	display: grid;
	flex: none;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 10px;
}

.hilo_guess,
.hilo_skip
{
	height: 62px;
	border-radius: 14px;
	transition: transform 0.15s var(--ease), border-color 0.2s, background 0.2s, opacity 0.2s;
}

.hilo_guess
{
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 0 14px 0 10px;
	color: var(--text);
	text-align: left;
	background: linear-gradient(180deg, #231b48, #16112e);
	border: 1px solid rgba(167, 139, 250, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 16px -10px rgba(0, 0, 0, 0.9);
}

.hilo_guess:hover:not(:disabled)
{
	border-color: rgba(167, 139, 250, 0.55);
	background: linear-gradient(180deg, #2b2158, #1b1539);
}

.hilo_guess:active:not(:disabled),
.hilo_skip:active:not(:disabled)
{
	transform: translateY(1px);
}

.hilo_guess:disabled,
.hilo_skip:disabled
{
	opacity: 0.45;
	cursor: default;
}

.guess_medal
{
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	color: #04261a;
	background: linear-gradient(180deg, #4ade9f, #059669);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.hilo_lower .guess_medal
{
	color: #4c0519;
	background: linear-gradient(180deg, #fb8197, #e11d48);
}

.guess_icon
{
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.hilo_lower .guess_icon
{
	rotate: 180deg;
}

.guess_text
{
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.guess_title
{
	overflow: hidden;
	font: 700 15px/1 var(--font_display);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.guess_chance
{
	overflow: hidden;
	color: var(--text_mute);
	font-size: 12.5px;
	line-height: 1;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.guess_chance span
{
	color: var(--text_dim);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.guess_pay
{
	flex: none;
	color: #fde68a;
	font: 800 21px/1 var(--font_game);
	font-variant-numeric: tabular-nums;
}

.hilo_guess.is_sure .guess_pay
{
	color: var(--text_dim);
}

.guess_key
{
	flex: none;
}

.hilo_skip
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 18px;
	color: var(--text_dim);
	font-size: 14px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--line);
}

.hilo_skip:hover:not(:disabled)
{
	color: var(--text);
	border-color: rgba(167, 139, 250, 0.4);
}

.skip_icon
{
	width: 16px;
	height: 16px;
	fill: currentColor;
}

@container (max-width: 700px)
{
	.hilo_actions .guess_key,
	.hilo_skip span
	{
		display: none;
	}

	.hilo_guess
	{
		gap: 9px;
		padding: 0 10px 0 8px;
	}

	.guess_medal
	{
		width: 36px;
		height: 36px;
	}

	.guess_pay
	{
		font-size: 18px;
	}

	.hilo_skip
	{
		padding: 0 14px;
	}
}

@container (max-width: 480px)
{
	.hilo_actions .guess_medal
	{
		display: none;
	}

	.hilo_guess
	{
		padding: 0 12px;
	}

	.guess_title
	{
		font-size: 13.5px;
	}

	.guess_pay
	{
		font-size: 16px;
	}
}

/*
//=====================================================================================
*/

@media (max-height: 760px) and (min-width: 1101px)
{
	.hilo_stage
	{
		gap: 10px;
		padding-top: 14px;
		padding-bottom: 16px;
	}

	.hilo_guess,
	.hilo_skip
	{
		height: 54px;
	}

	.guess_medal
	{
		width: 36px;
		height: 36px;
	}

	.hilo_odds div
	{
		height: 36px;
	}

	.hilo_page .game_controls .field
	{
		margin-bottom: 10px;
	}

	.hilo_page .game_controls .field_box
	{
		height: 46px;
	}

	.hilo_page .session_chart
	{
		margin: 6px 0 8px;
	}
}

@media (max-height: 700px) and (min-width: 1101px)
{
	.hilo_odds_field
	{
		display: none;
	}
}

@media (max-width: 1100px)
{
	.hilo_scene
	{
		flex: none;
		height: calc((100vw - 48px) * 0.64);
		max-height: 640px;
	}
}

@media (max-width: 600px)
{
	.hilo_actions
	{
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.hilo_skip
	{
		grid-column: 1 / -1;
		order: 3;
		height: 44px;
	}
}

/*
//=====================================================================================
*/
