button.festart-back-to-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 990;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 2px solid #202331;
  border-radius: 50%;
  background: #64d8cf;
  color: #202331;
  box-shadow: 3px 3px 0 #202331;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
button.festart-back-to-top[hidden] { display: none !important; }
button.festart-back-to-top:hover { background: #b8f0e9; transform: translateY(-3px); }
button.festart-back-to-top:focus-visible { outline: 3px solid #202331; outline-offset: 5px; }
button.festart-back-to-top svg { display: block; width: 24px; height: 24px; }
@media (max-width: 767px) {
  button.festart-back-to-top {
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button.festart-back-to-top { transition: none; }
}
