.sktmu-back-to-top {
  position: fixed;
  right: calc(var(--sktmu-chat-edge-right, 18px) + 7px);
  bottom: var(--sktmu-chat-edge, 18px);
  z-index: 2147481900;
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: linear-gradient(135deg, #206bc4, #4299e1);
  color: #fff;
  box-shadow: 0 14px 32px rgba(32, 107, 196, .3), 0 5px 12px rgba(15, 23, 42, .1);
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
}

.sktmu-back-to-top[hidden] {
  display: none !important;
}

.sktmu-back-to-top svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.sktmu-back-to-top:hover,
.sktmu-back-to-top:focus-visible {
  color: #fff;
  outline: 0;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(32, 107, 196, .38), 0 7px 15px rgba(15, 23, 42, .13);
}

.sktmu-ai-beta,
.nl-chat-widget {
  transition: bottom .22s ease;
}

html.sktmu-back-to-top-visible .sktmu-ai-beta,
html.sktmu-back-to-top-visible .nl-chat-widget {
  bottom: calc(var(--sktmu-chat-edge, 18px) + 56px);
}

html.sktmu-ai-tour-active .sktmu-back-to-top {
  display: none !important;
}

@media (max-width: 600px) {
  .sktmu-back-to-top {
    right: calc(var(--sktmu-chat-edge-right, 12px) + 6px);
    bottom: var(--sktmu-chat-edge, 12px);
  }

  html.sktmu-back-to-top-visible .sktmu-ai-beta,
  html.sktmu-back-to-top-visible .nl-chat-widget {
    bottom: calc(var(--sktmu-chat-edge, 12px) + 54px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sktmu-back-to-top,
  .sktmu-ai-beta,
  .nl-chat-widget {
    transition: none !important;
  }
}
