/* --- Pull to Refresh --- */
#pull-to-refresh {
    position: fixed;
    top: -60px; /* Hidden above the screen */
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0;
}

#ptr-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    transition: transform 0.3s;
}

.ptr-refreshing #ptr-icon {
    animation: ptr-spin 1s linear infinite;
}

@keyframes ptr-spin { 100% { transform: rotate(360deg); } }
