/* LottoLuma global floating return-to-top, release 2026-11-19-v1. */
#ll-floating-to-top {
  box-sizing: border-box !important;
  position: fixed !important;
  inset: auto max(16px, env(safe-area-inset-right, 0px)) var(--ll-top-bottom, calc(18px + env(safe-area-inset-bottom, 0px))) auto !important;
  z-index: 70 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 76px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #bed6e4 !important;
  border-radius: 999px !important;
  background: #fcfeff !important;
  color: #174d6b !important;
  box-shadow: 0 7px 22px rgba(12, 49, 71, .19) !important;
  font: 750 13px/1.1 system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  pointer-events: none !important;
  transition: opacity .18s ease, transform .18s ease, background .18s ease !important;
}
#ll-floating-to-top.ll-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}
#ll-floating-to-top:hover { background: #e9f7f9 !important; border-color: #73b6c5 !important; }
#ll-floating-to-top:focus-visible { outline: 3px solid #168a9a !important; outline-offset: 3px !important; }
#ll-floating-to-top .ll-top-arrow { font-size: 19px !important; font-weight: 800 !important; line-height: 1 !important; }
html[data-theme="dark"] #ll-floating-to-top { background: #19364b !important; border-color: #50758a !important; color: #f1f9ff !important; }
html[data-theme="dark"] #ll-floating-to-top:hover { background: #28546d !important; }
@media (max-width: 760px) {
  #ll-floating-to-top { right: max(12px, env(safe-area-inset-right, 0px)) !important; min-width: 68px !important; height: 44px !important; min-height: 44px !important; padding: 0 12px !important; }
}
@media print { #ll-floating-to-top { display: none !important; } }
@media (prefers-reduced-motion: reduce) { #ll-floating-to-top { transition: none !important; } }
