/* Back-to-top button (injected by /assets/js/main.js) */
.scroll-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 42; /* above sticky header (40), below mobile menu scrim (45) and sidebar (50) */
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; margin: 0;
  border: 2px solid #f0b43c; border-radius: 50%;
  background: #2a0c0f; color: #fff;
  box-shadow: 0 0 0 2px #2a0c0f, 0 6px 18px rgba(0, 0, 0, .45);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease, color .2s ease;
}
.scroll-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .2s ease, color .2s ease;
}
.scroll-top svg { display: block; width: 24px; height: 24px; pointer-events: none; }
.scroll-top:hover,
.scroll-top:focus-visible { background: #f0b43c; color: #2a0c0f; }
.scroll-top:focus { outline: none; }
.scroll-top:focus-visible { outline: 3px solid #ffe49a; outline-offset: 3px; }
@media (max-width: 767px) {
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top, .scroll-top.is-visible { transition: none; transform: none; }
}
