.cubby-loading-screen {
	position: fixed;
	inset: 0;
	z-index: 60;
	box-sizing: border-box;
	display: flex;
	min-height: 100vh;
	min-height: 100dvh;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.875rem;
	padding: 1.5rem;
	background-color: var(--color-base-100, #f5f1e8);
	color: #685c52;
	font-family:
		system-ui,
		-apple-system,
		'Segoe UI',
		Roboto,
		sans-serif;
	text-align: center;
}

.cubby-loading-art {
	box-sizing: border-box;
	display: grid;
	width: 6rem;
	height: 6rem;
	place-items: center;
	overflow: hidden;
	border: 1px solid var(--color-base-300, #d7cabc);
	border-radius: 1.5rem;
	background-color: var(--color-base-50, #fefcf8);
}

.cubby-loading-corgi {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	object-fit: contain;
	transform-origin: 50% 85%;
	user-select: none;
	animation: cubby-corgi-breathe 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.cubby-loading-message {
	max-width: 16rem;
	margin: 0;
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.25rem;
}

@keyframes cubby-corgi-breathe {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}

	50% {
		transform: translateY(-2px) scale(1.015);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cubby-loading-corgi {
		animation: none;
	}
}
