#ms-scroll-top {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
padding: 0;
  width: 52px;
  height: 52px;

  border-radius: 50%;


  background: #fff;
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;

  z-index: 999;
}

.ms-scroll-top__icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: none;
}




#ms-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

#ms-scroll-top:hover {
  transform: translateX(-50%) scale(1.05);
}


@media (max-width: 768px) {
  #ms-scroll-top {
    width: 44px;
    height: 44px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  #ms-scroll-top svg {
    width: 22px;
    height: 22px;
  }
}

