/* Swipe-to-hide on timeline cards; see swipe_to_hide.js. */
.timeline-card {
    /* Vertical scrolling and zoom stay with the browser; horizontal drags come to the script. */
    touch-action: pan-y pinch-zoom;
    transition: box-shadow .15s ease, transform .2s ease, opacity .2s ease;
}

.timeline-card.swiping {
    /* Follow the finger without lag. */
    transition: none;
}

.hide-toast-container {
    z-index: 1040;
}

@media (max-width: 991.98px) {
    /* Sit above the bottom tab bar. */
    .hide-toast-container {
        bottom: calc(4rem + env(safe-area-inset-bottom)) !important;
    }
}
