.parcours-gpx {
    margin: 1rem 0;
}

.parcours-gpx__stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.75rem;
    margin-bottom: .75rem;
    font-size: .95rem;
}

.parcours-gpx__stat strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1.2;
}

.parcours-gpx__stat span {
    color: #666;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.parcours-gpx__map {
    width: 100%;
    border-radius: .5rem;
    isolation: isolate;
}

.parcours-gpx__profile {
    position: relative;
    margin-top: .75rem;
}

.parcours-gpx__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1rem;
    margin-top: .5rem;
    font-size: .8rem;
    color: #555;
}

.parcours-gpx__legend i {
    display: inline-block;
    width: 1.5rem;
    height: .35rem;
    margin-right: .35rem;
    border-radius: 2px;
    vertical-align: middle;
}

.parcours-gpx__message[hidden] {
    display: none;
}

/* Marqueurs Leaflet */
.pgx-marker span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .5);
    color: #fff;
    font: 700 13px/1 sans-serif;
}

.pgx-marker--start span {
    background: #2e7d32;
}

.pgx-marker--finish span {
    background: #212121;
}

.pgx-marker--both span {
    background: linear-gradient(135deg, #2e7d32 50%, #212121 50%);
}

.pgx-marker--station span {
    /*background: #1976d2;*/
    background: #6d77b1;
}

.pgx-popup strong {
    display: block;
    margin-bottom: .15rem;
}

.parcours-gpx__download {
    margin: .75rem 0 0;
}

.parcours-gpx__download-link svg {
    margin-right: .35rem;
    vertical-align: -.125em;
}

.parcours-gpx__consent:not(:empty) {
    margin: .5rem 0;
    font-size: .875rem;
}

.parcours-gpx__zoom {
    margin-top:1.5rem;
    margin-bottom:1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    justify-content: center;
}

.parcours-gpx__zoom .btn {
    min-width: 2rem;
}

.parcours-gpx__zoom-hint {
    margin-left: .5rem;
    color: #777;
    font-size: .75rem;
}

.parcours-gpx__key {
    display: inline-block;
    min-width: 1.4em;
    padding: 0 .3em;
    border: 1px solid #bbb;
    border-radius: 3px;
    background: #f5f5f5;
    color: #555;
    font: inherit;
    font-size: .95em;
    line-height: 1.3;
    text-align: center;
}

.parcours-gpx__zoom + .parcours-gpx__profile {
    margin-top: .35rem;
}

.parcours-gpx__zoom-sync {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin: 0 0 0 .5rem;
    font-size: .85rem;
    cursor: pointer;
}

/* Texte riche (horaires, inscription, infos) */
.parcours-gpx__text {
    margin-bottom: 1.5rem;
}

.parcours-gpx__text > :last-child {
    margin-bottom: 0;
}
