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

.rl_rack
{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 6px;
	padding: 9px 8px 11px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
}

.rl_rack_chip
{
	justify-self: center;
	width: 44px;
	height: 44px;
	padding: 0;
	cursor: pointer;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), filter 0.22s;
	-webkit-tap-highlight-color: transparent;
}

.rl_rack_chip .rl_chip_text
{
	font-size: 14px;
}

.rl_rack_chip:hover
{
	transform: translateY(-2px);
}

.rl_rack_chip[aria-checked="false"]
{
	filter: saturate(0.75) brightness(0.86);
}

.rl_rack_chip[aria-checked="true"]
{
	transform: translateY(-4px);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 3px 0 var(--chip_dark), 0 4px 0 rgba(0, 0, 0, 0.35), 0 8px 12px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--surface), 0 0 0 4px var(--gold);
}

.rl_rack_chip:focus-visible
{
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.rl_sums
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rl_sum
{
	gap: 8px;
	padding: 0 12px;
}

.rl_sum output
{
	overflow: hidden;
	color: var(--text);
	font: 600 15px var(--font_body);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.rl_sums .field:last-child .rl_sum output
{
	color: #6ee7b7;
}

.rl_tools
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-bottom: 14px;
}

.rl_tool
{
	gap: 5px;
	height: 38px;
	padding: 0 4px;
	font-size: 12.5px;
}

.rl_tool .icon
{
	flex: none;
}

.rl_tool:disabled
{
	opacity: 0.4;
	cursor: default;
	pointer-events: none;
}

.roulette_page .play_hint kbd
{
	padding: 0 5px;
}

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

.rl_chip
{
	--chip: #ecebf4;
	--chip_stripe: #6d5bd0;
	--chip_core: #fbfaff;
	--chip_dark: #8f88ab;
	--chip_ink: #3b1d8f;
	position: relative;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: radial-gradient(circle, var(--chip_core) 0 53%, transparent 54%), repeating-conic-gradient(from 7.5deg, var(--chip_stripe) 0 15deg, var(--chip) 15deg 45deg);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 3px 0 var(--chip_dark), 0 4px 0 rgba(0, 0, 0, 0.35), 0 6px 8px rgba(0, 0, 0, 0.45);
}

.rl_chip::before
{
	content: "";
	position: absolute;
	inset: 22%;
	border-radius: 50%;
	border: 1.5px dashed color-mix(in srgb, var(--chip_ink) 45%, transparent);
}

.rl_chip.is_t1
{
	--chip: #e0294f;
	--chip_stripe: #ffe4ea;
	--chip_core: #c81d43;
	--chip_dark: #7a0e27;
	--chip_ink: #ffffff;
}

.rl_chip.is_t2
{
	--chip: #0f9f6e;
	--chip_stripe: #d1fae5;
	--chip_core: #0b8a5f;
	--chip_dark: #054d35;
	--chip_ink: #ffffff;
}

.rl_chip.is_t3
{
	--chip: #23204a;
	--chip_stripe: #f5c451;
	--chip_core: #2e2a5e;
	--chip_dark: #0b0918;
	--chip_ink: #fde68a;
}

.rl_chip.is_t4
{
	--chip: #7c3aed;
	--chip_stripe: #fde68a;
	--chip_core: #6527d6;
	--chip_dark: #3b0f86;
	--chip_ink: #fff7d6;
}

.rl_chip_text
{
	position: relative;
	z-index: 1;
	color: var(--chip_ink);
	font: 700 10px/1 var(--font_game);
	letter-spacing: -0.02em;
	white-space: nowrap;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

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

.roulette_stage
{
	gap: 12px;
}

.roulette_stage .stage_status
{
	flex: none;
}

.roulette_stage .stage_label
{
	white-space: nowrap;
}

.roulette_stage .recent_list
{
	flex: 1 1 0;
	min-width: 0;
}

.roulette_scene
{
	position: relative;
	flex: 1 1 0;
	min-height: 200px;
}

.roulette_rig
{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1040px;
	height: 680px;
	transform: translate(-50%, -50%) scale(var(--roulette_scale, 1));
}

.rl_felt
{
	position: absolute;
	inset: 30px;
	border-radius: 34px;
	background: radial-gradient(ellipse 34% 46% at 29% 32%, rgba(255, 255, 255, 0.06), transparent 70%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 5px), radial-gradient(ellipse at 42% 38%, #34248c 0%, #22185f 50%, #140d38 100%);
	box-shadow: inset 0 0 0 2px rgba(245, 196, 81, 0.34), inset 0 0 70px rgba(0, 0, 0, 0.55), 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);
}

.rl_felt::after
{
	content: "";
	position: absolute;
	inset: 10px;
	border-radius: 26px;
	border: 1px solid rgba(245, 196, 81, 0.15);
}

.rl_wheel
{
	position: absolute;
	left: 52px;
	top: 38px;
	z-index: 1;
	width: 492px;
	height: 352px;
	pointer-events: none;
}

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

.rl_board
{
	position: absolute;
	left: 700px;
	top: 50px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 290px;
	height: 334px;
	padding: 12px 16px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(6, 4, 15, 0.62), rgba(10, 6, 26, 0.46));
	box-shadow: inset 0 3px 16px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(245, 196, 81, 0.34), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rl_title
{
	color: rgba(245, 196, 81, 0.72);
	font: 700 17px/1 var(--font_game);
	letter-spacing: 0.42em;
	text-align: center;
	text-indent: 0.42em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rl_result
{
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
}

.rl_disc
{
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	color: #fff;
	font: 800 27px/1 var(--font_game);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -4px 8px rgba(0, 0, 0, 0.35), 0 0 0 3px #1d1438, 0 0 0 5px rgba(245, 196, 81, 0.72), 0 8px 14px rgba(0, 0, 0, 0.5);
}

.rl_disc.is_red
{
	background: radial-gradient(circle at 38% 30%, #ff6b81, #d91d43 55%, #7a0c20);
}

.rl_disc.is_black
{
	background: radial-gradient(circle at 38% 30%, #5c5480, #221d3a 55%, #08060f);
}

.rl_disc.is_green
{
	background: radial-gradient(circle at 38% 30%, #5ef0ad, #0e9f62 55%, #04502f);
}

.rl_disc.is_none
{
	color: rgba(245, 196, 81, 0.55);
	background: radial-gradient(circle at 38% 30%, #3b2c86, #1d1450 60%, #0e0a26);
}

.rl_disc.is_pop
{
	animation: rl_disc_pop 0.6s var(--ease);
}

.rl_result_meta
{
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.rl_result_name
{
	color: var(--text);
	font: 700 19px/1.1 var(--font_game);
	white-space: nowrap;
}

.rl_result_tags
{
	color: var(--text_dim);
	font-size: 11.5px;
	line-height: 1.35;
}

.rl_board_head
{
	display: flex;
	justify-content: space-between;
	color: var(--text_mute);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rl_strip
{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 4px;
}

.rl_tile
{
	display: inline-grid;
	place-items: center;
	min-width: 0;
	height: 22px;
	border-radius: 7px;
	color: #fff;
	font: 700 13px/1 var(--font_game);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.rl_tile.is_red
{
	background: linear-gradient(180deg, #f0435f, #b5162f);
}

.rl_tile.is_black
{
	background: linear-gradient(180deg, #3d365c, #16121f);
}

.rl_tile.is_green
{
	background: linear-gradient(180deg, #2fd18a, #0b7a4a);
}

.rl_tile.is_empty
{
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.rl_tile.is_latest
{
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1.5px #fde68a;
}

.rl_heat
{
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: center;
	gap: 6px 8px;
}

.rl_heat_label
{
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rl_heat_label.is_hot
{
	color: #fb923c;
}

.rl_heat_label.is_cold
{
	color: #67e8f9;
}

.rl_heat_row
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	min-height: 36px;
}

.rl_heat_item
{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	min-width: 0;
}

.rl_heat_note
{
	color: var(--text_mute);
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.rl_heat_empty
{
	grid-column: 1 / -1;
	align-self: center;
	color: var(--text_mute);
	font-size: 11.5px;
}

.rl_split
{
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: auto;
}

.rl_split_bar
{
	display: flex;
	gap: 2px;
	height: 8px;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.05);
}

.rl_split_bar span
{
	flex: var(--share, 0) 1 0;
	min-width: 0;
	transition: flex-grow 0.6s var(--ease);
}

.rl_split_red
{
	background: linear-gradient(180deg, #f0435f, #b5162f);
}

.rl_split_green
{
	background: linear-gradient(180deg, #2fd18a, #0b7a4a);
}

.rl_split_black
{
	background: linear-gradient(180deg, #4a4270, #1b1729);
}

.rl_split.is_empty .rl_split_bar span
{
	opacity: 0.25;
}

.rl_split_text
{
	display: flex;
	justify-content: space-between;
	color: var(--text_mute);
	font-size: 11px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

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

.rl_layout
{
	position: absolute;
	left: 62px;
	top: 388px;
	width: 916px;
	height: 256px;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(6, 4, 15, 0.5), rgba(10, 6, 26, 0.36));
	box-shadow: inset 0 3px 16px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(245, 196, 81, 0.34), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rl_table,
.rl_stacks
{
	position: absolute;
	left: 76px;
	top: 400px;
	width: 888px;
	height: 230px;
}

.rl_table
{
	z-index: 2;
}

.rl_stacks
{
	z-index: 3;
	pointer-events: none;
}

.rl_spot
{
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	height: var(--h);
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.rl_spot:focus-visible
{
	outline: none;
}

.rl_cell
{
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.012);
	box-shadow: inset 0 0 0 0.75px rgba(245, 196, 81, 0.42);
	transition: background 0.2s;
}

.rl_cell:hover,
.rl_cell:focus-visible,
.rl_cell.is_cover
{
	background: rgba(245, 196, 81, 0.09);
}

.rl_cell:focus-visible
{
	box-shadow: inset 0 0 0 2px #fff;
}

.rl_lozenge
{
	display: grid;
	place-items: center;
	width: 46px;
	height: 34px;
	border-radius: 10px;
	color: #fffaf0;
	font: 700 21px/1 var(--font_game);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.28), 0 3px 6px rgba(0, 0, 0, 0.4);
	transition: box-shadow 0.2s, filter 0.2s, transform 0.2s var(--ease);
	pointer-events: none;
}

.rl_num.is_red .rl_lozenge
{
	background: linear-gradient(170deg, #f5516b 0%, #d01f40 55%, #9b1230 100%);
}

.rl_num.is_black .rl_lozenge
{
	background: linear-gradient(170deg, #49416d 0%, #241f3c 55%, #120f1f 100%);
}

.rl_zero .rl_lozenge
{
	width: 42px;
	height: 128px;
	border-radius: 21px;
	font-size: 26px;
	background: linear-gradient(170deg, #36d995 0%, #0f9a5d 55%, #075e38 100%);
}

.rl_cell.is_cover .rl_lozenge
{
	filter: brightness(1.18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 0 0 2px #fde68a, 0 3px 6px rgba(0, 0, 0, 0.4);
}

.rl_cell.is_hit
{
	background: rgba(245, 196, 81, 0.16);
	box-shadow: inset 0 0 0 2px rgba(253, 230, 138, 0.85);
}

.rl_cell.is_hit .rl_cell_text
{
	color: #fde68a;
}

.rl_cell.is_winner
{
	background: rgba(245, 196, 81, 0.18);
}

.rl_cell.is_winner .rl_lozenge
{
	filter: brightness(1.15);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 0 0 2.5px #fde68a, 0 0 0 5px rgba(245, 196, 81, 0.28);
	animation: rl_winner 0.9s var(--ease) 2;
}

.rl_cell_text
{
	color: rgba(255, 241, 204, 0.92);
	font: 700 14px/1 var(--font_game);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.rl_side .rl_cell_text
{
	color: #f5c451;
	font-size: 16px;
	letter-spacing: 0.02em;
}

.rl_diamond
{
	width: 46px;
	height: 26px;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	pointer-events: none;
}

.is_red > .rl_diamond
{
	background: linear-gradient(170deg, #f5516b, #b5162f);
}

.is_black > .rl_diamond
{
	background: linear-gradient(170deg, #6a6196, #2a2446 60%, #16121f);
}

.rl_zone
{
	z-index: 1;
	border-radius: 9px;
}

.rl_zone::after
{
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 4px;
	background: #fde68a;
	opacity: 0;
	transition: opacity 0.15s;
}

.rl_zone_dot::after
{
	inset: 5px;
	border-radius: 50%;
}

.rl_zone:hover::after
{
	opacity: 0.9;
}

.rl_table.is_locked .rl_spot
{
	cursor: default;
}

.rl_table.is_locked .rl_zone:hover::after
{
	opacity: 0;
}

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

.rl_stack
{
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 0;
	height: 0;
}

.rl_stack_chip
{
	position: absolute;
	left: -16px;
	top: calc(-16px - var(--i) * 3.6px);
	width: 32px;
	height: 32px;
}

.rl_stack_chip .rl_chip_text
{
	font-size: 10.5px;
}

.rl_stack.is_won .rl_stack_chip:last-child
{
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 3px 0 var(--chip_dark), 0 4px 0 rgba(0, 0, 0, 0.35), 0 6px 8px rgba(0, 0, 0, 0.45), 0 0 0 2px #fde68a;
}

.rl_stack.is_paid
{
	z-index: 2;
}

.rl_stack.is_paid .rl_chip_text
{
	font-size: 9.5px;
}

.rl_dolly
{
	position: absolute;
	left: var(--x);
	top: var(--y);
	z-index: 3;
	width: 22px;
	height: 26px;
	margin: -40px 0 0 6px;
	border-radius: 11px / 6px;
	background: linear-gradient(90deg, #7a4508, #f5c451 35%, #fff1b8 50%, #c88a2c 75%, #6b3f05);
	box-shadow: 0 6px 6px rgba(0, 0, 0, 0.45);
}

.rl_dolly::before
{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -3px;
	height: 12px;
	border-radius: 50%;
	background: radial-gradient(ellipse at 40% 40%, #ffffff, #e9e4f7 60%, #b9b1d6);
	box-shadow: inset 0 0 0 1.5px #c88a2c;
}

.rl_dolly_mark
{
	position: absolute;
	left: 5px;
	top: 9px;
	width: 12px;
	height: 10px;
}

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

.rl_penguin_box
{
	position: absolute;
	left: 500px;
	top: 118px;
	z-index: 2;
	width: 180px;
	height: 252px;
	pointer-events: none;
}

.rl_penguin
{
	--pace: 1;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.rl_penguin.is_quick
{
	--pace: 0.6;
}

.rl_penguin g,
.rl_penguin path,
.rl_penguin ellipse,
.rl_penguin circle
{
	transform-box: view-box;
}

.rl_penguin .rl_body
{
	transform-origin: 100px 268px;
}

.rl_penguin .rl_shadow
{
	transform-origin: 100px 271px;
}

.rl_penguin .rl_torso
{
	transform-origin: 100px 230px;
}

.rl_penguin .rl_head
{
	transform-origin: 100px 108px;
	transition: transform 0.4s var(--ease);
}

.rl_penguin .rl_bow
{
	transform-origin: 100px 118px;
}

.rl_penguin .rl_flip
{
	transition: transform 0.42s var(--ease);
}

.rl_penguin .rl_flip_l
{
	transform-origin: 64px 126px;
	transform: rotate(-8deg);
}

.rl_penguin .rl_flip_r
{
	transform-origin: 136px 126px;
	transform: rotate(6deg);
}

.rl_penguin.is_holding .rl_flip_l
{
	transform: rotate(-42deg);
}

.rl_penguin .rl_held,
.rl_penguin .rl_cloth,
.rl_penguin .rl_happy,
.rl_penguin .rl_mouth
{
	opacity: 0;
}

.rl_penguin .rl_eyes,
.rl_penguin .rl_happy
{
	transition: opacity 0.15s;
}

.rl_penguin.is_holding .rl_held
{
	opacity: 1;
}

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

.rl_penguin .rl_eye
{
	transform-box: fill-box;
	transform-origin: 50% 50%;
	transition: transform 0.25s var(--ease);
}

.rl_penguin .rl_pupils
{
	transition: transform 0.3s var(--ease);
}

.rl_penguin .rl_brows
{
	transition: transform 0.3s var(--ease);
}

.rl_penguin .rl_brow_l
{
	transform-origin: 84px 54px;
	transition: transform 0.3s var(--ease);
}

.rl_penguin .rl_brow_r
{
	transform-origin: 116px 54px;
	transition: transform 0.3s var(--ease);
}

.rl_penguin .rl_jaw
{
	transition: transform 0.2s var(--ease);
}

.rl_penguin .rl_mouth
{
	transform-origin: 100px 92px;
	transition: opacity 0.15s;
}

.rl_penguin.is_polish .rl_flip_l
{
	transform: rotate(-42deg);
}

.rl_penguin.is_polish .rl_flip_r
{
	transform: rotate(50deg);
}

.rl_penguin.is_polish .rl_cloth
{
	opacity: 1;
}

.rl_penguin.is_polish .rl_pupils
{
	transform: translate(1.5px, 3px);
}

.rl_penguin.is_tidy .rl_flip_r
{
	transform: rotate(104deg) scale(0.72);
}

.rl_penguin.is_tidy .rl_head
{
	transform: rotate(-5deg);
}

.rl_penguin.is_wind .rl_flip_l
{
	transform: rotate(-74deg);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.6, 1);
}

.rl_penguin.is_wind .rl_head,
.rl_penguin.is_flick .rl_head
{
	transform: rotate(-6deg) translateX(-2px);
}

.rl_penguin.is_wind .rl_pupils,
.rl_penguin.is_flick .rl_pupils,
.rl_penguin.is_watch .rl_pupils
{
	transform: translate(-2.5px, 1.5px);
}

.rl_penguin.is_flick .rl_flip_l
{
	transform: rotate(82deg);
	transition: transform calc(0.12s * var(--pace)) cubic-bezier(0.2, 0.9, 0.3, 1);
}

.rl_penguin.is_watch .rl_head
{
	transform: rotate(-7deg) translate(-3px, 1px);
}

.rl_penguin.is_watch .rl_flip_l
{
	transform: rotate(-14deg);
}

.rl_penguin.is_nod .rl_eyes,
.rl_penguin.is_clap .rl_eyes
{
	opacity: 0;
}

.rl_penguin.is_nod .rl_happy,
.rl_penguin.is_clap .rl_happy
{
	opacity: 1;
}

.rl_penguin.is_clap .rl_flip_l
{
	transform: rotate(-56deg);
}

.rl_penguin.is_clap .rl_flip_r
{
	transform: rotate(56deg);
}

.rl_penguin.is_clap .rl_jaw,
.rl_penguin.is_gasp .rl_jaw
{
	transform: translateY(4px);
}

.rl_penguin.is_clap .rl_mouth,
.rl_penguin.is_gasp .rl_mouth,
.rl_penguin.is_talk .rl_mouth
{
	opacity: 1;
}

.rl_penguin.is_shrug .rl_flip_l
{
	transform: rotate(54deg);
}

.rl_penguin.is_shrug .rl_flip_r
{
	transform: rotate(-54deg);
}

.rl_penguin.is_shrug .rl_head
{
	transform: rotate(8deg);
}

.rl_penguin.is_shrug .rl_brow_l
{
	transform: translateY(-3px) rotate(-9deg);
}

.rl_penguin.is_shrug .rl_brow_r
{
	transform: translateY(-3px) rotate(9deg);
}

.rl_penguin.is_shrug .rl_pupils
{
	transform: translate(1px, 2.5px);
}

.rl_penguin.is_gasp .rl_flip_l
{
	transform: rotate(118deg);
}

.rl_penguin.is_gasp .rl_flip_r
{
	transform: rotate(-118deg);
}

.rl_penguin.is_gasp .rl_eye
{
	transform: scale(1.22);
}

.rl_penguin.is_gasp .rl_pupils
{
	transform: translate(0, -1px);
}

.rl_penguin.is_gasp .rl_brows
{
	transform: translateY(-7px);
}

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

.rl_bubble
{
	position: absolute;
	left: 506px;
	top: 66px;
	z-index: 5;
	padding: 9px 15px 10px;
	border-radius: 16px;
	color: #2e1065;
	font: 700 17px/1.15 var(--font_game);
	white-space: nowrap;
	background: linear-gradient(180deg, #fffaf0, #efe7ff);
	box-shadow: 0 0 0 2px rgba(245, 196, 81, 0.85), 0 12px 24px rgba(0, 0, 0, 0.5);
	transform-origin: 70px 100%;
	pointer-events: none;
}

.rl_bubble[hidden]
{
	display: none;
}

.rl_bubble::after
{
	content: "";
	position: absolute;
	left: 64px;
	bottom: -7px;
	width: 14px;
	height: 14px;
	background: #efe7ff;
	box-shadow: 2px 2px 0 rgba(245, 196, 81, 0.85);
	transform: rotate(45deg);
}

.rl_bubble_text,
.rl_say
{
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.rl_say_number
{
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	margin-right: 4px;
	padding: 0 4px;
	border-radius: 14px;
	color: #fff;
	font: 800 17px/1 var(--font_game);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.rl_say_number.is_red
{
	background: linear-gradient(180deg, #f0435f, #b5162f);
}

.rl_say_number.is_black
{
	background: linear-gradient(180deg, #3d365c, #16121f);
}

.rl_say_number.is_green
{
	background: linear-gradient(180deg, #2fd18a, #0b7a4a);
}

.rl_row_tile
{
	min-width: 30px;
	padding: 0 6px;
	font-size: 12.5px;
}

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

@media (prefers-reduced-motion: no-preference)
{
	.rl_penguin .rl_torso
	{
		animation: rl_breathe calc(3.4s * var(--pace)) ease-in-out infinite;
	}

	.rl_penguin .rl_lid
	{
		animation: rl_blink 4.6s infinite;
	}

	.rl_penguin.is_idle .rl_head
	{
		animation: rl_sway 7.4s ease-in-out infinite;
	}

	.rl_penguin.is_polish .rl_flip_r
	{
		animation: rl_polish 0.34s ease-in-out 0.4s infinite alternate;
	}

	.rl_penguin.is_tidy .rl_bow
	{
		animation: rl_bow 0.5s ease-in-out 0.35s 3;
	}

	.rl_penguin.is_talk .rl_jaw
	{
		animation: rl_talk 0.16s ease-in-out infinite alternate;
	}

	.rl_penguin.is_nod .rl_head
	{
		animation: rl_nod 0.5s ease-in-out 2;
	}

	.rl_penguin.is_clap .rl_flip_l
	{
		animation: rl_clap_l calc(0.26s * var(--pace)) ease-in-out infinite alternate;
	}

	.rl_penguin.is_clap .rl_flip_r
	{
		animation: rl_clap_r calc(0.26s * var(--pace)) ease-in-out infinite alternate;
	}

	.rl_penguin.is_clap .rl_body
	{
		animation: rl_hop 0.52s ease-in-out 3;
	}

	.rl_penguin.is_gasp .rl_body
	{
		animation: rl_jump 0.6s var(--ease);
	}

	.rl_penguin.is_shrug .rl_torso
	{
		animation: rl_shrug 1.1s ease-in-out both;
	}

	.rl_stack.is_drop .rl_stack_chip:last-child
	{
		animation: rl_drop 0.3s var(--ease);
	}

	.rl_stack.is_lost
	{
		animation: rl_sweep 0.65s cubic-bezier(0.5, 0, 0.75, 0.4) calc(0.35s + var(--delay, 0ms)) forwards;
	}

	.rl_stack.is_won .rl_stack_chip:last-child
	{
		animation: rl_won 0.7s var(--ease) 0.2s 2;
	}

	.rl_stack.is_paid
	{
		animation: rl_pay 0.65s var(--ease) 0.45s both;
	}

	.rl_dolly
	{
		animation: rl_dolly 0.5s var(--ease) both;
	}

	.rl_bubble.is_pop
	{
		animation: rl_bubble 0.36s var(--ease);
	}
}

@media (prefers-reduced-motion: reduce)
{
	.rl_penguin .rl_flip,
	.rl_penguin .rl_head,
	.rl_penguin .rl_eye,
	.rl_penguin .rl_pupils,
	.rl_penguin .rl_brows,
	.rl_penguin .rl_jaw
	{
		transition: none;
	}

	.rl_stack.is_lost
	{
		opacity: 0.35;
	}
}

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

	50%
	{
		transform: scale(1.015, 1.028);
	}
}

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

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

@keyframes rl_sway
{
	0%,
	34%,
	64%,
	100%
	{
		transform: rotate(0deg);
	}

	44%,
	56%
	{
		transform: rotate(-5deg);
	}

	76%,
	88%
	{
		transform: rotate(4deg);
	}
}

@keyframes rl_polish
{
	from
	{
		transform: rotate(42deg) translate(-2px, 1px);
	}

	to
	{
		transform: rotate(56deg) translate(1px, -1px);
	}
}

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

	30%
	{
		transform: rotate(-9deg);
	}

	70%
	{
		transform: rotate(7deg);
	}
}

@keyframes rl_talk
{
	from
	{
		transform: translateY(0);
	}

	to
	{
		transform: translateY(4.5px);
	}
}

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

	50%
	{
		transform: rotate(3deg) translateY(4px);
	}
}

@keyframes rl_clap_l
{
	from
	{
		transform: rotate(-60deg);
	}

	to
	{
		transform: rotate(-38deg);
	}
}

@keyframes rl_clap_r
{
	from
	{
		transform: rotate(60deg);
	}

	to
	{
		transform: rotate(38deg);
	}
}

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

	20%
	{
		transform: translateY(0) scale(1.04, 0.95);
	}

	55%
	{
		transform: translateY(-9px) scale(0.98, 1.03);
	}
}

@keyframes rl_jump
{
	0%
	{
		transform: translateY(0) scale(1, 1);
	}

	25%
	{
		transform: translateY(0) scale(1.06, 0.92);
	}

	55%
	{
		transform: translateY(-14px) scale(0.96, 1.05);
	}

	100%
	{
		transform: translateY(0) scale(1, 1);
	}
}

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

	30%,
	70%
	{
		transform: translateY(-4px);
	}
}

@keyframes rl_drop
{
	0%
	{
		opacity: 0;
		transform: translateY(-16px) scale(1.15);
	}

	60%
	{
		opacity: 1;
		transform: translateY(1px) scale(0.97);
	}

	100%
	{
		transform: translateY(0) scale(1);
	}
}

@keyframes rl_sweep
{
	0%
	{
		opacity: 1;
		transform: translate(0, 0) scale(1);
	}

	100%
	{
		opacity: 0;
		transform: translate(var(--from_x), var(--from_y)) scale(0.45);
	}
}

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

	40%
	{
		transform: translateY(-6px);
	}
}

@keyframes rl_pay
{
	0%
	{
		opacity: 0;
		transform: translate(var(--from_x), var(--from_y)) scale(0.6);
	}

	25%
	{
		opacity: 1;
	}

	100%
	{
		opacity: 1;
		transform: translate(0, 0) scale(1);
	}
}

@keyframes rl_dolly
{
	from
	{
		opacity: 0;
		transform: translateY(-34px);
	}

	to
	{
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes rl_bubble
{
	from
	{
		opacity: 0;
		transform: translateY(8px) scale(0.7);
	}
}

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

	40%
	{
		transform: scale(1.08);
	}
}

@keyframes rl_disc_pop
{
	0%
	{
		transform: scale(0.6);
	}

	60%
	{
		transform: scale(1.1);
	}

	100%
	{
		transform: scale(1);
	}
}

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

@media (max-height: 860px) and (min-width: 1101px)
{
	.rl_rack
	{
		padding: 7px 8px 9px;
	}

	.rl_tools
	{
		margin-bottom: 12px;
	}
}

@media (max-height: 760px) and (min-width: 1101px)
{
	.roulette_stage
	{
		gap: 10px;
	}

	.rl_rack_chip
	{
		width: 40px;
		height: 40px;
	}

	.rl_rack_chip .rl_chip_text
	{
		font-size: 13px;
	}

	.roulette_page .game_controls .field_box
	{
		height: 44px;
	}

	.rl_tool
	{
		height: 34px;
	}

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

@media (max-height: 700px) and (min-width: 1101px)
{
	.roulette_stage
	{
		padding-top: 14px;
		padding-bottom: 14px;
	}
}

@media (max-width: 1100px)
{
	.roulette_scene
	{
		flex: none;
		height: calc((100vw - 48px) * 0.654);
		max-height: 680px;
	}
}

@media (max-width: 600px)
{
	.rl_tool
	{
		font-size: 11.5px;
	}

	.rl_tool .icon
	{
		display: none;
	}
}

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