.mobile-scroll-to-top {
    display: none;
}

@media screen and (max-width: 767.98px) {
    .mobile-scroll-to-top:not([hidden]) {
        position: fixed;
        left: calc(16px + env(safe-area-inset-left, 0px));
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        z-index: 1030;
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.65);
        border-radius: 50%;
        background: #9b1b22;
        color: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        touch-action: manipulation;
    }

    .mobile-scroll-to-top:focus-visible {
        outline: 3px solid #17376e;
        outline-offset: 3px;
    }

    .mobile-scroll-to-top:active {
        background: #74141a;
    }
}
