/* Shared: scroll progress under header + themed scrollbar (all pages) */
/* .header-wrapper stays position:fixed in landing/legal CSS; absolute children anchor to it */

.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    pointer-events: none;
    z-index: 1001;
}

.scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: #ff026f;
    box-shadow: 0 0 12px rgba(255, 2, 111, 0.45);
    will-change: width;
}

/* Scrollbar — Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #ff026f #1a1a1a;
}

/* Scrollbar — WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ff026f;
    border-radius: 999px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6005c;
}

::-webkit-scrollbar-corner {
    background: #1a1a1a;
}

/* Legal pages: darker track to match body */
html:has(body.legal-page) {
    scrollbar-color: #ff026f #0d0d0d;
}

html:has(body.legal-page)::-webkit-scrollbar-track {
    background: #0d0d0d;
}

html:has(body.legal-page)::-webkit-scrollbar-thumb {
    border-color: #0d0d0d;
}

html:has(body.legal-page)::-webkit-scrollbar-corner {
    background: #0d0d0d;
}
