.bg-real-favorite-toast {
	position: fixed;
	z-index: 999999;
	top: 22px;
	left: 50%;
	max-width: calc(100vw - 28px);
	padding: 11px 16px;
	border: 1px solid #c7d2fe;
	border-radius: 13px;
	background: #312e81;
	color: #fff;
	font-family: Vazirmatn, Vazir, Tahoma, Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 14px 38px rgba(49,46,129,.24);
	opacity: 0;
	transform: translate(-50%, -12px);
	transition: opacity .2s ease, transform .2s ease;
}

.bg-real-favorite-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.bg-real-favorite-toast.is-error {
	border-color: #fed7aa;
	background: #9a3412;
}

@media (prefers-reduced-motion: reduce) {
	.bg-real-favorite-toast { transition: none; }
}

.bg-connection-note {
	position: fixed;
	z-index: 9990;
	right: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: min(360px, calc(100vw - 36px));
	padding: 11px 13px;
	border: 1px solid rgba(99, 102, 241, .18);
	border-radius: 16px;
	background: rgba(255, 255, 255, .92);
	color: #334155;
	box-shadow: 0 16px 38px rgba(15, 23, 42, .14);
	backdrop-filter: blur(14px);
	font-family: Vazirmatn, Tahoma, sans-serif;
	direction: rtl;
}

.bg-connection-note > span {
	display: grid;
	flex: 0 0 34px;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: #eef2ff;
	color: #4338ca;
	font-size: 17px;
	font-weight: 900;
}

.bg-connection-note p { display: grid; gap: 2px; margin: 0; }
.bg-connection-note strong { color: #1e293b; font-size: 13px; }
.bg-connection-note small { color: #64748b; font-size: 11px; line-height: 1.7; }

@media (max-width: 640px) {
	.bg-connection-note {
		right: 12px;
		bottom: 76px;
		max-width: calc(100vw - 24px);
	}
}
