body od-splash-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--od-splash-bg, #18181b);
	color: #f9fafb;
	z-index: 999999;
	pointer-events: none;
	opacity: 1;
	visibility: visible;
	transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body od-splash-screen img {
	width: 120px;
	max-width: 120px;
}

body od-splash-screen .splash-name {
	margin-top: 16px;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--od-splash-text, #a1a1aa);
	opacity: 0;
	transition: opacity 300ms ease;
}

body od-splash-screen .splash-name.visible {
	opacity: 1;
}

body od-splash-screen .spinner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 40px;
	width: 56px;
}

body od-splash-screen .spinner > div {
	width: 12px;
	height: 12px;
	background-color: var(--od-splash-accent, #0077f8);
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: od-bouncedelay 1s infinite ease-in-out both;
	animation: od-bouncedelay 1s infinite ease-in-out both;
}

body od-splash-screen .spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

body od-splash-screen .spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

body od-splash-screen .splash-error {
	display: none;
	flex-direction: column;
	align-items: center;
	margin-top: 40px;
	padding-inline: 16px;
	font-family: Inter, sans-serif;
	font-size: 0.875rem;
	text-align: center;
	color: var(--od-splash-text, #a1a1aa);
}

body od-splash-screen .splash-error button {
	min-height: 44px;
	margin-top: 16px;
	padding: 8px 20px;
	border: 1px solid var(--od-splash-accent, #0077f8);
	border-radius: var(--od-control-radius);
	background: transparent;
	color: var(--od-splash-accent, #0077f8);
	font: inherit;
	font-weight: 500;
}

body.od-splash-screen-failed od-splash-screen {
	pointer-events: auto;
}

body.od-splash-screen-failed od-splash-screen .spinner {
	display: none;
}

body.od-splash-screen-failed od-splash-screen .splash-error {
	display: flex;
}

@-webkit-keyframes od-bouncedelay {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1);
	}
}

@keyframes od-bouncedelay {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

body:not(.od-splash-screen-hidden) {
	overflow: hidden;
}

body.od-splash-screen-hidden od-splash-screen {
	visibility: hidden;
	opacity: 0;
}
