/* NGInfinite Tutorial: independent, accessible, low-distraction back-to-top. */
#ngit-back-to-top.ngit-back-to-top {
  box-sizing: border-box;
  position: fixed;
  z-index: 999999; /* Above page chrome and normal advertising areas. */
  inset-inline-end: max(18px, env(safe-area-inset-right, 0px));
  inset-block-end: max(20px, env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 62px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #bcd4da;
  border-radius: 999px;
  background: #ffffff;
  color: #14485a;
  box-shadow: 0 5px 22px rgba(13, 42, 65, .16);
  font: 700 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  isolation: isolate;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
  cursor: pointer;
}
#ngit-back-to-top.ngit-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
#ngit-back-to-top.ngit-back-to-top:hover {
  background: #eaf6f3;
  color: #00685c;
  border-color: #75a99e;
}
#ngit-back-to-top.ngit-back-to-top:focus-visible {
  outline: 3px solid #006f79;
  outline-offset: 3px;
}
#ngit-back-to-top.ngit-back-to-top svg { flex: 0 0 18px; }
@media (max-width: 600px) {
  #ngit-back-to-top.ngit-back-to-top {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    inset-inline-end: max(14px, env(safe-area-inset-right, 0px));
    inset-block-end: max(16px, env(safe-area-inset-bottom, 0px));
  }
  #ngit-back-to-top.ngit-back-to-top span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #ngit-back-to-top.ngit-back-to-top { transition: none; }
}
