.bm-back-to-top {
  position: fixed;
  right: clamp(16px, 2.1vw, 40px);
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 100;
  padding: 7px 9px;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  background: #e4e4e4;
  color: #4b4b4b;
  box-shadow: 0 2px 1px #0004;
  font: 0.875rem/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.bm-back-to-top[hidden] {
  display: none;
}

.bm-back-to-top:hover {
  background: #d8d8d8;
}

.bm-back-to-top:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
