.float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 99990;
	width: 56px;
	height: 56px;
	transition: bottom .35s ease;
}
.float__pulse {
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 3px solid #f59e0b;
	box-shadow: 0 0 20px 0 rgba(245, 158, 11, .35);
	animation: float-ring 2s ease-out infinite;
	opacity: 0;
	pointer-events: none;
	z-index: 1;
}
.float__main {
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: #f59e0b;
	color: #1a140c;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 8px 20px rgba(0,0,0,.18), 0 0 18px rgba(245, 158, 11, .28);
	position: relative;
	z-index: 2;
	animation: float-bob 2s ease-out infinite;
}
.float:hover .float__pulse,
.float:hover .float__main,
.float.is-open .float__pulse,
.float.is-open .float__main {
	animation: none;
}
.float.is-open .float__pulse { display: none; }
@keyframes float-bob {
	0% { transform: scale(1); }
	25% { transform: scale(1.1); }
	50% { transform: scale(1); }
}
@keyframes float-ring {
	0% { transform: scale(.8); opacity: 0; }
	25% { opacity: .4; }
	50% { transform: scale(1.3); opacity: 0; }
	100% { transform: scale(.8); opacity: 0; }
}
.float__main svg { width: 26px; height: 24px; }
.float__close { display: none; width: 16px; height: 16px; }
.float.is-open .float__open { display: none; }
.float.is-open .float__close { display: block; }
.float__list {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.float.is-open .float__list { pointer-events: auto; }
.float__item {
	width: 50px;
	height: 50px;
	display: block;
	position: absolute;
	right: 3px;
	bottom: 3px;
	z-index: 1;
	transform: scale(0);
	transform-origin: 50% 50%;
	pointer-events: none;
	transition: transform .34s cubic-bezier(.18, .89, .32, 1.28), bottom .34s cubic-bezier(.18, .89, .32, 1.28);
}
.float__item:nth-child(1) { transition-delay: .08s; }
.float__item:nth-child(2) { transition-delay: 0s; }
.float.is-open .float__item {
	transform: scale(1);
	pointer-events: auto;
}
.float.is-open .float__item:nth-child(2) { bottom: 66px; transition-delay: 0s; }
.float.is-open .float__item:nth-child(1) { bottom: 126px; transition-delay: .08s; }
.float__item img,
.float__item svg {
	width: 50px;
	height: 50px;
	display: block;
	position: relative;
	z-index: 1;
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.float__item:has(svg)::before {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #fff;
	z-index: 0;
}
.float__item svg { border-radius: 50%; }
.float__item img { border-radius: 12px; }

@media only screen and (max-width: 767px) {
	.float {
		right: max(12px, env(safe-area-inset-right));
	}
}

body.mp-cookie-visible .float {
	bottom: max(18px, var(--cookie-fab-shift, 18px), env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
	.float {
		transition: none;
	}
	.float__item, .float__main, .float__pulse {
		animation: none;
		transition: none;
	}
}
