/* Pulsante TOP fisso – marcobarbato.it V8 */
.mb-top-button {
  position: fixed; right: 25px; bottom: 25px;
  bottom: calc(25px + env(safe-area-inset-bottom, 0px));
  z-index: 900; width: 60px; height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 0; border: 0; border-radius: 50%;
  background: #101d2d; color: #fff; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.23);
  font: 700 10px/1.1 Montserrat, Arial, sans-serif; letter-spacing: .02em;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.mb-top-button.mb-top-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mb-top-button:hover { background: #1b3653; transform: translateY(-3px); }
.mb-top-button:focus-visible { outline: 3px solid #55b9ff; outline-offset: 4px; }
.mb-top-button svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .mb-top-button { right: 17px; bottom: 17px; bottom: calc(17px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .mb-top-button { transition: none; } }
