/* 24betting.app — small add-on stylesheet (loaded after styles.css) */

/* ---------- Back-to-top button (injected by /assets/js/site.js) ----------
   Base: header surface #121214. Accent: action yellow --c-signal #f9d84a.
   z-index 30 sits above the sticky header (20) and the skip link (10). */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 2px solid #f9d84a;
  border-radius: 50%;
  background: #121214;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(224, 176, 60, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s,
              background-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.scroll-top svg {
  display: block;
  width: 22px;
  height: 22px;
  max-width: none;
  pointer-events: none;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s,
              background-color 0.15s ease, color 0.15s ease;
}
.scroll-top:hover,
.scroll-top:focus-visible {
  background: #f9d84a;
  color: #121214;
}
.scroll-top:focus-visible {
  outline: 3px solid #f9d84a;
  outline-offset: 3px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top,
  .scroll-top.is-visible {
    transition: none;
    transform: none;
  }
}

@media print {
  .scroll-top { display: none; }
}
