/* Separate viewport control. No changes to the upper back link or the up control. */
.sn-floating-back {
  position: fixed;
  left: var(--sn-floating-left, 20px);
  bottom: calc(var(--sn-floating-bottom, 20px) + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: var(--sn-floating-align, center);
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--sn-floating-ink, #3b0710) !important;
  font: var(--sn-floating-font, 300 18px/1 sans-serif);
  text-decoration: none !important;
  opacity: .78;
  transition: opacity 200ms ease;
}
.sn-floating-back[hidden] { display: none !important; }
.sn-floating-back:hover, .sn-floating-back:focus-visible { opacity: 1; }
.sn-floating-back:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sn-floating-back { transition: none; } }

/* A fine counter-colour glyph edge keeps the symbol legible over photographs. */
.sn-floating-back--image > [aria-hidden="true"] { -webkit-text-stroke: .4px var(--sn-floating-edge, #fff); paint-order: stroke fill; }
