.mobile-layer-toast,
.mobile-layer-loading {
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 19900000;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	box-sizing: border-box;
	width: max-content;
	max-width: calc(100% - 48px);
	padding: 15px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .98);
	box-shadow: 0 22px 60px rgba(15, 23, 42, .2);
	color: #0f172a;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	transform: translate(-50%, -50%);
	animation: mobileLayerToastIn .2s ease both;
}

.mobile-layer-toast span {
	min-width: 0;
	flex: 1;
	white-space: normal;
	word-break: break-word;
	max-height: 70vh;
	overflow-y: auto;
}

.mobile-layer-loading {
	align-items: center;
}

.mobile-layer-loading span {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
}

.mobile-layer-toast {
	min-width: 172px;
	border: 1px solid rgba(34, 197, 94, .18);
}

.mobile-layer-toast.is-hiding,
.mobile-layer-loading.is-hiding {
	animation: mobileLayerToastOut .18s ease both;
}

.mobile-layer-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 14px;
	background: rgba(34, 197, 94, .14);
	color: #16a34a;
}

.mobile-layer-toast.is-error .mobile-layer-icon {
	background: rgba(239, 68, 68, .12);
	color: #dc2626;
}

.mobile-layer-toast.is-info .mobile-layer-icon,
.mobile-layer-loading .mobile-layer-icon {
	background: rgba(8, 145, 178, .12);
	color: #0891b2;
}

.mobile-layer-icon svg {
	width: 22px;
	height: 22px;
}

.mobile-layer-loading .mobile-layer-icon svg {
	animation: mobileLayerSpin .8s linear infinite;
}

.mobile-layer-shade {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 19899999;
	background: rgba(15, 23, 42, .18);
}

@media (prefers-reduced-motion: reduce) {
	.mobile-layer-toast,
	.mobile-layer-loading,
	.mobile-layer-loading .mobile-layer-icon svg {
		animation: none;
	}
}

@keyframes mobileLayerToastIn {
	from { opacity: 0; transform: translate(-50%, -45%) scale(.96); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes mobileLayerToastOut {
	from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	to { opacity: 0; transform: translate(-50%, -45%) scale(.96); }
}

@keyframes mobileLayerSpin {
	from { transform: rotate(0); }
	to { transform: rotate(360deg); }
}
