/* Blueprint V8 — surgical usability improvements. Does not restyle the ecosystem. */
.mm-back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 800;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(192,215,236,.48);
  border-radius: 50%;
  background: rgba(15,31,46,.92);
  color: #f5f7fa;
  box-shadow: 0 4px 18px rgba(0,0,0,.27);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, background .2s ease;
}
.mm-back-to-top[hidden] { display: none !important; }
.mm-back-to-top.mm-back-to-top-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.mm-back-to-top:hover { background: #263c55; }
.mm-back-to-top:focus-visible { outline: 3px solid #a8c9ff; outline-offset: 3px; }
.mm-back-to-top svg { display: block; }
@media(max-width:650px) {
 .mm-back-to-top {
   width: 40px; height: 40px;
   right: max(18px, env(safe-area-inset-right, 0px));
   bottom: max(22px, env(safe-area-inset-bottom, 0px));
 }
 .mm-back-to-top svg { width: 18px; height: 18px; }
}
@media(prefers-reduced-motion:reduce) {
 .mm-back-to-top { transition: none; }
}
