html[data-efp-loading]::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    z-index: 2147483647;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(90deg, #2b64cc, #5acbff, #2b64cc);
    background-size: 200% 100%;
    animation: efp-loading-bar 1.2s linear infinite;
}

@keyframes efp-loading-bar {
    to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    html[data-efp-loading]::before { animation: none; }
}
