.eet-back-to-top {
	position: fixed;
	right: calc(1rem + env(safe-area-inset-right, 0px));
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	z-index: 10;
	border-color: var(--eet-border);
	border-radius: 50%;
	background: var(--eet-surface);
	color: var(--eet-teal);
	box-shadow: 0 2px 12px #18263814;
}

.eet-back-to-top .eet-icon {
	transform: rotate(-90deg);
}

.eet-back-to-top:hover,
.eet-back-to-top:focus-visible {
	background: var(--eet-teal-soft);
}

.eet-search-is-open .eet-back-to-top {
	display: none;
}

body:has(dialog[open]) .eet-back-to-top {
	display: none;
}

@media (max-width: 760px) {
	.eet-bottom-nav + .eet-back-to-top {
		margin-bottom: 56px;
	}
}
