main.main {
    touch-action: pan-y pinch-zoom;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
}
main.main :is(input, textarea, select, [contenteditable], [data-no-swipe]) { touch-action: auto; }
.event-card-row { transition: transform .18s ease; }
.event-card-row.event-swiping {
    transform: translateX(var(--swipe-offset, 0px));
    opacity: var(--swipe-opacity, 1);
    transition: none;
    user-select: none;
    -webkit-user-select: none;
}
[data-swipe-busy="true"] { opacity: .65; }
@media (prefers-reduced-motion: reduce) {
    .event-card-row { transition: none; }
}

@media (max-width: 1024px) {
    html { overscroll-behavior-y: auto; }
    .pull-refresh-content.pull-refresh-shifted {
        translate: 0 var(--pull-page-offset, 0px);
        transition: none;
        will-change: translate;
    }
    .pull-refresh-content.pull-refresh-returning {
        translate: 0 0;
        transition: translate .32s cubic-bezier(.22, 1, .36, 1);
    }
    .pull-refresh-indicator {
        position: fixed;
        z-index: 180;
        top: calc(env(safe-area-inset-top, 0px) + 10px);
        left: 50%;
        display: grid;
        width: 28px;
        height: 28px;
        place-items: center;
        color: var(--unread, #1877f2);
        opacity: 0;
        transform: translate(-50%, -6px);
        transition: opacity .14s ease-out, transform .14s ease-out;
        pointer-events: none;
    }
    .pull-refresh-indicator.is-pulling {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    .pull-refresh-spinner {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(128, 128, 128, .22);
        border-top-color: currentColor;
        border-radius: 50%;
        transform: rotate(var(--pull-progress, 0deg));
    }
    .pull-refresh-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .pull-refresh-indicator.is-refreshing .pull-refresh-spinner {
        animation: pull-refresh-spin .7s linear infinite;
    }
}
@keyframes pull-refresh-spin {
    from { transform: rotate(var(--pull-progress, 0deg)); }
    to { transform: rotate(calc(var(--pull-progress, 0deg) + 360deg)); }
}
@media (prefers-reduced-motion: reduce) {
    .pull-refresh-content.pull-refresh-returning { transition: none; }
    .pull-refresh-indicator { transition: none; }
    .pull-refresh-indicator.is-refreshing .pull-refresh-spinner { animation-duration: 1.5s; }
}
