.rabe-back-to-top {
	--rabe-btt-size: 48px;
	--rabe-btt-offset: 24px;
	position: fixed;
	right: max(var(--rabe-btt-offset), env(safe-area-inset-right, 0px));
	bottom: max(var(--rabe-btt-offset), env(safe-area-inset-bottom, 0px));
	z-index: 40;
	width: var(--rabe-btt-size);
	height: var(--rabe-btt-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #0e152f;
	color: #fff;
	box-shadow: 0 8px 22px rgba(14, 21, 47, 0.22);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 10px, 0);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background-color 0.2s ease, bottom 0.2s ease;
}

.rabe-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
}

.rabe-back-to-top:hover,
.rabe-back-to-top:focus-visible {
	background: #00a88e;
	color: #fff;
}

.rabe-back-to-top:focus-visible {
	outline: 3px solid #ffce00;
	outline-offset: 3px;
}

.rabe-back-to-top__icon {
	display: flex;
	line-height: 0;
}

@media (max-width: 600px) {
	.rabe-back-to-top {
		--rabe-btt-size: 44px;
		--rabe-btt-offset: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rabe-back-to-top {
		transition: none;
	}
}
