/* Bouton indépendant. La surface tactile reste de 44 px, le tracé est plus petit. */
.back-to-top {
  position: fixed;
  z-index: 90;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 9px;
  border: 1px solid rgb(159 143 113 / 45%); border-radius: 2px;
  background: rgb(15 30 46 / 62%); color: #F0E8DA; cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 25px; height: 29px; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:focus-visible { outline: 2px solid #9F8F71; outline-offset: 4px; }

.back-to-top-avoids-links { transform: translateY(-60px); }
