.je-scroll-to-top {
	position: fixed;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 999px;
	background-color: var(--je-stt-circle-color, #8b0000);
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 9999;
	--je-stt-base-transform: translateX(0);
	transform: var(--je-stt-base-transform) translateY(12px) scale(0.92);
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, filter 0.2s ease;
}

.je-scroll-to-top:hover,
.je-scroll-to-top:focus {
	filter: brightness(1.1);
}

.je-scroll-to-top:focus-visible {
	outline: 2px solid var(--je-stt-arrow-color, #ffffff);
	outline-offset: 2px;
}

.je-scroll-to-top__arrow {
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
	color: var(--je-stt-arrow-color, #ffffff);
	transform: translateY(-1px);
}

.je-scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: var(--je-stt-base-transform) translateY(0) scale(1);
	pointer-events: auto;
}

.je-scroll-to-top--bottom-right {
	right: calc(24px + var(--je-stt-horizontal-offset, 0px));
	bottom: calc(24px + var(--je-stt-vertical-offset, 0px));
	left: auto;
}

.je-scroll-to-top--bottom-left {
	left: calc(24px + var(--je-stt-horizontal-offset, 0px));
	bottom: calc(24px + var(--je-stt-vertical-offset, 0px));
	right: auto;
}

.je-scroll-to-top--bottom-center {
	left: calc(50% + var(--je-stt-horizontal-offset, 0px));
	bottom: calc(24px + var(--je-stt-vertical-offset, 0px));
	right: auto;
	--je-stt-base-transform: translateX(-50%);
}
