@media (max-width: 820px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
        overscroll-behavior-x: none;
    }

    .pull-refresh-indicator {
        --pull-distance: 0px;
        position: fixed;
        z-index: 10050;
        top: max(10px, env(safe-area-inset-top));
        left: 50%;
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        padding: 7px 14px 7px 9px;
        border: 1px solid rgba(26, 75, 65, .16);
        border-radius: 999px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 8px 24px rgba(22, 55, 48, .18);
        color: #285e50;
        font-size: 13px;
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, calc(-58px + var(--pull-distance)));
        transition: opacity .16s ease, transform .12s ease;
        will-change: transform, opacity;
    }

    .pull-refresh-indicator.is-visible {
        opacity: 1;
    }

    .pull-refresh-icon {
        display: grid;
        width: 25px;
        height: 25px;
        place-items: center;
        border-radius: 50%;
        background: #e7f2ee;
        font-size: 16px;
        font-weight: 900;
    }

    .pull-refresh-indicator.is-ready .pull-refresh-icon {
        background: #285e50;
        color: #fff;
    }

    .pull-refresh-indicator.is-refreshing .pull-refresh-icon {
        animation: pull-refresh-spin .75s linear infinite;
    }
}

@keyframes pull-refresh-spin {
    to { transform: rotate(360deg); }
}
