/*!
 * ghost-progress-plugin — styles. Self-contained: the fill color follows the
 * site's --ghost-accent-color automatically. Override any of the
 * --greedylabs-ghost-progress-* variables to customize. MIT License.
 * https://github.com/GreedyLabs/ghost-progress-plugin
 */
.greedylabs-ghost-progress {
    position: fixed;
    left: 0;
    width: 100%;
    height: var(--greedylabs-ghost-progress-height, 4px);
    background: var(--greedylabs-ghost-progress-track, transparent);
    z-index: var(--greedylabs-ghost-progress-z, 100);
    pointer-events: none;
}

.greedylabs-ghost-progress--top { top: 0; }
.greedylabs-ghost-progress--bottom { bottom: 0; }

.greedylabs-ghost-progress__fill {
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    /* Priority: explicit override → Ghost's theme accent (auto) → blue fallback */
    background: var(--greedylabs-ghost-progress-color, var(--ghost-accent-color, #1a73e8));
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    .greedylabs-ghost-progress__fill { transition: transform 0.1s linear; }
}
