@font-face {
	font-family: "SansBoldV";
	src: url(FreeSansBold.ttf) format("truetype");
}

@font-face {
	font-family: "SerifBoldItalic";
	src: url(FreeSerifBoldItalic.ttf) format("truetype");
}

:root {
	/* safe-area variables — env() fallback to 0 so other devices behave the same */
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--safe-left: env(safe-area-inset-left, 0px);
	--safe-right: env(safe-area-inset-right, 0px);
}

:not(:root):fullscreen::backdrop,
:not(:root):fullscreen {
	background-image: inherit;
	background-size: cover;
	background-position: center;
}

body {
	margin: 0;
	width: 100vw;
	height: 100vh;
	background-color: #000;
	background-size: 100% auto;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.content > section {
	margin-right: 15px;
}

canvas {
	touch-action: pan-y pinch-zoom !important;
	background-image: url("../images/loading.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50px;
	width: 100%;
	height: 100%;
}

#bonus_id {
	font-size: small;
	text-align: left;
}

div:where(.swal2-container) div:where(.swal2-popup) {
	background-color: #19191a;
	color: #e1e1e1;
}

div:where(.swal2-container) div:where(.swal2-popup) a {
	color: #7066e0;
}

div:where(.swal2-container) div:where(.swal2-popup) a:hover {
	color: #655cc9;
}

div:where(.swal2-container) div:where(.swal2-popup) img {
	width: 100%;
}

body.swal2-shown.swal2-height-auto {
	height: 100vh !important;
}

#bonus_rules {
	max-height: 200px;
	overflow-y: scroll;
	box-shadow: 0px 0px 5px #999 inset;
	box-sizing: border-box;
	padding: 10px;
	display: none;
}

.element_open {
	display: block !important;
}

#panel_session {
	height: 100%;
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	transition: 0.5s all;
}

#panel_session.open {
	top: 0%;
}

.panel_tab {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	overflow: hidden;
}

.panel {
	margin: 0 auto;
	bottom: 0;
	width: 100%;
	max-width: var(--panel-max-w);
	background: linear-gradient(135deg, var(--panel-start), var(--panel-end));
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	box-shadow: var(--shadow);
	z-index: 100;
	overflow: hidden;
}

.chip-row::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}

.chip-row::-webkit-scrollbar-thumb {
	background: #ffd24d;
	border-radius: 2.5px;
}

.chip-row::-webkit-scrollbar-track {
	background: #2b2b66;
	overflow: hidden;
	border-radius: 2.5px;
}
