/* Uses the sticky's existing root class and measured height, without audio observers. */
.rb-back-to-top {
	position: fixed;
	right: 24px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 1001;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: rgba(31, 34, 31, .78);
	color: #999d93;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: color 200ms ease, opacity 180ms ease, visibility 180ms, bottom 200ms ease;
}
.rb-back-to-top[hidden] { display: none; }
.rb-back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.rb-back-to-top svg { display: block; fill: none; stroke: currentColor; stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
html.rb-sticky-open .rb-back-to-top { bottom: calc(var(--rb-sticky-height, 68px) + 20px); }
.rb-back-to-top:focus-visible { outline: 2px solid var(--rb-ivory); outline-offset: 4px; color: #c46b46; }
@media (hover: hover) and (pointer: fine) {
	.rb-back-to-top:hover { color: #c46b46; }
}
@media (max-width: 650px) {
	.rb-back-to-top { right: 16px; width: 44px; height: 44px; }
}
@media (hover: none) and (pointer: coarse) {
 .rb-back-to-top:active { color: #c46b46; }
}

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