.vp-back-to-top-button {
  position: fixed !important;
  inset-inline-end: 1rem;
  bottom: 4rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-width: 0;
  border-radius: 50%;
  background: var(--back-to-top-bg-color);
  color: var(--back-to-top-color);
  box-shadow: 2px 2px 10px 4px var(--back-to-top-shadow);
  cursor: pointer;
}
@media (max-width: 959px) {
  .vp-back-to-top-button {
    transform: scale(0.8);
    transform-origin: 100% 100%;
  }
}
@media print {
  .vp-back-to-top-button {
    display: none;
  }
}
.vp-back-to-top-button:hover {
  color: var(--back-to-top-color-hover);
}
.vp-back-to-top-button .back-to-top-icon {
  overflow: hidden;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  background: var(--back-to-top-icon-color);
  -webkit-mask-image: var(--back-to-top-icon);
  mask-image: var(--back-to-top-icon);
  -webkit-mask-position: 50%;
  mask-position: 50%;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.vp-scroll-progress {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 52px;
  height: 52px;
}
.vp-scroll-progress svg {
  width: 100%;
  height: 100%;
}
.vp-scroll-progress circle {
  opacity: 0.9;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.back-to-top-enter-active,
.back-to-top-leave-active {
  transition: opacity 0.3s;
}

.back-to-top-enter-from,
.back-to-top-leave-to {
  opacity: 0;
}
