.webok-backtop {
	--webok-backtop-progress: 0%;
	position: fixed;
	right: 12px;
	bottom: 12px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(120, 165, 196, 0.3);
	background: rgba(16, 33, 57, 0.46);
	color: rgba(255, 255, 255, 0.7);
	display: grid;
	place-items: center;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.14);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	z-index: 950;
}

.webok-backtop.is-visible {
	opacity: 0.68;
	pointer-events: auto;
	transform: translateY(0);
}

.webok-backtop:hover,
.webok-backtop:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
	outline: none;
}

.webok-backtop__fill {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--webok-backtop-progress);
	background: linear-gradient(180deg, rgba(91, 221, 232, 0.5) 0%, rgba(31, 184, 201, 0.44) 100%);
	transition: height 0.18s linear;
	z-index: 1;
}

.webok-backtop__icon {
	position: relative;
	z-index: 2;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	margin-top: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
	.webok-backtop {
		right: 7px;
		bottom: 8px;
		width: 36px;
		height: 36px;
	}

	.webok-backtop__icon {
		font-size: 12px;
	}
}
