/*
  Wedstrijdsites (uniform format) – voor alle wedstrijden dezelfde opmaak, afgeleid van de Sylvesterloop-poster:
  een diagonaal kleurverloop, zware cursieve condensed letters, schuine vlakken en een wit datumlint met snelheidsstrepen.
  De kleuren komen per wedstrijd uit het thema (EventThemes, als CSS-variabelen in de kop van de pagina);
  hieronder staan de standaardkleuren (avondblauw).
*/
:root {
    --ice: #1facda;      /* linksonder in het verloop */
    --lane: #2d79b3;     /* midden */
    --dusk: #3864ab;     /* rechtsboven */
    --night: #082c3c;    /* silhouet en tekst */
    --glow: #3bcaea;     /* tweede loper */
    --frost: #eef7fb;    /* zachte vlakken */
    --line: #d5e8f2;
    --ink-soft: #3c5866;

    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Barlow", system-ui, sans-serif;

    --skew: -10deg;
    --wrap: 1120px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--night);
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lane); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--night); }

:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.display {
    font-family: var(--display);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    line-height: .88;
    letter-spacing: .005em;
    margin: 0;
}

/* ---------- Kop (alleen op de homepage groot) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, var(--ice) 0%, var(--lane) 52%, var(--dusk) 100%);
    padding-block: clamp(2rem, 5vw, 3.5rem) 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: end;
    min-height: clamp(520px, 62vh, 680px);
}

/* container: de titel schaalt mee met de breedte van deze kolom, niet met het hele scherm. */
.hero-text { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); container-type: inline-size; }

.edition {
    display: inline-block;
    background: var(--night);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: .02em;
    padding: .2rem .75rem;
    transform: skewX(var(--skew));
    margin-bottom: 1rem;
}
.edition span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }

.hero-name {
    /* Lange namen (Sylvesterloop, Strabrechtse) krimpen mee zodat het langste woord altijd op één regel past.
       Barlow Condensed ExtraBold Italic is gemiddeld ~0,46em per hoofdletter; 0,5 houdt ruimte voor de cursieve overhang. */
    font-size: min(clamp(3.4rem, 10.5vw, 7.8rem), calc(100cqi / (var(--len, 8) * .5)));
    overflow-wrap: normal;
    hyphens: none;
}
.hero-name .place { display: block; font-size: 1.32em; }

/* Het datumlint: wit, schuin, met twee snelheidsstrepen eronder die tot de rand van het scherm lopen. */
.ribbon { position: relative; display: inline-block; margin-top: 1.5rem; }
.ribbon-band {
    position: relative;
    display: inline-block;
    background: #fff;
    color: var(--night);
    font-family: var(--display);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 3.6vw, 2.4rem);
    line-height: 1;
    padding: .55rem 1.5rem .5rem 1rem;
    transform: skewX(var(--skew));
}
.ribbon-band > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
/* Het lint loopt door tot de linkerrand van het scherm. */
.ribbon-band::before { content: ""; position: absolute; top: 0; bottom: 0; right: 99%; width: 100vw; background: #fff; }
/* Twee snelheidsstrepen eronder, zoals op de poster. */
.ribbon::after {
    content: "";
    position: absolute;
    left: -100vw;
    right: 1.6rem;
    bottom: -1.05rem;
    height: .72rem;
    border-top: 3px solid rgba(255, 255, 255, .9);
    border-bottom: 3px solid rgba(255, 255, 255, .9);
}

.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.chips li {
    background: var(--night);
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    line-height: 1;
    text-transform: uppercase;
    padding: .4rem 1rem .35rem;
    transform: skewX(var(--skew));
}
.chips li span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }

.hero-meta { margin: 1.4rem 0 0; font-size: 1.05rem; line-height: 1.5; max-width: 46ch; }
.hero-meta strong { font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-top: 1.8rem; }

/* Knoppen: parallellogram, zoals de vlakken op de poster */
.btn {
    display: inline-block;
    font-family: var(--display);
    font-weight: 800;
    font-style: italic;
    font-size: 1.35rem;
    letter-spacing: .01em;
    text-decoration: none;
    padding: .55rem 1.6rem .5rem;
    transform: skewX(var(--skew));
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--night); color: #fff; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--lane); color: #fff; }
.btn-blue { background: var(--lane); color: #fff; }
.btn-blue:hover { background: var(--night); color: #fff; }
.btn:active { transform: skewX(var(--skew)) translateY(1px); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.hero-link { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); }
.hero-link:hover { color: #fff; text-decoration-color: #fff; }

.runners {
    align-self: end;
    justify-self: end;
    width: min(100%, 470px);
    margin-right: calc(-1 * var(--gutter) * .5);
    pointer-events: none;
}

/* Kleine kop voor de subpagina's */
.hero-small { padding-block: 2.2rem 2.6rem; }
.hero-small .display { font-size: clamp(2.6rem, 7vw, 4.4rem); }
.back { display: inline-block; margin-bottom: .8rem; color: #fff; font-weight: 600; text-decoration: none; }
.back:hover { color: #fff; text-decoration: underline; }

/* Eén moment beweging: lint en strepen schuiven bij het laden in. */
@media (prefers-reduced-motion: no-preference) {
    .hero .ribbon { animation: ribbon-in .7s cubic-bezier(.2, .8, .2, 1) both .1s; }
    @keyframes ribbon-in { from { transform: translateX(-28px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Inhoud ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { padding-top: 0; }
.section-title { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 1.4rem; color: var(--night); }

.intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.intro-text p { margin: 0 0 1rem; max-width: 62ch; }
.intro-text p:first-of-type { font-size: 1.25rem; line-height: 1.5; }

/* Praktische info als poster-regels: label in condensed, waarde ernaast */
.facts { margin: 0; border-top: 3px solid var(--night); }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 1.2rem; line-height: 1.35; }
.facts dd { margin: 0; }

/* Brede fotostrook met schuine boven- en onderkant */
.photo-band {
    height: clamp(260px, 42vw, 520px);
    background-size: cover;
    background-position: center 40%;
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}

/* Routes */
.routes { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.route { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.route-name { font-size: clamp(3.4rem, 8vw, 5.4rem); color: var(--lane); }
.route-facts { list-style: none; padding: 0; margin: 1rem 0 1.2rem; }
.route-facts li { padding: .3rem 0; }
.route-facts strong { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.15rem; margin-right: .35rem; }
.route-image { display: block; border: 1px solid var(--line); }
.route-image:hover { border-color: var(--lane); }
.route-figure { background: var(--frost); padding: clamp(1rem, 3vw, 1.6rem); }
.route-figure .route-image { margin-top: 1rem; }

.course-map { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto; }
.course-route { fill: none; stroke: var(--lane); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.course-km { fill: #fff; stroke: var(--lane); stroke-width: 1.2; }
.course-km-label { font-family: var(--body); font-size: 8.5px; font-weight: 700; fill: var(--night); }
.course-start { fill: none; stroke: var(--glow); stroke-width: 3.5; }
.course-finish { fill: var(--night); stroke: #fff; stroke-width: 2; }
.course-profile { width: 100%; height: auto; display: block; margin-top: 1rem; }
.course-grid { stroke: var(--line); stroke-width: 1; }
.course-tick { font-family: var(--body); font-size: 9px; fill: var(--ink-soft); }
.course-area { fill: color-mix(in srgb, var(--glow) 35%, transparent); }
.course-line { fill: none; stroke: var(--lane); stroke-width: 2; stroke-linejoin: round; }
.course-facts { display: none; } /* de feiten staan al naast de kaart */

/* Bereikbaarheid */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.access p { margin: 0 0 1rem; max-width: 60ch; }
.access a img { border: 1px solid var(--line); }

/* Uitslagen en foto's per jaar */
.years { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--night); }
.years li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.years .year { font-size: 2.6rem; color: var(--lane); }
.years .links { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.empty { font-size: 1.2rem; max-width: 50ch; }

.prose { max-width: 66ch; }
.prose p { margin: 0 0 1rem; }


/* ---------- Sponsors ---------- */
.sponsors { background: var(--frost); }
.sponsors-lead { margin: -.4rem 0 2.2rem; color: var(--ink-soft); }

.sponsor-tile {
    position: relative;
    display: grid; place-items: center;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    padding: clamp(.9rem, 2.5vw, 1.4rem);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--night);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
a.sponsor-tile:hover { border-color: var(--lane); box-shadow: inset 0 -4px 0 var(--lane); color: var(--night); }
/* Logo binnen de tegel, wat de verhouding van het logo ook is (vierkant, breed). */
.sponsor-tile img { position: absolute; inset: var(--pad, 1.1rem); width: calc(100% - 2 * var(--pad, 1.1rem)); height: calc(100% - 2 * var(--pad, 1.1rem)); object-fit: contain; }
.sponsor-tile.is-name span { font-size: clamp(1.2rem, 2.2vw, 1.6rem); text-align: center; line-height: .95; color: var(--lane); padding-inline: .6rem; hyphens: auto; }

.sponsor-main-list { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.sponsor-main { position: relative; }
.sponsor-main .sponsor-tile { --pad: clamp(1.6rem, 4vw, 2.6rem); aspect-ratio: auto; height: clamp(9rem, 22vw, 13rem); border-width: 0 0 0 6px; border-color: var(--lane); }
.sponsor-main .sponsor-tile.is-name span { font-size: clamp(2rem, 5vw, 3.2rem); }
.sponsor-tag {
    position: absolute; z-index: 1; top: -.8rem; left: 1.4rem;
    background: var(--night); color: #fff;
    font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.05rem;
    padding: .2rem .9rem .15rem; transform: skewX(var(--skew));
}
.sponsor-tag > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }

.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(9rem, 24vw, 12rem), 1fr)); gap: clamp(.6rem, 2vw, 1rem); }

.sponsor-friends { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 3px solid var(--night); }
.sponsor-friends h3 { font-size: 1.7rem; margin-bottom: .8rem; }
.sponsor-friends ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; font-weight: 600; }
.sponsor-friends a { color: var(--night); }
.sponsor-friends a:hover { color: var(--lane); }

.footer-sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 2rem; font-size: .9rem; }
.footer-sponsors .sponsor-tile { --pad: .45rem; width: 8.5rem; height: 3.6rem; aspect-ratio: auto; border: 0; }
.footer-sponsors .sponsor-tile.is-name span { font-size: 1.15rem; }

/* ---------- Voet ---------- */
.site-footer { background: var(--night); color: color-mix(in srgb, #fff 80%, var(--glow)); padding-block: 3rem 2rem; margin-top: clamp(3rem, 7vw, 5rem); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.footer-name { font-size: 2.6rem; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links svg { width: 1.15rem; height: 1.15rem; flex: none; }
.footer-small { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Zonder beeld in de kop: tekst over de hele breedte, met een rustig patroon van schuine strepen rechts. */
.hero-no-image .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: clamp(460px, 56vh, 600px); }
.hero-no-image::after {
    content: ""; position: absolute; inset: 0 0 0 auto; width: 55%; pointer-events: none;
    background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .07) 46px 58px);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%);
}

/* Afstand met toevoeging (bijv. "wandelen") */
.chips li small { display: block; font-family: var(--body); font-style: normal; font-weight: 600; font-size: .78rem; text-transform: none; letter-spacing: 0; opacity: .85; margin-top: .15rem; }
.route-note { margin: .4rem 0 0; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.4rem; color: var(--ink-soft); text-transform: uppercase; }
.route-actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }

/* Concept: alleen de beheerder ziet de site */
.draft-bar { position: sticky; top: 0; z-index: 10; background: #ffd34d; color: #2b2200; padding: .55rem var(--gutter); font-weight: 600; font-size: .95rem; text-align: center; }
.draft-bar a { color: inherit; }

/* ---------- Kleine schermen ---------- */
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .hero-text { padding-bottom: 1.5rem; }
    .runners { width: min(78%, 360px); margin: -2rem calc(-1 * var(--gutter)) 0 auto; }
    .intro, .route, .access, .footer-grid { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
}
@media (max-width: 520px) {
    .facts > div { grid-template-columns: 1fr; gap: 0; }
    .years li { grid-template-columns: 1fr; gap: .4rem; }
    .btn { font-size: 1.2rem; }
}

/* Afstand zonder GPX of kaart: rustig vlak in plaats van een leeg kader. */
.route-pending { display: grid; place-items: center; min-height: 7rem; border: 2px dashed color-mix(in srgb, var(--lane) 30%, transparent); background: transparent; }
.route-pending p { margin: 0; color: color-mix(in srgb, var(--night) 60%, transparent); font-style: italic; }

/* ---------- Foto's: zoeken op startnummer ---------- */
button.btn { border: 0; cursor: pointer; color: inherit; }
button.btn-dark { color: #fff; }
.notice { margin: 0 0 1.5rem; padding: .8rem 1.1rem; background: var(--frost); border-left: 5px solid var(--lane); font-weight: 600; }

.photo-search { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem 1.25rem; margin: 0 0 2.2rem; }
.photo-search .field { display: grid; gap: .35rem; }
.photo-search label { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.05rem; color: var(--night); }
/* Het invulveld als startnummer: wit vel met vier speldengaatjes en een groot, zwaar cijfer. */
.field-bib input {
    width: 13rem;
    font-family: var(--display);
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1;
    text-align: center;
    color: var(--night);
    padding: .65rem 1.4rem .55rem;
    border: 2px solid var(--night);
    border-radius: 6px;
    background:
        radial-gradient(circle, var(--line) 0 3px, transparent 3.5px) left 9px top 9px / 12px 12px no-repeat,
        radial-gradient(circle, var(--line) 0 3px, transparent 3.5px) right 9px top 9px / 12px 12px no-repeat,
        radial-gradient(circle, var(--line) 0 3px, transparent 3.5px) left 9px bottom 9px / 12px 12px no-repeat,
        radial-gradient(circle, var(--line) 0 3px, transparent 3.5px) right 9px bottom 9px / 12px 12px no-repeat,
        #fff;
    font-variant-numeric: tabular-nums;
}
.field-bib input::placeholder { color: color-mix(in srgb, var(--night) 25%, transparent); font-size: 1.6rem; }
.field-bib input:focus { outline: 3px solid var(--glow); outline-offset: 2px; }
.field-year select {
    font: 600 1.15rem var(--body);
    color: var(--night);
    padding: .9rem 2.2rem .9rem .9rem;
    border: 2px solid var(--night);
    border-radius: 6px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23082c3c' stroke-width='2'/%3E%3C/svg%3E") right .8rem center no-repeat;
    appearance: none;
}
.photo-search .btn { font-size: 1.5rem; padding-block: .85rem .8rem; }

.photo-head { margin-bottom: 1.2rem; }
.photo-head p { margin: .3rem 0 0; }
.photo-count { font-size: clamp(2rem, 4.4vw, 2.8rem); color: var(--night); }

.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 45%), 1fr)); gap: .5rem; }
.photo-grid a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--frost); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.photo-grid a:hover img { transform: scale(1.03); }
.photo-grid a:focus-visible { outline: 3px solid var(--lane); outline-offset: 2px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; font-weight: 600; }
.pager a { color: var(--lane); }
.photo-privacy { margin-top: 2rem; color: var(--ink-soft); }
.albums-title { margin-top: 3.5rem; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: color-mix(in srgb, var(--night) 96%, #000); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lb-frame { display: grid; place-items: center; min-height: 0; padding: clamp(.5rem, 2vw, 1.5rem); }
.lb-frame img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .8rem var(--gutter) 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.lb-nav, .lb-close { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .12); }
.lb-close { margin-left: auto; }
.lb-pos { min-width: 4.5rem; text-align: center; font-variant-numeric: tabular-nums; opacity: .8; }
.lb-download { font-size: 1.15rem; padding: .45rem 1.2rem .4rem; }
.lb-remove { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; font-size: .92rem; }
.lb-confirm { display: inline-flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.lb-confirm[hidden], .lb-link[hidden] { display: none; }
.lb-link { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .8); text-decoration: underline; cursor: pointer; font: inherit; }
.lb-link:hover { color: #fff; }
.lb-strong { color: #fff; font-weight: 700; }
@media (max-width: 640px) {
    .photo-search { gap: .8rem; }
    .field-bib { flex: 1 1 100%; }
    .field-bib input { width: 100%; }
    .photo-search .btn { flex: 1 1 auto; text-align: center; }
    .lb-remove { order: 5; flex-basis: 100%; }
}

/* Fotografen uploaden met de kleuren van de wedstrijd */
.upload-page { max-width: 760px; }
.upload-page .pu-drop { position: relative; display: grid; place-items: center; gap: .2rem; text-align: center; padding: 2.6rem 1rem; border: 3px dashed var(--lane); background: var(--frost); cursor: pointer; }
.upload-page .pu-drop.is-over { background: #fff; border-color: var(--night); }
.upload-page .pu-drop strong { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; color: var(--night); }
.upload-page .pu-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-page .pu-more { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .7rem; color: var(--ink-soft); font-size: .95rem; }
.upload-page .pu-folder { position: relative; font-weight: 700; color: var(--lane); cursor: pointer; text-decoration: underline; }
.upload-page .pu-bar { display: block; width: 100%; height: 10px; margin-top: 1.2rem; accent-color: var(--lane); }
.upload-page .pu-bar[hidden] { display: none; }
.upload-page .pu-status { font-weight: 700; margin: .6rem 0 0; }
.upload-page .pu-status:empty { display: none; }
.upload-page .pu-done { color: var(--lane); font-weight: 600; }
.upload-page .pu-errors { color: #b42318; font-size: .92rem; }
