.pull-refresh-indicator {
    --pull-distance: 0px;
    --pull-progress: 0;
    position: absolute;
    top: 74px;
    left: 50%;
    z-index: 25;
    min-height: 46px;
    padding: 7px 12px 7px 8px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-muted);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    gap: 9px;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, calc(-34px + var(--pull-distance)), 0) scale(0.96);
    transition: opacity 0.16s ease, transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
    white-space: nowrap;
}

.pull-refresh-disc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
}

.pull-refresh-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(var(--primary) calc(var(--pull-progress) * 360deg), #dbe7f8 0deg);
    mask: radial-gradient(circle, transparent 54%, #000 56%);
    -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%);
}

.pull-refresh-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transform: rotate(calc(var(--pull-progress) * 180deg));
    transition: transform 0.12s ease;
}

.pull-refresh-icon svg {
    width: 19px;
    height: 19px;
}

.pull-refresh-indicator span:last-child {
    font-size: 12px;
    font-weight: 700;
}

.app-container.is-pulling .pull-refresh-indicator,
.app-container.is-refresh-ready .pull-refresh-indicator,
.app-container.is-refreshing .pull-refresh-indicator {
    opacity: 1;
    transform: translate3d(-50%, calc(-22px + var(--pull-distance)), 0) scale(1);
}

.app-container.is-refresh-ready .pull-refresh-indicator,
.app-container.is-refreshing .pull-refresh-indicator {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.3);
}

.app-container.is-refreshing .pull-refresh-indicator {
    --pull-distance: 76px;
    --pull-progress: 1;
}

.app-container.is-refreshing .pull-refresh-icon {
    animation: spin 0.75s linear infinite;
}
