@media (max-width: 767.98px) {
    body {
        --pull-refresh-distance: 0px;
    }

    .mobile-pull-refresh-indicator {
        position: fixed;
        z-index: 10050;
        top: max(12px, env(safe-area-inset-top));
        left: 50%;
        display: flex;
        align-items: center;
        gap: 0.48rem;
        min-height: 42px;
        padding: 0.48rem 0.75rem;
        border: 1px solid rgba(19, 104, 210, 0.15);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 24px rgba(28, 55, 90, 0.15);
        color: #24527f;
        font-family: inherit;
        font-size: 0.76rem;
        font-weight: 750;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(-50%, -76px, 0);
        transition: opacity 0.16s ease, transform 0.16s ease, color 0.16s ease;
    }

    .mobile-pull-refresh-indicator.is-visible {
        opacity: 1;
        transform: translate3d(-50%, clamp(0px, calc(var(--pull-refresh-distance) - 66px), 280px), 0);
    }

    .mobile-pull-refresh-icon {
        display: grid;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        place-items: center;
        border-radius: 50%;
        background: #eaf4ff;
        color: #1478ed;
    }

    .mobile-pull-refresh-indicator.is-ready {
        color: #08784c;
    }

    .mobile-pull-refresh-indicator.is-ready .mobile-pull-refresh-icon {
        background: #e6f8ef;
        color: #0a995e;
    }

    .mobile-pull-refresh-indicator.is-loading i {
        animation: mobilePullRefreshSpin 0.7s linear infinite;
    }

    body.mobile-pull-refresh-dragging .wrapper,
    body.mobile-pull-refresh-loading .wrapper,
    body.auth-page.mobile-pull-refresh-dragging > .container,
    body.auth-page.mobile-pull-refresh-loading > .container,
    body.public-body.mobile-pull-refresh-dragging > .public-masthead,
    body.public-body.mobile-pull-refresh-dragging > .public-topbar,
    body.public-body.mobile-pull-refresh-dragging > .public-main,
    body.public-body.mobile-pull-refresh-dragging > .public-footer,
    body.public-body.mobile-pull-refresh-loading > .public-masthead,
    body.public-body.mobile-pull-refresh-loading > .public-topbar,
    body.public-body.mobile-pull-refresh-loading > .public-main,
    body.public-body.mobile-pull-refresh-loading > .public-footer {
        transform: translate3d(0, var(--pull-refresh-distance), 0);
        will-change: transform;
    }

    body.mobile-pull-refresh-releasing .wrapper,
    body.mobile-pull-refresh-loading .wrapper,
    body.auth-page.mobile-pull-refresh-releasing > .container,
    body.auth-page.mobile-pull-refresh-loading > .container,
    body.public-body.mobile-pull-refresh-releasing > .public-masthead,
    body.public-body.mobile-pull-refresh-releasing > .public-topbar,
    body.public-body.mobile-pull-refresh-releasing > .public-main,
    body.public-body.mobile-pull-refresh-releasing > .public-footer,
    body.public-body.mobile-pull-refresh-loading > .public-masthead,
    body.public-body.mobile-pull-refresh-loading > .public-topbar,
    body.public-body.mobile-pull-refresh-loading > .public-main,
    body.public-body.mobile-pull-refresh-loading > .public-footer {
        transition: transform 0.24s ease;
    }

    @keyframes mobilePullRefreshSpin {
        to { transform: rotate(360deg); }
    }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    .mobile-pull-refresh-indicator,
    body.mobile-pull-refresh-releasing .wrapper,
    body.auth-page.mobile-pull-refresh-releasing > .container,
    body.public-body.mobile-pull-refresh-releasing > .public-masthead,
    body.public-body.mobile-pull-refresh-releasing > .public-topbar,
    body.public-body.mobile-pull-refresh-releasing > .public-main,
    body.public-body.mobile-pull-refresh-releasing > .public-footer {
        transition-duration: 0.01ms !important;
    }
}
