/* ==========================================================================
   FETRI 2026 · Recorridos al estilo del gráfico de TV «Circuito» (Components/Courses/CourseBoard.razor)
   Panel oscuro con textura; plano de la ortofoto en grafito con cada recorrido en su color y, al lado,
   cada disciplina con sus vueltas, su altimetría y sus datos. Con dos pestañas (CourseTabs): «Gráfico» (con las
   rutas que aún no tienen gráfico apuntadas debajo, una por fila) y «Wikiloc», la vista original de todas las rutas
   (CourseWikiloc). Solo FETRI (html.f26c).
   ========================================================================== */

html.f26c .f26-crs {
    --crs-swim: #4FC3F7;
    --crs-bike: #FDB913;
    --crs-run: #E8702A;
    --crs-ski: #B39DDB;
    --crs-r: 14px;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 16px;
    padding: 16px 16px 20px;
    border-radius: var(--f26-r-lg);
    background: var(--f26-ink);
    color: #fff;
    font-family: var(--f26-font);
    overflow: hidden;
    overflow: clip;
    box-shadow: var(--f26-shadow-2);
}
html.f26c .f26-crs::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
/* filete de color de las barras de TV */
html.f26c .f26-crs::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--f26-grad-accent);
    pointer-events: none;
}
html.f26c .f26-crs__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* colores por disciplina */
html.f26c .f26-crs .is-swim { --c: var(--crs-swim); }
html.f26c .f26-crs .is-bike { --c: var(--crs-bike); }
html.f26c .f26-crs .is-run { --c: var(--crs-run); }
html.f26c .f26-crs .is-ski { --c: var(--crs-ski); }

/* ---------- Pruebas y distancias ---------- */
html.f26c .f26-crs__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    min-width: 0;
}
html.f26c .f26-crs__groups {
    display: flex;
    gap: 4px;
    max-width: 100%;
    padding: 4px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .06);
    scrollbar-width: none;
}
html.f26c .f26-crs__groups::-webkit-scrollbar { display: none; }
html.f26c .f26-crs__group {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: transparent;
    color: rgba(255, 255, 255, .78);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-crs__group:hover { background: rgba(255, 255, 255, .1); color: #fff; }
html.f26c .f26-crs__group.is-on { background: #fff; color: var(--f26-ink); }
html.f26c .f26-crs__group:focus-visible { outline: none; box-shadow: var(--f26-focus); }

html.f26c .f26-crs__cat {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 9px;
    background: var(--f26-red);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
html.f26c .f26-crs__dist {
    display: flex;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
html.f26c .f26-crs__dist::-webkit-scrollbar { display: none; }
html.f26c .f26-crs__pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .02em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-crs__pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
html.f26c .f26-crs__pill small { margin-left: -4px; color: var(--f26-mute); font-size: 11px; font-weight: 800; }

/* ---------- Plano + tarjetas ---------- */
html.f26c .f26-crs__body {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(330px, 1fr);
    gap: 14px;
    align-items: start;
}

/* ---------- Plano ---------- */
html.f26c .f26-crs__map {
    position: sticky;
    top: calc(var(--f26-topbar-h) + 78px);
    overflow: hidden;
    border-radius: var(--crs-r);
    background: #2A2A31;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    animation: f26crs-fade .5s ease-out both;
}
html.f26c .f26-crs__tiles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: saturate(.3) brightness(.58) contrast(1.12);
}
html.f26c .f26-crs__vig {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 55% 50%, transparent 52%, rgba(20, 20, 26, .55) 100%);
    pointer-events: none;
}
html.f26c .f26-crs__route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    animation: f26crs-wipe .95s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: calc(.3s + var(--i, 0) * .4s);
    transition: opacity .2s ease;
}
html.f26c .f26-crs__route path {
    fill: none;
    stroke: var(--c);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
html.f26c .f26-crs__route .h { stroke-width: 15px; stroke-opacity: .14; }
html.f26c .f26-crs__route .w { stroke-width: 7px; stroke-opacity: .34; }
html.f26c .f26-crs__route .c { stroke-width: 3.4px; }
html.f26c .f26-crs__route.is-dim,
html.f26c .f26-crs__arrow.is-dim { opacity: .2; }

html.f26c .f26-crs__arrow {
    position: absolute;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 2px rgba(20, 20, 26, .78);
    transform: rotate(var(--a, 0deg));
    pointer-events: none;
    animation: f26crs-fade .4s ease-out both;
    animation-delay: calc(1s + var(--i, 0) * .4s);
    transition: opacity .2s ease;
}
html.f26c .f26-crs__arrow::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--f26-ink);
    border-right: 2px solid var(--f26-ink);
    transform: rotate(45deg);
}

html.f26c .f26-crs__mark {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translate(-15px, -50%);
    pointer-events: none;
    animation: f26crs-pop .45s cubic-bezier(.34, 1.56, .64, 1) both;
    animation-delay: .2s;
}
html.f26c .f26-crs__mark b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 0 0 4px rgba(28, 28, 34, .6);
}
html.f26c .f26-crs__mark span {
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(20, 20, 26, .88);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

html.f26c .f26-crs__probe {
    --c: var(--crs-run);
    position: absolute;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 3px solid var(--c);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .22), 0 2px 8px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: scale(.6);
    transition: opacity .12s ease, transform .12s ease;
    pointer-events: none;
}
html.f26c .f26-crs__probe[data-d="bike"] { --c: var(--crs-bike); }
html.f26c .f26-crs__probe[data-d="swim"] { --c: var(--crs-swim); }
html.f26c .f26-crs__probe[data-d="ski"] { --c: var(--crs-ski); }
html.f26c .f26-crs__probe.is-on { opacity: 1; transform: none; }

html.f26c .f26-crs__attr {
    position: absolute;
    right: 8px;
    bottom: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}
html.f26c .f26-crs__attr a { color: inherit !important; text-decoration: none; }
html.f26c .f26-crs__attr a:hover { text-decoration: underline; }

/* ---------- Tarjetas por disciplina ---------- */
html.f26c .f26-crs__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
html.f26c .f26-crs__seg {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--crs-r);
    background: #fff;
    color: var(--f26-ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    animation: f26crs-in .5s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: calc(.15s + var(--i, 0) * .12s);
    transition: box-shadow .2s ease, opacity .2s ease;
}
html.f26c .f26-crs__seg.is-dim { opacity: .82; }
html.f26c .f26-crs__seg.is-hl { box-shadow: 0 0 0 3px var(--c), 0 6px 16px rgba(0, 0, 0, .3); }

html.f26c .f26-crs__hd {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(28, 28, 34, .08);
}
html.f26c .f26-crs__ic {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--f26-ink);
    color: var(--c);
}
html.f26c .f26-crs__ic svg { width: 26px; height: 26px; }
html.f26c .f26-crs .f26-crs__nm {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    color: var(--f26-ink) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    letter-spacing: .01em;
    line-height: 1.15 !important;
    text-transform: uppercase;
}
html.f26c .f26-crs__vu {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--f26-pill);
    background: var(--c);
    color: var(--f26-ink);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* altimetría: SVG que se estira y etiquetas en HTML para que el texto no se deforme */
html.f26c .f26-crs__chart {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: 106px 20px;
    padding: 22px 16px 0 4px;
}
html.f26c .f26-crs__yl { position: relative; grid-row: 1; grid-column: 1; }
html.f26c .f26-crs__yl span {
    position: absolute;
    right: 7px;
    transform: translateY(-50%);
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-crs__plot {
    position: relative;
    grid-row: 1;
    grid-column: 2;
    cursor: crosshair;
    touch-action: pan-y;
}
html.f26c .f26-crs__plot svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
html.f26c .f26-crs__plot .gl { stroke: rgba(28, 28, 34, .1); stroke-width: 1px; vector-effect: non-scaling-stroke; }
html.f26c .f26-crs__plot .a { animation: f26crs-fade .6s ease-out both; animation-delay: calc(.9s + var(--i, 0) * .12s); }
html.f26c .f26-crs__plot .l {
    fill: none;
    stroke: var(--c);
    stroke-width: 2.6px;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
html.f26c .f26-crs__plot svg { animation: f26crs-wipe 1.2s cubic-bezier(.45, 0, .3, 1) both; animation-delay: calc(.35s + var(--i, 0) * .12s); }
html.f26c .f26-crs__peak {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 1px rgba(28, 28, 34, .15);
    animation: f26crs-fade .4s ease-out both;
    animation-delay: calc(1.3s + var(--i, 0) * .12s);
}
html.f26c .f26-crs__peakv {
    position: absolute;
    transform: translate(-50%, calc(-100% - 8px));
    color: var(--f26-ink);
    font-size: 11.5px;
    font-weight: 900;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    animation: f26crs-fade .4s ease-out both;
    animation-delay: calc(1.3s + var(--i, 0) * .12s);
    transition: opacity .12s ease;
}
html.f26c .f26-crs__cursor {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--x, 0);
    width: 0;
    border-left: 1.5px dashed rgba(28, 28, 34, .55);
    opacity: 0;
    pointer-events: none;
}
html.f26c .f26-crs__tip {
    position: absolute;
    top: -20px;
    left: var(--x, 0);
    padding: 3px 7px;
    border-radius: 6px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transform: translateX(8px);
    opacity: 0;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-crs__tip.is-right { transform: translateX(calc(-100% - 8px)); }
html.f26c .f26-crs__plot.is-scrub .f26-crs__cursor,
html.f26c .f26-crs__plot.is-scrub .f26-crs__tip { opacity: 1; }
html.f26c .f26-crs__plot.is-scrub .f26-crs__peakv { opacity: 0; }

html.f26c .f26-crs__xl { position: relative; grid-row: 2; grid-column: 2; }
html.f26c .f26-crs__xl span {
    position: absolute;
    top: 4px;
    transform: translateX(-50%);
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-crs__xl span.is-first { transform: none; }
html.f26c .f26-crs__xl span.is-last { transform: translateX(-100%); }

html.f26c .f26-crs__kv {
    display: flex;
    gap: 8px;
    margin: 0 !important;
    padding: 12px 14px 12px;
}
html.f26c .f26-crs__kv > div {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 7px 10px 8px;
    border-radius: 9px;
    background: var(--f26-tint);
}
html.f26c .f26-crs__kv dt {
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}
html.f26c .f26-crs__kv dd {
    margin: 0 !important;
    color: var(--f26-ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.15;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-crs__wl {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    gap: 6px;
    margin: -4px 14px 12px;
    color: var(--f26-red-dk) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}
html.f26c .f26-crs__wl i { font-size: 10px; }
html.f26c .f26-crs__wl:hover { color: var(--f26-red) !important; text-decoration: underline !important; }

/* ---------- Pestañas «Gráfico» / «Wikiloc» (CourseTabs) ----------
   Control en pastilla como el selector de vista de la clasificación (.f26-rtabs): la activa en negro con el
   icono en oro. El panel visible es el gráfico o la vista original de Wikiloc. */
html.f26c .f26-crs-tabs { margin: 0 0 16px; }
html.f26c .f26-crs-tabs__bar {
    display: flex;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 4px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-crs-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--f26-pill);
    background: transparent;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-crs-tab i { color: var(--f26-mute-2); font-size: 12px; }
html.f26c .f26-crs-tab:hover { background: var(--f26-tint); color: var(--f26-ink); }
html.f26c .f26-crs-tab.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .f26-crs-tab.is-on i { color: var(--f26-gold); }
html.f26c .f26-crs-tab:focus-visible { outline: none; box-shadow: var(--f26-focus); }
/* el panel entra en el orden de tabulación (patrón de pestañas): su anillo de foco sigue la forma del contenido */
html.f26c .f26-crs-tabs__panel { border-radius: var(--f26-r-lg); }
html.f26c .f26-crs-tabs__panel:has(> .f26-crs-wl) { border-radius: var(--f26-r); }
html.f26c .f26-crs-tabs__panel > .f26-crs,
html.f26c .f26-crs-tabs__panel > .f26-crs-wl { margin-bottom: 0; }

/* ---------- Vista original de Wikiloc (CourseWikiloc) ----------
   Una ficha por ruta, una debajo de otra: cabecera como las tarjetas del gráfico (caja oscura con el pictograma de
   la disciplina y el título), el mapa de Wikiloc a todo el ancho y un pie con «Powered by Wikiloc» y el enlace. */
html.f26c .f26-crs-wl {
    --crs-swim: #4FC3F7;
    --crs-bike: #FDB913;
    --crs-run: #E8702A;
    --crs-ski: #B39DDB;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 16px;
    font-family: var(--f26-font);
}
html.f26c .f26-crs-wl .is-swim { --c: var(--crs-swim); }
html.f26c .f26-crs-wl .is-bike { --c: var(--crs-bike); }
html.f26c .f26-crs-wl .is-run { --c: var(--crs-run); }
html.f26c .f26-crs-wl .is-ski { --c: var(--crs-ski); }
html.f26c .f26-crs-wl__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
/* ficha a la que lleva «Ver mapa» (f26-courses.js, goTo): un filete dorado por dentro que se apaga solo */
html.f26c .f26-crs-wl__item.is-target::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    box-shadow: inset 0 0 0 3px var(--f26-gold);
    pointer-events: none;
    animation: f26crs-flash 1.8s ease-out both;
}
html.f26c .f26-crs-wl__hd {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--f26-line);
}
html.f26c .f26-crs-wl__ic {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--f26-ink);
    color: var(--c, #fff);
}
html.f26c .f26-crs-wl__ic svg { width: 26px; height: 26px; }
html.f26c .f26-crs-wl__ic i { font-size: 15px; }
html.f26c .f26-crs-wl .f26-crs-wl__nm {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    color: var(--f26-ink) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
}
html.f26c .f26-crs-wl__map { background: var(--f26-tint); }
/* a ras de la ficha: gana a la esquina redondeada que la ficha del evento pone a sus iframes */
html.f26c .f26-crs-wl .f26-crs-wl__map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 0;
}
/* visor de reserva (BlockWikiloc) cuando el enlace no trae el número de la ruta: a todo el ancho y sin margen */
html.f26c .f26-crs-wl__map > div { max-width: none !important; margin: 0 !important; }
html.f26c .f26-crs-wl__ft {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    min-height: 44px;
    padding: 6px 16px;
    border-top: 1px solid var(--f26-line);
}
html.f26c .f26-crs-wl__by {
    color: var(--f26-mute);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}
html.f26c .f26-crs-wl__by a,
html.f26c .f26-crs-wl__open {
    color: var(--f26-red-dk) !important;
    font-weight: 800;
    text-decoration: none !important;
}
html.f26c .f26-crs-wl__open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin-left: auto;
    font-size: 12px;
}
html.f26c .f26-crs-wl__open i { font-size: 10px; }
html.f26c .f26-crs-wl__by a:hover,
html.f26c .f26-crs-wl__open:hover { color: var(--f26-red) !important; text-decoration: underline !important; }

/* ---------- Rutas sin gráfico (CourseTabs, debajo del gráfico) ----------
   Las rutas que aún no tienen datos convertidos se apuntan aquí, una por fila y sin cargar su mapa: franja clara como
   las listas de TV, caja oscura con el pictograma de la disciplina, el título y, a la derecha, «Ver mapa» (abre su
   ficha en la pestaña «Wikiloc») y el enlace a la ruta en Wikiloc. Las filas entran 6 px menos que la cabecera para
   que su caja oscura quede en la vertical del icono de la cabecera (como los documentos y enlaces). */
html.f26c .f26-crs-nochart {
    --crs-swim: #4FC3F7;
    --crs-bike: #FDB913;
    --crs-run: #E8702A;
    --crs-ski: #B39DDB;
    overflow: hidden;
    margin: 16px 0 0;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    font-family: var(--f26-font);
}
html.f26c .f26-crs-nochart .is-swim { --c: var(--crs-swim); }
html.f26c .f26-crs-nochart .is-bike { --c: var(--crs-bike); }
html.f26c .f26-crs-nochart .is-run { --c: var(--crs-run); }
html.f26c .f26-crs-nochart .is-ski { --c: var(--crs-ski); }
html.f26c .f26-crs-nochart__hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--f26-line);
}
html.f26c .f26-crs-nochart__hd > i {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--f26-tint);
    color: var(--f26-red);
    font-size: 13px;
}
html.f26c .f26-crs-nochart .f26-crs-nochart__tt {
    margin: 0 !important;
    color: var(--f26-ink) !important;
    font-size: 13.5px !important;
    font-weight: 900 !important;
    letter-spacing: .08em;
    line-height: 1.2 !important;
    text-transform: uppercase;
}
html.f26c .f26-crs-nochart__body { padding: 12px 12px 14px; }
html.f26c .f26-crs-nochart .f26-crs-nochart__tx {
    margin: 0 0 10px !important;
    padding: 0 6px;
    color: var(--f26-mute) !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}
html.f26c .f26-crs-nochart__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
html.f26c .f26-crs-nochart__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    margin: 0 !important;
    padding: 6px 8px 6px 6px;
    border-radius: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-crs-nochart__ic {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--f26-ink);
    color: var(--c, #fff);
}
html.f26c .f26-crs-nochart__ic svg { width: 27px; height: 27px; }
html.f26c .f26-crs-nochart__ic i { font-size: 15px; }
html.f26c .f26-crs-nochart__nm {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
html.f26c .f26-crs-nochart__acts {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
html.f26c .f26-crs-nochart__go,
html.f26c .f26-crs-nochart__wl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    margin: 0;
    padding: 0 14px;
    border-radius: var(--f26-pill);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-crs-nochart__go { border: 0; background: var(--f26-ink); color: #fff; }
html.f26c .f26-crs-nochart__go i { color: var(--f26-gold); font-size: 12px; }
html.f26c .f26-crs-nochart__go:hover { background: var(--f26-red); }
html.f26c .f26-crs-nochart__go:hover i { color: #fff; }
html.f26c .f26-crs-nochart__wl { border: 1px solid var(--f26-line); background: #fff; color: var(--f26-ink) !important; }
html.f26c .f26-crs-nochart__wl i { font-size: 10px; }
html.f26c .f26-crs-nochart__wl:hover { border-color: var(--f26-ink); }
html.f26c .f26-crs-nochart__ft { padding: 10px 18px; border-top: 1px solid var(--f26-line); }

/* Mientras llegan los recorridos convertidos (no se pinta ningún mapa de Wikiloc hasta saber cuáles tienen gráfico) */
html.f26c .f26-crs-wait {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 240px;
    margin: 0 0 16px;
    padding: 24px;
    border-radius: var(--f26-r-lg);
    background: var(--f26-tex), var(--f26-ink);
    color: var(--f26-on-ink-mute);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 700;
}
html.f26c .f26-crs-wait .spinner-border { color: var(--f26-gold); }

/* ---------- Animaciones ---------- */
@keyframes f26crs-wipe {
    from { clip-path: inset(0 100% 0 0); opacity: .2; }
    to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes f26crs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes f26crs-pop { from { opacity: 0; transform: translate(-15px, -50%) scale(.6); } to { opacity: 1; transform: translate(-15px, -50%) scale(1); } }
@keyframes f26crs-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes f26crs-flash { 0%, 50% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-crs *,
    html.f26c .f26-crs *::before { animation: none !important; transition: none !important; }
    html.f26c .f26-crs-tab,
    html.f26c :is(.f26-crs-nochart__go, .f26-crs-nochart__wl) { transition: none; }
    /* la marca de «Ver mapa» se ve fija y se quita sola, sin fundido */
    html.f26c .f26-crs-wl__item.is-target::after { animation: none; }
}

/* ---------- Pantallas grandes ---------- */
@media (min-width: 1400px) {
    html.f26c .f26-crs__chart { grid-template-rows: 118px 20px; }
    /* el mapa de Wikiloc gana alto con el ancho para no quedar como una franja */
    html.f26c .f26-crs-wl .f26-crs-wl__map iframe { height: 560px; }
    /* Con la capa de pantallas anchas de la ficha del evento (--ev-pad), iconos, títulos y pies de las fichas de
       Wikiloc y de las rutas sin gráfico van en la misma vertical que el resto de la ficha; sin ella (variable sin
       definir) se quedan como por debajo de 1400 px. */
    html.f26c :is(.f26-crs-wl__hd, .f26-crs-wl__ft) { padding-left: var(--ev-pad, 16px); padding-right: var(--ev-pad, 16px); }
    html.f26c :is(.f26-crs-nochart__hd, .f26-crs-nochart__ft) { padding-left: var(--ev-pad, 18px); padding-right: var(--ev-pad, 18px); }
    html.f26c .f26-crs-nochart__body { padding-left: calc(var(--ev-pad, 18px) - 6px); padding-right: calc(var(--ev-pad, 18px) - 6px); }
}
@media (min-width: 1680px) {
    html.f26c .f26-crs { padding: 20px 20px 24px; gap: 16px; }
    html.f26c .f26-crs-wl .f26-crs-wl__map iframe { height: 620px; }
    html.f26c .f26-crs__body { grid-template-columns: minmax(0, 1.8fr) minmax(400px, 1fr); gap: 16px; }
    html.f26c .f26-crs__chart { grid-template-rows: 132px 20px; }
    html.f26c .f26-crs .f26-crs__nm { font-size: 19px !important; }
    html.f26c .f26-crs__kv dd { font-size: 19px; }
}

/* ---------- Tableta y móvil ---------- */
@media (max-width: 991.98px) {
    html.f26c .f26-crs { gap: 12px; padding: 12px 12px 16px; border-radius: var(--f26-r); }
    html.f26c .f26-crs__body { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    html.f26c .f26-crs__map { position: relative; top: auto; }
    html.f26c .f26-crs__col { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
    /* el anillo de foco del panel y la espera siguen el radio del gráfico en tableta */
    html.f26c .f26-crs-tabs__panel,
    html.f26c .f26-crs-wait { border-radius: var(--f26-r); }
}
/* Teléfono y tableta pequeña: en cada ruta sin gráfico, las acciones pasan debajo del título, alineadas con el texto */
@media (max-width: 767.98px) {
    html.f26c .f26-crs-nochart__row { flex-wrap: wrap; gap: 6px 10px; padding-bottom: 8px; }
    html.f26c .f26-crs-nochart__nm { flex: 1 1 calc(100% - 50px); }
    html.f26c .f26-crs-nochart__acts { flex: 1 1 100%; justify-content: flex-start; padding-left: 50px; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-crs { --crs-r: 12px; gap: 10px; padding: 8px 8px 14px; border-radius: 12px; }
    html.f26c .f26-crs__top { gap: 8px; }
    html.f26c .f26-crs__groups { width: 100%; }
    html.f26c .f26-crs__group { min-height: 34px; padding: 0 13px; font-size: 12.5px; }
    html.f26c .f26-crs__cat { min-height: 30px; padding: 0 11px; font-size: 11.5px; }
    html.f26c .f26-crs__pill { height: 30px; padding: 0 10px; gap: 6px; font-size: 12.5px; }
    html.f26c .f26-crs__pill small { font-size: 10px; }
    html.f26c .f26-crs__col { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    html.f26c .f26-crs__mark { gap: 5px; transform: translate(-12px, -50%); }
    html.f26c .f26-crs__mark b { width: 24px; height: 24px; font-size: 11px; box-shadow: 0 0 0 3px rgba(28, 28, 34, .6); }
    html.f26c .f26-crs__mark span { padding: 2px 7px; font-size: 10.5px; }
    html.f26c .f26-crs__arrow { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
    html.f26c .f26-crs__arrow::before { left: 3px; top: 4px; width: 5px; height: 5px; }
    html.f26c .f26-crs__attr { right: 6px; bottom: 4px; font-size: 9px; }
    html.f26c .f26-crs__hd { gap: 10px; min-height: 50px; padding: 8px 10px; }
    html.f26c .f26-crs__ic { width: 34px; height: 34px; border-radius: 8px; }
    html.f26c .f26-crs__ic svg { width: 23px; height: 23px; }
    html.f26c .f26-crs .f26-crs__nm { font-size: 15px !important; }
    html.f26c .f26-crs__vu { height: 28px; padding: 0 10px; font-size: 12px; }
    html.f26c .f26-crs__chart { grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: 96px 20px; padding: 22px 12px 0 2px; }
    html.f26c .f26-crs__kv { gap: 6px; padding: 10px 10px 10px; }
    html.f26c .f26-crs__kv > div { padding: 6px 8px 7px; }
    html.f26c .f26-crs__kv dt { font-size: 9px; letter-spacing: .08em; }
    html.f26c .f26-crs__kv dd { font-size: 15px; }
    html.f26c .f26-crs__wl { margin: -2px 10px 10px; }
    html.f26c .f26-crs-tabs { margin-bottom: 12px; }
    html.f26c .f26-crs-tabs__bar { margin-bottom: 8px; }
    html.f26c .f26-crs-tab { min-height: 36px; padding: 0 16px; font-size: 12.5px; }
    html.f26c .f26-crs-tabs__panel { border-radius: 12px; }
    html.f26c .f26-crs-wl { gap: 8px; margin-bottom: 12px; }
    html.f26c .f26-crs-wl__item { border-radius: 12px; }
    html.f26c .f26-crs-wl__hd { gap: 10px; min-height: 50px; padding: 8px 10px; }
    html.f26c .f26-crs-wl__ic { width: 34px; height: 34px; border-radius: 8px; }
    html.f26c .f26-crs-wl__ic svg { width: 23px; height: 23px; }
    html.f26c .f26-crs-wl .f26-crs-wl__nm { font-size: 14px !important; }
    html.f26c .f26-crs-wl .f26-crs-wl__map iframe { height: 440px; }
    html.f26c .f26-crs-wl__ft { padding: 4px 10px 4px 12px; }
    html.f26c .f26-crs-wait { min-height: 180px; margin-bottom: 12px; border-radius: 12px; }
    html.f26c .f26-crs-nochart { margin-top: 12px; border-radius: 12px; }
    html.f26c .f26-crs-nochart__hd { padding: 12px 14px; }
    html.f26c .f26-crs-nochart__body { padding: 10px 8px 12px; }
    html.f26c .f26-crs-nochart__ft { padding: 8px 14px; }
}

/* ==========================================================================
   Mapa interactivo (js/f26-courses-gl.js, MapLibre GL): tipo de mapa (Relieve, Real, 3D) y animación del
   recorrido con «Vista general» o cámara que sigue al punto. Va encima del plano estático, que se queda si el
   navegador no tiene WebGL (.is-gl lo pone el módulo cuando el mapa está listo).
   ========================================================================== */
html.f26c .f26-crs__gl { position: absolute; inset: 0; z-index: 1; display: none; }
html.f26c .f26-crs__map.is-gl .f26-crs__gl { display: block; }
html.f26c .f26-crs__map.is-gl :is(.f26-crs__tiles, .f26-crs__route, .f26-crs__arrow, .f26-crs__mark, .f26-crs__probe, .f26-crs__attr) { visibility: hidden; }
html.f26c .f26-crs__map.is-gl .f26-crs__vig { z-index: 2; background: radial-gradient(ellipse at 55% 50%, transparent 62%, rgba(20, 20, 26, .4) 100%); }
/* en el móvil el plano estático es bajo: el interactivo gana alto para que quepan los mandos */
html.f26c .f26-crs__map.is-gl { width: 100%; min-height: 380px; }
html.f26c .f26-crs__map:fullscreen { border-radius: 0; aspect-ratio: auto !important; }

html.f26c .f26-crs__gl .maplibregl-canvas { outline: none; }
html.f26c .f26-crs__gl .maplibregl-ctrl-top-right { top: 56px; }
html.f26c .f26-crs__gl .maplibregl-ctrl-group { border-radius: 10px; background: rgba(28, 28, 34, .88); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
html.f26c .f26-crs__gl .maplibregl-ctrl-group button { width: 32px; height: 32px; }
html.f26c .f26-crs__gl .maplibregl-ctrl-group button + button { border-top-color: rgba(255, 255, 255, .12); }
html.f26c .f26-crs__gl .maplibregl-ctrl-group .maplibregl-ctrl-icon { filter: invert(1); }
html.f26c .f26-crs__gl .maplibregl-cooperative-gesture-screen { font-family: var(--f26-font); font-size: 15px; font-weight: 700; }
html.f26c .f26-crs__glattr {
    position: absolute;
    right: 8px;
    bottom: 64px;
    z-index: 3;
    max-width: calc(100% - 16px);
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
html.f26c .f26-crs__glattr a { color: inherit !important; text-decoration: none; }
html.f26c .f26-crs__glattr a:hover { text-decoration: underline; }

/* Salida / boxes */
html.f26c .f26-crs__glmark { display: flex; align-items: center; gap: 7px; pointer-events: none; }
html.f26c .f26-crs__glmark b {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: #fff; color: var(--f26-ink); font-size: 12px; font-weight: 900;
    box-shadow: 0 0 0 4px rgba(28, 28, 34, .6);
}
html.f26c .f26-crs__glmark span {
    padding: 3px 9px; border-radius: 6px; background: rgba(20, 20, 26, .88); color: #fff;
    font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}

/* Punto con destello */
html.f26c .f26-crs__gldot { --c: var(--crs-run); width: 18px; height: 18px; pointer-events: none; }
html.f26c .f26-crs__gldot i {
    position: absolute; inset: 0; border-radius: 50%;
    background: #fff; border: 3px solid var(--c);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .25), 0 0 18px 6px var(--c), 0 2px 8px rgba(0, 0, 0, .5);
}
html.f26c .f26-crs__gldot::before {
    content: ""; position: absolute; inset: -14px; border-radius: 50%;
    background: radial-gradient(circle, var(--c) 0, transparent 70%); opacity: .55;
    animation: f26crs-glow 1.2s ease-in-out infinite;
}
@keyframes f26crs-glow { 0%, 100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1.25); opacity: .15; } }

/* Mandos */
html.f26c .f26-crs__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
html.f26c .f26-crs__ui[hidden] { display: none; }
html.f26c .f26-crs__ui > * { pointer-events: auto; }
html.f26c .f26-crs__types,
html.f26c .f26-crs__cams {
    display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
    background: rgba(20, 20, 26, .86); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
}
html.f26c .f26-crs__types { position: absolute; top: 10px; left: 10px; }
html.f26c .f26-crs__types button,
html.f26c .f26-crs__cams button {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
    background: transparent; color: #fff;
    font: 800 12.5px/1 var(--f26-font); letter-spacing: .02em; cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-crs__types button i,
html.f26c .f26-crs__cams button i { font-size: 12px; opacity: .8; }
html.f26c .f26-crs__types button:hover,
html.f26c .f26-crs__cams button:hover { background: rgba(255, 255, 255, .1); }
html.f26c .f26-crs__types button.is-on,
html.f26c .f26-crs__cams button.is-on { background: var(--f26-gold, #FDB913); color: var(--f26-ink); }
html.f26c .f26-crs__types button.is-on i,
html.f26c .f26-crs__cams button.is-on i { opacity: 1; }
html.f26c .f26-crs__ui button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

html.f26c .f26-crs__hud {
    --c: var(--crs-run);
    position: absolute; top: 52px; left: 10px;
    display: grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: baseline;
    max-width: calc(100% - 70px);
    padding: 8px 12px 8px 14px; border-radius: 10px;
    border-left: 4px solid var(--c);
    background: rgba(20, 20, 26, .88); color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    pointer-events: none;
}
html.f26c .f26-crs__hud[hidden] { display: none; }
html.f26c .f26-crs__hud .nm { grid-column: 1 / -1; font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-crs__hud .km { color: var(--f26-gold, #FDB913); font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-crs__hud .alt { color: #fff; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .f26-crs__hud .lap { grid-column: 1 / -1; color: var(--f26-mute); font-size: 11px; font-weight: 700; }
html.f26c .f26-crs__hud [hidden] { display: none; }

html.f26c .f26-crs__player {
    position: absolute; left: 10px; right: 10px; bottom: 10px;
    display: flex; align-items: center; gap: 10px;
    padding: 6px 6px 6px 6px; border-radius: 999px;
    background: rgba(20, 20, 26, .88); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
}
html.f26c .f26-crs__play {
    flex: none; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: var(--f26-red, #CF122F); color: #fff; font-size: 15px; cursor: pointer;
    box-shadow: 0 0 0 0 rgba(207, 18, 47, .5);
    transition: transform .15s ease, background-color .15s ease;
}
html.f26c .f26-crs__play:hover { transform: scale(1.06); }
html.f26c .f26-crs__play .fa-play { margin-left: 2px; }
html.f26c .f26-crs__map:not(.is-playing) .f26-crs__play { animation: f26crs-call 2.4s ease-out 1.2s 2; }
@keyframes f26crs-call { 0% { box-shadow: 0 0 0 0 rgba(207, 18, 47, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(207, 18, 47, 0); } }
html.f26c .f26-crs__bar { position: relative; flex: 1 1 auto; min-width: 60px; height: 40px; display: flex; align-items: center; }
html.f26c .f26-crs__segs { display: flex; gap: 3px; width: 100%; height: 8px; }
html.f26c .f26-crs__segs span { position: relative; flex: 1 1 0; min-width: 6px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
html.f26c .f26-crs__segs span i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--c); }
html.f26c .f26-crs__segs .is-swim { --c: var(--crs-swim); }
html.f26c .f26-crs__segs .is-bike { --c: var(--crs-bike); }
html.f26c .f26-crs__segs .is-run { --c: var(--crs-run); }
html.f26c .f26-crs__segs .is-ski { --c: var(--crs-ski); }
html.f26c .f26-crs__range {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
    appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer;
}
html.f26c .f26-crs__range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
html.f26c .f26-crs__range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
html.f26c .f26-crs__range:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
html.f26c .f26-crs__cams { flex: none; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }

/* Altimetrías a pantalla completa (MAP, 24-11): franja encima de la barra, solo con el mapa a pantalla completa (la
   del navegador o la «pseudo» de MapLibre en el iPhone). Cada tramo, del ancho de su tramo en la barra. */
html.f26c .f26-crs__alts { display: none; }
html.f26c .f26-crs__map:is(:fullscreen, .maplibregl-pseudo-fullscreen) .f26-crs__alts {
    position: absolute; left: 10px; right: 10px; bottom: 66px;
    display: flex; gap: 3px; height: 128px; padding: 8px; border-radius: 14px;
    background: rgba(20, 20, 26, .84); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); backdrop-filter: blur(6px);
}
html.f26c .f26-crs__map:is(:fullscreen, .maplibregl-pseudo-fullscreen) .f26-crs__glattr { bottom: 202px; }
html.f26c .f26-crs__alt {
    --c: var(--crs-run); --x: 0%;
    position: relative; flex: 1 1 0; min-width: 40px; display: flex; flex-direction: column; overflow: hidden;
    border-radius: 8px; background: rgba(255, 255, 255, .04); cursor: pointer;
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, .12);
}
html.f26c .f26-crs__alt.is-on { background: rgba(255, 255, 255, .08); box-shadow: inset 0 3px 0 var(--c); }
html.f26c .f26-crs__alt.is-done { box-shadow: inset 0 3px 0 var(--c); }
html.f26c .f26-crs__altk { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 7px 8px 0; color: #fff; white-space: nowrap; }
html.f26c .f26-crs__altk b { overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .f26-crs__altk small { color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
html.f26c .f26-crs__alt svg { flex: 1 1 auto; width: 100%; min-height: 0; margin-top: 4px; display: block; }
html.f26c .f26-crs__alt .a0 { fill: rgba(255, 255, 255, .1); }
html.f26c .f26-crs__alt .l0 { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 2; vector-effect: non-scaling-stroke; }
html.f26c .f26-crs__alt .a1 { fill: var(--c); opacity: .38; }
html.f26c .f26-crs__alt .l1 { fill: none; stroke: var(--c); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
html.f26c .f26-crs__altc { position: absolute; top: 26px; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px var(--c); display: none; }
html.f26c .f26-crs__altt {
    position: absolute; top: 28px; left: 0; display: none;
    padding: 2px 6px; border-radius: 4px; background: #fff; color: var(--f26-ink);
    font: 800 11px/1.3 var(--f26-font); font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums;
}
html.f26c .f26-crs__alt.has-x :is(.f26-crs__altc, .f26-crs__altt) { display: block; }

@media (max-width: 575.98px) {
    html.f26c .f26-crs__map:is(:fullscreen, .maplibregl-pseudo-fullscreen) .f26-crs__alts { left: 8px; right: 8px; bottom: 62px; height: 104px; padding: 6px; }
    html.f26c .f26-crs__map:is(:fullscreen, .maplibregl-pseudo-fullscreen) .f26-crs__glattr { bottom: 172px; }
    html.f26c .f26-crs__altk { flex-direction: column; gap: 0; padding: 5px 6px 0; }
    html.f26c .f26-crs__altk b { font-size: 10.5px; }
    html.f26c .f26-crs__altk small { font-size: 9.5px; }
    html.f26c .f26-crs__altc { top: 34px; }
    html.f26c .f26-crs__altt { top: 36px; font-size: 10px; }
    html.f26c .f26-crs__map.is-gl { min-height: 420px; }
    html.f26c .f26-crs__types { top: 8px; left: 8px; }
    html.f26c .f26-crs__types button { min-height: 30px; padding: 0 10px; font-size: 12px; }
    html.f26c .f26-crs__gl .maplibregl-ctrl-top-right { top: 0; }
    html.f26c .f26-crs__hud { top: 48px; left: 8px; padding: 6px 10px 6px 10px; }
    html.f26c .f26-crs__hud .km { font-size: 17px; }
    html.f26c .f26-crs__player { left: 8px; right: 8px; bottom: 8px; gap: 6px; }
    html.f26c .f26-crs__cams button { padding: 0 9px; }
    html.f26c .f26-crs__cams button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    html.f26c .f26-crs__glattr { bottom: 60px; right: 6px; font-size: 9px; }
    html.f26c .f26-crs__glmark span { padding: 2px 7px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-crs__gldot::before,
    html.f26c .f26-crs__play { animation: none !important; }
}
