/* ROY DIAMOND automatic upgrades: small back-to-top button only */
.rd-back-to-top {
  position: fixed !important;
  left: 18px !important;
  bottom: 18px !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  border-radius: 14px !important;
  background: rgba(10,10,10,0.96) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08) !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, background .22s ease, border-color .22s ease !important;
  -webkit-tap-highlight-color: transparent;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.rd-back-to-top svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none !important;
  pointer-events: none !important;
}
.rd-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.rd-back-to-top:hover,
.rd-back-to-top:focus-visible {
  background: #000000 !important;
  border-color: rgba(255,255,255,0.72) !important;
  outline: none !important;
}
@media (max-width: 700px) {
  .rd-back-to-top {
    left: 12px !important;
    bottom: 12px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 13px !important;
  }
  .rd-back-to-top svg {
    width: 21px !important;
    height: 21px !important;
  }
}

/* ROY DIAMOND top bar loop runtime fix: keep marquee moving smoothly */
.rd-export-marquee {
  animation-name: rdExportTopbarLoop !important;
  animation-duration: 38s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-play-state: running !important;
}
@media (max-width: 700px) {
  .rd-export-marquee {
    animation-duration: 30s !important;
  }
}
