/* Prevent touchpad gestures from triggering browser back navigation */

/* Target only desktop web browsers */
@media (pointer: fine) and (hover: hover) {
    /* Disable horizontal overscroll that might trigger back gestures */
    html, body {
        overscroll-behavior-x: none;
        overflow-x: hidden;
    }

    /* Prevent touchpad gestures on the entire document */
    body {
        /* Allow vertical scrolling but prevent horizontal gestures */
        touch-action: pan-y;
        
        /* Prevent momentum scrolling that might trigger gestures */
        -webkit-overflow-scrolling: auto;
    }

    .flutter-content {
        /* Disable touchpad gestures on Flutter content */
        touch-action: manipulation;
    }
} 