﻿/* =====================================================================
   FETRI · Rediseño 2026 · Resultados del evento
   Pestaña Resultados de la ficha (ScheduleLive), sus subpestañas
   (ScheduleResults y los componentes de Components/ScheduleResults), la
   clasificación de una prueba (ResultsLive) y el detalle desplegable de la
   línea de tiempo (SchDetail).
   Acotado a html.f26c .f26-ev (ficha del evento) y html.f26c .f26-er (raíz de
   ScheduleResults, también en /event-results/{id}); las clases rl-* de
   ResultsLive, solo a html.f26c porque también se abre en diálogo y en
   /resultslive/{key}.
   Solo estilos: no cambia filtros, búsquedas, exportaciones ni navegación.
   ===================================================================== */

/* ---------- Tokens de los componentes, llevados a la paleta 2026 ----------
   Los componentes definen sus colores en :root (--sl-*, --rl-*, --efr-*,
   --ecr-*). html.f26c pesa más que :root, así que basta con redefinirlos aquí
   (también llega a la clasificación abierta en diálogo o en /resultslive).
   Los colores de medalla (--*-gold/silver/bronze) se quedan como estaban:
   también se usan como color de texto y el oro de marca no se lee sobre blanco. */
html.f26c {
    --sl-red: var(--f26-red);
    --sl-red-dark: var(--f26-red-dk);
    --sl-red-tint: var(--f26-red-soft);
    --sl-ink: var(--f26-ink);
    --sl-ink-70: var(--f26-text-2);
    --sl-ink-50: var(--f26-mute);
    --sl-sand: var(--f26-tint);
    --sl-line: var(--f26-line);
    --sl-green: var(--f26-green-text);
    --sl-radius: var(--f26-r);
    --sl-shadow: var(--f26-shadow-1);
    --rl-red: var(--f26-red);
    --rl-red-dark: var(--f26-red-dk);
    --rl-red-tint: var(--f26-red-soft);
    --rl-ink: var(--f26-ink);
    --rl-ink-70: var(--f26-text-2);
    --rl-ink-50: var(--f26-mute);
    --rl-sand: var(--f26-tint);
    --rl-line: var(--f26-line);
    --rl-green: var(--f26-green-text);
    --rl-radius: var(--f26-r);
    --rl-shadow: var(--f26-shadow-1);
    --efr-red: var(--f26-red);
    --efr-ink: var(--f26-ink);
    --efr-ink-70: var(--f26-text-2);
    --efr-ink-50: var(--f26-mute);
    --efr-sand: var(--f26-tint);
    --efr-line: var(--f26-line);
    --efr-radius: var(--f26-r);
    --efr-shadow: var(--f26-shadow-1);
    --ecr-red: var(--f26-red);
    --ecr-ink: var(--f26-ink);
    --ecr-ink-70: var(--f26-text-2);
    --ecr-ink-50: var(--f26-mute);
    --ecr-sand: var(--f26-tint);
    --ecr-line: var(--f26-line);
    --ecr-radius: var(--f26-r);
    --ecr-shadow: var(--f26-shadow-1);
}

/* Textos que se acortan en móvil (p. ej. "Volver al horario" → "Volver"). */
@media (max-width: 575.98px) {
    html.f26c .f26-sm-hide { display: none; }
}

/* ---------- Piezas comunes: barra negra con textura y acento ---------- */
html.f26c .f26-ev .schedule-live-container .sl-day-header,
html.f26c .f26-er .inscriptions-header,
html.f26c .f26-er .efr-card-header,
html.f26c .f26-er .ecr-card-header,
html.f26c .f26-er .statistics-title,
html.f26c .f26-er .category-title {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--f26-ink) !important;
    color: #fff !important;
}
html.f26c .f26-ev .schedule-live-container .sl-day-header::before,
html.f26c .f26-er .inscriptions-header::before,
html.f26c .f26-er .efr-card-header::before,
html.f26c .f26-er .ecr-card-header::before,
html.f26c .f26-er .statistics-title::before,
html.f26c .f26-er .category-title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .f26-ev .schedule-live-container .sl-day-header::after,
html.f26c .f26-er .inscriptions-header::after,
html.f26c .f26-er .efr-card-header::after,
html.f26c .f26-er .ecr-card-header::after,
html.f26c .f26-er .statistics-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
    pointer-events: none;
}

/* Botón Excel: píldora dorada, igual que en la lista de salida. */
html.f26c .f26-er .event-results-header > .event-results-actions:last-child .rk-pill-btn,
html.f26c .f26-er .statistics-title .btn-success,
html.f26c .pdf-files-card .btn-success,
html.f26c .f26-er .toolbar-actions .rk-pill-btn:has(.fa-file-excel),
html.f26c .rl-toolbar .rl-pill-btn:has(.fa-file-excel) {
    border: 0 !important;
    background: var(--f26-gold) !important;
    color: var(--f26-ink) !important;
    box-shadow: none !important;
}
html.f26c .f26-er .event-results-header > .event-results-actions:last-child .rk-pill-btn:hover,
html.f26c .f26-er .statistics-title .btn-success:hover,
html.f26c .pdf-files-card .btn-success:hover,
html.f26c .f26-er .toolbar-actions .rk-pill-btn:has(.fa-file-excel):hover,
html.f26c .rl-toolbar .rl-pill-btn:has(.fa-file-excel):hover {
    background: var(--f26-ink) !important;
    color: #fff !important;
}

/* =====================================================================
   SUBPESTAÑAS (Ganadores, Inscripciones, Federación, Club, Buscar,
   Estadísticas): control segmentado; en móvil se desliza en horizontal.
   ===================================================================== */
html.f26c .f26-ev .schedule-live-container > .card {
    position: relative;
    margin: 0 0 12px;
    padding: 5px;
    border: 1px solid var(--f26-line) !important;
    border-radius: var(--f26-r) !important;
    background: #fff !important;
    box-shadow: var(--f26-shadow-1);
    overflow: hidden;
}
html.f26c .f26-ev .schedule-live-container > .card::before,
html.f26c .f26-ev .schedule-live-container > .card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 30px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}
html.f26c .f26-ev .schedule-live-container > .card::before {
    left: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0), #fff 80%);
}
html.f26c .f26-ev .schedule-live-container > .card::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 80%);
}
html.f26c .f26-ev .schedule-live-container > .card.f26-tabs-scrolled::before,
html.f26c .f26-ev .schedule-live-container > .card.f26-tabs-more::after { opacity: 1; }
html.f26c .f26-ev .schedule-live-container > .card > .btns-cont {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    border-radius: 10px;
    background: transparent !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
html.f26c .f26-ev .schedule-live-container > .card > .btns-cont::-webkit-scrollbar { display: none; }
html.f26c .f26-ev .schedule-live-container .btns-cont > .btn {
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: var(--f26-text-2) !important;
    font-family: var(--f26-font);
    font-size: 12.5px !important;
    font-weight: 800 !important;
    letter-spacing: .01em;
    white-space: nowrap;
    box-shadow: none !important;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-ev .schedule-live-container .btns-cont > .btn i {
    margin: 0 !important;
    color: var(--f26-red);
    font-size: 13px !important;
    transition: color .15s ease;
}
html.f26c .f26-ev .schedule-live-container .btns-cont > .btn:hover {
    background: var(--f26-tint) !important;
    color: var(--f26-ink) !important;
}
html.f26c .f26-ev .schedule-live-container .btns-cont > .btn.active {
    background: var(--f26-ink) !important;
    color: #fff !important;
}
html.f26c .f26-ev .schedule-live-container .btns-cont > .btn.active i { color: var(--f26-gold); }
html.f26c .f26-ev .schedule-live-container .btns-cont > .btn:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--f26-ink) !important;
}

/* =====================================================================
   VISTA PRINCIPAL: documentos, barra de filtros y línea de tiempo
   ===================================================================== */
html.f26c .f26-ev .schedule-live-container .container-table { padding: 0 !important; }

/* Documentos oficiales (desplegable) */
html.f26c .f26-ev .schedule-live-container .sl-docs-card {
    border: 1px solid var(--f26-line) !important;
    border-radius: var(--f26-r) !important;
    background: #fff !important;
    box-shadow: var(--f26-shadow-1) !important;
}
html.f26c .f26-ev .schedule-live-container .sl-docs-title {
    color: var(--f26-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-ev .schedule-live-container .sl-docs-badge {
    border-radius: var(--f26-pill) !important;
    background: var(--f26-gold) !important;
    color: var(--f26-ink) !important;
    font-weight: 900 !important;
}

/* Barra de filtros */
html.f26c .f26-ev .schedule-live-container .sl-filterbar {
    gap: 8px;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-search {
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-search:focus-within {
    background: #fff;
    box-shadow: var(--f26-focus);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-search i { color: var(--f26-mute); font-size: 13px; }
html.f26c .f26-ev .schedule-live-container .sl-fb-search input {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-search input::placeholder { color: var(--f26-mute); font-weight: 500; }
/* El anillo de foco lo pinta la píldora (focus-within), no el campo. */
html.f26c .f26-ev .schedule-live-container .sl-fb-search input:focus-visible { box-shadow: none !important; }
html.f26c .f26-ev .schedule-live-container .sl-fb-clear-input {
    width: 26px;
    height: 26px;
    background: var(--f26-tint-2);
    color: var(--f26-text-2);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-seg {
    height: 42px;
    padding: 4px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-seg-btn {
    height: 34px;
    padding: 0 14px;
    border-radius: var(--f26-pill);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-seg-btn:hover { color: var(--f26-ink); }
html.f26c .f26-ev .schedule-live-container .sl-fb-seg-btn.active {
    background: var(--f26-ink);
    color: #fff;
    box-shadow: none;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-select { height: 42px; }
html.f26c .f26-ev .schedule-live-container .sl-fb-toggle {
    height: 42px;
    padding: 0 14px 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-toggle:hover { background: var(--f26-tint-2); }
html.f26c .f26-ev .schedule-live-container .sl-fb-toggle:focus {
    background: var(--f26-tint);
    box-shadow: var(--f26-focus);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-toggle i { color: var(--f26-mute); font-size: 10px; }
html.f26c .f26-ev .schedule-live-container .sl-fb-select.is-set .sl-fb-toggle {
    border: 0;
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-select.is-set .sl-fb-toggle i { color: var(--f26-gold); }
html.f26c .f26-ev .schedule-live-container .sl-fb-menu {
    padding: 6px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    box-shadow: var(--f26-shadow-3);
}
html.f26c .f26-ev .schedule-live-container .sl-fb-menu li {
    min-height: 40px;
    padding: 9px 12px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 700;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-menu li:hover { background: var(--f26-tint); }
html.f26c .f26-ev .schedule-live-container .sl-fb-menu li.selected {
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-menu-dot.sl-status-finished { background: var(--f26-green); }
html.f26c .f26-ev .schedule-live-container .sl-fb-menu-dot.sl-status-provisional { background: var(--f26-gold); }
html.f26c .f26-ev .schedule-live-container .sl-fb-reset {
    height: 42px;
    padding: 0 16px;
    border-radius: var(--f26-pill);
    background: var(--f26-red-soft);
    color: var(--f26-red);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .f26-ev .schedule-live-container .sl-fb-reset:hover { background: var(--f26-red); color: #fff; }

/* Cabecera de cada día */
html.f26c .f26-ev .schedule-live-container .sl-day-group { margin-bottom: 26px; }
html.f26c .f26-ev .schedule-live-container .sl-day-header {
    min-height: 50px;
    margin-bottom: 14px;
    padding: 12px 18px 15px;
    border-radius: 12px;
    box-shadow: none;
}
html.f26c .f26-ev .schedule-live-container .sl-day-title {
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
}
html.f26c .f26-ev .schedule-live-container .sl-day-count {
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .1);
    font-size: 11.5px;
    font-weight: 800;
    opacity: 1;
}

/* Línea de tiempo */
html.f26c .f26-ev .schedule-live-container .sl-timeline::before {
    width: 2px;
    background: var(--f26-tint-2);
}
html.f26c .f26-ev .schedule-live-container .sl-event { margin-bottom: 12px; }
html.f26c .f26-ev .schedule-live-container .sl-time-node {
    top: 26px;
    padding: 2px 0;
    background: var(--f26-bg);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
}
html.f26c .f26-ev .schedule-live-container .sl-event.live .sl-time-node { color: var(--f26-red); }

/* Tarjeta de cada prueba */
html.f26c .f26-ev .schedule-live-container .sl-event-card {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-ev .schedule-live-container .sl-event-card:hover { box-shadow: var(--f26-shadow-2); }
html.f26c .f26-ev .schedule-live-container .sl-event-card.open {
    border-color: var(--f26-ink);
    box-shadow: var(--f26-shadow-2);
}
html.f26c .f26-ev .schedule-live-container .sl-card-head {
    gap: 14px;
    min-height: 76px;
    padding: 12px 14px 12px 18px;
}
html.f26c .f26-ev .schedule-live-container .sl-title-block {
    flex: 0 0 auto;
    width: 250px;
    min-width: 0;
}
html.f26c .f26-ev .schedule-live-container .sl-cat-name {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.25;
    text-transform: uppercase;
}
/* El nombre de la prueba es un enlace a su clasificación (ScheduleLive, solo si la prueba tiene fichero): mismo
   aspecto, rojo y subrayado al pasar el ratón; no abre ni cierra la tarjeta. Es un bloque tan ancho como el texto,
   igual de alto que el nombre sin enlace (en línea crecería hasta el alto de línea de la cabecera y bajaría el estado).
   La zona de toque crece hacia arriba hasta el borde de la tarjeta (el margen de la cabecera) y hacia abajo se queda
   a 2 px de la línea del estado, que sigue abriendo y cerrando */
html.f26c .f26-ev .schedule-live-container a.sl-cat-link {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
html.f26c .f26-ev .schedule-live-container a.sl-cat-link::after { content: ""; position: absolute; inset: -10px -4px -4px; }
/* En pantallas táctiles, todo el margen de arriba (12 px) y algo más a los lados */
@media (pointer: coarse) {
    html.f26c .f26-ev .schedule-live-container a.sl-cat-link::after { inset: -12px -6px -4px; }
}
html.f26c .f26-ev .schedule-live-container a.sl-cat-link:hover {
    color: var(--f26-red);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
html.f26c .f26-ev .schedule-live-container a.sl-cat-link:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-ev .schedule-live-container .sl-cat-sub { gap: 8px; margin-top: 6px; }
html.f26c .f26-ev .schedule-live-container .sl-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border: 0;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}
html.f26c .f26-ev .schedule-live-container .sl-tag.sl-status-oficial { background: var(--f26-green-text); color: #fff; }
html.f26c .f26-ev .schedule-live-container .sl-tag.sl-status-provisional { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-ev .schedule-live-container .sl-tag.sl-status-programada { background: var(--f26-tint); color: var(--f26-text-2); }
html.f26c .f26-ev .schedule-live-container .sl-tag.sl-status-live { background: var(--f26-red); color: #fff; }
html.f26c .f26-ev .schedule-live-container .sl-tag.sl-status-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: f26-res-live 1.4s ease-in-out infinite;
}
@keyframes f26-res-live { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-ev .schedule-live-container .sl-tag.sl-status-live::before { animation: none; }
}
html.f26c .f26-ev .schedule-live-container .sl-phase {
    color: var(--f26-mute);
    font-size: 12px;
    font-weight: 700;
}

/* Podio de cada prueba: tres placas. min-width:0 deja que se ajusten al
   ancho de la tarjeta (antes la tercera se salía y tapaba el desplegable). */
html.f26c .f26-ev .schedule-live-container .sl-podium-steps {
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
}
html.f26c .f26-ev .schedule-live-container .sl-step {
    flex: 1 1 0;
    min-width: 0;
    gap: 10px;
    padding: 9px 12px 9px 10px;
    border: 0 !important;
    border-radius: 10px;
    background: var(--f26-tint) !important;
    box-shadow: inset 3px 0 0 var(--f26-step, var(--f26-mute-2));
}
html.f26c .f26-ev .schedule-live-container .sl-step.s1 { --f26-step: var(--f26-gold); background: var(--f26-gold-soft) !important; }
html.f26c .f26-ev .schedule-live-container .sl-step.s2 { --f26-step: var(--f26-silver); }
html.f26c .f26-ev .schedule-live-container .sl-step.s3 { --f26-step: var(--f26-bronze); }
html.f26c .f26-ev .schedule-live-container .sl-step .rank {
    width: 26px;
    height: 26px;
    background: var(--f26-step, var(--f26-mute-2)) !important;
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 900;
}
html.f26c .f26-ev .schedule-live-container .sl-step .s-name {
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
}
html.f26c .f26-ev .schedule-live-container .sl-step .s-club {
    margin-top: 1px;
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .f26-ev .schedule-live-container .sl-step .s-time,
html.f26c .f26-ev .schedule-live-container .sl-step.s1 .s-time,
html.f26c .f26-ev .schedule-live-container .sl-step.s2 .s-time,
html.f26c .f26-ev .schedule-live-container .sl-step.s3 .s-time {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* Botón de desplegar (también en el de documentos) */
html.f26c .f26-ev .schedule-live-container .sl-expand-btn {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    font-size: 12px;
}
html.f26c .f26-ev .schedule-live-container .sl-expand-btn:hover { background: var(--f26-tint); }
html.f26c .f26-ev .schedule-live-container .sl-event-card.open .sl-expand-btn,
html.f26c .f26-ev .schedule-live-container .sl-expand-btn.open {
    border-color: var(--f26-ink);
    background: var(--f26-ink);
    color: #fff;
}

/* Detalle desplegado (SchDetail) */
html.f26c .f26-ev .schedule-live-container .sl-event-detail {
    border-top: 1px solid var(--f26-line);
    background: var(--f26-tint);
}
html.f26c .f26-ev .sl-event-detail .sd-cap-bar { width: 4px; height: 14px; background: var(--f26-red); }
html.f26c .f26-ev .sl-event-detail .sd-cap-text { color: var(--f26-ink); font-size: 12.5px; font-weight: 900; letter-spacing: .08em; }
html.f26c .f26-ev .sl-event-detail .sd-cap-sub { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-ev .sl-event-detail .sd-cap-sep { color: var(--f26-mute-2); }
html.f26c .f26-ev .sl-event-detail .results-unified-table {
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
}
html.f26c .f26-ev .sl-event-detail .results-table-new th {
    padding: 10px 12px 8px;
    color: var(--f26-mute) !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}
html.f26c .f26-ev .sl-event-detail .results-table-new td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--f26-tint);
}
html.f26c .f26-ev .sl-event-detail .results-table-new tbody tr:hover td { background: #FAFAFC; }
html.f26c .f26-ev .sl-event-detail .rank-chip {
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-weight: 900;
}
html.f26c .f26-ev .sl-event-detail .rank-chip--p1 { background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .f26-ev .sl-event-detail .rank-chip--p2 { background: var(--f26-silver) !important; color: var(--f26-ink) !important; }
html.f26c .f26-ev .sl-event-detail .rank-chip--p3 { background: var(--f26-bronze) !important; color: var(--f26-ink) !important; }
html.f26c .f26-ev .sl-event-detail .athlete-name { color: var(--f26-ink) !important; font-size: 15px; font-weight: 800; }
html.f26c .f26-ev .sl-event-detail .club-name { color: var(--f26-mute); font-size: 10.5px; }
html.f26c .f26-ev .sl-event-detail .diff-cell { color: var(--f26-mute); font-family: var(--f26-font); font-size: 13px; font-weight: 700; }
html.f26c .f26-ev .sl-event-detail .time-badge {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
}
/* «Ver clasificación completa» en la primera línea de la tabla (SchDetail, solo FETRI): el título a la izquierda y
   el botón a la derecha, siempre entero. La línea es un contenedor: si en ella no cabe todo (panel de menos de
   760 px), el título se apila, con la prueba y los clasificados debajo y sin puntos; con menos de 480 px el botón
   dice «Ver todos» y lo apilado pasa por debajo de él, a todo el ancho */
html.f26c .f26-ev .sl-event-detail .sd-cap--act {
    container: sdcap / inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 12px;
    padding: 0 2px 10px;
}
html.f26c .f26-ev .sl-event-detail .sd-cap-title { min-width: 0; line-height: 1.45; overflow-wrap: anywhere; }
html.f26c .f26-ev .sl-event-detail .sd-cap-head { white-space: nowrap; }
html.f26c .f26-ev .sl-event-detail .sd-cap--act .sd-cap-bar { display: inline-block; margin-right: 7px; vertical-align: -2px; }
html.f26c .f26-ev .sl-event-detail .sd-cap-sep { padding: 0 2px; }
/* «106 clasificados» no se parte: si el título no cabe, baja entero tras el punto */
html.f26c .f26-ev .sl-event-detail .sd-cap-n { white-space: nowrap; }
html.f26c .f26-ev .sl-event-detail .sd-cap-n .sd-cap-sep { white-space: normal; }
html.f26c .f26-ev .sl-event-detail .sd-cap-all {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-family: var(--f26-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
html.f26c .f26-ev .sl-event-detail .sd-cap-all::after { content: ""; position: absolute; inset: -4px -2px; }
html.f26c .f26-ev .sl-event-detail .sd-cap-all:hover { background: var(--f26-ink); }
html.f26c .f26-ev .sl-event-detail .sd-cap-all:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-ev .sl-event-detail .sd-cap-all i { font-size: 10px; }
html.f26c .f26-ev .sl-event-detail .sd-cap-all-s { display: none; }
@container sdcap (max-width: 759.98px) {
    html.f26c .f26-ev .sl-event-detail .sd-cap--act .sd-cap-sub { display: block; margin-top: 1px; padding-left: 11px; }
    html.f26c .f26-ev .sl-event-detail .sd-cap--act .sd-cap-sep { display: none; }
}
@container sdcap (max-width: 479.98px) {
    /* Móvil: «Clasificación» y el botón en la primera fila; la prueba y los clasificados debajo, a todo el ancho */
    html.f26c .f26-ev .sl-event-detail .sd-cap--act .sd-cap-title { display: contents; }
    html.f26c .f26-ev .sl-event-detail .sd-cap--act .sd-cap-head { grid-column: 1; grid-row: 1; min-width: 0; }
    html.f26c .f26-ev .sl-event-detail .sd-cap--act .sd-cap-sub { grid-column: 1 / -1; min-width: 0; }
    html.f26c .f26-ev .sl-event-detail .sd-cap-all { grid-column: 2; grid-row: 1; height: 40px; padding: 0 14px; }
    html.f26c .f26-ev .sl-event-detail .sd-cap-all-l { display: none; }
    html.f26c .f26-ev .sl-event-detail .sd-cap-all-s { display: inline; }
}
html.f26c .f26-ev .sl-event-detail .sd-foot { margin-top: 12px; }
html.f26c .f26-ev .sl-event-detail .sd-foot-info { color: var(--f26-mute); font-weight: 800; }
html.f26c .f26-ev .sl-event-detail .sd-page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    color: var(--f26-ink);
    font-size: 11px;
}
html.f26c .f26-ev .sl-event-detail .sd-foot-all {
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
}
html.f26c .f26-ev .sl-event-detail .sd-foot-all:hover { background: var(--f26-ink); color: #fff; }
html.f26c .f26-ev .sl-event-detail .sub23-header-new {
    border-radius: 6px;
    background: var(--f26-gold);
    color: var(--f26-ink);
    font-weight: 900;
    letter-spacing: .06em;
}

/* Tableta y escritorio estrecho: en una sola fila no caben los nombres, así
   que el podio baja a una segunda fila a todo el ancho de la tarjeta. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    html.f26c .f26-ev .schedule-live-container .sl-card-head { flex-wrap: wrap; row-gap: 12px; }
    html.f26c .f26-ev .schedule-live-container .sl-title-block { flex: 1 1 0; width: auto; }
    html.f26c .f26-ev .schedule-live-container .sl-podium-steps { flex: 1 1 100%; order: 3; }
    html.f26c .f26-ev .schedule-live-container .sl-step .s-name { font-size: 13.5px; }
    html.f26c .f26-ev .schedule-live-container .sl-step .s-time { font-size: 14px; }
}

/* Móvil: el podio, que antes se ocultaba, pasa a una lista compacta
   bajo el nombre de la prueba. */
@media (max-width: 767.98px) {
    html.f26c .f26-ev .schedule-live-container > .card { margin-bottom: 10px; padding: 4px; }
    html.f26c .f26-ev .schedule-live-container .btns-cont > .btn {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0 14px !important;
        font-size: 12px !important;
    }

    html.f26c .f26-ev .schedule-live-container .sl-filterbar { gap: 8px; padding: 10px; }
    html.f26c .f26-ev .schedule-live-container .sl-fb-seg { flex: 1 1 100%; }
    html.f26c .f26-ev .schedule-live-container .sl-fb-seg-btn { flex: 1 1 0; }
    html.f26c .f26-ev .schedule-live-container .sl-fb-select { flex: 1 1 calc(50% - 4px); min-width: 0; }
    /* Los filtros de la columna derecha abren hacia la izquierda: si no, la
       lista se sale de la pantalla. */
    html.f26c .f26-ev .schedule-live-container .sl-filterbar .sl-fb-select:nth-of-type(even) .sl-fb-menu {
        left: auto;
        right: 0;
    }

    html.f26c .f26-ev .schedule-live-container .sl-day-header { padding: 11px 14px 14px; }
    html.f26c .f26-ev .schedule-live-container .sl-day-title { font-size: 14px; }
    html.f26c .f26-ev .schedule-live-container .sl-timeline { padding-left: 18px; }
    html.f26c .f26-ev .schedule-live-container .sl-timeline::before { left: 6px; }
    html.f26c .f26-ev .schedule-live-container .sl-time-node {
        top: 0;
        margin-bottom: 6px;
        padding: 0;
        background: none;
        color: var(--f26-text-2);
        font-size: 13px;
    }
    html.f26c .f26-ev .schedule-live-container .sl-card-head {
        flex-wrap: wrap;
        gap: 10px 12px;
        min-height: 0;
        padding: 12px 12px 12px 14px;
    }
    html.f26c .f26-ev .schedule-live-container .sl-title-block { flex: 1 1 0; width: auto; }
    html.f26c .f26-ev .schedule-live-container .sl-cat-name { font-size: 14px; }
    html.f26c .f26-ev .schedule-live-container .sl-expand-btn { width: 36px; height: 36px; font-size: 12px; }
    html.f26c .f26-ev .schedule-live-container .sl-podium-steps {
        display: flex;
        flex: 1 1 100%;
        flex-direction: column;
        order: 3;
        gap: 4px;
    }
    html.f26c .f26-ev .schedule-live-container .sl-step {
        flex: 0 0 auto;
        gap: 10px;
        padding: 7px 12px 7px 9px;
        border-radius: 8px;
    }
    html.f26c .f26-ev .schedule-live-container .sl-step .rank { width: 22px; height: 22px; font-size: 11px; }
    html.f26c .f26-ev .schedule-live-container .sl-step .s-name { font-size: 13.5px; }
    html.f26c .f26-ev .schedule-live-container .sl-step .s-club { display: none; }
    html.f26c .f26-ev .schedule-live-container .sl-step .s-time { font-size: 14px; }

    html.f26c .f26-ev .sl-event-detail .results-table-new td { padding: 8px 6px; }
    html.f26c .f26-ev .sl-event-detail .results-table-new th:first-child,
    html.f26c .f26-ev .sl-event-detail .results-table-new td:first-child { width: 40px; padding-left: 8px; padding-right: 2px; }
    html.f26c .f26-ev .sl-event-detail .results-table-new th:last-child,
    html.f26c .f26-ev .sl-event-detail .results-table-new td:last-child { padding-right: 12px; }
    html.f26c .f26-ev .sl-event-detail .athlete-flag { margin-right: 8px; }
    html.f26c .f26-ev .sl-event-detail .athlete-name { font-size: 13.5px; }
    html.f26c .f26-ev .sl-event-detail .time-badge { font-size: 14px; }
    html.f26c .f26-ev .sl-event-detail .sd-foot { justify-content: center; }
    html.f26c .f26-ev .sl-event-detail .sd-cap-text { font-size: 12px; }
    html.f26c .f26-ev .sl-event-detail .sd-foot-actions { flex-wrap: wrap; justify-content: center; }
}

/* =====================================================================
   SUBPESTAÑAS · cabecera común (Volver / Excel de clubes)
   ===================================================================== */
html.f26c .f26-er .event-results-header {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
html.f26c .f26-er .event-results-actions { width: auto; flex: 0 0 auto; flex-wrap: nowrap; }
html.f26c .f26-er .rk-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
html.f26c .f26-er .rk-pill-btn i { margin: 0 !important; font-size: 12px; }
html.f26c .f26-er .rk-pill-btn:hover { border-color: var(--f26-ink); background: #fff; }
@media (max-width: 767.98px) {
    html.f26c .f26-er .event-results-header { padding: 0; }
    html.f26c .f26-er .event-results-actions .rk-pill-btn { flex: 0 0 auto; }
}

/* ---------- Tarjetas con barra de título (Inscripciones, Federación, Club) ---------- */
html.f26c .f26-er .inscriptions-card,
html.f26c .f26-er .efr-card,
html.f26c .f26-er .ecr-card {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-er .inscriptions-header,
html.f26c .f26-er .efr-card-header,
html.f26c .f26-er .ecr-card-header {
    gap: 12px;
    min-height: 62px;
    padding: 14px 20px 17px;
}
html.f26c .f26-er .inscriptions-header > i,
html.f26c .f26-er .efr-card-header > i,
html.f26c .f26-er .ecr-card-header > i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    border-radius: 8px;
    background: var(--f26-red);
    color: #fff;
    font-size: 14px;
}
html.f26c .f26-er .inscriptions-header h5,
html.f26c .f26-er .efr-card-header h5,
html.f26c .f26-er .ecr-card-header h5 {
    margin: 0;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 16px !important; /* style.css fija h5 a 18px !important */
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: uppercase;
}
html.f26c .f26-er .inscriptions-count,
html.f26c .f26-er .efr-card-count,
html.f26c .f26-er .ecr-card-count {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 1;
}

/* Buscadores y selectores de página */
html.f26c .f26-er .registrations-search .form-control,
html.f26c .f26-er .efr-search .form-control,
html.f26c .f26-er .ecr-search .form-control {
    min-height: 44px;
    padding-left: 18px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .f26-er .registrations-search .form-control:focus,
html.f26c .f26-er .efr-search .form-control:focus,
html.f26c .f26-er .ecr-search .form-control:focus {
    background: #fff;
    box-shadow: var(--f26-focus);
}
/* El buscador de deportistas va sobre el fondo de la página, no en una tarjeta. */
html.f26c .f26-er .registrations-toolbar:not(.inscriptions-body .registrations-toolbar) .form-control {
    border: 1px solid var(--f26-line);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-er .registrations-toolbar:not(.inscriptions-body .registrations-toolbar) .form-control:focus { box-shadow: var(--f26-focus); }
html.f26c .f26-er .registrations-search .search-clear { right: 16px; }
html.f26c .f26-er .search-spinner { color: var(--f26-red); }
html.f26c .f26-er .registrations-search .form-control::placeholder,
html.f26c .f26-er .efr-search .form-control::placeholder,
html.f26c .f26-er .ecr-search .form-control::placeholder { color: var(--f26-mute); font-weight: 500; }
html.f26c .f26-er .registrations-per-page select,
html.f26c .f26-er .efr-per-page select,
html.f26c .f26-er .ecr-per-page select,
html.f26c .f26-er .registrations-per-page .form-select,
html.f26c .f26-er .efr-per-page .form-select,
html.f26c .f26-er .ecr-per-page .form-select {
    min-height: 38px;
    border: 0;
    border-radius: var(--f26-pill);
    background-color: var(--f26-tint);
    color: var(--f26-ink);
    font-weight: 700;
}
html.f26c .f26-er .toolbar-actions .rk-pill-btn { min-height: 40px; }

/* Encabezados de categoría dentro de las listas */
html.f26c .f26-er .efr-cat-title,
html.f26c .f26-er .ecr-cat-title,
html.f26c .f26-er .category-heading {
    padding: 10px 14px;
    border-left: 4px solid var(--f26-red);
    border-radius: 8px;
    background: var(--f26-tint) !important;
    box-shadow: none;
    color: var(--f26-ink) !important;
    font-family: var(--f26-font);
    font-size: 12.5px !important;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-er .efr-cat-title i,
html.f26c .f26-er .ecr-cat-title i,
html.f26c .f26-er .category-heading i { color: var(--f26-red); }

/* Filas de deportista (Inscripciones, Buscar, Federación, Club) */
html.f26c .f26-er .registration-item,
html.f26c .f26-er .efr-athlete-item,
html.f26c .f26-er .ecr-athlete-item {
    border: 1px solid var(--f26-line);
    border-left: 3px solid var(--f26-red);
    border-radius: 12px;
    box-shadow: none;
}
html.f26c .f26-er .registration-item:hover,
html.f26c .f26-er .efr-athlete-item:hover,
html.f26c .f26-er .ecr-athlete-item:hover {
    border-color: var(--f26-mute-2);
    border-left-color: var(--f26-red);
    background: #FAFAFC;
    box-shadow: var(--f26-shadow-1);
    transform: none;
}
html.f26c .f26-er .reg-athlete,
html.f26c .f26-er .efr-athlete-name,
html.f26c .f26-er .ecr-athlete-name {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 800;
}
html.f26c .f26-er .reg-club,
html.f26c .f26-er .efr-athlete-club,
html.f26c .f26-er .ecr-athlete-fed {
    color: var(--f26-mute);
    font-weight: 700;
    letter-spacing: .02em;
}
html.f26c .f26-er .rk-avatar,
html.f26c .f26-er .efr-avatar,
html.f26c .f26-er .ecr-avatar {
    border: 0;
    border-radius: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-er .reg-pill,
html.f26c .f26-er .efr-pill,
html.f26c .f26-er .ecr-pill {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}
html.f26c .f26-er .reg-pill.reg-year,
html.f26c .f26-er .efr-pill-year,
html.f26c .f26-er .ecr-pill-year { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-er .reg-pill.reg-phase { background: var(--f26-ink); color: #fff; }
html.f26c .f26-er .reg-pill.reg-event { background: var(--f26-red); color: #fff; }
/* Dorsal en «Inscripciones»: ficha negra con el número en blanco, como el dorsal de la lista de salida */
html.f26c .f26-er .registration-item .reg-pill.reg-bib {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    background: var(--f26-ink);
    color: #fff;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-er .registration-item .reg-pill.reg-bib small { color: var(--f26-gold); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-er .registration-item .reg-pill.reg-phase { background: var(--f26-ink-3); }
html.f26c .f26-er .rk-chev,
html.f26c .f26-er .efr-chev,
html.f26c .f26-er .ecr-chev {
    width: 34px;
    height: 34px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
}
html.f26c .f26-er .rk-chev:hover,
html.f26c .f26-er .efr-chev:hover,
html.f26c .f26-er .ecr-chev:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .f26-er .registration-item:has(.registration-details:not(.d-none)) .rk-chev,
html.f26c .f26-er .efr-chev.open,
html.f26c .f26-er .ecr-chev.open {
    border-color: var(--f26-ink);
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-er .efr-chev.open i,
html.f26c .f26-er .ecr-chev.open i { color: #fff; }

/* Puestos (federación y club) */
html.f26c .f26-er .efr-pos-pill,
html.f26c .f26-er .ecr-pos-pill { font-weight: 900; }
html.f26c .f26-er .efr-pos-1,
html.f26c .f26-er .ecr-pos-1 { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-er .efr-pos-2,
html.f26c .f26-er .ecr-pos-2 { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-er .efr-pos-3,
html.f26c .f26-er .ecr-pos-3 { background: var(--f26-bronze); color: var(--f26-ink); }

/* Filas de federación y de club */
html.f26c .f26-er .efr-fed-row,
html.f26c .f26-er .ecr-club-row {
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: none;
}
html.f26c .f26-er .efr-fed-header,
html.f26c .f26-er .ecr-club-header { min-height: 58px; }
html.f26c .f26-er .efr-fed-header:hover,
html.f26c .f26-er .ecr-club-header:hover { background: #FAFAFC; }
html.f26c .f26-er .efr-fed-name,
html.f26c .f26-er .ecr-club-name {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 800;
}
html.f26c .f26-er .efr-fed-count,
html.f26c .f26-er .ecr-club-count {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 3px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-weight: 800;
}
html.f26c .f26-er .ecr-club-icon {
    border-radius: 8px;
    background: var(--f26-tint);
    color: var(--f26-ink);
}

/* Resultados por federación (19-11): tres niveles que se distinguen a simple vista.
   1) La federación abierta es una franja negra (como la cabecera de la tarjeta) con sus medallas.
   2) Cada prueba es un bloque blanco con su cabecera roja y el número de deportistas.
   3) Los deportistas son filas de la lista (sin tarjeta propia), separadas por una línea. */
html.f26c .f26-er .efr-fed-row { border: 1px solid var(--f26-line); overflow: hidden; }
html.f26c .f26-er .efr-fed-medals { display: inline-flex; gap: 3px; margin-left: 2px; }
html.f26c .f26-er .efr-medal { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
html.f26c .f26-er .efr-medal-1 { background: var(--f26-gold); }
html.f26c .f26-er .efr-medal-2 { background: var(--f26-silver); }
html.f26c .f26-er .efr-medal-3 { background: var(--f26-bronze); }
html.f26c .f26-er .efr-fed-row--open { border-color: var(--f26-ink); box-shadow: var(--f26-shadow-2); }
html.f26c .f26-er .efr-fed-row--open > .efr-fed-header {
    position: relative;
    isolation: isolate;
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-er .efr-fed-row--open > .efr-fed-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); pointer-events: none; }
html.f26c .f26-er .efr-fed-row--open > .efr-fed-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f26-grad-accent); }
html.f26c .f26-er .efr-fed-row--open > .efr-fed-header:hover { background: var(--f26-ink-2); }
html.f26c .f26-er .efr-fed-row--open .efr-fed-name,
html.f26c .f26-er .efr-fed-row--open > .efr-fed-header .efr-chevron { color: #fff; }
html.f26c .f26-er .efr-fed-row--open .efr-fed-count { background: rgba(255,255,255,.14); color: #fff; }
html.f26c .f26-er .efr-fed-row--open .efr-fed-flag { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
html.f26c .f26-er .efr-fed-row--open > .efr-fed-content { border-top: 0; padding: 12px; background: var(--f26-bg); }
html.f26c .f26-er .efr-fed-row--open .efr-cat-section {
    margin-bottom: 12px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
html.f26c .f26-er .efr-fed-row--open .efr-cat-section:last-child { margin-bottom: 0; }
html.f26c .f26-er .efr-fed-row--open .efr-cat-title {
    justify-content: space-between;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 0;
    background: var(--f26-red) !important;
    color: #fff !important;
    font-size: 12px !important;
}
html.f26c .f26-er .efr-cat-n {
    flex: none;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: var(--f26-pill);
    background: rgba(0,0,0,.22);
    color: #fff;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0;
}
html.f26c .f26-er .efr-fed-row--open .efr-athletes-list { gap: 0; }
html.f26c .f26-er .efr-fed-row--open .efr-athlete-item {
    border: 0;
    border-bottom: 1px solid var(--f26-tint-2);
    border-radius: 0;
    margin: 0;
}
html.f26c .f26-er .efr-fed-row--open .efr-athlete-item:last-child { border-bottom: 0; }
html.f26c .f26-er .efr-fed-row--open .efr-athlete-item:hover { border-color: var(--f26-tint-2); box-shadow: none; background: #FAFAFC; }
@media (max-width: 575.98px) {
    html.f26c .f26-er .efr-fed-row--open > .efr-fed-content { padding: 8px; }
    html.f26c .f26-er .efr-fed-medals { display: none; }
}

/* Tiempo en las filas de federación y club: placa como en la clasificación */
html.f26c .f26-er .efr-pill-result,
html.f26c .f26-er .ecr-pill-result {
    border: 1.5px solid var(--f26-ink);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-er .efr-pill-result-error,
html.f26c .f26-er .ecr-pill-result-error {
    border-color: var(--f26-red);
    background: var(--f26-red-soft);
    color: var(--f26-red-dk);
}

@media (max-width: 575.98px) {
    html.f26c .f26-er .inscriptions-header,
    html.f26c .f26-er .efr-card-header,
    html.f26c .f26-er .ecr-card-header { min-height: 56px; padding: 12px 14px 15px; gap: 10px; }
    html.f26c .f26-er .inscriptions-header h5,
    html.f26c .f26-er .efr-card-header h5,
    html.f26c .f26-er .ecr-card-header h5 { font-size: 14px !important; }
    html.f26c .f26-er .inscriptions-count,
    html.f26c .f26-er .efr-card-count,
    html.f26c .f26-er .ecr-card-count { padding: 3px 8px; font-size: 10.5px; }
    html.f26c .f26-er .efr-fed-count,
    html.f26c .f26-er .ecr-club-count { padding: 2px 7px; font-size: 10.5px; }

    /* Filas de deportista: nombre a todo el ancho y datos debajo */
    html.f26c .f26-er .efr-athlete-name-row,
    html.f26c .f26-er .ecr-athlete-name-row { flex: 1 1 100%; }
    html.f26c .f26-er .efr-athlete-meta,
    html.f26c .f26-er .ecr-athlete-meta {
        flex: 1 1 100%;
        justify-content: flex-start;
        padding-left: 36px;
    }
    html.f26c .f26-er .efr-athlete-meta .efr-chev,
    html.f26c .f26-er .ecr-athlete-meta .ecr-chev { margin-left: auto; }
}

/* Buscar: puesto, dorsal y tiempo */
html.f26c .f26-er .reg-pill.reg-pos,
html.f26c .f26-er .reg-pill.reg-bib { background: var(--f26-tint); color: var(--f26-text-2); }
html.f26c .f26-er .reg-pill.reg-pos.position-1 { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-er .reg-pill.reg-pos.position-2 { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-er .reg-pill.reg-pos.position-3 { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-er .reg-pill.reg-result {
    border: 1.5px solid var(--f26-ink);
    background: #fff;
    color: var(--f26-ink);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-er .reg-pill.reg-result.reg-result-dq {
    border-color: var(--f26-red);
    background: var(--f26-red-soft);
    color: var(--f26-red-dk);
}

/* Restos del tono arena de los componentes */
html.f26c .f26-er .registration-details {
    border-top-color: var(--f26-line);
    background-color: var(--f26-tint);
}
html.f26c .f26-er .skeleton-card { border-color: var(--f26-line); }
html.f26c .f26-er .lane-badge { border-color: var(--f26-line); background-color: var(--f26-tint); }

/* Paginación */
html.f26c .f26-er .pagination { gap: 4px; }
html.f26c .f26-er .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--f26-pill) !important;
    background: transparent;
    color: var(--f26-ink);
    font-weight: 800;
}
html.f26c .f26-er .pagination .page-link:hover { background: var(--f26-tint); }
html.f26c .f26-er .pagination .page-item.active .page-link { background: var(--f26-ink); color: #fff; }
html.f26c .f26-er .pagination .page-item.disabled .page-link { opacity: .4; }
html.f26c .f26-er .efr-page-btn,
html.f26c .f26-er .ecr-page-btn,
html.f26c .f26-er .pagination-button {
    border-radius: 50%;
    border-color: var(--f26-line);
    color: var(--f26-ink);
}

/* Estados vacíos y de carga */
html.f26c .f26-er .no-results-message {
    border: 1px dashed var(--f26-line);
    border-radius: 12px;
    background: #fff;
    color: var(--f26-mute);
    font-weight: 700;
}
html.f26c .f26-er .winners-container .alert-info {
    border: 1px dashed var(--f26-line) !important;
    border-radius: 12px;
    background: #fff;
    color: var(--f26-mute);
    font-weight: 700;
}

/* =====================================================================
   GANADORES
   ===================================================================== */
html.f26c .f26-er .category-row {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-er .category-row::after { display: none; }
html.f26c .f26-er .category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 18px;
    border-bottom: 0;
    font-family: var(--f26-font);
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-er .category-title.special::after {
    content: "\f054";
    margin-left: auto;
    color: var(--f26-gold);
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
    transition: transform .15s ease;
}
html.f26c .f26-er .category-title.special:hover { background: var(--f26-ink-2) !important; }
html.f26c .f26-er .category-title.special:hover::after { transform: translateX(3px); }
html.f26c .f26-er .gender-columns { gap: 24px; padding: 16px 18px 10px; }
html.f26c .f26-er .gender-title {
    margin-bottom: 4px;
    padding: 0 0 8px;
    border-bottom: 2px solid var(--f26-ink);
    border-radius: 0;
    background: transparent;
    color: var(--f26-ink);
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-er .winner-position {
    margin: 0 !important;
    padding: 10px 0;
    border-bottom: 1px solid var(--f26-tint-2);
}
html.f26c .f26-er .winner-card .winner-position:last-child { border-bottom: 0; }
html.f26c .f26-er .winner-name {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 800;
}
html.f26c .f26-er .winner-flag { border-radius: 2px; }
html.f26c .f26-er .winner-club {
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .f26-er .winner-time {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-er .medal-icon.medal-gold { color: var(--f26-gold-dk); }
html.f26c .f26-er .medal-icon.medal-silver { color: #9AA1AD; }
html.f26c .f26-er .medal-icon.medal-bronze { color: var(--f26-bronze); }
html.f26c .f26-er .winner-card .badge.bg-primary {
    border-radius: 6px;
    background: var(--f26-gold) !important;
    color: var(--f26-ink);
    font-weight: 900 !important;
    letter-spacing: .06em;
}
@media (max-width: 767.98px) {
    html.f26c .f26-er .category-title { padding: 11px 14px; font-size: 13.5px; }
    html.f26c .f26-er .gender-columns { gap: 18px; padding: 12px 14px 6px; }
    html.f26c .f26-er .winner-name { font-size: 14px; }
    html.f26c .f26-er .winner-time { font-size: 14px; }
}

/* =====================================================================
   ESTADÍSTICAS
   ===================================================================== */
html.f26c .f26-er .statistics-section {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-er .statistics-title {
    min-height: 54px;
    padding: 12px 16px 15px;
    border-bottom: 0;
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-er .statistics-title .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 34px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--f26-pill);
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}
html.f26c .f26-er .statistics-title .btn i { margin: 0 !important; }
html.f26c .f26-er .summary-card {
    border-radius: 12px;
    background: var(--f26-tint);
}
html.f26c .f26-er .stat-count {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-er .stat-label {
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-er .statistics-section .table > thead th,
html.f26c .f26-er .statistics-section .table > thead th.y {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 0;
    background: var(--f26-ink) !important;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: middle;
}
/* En pantallas grandes (videomarcadores) manda el escalado propio de ScheduleLive. */
@media (max-width: 1399.98px) {
    html.f26c .f26-er .statistics-section .table > thead th { font-size: 10.5px; }
}
html.f26c .f26-er .statistics-section .table > tbody > tr > td { border-color: var(--f26-tint-2); vertical-align: middle; }
html.f26c .f26-er .medal-counter { font-size: 13px; }
html.f26c .f26-er .gold-medal-stats { color: var(--f26-gold); }
html.f26c .f26-er .silver-medal-stats { color: var(--f26-silver); }
html.f26c .f26-er .bronze-medal-stats { color: var(--f26-bronze); }
html.f26c .f26-er .statistics-section .table .btn-sm {
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
}
html.f26c .f26-er .statistics-loading .loading-text { color: var(--f26-ink); font-weight: 800; }

/* ---------- Estadísticas compactas (19-11): una sola columna y letra contenida ----------
   ScheduleLive agranda la letra de toda .table-responsive desde 1400 px (pantallas de
   videomarcador); aquí no aplica: las estadísticas se leen como listas, no como marcador. */
html.f26c .f26-er .statistics-container { gap: 14px; }
html.f26c .f26-er .statistics-row { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
html.f26c .f26-er .statistics-row > .statistics-column { flex: none; width: 100%; }
html.f26c .f26-er .statistics-section { height: auto; margin-bottom: 14px; overflow: hidden; }
html.f26c .f26-er .statistics-row .statistics-section { margin-bottom: 0; }
html.f26c .f26-er .statistics-title { min-height: 46px; padding: 10px 14px 13px; font-size: 13px; }
html.f26c .f26-er .statistics-section .table-responsive,
html.f26c .f26-er .statistics-section .table-responsive .table th,
html.f26c .f26-er .statistics-section .table-responsive .table td,
html.f26c .f26-er .statistics-section .table-responsive .table .badge,
html.f26c .f26-er .statistics-section .table-responsive .table .btn { font-size: 13px !important; }
html.f26c .f26-er .statistics-section .table > thead th,
html.f26c .f26-er .statistics-section .table > thead th.y { font-size: 10.5px !important; padding-top: 8px; padding-bottom: 8px; }
html.f26c .f26-er .statistics-section .table > tbody > tr > td { padding-top: 6px; padding-bottom: 6px; line-height: 1.3; }
html.f26c .f26-er .statistics-section .table .medal-flag { width: 20px; height: 14px; object-fit: cover; margin-right: 6px; border-radius: 2px; }
html.f26c .f26-er .statistics-section .table .btn-sm { width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 11px !important; }
html.f26c .f26-er .summary-card.summary-compact { padding: 10px 8px !important; }
html.f26c .f26-er .summary-compact .stat-count { font-size: 24px !important; line-height: 1.1; }
html.f26c .f26-er .summary-compact .stat-label { font-size: 10.5px !important; }
html.f26c .f26-er .summary-compact small { font-size: 12px !important; }
html.f26c .f26-er .statistics-section .pagination-controls { padding: 8px 14px; font-size: 12px; }

/* Listas de reparto (federación, club, prueba): fila = nombre | barra H/M | total | % */
html.f26c .f26-er .f26-sh-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--f26-on-ink-mute); }
html.f26c .f26-er .f26-sh-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; }
html.f26c .f26-er .f26-sh-legend i.m { background: #6B6B78; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
html.f26c .f26-er .f26-sh-legend i.w { background: var(--f26-red); }
html.f26c .f26-er .f26-sh-head,
html.f26c .f26-er .f26-sh-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 76px 46px 54px;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
}
html.f26c .f26-er .f26-sh-head { padding-top: 8px; padding-bottom: 6px; color: var(--f26-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--f26-line); }
html.f26c .f26-er .f26-sh-head .n, html.f26c .f26-er .f26-sh-row .n { text-align: right; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-sh-list { list-style: none; margin: 0; padding: 0; }
html.f26c .f26-er .f26-sh-row { min-height: 40px; padding-top: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--f26-tint-2); font-size: 13px; }
html.f26c .f26-er .f26-sh-row:last-child { border-bottom: 0; }
html.f26c .f26-er .f26-sh-row:nth-child(even) { background: #FAFBFC; }
html.f26c .f26-er .f26-sh-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; color: var(--f26-ink); }
html.f26c .f26-er .f26-sh-name .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-er .f26-sh-flag { flex: none; width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--f26-line); }
html.f26c .f26-er .f26-sh-ico { flex: none; width: 16px; color: var(--f26-mute-2); font-size: 12px; text-align: center; }
html.f26c .f26-er .f26-sh-bar { position: relative; display: block; height: 18px; border-radius: 4px; background: var(--f26-tint); overflow: hidden; }
html.f26c .f26-er .f26-sh-fill {
    position: absolute; inset: 0 auto 0 0; width: var(--w);
    border-radius: 4px;
    background: linear-gradient(90deg, var(--f26-ink-3) 0 var(--m), var(--f26-red) var(--m) 100%);
}
html.f26c .f26-er .f26-sh-fill--one { background: var(--f26-red); }
html.f26c .f26-er .f26-sh-mf { text-align: right; font-size: 11px; font-weight: 700; color: var(--f26-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-sh-mf b { font-weight: 900; color: var(--f26-ink); }
html.f26c .f26-er .f26-sh-mf b.w { color: var(--f26-red); }
html.f26c .f26-er .f26-sh-tot { font-weight: 900; color: var(--f26-ink); }
html.f26c .f26-er .f26-sh-pct { color: var(--f26-mute); font-weight: 700; font-size: 12px; }

/* Bloques nuevos (F26EventInsights) */
html.f26c .f26-er .f26-ins-lead { margin: 0; padding: 10px 14px 4px; font-size: 13px; color: var(--f26-text-2); }
html.f26c .f26-er .f26-ins-lead b { color: var(--f26-ink); }
html.f26c .f26-er .f26-ins-key { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 6px 14px 8px; font-size: 11px; font-weight: 700; color: var(--f26-mute); }
html.f26c .f26-er .f26-ins-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
html.f26c .f26-er .f26-ins .fin { background: var(--f26-green); }
html.f26c .f26-er .f26-ins .dnf { background: var(--f26-gold); }
html.f26c .f26-er .f26-ins .dsq { background: var(--f26-red); }
html.f26c .f26-er .f26-ins .dns { background: var(--f26-mute-2); }
html.f26c .f26-er .f26-ins-list { list-style: none; margin: 0; padding: 0 0 4px; }
html.f26c .f26-er .f26-ins-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 6px 14px;
    border-bottom: 1px solid var(--f26-tint-2);
    font-size: 13px;
}
html.f26c .f26-er .f26-ins-row:last-child { border-bottom: 0; }
html.f26c .f26-er .f26-ins-ev { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; color: var(--f26-ink); }
html.f26c .f26-er .f26-ins-ev .fa-users { color: var(--f26-mute-2); font-size: 12px; margin-right: 4px; }
html.f26c .f26-er .f26-ins-stack { display: flex; height: 12px; border-radius: 3px; overflow: hidden; background: var(--f26-tint); }
html.f26c .f26-er .f26-ins-stack i { display: block; height: 100%; }
html.f26c .f26-er .f26-ins-pills { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; }
html.f26c .f26-er .f26-pill-n { min-width: 28px; padding: 2px 7px; border-radius: var(--f26-pill); background: var(--f26-ink); color: #fff; font-size: 12px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-pill-n.fin { background: var(--f26-green); }
html.f26c .f26-er .f26-pill-n.dnf, html.f26c .f26-er .f26-pill-n.gold { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-er .f26-pill-n.dsq { background: var(--f26-red); }
html.f26c .f26-er .f26-pill-n.dns { background: var(--f26-mute-2); }
html.f26c .f26-er .f26-pill-n .fa-medal { font-size: 10px; margin-left: 2px; }
html.f26c .f26-er .f26-ins-pct { min-width: 44px; text-align: right; font-weight: 800; color: var(--f26-mute); font-size: 12px; }
/* Tiempos */
html.f26c .f26-er .f26-ins-head,
html.f26c .f26-er .f26-ins-row--times { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(64px, .6fr)); }
html.f26c .f26-er .f26-ins-head { display: grid; gap: 12px; padding: 8px 14px 6px; border-bottom: 1px solid var(--f26-line); color: var(--f26-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .f26-er .f26-ins-head span:not(:first-child) { text-align: right; }
html.f26c .f26-er .f26-ins-cell { text-align: right; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-ins-cell em { display: none; }
html.f26c .f26-er .f26-ins-cell b, html.f26c .f26-er .f26-ins-bs b { display: inline-block; padding: 2px 8px; border-radius: var(--f26-pill); background: var(--f26-tint); color: var(--f26-ink); font-weight: 800; }
html.f26c .f26-er .f26-ins b.gold { background: var(--f26-gold); color: var(--f26-ink); }
/* Mejores parciales */
html.f26c .f26-er .f26-ins-row--best { grid-template-columns: minmax(0, .8fr) minmax(0, 3fr); }
html.f26c .f26-er .f26-ins-best { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px 10px; }
html.f26c .f26-er .f26-ins-bs { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; min-width: 0; }
html.f26c .f26-er .f26-ins-bs em { grid-column: 1 / -1; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--f26-mute); }
html.f26c .f26-er .f26-ins-bs b { font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-ins-bs .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--f26-text-2); }
/* Clubes top 10 */
html.f26c .f26-er .f26-ins-row--club { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 92px; }
html.f26c .f26-er .f26-ins-row--club .f26-sh-bar { height: 12px; }
/* Pirámide de edades */
html.f26c .f26-er .f26-ins-pyr { list-style: none; margin: 0; padding: 8px 14px 12px; }
html.f26c .f26-er .f26-ins-pyr li { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; height: 22px; font-size: 12px; }
html.f26c .f26-er .f26-ins-pyr .band { text-align: center; font-weight: 800; color: var(--f26-ink); font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-ins-pyr .m, html.f26c .f26-er .f26-ins-pyr .w { display: flex; align-items: center; gap: 6px; height: 100%; }
html.f26c .f26-er .f26-ins-pyr .m { justify-content: flex-end; }
html.f26c .f26-er .f26-ins-pyr i { display: block; height: 16px; min-width: 0; }
html.f26c .f26-er .f26-ins-pyr .m i { background: var(--f26-ink-3); border-radius: 3px 0 0 3px; }
html.f26c .f26-er .f26-ins-pyr .w i { background: var(--f26-red); border-radius: 0 3px 3px 0; }
html.f26c .f26-er .f26-ins-pyr .n { min-width: 18px; font-weight: 800; color: var(--f26-mute); font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-ins-pyr .m .n { text-align: right; }

/* Grupos de edad juntos al final de «Cómo acabó», «Tiempos» y «Mejores parciales», en una fila que se abre
   (F26EventInsights). Cerrada es una franja clara con la suma; abierta, negra, y sus pruebas debajo con un filete
   dorado a la izquierda, en las mismas columnas que el resto */
html.f26c .f26-er .f26-ins-ag { border-bottom: 1px solid var(--f26-tint-2); }
html.f26c .f26-er .f26-ins-ag:last-child { border-bottom: 0; }
html.f26c .f26-er .f26-ins-agbtn {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}
html.f26c .f26-er .f26-ins-agbtn:hover { background: var(--f26-tint-2); }
html.f26c .f26-er .f26-ins-agbtn:focus-visible { outline: 0; box-shadow: inset var(--f26-focus); }
html.f26c .f26-er .f26-ins-agbtn--plain { grid-template-columns: minmax(0, 1fr) auto; }
html.f26c .f26-er .f26-ins-agl { display: flex; align-items: center; gap: 8px; }
html.f26c .f26-er .f26-ins-agl > i { flex: none; width: 12px; font-size: 11px; text-align: center; transition: transform .2s ease; }
html.f26c .f26-er .f26-ins-agn {
    flex: none;
    padding: 1px 8px;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: 0 0 0 1px var(--f26-line);
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 800;
}
html.f26c .f26-er .f26-ins-aghint { color: var(--f26-red); font-size: 12px; font-weight: 800; white-space: nowrap; }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn { background: var(--f26-ink); color: #fff; }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn .f26-ins-ev { color: #fff; }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn .f26-ins-agl > i { transform: rotate(90deg); }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn .f26-ins-agn { background: var(--f26-ink-3); box-shadow: none; color: var(--f26-on-ink-mute); }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn .f26-ins-aghint { color: var(--f26-gold); }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn .f26-ins-pct { color: var(--f26-on-ink-mute); }
html.f26c .f26-er .f26-ins-ag.is-open > .f26-ins-agbtn .f26-ins-stack { background: var(--f26-ink-3); }
html.f26c .f26-er .f26-ins-sub { padding: 0; }
html.f26c .f26-er .f26-ins-sub > .f26-ins-row { box-shadow: inset 3px 0 0 var(--f26-gold); }
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-er .f26-ins-agl > i { transition: none; }
}

/* Medallero por federación y por club (F26MedalTable): una franja por federación o club; abierta se pone negra y
   debajo sale cada deportista con sus medallas, con las cifras en las mismas columnas */
html.f26c .f26-er .statistics-content:has(> .f26-md) { padding: 0; overflow: visible; }
html.f26c .f26-er .f26-md { --md-cols: minmax(0, 1fr) repeat(3, 52px) 64px 40px; }
html.f26c .f26-er .f26-md-head,
html.f26c .f26-er .f26-md-row,
html.f26c .f26-er .f26-md-arow {
    display: grid;
    grid-template-columns: var(--md-cols);
    align-items: center;
    column-gap: 8px;
    padding: 0 14px;
}
html.f26c .f26-er .f26-md-head { padding-top: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--f26-line); color: var(--f26-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .f26-er .f26-md .n { text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .f26-md-head .n i { font-size: 15px; }
html.f26c .f26-er .f26-md-head .g { color: var(--f26-gold); }
html.f26c .f26-er .f26-md-head .s { color: var(--f26-silver); }
html.f26c .f26-er .f26-md-head .b { color: var(--f26-bronze); }
html.f26c .f26-er .f26-md-list,
html.f26c .f26-er .f26-md-sub { list-style: none; margin: 0; padding: 0; }
html.f26c .f26-er .f26-md-item { border-bottom: 1px solid var(--f26-tint-2); }
html.f26c .f26-er .f26-md-item:last-child { border-bottom: 0; }
html.f26c .f26-er .f26-md-item:nth-child(even) > .f26-md-row { background: #FAFBFC; }
html.f26c .f26-er .f26-md-row {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--f26-ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
}
html.f26c .f26-er button.f26-md-row { cursor: pointer; }
html.f26c .f26-er .f26-md-item > button.f26-md-row:hover { background: var(--f26-tint); }
html.f26c .f26-er button.f26-md-row:focus-visible { outline: 0; box-shadow: inset var(--f26-focus); }
html.f26c .f26-er .f26-md-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 800; }
html.f26c .f26-er .f26-md-name .t { min-width: 0; overflow-wrap: break-word; }
html.f26c .f26-er .f26-md-flag { flex: none; width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--f26-line); }
html.f26c .f26-er .f26-md-ico { flex: none; width: 16px; color: var(--f26-mute-2); font-size: 12px; text-align: center; }
html.f26c .f26-er .f26-md-row .n { font-size: 14px; font-weight: 900; }
html.f26c .f26-er .f26-md .n.is-0 { color: var(--f26-mute-2); font-weight: 600; }
html.f26c .f26-er .f26-md .n.t b {
    display: inline-block;
    min-width: 32px;
    padding: 2px 8px;
    border-radius: var(--f26-pill);
    background: var(--f26-ink);
    color: #fff;
    font-weight: 900;
}
html.f26c .f26-er .f26-md-chev {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 28px;
    height: 28px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    font-size: 11px;
    transition: transform .2s ease;
}
/* Abierta: franja negra, total en dorado y la flecha hacia arriba */
html.f26c .f26-er .f26-md-item.is-open > .f26-md-row,
html.f26c .f26-er .f26-md-item.is-open > .f26-md-row:hover { background: var(--f26-ink); color: #fff; }
html.f26c .f26-er .f26-md-item.is-open > .f26-md-row .f26-md-ico { color: var(--f26-on-ink-mute); }
html.f26c .f26-er .f26-md-item.is-open > .f26-md-row .n.is-0 { color: var(--f26-on-ink-mute); }
html.f26c .f26-er .f26-md-item.is-open > .f26-md-row .n.t b { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-er .f26-md-item.is-open > .f26-md-row .f26-md-chev { border-color: transparent; background: var(--f26-ink-3); color: #fff; transform: rotate(180deg); }
/* Desglose */
html.f26c .f26-er .f26-md-panel { padding: 2px 0 8px; background: var(--f26-tint); }
html.f26c .f26-er .f26-md-arow { row-gap: 5px; padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--f26-tint-2); font-size: 13px; }
html.f26c .f26-er .f26-md-sub > .f26-md-arow:last-child { border-bottom: 0; }
html.f26c .f26-er .f26-md-sub + .f26-md-sub,
html.f26c .f26-er .f26-md-sub + .f26-md-note { border-top: 1px solid var(--f26-line); }
html.f26c .f26-er .f26-md-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 12px; border-left: 3px solid var(--f26-line); }
html.f26c .f26-er .is-own .f26-md-who { border-left-color: var(--f26-gold); }
html.f26c .f26-er .is-team .f26-md-who { border-left-color: var(--f26-red); }
html.f26c .f26-er .f26-md-who .nm { min-width: 0; color: var(--f26-ink); font-weight: 800; overflow-wrap: break-word; }
html.f26c .f26-er .f26-md-who .nm > i { margin-right: 6px; color: var(--f26-mute-2); font-size: 12px; }
html.f26c .f26-er .is-own .f26-md-who .nm > i { color: var(--f26-gold-dk); }
html.f26c .f26-er .f26-md-who .club { min-width: 0; color: var(--f26-mute); font-size: 11.5px; font-weight: 700; overflow-wrap: break-word; }
html.f26c .f26-er .f26-md-who .club > i { margin-right: 3px; font-size: 10px; }
html.f26c .f26-er .f26-md-arow .n { font-size: 13px; font-weight: 800; color: var(--f26-ink); }
html.f26c .f26-er .f26-md-arow .n.t b { min-width: 28px; padding: 1px 7px; background: #fff; box-shadow: 0 0 0 1px var(--f26-line); color: var(--f26-ink); }
/* Medallas de cada deportista: placa con el metal, la prueba y la categoría si aporta algo */
html.f26c .f26-er .f26-md-medals { grid-column: 1; display: flex; flex-wrap: wrap; gap: 5px 6px; min-width: 0; padding-left: 15px; }
html.f26c .f26-er .f26-md-medal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 2px 9px 2px 2px;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: 0 0 0 1px var(--f26-line);
    color: var(--f26-text-2);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
}
html.f26c .f26-er .f26-md-medal b { flex: none; padding: 2px 8px; border-radius: var(--f26-pill); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .f26-er .f26-md-medal.is-1 b { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-er .f26-md-medal.is-2 b { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-er .f26-md-medal.is-3 b { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-er .f26-md-medal .ev { min-width: 0; overflow-wrap: break-word; }
html.f26c .f26-er .f26-md-medal em { flex: none; color: var(--f26-mute); font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .f26-er .f26-md-medal em.is-sub23 { color: var(--f26-red); }
html.f26c .f26-er .f26-md-note { margin: 0; padding: 9px 14px 3px 29px; color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-er .f26-md-chev { transition: none; }
}
/* Escritorio: cada deportista en una sola franja, con sus medallas junto al nombre. Las cinco columnas de la
   derecha miden lo mismo que en la franja de la federación o el club, así que las cifras siguen alineadas */
@media (min-width: 992px) {
    html.f26c .f26-er .f26-md-arow {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr) repeat(3, 52px) 64px 40px;
        grid-template-areas: "who med g s b t x";
    }
    html.f26c .f26-er .f26-md-arow > .f26-md-who { grid-area: who; }
    html.f26c .f26-er .f26-md-arow > .f26-md-medals { grid-area: med; padding-left: 0; }
    html.f26c .f26-er .f26-md-arow > .n.g { grid-area: g; }
    html.f26c .f26-er .f26-md-arow > .n.s { grid-area: s; }
    html.f26c .f26-er .f26-md-arow > .n.b { grid-area: b; }
    html.f26c .f26-er .f26-md-arow > .n.t { grid-area: t; }
    html.f26c .f26-er .f26-md-arow > .f26-md-x { grid-area: x; }
}
@media (max-width: 767.98px) {
    /* Móvil: en el desglose basta el total de cada deportista (sus medallas ya dicen de qué metal son) y así el
       nombre y el club tienen todo el ancho */
    html.f26c .f26-er .f26-md-arow > .n.g,
    html.f26c .f26-er .f26-md-arow > .n.s,
    html.f26c .f26-er .f26-md-arow > .n.b { display: none; }
    html.f26c .f26-er .f26-md-arow > .f26-md-who { grid-column: 1 / 5; }
    html.f26c .f26-er .f26-md { --md-cols: minmax(0, 1fr) repeat(3, 28px) 40px 28px; }
    html.f26c .f26-er .f26-md-head,
    html.f26c .f26-er .f26-md-row,
    html.f26c .f26-er .f26-md-arow { column-gap: 5px; padding-left: 10px; padding-right: 10px; }
    html.f26c .f26-er .f26-md-head .n i { font-size: 13px; }
    html.f26c .f26-er .f26-md-head .n:nth-last-child(2) { font-size: 9.5px; letter-spacing: .02em; }
    html.f26c .f26-er .f26-md-row .n { font-size: 13px; }
    html.f26c .f26-er .f26-md .n.t b { min-width: 0; padding: 2px 6px; }
    html.f26c .f26-er .f26-md-name { gap: 6px; }
    html.f26c .f26-er .f26-md-who { padding-left: 8px; }
    /* Las medallas usan todo el ancho de la fila, no solo la columna del nombre */
    html.f26c .f26-er .f26-md-medals { grid-column: 1 / -1; padding-left: 11px; }
    html.f26c .f26-er .f26-md-medal { font-size: 11px; }
    html.f26c .f26-er .f26-md-note { padding-left: 21px; }
    html.f26c .f26-er .f26-ins-agbtn--plain { grid-template-columns: minmax(0, 1fr) auto; }
    html.f26c .f26-er .f26-ins-agbtn--plain .f26-ins-ev { grid-column: auto; }
    /* «Cómo acabó»: la fila de los grupos de edad lleva el nombre en su propia línea (con las cifras al lado no cabe)
       y debajo las cifras y la barra, en el mismo sitio que en las demás pruebas */
    html.f26c .f26-er .f26-ins-agbtn:not(.f26-ins-agbtn--plain) > .f26-ins-agl { grid-column: 1 / -1; }
    html.f26c .f26-er .f26-ins-agbtn:not(.f26-ins-agbtn--plain) > .f26-ins-pills { grid-column: 1 / -1; grid-row: 2; }
    html.f26c .f26-er .f26-ins-agbtn:not(.f26-ins-agbtn--plain) > .f26-ins-stack { grid-row: 3; }
}
@media (max-width: 359.98px) {
    /* Muy estrecho: la flecha y la franja negra ya dicen que se abre; el «Ver las N» no cabe */
    html.f26c .f26-er .f26-ins-aghint { display: none; }
    /* Medalleros: cifras más juntas para que el nombre de la federación o el club no se parta a mitad de palabra */
    html.f26c .f26-er .f26-md { --md-cols: minmax(0, 1fr) repeat(3, 22px) 34px 24px; }
    html.f26c .f26-er .f26-md-head,
    html.f26c .f26-er .f26-md-row,
    html.f26c .f26-er .f26-md-arow { column-gap: 4px; padding-left: 8px; padding-right: 8px; }
    html.f26c .f26-er .f26-md-row { font-size: 12.5px; }
    html.f26c .f26-er .f26-md-row .n { font-size: 12.5px; }
    html.f26c .f26-er .f26-md-chev { width: 24px; height: 24px; font-size: 10px; }
    html.f26c .f26-er .f26-md-head .n:nth-last-child(2) { font-size: 9px; letter-spacing: 0; }
    html.f26c .f26-er .f26-md-medals { padding-left: 9px; }
    html.f26c .f26-er .f26-md-note { padding-left: 17px; }
}

@media (max-width: 767.98px) {
    html.f26c .f26-er .f26-sh-head { display: none; }
    html.f26c .f26-er .f26-sh-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name tot pct" "bar mf mf"; row-gap: 5px; column-gap: 10px; padding: 8px 10px; }
    html.f26c .f26-er .f26-sh-mf { grid-area: mf; font-size: 10.5px; }
    html.f26c .f26-er .f26-sh-name { grid-area: name; }
    html.f26c .f26-er .f26-sh-bar { grid-area: bar; height: 14px; }
    html.f26c .f26-er .f26-sh-tot { grid-area: tot; }
    html.f26c .f26-er .f26-sh-pct { grid-area: pct; min-width: 42px; }
    html.f26c .f26-er .f26-sh-legend { font-size: 10px; }
    html.f26c .f26-er .f26-ins-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding: 8px 10px; }
    html.f26c .f26-er .f26-ins-stack { grid-column: 1 / -1; grid-row: 2; }
    html.f26c .f26-er .f26-ins-head { display: none; }
    html.f26c .f26-er .f26-ins-row--times { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 6px; }
    html.f26c .f26-er .f26-ins-row--times .f26-ins-ev { grid-column: 1 / -1; }
    html.f26c .f26-er .f26-ins-cell { text-align: left; }
    html.f26c .f26-er .f26-ins-cell em { display: block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--f26-mute); }
    html.f26c .f26-er .f26-ins-cell b { padding: 2px 6px; font-size: 12px; }
    html.f26c .f26-er .f26-ins-row--best { grid-template-columns: 1fr; }
    html.f26c .f26-er .f26-ins-best { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.f26c .f26-er .f26-ins-row--club { grid-template-columns: minmax(0, 1fr) auto; }
    html.f26c .f26-er .f26-ins-row--club .f26-sh-bar { grid-column: 1 / -1; grid-row: 2; }
    html.f26c .f26-er .f26-ins-lead, html.f26c .f26-er .f26-ins-key { padding-left: 10px; padding-right: 10px; }
    html.f26c .f26-er .f26-ins-pyr { padding: 8px 10px 12px; }
    html.f26c .f26-er .f26-ins-pyr li { grid-template-columns: 1fr 52px 1fr; }
    html.f26c .f26-er .statistics-title { font-size: 12px; }
    html.f26c .f26-er .summary-compact .stat-count { font-size: 20px !important; }
}

/* =====================================================================
   CLASIFICACIÓN DE UNA PRUEBA (ResultsLive)
   ===================================================================== */
html.f26c .rl-toolbar {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .rl-back-btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .rl-back-btn:hover { background: var(--f26-tint-2); }
html.f26c .rl-pill-btn {
    min-height: 40px;
    border-radius: var(--f26-pill);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 800;
}
html.f26c .rl-pill-btn:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .rl-pill-btn.primary { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }
html.f26c .rl-pill-btn.primary:hover { background: var(--f26-red); border-color: var(--f26-red); }
html.f26c .rl-icon-btn {
    border-radius: 50%;
    color: var(--f26-ink);
}
html.f26c .rl-icon-btn:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .rl-status-badge { min-height: 40px; border-radius: var(--f26-pill); }
html.f26c .pdf-files-card .btn-success {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: var(--f26-pill);
    font-size: 12px;
}
html.f26c .pdf-files-card .btn-success i { margin: 0 !important; }

html.f26c .rl-cat-title {
    font-family: var(--f26-font);
    font-weight: 900;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.f26c .rl-section-head h2 {
    font-family: var(--f26-font);
    font-weight: 900;
}

html.f26c .rl-switch,
html.f26c .rl-seg-t { background: var(--f26-mute-2); }
html.f26c .rl-toggle.on .rl-switch { background: var(--f26-red); }
html.f26c .rl-club-row:hover,
html.f26c .rl-club-members { background: #FAFAFC; }
html.f26c .rl-club-time {
    border: 1.5px solid var(--f26-ink);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* Cabecera de la tabla: negra con acento, como el resto de la ficha */
html.f26c .rl-table-card {
    border: 1px solid var(--f26-line);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .rl-table thead th {
    background: var(--f26-ink) !important;
    box-shadow: inset 0 -3px 0 var(--f26-red);
    color: #fff !important;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
}

/* Tiempo final: placa blanca con borde negro; dorsal, placa pequeña */
html.f26c .rl-result-time {
    padding: 4px 10px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .rl-bib {
    border: 1.5px solid var(--f26-ink);
    border-radius: 5px;
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

/* Botón flotante "volver al horario": apilado encima del de volver arriba
   (antes quedaban uno sobre otro) y con su misma forma. */
html.f26c .return-to-schedule-btn {
    right: 16px;
    bottom: 74px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--f26-red);
    box-shadow: var(--f26-shadow-2);
    font-size: 16px;
}
html.f26c .return-to-schedule-btn:hover { background-color: var(--f26-ink); transform: none; }
@media (max-width: 991.98px) {
    html.f26c .return-to-schedule-btn {
        right: 12px;
        bottom: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px) + 62px);
        width: 40px;
        height: 40px;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), var(--f26-shadow-2);
    }
}

/* ==========================================================================
   Clasificación de una prueba: vistas, claves de la carrera y puestos por sector
   Ideas de los resultados en directo de World Triathlon (claves de la carrera,
   seguir deportistas, posición en cada punto) y de PTO Stats (puesto de cada
   parcial junto al tiempo). Los puestos se calculan en ResultsLive.F26.cs.
   ========================================================================== */

/* Selector de vista: clasificación, claves de la carrera y favoritos */
html.f26c .f26-rtabs {
    display: flex;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    margin: 18px 0 14px;
    padding: 4px;
    overflow-x: auto;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    scrollbar-width: none;
}
html.f26c .f26-rtabs::-webkit-scrollbar { display: none; }
html.f26c .f26-rtab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 16px;
    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;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-rtab i { color: var(--f26-mute-2); font-size: 12px; }
html.f26c .f26-rtab:hover { background: var(--f26-tint); color: var(--f26-ink); }
html.f26c .f26-rtab.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .f26-rtab.is-on i { color: var(--f26-gold); }
html.f26c .f26-rtab:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-rtab__n {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Línea de la prueba en escritorio (ResultsLive.razor, F26ViewTabs): el nombre a la izquierda y, alineados a la derecha,
   las condiciones y el selector de vista con «Clasificación de clubes» dentro. Si no caben junto al nombre, condiciones
   y selector bajan juntos a la línea siguiente, a la derecha. Por debajo de 992 px, como antes: el botón de clubes junto
   a las condiciones y el selector debajo de la línea (.f26-rtabs--narrow) */
html.f26c .f26-rtabs--bar { display: none; }
html.f26c .f26-rtab__short { display: none; }
@media (min-width: 992px) {
    html.f26c .f26-rtabs--narrow,
    html.f26c .f26-catbar1__solo { display: none; }
    html.f26c .rl-catbar.f26-catbar1 { column-gap: 24px; row-gap: 12px; margin-bottom: 16px; }
    html.f26c .f26-catbar1__name { flex: 1 1 260px; min-width: 0; }
    html.f26c .f26-catbar1__side {
        flex: 0 1 auto;
        width: auto !important;
        min-width: 0;
        margin-left: auto;
        justify-content: flex-end;
    }
    html.f26c .f26-rtabs--bar { display: flex; margin: 0; }
    /* Condiciones a la altura del selector (48 px) y sin hueco de más a la derecha */
    html.f26c .f26-catbar1 .rl-conditions { gap: 8px; justify-content: flex-end; }
    html.f26c .f26-catbar1 .rl-cond { min-width: 0; min-height: 48px; padding: 5px 16px 5px 12px; }
}
/* Portátiles pequeños y tabletas en horizontal: «Claves» y «Clubes» para que quepa todo en la línea */
@media (min-width: 992px) and (max-width: 1199.98px) {
    html.f26c .f26-rtabs--bar .f26-rtab__more,
    html.f26c .f26-rtabs--bar .f26-rtab__long { display: none; }
    html.f26c .f26-rtabs--bar .f26-rtab__short { display: inline; }
}

/* Claves de la carrera: cabecera negra como los gráficos de TV y una línea por momento */
html.f26c .f26-keys {
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-keys__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 16px 20px;
    background: var(--f26-ink) var(--f26-tex);
    box-shadow: inset 0 -3px 0 var(--f26-red);
    color: #fff;
}
html.f26c .f26-keys__title {
    margin: 0;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.f26c .f26-keys__hint { color: var(--f26-on-ink-mute); font-size: 12px; font-weight: 600; }
html.f26c .f26-keys__gtitle {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 20px;
    border-top: 1px solid var(--f26-line);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
html.f26c .f26-keys__group:first-of-type .f26-keys__gtitle { border-top: 0; }
html.f26c .f26-keys__gtitle::before {
    content: "";
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: var(--f26-mute-2);
    transform: skewX(-20deg);
}
html.f26c .f26-keys__group--sw .f26-keys__gtitle::before { background: var(--rl-swim); }
html.f26c .f26-keys__group--cy .f26-keys__gtitle::before { background: var(--rl-bike); }
html.f26c .f26-keys__group--ru .f26-keys__gtitle::before { background: var(--rl-run); }
html.f26c .f26-key {
    display: grid;
    grid-template-columns: 116px 34px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 14px 20px;
    border-top: 1px solid var(--f26-line);
}
html.f26c .f26-key__when { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
html.f26c .f26-key__point { color: var(--f26-ink); font-size: 12px; font-weight: 800; line-height: 1.25; }
html.f26c .f26-key__clock { color: var(--f26-mute); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
html.f26c .f26-key__ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 14px;
}
html.f26c .f26-key--lead .f26-key__ico { background: var(--f26-gold-soft); color: var(--f26-gold-text); }
html.f26c .f26-key--fast .f26-key__ico { background: #E8EEFD; color: var(--f26-blue); }
html.f26c .f26-key--win .f26-key__ico { background: var(--f26-grad-podium-1); color: #fff; }
html.f26c .f26-key--climb .f26-key__ico { background: #E3F4EA; color: var(--f26-green-text); }
html.f26c .f26-key--out .f26-key__ico { background: var(--f26-red-soft); color: var(--f26-red); }
html.f26c .f26-key--win { background: linear-gradient(90deg, var(--f26-gold-soft), #fff 75%); }
html.f26c .f26-key__text { margin: 0; color: var(--f26-text-2); font-size: 15px; line-height: 1.45; }
html.f26c .f26-key__who {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: none;
    color: var(--f26-ink);
    font: inherit;
    font-weight: 800;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    cursor: pointer;
}
html.f26c .f26-key__who:hover { text-decoration-color: var(--f26-red); }
html.f26c .f26-key__who:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-key__sub { margin: 3px 0 0; color: var(--f26-mute); font-size: 13px; font-variant-numeric: tabular-nums; }
html.f26c .f26-key__podium {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 8px 0 0;
    color: var(--f26-text-2);
    font-size: 13px;
}
html.f26c .f26-key__place { display: inline-flex; align-items: center; gap: 6px; }
html.f26c .f26-key__place b {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--f26-silver);
    color: var(--f26-ink);
    font-size: 11px;
}
html.f26c .f26-key__place + .f26-key__place b { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-key__gap { color: var(--f26-mute); font-variant-numeric: tabular-nums; }

@media (max-width: 575.98px) {
    html.f26c .f26-rtabs { margin: 14px 0 12px; }
    html.f26c .f26-rtab { padding: 0 13px; }
    html.f26c .f26-rtab__more { display: none; }
    html.f26c .f26-keys__head { padding: 14px 12px; }
    html.f26c .f26-keys__title { font-size: 16px; }
    html.f26c .f26-keys__gtitle { padding: 8px 12px; }
    html.f26c .f26-key {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 3px 10px;
        padding: 12px;
    }
    html.f26c .f26-key__ico { grid-column: 1; grid-row: 1 / span 2; width: 30px; height: 30px; font-size: 12px; }
    html.f26c .f26-key__when { grid-column: 2; grid-row: 1; flex-direction: row; gap: 8px; padding: 0; }
    html.f26c .f26-key__when:empty { display: none; }
    html.f26c .f26-key__body { grid-column: 2; }
    html.f26c .f26-key__point,
    html.f26c .f26-key__clock { font-size: 11px; }
    html.f26c .f26-key__text { font-size: 14px; }
    html.f26c .f26-key__sub,
    html.f26c .f26-key__podium { font-size: 12.5px; }
}

/* ==========================================================================
   Claves de la carrera: estadísticas debajo de los momentos (Components/ResultsLive/RaceKeyStats.razor)
   Triatlón ideal, estadísticas por sector, sector determinante, puestos ganados y perdidos, grupos en la T2,
   temperatura durante la prueba y datos de la carrera. Cada bloque es una tarjeta de una sola columna como
   los gráficos de TV «fetri2026»: cabecera oscura con filete de oro a rojo y filas como franjas claras con
   una caja a la izquierda y los datos en pastillas a la derecha (el mejor, en oro). Siempre fila a fila:
   nada se reparte en columnas, tampoco en pantallas anchas.
   ========================================================================== */
html.f26c .f26-kx {
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-kx__head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 13px 20px 15px;
    background: var(--f26-ink) var(--f26-tex);
    color: #fff;
}
/* Filete de oro a rojo, como las cabeceras de los gráficos de TV */
html.f26c .f26-kx__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
html.f26c .f26-kx__title {
    margin: 0;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}
html.f26c .f26-kx__prov {
    padding: 3px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
html.f26c .f26-kx__hint {
    margin: 0 0 0 auto;
    color: var(--f26-on-ink-mute);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

/* Filas: franja clara con la caja a la izquierda, el contenido y las pastillas a la derecha */
html.f26c .f26-kx__rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}
html.f26c .f26-kx__row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 6px 12px 6px 6px;
    border-radius: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-kx__rows--narrow .f26-kx__row { grid-template-columns: 56px minmax(0, 1fr) auto; }
html.f26c .f26-kx__box {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 40px;
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--f26-ink);
    box-shadow: inset 4px 0 0 var(--kx-c, transparent);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
/* Franja del color de cada disciplina en el borde de la caja */
html.f26c .f26-kx__box--sw { --kx-c: var(--rl-swim, #0d6c96); }
html.f26c .f26-kx__box--cy { --kx-c: var(--rl-bike, #c07a12); }
html.f26c .f26-kx__box--ru { --kx-c: var(--rl-run, #d10a2c); }
html.f26c .f26-kx__box--tr { --kx-c: var(--f26-mute-2); }
html.f26c .f26-kx__box--gold { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-kx__box--red,
html.f26c .f26-kx__box--total,
html.f26c .f26-kx__box--down { background: var(--f26-red); }
/* Verde oscuro para que el blanco se lea bien (5,4:1) */
html.f26c .f26-kx__box--up { background: var(--f26-green-text); }
html.f26c .f26-kx__box--num b { font-size: 17px; font-weight: 900; letter-spacing: 0; font-variant-numeric: tabular-nums; }
html.f26c .f26-kx__box--icon { color: var(--f26-gold); }
html.f26c .f26-kx__box--icon i { font-size: 15px; }
html.f26c .f26-kx__box--icon.f26-kx__box--red { color: #fff; }
html.f26c .f26-kx__box--icon.f26-kx__box--gold { color: var(--f26-ink); }

html.f26c .f26-kx__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}
html.f26c .f26-kx__names { display: flex; flex-wrap: wrap; gap: 2px 16px; }
html.f26c .f26-kx__name { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-width: 0; }
html.f26c .f26-kx__member { color: var(--f26-mute); font-size: 12.5px; font-weight: 600; }
html.f26c .f26-kx__line { color: var(--f26-text-2); font-size: 14.5px; line-height: 1.4; }
html.f26c .f26-kx__line b { color: var(--f26-ink); font-weight: 800; }
html.f26c .f26-kx__sub { color: var(--f26-mute); font-size: 12.5px; line-height: 1.4; font-variant-numeric: tabular-nums; }
html.f26c .f26-kx__label {
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-kx__who {
    display: inline;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: none;
    color: var(--f26-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    cursor: pointer;
}
html.f26c :is(.f26-kx__sub, .f26-kx__line, .f26-kx__lead-text) .f26-kx__who { font-size: inherit; }
html.f26c .f26-kx__who:hover { text-decoration-color: var(--f26-red); }
html.f26c .f26-kx__who:focus-visible { outline: none; box-shadow: var(--f26-focus); }

/* Pastillas de datos (blancas; el mejor en oro, el total en rojo) */
html.f26c .f26-kx__pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
html.f26c .f26-kx__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 64px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-kx__pill small {
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .f26-kx__pill.is-best { background: var(--f26-gold); box-shadow: none; }
html.f26c .f26-kx__pill.is-best small { color: rgba(28, 28, 34, .72); }
html.f26c .f26-kx__pill.is-ink { background: var(--f26-ink); box-shadow: none; color: #fff; }
html.f26c .f26-kx__pill.is-ink small { color: var(--f26-on-ink-mute); }
html.f26c .f26-kx__pill.is-total { background: var(--f26-red); box-shadow: none; color: #fff; }
html.f26c .f26-kx__pill.is-soft { background: var(--f26-tint-2); box-shadow: none; }
html.f26c .f26-kx__pill.is-soft small { color: var(--f26-text-2); }
html.f26c .f26-kx__pill.is-down { color: var(--f26-red); }
html.f26c .f26-kx__pill--move i { color: var(--f26-mute); font-size: 10px; }

/* Estadísticas por sector: diagrama de caja en la misma fila, con la misma escala en todas */
html.f26c .f26-kx__row--dist { grid-template-columns: 112px minmax(160px, 1fr) auto; }
html.f26c .f26-kx__pills--grid { display: grid; grid-template-columns: repeat(6, auto); }
/* Todas las filas comparten columnas (subgrid): las barras miden lo mismo y la escala es de verdad común. Solo en el
   modo completo (6 finalistas o más); con menos, cada fila va con su sector, una frase y dos pastillas */
@supports (grid-template-columns: subgrid) {
    @media (min-width: 1100px) {
        html.f26c .f26-kx--dist-full .f26-kx__rows > [role="rowgroup"]:not(.f26-sr-only) {
            display: grid;
            grid-template-columns: 112px minmax(160px, 1fr) repeat(6, auto);
            gap: 6px 14px;
        }
        html.f26c .f26-kx--dist-full .f26-kx__row--dist { grid-column: 1 / -1; grid-template-columns: subgrid; }
        html.f26c .f26-kx--dist-full .f26-kx__row--dist > .f26-kx__pills--grid { grid-column: 3 / -1; grid-template-columns: subgrid; column-gap: 6px; }
    }
    @media (min-width: 576px) {
        html.f26c .f26-kx--dist-lite .f26-kx__rows > [role="rowgroup"]:not(.f26-sr-only) {
            display: grid;
            grid-template-columns: 112px minmax(0, 1fr) auto auto;
            gap: 6px 14px;
        }
        html.f26c .f26-kx--dist-lite .f26-kx__row { grid-column: 1 / -1; grid-template-columns: subgrid; }
        html.f26c .f26-kx--dist-lite .f26-kx__row > .f26-kx__pills { display: grid; grid-column: 3 / span 2; grid-template-columns: subgrid; column-gap: 6px; }
        html.f26c .f26-kx--weight .f26-kx__rows > [role="rowgroup"]:not(.f26-sr-only) {
            display: grid;
            grid-template-columns: 112px minmax(120px, 1fr) auto auto;
            gap: 6px 14px;
        }
        html.f26c .f26-kx--weight .f26-kx__row { grid-column: 1 / -1; grid-template-columns: subgrid; }
        html.f26c .f26-kx--weight .f26-kx__row > .f26-kx__pills { display: grid; grid-column: 3 / -1; grid-template-columns: subgrid; column-gap: 6px; }
    }
}
html.f26c .f26-kx__plot { position: relative; display: block; height: 24px; }
html.f26c .f26-kx__track,
html.f26c .f26-kx__whisker {
    position: absolute;
    left: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    border-radius: 1px;
}
html.f26c .f26-kx__track { right: 0; background: var(--f26-tint-2); }
html.f26c .f26-kx__whisker { background: var(--f26-mute-2); }
html.f26c .f26-kx__iqr {
    position: absolute;
    top: 4px;
    bottom: 4px;
    min-width: 4px;
    border-radius: 4px;
    background: var(--f26-ink);
}
html.f26c .f26-kx__med {
    position: absolute;
    top: 1px;
    bottom: 1px;
    width: 3px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--f26-gold);
    box-shadow: 0 0 0 1px #fff;
}
html.f26c .f26-kx__dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -2px;
    border-radius: 50%;
    background: var(--f26-gold);
    box-shadow: 0 0 0 2px #fff;
}
html.f26c .f26-kx__note {
    margin: 0;
    padding: 2px 16px 14px;
    color: var(--f26-mute);
    font-size: 12px;
    line-height: 1.5;
}
html.f26c .f26-kx__note a { color: var(--f26-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
html.f26c .f26-kx__legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-right: 8px; color: var(--f26-text-2); font-weight: 700; }
html.f26c .f26-kx__legend i { display: inline-block; flex: none; }
html.f26c .f26-kx__lg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--f26-gold); }
html.f26c .f26-kx__lg-box { width: 16px; height: 9px; margin-left: 6px; border-radius: 3px; background: var(--f26-ink); }
html.f26c .f26-kx__lg-med { width: 3px; height: 12px; margin-left: 6px; border-radius: 2px; background: var(--f26-gold); }

/* Sector determinante: la frase que lo explica y una barra de peso por sector (el determinante, en oro) */
html.f26c .f26-kx__lead {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 10px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--f26-gold-soft);
}
html.f26c .f26-kx__lead-ico {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--f26-gold);
    color: var(--f26-ink);
    font-size: 13px;
}
html.f26c .f26-kx__lead-text { margin: 0; color: var(--f26-text); font-size: 15px; line-height: 1.5; }
html.f26c .f26-kx--weight .f26-kx__main { flex-direction: row; align-items: center; gap: 12px; }
html.f26c .f26-kx__meter {
    position: relative;
    flex: 1 1 auto;
    height: 10px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
}
html.f26c .f26-kx__meter-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--f26-ink); }
html.f26c .f26-kx__row.is-top { background: var(--f26-gold-soft); }
html.f26c .f26-kx__row.is-top .f26-kx__meter-fill { background: linear-gradient(90deg, var(--f26-gold), var(--f26-orange)); }
html.f26c .f26-kx__pct {
    flex: none;
    min-width: 46px;
    color: var(--f26-ink);
    font-size: 16px;
    font-weight: 900;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-kx__row.is-top .f26-kx__pct { color: var(--f26-gold-text); }

/* Temperatura: gráfica oscura como la de TV (curva dorada) con la máxima y la mínima a la izquierda */
html.f26c .f26-kx__chart {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    margin: 10px 10px 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--f26-ink) var(--f26-tex);
    color: #fff;
}
html.f26c .f26-kx__chart-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
html.f26c .f26-kx__chart-stat { display: flex; flex-direction: column; min-width: 0; }
html.f26c .f26-kx__chart-k {
    color: var(--f26-on-ink-mute);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-kx__chart-big { color: var(--f26-gold); font-size: 30px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.f26c .f26-kx__chart-mid { color: #fff; font-size: 20px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.f26c .f26-kx__chart-at { color: var(--f26-on-ink-mute); font-size: 11.5px; font-weight: 600; }
html.f26c .f26-kx__chart-plot { min-width: 0; padding: 0 58px 4px 12px; }
html.f26c .f26-kx__plotbox { position: relative; height: 176px; }
html.f26c .f26-kx__svg { display: block; width: 100%; height: 100%; overflow: visible; }
html.f26c .f26-kx__svg-line { fill: none; stroke: var(--f26-gold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
html.f26c .f26-kx__svg-guide { stroke: rgba(255, 255, 255, .2); stroke-width: 1; stroke-dasharray: 2 4; }
html.f26c .f26-kx__svg-mark { stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; stroke-dasharray: 4 4; }
html.f26c .f26-kx__svg-mark--win { stroke: var(--f26-gold); }
html.f26c .f26-kx__svg-mark--last { stroke: #FF6B7F; }
html.f26c .f26-kx__mdot {
    position: absolute;
    width: 11px;
    height: 11px;
    margin: -5.5px 0 0 -5.5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px var(--f26-ink);
}
html.f26c .f26-kx__mdot--win { background: var(--f26-gold); }
html.f26c .f26-kx__mdot--last { background: #FF6B7F; }
html.f26c .f26-kx__mlab {
    position: absolute;
    top: 4px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.3;
    white-space: nowrap;
    transform: translateX(-50%);
}
html.f26c .f26-kx__mlab.is-left { transform: none; }
html.f26c .f26-kx__mlab.is-right { transform: translateX(-100%); }
html.f26c .f26-kx__mlab.is-low { top: auto; bottom: 4px; }
/* La etiqueta del ganador baja cuando la gráfica es más estrecha de lo que necesita para ir arriba entre la salida y
   el último (RaceKeyStats.MarkAlign elige el ancho) */
html.f26c .f26-kx__plotbox { container-type: inline-size; }
@container (max-width: 240px) { html.f26c .f26-kx__mlab.is-low-240 { top: auto; bottom: 4px; } }
@container (max-width: 300px) { html.f26c .f26-kx__mlab.is-low-300 { top: auto; bottom: 4px; } }
@container (max-width: 360px) { html.f26c .f26-kx__mlab.is-low-360 { top: auto; bottom: 4px; } }
@container (max-width: 420px) { html.f26c .f26-kx__mlab.is-low-420 { top: auto; bottom: 4px; } }
@container (max-width: 480px) { html.f26c .f26-kx__mlab.is-low-480 { top: auto; bottom: 4px; } }
@container (max-width: 560px) { html.f26c .f26-kx__mlab.is-low-560 { top: auto; bottom: 4px; } }
@container (max-width: 640px) { html.f26c .f26-kx__mlab.is-low-640 { top: auto; bottom: 4px; } }
@container (max-width: 720px) { html.f26c .f26-kx__mlab.is-low-720 { top: auto; bottom: 4px; } }
@container (max-width: 800px) { html.f26c .f26-kx__mlab.is-low-800 { top: auto; bottom: 4px; } }
@container (max-width: 900px) { html.f26c .f26-kx__mlab.is-low-900 { top: auto; bottom: 4px; } }
@container (max-width: 1000px) { html.f26c .f26-kx__mlab.is-low-1000 { top: auto; bottom: 4px; } }
@container (max-width: 1150px) { html.f26c .f26-kx__mlab.is-low-1150 { top: auto; bottom: 4px; } }
@container (max-width: 1300px) { html.f26c .f26-kx__mlab.is-low-1300 { top: auto; bottom: 4px; } }
html.f26c .f26-kx__mlab--win { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-kx__mlab--last { background: var(--f26-red); }
/* Mínima y máxima junto a sus líneas, fuera de la curva (en el margen derecho) */
html.f26c .f26-kx__ylab {
    position: absolute;
    left: calc(100% + 8px);
    color: var(--f26-on-ink-mute);
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-kx__ylab.is-max { transform: translateY(-50%); color: var(--f26-gold); }
html.f26c .f26-kx__ylab.is-min { transform: translateY(-50%); }
html.f26c .f26-kx__hours {
    position: relative;
    height: 22px;
    color: var(--f26-on-ink-mute);
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-kx__hours span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
html.f26c .f26-kx__hours .is-start { left: 0; transform: none; }
/* La hora de salida ocupa unos 30 px a la izquierda: una hora a menos del 20 % (o del 27 %) del ancho la pisaría
   si la gráfica mide menos de 420 px (o de 250 px) */
html.f26c .f26-kx__hours { container-type: inline-size; }
@container (max-width: 420px) {
    html.f26c .f26-kx__hours .is-near { display: none; }
}
@container (max-width: 250px) {
    html.f26c .f26-kx__hours .is-mid { display: none; }
}

/* Pantallas anchas (1400 px o más): como en los momentos de arriba, el texto en una medida de lectura y el dato
   justo detrás, con las pastillas en columna (a todo lo ancho quedaban a más de 1000 px de su nombre). Todas las
   filas sin barras dejan sus pastillas en la misma columna (caja + texto = 886 px: 112 + 760 o 56 + 816, más los
   huecos). Las filas con barras (sectores y peso de cada sector) siguen a todo lo ancho, y la gráfica gana algo de alto */
@media (min-width: 1400px) {
    html.f26c .f26-kx:is(.f26-kx--ideal, .f26-kx--temp) .f26-kx__row {
        grid-template-columns: 112px minmax(0, 760px) auto;
        justify-content: start;
    }
    html.f26c .f26-kx__rows--narrow .f26-kx__row {
        grid-template-columns: 56px minmax(0, 816px) auto;
        justify-content: start;
    }
    html.f26c .f26-kx__plotbox { height: 210px; }
    @supports (grid-template-columns: subgrid) {
        html.f26c .f26-kx--dist-lite .f26-kx__rows > [role="rowgroup"]:not(.f26-sr-only) {
            grid-template-columns: 112px minmax(0, 760px) auto auto minmax(0, 1fr);
        }
    }
}

@media (max-width: 1099.98px) {
    /* Sin sitio para seis pastillas junto a la barra: bajan a una segunda línea, como fichas con la etiqueta
       encima del tiempo (así caben también los tiempos de más de una hora) */
    html.f26c .f26-kx__row--dist { grid-template-columns: 112px minmax(0, 1fr); }
    html.f26c .f26-kx__row--dist > .f26-kx__pills { grid-column: 1 / -1; justify-content: flex-start; }
    html.f26c .f26-kx__pills--grid { grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
    html.f26c .f26-kx__pills--grid .f26-kx__pill {
        flex-direction: column;
        gap: 1px;
        height: auto;
        min-height: 40px;
        padding: 4px 6px;
        border-radius: 9px;
        line-height: 1.15;
    }
}

@media (max-width: 575.98px) {
    html.f26c .f26-kx { margin-bottom: 12px; }
    html.f26c .f26-kx__head { padding: 12px 12px 14px; }
    html.f26c .f26-kx__title { font-size: 14px; letter-spacing: .06em; }
    html.f26c .f26-kx__hint { flex: 1 0 100%; margin: 0; font-size: 11.5px; }
    html.f26c .f26-kx__rows { padding: 8px; }
    html.f26c .f26-kx__row {
        grid-template-columns: 80px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 48px;
        padding: 5px 8px 5px 5px;
    }
    html.f26c .f26-kx__rows--narrow .f26-kx__row { grid-template-columns: 46px minmax(0, 1fr) auto; }
    html.f26c .f26-kx__box { min-height: 38px; padding: 4px 5px; font-size: 10px; letter-spacing: .04em; }
    html.f26c .f26-kx__box--num b { font-size: 15px; }
    html.f26c .f26-kx__who { font-size: 14px; }
    html.f26c .f26-kx__line { font-size: 13.5px; }
    html.f26c .f26-kx__sub,
    html.f26c .f26-kx__member { font-size: 12px; }
    html.f26c .f26-kx__pill { min-width: 0; height: 28px; padding: 0 10px; font-size: 13px; }
    html.f26c .f26-kx__pill small { font-size: 10px; }
    /* Filas con varias pastillas: van debajo, a todo el ancho */
    html.f26c :is(.f26-kx__row--dist, .f26-kx__row--stack) { grid-template-columns: 80px minmax(0, 1fr); row-gap: 6px; }
    html.f26c :is(.f26-kx__row--dist, .f26-kx__row--stack) > .f26-kx__pills { grid-column: 1 / -1; justify-content: flex-start; }
    html.f26c .f26-kx__pills--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    html.f26c .f26-kx__lead { margin: 8px 8px 0; padding: 10px 12px; gap: 10px; }
    html.f26c .f26-kx__lead-text { font-size: 14px; }
    html.f26c .f26-kx__note { padding: 0 12px 12px; font-size: 11.5px; }
    html.f26c .f26-kx--weight .f26-kx__main { gap: 8px; }
    html.f26c .f26-kx__pct { min-width: 40px; font-size: 15px; }
    html.f26c .f26-kx__chart { grid-template-columns: minmax(0, 1fr); margin: 8px 8px 0; }
    /* Máxima y mínima fila a fila: rótulo, temperatura y hora en una línea */
    html.f26c .f26-kx__chart-side {
        gap: 4px;
        padding: 10px 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    html.f26c .f26-kx__chart-stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
    html.f26c .f26-kx__chart-k { flex: none; width: 64px; }
    html.f26c .f26-kx__chart-big,
    html.f26c .f26-kx__chart-mid { font-size: 22px; }
    html.f26c .f26-kx__chart-plot { padding: 0 52px 4px 8px; }
    html.f26c .f26-kx__plotbox { height: 150px; }
}

/* Puesto en cada sector, debajo del tiempo (oro, plata y bronce para los tres mejores) */
html.f26c .f26-segrk {
    display: block;
    width: max-content;
    margin: 3px auto 0;
    padding: 0 7px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 800;
    line-height: 17px;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-segrk--1 { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-segrk--2 { background: var(--f26-silver); color: var(--f26-ink); }
/* Texto oscuro sobre bronce: el blanco no llega al contraste mínimo (3,1:1) */
html.f26c .f26-segrk--3 { background: var(--f26-bronze); color: var(--f26-ink); }

/* Móvil y tableta (sin columnas de parciales): tiempo y puesto de natación, ciclismo y carrera */
html.f26c .f26-seglegend { display: none; }
@media (max-width: 900px) {
    html.f26c .f26-seglegend {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 10px;
        margin-top: 5px;
    }
}
html.f26c .f26-seglegend__i {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--f26-text-2);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-seglegend__i i { width: 7px; height: 7px; border-radius: 2px; }
html.f26c .f26-seglegend__i b { color: var(--f26-mute); font-weight: 800; }
html.f26c .f26-seglegend__i b.is-top--1 { color: var(--f26-gold-text); }
html.f26c .f26-seglegend__i b.is-top--2 { color: var(--f26-text-2); }
html.f26c .f26-seglegend__i b.is-top--3 { color: #9A5B2C; }

/* Fila centrada desde las claves de la carrera. Recibe el foco: se marca con un filete de oro arriba y abajo, sin el
   contorno del navegador, que en una fila de tabla no se ve entero */
html.f26c .rl-table tbody tr[tabindex="-1"]:focus { outline: none; }
html.f26c .rl-table tbody tr[tabindex="-1"]:focus-visible > td { box-shadow: inset 0 2px 0 var(--f26-gold), inset 0 -2px 0 var(--f26-gold); }
html.f26c .rl-table tbody tr.f26-flash > td { animation: f26-row-flash 1.8s ease-out; }
@keyframes f26-row-flash {
    0%, 40% { background-color: var(--f26-gold-soft); }
    100% { background-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .rl-table tbody tr.f26-flash > td { animation: none; background-color: var(--f26-gold-soft); }
}

/* Pestaña de favoritos sin nadie marcado */
html.f26c .f26-rempty td {
    padding: 30px 16px !important;
    color: var(--f26-mute);
    font-size: 14px;
    text-align: center;
}
html.f26c .f26-rempty i { display: block; margin-bottom: 8px; color: var(--f26-gold-dk); font-size: 22px; }

/* Detalle del deportista (parciales): un tramo por fila, con el nombre siempre en una línea.
   AthleteSplitDetail.razor calcula con el ancho de Montserrat lo que ocupan el nombre más largo (--asd-lead) y cada
   columna de cifras (--asd-cols, que tiene en cuenta también el título de la cabecera). Con eso la letra se ajusta al
   ancho del panel, de 11 a 15 px, para que nombre y cifras quepan en la misma línea (--asd-fit). Si ni a 11 px caben,
   las cifras pasan debajo del nombre en todas las filas a la vez (el nombre ocupa lo mismo en todas), alineadas a la
   derecha como la cabecera, y la letra vuelve a crecer hasta 14 px (--asd-wfit) */
html.f26c .asd-x .asd-splits {
    container-type: inline-size;
    padding: 14px 16px;
    align-content: start;
}
html.f26c .asd-x .asd-splits::before { left: 19.5px; top: 24px; bottom: 24px; }
html.f26c .asd-x .asd-tbl {
    --asd-w: calc(100cqw - 24px);
    font-size: 13px;
    font-size: max(clamp(11px, calc(var(--asd-w) / var(--asd-fit)), 15px),
                   calc(clamp(11px, calc(var(--asd-w) / var(--asd-wfit)), 14px) - clamp(0px, (var(--asd-w) - 11px * var(--asd-fit)) * 1000, 100px)));
    color: var(--f26-ink);
}
html.f26c .asd-x .asd-tbl .asd-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: .9em;
    row-gap: .1em;
    padding: .34em 0 .34em 22px;
}
/* Punto de la línea de tiempo, a la altura del nombre */
html.f26c .asd-x .asd-tbl .asd-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(.34em + .75em);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--f26-ink);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--f26-line);
    transform: translateY(-50%);
}
html.f26c .asd-x .asd-tbl .asd-row .asd-name {
    flex: 1 0 var(--asd-lead);
    display: flex;
    align-items: center;
    gap: .35em;
    min-width: 0;
    height: 1.5em;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.5em;
    white-space: nowrap;
    text-align: left;
}
html.f26c .asd-x .asd-tbl .asd-name img { flex: none; width: 1.25em; height: 1.25em; }
html.f26c .asd-x .asd-tbl .asd-cells {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: var(--asd-cols);
    column-gap: .6em;
    margin-left: auto;
    line-height: 1.5em;
}
html.f26c .asd-x .asd-tbl .asd-c {
    min-width: 0;
    color: var(--f26-text-2);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}
html.f26c .asd-x .asd-tbl .asd-c--rk,
html.f26c .asd-x .asd-tbl .asd-c--pos { color: var(--f26-ink); font-weight: 800; }
html.f26c .asd-x .asd-tbl .asd-c--rk.r1 { color: var(--f26-gold-dk); }
html.f26c .asd-x .asd-tbl .asd-c--rk.r2 { color: var(--f26-mute-2); }
html.f26c .asd-x .asd-tbl .asd-c--rk.r3 { color: var(--f26-bronze); }
html.f26c .asd-x .asd-tbl .asd-c--rk.r4 { color: #0d6c96; }
html.f26c .asd-x .asd-tbl .asd-c--tr { font-size: .82em; font-weight: 800; }
html.f26c .asd-x .asd-tbl .asd-c--tr.up { color: var(--f26-green-text); }
html.f26c .asd-x .asd-tbl .asd-c--tr.down { color: var(--f26-red); }
html.f26c .asd-x .asd-tbl .asd-c--tr.eq { color: var(--f26-mute-2); }
html.f26c .asd-x .asd-tbl .asd-gap {
    display: block;
    margin-top: -.15em;
    color: var(--f26-mute);
    font-size: .8em;
    font-weight: 700;
    line-height: 1.2;
}
/* Cabecera: los títulos, más pequeños, en las mismas columnas que las cifras */
html.f26c .asd-x .asd-tbl .asd-row--head { padding-top: 0; padding-bottom: .3em; }
html.f26c .asd-x .asd-tbl .asd-row--head::before { display: none; }
html.f26c .asd-x .asd-tbl .asd-row--head .asd-cells { align-self: flex-end; }
html.f26c .asd-x .asd-tbl .asd-hl {
    color: var(--f26-mute);
    font-size: .72em;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    html.f26c .asd-x .asd-splits { padding: 10px 10px 10px 8px; }
    html.f26c .asd-x .asd-splits::before { left: 11.5px; top: 18px; bottom: 18px; }
}

/* Progresión de posiciones (FETRI): una línea con todos los pasos y, debajo, solo los nombres de los que son columna
   en la clasificación. Puestos en pastillas (el primero en oro): siempre en esos pasos y en los demás cuando caben
   todos sin tocarse (--asd-pc-tp). Las etiquetas que no caben en una fila bajan a una segunda o tercera según el
   ancho del bloque; los umbrales vienen calculados en el estilo de cada etiqueta */
html.f26c .asd-x .asd-pc { container-type: inline-size; position: relative; }
html.f26c .asd-x .asd-pc-plot { position: relative; height: 160px; }
html.f26c .asd-x .asd-pc-in { position: absolute; inset: 26px 16px 10px; }
html.f26c .asd-x .asd-pc--below .asd-pc-in { bottom: 28px; }
html.f26c .asd-x .asd-pc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html.f26c .asd-x .asd-pc-grid { fill: none; stroke: var(--f26-line); stroke-width: 1; }
html.f26c .asd-x .asd-pc-line { fill: none; stroke: var(--f26-red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
html.f26c .asd-x .asd-pc-pt {
    position: absolute;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--f26-red);
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
}
html.f26c .asd-x .asd-pc-pt.is-head { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
html.f26c .asd-x .asd-pc-rk {
    position: absolute;
    padding: 0 .36em;
    border-radius: .45em;
    background: #fff;
    box-shadow: 0 0 0 .09em var(--f26-line);
    color: var(--f26-ink);
    font-size: clamp(0px, (100cqw - var(--asd-pc-tp)) * 1000, 11px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.45em;
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 7px));
    pointer-events: none;
}
html.f26c .asd-x .asd-pc-rk.is-head { font-size: 11px; background: var(--f26-ink); box-shadow: none; color: #fff; }
html.f26c .asd-x .asd-pc-rk.is-best { background: var(--f26-gold); box-shadow: none; color: var(--f26-ink); }
html.f26c .asd-x .asd-pc-rk.is-below { transform: translate(-50%, 7px); }
html.f26c .asd-x .asd-pc-hit {
    position: absolute;
    z-index: 2;
    width: clamp(14px, calc((100cqw - 32px) / var(--asd-pc-n1)), 30px);
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transform: translate(-50%, -50%);
    -webkit-tap-highlight-color: transparent;
}
html.f26c .asd-x .asd-pc-hit:hover,
html.f26c .asd-x .asd-pc-hit:focus { z-index: 3; }
html.f26c .asd-x .asd-pc-hit:focus-visible { box-shadow: var(--f26-focus); }
html.f26c .asd-x .asd-pc-tip {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--f26-ink);
    box-shadow: var(--f26-shadow-2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    width: max-content;
    max-width: calc(100cqw - 32px);
    overflow-wrap: anywhere;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* --asd-tx va de 0 % (primer punto: el aviso empieza en él) a -100 % (último: acaba en él), así no se sale */
    transform: translateX(var(--asd-tx, -50%));
}
html.f26c .asd-x .asd-pc-tip b { display: block; font-weight: 800; }
html.f26c .asd-x .asd-pc-tip.is-dn { top: calc(100% + 2px); bottom: auto; }
html.f26c .asd-x .asd-pc-hit:hover > .asd-pc-tip,
html.f26c .asd-x .asd-pc-hit:focus > .asd-pc-tip { opacity: 1; visibility: visible; }
html.f26c .asd-x .asd-pc-axis { position: relative; height: var(--asd-pc-axh, 16px); margin: 6px 16px 0; }
html.f26c .asd-x .asd-pc-xl {
    position: absolute;
    color: var(--f26-ink-2);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    html.f26c .asd-x .asd-pc-xl { font-size: 11px; }
}

/* Clasificación en el móvil: cabecera de la prueba compacta para que la tabla asome en la primera pantalla.
   Parciales, Crónica, Documentos y Filtros pasan a una rejilla 2×2 de accesos; el Excel repetido de Documentos
   se oculta porque ya está en la barra de herramientas (misma acción). */
@media (max-width: 575.98px) {
    html.f26c .rl-toolbar { padding: 8px 10px; gap: 8px; }
    html.f26c .rl-toolbar-right { gap: 6px; }
    html.f26c .rl-back-btn,
    html.f26c .rl-status-badge,
    html.f26c .rl-pill-btn { min-height: 34px; }
    html.f26c .rl-toggle-group { padding: 5px 8px; gap: 10px; }
    html.f26c .rl-toggle { font-size: 11px; line-height: 1.2; }

    html.f26c .sect-cont { margin-top: 8px; }
    html.f26c .container-results-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px !important;
    }
    html.f26c .container-results-actions > .w-100 { width: auto !important; min-width: 0; }
    html.f26c .container-results-actions .pdf-files-card,
    html.f26c .container-results-actions .filters-card {
        display: flex;
        align-items: center;
        height: 100%;
        min-height: 42px;
        padding: 3px 4px 3px 12px !important;
        border-radius: 12px;
    }
    html.f26c .container-results-actions .pdf-files-card > .d-flex,
    html.f26c .container-results-actions .filters-card > .d-flex { width: 100%; min-width: 0; }
    html.f26c .container-results-actions .collapsible-header {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        gap: 6px;
        min-width: 0;
        font-size: 13px;
        line-height: 1.15;
    }
    html.f26c .container-results-actions .collapsible-header > i { flex: none; margin: 0 !important; }
    html.f26c .container-results-actions .rl-icon-btn { width: 32px; height: 32px; flex: none; }
    html.f26c .container-results-actions .pdf-files-card .btn-success { display: none; }

    html.f26c .rl-catbar { gap: 8px; margin-bottom: 4px; padding: 12px 0 10px; }
    html.f26c .rl-cat-title { font-size: 20px; }
    html.f26c .rl-cond { gap: 8px; padding: 6px 10px; }
    html.f26c .rl-cond .ico { font-size: 14px; }

    html.f26c .f26-rtabs { margin-top: 6px; margin-bottom: 6px; }
    html.f26c .rl-section-head { gap: 2px; margin: 4px 2px 6px; }
    html.f26c .rl-section-head h2 { font-size: 17px; }
    html.f26c .rl-section-head .hint { font-size: 11.5px; }

    html.f26c .rl-athlete-cell { gap: 8px; }
    html.f26c .f26-seglegend { gap: 2px 5px; margin-top: 4px; }
    html.f26c .f26-seglegend__i { gap: 2px; font-size: 10px; letter-spacing: -.01em; }
    html.f26c .f26-seglegend__i i { width: 6px; height: 6px; }
}

/* ==========================================================================
   Comparativa de dos deportistas (Components/F26/F26AthleteCompare.razor, solo FETRI)
   En la fila desplegada («Comparar» con un rival) y en el diálogo «Comparar deportistas». Tarjeta como los gráficos
   de TV «fetri2026»: cabecera oscura con filete de oro a rojo, el deportista A en rojo (a la izquierda o arriba) y
   el B en tinta (a la derecha o abajo), filas como franjas claras con su caja oscura y las cifras en pastillas (la
   mejor, en oro). Se adapta al ancho de la propia tarjeta (consultas de contenedor), no al de la pantalla: en la
   fila ocupa casi toda la tabla y en el diálogo, como mucho 1100 px. Siempre una columna, fila a fila; en tarjetas
   muy anchas el contenido no pasa de 1100 px, para que cada cifra quede cerca de su rótulo.
   ========================================================================== */
html.f26c .f26-cmp {
    --cmp-a: var(--f26-red);
    --cmp-b: var(--f26-ink);
    --cmp-max: 1100px;
    container: f26cmp / inline-size;
    margin: 2px 0 14px;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    text-align: left;
    cursor: auto;
}
html.f26c .f26-cmp *,
html.f26c .f26-cmp *::before,
html.f26c .f26-cmp *::after { box-sizing: border-box; }

/* Cabecera (en la fila; en el diálogo ya la pone el diálogo) */
html.f26c .f26-cmp-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-height: 58px;
    padding: 10px 10px 13px 18px;
    background: var(--f26-ink) var(--f26-tex);
    color: #fff;
}
html.f26c .f26-cmp-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
html.f26c .f26-cmp-head__t {
    margin: 0;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}
html.f26c .f26-cmp-prov {
    padding: 3px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
html.f26c .f26-cmp-head__act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
html.f26c .f26-cmp-head__btn,
html.f26c .f26-cmp-tools__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: var(--f26-pill);
    background: transparent;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
}
html.f26c .f26-cmp-head__btn:hover { border-color: #fff; background: #fff; color: var(--f26-ink); }
html.f26c .f26-cmp-head__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
html.f26c .f26-cmp-head__x:hover { background: #fff; color: var(--f26-ink); }
html.f26c :is(.f26-cmp-head__btn, .f26-cmp-head__x, .f26-cmp-tools__btn, .f26-cmp-laps):focus-visible {
    outline: none;
    box-shadow: var(--f26-focus);
}

/* En el diálogo: sin marco propio, con «Cambiar deportistas» arriba a la derecha */
html.f26c .f26-cmp--dialog {
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
html.f26c .f26-cmp-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 12px;
}
html.f26c .f26-cmp-tools .f26-cmp-prov { margin-right: auto; }
html.f26c .f26-cmp-tools__btn {
    min-height: 38px;
    border-color: var(--f26-line);
    background: #fff;
    color: var(--f26-ink);
}
html.f26c .f26-cmp-tools__btn:hover { border-color: var(--f26-ink); }

/* Cara a cara: dos franjas blancas sobre fondo claro, con el puesto en una caja roja (A) o tinta (B) y la diferencia
   entre ellas. En estrecho, una encima de otra; desde 640 px, A a la izquierda, B a la derecha (en espejo) */
html.f26c .f26-cmp-duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-cmp--dialog .f26-cmp-duo { border-radius: 12px; }
html.f26c .f26-cmp-ath {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 6px 10px 6px 6px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
}
html.f26c .f26-cmp-ath__rk {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    align-self: stretch;
    width: 46px;
    min-height: 46px;
    border-radius: 7px;
    background: var(--cmp-a);
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-cmp-ath--b .f26-cmp-ath__rk { background: var(--cmp-b); }
/* Podio: filete de su metal en la base de la caja */
html.f26c .f26-cmp-ath__rk.is-1 { box-shadow: inset 0 -4px 0 var(--f26-gold); }
html.f26c .f26-cmp-ath__rk.is-2 { box-shadow: inset 0 -4px 0 var(--f26-silver); }
html.f26c .f26-cmp-ath__rk.is-3 { box-shadow: inset 0 -4px 0 var(--f26-bronze); }
html.f26c .f26-cmp-ath__rk.is-code { font-size: 12px; letter-spacing: .04em; }
html.f26c .f26-cmp-ath__flag {
    flex: none;
    width: 30px;
    height: 20px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(28, 28, 34, .1);
    object-fit: cover;
}
html.f26c .f26-cmp-ath__txt { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-cmp-ath__name {
    color: var(--f26-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
    /* Líneas parejas: «Club Triatlón / Albacete Res A» y no una «A» suelta en la segunda */
    text-wrap: balance;
}
html.f26c .f26-cmp-ath__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.35;
    text-transform: uppercase;
}
html.f26c .f26-cmp-ath__bib {
    padding: 0 5px;
    border: 1px solid var(--f26-line);
    border-radius: 4px;
    color: var(--f26-text-2);
    font-size: 10px;
    line-height: 15px;
    white-space: nowrap;
}
html.f26c .f26-cmp-ath__members { color: var(--f26-text-2); font-size: 12px; font-weight: 600; line-height: 1.35; }
html.f26c .f26-cmp-ath__res { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 4px; }
html.f26c .f26-cmp-ath__time {
    padding: 4px 10px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff;
    color: var(--f26-ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-cmp-ath__st {
    padding: 3px 8px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint-2);
    color: var(--f26-text-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}
html.f26c .f26-cmp-ath__st.is-out { background: var(--f26-red-soft); color: var(--f26-red-dk); }

html.f26c .f26-cmp-mid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 10px;
    padding: 2px 8px;
    text-align: center;
}
html.f26c .f26-cmp-mid__k {
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
html.f26c .f26-cmp-mid__gap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--f26-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .is-lead-1 .f26-cmp-mid__gap { color: var(--cmp-a); }
/* Flecha hacia quien va delante: arriba A y abajo B; en dos columnas, a su lado */
html.f26c .f26-cmp-mid__arrow { display: none; flex: none; width: 13px; height: 12px; background: currentColor; }
html.f26c .is-lead-1 .f26-cmp-mid__arrow { display: block; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
html.f26c .is-lead-2 .f26-cmp-mid__arrow { display: block; clip-path: polygon(0 0, 100% 0, 50% 100%); }
html.f26c .f26-cmp-mid__sub { color: var(--f26-text-2); font-size: 12px; font-weight: 700; line-height: 1.3; }

@container f26cmp (min-width: 640px) {
    html.f26c .f26-cmp-duo {
        grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(0, 1fr);
        gap: 8px;
        padding: 12px max(12px, (100cqw - var(--cmp-max)) / 2);
    }
    html.f26c .f26-cmp-ath { min-height: 64px; }
    html.f26c .f26-cmp-ath--b { flex-direction: row-reverse; padding: 6px 6px 6px 10px; text-align: right; }
    html.f26c .f26-cmp-ath--b .f26-cmp-ath__sub { justify-content: flex-end; }
    html.f26c .f26-cmp-ath--b .f26-cmp-ath__res { align-items: flex-start; }
    html.f26c .f26-cmp-mid { flex-direction: column; flex-wrap: nowrap; gap: 3px; padding: 4px; }
    html.f26c .f26-cmp-mid__gap { font-size: 27px; }
    html.f26c .is-lead-1 .f26-cmp-mid__arrow { clip-path: polygon(0 50%, 100% 0, 100% 100%); }
    html.f26c .is-lead-2 .f26-cmp-mid__arrow { clip-path: polygon(0 0, 100% 50%, 0 100%); }
    html.f26c .is-lead-2 .f26-cmp-mid__gap { flex-direction: row-reverse; }
    html.f26c .f26-cmp-mid__sub { max-width: 190px; }
}

/* Si al nombre le queda poco sitio (tarjetas de menos de 360 px, como en los móviles de 320 y 360 px, y en dos columnas
   entre 640 y 900 px), el tiempo baja debajo del nombre para que el nombre no se parta a mitad de palabra: caja del
   puesto a lo alto, bandera y nombre arriba y el tiempo debajo (B, en dos columnas, en espejo). Sin bandera, el nombre
   y el tiempo van pegados a la caja. */
@container f26cmp (max-width: 359.98px) {
    html.f26c .f26-cmp-ath {
        display: grid;
        grid-template-columns: 46px auto minmax(0, 1fr);
        align-content: center;
        align-items: center;
        gap: 6px 10px;
    }
    html.f26c .f26-cmp-ath:not(:has(> .f26-cmp-ath__flag:not([style*="none"]))) { grid-template-columns: 46px minmax(0, 1fr); }
    html.f26c .f26-cmp-ath__rk { grid-column: 1 / 2; grid-row: 1 / span 2; }
    html.f26c .f26-cmp-ath__flag { grid-column: 2 / 3; grid-row: 1; }
    html.f26c .f26-cmp-ath__txt { grid-column: -2 / -1; grid-row: 1; }
    html.f26c .f26-cmp-ath__res {
        grid-column: 2 / -1;
        grid-row: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }
}
@container f26cmp (min-width: 640px) and (max-width: 899.98px) {
    html.f26c .f26-cmp-ath {
        display: grid;
        grid-template-columns: 46px auto minmax(0, 1fr);
        align-content: center;
        align-items: center;
        gap: 6px 10px;
    }
    html.f26c .f26-cmp-ath:not(:has(> .f26-cmp-ath__flag:not([style*="none"]))) { grid-template-columns: 46px minmax(0, 1fr); }
    html.f26c .f26-cmp-ath__rk { grid-column: 1 / 2; grid-row: 1 / span 2; }
    html.f26c .f26-cmp-ath__flag { grid-column: 2 / 3; grid-row: 1; }
    html.f26c .f26-cmp-ath__txt { grid-column: -2 / -1; grid-row: 1; }
    html.f26c .f26-cmp-ath__res {
        grid-column: 2 / -1;
        grid-row: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }
    html.f26c .f26-cmp-ath--b { grid-template-columns: minmax(0, 1fr) auto 46px; }
    html.f26c .f26-cmp-ath--b:not(:has(> .f26-cmp-ath__flag:not([style*="none"]))) { grid-template-columns: minmax(0, 1fr) 46px; }
    html.f26c .f26-cmp-ath--b .f26-cmp-ath__rk { grid-column: -2 / -1; }
    html.f26c .f26-cmp-ath--b .f26-cmp-ath__flag { grid-column: -3 / -2; }
    html.f26c .f26-cmp-ath--b .f26-cmp-ath__txt { grid-column: 1 / 2; }
    html.f26c .f26-cmp-ath--b .f26-cmp-ath__res { grid-column: 1 / -2; align-items: center; justify-content: flex-end; }
}

html.f26c .f26-cmp-empty {
    margin: 0;
    padding: 18px 16px 20px;
    color: var(--f26-text-2);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

/* Bloques: título con una marca roja, una frase y el contenido */
html.f26c .f26-cmp-body { display: flex; flex-direction: column; }
html.f26c .f26-cmp-sec {
    width: 100%;
    max-width: calc(var(--cmp-max) + 24px);
    margin: 0 auto;
    padding: 16px 12px 18px;
    border-top: 1px solid var(--f26-line);
}
html.f26c .f26-cmp-sec:first-child { border-top: 0; }
html.f26c .f26-cmp--dialog .f26-cmp-sec { padding-right: 0; padding-left: 0; }
html.f26c .f26-cmp-sec__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 4px;
}
html.f26c .f26-cmp-sec__t {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}
html.f26c .f26-cmp-sec__head .f26-cmp-sec__t { margin: 0; }
html.f26c .f26-cmp-sec__t::before {
    content: "";
    flex: none;
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: var(--f26-red);
}
html.f26c .f26-cmp-sec__sub { margin: 0 0 8px; color: var(--f26-text-2); font-size: 13px; line-height: 1.45; }
html.f26c .f26-cmp-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 12px;
    margin: 10px 0 0;
    color: var(--f26-mute);
    font-size: 11.5px;
    line-height: 1.45;
}
html.f26c .f26-cmp-foot b { color: var(--f26-text-2); font-weight: 800; }

/* Debajo de las cifras clave: qué mide cada una (plegado) y la clave del oro */
html.f26c .f26-cmp-more {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px 16px;
    margin-top: 10px;
}
html.f26c .f26-cmp-help { flex: 1 1 auto; min-width: 0; }
html.f26c .f26-cmp-help > summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 2px;
    border-radius: 6px;
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
}
html.f26c .f26-cmp-help > summary::-webkit-details-marker { display: none; }
html.f26c .f26-cmp-help > summary::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    margin-right: 2px;
    border-right: 2px solid var(--f26-red);
    border-bottom: 2px solid var(--f26-red);
    transform: rotate(-45deg);
}
html.f26c .f26-cmp-help[open] > summary::before { transform: rotate(45deg); }
html.f26c .f26-cmp-help > summary:hover { text-decoration: underline; text-decoration-color: var(--f26-red); text-underline-offset: 3px; }
html.f26c .f26-cmp-help > summary:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-cmp-help .f26-cmp-foot { margin-top: 6px; }
html.f26c .f26-cmp-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    margin-left: auto;
    color: var(--f26-text-2);
    font-size: 11.5px;
    font-weight: 700;
}
html.f26c .f26-cmp-gold i { flex: none; width: 18px; height: 10px; border-radius: 5px; background: var(--f26-gold); }

/* Nombres de las dos columnas (cifras clave y sectores) */
html.f26c .f26-cmp-names {
    display: flex;
    justify-content: space-between;
    gap: 6px 16px;
    margin: 6px 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.3;
    text-transform: uppercase;
}
html.f26c .f26-cmp-names > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
html.f26c .f26-cmp-names__a { color: var(--cmp-a); }
html.f26c .f26-cmp-names__b { color: var(--cmp-b); text-align: right; }
html.f26c .f26-cmp-names__a::before,
html.f26c .f26-cmp-names__b::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: currentColor;
}

/* Pastillas de las cifras (blancas; la mejor de las dos, en oro) */
html.f26c .f26-cmp-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    max-width: 100%;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-cmp-pill.is-best { background: var(--f26-gold); box-shadow: none; }
html.f26c .f26-cmp-pill.is-up { color: var(--f26-green-text); }
html.f26c .f26-cmp-pill.is-down { color: var(--f26-red); }
html.f26c .f26-cmp-pill.is-best:is(.is-up, .is-down) { color: var(--f26-ink); }

/* Cifras clave: A a la izquierda, el rótulo en una caja oscura en el centro y B a la derecha */
html.f26c .f26-cmp-stats { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-cmp-stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 1fr) minmax(0, 1fr);
    grid-template-areas: "a l b";
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 6px 8px;
    border-radius: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-cmp-stat__l {
    display: flex;
    grid-area: l;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 44px;
    padding: 5px 8px;
    border-radius: 7px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}
html.f26c .f26-cmp-stat__v { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html.f26c .f26-cmp-stat__v--a { grid-area: a; align-items: flex-start; }
html.f26c .f26-cmp-stat__v--b { grid-area: b; align-items: flex-end; text-align: right; }
html.f26c .f26-cmp-stat__v small {
    color: var(--f26-mute);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
@container f26cmp (min-width: 640px) {
    html.f26c .f26-cmp-stat { grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) minmax(0, 1fr); gap: 14px; padding: 6px 10px; }
    html.f26c .f26-cmp-stat__l { font-size: 11px; }
}

/* Leyenda de las gráficas */
html.f26c .f26-cmp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 0 2px;
    color: var(--f26-text-2);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
}
html.f26c .f26-cmp-legend__i { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
html.f26c .f26-cmp-legend__i i { flex: none; width: 12px; height: 12px; border-radius: 3px; }
html.f26c .f26-cmp-legend__i--a i { background: rgba(207, 18, 47, .18); box-shadow: inset 0 0 0 1.5px var(--cmp-a); }
html.f26c .f26-cmp-legend__i--b i { background: rgba(28, 28, 34, .14); box-shadow: inset 0 0 0 1.5px var(--cmp-b); }
html.f26c .f26-cmp-legend__i--line i { width: 18px; height: 3px; border-radius: 2px; box-shadow: none; }
html.f26c .f26-cmp-legend__i--line.f26-cmp-legend__i--a i { background: var(--cmp-a); }
html.f26c .f26-cmp-legend__i--line.f26-cmp-legend__i--b i { background: var(--cmp-b); }

/* Gráficas (diferencia y posición): la zona de los puntos tiene un alto fijo (--cmp-h) y márgenes para las
   pastillas (--cmp-pt, --cmp-pb) y para las etiquetas del eje vertical (--cmp-il, --cmp-ir). Las medidas de las
   pastillas y de las etiquetas del eje, que dependen del ancho de la gráfica, llegan calculadas con 100cqw */
html.f26c .f26-cmp-chart { container-type: inline-size; position: relative; margin-top: 4px; }
html.f26c .f26-cmp-plot { position: relative; height: calc(var(--cmp-h) + var(--cmp-pt) + var(--cmp-pb)); }
html.f26c .f26-cmp-in {
    position: absolute;
    top: var(--cmp-pt);
    bottom: var(--cmp-pb);
    left: var(--cmp-il);
    right: var(--cmp-ir);
}
html.f26c .f26-cmp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html.f26c .f26-cmp-grid { fill: none; stroke: var(--f26-line); stroke-width: 1; stroke-dasharray: 3 4; }
html.f26c .f26-cmp-zero { fill: none; stroke: var(--f26-mute-2); stroke-width: 1.5; }
html.f26c .f26-cmp-chart--pos .f26-cmp-grid { stroke-dasharray: none; }
html.f26c .f26-cmp-area.is-a { fill: rgba(207, 18, 47, .15); }
html.f26c .f26-cmp-area.is-b { fill: rgba(28, 28, 34, .12); }
html.f26c .f26-cmp-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
html.f26c .f26-cmp-line.is-a { stroke: var(--cmp-a); }
html.f26c .f26-cmp-line.is-b { stroke: var(--cmp-b); }
html.f26c .f26-cmp-line.is-diff { stroke: var(--f26-ink); stroke-width: 2; }
html.f26c .f26-cmp-yl {
    position: absolute;
    right: calc(100% + 8px);
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transform: translateY(-50%);
}
html.f26c .f26-cmp-yl.is-a { color: var(--cmp-a); }
html.f26c .f26-cmp-yl.is-b,
html.f26c .f26-cmp-yl.is-zero { color: var(--f26-ink); }

/* Una columna por paso que se puede tocar o enfocar: su punto y su aviso */
html.f26c .f26-cmp-hit {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 6px;
    outline: none;
    transform: translateX(-50%);
    cursor: default;
}
html.f26c .f26-cmp-hit::before {
    content: "";
    position: absolute;
    left: calc(50% - .5px);
    top: -8px;
    bottom: -8px;
    width: 1px;
    background: var(--f26-ink);
    opacity: 0;
}
html.f26c .f26-cmp-hit:hover,
html.f26c .f26-cmp-hit:focus { z-index: 4; }
html.f26c .f26-cmp-hit:hover::before,
html.f26c .f26-cmp-hit:focus::before { opacity: .22; }
html.f26c .f26-cmp-hit:focus-visible { box-shadow: var(--f26-focus); }
html.f26c .f26-cmp-dot {
    position: absolute;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--f26-ink);
    box-shadow: 0 0 0 1px rgba(28, 28, 34, .14);
    pointer-events: none;
}
html.f26c .f26-cmp-dot.is-head { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
html.f26c .f26-cmp-dot.is-a { background: var(--cmp-a); }
html.f26c .f26-cmp-dot.is-b { background: var(--cmp-b); }
html.f26c .f26-cmp-dot.is-eq { background: var(--f26-gold); }
html.f26c .f26-cmp-tip {
    position: absolute;
    left: 50%;
    top: var(--cmp-ty);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: max-content;
    max-width: min(240px, calc(100cqw - var(--cmp-il, 30px)));
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--f26-ink);
    box-shadow: var(--f26-shadow-2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    transform: translate(var(--cmp-tx), calc(-100% - 12px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .12s ease, visibility .12s;
}
html.f26c .f26-cmp-tip.is-dn { transform: translate(var(--cmp-tx), 12px); }
html.f26c .f26-cmp-tip b { color: var(--f26-gold); font-weight: 800; }
html.f26c .f26-cmp-tip span { display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
html.f26c .f26-cmp-tip span:is(.is-a, .is-b)::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--cmp-a);
}
html.f26c .f26-cmp-tip span.is-b::before { background: #fff; }
html.f26c .f26-cmp-tip span.is-lead { margin-top: 2px; font-weight: 800; }
/* Con el teclado (una parada por gráfica), el aviso recuerda que las flechas llevan a los otros pasos */
html.f26c .f26-cmp-tip .f26-cmp-tip__kbd {
    display: none;
    margin-top: 3px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 700;
}
html.f26c .f26-cmp-hit:focus-visible .f26-cmp-tip__kbd { display: flex; }
html.f26c .f26-cmp-hit:hover > .f26-cmp-tip,
html.f26c .f26-cmp-hit:focus > .f26-cmp-tip { opacity: 1; visibility: visible; }

/* Pastillas con la cifra junto al punto: se ocultan solas (letra a 0) si la gráfica es tan estrecha que se tocarían */
html.f26c .f26-cmp-pill2 {
    position: absolute;
    z-index: 2;
    height: 1.6364em;
    overflow: hidden;
    border-radius: .82em;
    background: var(--f26-ink);
    color: #fff;
    font-weight: 800;
    line-height: 1.6364em;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
html.f26c .f26-cmp-pill2.is-a { background: var(--cmp-a); }
html.f26c .f26-cmp-pill2.is-eq { background: var(--f26-gold); color: var(--f26-ink); }

/* Eje horizontal: solo los sectores, repartidos en filas si no caben */
html.f26c .f26-cmp-axis {
    position: relative;
    height: var(--cmp-axh, 16px);
    margin: 0 var(--cmp-ir) 0 var(--cmp-il);
}
html.f26c .f26-cmp-xl {
    position: absolute;
    color: var(--f26-text-2);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
}

/* Sector a sector: caja con el sector, el tiempo de cada uno (el más rápido en oro) con su puesto en el sector y,
   en el centro, una barra hacia quien gana con lo que le saca (misma escala en todas las filas). En estrecho, la
   caja va encima; desde 640 px, a la izquierda, y las columnas de tiempos miden lo mismo en todas las filas */
html.f26c .f26-cmp-laps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
}
html.f26c .f26-cmp-laps:hover { border-color: var(--f26-ink); }
html.f26c .f26-cmp-laps i { font-size: 10px; }
html.f26c .f26-cmp-srows { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-cmp-srow {
    --kx-c: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas: "box box box" "a bar b";
    align-items: center;
    gap: 6px 8px;
    padding: 6px 8px 8px;
    border-radius: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-cmp-srow--sw { --kx-c: var(--rl-swim, #0d6c96); }
html.f26c .f26-cmp-srow--cy { --kx-c: var(--rl-bike, #c07a12); }
html.f26c .f26-cmp-srow--ru { --kx-c: var(--rl-run, #d10a2c); }
html.f26c .f26-cmp-srow--tr { --kx-c: var(--f26-mute-2); }
html.f26c .f26-cmp-srow--leg { --kx-c: var(--f26-gold); }
html.f26c .f26-cmp-srow--sk { --kx-c: var(--f26-blue); }
html.f26c .f26-cmp-srow__box {
    display: inline-flex;
    grid-area: box;
    align-items: center;
    justify-self: start;
    min-height: 24px;
    max-width: 100%;
    padding: 3px 10px 3px 12px;
    border-radius: 6px;
    background: var(--f26-ink);
    box-shadow: inset 4px 0 0 var(--kx-c);
    color: #fff;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.15;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
html.f26c .f26-cmp-srow--total { background: #fff; box-shadow: inset 0 0 0 1.5px var(--f26-ink); }
html.f26c .f26-cmp-srow--total .f26-cmp-srow__box { background: var(--f26-red); box-shadow: none; }
html.f26c .f26-cmp-srow.is-lap { padding-top: 4px; padding-bottom: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--f26-line); }
html.f26c .f26-cmp-srow.is-lap .f26-cmp-srow__box {
    min-height: 22px;
    background: var(--f26-tint-2);
    box-shadow: inset 3px 0 0 var(--kx-c);
    color: var(--f26-ink);
    font-weight: 800;
}
html.f26c .f26-cmp-srow.is-lap .f26-cmp-pill { height: 26px; padding: 0 10px; font-size: 12.5px; }
html.f26c .f26-cmp-srow__v { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-cmp-srow__v--a { grid-area: a; align-items: flex-start; }
html.f26c .f26-cmp-srow__v--b { grid-area: b; align-items: flex-end; }
html.f26c .f26-cmp-srow__v .f26-cmp-pill { min-width: 0; padding: 0 10px; }
html.f26c .f26-cmp-rk {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-cmp-rk:is(.is-1, .is-2, .is-3)::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--f26-gold);
}
html.f26c .f26-cmp-rk.is-1 { color: var(--f26-gold-text); }
html.f26c .f26-cmp-rk.is-2::before { background: var(--f26-silver); }
html.f26c .f26-cmp-rk.is-3::before { background: var(--f26-bronze); }
html.f26c .f26-cmp-srow__bar { position: relative; grid-area: bar; align-self: center; height: 32px; min-width: 0; }
html.f26c .f26-cmp-srow__bar::before {
    content: "";
    position: absolute;
    left: calc(50% - .5px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--f26-mute-2);
}
html.f26c .f26-cmp-srow__fill { position: absolute; bottom: 4px; height: 10px; }
html.f26c .f26-cmp-srow__fill.is-a { right: 50%; border-radius: 5px 0 0 5px; background: var(--cmp-a); }
html.f26c .f26-cmp-srow__fill.is-b { left: 50%; border-radius: 0 5px 5px 0; background: var(--cmp-b); }
html.f26c .f26-cmp-srow__lab {
    position: absolute;
    top: 0;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 15px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-cmp-srow__lab.is-a { right: calc(50% + 5px); color: var(--cmp-a); }
html.f26c .f26-cmp-srow__lab.is-b { left: calc(50% + 5px); color: var(--cmp-b); }
html.f26c .f26-cmp-srow__lab.is-eq { top: 8px; left: 50%; padding: 0 5px; background: var(--f26-tint); color: var(--f26-mute); transform: translateX(-50%); }
html.f26c .f26-cmp-srow.is-lap .f26-cmp-srow__lab.is-eq { background: #fff; }
html.f26c .f26-cmp-srow__tot { display: flex; grid-area: bar; justify-content: center; min-width: 0; }
html.f26c .f26-cmp-srow__gap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold);
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
html.f26c .f26-cmp-srow__gap.is-a { background: var(--cmp-a); color: #fff; }
html.f26c .f26-cmp-srow__gap.is-b { flex-direction: row-reverse; background: var(--cmp-b); color: #fff; }
html.f26c .f26-cmp-tri { flex: none; width: 9px; height: 10px; background: currentColor; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
html.f26c .f26-cmp-srow__gap.is-b .f26-cmp-tri { clip-path: polygon(0 0, 100% 50%, 0 100%); }
@container f26cmp (min-width: 640px) {
    html.f26c .f26-cmp-srow {
        grid-template-columns: 136px 112px minmax(0, 1fr) 112px;
        grid-template-areas: "box a bar b";
        gap: 12px;
        min-height: 54px;
        padding: 6px 12px 6px 6px;
    }
    html.f26c .f26-cmp-srow__box {
        justify-content: center;
        justify-self: stretch;
        align-self: stretch;
        min-height: 42px;
        padding: 4px 8px 4px 10px;
        border-radius: 7px;
        font-size: 11px;
        text-align: center;
    }
    html.f26c .f26-cmp-srow.is-lap { min-height: 44px; }
    html.f26c .f26-cmp-srow.is-lap .f26-cmp-srow__box { min-height: 32px; margin-left: 18px; }
    /* Los nombres, encima de sus columnas de tiempos */
    html.f26c .f26-cmp-names--sec {
        display: grid;
        grid-template-columns: 136px minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 12px;
        padding: 0 12px 0 6px;
    }
    html.f26c .f26-cmp-names--sec .f26-cmp-names__a { grid-column: 2; }
    html.f26c .f26-cmp-names--sec .f26-cmp-names__b { grid-column: 3; justify-content: flex-end; }
}

/* Avisos (provisional, retirados, invitados...) */
html.f26c .f26-cmp-notes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 12px 16px 14px;
    border-top: 1px solid var(--f26-line);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 12.5px;
    line-height: 1.45;
    list-style: none;
}
html.f26c .f26-cmp--dialog .f26-cmp-notes { border-radius: 10px; }
html.f26c .f26-cmp-notes i { margin-right: 4px; color: var(--f26-mute); }

@media (max-width: 575.98px) {
    html.f26c .f26-cmp-head { padding: 9px 8px 12px 14px; }
    html.f26c .f26-cmp-head__t { font-size: 14px; letter-spacing: .06em; }
    html.f26c .f26-cmp-duo { padding: 8px; }
    html.f26c .f26-cmp-sec { padding: 14px 8px 16px; }
    html.f26c .f26-cmp-notes { padding: 10px 12px 12px; }
}
@media (pointer: coarse) {
    html.f26c .f26-cmp-head__btn,
    html.f26c .f26-cmp-tools__btn { min-height: 44px; }
    html.f26c .f26-cmp-head__x { width: 44px; height: 44px; }
    html.f26c .f26-cmp-laps { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-cmp-tip { transition: none; }
}

/* ==========================================================================
   Detalle desplegado de un deportista (parciales, gráficas y, si se pide, la comparativa)
   Un marco con carácter que lo separa de su fila y de la siguiente: tarjeta con borde de marca, filete rojo arriba
   (con una muesca que apunta a la fila) y sombra suave, sobre un fondo algo más oscuro. Igual en la clasificación,
   en favoritos y en la clasificación incrustada; en /event-results, en el detalle de inscripciones, federación,
   club y deportista. Por debajo de 992 px el marco no resta ancho útil: en el móvil va pegado a la tabla y por dentro
   deja lo mismo que dejaba la celda (.3rem), así que el contenido mide lo mismo que antes y queda a 8 px del borde
   de la tabla como mucho. La celda lleva #resultsTable para ganar a las reglas de la página
   (#resultsTable tr td[colspan] { padding: .5rem / .3rem } en Pages/ResultsLive.razor).
   ========================================================================== */
html.f26c {
    --asd-line: var(--f26-line);
    --asd-sand: var(--f26-tint);
}
html.f26c #resultsTable .rl-table > tbody > tr.rl-detail-row > td {
    position: relative;
    padding: 10px 12px 18px;
    border-top: 0;
    background: var(--f26-bg);
}
/* Muesca roja que sale del filete hacia la fila desplegada */
html.f26c #resultsTable .rl-table > tbody > tr.rl-detail-row > td::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 36px;
    width: 18px;
    height: 9px;
    background: var(--f26-red);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
html.f26c .rl-detail-inner {
    padding: 18px 16px 16px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #FAFBFC;
    box-shadow: inset 0 4px 0 var(--f26-red), var(--f26-shadow-2);
}
html.f26c .rl-detail-top { margin-bottom: 12px; }

html.f26c .f26-er .registration-details,
html.f26c .f26-er .efr-detail,
html.f26c .f26-er .ecr-detail {
    position: relative;
    margin-top: 14px;
    padding: 16px 12px 12px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background-color: #FAFBFC;
    box-shadow: inset 0 4px 0 var(--f26-red), var(--f26-shadow-2);
}
html.f26c .f26-er :is(.registration-details, .efr-detail, .ecr-detail)::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 26px;
    width: 18px;
    height: 9px;
    background: var(--f26-red);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
html.f26c .f26-er .registration-details.d-none::before { display: none; }

/* Tableta: la celda deja 6 px y el marco 7 px por dentro (antes, 8 + 8 px o 4,8 + 8 px) */
@media (max-width: 991.98px) {
    html.f26c #resultsTable .rl-table > tbody > tr.rl-detail-row > td { padding: 10px 6px 16px; }
    html.f26c .rl-detail-inner { padding: 16px 7px 12px; }
}
/* Móvil: el marco va de borde a borde de la tabla y por dentro deja .3rem con el borde incluido, como dejaba la celda */
@media (max-width: 575.98px) {
    html.f26c #resultsTable .rl-table > tbody > tr.rl-detail-row > td { padding: 10px 0 14px; }
    html.f26c #resultsTable .rl-table > tbody > tr.rl-detail-row > td::before { left: 24px; }
    html.f26c .rl-detail-inner { padding: 14px calc(.3rem - 1px) 10px; }
    html.f26c .f26-er :is(.registration-details, .efr-detail, .ecr-detail) { padding: 14px 7px 8px; }
    html.f26c .f26-er :is(.registration-details, .efr-detail, .ecr-detail)::before { left: 18px; }
}

/* Foto del deportista en la clasificación (escritorio; en el móvil no se pide ni se ve) */
html.f26c .f26-rl-ph { display: none; }
@media (min-width: 992px) {
    html.f26c .f26-rl-ph {
        position: relative;
        display: grid;
        flex: 0 0 42px;
        place-items: center;
        width: 42px;
        height: 42px;
        overflow: hidden;
        border-radius: 11px;
        background: #2E2E38;
        box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--f26-line, #DADCE2);
        color: #B9BBC4;
        font-family: var(--f26-font);
        font-size: 13px;
        font-weight: 900;
    }
    html.f26c .f26-rl-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
    html.f26c .rank-1 .f26-rl-ph { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--f26-gold); }
    html.f26c .rank-2 .f26-rl-ph { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--f26-silver); }
    html.f26c .rank-3 .f26-rl-ph { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--f26-bronze); }
}

/* Foto de los tres del podio en el resumen de cada prueba del horario (escritorio) */
html.f26c .f26-sl-ph { display: none; }
@media (min-width: 992px) {
    html.f26c .f26-ev .schedule-live-container .sl-step .f26-sl-ph {
        position: relative;
        display: grid;
        flex: 0 0 34px;
        place-items: center;
        width: 34px;
        height: 34px;
        overflow: hidden;
        border-radius: 9px;
        background: #2E2E38;
        box-shadow: 0 0 0 2px var(--f26-step, var(--f26-mute-2));
        color: #B9BBC4;
        font-family: var(--f26-font);
        font-size: 11px;
        font-weight: 900;
    }
    html.f26c .f26-ev .schedule-live-container .sl-step .f26-sl-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
}

/* Diferencia con el primero, más grande (13,5 px; 12 en el móvil) */
html.f26c #resultsTable .rl-result-gap { margin-top: 3px; font-family: var(--f26-font); font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
    html.f26c #resultsTable .rl-result-gap { font-size: 12px; }
}
/* «Resultado» se puede pulsar para volver al orden de la clasificación */
html.f26c #resultsTable th.f26-th-sort { cursor: pointer; white-space: nowrap; user-select: none; }
html.f26c #resultsTable th.f26-th-sort .sort { margin-left: 4px; opacity: .55; }
html.f26c #resultsTable th.f26-th-sort.is-on .sort { opacity: 1; }
html.f26c #resultsTable th.f26-th-sort:hover { color: var(--f26-red); }

/* Pantallas estrechas: la clasificación cabe siempre en su tarjeta. A 320 px la cabecera «Resultado» (con su flecha
   y 18 px de margen) fijaba una columna de 119 px, y un nombre con una palabra larga otra de 169: la tabla medía
   324 px en una tarjeta de 304 y se cortaba lo de la derecha, también en la fila abierta (los relevistas). Un nombre
   solo se parte dentro de una palabra si no cabe de ninguna otra forma */
@media (max-width: 575.98px) {
    html.f26c #resultsTable .rl-athlete-name { overflow-wrap: anywhere; }
}
@media (max-width: 359.98px) {
    html.f26c #resultsTable .rl-table > thead > tr > th.rl-th-result { padding-right: 8px; padding-left: 4px; letter-spacing: .04em; }
    html.f26c #resultsTable th.f26-th-sort .sort { margin-left: 2px; }
    html.f26c #resultsTable .rl-table > tbody > tr > td.rl-th-athlete { padding-right: 4px; padding-left: 6px; }
    html.f26c #resultsTable .rl-athlete-cell { gap: 6px; }
    /* La estrella de favoritos va detrás de la última palabra, no en una columna aparte que resta sitio al nombre */
    html.f26c #resultsTable .rl-athlete-name { display: block; }
    html.f26c #resultsTable .rl-athlete-name > .btn { margin-left: 5px; vertical-align: 0; line-height: 1; }
    /* Detalle de parciales: los tiempos dentro de la barra, un punto más pequeños para que quepan en los tramos cortos */
    html.f26c #resultsTable .asd-stackbar div { font-size: 10px; letter-spacing: -.02em; }
}

/* Clasificación sub-23: su puesto y, debajo, el de la general */
html.f26c #resultsTable .rl-pos .f26-sub23-abs { display: block; margin-top: 1px; color: var(--f26-mute); font-size: 10px; font-weight: 800; line-height: 1; }

/* =====================================================================
   CLASIFICACIÓN DE CLUBES Y DATOS DE LA PRUEBA (F26ClubStandings)
   ===================================================================== */
html.f26c .f26-clubs-wrap { display: block; }
html.f26c .f26-clubs { display: flex; flex-direction: column; gap: 10px; font-family: var(--f26-font); }
html.f26c .f26-clubs__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 6px 0 2px; }
html.f26c .f26-clubs__head h2 { margin: 0; padding-left: 10px; border-left: 4px solid var(--f26-red); color: var(--f26-ink); font-size: 20px !important; font-weight: 900; letter-spacing: -.01em; }
html.f26c .f26-clubs__head span { color: var(--f26-mute); font-size: 12.5px; font-weight: 700; }
html.f26c .f26-clubs__head--stats { margin-top: 22px; }

/* Podio de clubes (2 - 1 - 3) */
html.f26c .f26-clubs__pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 10px; margin: 4px 0 6px; padding: 0; list-style: none; }
html.f26c .f26-clubs__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: var(--f26-tex, none), linear-gradient(180deg, #2E2E38 0%, #1C1C22 100%);
    color: #fff;
    text-align: center;
}
html.f26c .f26-clubs__card.p1 { padding-top: 26px; }
html.f26c .f26-clubs__medal { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--m); color: var(--f26-ink); font-size: 18px; font-weight: 900; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
html.f26c .f26-clubs__card.p1 { --m: var(--f26-gold); --h: 30px; }
html.f26c .f26-clubs__card.p2 { --m: var(--f26-silver); --h: 20px; }
html.f26c .f26-clubs__card.p3 { --m: var(--f26-bronze); --h: 12px; }
html.f26c .f26-clubs__cname { display: -webkit-box; min-height: 2.5em; margin-top: 4px; overflow: hidden; font-size: 13.5px; font-weight: 900; line-height: 1.25; text-transform: uppercase; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
html.f26c .f26-clubs__cval { color: var(--f26-gold); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-clubs__card small { color: #B9BBC4; font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .f26-clubs__step { align-self: stretch; height: var(--h); margin: 8px -12px 0; background: var(--m); }

/* Franjas */
html.f26c .f26-clubs__rows { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-clubs__item { overflow: hidden; border-radius: 6px; background: linear-gradient(90deg, #F5F6F8 0%, #E7EAEE 100%); box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
html.f26c .f26-clubs__row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(80px, 22%) 84px auto 18px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    padding: 0 12px 0 0;
    border: 0;
    background: none;
    color: var(--f26-ink);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
html.f26c .f26-clubs__row:disabled { cursor: default; opacity: 1; }
html.f26c .f26-clubs__row:not(:disabled):hover .f26-clubs__nm b { color: var(--f26-red-dk); }
html.f26c .f26-clubs__row:focus-visible { outline: 3px solid var(--f26-gold); outline-offset: -3px; }
html.f26c .f26-clubs__pos { display: grid; place-items: center; align-self: stretch; background: var(--f26-red); color: #fff; font-size: 17px; font-weight: 900; }
html.f26c .f26-clubs__pos.p1 { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-clubs__pos.p2 { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-clubs__pos.p3 { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-clubs__nm { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 6px 0; }
html.f26c .f26-clubs__nm b { overflow: hidden; font-size: 14px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
html.f26c .f26-clubs__nm small { color: var(--f26-mute); font-size: 11px; font-weight: 700; }
html.f26c .f26-clubs__bar { height: 8px; overflow: hidden; border-radius: 4px; background: rgba(28, 28, 34, .1); }
html.f26c .f26-clubs__bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--f26-red) 0%, var(--f26-orange) 70%, var(--f26-gold) 100%); transform: scaleX(var(--w)); transform-origin: left center; }
html.f26c .f26-clubs__gap { color: var(--f26-red); font-size: 12.5px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.f26c .f26-clubs__val { min-width: 84px; padding: 4px 10px; border-radius: var(--f26-pill); background: var(--f26-red); color: #fff; font-size: 14px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.f26c .f26-clubs__val.is-best { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-clubs__chev { color: var(--f26-mute); font-size: 12px; transition: transform .2s; }
html.f26c .f26-clubs__item.is-open .f26-clubs__chev { transform: rotate(180deg); }
html.f26c .f26-clubs__members { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 4px 12px 10px 60px; list-style: none; }
html.f26c .f26-clubs__members li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 6px; background: #fff; font-size: 13px; }
html.f26c .f26-clubs__members .p { display: grid; place-items: center; height: 24px; border-radius: 5px; background: var(--f26-ink); color: #fff; font-size: 11.5px; font-weight: 900; }
html.f26c .f26-clubs__members .n { overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-clubs__members .v { font-weight: 900; font-variant-numeric: tabular-nums; }

/* Datos de la prueba */
html.f26c .f26-clubs__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
html.f26c .f26-clubs__kpis div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--f26-tex, none), linear-gradient(135deg, #25252D 0%, #1C1C22 100%); color: #fff; }
html.f26c .f26-clubs__kpis b { font-size: 28px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
html.f26c .f26-clubs__kpis span { color: #B9BBC4; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
html.f26c .f26-clubs__kpis div:first-child b { color: var(--f26-gold); }
html.f26c .f26-clubs__sub { margin: 12px 0 2px !important; color: var(--f26-ink); font-size: 13px !important; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .f26-clubs__bars,
html.f26c .f26-clubs__medals { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-clubs__bars li,
html.f26c .f26-clubs__medals li { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr) 44px; align-items: center; gap: 12px; min-height: 34px; padding: 0 12px; border-radius: 6px; background: var(--f26-tint); }
html.f26c .f26-clubs__medals li { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
html.f26c .f26-clubs__bars .l,
html.f26c .f26-clubs__medals .l { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; font-size: 12.5px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
html.f26c .f26-clubs__bars .l img,
html.f26c .f26-clubs__medals .l img { flex: 0 0 auto; width: 24px; height: 16px; border-radius: 2px; object-fit: cover; }
html.f26c .f26-clubs__bars .t { height: 12px; overflow: hidden; border-radius: 6px; background: rgba(28, 28, 34, .08); }
html.f26c .f26-clubs__bars .t span { display: block; height: 100%; background: linear-gradient(90deg, var(--f26-red) 0%, var(--f26-orange) 100%); transform: scaleX(var(--w)); transform-origin: left center; }
html.f26c .f26-clubs__bars--fed .t span { background: linear-gradient(90deg, #1C1C22 0%, #4A4A57 100%); }
html.f26c .f26-clubs__bars b { font-size: 14px; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
html.f26c .f26-clubs__medals .m { display: flex; flex-wrap: wrap; gap: 5px; }
html.f26c .f26-clubs__medals .m i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
html.f26c .f26-clubs__medals .m i.g { background: var(--f26-gold); }
html.f26c .f26-clubs__medals .m i.s { background: var(--f26-silver); }
html.f26c .f26-clubs__medals .m i.b { background: var(--f26-bronze); }

@media (max-width: 767.98px) {
    html.f26c .f26-clubs__row { grid-template-columns: 38px minmax(0, 1fr) auto 14px; gap: 8px; padding-right: 8px; }
    html.f26c .f26-clubs__bar,
    html.f26c .f26-clubs__gap { display: none; }
    html.f26c .f26-clubs__val { min-width: 0; padding: 3px 8px; font-size: 12.5px; }
    html.f26c .f26-clubs__nm b { font-size: 12.5px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    html.f26c .f26-clubs__members { padding-left: 8px; padding-right: 8px; }
    html.f26c .f26-clubs__pod { gap: 6px; }
    html.f26c .f26-clubs__card { padding: 12px 6px 0; }
    html.f26c .f26-clubs__cname { font-size: 10.5px; }
    html.f26c .f26-clubs__cval { font-size: 15px; }
    html.f26c .f26-clubs__medal { width: 30px; height: 30px; font-size: 14px; }
    html.f26c .f26-clubs__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.f26c .f26-clubs__kpis b { font-size: 22px; }
    /* el nombre del club, entero, encima de su barra */
    html.f26c .f26-clubs__bars li { grid-template-columns: minmax(0, 1fr) 32px; row-gap: 4px; padding: 7px 8px; }
    html.f26c .f26-clubs__bars li .l { grid-column: 1 / -1; white-space: normal; }
    html.f26c .f26-clubs__medals li { gap: 8px; padding: 0 8px; }
    html.f26c .f26-clubs__medals li { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
    html.f26c .f26-clubs__bars .l, html.f26c .f26-clubs__medals .l { font-size: 11px; }
}

/* ---------- Relevos y equipos: componentes a la vista en la fila abierta (Components/F26/F26TeamMembers) ----------
   Una franja por componente: caja oscura con su orden, nombre con sexo y año y, en los relevos, su tramo
   (tiempo y puesto; el mejor tramo de la prueba en dorado). También en las listas del campeonato (--compact). */
html.f26c .f26-team {
    /* contenedor: por debajo de 300 px de ancho cada componente pasa a dos líneas (ver @container al final) */
    container: f26-team / inline-size;
    margin: 2px 0 14px;
    padding: 12px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    /* la celda de la clasificación centra y no parte el texto */
    text-align: left;
    white-space: normal;
}
html.f26c .f26-team__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 10px;
    margin: 0 2px 10px;
}
html.f26c .f26-team__title {
    color: var(--f26-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-team__title i { margin-right: 4px; color: var(--f26-red); }
html.f26c .f26-team__n { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-team__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-team__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    margin: 0;
    padding: 0 8px 0 0;
    border-radius: 10px;
    background: var(--f26-tint);
    overflow: hidden;
}
html.f26c .f26-team__ord {
    flex: 0 0 36px;
    align-self: stretch;
    display: grid;
    place-items: center;
    background: var(--f26-ink);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-team__who { flex: 1 1 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 7px 0; }
html.f26c .f26-team__name {
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: break-word;
}
html.f26c .f26-team__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    color: var(--f26-mute);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}
html.f26c .f26-team__meta > span:not(:first-child):not(.f26-team__sub23)::before { content: "·"; margin-right: 6px; }
html.f26c .f26-team__sub23 {
    padding: 0 6px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold-soft);
    color: var(--f26-gold-text);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 16px;
    text-transform: uppercase;
}
html.f26c .f26-team__leg { position: relative; flex: none; display: flex; align-items: center; gap: 6px; }
html.f26c .f26-team__legk {
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}
html.f26c .f26-team__legt {
    min-width: 66px;
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-team__row.is-best .f26-team__legt { background: var(--f26-gold); box-shadow: none; }
html.f26c .f26-team__legr {
    min-width: 34px;
    padding: 0 7px;
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-team__legr.is-top--1 { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-team__legr.is-top--2 { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-team__legr.is-top--3 { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-team__bio {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--f26-line);
    border-radius: 9px;
    background: #fff;
    color: var(--f26-ink);
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}
html.f26c .f26-team__bio i { color: var(--f26-mute); }
html.f26c .f26-team__bio:hover { border-color: var(--f26-ink); }
html.f26c .f26-team__bio:focus-visible { outline: 0; box-shadow: var(--f26-focus); }
html.f26c .f26-team__bio--ph { visibility: hidden; cursor: default; }
/* Listas del campeonato: más ajustado */
html.f26c .f26-team--compact { margin: 0 0 10px; padding: 10px; }
html.f26c .f26-team--compact .f26-team__row { min-height: 44px; }

@media (max-width: 575.98px) {
    html.f26c .f26-team { padding: 10px 8px; }
    html.f26c .f26-team__row { gap: 8px; padding-right: 6px; }
    html.f26c .f26-team__ord { flex-basis: 30px; font-size: 14px; }
    html.f26c .f26-team__name { font-size: 13.5px; }
    /* el número de la caja ya es el del relevo («Relevo N» queda para el lector de pantalla): tiempo y puesto uno
       encima del otro */
    html.f26c .f26-team__legk { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    html.f26c .f26-team__leg { flex-direction: column; align-items: center; gap: 3px; }
    html.f26c .f26-team__legt { min-width: 60px; padding: 3px 8px; font-size: 13px; }
    html.f26c .f26-team__legr { line-height: 17px; font-size: 10px; }
    html.f26c .f26-team__bio { width: 34px; padding: 0; }
    html.f26c .f26-team__biot { display: none; }
}
/* Bloque estrecho (listas del campeonato en el móvil, que van dentro de varias tarjetas): el tiempo del relevo baja
   debajo del nombre para que el nombre no se parta letra a letra */
@container f26-team (max-width: 300px) {
    html.f26c .f26-team__row {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        grid-template-areas: "ord who" "ord leg";
        align-items: start;
        column-gap: 10px;
        row-gap: 0;
        padding-right: 8px;
    }
    html.f26c .f26-team__row:has(> .f26-team__bio) {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        grid-template-areas: "ord who bio" "ord leg bio";
    }
    html.f26c .f26-team__ord { grid-area: ord; }
    html.f26c .f26-team__who { grid-area: who; padding-bottom: 4px; }
    html.f26c .f26-team__leg { grid-area: leg; flex-direction: row; align-items: center; justify-content: flex-start; gap: 6px; padding-bottom: 8px; }
    html.f26c .f26-team__bio { grid-area: bio; align-self: center; }
    html.f26c .f26-team__legk { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    html.f26c .f26-team__legt { min-width: 0; padding: 2px 8px; font-size: 12.5px; }
    html.f26c .f26-team__row:not(:has(> .f26-team__leg)) .f26-team__who { padding-bottom: 7px; }
}

/* ==========================================================================
   «El tiempo durante la prueba» (Claves): resumen de humedad, viento y lluvia y pastillas con icono en color en
   cada momento (salida, paso del primero por cada sector, llegadas). Datos de Open-Meteo cada 15 minutos.
   ========================================================================== */
html.f26c .f26-kx__wxsum {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 4px 10px 2px;
    list-style: none;
}
html.f26c .f26-kx__wxsum li {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
    padding: 8px 14px 8px 12px;
    border-radius: 10px;
    background: var(--f26-tint);
    color: var(--f26-ink);
}
html.f26c .f26-kx__wxsum i { align-self: center; font-size: 16px; }
html.f26c .f26-kx__wxsum .k { color: var(--f26-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-kx__wxsum b { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-kx__wxsum small { color: var(--f26-text-2); font-size: 12px; font-weight: 700; }
html.f26c .f26-kx__wxsum .is-hum i,
html.f26c .f26-kx__wx--hum i { color: #1E88E5; }
html.f26c .f26-kx__wxsum .is-wind i,
html.f26c .f26-kx__wx--wind i { color: #0F9D8A; }
html.f26c .f26-kx__wxsum .is-rain i,
html.f26c .f26-kx__wx--rain i { color: #8C93A3; }
html.f26c .f26-kx__wxsum .is-rain.is-wet i,
html.f26c .f26-kx__wx--rain.is-wet i { color: #3D5AFE; }
/* cita de Open-Meteo (CC BY 4.0), discreta */
html.f26c .f26-kx__src { margin: 6px 2px 0; text-align: right; font-size: 10.5px; line-height: 1; }
html.f26c .f26-kx__src a { color: var(--f26-mute, #8C93A3); font-weight: 600; text-decoration: none; }
html.f26c .f26-kx__src a:hover { text-decoration: underline; }
html.f26c .f26-kx__wx--temp i { color: #E5482F; }
html.f26c .f26-kx__wx--temp.is-best i { color: var(--f26-ink); }
html.f26c .f26-kx__wx { gap: 5px; min-width: 0; }
html.f26c .f26-kx__wx i { font-size: 12.5px; }
html.f26c .f26-kx__wx small { margin-left: -1px; }
html.f26c .f26-kx__wdir { transform: rotate(var(--d, 0deg)); }
html.f26c .f26-kx__wx--rain.is-wet { background: #E8ECFF; }
@media (max-width: 575.98px) {
    html.f26c .f26-kx__wxsum { gap: 6px; padding: 2px 8px 0; }
    html.f26c .f26-kx__wxsum li { padding: 7px 10px; }
    html.f26c .f26-kx__wxsum b { font-size: 14.5px; }
    html.f26c .f26-kx__pills--wx { gap: 4px; flex-wrap: nowrap; }
    html.f26c .f26-kx__pills--wx .f26-kx__pill { height: 28px; padding: 0 7px; gap: 4px; font-size: 12.5px; }
    html.f26c .f26-kx__pills--wx .f26-kx__pill i { font-size: 11px; }
}

/* ==========================================================================
   «Replay» de la carrera (Components/ResultsLive/F26RaceReplay.razor + js/f26-replay.js): panel oscuro de TV con
   mandos, barra de avance, franjas de los primeros (puesto, nombre, diferencia y pista con el destello) y el tiempo
   en cada punto de paso.
   ========================================================================== */
html.f26c .f26-rp {
    --rp-c1: 38px;
    --rp-c2: 284px;
    --rp-c3: 84px;
    --rp-cg: 10px;
    --rp-row: 46px;
    --rp-gap: 6px;
    position: relative;
    isolation: isolate;
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-radius: var(--f26-r-lg, 16px);
    background: var(--f26-ink);
    color: #fff;
    font-family: var(--f26-font);
    overflow: hidden;
    box-shadow: var(--f26-shadow-2);
}
html.f26c .f26-rp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); pointer-events: none; }
html.f26c .f26-rp__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 14px 16px 12px;
    background: var(--f26-red);
    box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, .12);
    position: relative;
}
html.f26c .f26-rp__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--f26-gold), var(--f26-orange, #E8702A), var(--f26-red)); }
html.f26c .f26-rp__title { margin: 0; color: #fff; font-size: 17px !important; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .f26-rp__title i { color: var(--f26-gold); margin-right: 4px; }
html.f26c .f26-rp__hint { margin: 2px 0 0; color: rgba(255, 255, 255, .82); font-size: 12.5px; font-weight: 600; }
html.f26c .f26-rp__share {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px;
    border: 0; border-radius: 999px; background: #fff; color: var(--f26-red);
    font: 800 13px/1 var(--f26-font); cursor: pointer;
}
html.f26c .f26-rp__acts { display: flex; flex-wrap: wrap; gap: 8px; }
html.f26c .f26-rp__share:hover { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-rp__share:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.f26c .f26-rp__stage { padding: 14px 16px 0; }
html.f26c .f26-rp__empty { margin: 8px 0; color: var(--f26-on-ink-mute, #B9BBC4); font-weight: 600; }

/* mandos */
html.f26c .f26-rp__ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html.f26c .f26-rp__play {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px 0 16px;
    border: 0; border-radius: 999px; background: var(--f26-red); color: #fff;
    font: 900 14px/1 var(--f26-font); letter-spacing: .02em; cursor: pointer;
    box-shadow: 0 4px 14px rgba(207, 18, 47, .35);
}
html.f26c .f26-rp__play:hover { background: #E0152F; }
html.f26c .f26-rp__btn {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
html.f26c .f26-rp__btn:hover { background: rgba(255, 255, 255, .18); }
html.f26c .f26-rp :is(.f26-rp__play, .f26-rp__btn, .f26-rp__seg button):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.f26c .f26-rp__clock { display: grid; line-height: 1.05; min-width: 104px; }
html.f26c .f26-rp__clock .k { color: var(--f26-on-ink-mute, #B9BBC4); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-rp__clock .t { color: var(--f26-gold); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-rp__clock .h { color: #fff; font-size: 11px; font-weight: 700; }
html.f26c .f26-rp__clock .h:not(:empty)::before { content: "Hora "; color: var(--f26-on-ink-mute, #B9BBC4); }
/* el paso en el que va el primero, bien grande (MAP, 23-11) */
html.f26c .f26-rp__now {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
    border-radius: 999px; background: rgba(255, 255, 255, .08);
    font-size: 20px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap;
}
html.f26c .f26-rp__now .c { flex: none; width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 12px 3px rgba(255, 255, 255, .2); }
@media (min-width: 992px) { html.f26c .f26-rp.is-full .f26-rp__now { font-size: calc(20px * min(var(--rp-k, 1), 1.6)); min-height: calc(44px * min(var(--rp-k, 1), 1.6)); } }
html.f26c .f26-rp__opts { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
html.f26c .f26-rp__seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
html.f26c .f26-rp__seg button {
    min-height: 30px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: #fff;
    font: 800 12px/1 var(--f26-font); cursor: pointer; font-variant-numeric: tabular-nums;
}
html.f26c .f26-rp__seg button:hover { background: rgba(255, 255, 255, .1); }
html.f26c .f26-rp__seg button.is-on { background: var(--f26-gold); color: var(--f26-ink); }

/* barra de avance */
html.f26c .f26-rp__scrub { margin: 12px 0 6px; }
html.f26c .f26-rp__range { width: 100%; height: 22px; margin: 0; accent-color: var(--f26-gold); cursor: pointer; }

/* pista */
html.f26c .f26-rp__board { position: relative; }
html.f26c .f26-rp__ruler,
html.f26c .f26-rp__row {
    display: grid;
    grid-template-columns: var(--rp-c1) var(--rp-c2) var(--rp-c3) minmax(0, 1fr);
    column-gap: var(--rp-cg);
    align-items: center;
}
html.f26c .f26-rp__ruler { height: 40px; }
html.f26c .f26-rp__rname { grid-column: 1 / 4; color: var(--f26-on-ink-mute, #B9BBC4); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-rp__track { position: relative; height: 100%; margin: 0 14px 0 8px; }
html.f26c .f26-rp__tseg { position: absolute; bottom: 6px; height: 6px; border-radius: 3px; opacity: .95; }
html.f26c .f26-rp__tlab {
    position: absolute; bottom: 15px; transform: translateX(-50%);
    color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
html.f26c .f26-rp__flag { position: absolute; right: -14px; bottom: 0; color: #fff; font-size: 13px; }

html.f26c .f26-rp__rows { position: relative; transition: height .3s ease; }
html.f26c .f26-rp__guides {
    position: absolute; top: 0; bottom: 0;
    left: calc(var(--rp-c1) + var(--rp-c2) + var(--rp-c3) + 3 * var(--rp-cg) + 8px);
    right: 22px; pointer-events: none;
}
html.f26c .f26-rp__guides i { position: absolute; top: -4px; bottom: 0; width: 1px; background: rgba(255, 255, 255, .06); }
html.f26c .f26-rp__guides i.is-main { background: rgba(255, 255, 255, .16); }
html.f26c .f26-rp__row {
    position: absolute; left: 0; right: 0; top: 0;
    height: var(--rp-row);
    padding-right: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .055);
    transition: transform 1s cubic-bezier(.45, .05, .25, 1), opacity .35s ease, background-color .3s ease, box-shadow .3s ease;
    will-change: transform;
}
/* Adelantamientos como en «Evolución»: la que sube se levanta con un borde verde y pasa por delante; la que baja se
   hunde, más oscura, y pasa por detrás */
html.f26c .f26-rp__row.is-up { background: #24402F; box-shadow: 0 14px 30px rgba(0, 0, 0, .6), 0 0 0 2px rgba(79, 213, 140, .95); }
html.f26c .f26-rp__row.is-down { background: #2A171C; box-shadow: inset 0 0 0 1px rgba(207, 18, 47, .55); }
/* sin filter: oscurecer con filter obligaba a repintar la franja entera en cada fotograma mientras se movía el punto */
html.f26c .f26-rp__row.is-down > :not(.f26-rp__lane):not(.f26-rp__mv) { opacity: .62; }
html.f26c .f26-rp__mv {
    /* delante de la diferencia, en su misma columna (no tapa el nombre) */
    position: absolute; left: calc(var(--rp-c1) + var(--rp-c2) + 2 * var(--rp-cg)); top: 50%; z-index: 2;
    min-width: 30px; padding: 2px 5px; border-radius: 999px;
    font-size: 11px; font-weight: 900; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums;
    transform: translateY(-50%) scale(.6); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
html.f26c .f26-rp__mv.is-up { opacity: 1; transform: translateY(-50%) scale(1); background: #4FD58C; color: #0E2A1A; box-shadow: 0 0 0 2px var(--f26-ink); }
html.f26c .f26-rp__mv.is-down { opacity: 1; transform: translateY(-50%) scale(1); background: #FF6B7F; color: #2A0A10; box-shadow: 0 0 0 2px var(--f26-ink); }
html.f26c .f26-rp__row.is-lead { background: rgba(253, 185, 19, .12); }
html.f26c .f26-rp__row.is-out:not([aria-hidden="true"]) { opacity: .45 !important; }
html.f26c .f26-rp__pos {
    display: flex; align-items: center; justify-content: center; align-self: stretch;
    border-radius: 10px 0 0 10px; background: var(--f26-red);
    font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums;
}
html.f26c .f26-rp__row.is-lead .f26-rp__pos { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-rp__row.is-out .f26-rp__pos { background: #4A4A55; }
html.f26c .f26-rp__who { display: grid; min-width: 0; line-height: 1.15; }
/* Bandera de la federación delante del nombre y el club (pedido por MAP) */
html.f26c .f26-rp__who.has-flg { grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; align-items: center; }
html.f26c .f26-rp__who.has-flg .f26-rp__nm,
html.f26c .f26-rp__who.has-flg .f26-rp__sub { grid-column: 2; }
html.f26c .f26-rp__flg { grid-column: 1; grid-row: 1 / 3; width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
html.f26c .f26-rp__nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; }
html.f26c .f26-rp__nm .is-short { display: none; }
html.f26c .f26-rp__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--f26-on-ink-mute, #B9BBC4); font-size: 11px; font-weight: 600; }
html.f26c .f26-rp__gap { color: #fff; font-size: 13px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.f26c .f26-rp__row.is-lead .f26-rp__gap { color: var(--f26-gold); }
html.f26c .f26-rp__row.is-out .f26-rp__gap { color: #FF8A9B; font-size: 11px; }
html.f26c .f26-rp__lane { position: relative; height: 100%; margin: 0 14px 0 8px; }
html.f26c .f26-rp__lane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: rgba(255, 255, 255, .08); }
html.f26c .f26-rp__dot {
    --c: #fff;
    position: absolute; top: 50%; left: 0;
    width: 24px; height: 24px; margin: -12px 0 0 -12px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 3px rgba(28, 28, 34, .9), 0 0 14px 4px var(--c);
    display: flex; align-items: center; justify-content: center;
}
/* estela del destello */
html.f26c .f26-rp__dot::before {
    content: ""; position: absolute; right: 50%; top: 50%; width: 56px; height: 6px; margin-top: -3px;
    border-radius: 3px; background: linear-gradient(90deg, transparent, var(--c));
    opacity: .55; z-index: -1;
}
html.f26c .f26-rp__dot b { color: var(--f26-ink); font-size: 8.5px; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
html.f26c .f26-rp__row.is-lead .f26-rp__dot { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: #fff; box-shadow: 0 0 0 3px var(--f26-gold), 0 0 22px 8px rgba(253, 185, 19, .65); }
html.f26c .f26-rp__row.is-fin .f26-rp__dot { box-shadow: 0 0 0 3px rgba(28, 28, 34, .9), 0 0 6px 1px var(--c); }
html.f26c .f26-rp__dot { will-change: transform; }
/* Con foto: la foto del deportista dentro del punto, como un rectángulo con las esquinas redondeadas (las fotos nunca
   van en círculo), más grande para que se reconozca y con el mismo brillo del color del sector */
html.f26c .f26-rp__dot img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 20%; }
html.f26c .f26-rp__dot img.f26-off { display: none; }
html.f26c .f26-rp__dot.has-ph { width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 8px; box-shadow: 0 0 0 2px var(--c), 0 0 0 4px rgba(28, 28, 34, .9), 0 0 14px 4px var(--c); }
html.f26c .f26-rp__row.is-lead .f26-rp__dot.has-ph { width: 36px; height: 36px; margin: -18px 0 0 -18px; box-shadow: 0 0 0 3px var(--f26-gold), 0 0 22px 8px rgba(253, 185, 19, .65); }
html.f26c .f26-rp__dot.has-ph b { visibility: hidden; }
html.f26c .f26-rp__dot.is-flash::after,
html.f26c .f26-rp__dot.is-flash2::after {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    border: 3px solid var(--c); animation: f26rp-flash .7s ease-out forwards;
}
html.f26c .f26-rp__dot.is-flash2::after { animation-name: f26rp-flash2; }
@keyframes f26rp-flash { from { opacity: 1; transform: scale(.5); } to { opacity: 0; transform: scale(1.9); } }
@keyframes f26rp-flash2 { from { opacity: 1; transform: scale(.5); } to { opacity: 0; transform: scale(1.9); } }

/* tiempo en cada punto */
html.f26c .f26-rp__wx { margin-top: 16px; }
html.f26c .f26-rp__wx[hidden] { display: none; }
html.f26c .f26-rp__wxhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-rp__wxhead i { color: var(--f26-gold); font-size: 15px; }
html.f26c .f26-rp__wxhead small { margin-left: auto; color: var(--f26-on-ink-mute, #B9BBC4); font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: none; }
html.f26c .f26-rp__wxlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
html.f26c .f26-rp__wxc {
    --c: #fff;
    padding: 10px 12px; border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 4px 0 0 var(--c);
    transition: background-color .3s ease, box-shadow .3s ease, opacity .3s ease;
    opacity: .6;
}
html.f26c .f26-rp__wxc.is-past { opacity: .85; }
html.f26c .f26-rp__wxc.is-cur { opacity: 1; background: rgba(255, 255, 255, .14); box-shadow: inset 4px 0 0 var(--c), 0 0 0 2px var(--f26-gold); }
html.f26c .f26-rp__wxc .h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
html.f26c .f26-rp__wxc .h b { font-size: 12.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.f26c .f26-rp__wxc .h span { color: var(--f26-gold); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .f26-rp__wxc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-rp__wxc li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.f26c .f26-rp__wxc li i { width: 14px; text-align: center; font-size: 12.5px; }
html.f26c .f26-rp__wxc .is-temp i { color: #FF6B4A; }
html.f26c .f26-rp__wxc .is-hum i { color: #4FA3FF; }
html.f26c .f26-rp__wxc .is-wind i { color: #3DD6B5; }
html.f26c .f26-rp__wxc .is-rain i { color: #B9BBC4; }
html.f26c .f26-rp__wxc .is-rain.is-wet i { color: #8FA2FF; }
html.f26c .f26-rp__wdir { transform: rotate(var(--d, 0deg)); }
html.f26c .f26-rp__note { margin: 12px 0 0; color: var(--f26-on-ink-mute, #B9BBC4); font-size: 11.5px; font-weight: 600; }

/* botón «Compartir podio» en Claves y en la clasificación */
html.f26c .f26-podshare {
    display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 14px;
    border: 0; border-radius: 999px; background: var(--f26-ink); color: #fff;
    font: 800 12.5px/1 var(--f26-font); cursor: pointer; white-space: nowrap;
}
html.f26c .f26-podshare i { color: var(--f26-gold); }
html.f26c .f26-podshare:hover { background: var(--f26-red); }
html.f26c .f26-podshare:hover i { color: #fff; }
html.f26c .f26-podshare:focus-visible { outline: none; box-shadow: var(--f26-focus); }

@media (max-width: 991.98px) {
    html.f26c .f26-rp { --rp-c2: 196px; --rp-c3: 70px; }
    html.f26c .f26-rp__opts { margin-left: 0; width: 100%; order: 6; }
    /* sonido y pantalla completa, arriba a la derecha junto al reloj */
    html.f26c .f26-rp__snd { order: 1; margin-left: auto; }
    html.f26c .f26-rp__full { order: 1; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-rp { --rp-c1: 28px; --rp-c2: 104px; --rp-c3: 54px; --rp-cg: 6px; --rp-row: 42px; --rp-gap: 5px; border-radius: 12px; }
    html.f26c .f26-rp__head { padding: 12px 12px 10px; }
    html.f26c .f26-rp__title { font-size: 15px !important; }
    html.f26c .f26-rp__hint { font-size: 11.5px; }
    html.f26c .f26-rp__share { min-height: 32px; padding: 0 12px; font-size: 12px; }
    html.f26c .f26-rp__stage { padding: 12px 8px 0; }
    html.f26c .f26-rp__ctrl { gap: 8px; }
    html.f26c .f26-rp__play { min-height: 38px; padding: 0 14px 0 12px; font-size: 13px; }
    html.f26c .f26-rp__btn { width: 38px; height: 38px; }
    html.f26c .f26-rp__clock { min-width: 0; }
    html.f26c .f26-rp__clock .t { font-size: 19px; }
    html.f26c .f26-rp__now { order: 5; width: 100%; justify-content: flex-start; min-height: 38px; font-size: 16px; }
    html.f26c .f26-rp__opts { order: 6; justify-content: space-between; }
    html.f26c .f26-rp__seg button { padding: 0 9px; }
    /* en el móvil la pista va debajo del nombre, a todo el ancho de la franja */
    html.f26c .f26-rp { --rp-row: 54px; --rp-c3: 64px; }
    html.f26c .f26-rp__row { grid-template-columns: var(--rp-c1) minmax(0, 1fr) var(--rp-c3); grid-template-rows: 28px 22px; row-gap: 0; align-items: center; }
    html.f26c .f26-rp__pos { grid-row: 1 / 3; }
    html.f26c .f26-rp__who { grid-column: 2; grid-row: 1; align-self: end; }
    html.f26c .f26-rp__sub { display: none; }
    html.f26c .f26-rp__gap { grid-column: 3; grid-row: 1; align-self: end; }
    html.f26c .f26-rp__lane { grid-column: 2 / 4; grid-row: 2; }
    html.f26c .f26-rp__ruler { grid-template-columns: var(--rp-c1) minmax(0, 1fr); height: 34px; }
    html.f26c .f26-rp__rname { display: none; }
    html.f26c .f26-rp__track { grid-column: 2; }
    html.f26c .f26-rp__nm { font-size: 13px; }
    html.f26c .f26-rp__nm .is-long { display: none; }
    html.f26c .f26-rp__nm .is-short { display: inline; }
    html.f26c .f26-rp__sub { font-size: 10px; }
    html.f26c .f26-rp__gap { font-size: 11.5px; }
    html.f26c .f26-rp__pos { font-size: 13px; }
    html.f26c .f26-rp__lane,
    html.f26c .f26-rp__track { margin: 0 10px 0 6px; }
    html.f26c .f26-rp__guides { right: 18px; left: calc(var(--rp-c1) + var(--rp-cg) + 6px); }
    html.f26c .f26-rp__guides i { top: 0; }
    html.f26c .f26-rp__dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
    html.f26c .f26-rp__dot b { display: none; }
    html.f26c .f26-rp__row.is-lead .f26-rp__dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
    html.f26c .f26-rp__dot::before { width: 34px; }
    html.f26c .f26-rp__dot.has-ph,
    html.f26c .f26-rp__row.is-lead .f26-rp__dot.has-ph { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 6px; }
    html.f26c .f26-rp__tlab { font-size: 9px; letter-spacing: .03em; }
    html.f26c .f26-rp__rname { font-size: 9px; }
    html.f26c .f26-rp__wxlist { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
    html.f26c .f26-rp__wxc { flex: 0 0 170px; scroll-snap-align: start; }
}
/* Con «reducir movimiento» del sistema se quita el destello, pero las franjas siguen viajando a su puesto: el replay solo
   se mueve si se pulsa «Reproducir», y ese movimiento es lo que cuenta (igual que «Evolución» con rkev-userplay). Antes
   aquí se quitaba la transición y en los equipos con esa opción las franjas saltaban sin animarse. */
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-rp__dot.is-flash::after { animation: none; display: none; }
}
html.f26c .f26-keys__head .f26-podshare { align-self: center; background: rgba(255, 255, 255, .12); }
html.f26c .f26-keys__head .f26-podshare:hover { background: var(--f26-red); }
html.f26c .rl-section-head .f26-podshare { min-height: 30px; padding: 0 12px; font-size: 12px; }

/* Cabecera de la prueba: iconos de las condiciones en color (temperatura del aire, del agua, neopreno y WBGT) */
html.f26c .rl-cond .f26-ico {
    --ico-c: var(--f26-ink);
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 32px; height: 32px; border-radius: 50%;
    background: color-mix(in srgb, var(--ico-c) 14%, #fff);
    color: var(--ico-c);
    font-size: 16px;
}
html.f26c .rl-cond .f26-ico--air { --ico-c: #E5482F; }
html.f26c .rl-cond .f26-ico--water { --ico-c: #1E88E5; }
html.f26c .rl-cond .f26-ico--neo-ok { --ico-c: #1B9E5A; }
html.f26c .rl-cond .f26-ico--neo-no { --ico-c: #CF122F; }
html.f26c .rl-cond .f26-ico--neo-must { --ico-c: #D98200; }
@media (max-width: 575.98px) {
    html.f26c .rl-cond .f26-ico { width: 26px; height: 26px; font-size: 13px; }
}

/* ==========================================================================
   «Parciales» (panel desplegable de resultados) y clasificación de cada parcial (StepClassification, en el diálogo)
   ========================================================================== */
html.f26c .f26-tl {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 10px;
    padding: 12px 2px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
}
html.f26c .f26-tl__step {
    --c: var(--f26-ink);
    display: flex; flex-direction: column; gap: 6px;
    padding: 0 0 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--f26-shadow-1), inset 0 0 0 1px var(--f26-line);
    overflow: hidden;
    scroll-snap-align: start;
}
html.f26c .f26-tl__step--sw { --c: #1E88E5; }
html.f26c .f26-tl__step--cy { --c: #E0A100; }
html.f26c .f26-tl__step--ru { --c: #E8702A; }
html.f26c .f26-tl__step--t1,
html.f26c .f26-tl__step--t2 { --c: #6E6E7A; }
html.f26c .f26-tl__step--leg { --c: #8E44AD; }
html.f26c .f26-tl__head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 40px; padding: 0 12px;
    border: 0; background: var(--f26-ink); color: #fff;
    box-shadow: inset 0 -4px 0 var(--c);
    font: 900 13px/1.1 var(--f26-font); letter-spacing: .06em; text-transform: uppercase; text-align: left; cursor: pointer;
}
html.f26c .f26-tl__head i { color: var(--f26-gold); }
html.f26c .f26-tl__head:hover { background: var(--f26-ink-2); }
html.f26c .f26-tl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding: 0 12px; }
html.f26c .f26-tl__k { grid-column: 1 / -1; color: var(--f26-mute); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-tl__who {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 0; border: 0; background: none; color: var(--f26-ink);
    font: 800 13.5px/1.3 var(--f26-font); text-align: left; cursor: pointer;
}
html.f26c .f26-tl__who:hover { color: var(--f26-red); text-decoration: underline; }
html.f26c .f26-tl__who.is-plain { cursor: default; }
html.f26c .f26-tl__who.is-plain:hover { color: var(--f26-ink); text-decoration: none; }
html.f26c .f26-tl__t {
    align-self: center; padding: 2px 9px; border-radius: 999px;
    background: var(--f26-tint); color: var(--f26-ink);
    font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums;
}
html.f26c .f26-tl__t.is-best { background: var(--f26-gold); }
html.f26c .f26-tl__more {
    align-self: flex-start; margin: 2px 12px 0; padding: 0; border: 0; background: none;
    color: var(--f26-red); font: 800 12px/1.2 var(--f26-font); cursor: pointer;
}
html.f26c .f26-tl__more i { margin-left: 3px; font-size: 10px; }
html.f26c .f26-tl :is(button):focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-tl__empty { padding: 14px; color: var(--f26-mute); }

html.f26c .f26-stp { font-family: var(--f26-font); }
html.f26c .f26-stp__tabs { display: flex; gap: 6px; padding: 0 0 12px; overflow-x: auto; }
html.f26c .f26-stp__tab {
    --c: var(--f26-ink);
    flex: none; min-height: 34px; padding: 0 14px;
    border: 0; border-radius: 999px; background: var(--f26-tint); color: var(--f26-ink);
    box-shadow: inset 0 -3px 0 var(--c);
    font: 800 12.5px/1 var(--f26-font); cursor: pointer; white-space: nowrap;
}
html.f26c .f26-stp__tab--sw { --c: #1E88E5; }
html.f26c .f26-stp__tab--cy { --c: #E0A100; }
html.f26c .f26-stp__tab--ru { --c: #E8702A; }
html.f26c .f26-stp__tab--t1,
html.f26c .f26-stp__tab--t2 { --c: #6E6E7A; }
html.f26c .f26-stp__tab.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .f26-stp__tab:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-stp__legend,
html.f26c .f26-stp__row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 104px 112px;
    gap: 12px;
    align-items: center;
}
html.f26c .f26-stp__legend { padding: 0 12px 6px 0; color: var(--f26-mute); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-stp__legend span:first-child { text-align: center; }
html.f26c .f26-stp__legend .r { text-align: right; }
html.f26c .f26-stp__list { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-stp__row { min-height: 48px; padding: 0 12px 0 0; border-radius: 10px; background: var(--f26-tint); overflow: hidden; }
html.f26c .f26-stp__pos {
    display: flex; align-items: center; justify-content: center; align-self: stretch;
    background: var(--f26-ink); color: #fff; font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums;
}
html.f26c .f26-stp__row.is-1 .f26-stp__pos { background: linear-gradient(160deg, #FFE27A, #FDB913 55%, #C98E00); color: var(--f26-ink); }
html.f26c .f26-stp__row.is-2 .f26-stp__pos { background: linear-gradient(160deg, #F1F3F6, #BFC4CD 55%, #8E949E); color: var(--f26-ink); }
html.f26c .f26-stp__row.is-3 .f26-stp__pos { background: linear-gradient(160deg, #F0C29A, #C8834F 55%, #8F5528); color: #fff; }
html.f26c .f26-stp__row.is-1 { background: var(--f26-gold-soft, #FFF6DA); }
html.f26c .f26-stp__who { display: grid; min-width: 0; line-height: 1.2; }
html.f26c .f26-stp__nm {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 0; border: 0; background: none; color: var(--f26-ink);
    font: 800 14px/1.25 var(--f26-font); text-align: left;
}
html.f26c button.f26-stp__nm { cursor: pointer; }
html.f26c button.f26-stp__nm:hover { color: var(--f26-red); text-decoration: underline; }
html.f26c button.f26-stp__nm:focus-visible { outline: none; box-shadow: var(--f26-focus); border-radius: 3px; }
html.f26c .f26-stp__who small { display: flex; align-items: center; gap: 5px; overflow: hidden; color: var(--f26-mute); font-size: 11.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
html.f26c .f26-stp__who small img { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px var(--f26-line); }
html.f26c .f26-stp__time,
html.f26c .f26-stp__cum { display: grid; justify-items: end; line-height: 1.15; font-variant-numeric: tabular-nums; }
html.f26c .f26-stp__time b { padding: 3px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--f26-line); font-size: 14px; font-weight: 900; }
html.f26c .f26-stp__row.is-1 .f26-stp__time b { background: var(--f26-gold); box-shadow: none; }
html.f26c .f26-stp__time small { margin-top: 2px; color: var(--f26-red); font-size: 11px; font-weight: 800; }
html.f26c .f26-stp__cum { color: var(--f26-ink); font-size: 13px; font-weight: 800; }
html.f26c .f26-stp__cum small { color: var(--f26-mute); font-size: 10.5px; font-weight: 700; }
html.f26c .f26-stp__more {
    display: block; margin: 10px auto 0; min-height: 36px; padding: 0 18px;
    border: 0; border-radius: 999px; background: var(--f26-ink); color: #fff;
    font: 800 13px/1 var(--f26-font); cursor: pointer;
}
html.f26c .f26-stp__more:hover { background: var(--f26-red); }
html.f26c .f26-stp__note { margin: 10px 0 0; color: var(--f26-mute); font-size: 11.5px; text-align: center; }
@media (max-width: 575.98px) {
    html.f26c .f26-tl { grid-auto-columns: minmax(78%, 1fr); }
    html.f26c .f26-stp__legend,
    html.f26c .f26-stp__row { grid-template-columns: 36px minmax(0, 1fr) 86px; gap: 8px; }
    html.f26c .f26-stp__hide-s { display: none; }
    html.f26c .f26-stp__row { padding-right: 8px; min-height: 46px; }
    html.f26c .f26-stp__nm { font-size: 13px; }
    html.f26c .f26-stp__time b { padding: 3px 8px; font-size: 13px; }
}

/* ===== Replay: pantalla completa ===== */
html.f26-rp-lock { overflow: hidden; }
html.f26c .f26-rp.is-full,
html.f26c .f26-rp:fullscreen {
    position: fixed; inset: 0; z-index: 3000; width: 100%; max-width: none; height: 100%; margin: 0;
    border-radius: 0; overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom);
}
html.f26c .f26-rp:fullscreen::backdrop { background: var(--f26-ink, #1C1C22); }
html.f26c .f26-rp.is-full .f26-rp__stage { padding-bottom: 16px; }
html.f26c :is(.f26-rp__full, .f26-rp__snd).f26-rp__btn { width: 34px; height: 34px; align-self: center; }
html.f26c .f26-rp__snd[aria-pressed="false"] { color: var(--f26-on-ink-mute, #B9BBC4); }
/* a pantalla completa ocupa todo el ancho (MAP, 23-11) */
@media (min-width: 992px) {
    html.f26c .f26-rp.is-full .f26-rp__head,
    html.f26c .f26-rp.is-full .f26-rp__stage { padding-inline: clamp(16px, 2vw, 40px); }
}

/* ===== Replay: gráficas del tiempo que avanzan con la carrera ===== */
html.f26c .f26-rp__charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(150px, .7fr); gap: 8px; margin-top: 16px; }
html.f26c .f26-rp__charts[hidden] { display: none; }
html.f26c .f26-rp__chart {
    position: relative; min-width: 0; padding: 10px 12px 8px; border-radius: 10px;
    background: rgba(255, 255, 255, .06); box-shadow: inset 3px 0 0 var(--c, #fff);
}
html.f26c .f26-rp__chart .h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
html.f26c .f26-rp__chart .h span { display: inline-flex; align-items: center; gap: 6px; color: var(--f26-on-ink-mute, #B9BBC4); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
html.f26c .f26-rp__chart .h span i { color: var(--c, #fff); font-size: 12.5px; }
html.f26c .f26-rp__chart .h .v { color: #fff; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.f26c .f26-rp__chart svg { display: block; width: 100%; height: 64px; overflow: visible; }
html.f26c .f26-rp__chart .ahead { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.6; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
html.f26c .f26-rp__chart .line { fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html.f26c .f26-rp__chart .gust { fill: none; stroke: var(--c); stroke-width: 1.4; stroke-dasharray: 4 3; opacity: .6; vector-effect: non-scaling-stroke; }
html.f26c .f26-rp__chart .cur { stroke: rgba(255, 255, 255, .55); stroke-width: 1; vector-effect: non-scaling-stroke; }
html.f26c .f26-rp__chart .dot {
    position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 2px var(--c), 0 0 12px 3px var(--c); pointer-events: none;
}
html.f26c .f26-rp__chart .plot { position: relative; }
html.f26c .f26-rp__chart .ax { display: flex; justify-content: space-between; margin-top: 3px; color: var(--f26-on-ink-mute, #B9BBC4); font-size: 9.5px; font-weight: 700; }
html.f26c .f26-rp__chart .ax em { font-style: normal; color: var(--c); opacity: .85; }
html.f26c .f26-rp__rain { --c: #8FA2FF; }
html.f26c .f26-rp__rain .drop { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-top: 4px; }
html.f26c .f26-rp__rain svg { flex: 0 0 auto; width: 38px; height: 50px; overflow: visible; }
html.f26c .f26-rp__rain .out { fill: none; stroke: #B9BBC4; stroke-width: 2.4; }
html.f26c .f26-rp__rain.is-wet .out { stroke: #8FA2FF; }
html.f26c .f26-rp__rain .lvl { fill: #5C7CFF; transition: y .5s ease; }
html.f26c .f26-rp__rain .t { display: grid; gap: 2px; line-height: 1.15; }
html.f26c .f26-rp__rain .t b { color: #fff; font-size: 14px; font-weight: 900; }
html.f26c .f26-rp__rain .t small { color: var(--f26-on-ink-mute, #B9BBC4); font-size: 11px; font-weight: 700; }
@media (max-width: 991.98px) {
    html.f26c .f26-rp__charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    html.f26c .f26-rp__chart { padding: 8px 10px 6px; }
    html.f26c .f26-rp__chart .h .v { font-size: 14px; }
    html.f26c .f26-rp__chart .h span { font-size: 9.5px; letter-spacing: .05em; }
    html.f26c .f26-rp__chart svg { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-rp__rain .lvl { transition: none; }
}

/* ==========================================================================
   Documentos oficiales (Components/F26/F26DocList.razor): una franja por documento con la caja oscura y el icono de
   su tipo, el nombre y el tipo, y «Excel» y «Abrir» en pastillas. Resultados de la prueba, del campeonato y ficha.
   ========================================================================== */
html.f26c .f26-docs { margin: 12px 0 4px; font-family: var(--f26-font); color: var(--f26-ink); }
html.f26c .f26-docs__bar {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 8px; padding: 10px 14px; border-radius: 10px;
    background: var(--f26-ink); color: #fff; isolation: isolate; overflow: hidden;
}
html.f26c .f26-docs__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26c .f26-docs__bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--f26-red) 0 70%, var(--f26-gold) 70%); }
html.f26c .f26-docs__title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-docs__title i { color: var(--f26-gold); }
html.f26c .f26-docs__count { padding: 3px 10px; border-radius: 999px; background: var(--f26-gold); color: var(--f26-ink); font-size: 11.5px; font-weight: 900; white-space: nowrap; }
html.f26c .f26-docs__group { margin: 14px 0 6px; color: #5A5A66; font-size: 11px !important; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-docs__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-docs__row {
    --dc: var(--f26-gold);
    display: flex; align-items: center; gap: 8px;
    min-height: 56px; padding: 0 8px 0 0;
    border-radius: 10px; background: #fff;
    box-shadow: 0 1px 2px rgba(28, 28, 34, .06), inset 0 0 0 1px #ECECF0;
    transition: box-shadow .15s ease, transform .15s ease;
}
html.f26c .f26-docs__row:hover { box-shadow: 0 6px 18px rgba(28, 28, 34, .1), inset 0 0 0 1px #DCDCE2; }
html.f26c .f26-docs__row--sl { --dc: #4FC3F7; }
html.f26c .f26-docs__row--rule { --dc: #FF8A9B; }
html.f26c .f26-docs__row--info { --dc: #3DD6B5; }
html.f26c .f26-docs__row--doc { --dc: #C9CBD3; }
html.f26c .f26-docs__main { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; align-self: stretch; color: inherit; text-decoration: none; }
html.f26c .f26-docs__main:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 2px; border-radius: 10px; }
html.f26c .f26-docs__ico {
    flex: 0 0 auto; display: grid; place-items: center; align-self: stretch;
    width: 52px; border-radius: 10px 0 0 10px; background: var(--f26-ink); color: var(--dc); font-size: 18px;
    box-shadow: inset -3px 0 0 var(--dc);
}
html.f26c .f26-docs__txt { display: grid; gap: 3px; min-width: 0; padding: 8px 0; }
html.f26c .f26-docs__txt b { font-size: 14px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
html.f26c .f26-docs__main:hover .f26-docs__txt b { color: var(--f26-red); }
html.f26c .f26-docs__txt small { display: inline-flex; align-items: center; gap: 8px; color: #5A5A66; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.f26c .f26-docs__ext { padding: 1px 6px; border-radius: 4px; background: #F1F2F5; color: var(--f26-ink); font-size: 9.5px; letter-spacing: .06em; }
html.f26c .f26-docs__acts { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
html.f26c .f26-docs__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
    font: 800 12.5px/1 var(--f26-font); text-decoration: none; white-space: nowrap; cursor: pointer;
}
html.f26c .f26-docs__btn--open { background: var(--f26-red); color: #fff; }
html.f26c .f26-docs__btn--open:hover { background: #B50F28; color: #fff; }
html.f26c .f26-docs__btn--xl { background: #E3F3EA; color: #13703F; }
html.f26c .f26-docs__btn--xl:hover:not(:disabled) { background: #1E7E4A; color: #fff; }
html.f26c .f26-docs__btn:disabled { opacity: .6; cursor: default; }
html.f26c .f26-docs__btn:focus-visible { outline: 2px solid var(--f26-ink); outline-offset: 2px; }
html.f26c .f26-docs__none { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: inset 4px 0 0 var(--f26-gold), inset 0 0 0 1px #ECECF0; color: var(--f26-ink); font-size: 13px; font-weight: 600; }
html.f26c .f26-docs__none i { color: var(--f26-gold-dk, #C98F00); }
html.f26c .f26-docs-card > h2 { font-family: var(--f26-font); }
/* «Todos los resultados» (24-11): primera franja, oscura con filete dorado, que descarga el Excel completo */
html.f26c .f26-docs__all {
    --dc: var(--f26-gold);
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; gap: 12px; width: 100%;
    min-height: 60px; margin: 0 0 8px; padding: 0 10px 0 0; border: 0; border-radius: 10px;
    background: var(--f26-ink); color: #fff; text-align: left; font-family: var(--f26-font); cursor: pointer;
    box-shadow: 0 4px 14px rgba(28, 28, 34, .18), inset 0 -3px 0 var(--f26-gold);
    transition: transform .15s ease, box-shadow .15s ease;
}
html.f26c .f26-docs__all::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); opacity: .9; }
html.f26c .f26-docs__all .f26-docs__ico { background: var(--f26-red); color: #fff; box-shadow: inset -3px 0 0 var(--f26-gold); border-radius: 10px 0 0 10px; }
html.f26c .f26-docs__all .f26-docs__txt b { color: #fff; font-size: 15px; font-weight: 900; }
html.f26c .f26-docs__all .f26-docs__txt small { color: rgba(255, 255, 255, .72); text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; }
html.f26c .f26-docs__allbtn {
    display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; margin-left: auto;
    min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--f26-gold); color: var(--f26-ink);
    font: 900 12.5px/1 var(--f26-font); white-space: nowrap;
}
html.f26c .f26-docs__all:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(28, 28, 34, .28), inset 0 -3px 0 var(--f26-gold); }
html.f26c .f26-docs__all:hover:not(:disabled) .f26-docs__allbtn { background: #fff; }
html.f26c .f26-docs__all:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 2px; }
html.f26c .f26-docs__all:disabled { cursor: progress; opacity: .85; }
@media (max-width: 575.98px) {
    html.f26c .f26-docs__row { min-height: 52px; gap: 6px; padding-right: 6px; }
    html.f26c .f26-docs__ico { width: 42px; font-size: 16px; }
    html.f26c .f26-docs__main { gap: 10px; }
    html.f26c .f26-docs__txt b { font-size: 13px; }
    html.f26c .f26-docs__btn { min-height: 36px; padding: 0 11px; }
    html.f26c .f26-docs__btn .f26-docs__lbl { display: none; }
    html.f26c .f26-docs__btn--open { width: 36px; padding: 0; }
    html.f26c .f26-docs__btn--xl { width: 36px; padding: 0; }
    html.f26c .f26-docs__all { min-height: 56px; gap: 10px; padding-right: 6px; }
    html.f26c .f26-docs__all .f26-docs__txt b { font-size: 13.5px; }
    html.f26c .f26-docs__allbtn { width: 36px; padding: 0; justify-content: center; }
    html.f26c .f26-docs__allbtn .f26-docs__lbl { display: none; }
}

/* =====================================================================
   RESULTADOS DEL CAMPEONATO (23-11): fotos, medallas y totales a la derecha, «Ver por puesto»,
   dorsal delante de la foto y filtro por prueba en «Inscripciones»
   ===================================================================== */
/* Foto de la ficha: rectángulo redondeado con las iniciales debajo (si no hay foto o no carga, f26-off) */
html.f26c .f26-er .f26-cph {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 40px;
    overflow: hidden;
    border-radius: 8px;
    background: #2E2E38;
    color: #B9BBC4;
    font-family: var(--f26-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
}
html.f26c .f26-er .f26-cph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
html.f26c .f26-er .f26-cph.is-team { background: var(--f26-tint-2); color: var(--f26-ink); font-size: 13px; }

/* Ganadores: medalla, foto y nombre */
html.f26c .f26-er .winner-ph { width: 38px; height: 46px; margin-right: 10px; }
html.f26c .f26-er .winner-position:has(.medal-gold) .winner-ph { box-shadow: 0 0 0 2px var(--f26-gold); }

/* Federación y club: medallas y total en un bloque a la derecha, pegado a la flecha */
html.f26c .f26-er .efr-fed-title,
html.f26c .f26-er .ecr-club-title { flex: 1 1 auto; min-width: 0; }
html.f26c .f26-er .efr-fed-name,
html.f26c .f26-er .ecr-club-name { min-width: 0; overflow-wrap: anywhere; }
html.f26c .f26-er .efr-fed-side {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 12px 0 10px;
}
html.f26c .f26-er .efr-fed-side .efr-fed-medals { flex-wrap: wrap; justify-content: flex-end; max-width: 240px; margin: 0; }
html.f26c .f26-er .efr-fed-side .efr-fed-count,
html.f26c .f26-er .efr-fed-side .ecr-club-count { min-width: 112px; text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .efr-fed-mcount { display: none; gap: 6px; }
html.f26c .f26-er .efr-mc { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-er .efr-mc .efr-medal { width: 10px; height: 10px; }
html.f26c .f26-er .ecr-club-row--open .ecr-club-count { background: var(--f26-ink); color: #fff; }
@media (max-width: 575.98px) {
    html.f26c .f26-er .efr-fed-side { gap: 6px; margin: 0 8px 0 6px; }
    html.f26c .f26-er .efr-fed-side .efr-fed-medals { display: none; }
    html.f26c .f26-er .efr-fed-mcount { display: inline-flex; }
    html.f26c .f26-er .efr-fed-side .efr-fed-count,
    html.f26c .f26-er .efr-fed-side .ecr-club-count { min-width: 30px; }
    html.f26c .f26-er .efr-fed-side .efr-fed-text { display: none; }
    html.f26c .f26-er .efr-fed-row--open .efr-mc { color: #fff; }
    html.f26c .f26-er .f26-cph { width: 30px; height: 36px; font-size: 10px; }
    html.f26c .f26-er .winner-ph { width: 34px; height: 40px; margin-right: 8px; }
    /* La fila de datos va debajo del nombre: sangría de puesto + foto */
    html.f26c .f26-er .efr-athlete-item:has(.f26-cph) .efr-athlete-meta,
    html.f26c .f26-er .ecr-athlete-item:has(.f26-cph) .ecr-athlete-meta { padding-left: 74px; }
}

/* «Por prueba» / «Ver por puesto» dentro de la federación abierta */
html.f26c .f26-er .efr-view {
    display: inline-flex;
    gap: 4px;
    margin: 0 0 12px;
    padding: 4px;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
}
html.f26c .f26-er .efr-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: transparent;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .f26-er .efr-view-btn:hover { color: var(--f26-ink); background: var(--f26-tint); }
html.f26c .f26-er .efr-view-btn.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .f26-er .efr-view-btn.is-on i { color: var(--f26-gold); }
html.f26c .f26-er .efr-athlete-ev {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--f26-red);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .f26-er .efr-athlete-ev i { font-size: 9px; }
@media (max-width: 575.98px) {
    html.f26c .f26-er .efr-view { display: flex; margin-bottom: 8px; }
    html.f26c .f26-er .efr-view-btn { flex: 1 1 0; justify-content: center; padding: 0 8px; }
}

/* Inscripciones: dorsal delante de la foto y filtro por prueba */
html.f26c .f26-er .reg-bibbox {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 40px;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--f26-ink);
    color: #fff;
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-er .reg-bibbox small { margin-bottom: 3px; color: var(--f26-gold); font-size: 7.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-er .reg-evsel {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
}
html.f26c .f26-er .reg-evsel i {
    position: absolute;
    left: 14px;
    color: var(--f26-red);
    font-size: 12px;
    pointer-events: none;
}
html.f26c .f26-er .reg-evsel select {
    max-width: 340px;
    min-height: 40px;
    padding: 0 34px 0 36px;
    border: 0;
    border-radius: var(--f26-pill);
    background-color: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
}
html.f26c .f26-er .reg-evsel select:focus { outline: none; box-shadow: var(--f26-focus); }
@media (max-width: 768px) {
    html.f26c .f26-er .reg-evsel,
    html.f26c .f26-er .reg-evsel select { width: 100%; max-width: none; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-er .reg-bibbox { min-width: 38px; height: 36px; font-size: 13px; }
}

/* Replay a pantalla completa: las franjas llenan el alto (JS pone --rp-row) y todo crece con ellas (--rp-k) */
html.f26c .f26-rp.is-full .f26-rp__wx,
html.f26c .f26-rp.is-full .f26-rp__note,
html.f26c .f26-rp:fullscreen .f26-rp__wx,
html.f26c .f26-rp:fullscreen .f26-rp__note { display: none; }
html.f26c .f26-rp.is-full .f26-rp__head { padding-top: 10px; padding-bottom: 10px; }
html.f26c .f26-rp.is-full .f26-rp__hint { display: none; }
html.f26c .f26-rp.is-full .f26-rp__charts { margin-top: 10px; }
html.f26c .f26-rp.is-full .f26-rp__chart { padding: 6px 10px 6px; }
html.f26c .f26-rp.is-full .f26-rp__chart svg { height: 34px; }
html.f26c .f26-rp.is-full .f26-rp__chart .ax { display: none; }
html.f26c .f26-rp.is-full .f26-rp__rain .drop { min-height: 34px; }
html.f26c .f26-rp.is-full .f26-rp__rain svg { width: 26px; height: 34px; }
html.f26c .f26-rp.is-full .f26-rp__scrub { margin: 6px 0 2px; }
html.f26c .f26-rp.is-full .f26-rp__stage { padding-top: 10px; }
/* la franja que sale del top baja por debajo de la última: que no alargue la pantalla completa */
html.f26c .f26-rp.is-full .f26-rp__rows { overflow-y: clip; }
@media (min-width: 576px) {
    /* textos grandes: crecen con el alto de la franja (--rp-k) y el nombre ocupa más columna */
    html.f26c .f26-rp.is-full { --rp-kc: min(var(--rp-k, 1), 2.2); --rp-c1: calc(38px * var(--rp-k, 1)); --rp-c2: calc(284px * min(var(--rp-k, 1), 2)); --rp-c3: calc(84px * min(var(--rp-k, 1), 2)); --rp-cg: calc(10px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__pos { font-size: calc(16px * var(--rp-k, 1)); }
    html.f26c .f26-rp.is-full .f26-rp__nm { font-size: calc(14px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__sub { font-size: calc(11px * min(var(--rp-k, 1), 1.9)); }
    html.f26c .f26-rp.is-full .f26-rp__gap { font-size: calc(13px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__mv { font-size: calc(11px * min(var(--rp-k, 1), 1.9)); min-width: calc(30px * min(var(--rp-k, 1), 1.9)); }
    html.f26c .f26-rp.is-full .f26-rp__rname,
    html.f26c .f26-rp.is-full .f26-rp__tlab { font-size: calc(10.5px * min(var(--rp-k, 1), 1.6)); }
    html.f26c .f26-rp.is-full .f26-rp__dot { width: calc(24px * var(--rp-kc)); height: calc(24px * var(--rp-kc)); margin: calc(-12px * var(--rp-kc)) 0 0 calc(-12px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__row.is-lead .f26-rp__dot { width: calc(28px * var(--rp-kc)); height: calc(28px * var(--rp-kc)); margin: calc(-14px * var(--rp-kc)) 0 0 calc(-14px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__dot b { font-size: calc(8.5px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__dot.has-ph { width: calc(32px * var(--rp-kc)); height: calc(32px * var(--rp-kc)); margin: calc(-16px * var(--rp-kc)) 0 0 calc(-16px * var(--rp-kc)); border-radius: calc(8px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__row.is-lead .f26-rp__dot.has-ph { width: calc(36px * var(--rp-kc)); height: calc(36px * var(--rp-kc)); margin: calc(-18px * var(--rp-kc)) 0 0 calc(-18px * var(--rp-kc)); }
}
@media (max-width: 575.98px) {
    html.f26c .f26-rp.is-full .f26-rp__nm { font-size: calc(13px * min(var(--rp-k, 1), 1.3)); }
    html.f26c .f26-rp.is-full .f26-rp__charts { display: none; }
    html.f26c .f26-rp.is-full .f26-rp__row { grid-template-rows: minmax(0, 1fr) 21px; }
}
@media (max-width: 575.98px) {
    /* en el móvil, al principio de la pista, debajo del nombre */
    html.f26c .f26-rp__mv { left: calc(var(--rp-c1) + 8px); top: auto; bottom: 3px; min-width: 26px; padding: 1px 4px; font-size: 10px; transform: scale(.6); }
    html.f26c .f26-rp__mv.is-up,
    html.f26c .f26-rp__mv.is-down { transform: none; }
}

/* ===== Clasificación de clubes y datos de la prueba en su bloque; en pantallas grandes, a la derecha de la
   clasificación individual (MAP, 23-11). En portátiles y móviles, debajo, como siempre ===== */
html.f26c .f26-clubs-wrap {
    container: f26clubs / inline-size;
    margin-top: 28px;
    padding: 18px 20px 20px;
    border: 1px solid var(--f26-line, #E3E5EA);
    border-radius: var(--f26-r-lg, 16px);
    background: #fff;
    box-shadow: var(--f26-shadow-1, 0 1px 3px rgba(0, 0, 0, .06));
}
html.f26c .f26-clubs-wrap .f26-clubs__head:first-child { margin-top: 0; }
@media (max-width: 575.98px) {
    html.f26c .f26-clubs-wrap { margin-top: 20px; padding: 12px 10px 14px; border-radius: 12px; }
}
@media (min-width: 1600px) {
    html.f26c .f26-rl-split.is-split {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(420px, 30%, 500px);
        gap: 20px;
        align-items: start;
    }
    html.f26c .f26-rl-split.is-split > .f26-rl-main { min-width: 0; }
    /* los clubes empiezan a la altura de la tabla individual, no de su título (MAP, 26-11: simétrico). La cabecera
       «Clasificación general» mide 38 px (el botón de expandir) con 5 px arriba y abajo */
    html.f26c .f26-rl-split.is-split > .f26-clubs-wrap { margin-top: 48px; }
    /* con las dos columnas la página se ensancha para que la tabla individual no pierda sitio (si no, los tiempos de
       los parciales se juntaban): excepción al ancho de «punto medio», solo con esta vista. Va en <html>, donde se
       define el ancho, y también en <body> */
    html.f26.f26c:has(.f26-rl-split.is-split),
    html.f26c body:has(.f26-rl-split.is-split),
    html.f26.f26c:has(.f26-rl-split.is-wide),
    html.f26c body:has(.f26-rl-split.is-wide) { --f26-maxw: min(calc(100vw - 80px), 2000px); }
}
html.f26c .f26-rl-headr { display: flex; align-items: center; gap: 12px; }
/* Live (MAP, 26-11): todas las columnas de pasos a todo el ancho de la página */
@media (min-width: 1200px) {
    html.f26.f26c:has(.f26-rl-split.is-live),
    html.f26c body:has(.f26-rl-split.is-live) { --f26-maxw: calc(100vw - 48px); }
}
html.f26c .f26-rl-expand {
    display: none; place-items: center; flex: none;
    width: 38px; height: 38px; padding: 0;
    border: 1px solid var(--f26-line); border-radius: 50%;
    background: #fff; color: var(--f26-ink); box-shadow: var(--f26-shadow-1);
    font-size: 15px; cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-rl-expand:hover { background: var(--f26-tint); }
html.f26c .f26-rl-expand.is-on { border-color: var(--f26-ink); background: var(--f26-ink); color: var(--f26-gold); }
html.f26c .f26-rl-expand:focus-visible { outline: none; box-shadow: var(--f26-focus); }
/* Botón de expandir, junto al número de deportistas de la tabla: solo desde 1600 px, donde los clubes pueden ir al lado */
@media (min-width: 1600px) {
    html.f26c .f26-rl-expand { display: inline-grid; }
}
/* Desde 1920 px sobra sitio: la clasificación de clubes se ensancha (hasta 720 px) y recupera la barra de cada club */
@media (min-width: 1920px) {
    html.f26c .f26-rl-split.is-split { grid-template-columns: minmax(0, 1fr) clamp(560px, 36%, 720px); gap: 24px; }
}
/* En el bloque estrecho de la derecha (o en pantallas medianas) las filas se compactan como en el móvil */
@container f26clubs (max-width: 560px) {
    html.f26c .f26-clubs__row { grid-template-columns: 40px minmax(0, 1fr) auto auto 14px; gap: 8px; padding-right: 8px; }
    html.f26c .f26-clubs__bar { display: none; }
    html.f26c .f26-clubs__gap { font-size: 11.5px; }
    html.f26c .f26-clubs__val { min-width: 0; padding: 3px 8px; font-size: 12.5px; }
    html.f26c .f26-clubs__nm b { font-size: 12.5px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    html.f26c .f26-clubs__members { padding-left: 8px; padding-right: 8px; }
    html.f26c .f26-clubs__pod { gap: 6px; }
    html.f26c .f26-clubs__card { padding: 12px 6px 0; }
    html.f26c .f26-clubs__cname { font-size: 10.5px; }
    html.f26c .f26-clubs__cval { font-size: 16px; }
    html.f26c .f26-clubs__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.f26c .f26-clubs__kpis b { font-size: 22px; }
    html.f26c .f26-clubs__bars li { grid-template-columns: minmax(0, 1fr) 32px; row-gap: 4px; padding: 7px 8px; }
    html.f26c .f26-clubs__bars li .l { grid-column: 1 / -1; white-space: normal; }
    html.f26c .f26-clubs__medals li { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 8px; padding: 0 8px; }
}
/* Bloque de clubes de anchura media (la columna de la derecha desde 1920 px): barra más corta y nombres en dos
   líneas en lugar de cortados */
@container f26clubs (min-width: 561px) and (max-width: 760px) {
    html.f26c .f26-clubs__row { grid-template-columns: 44px minmax(0, 1fr) minmax(60px, 18%) 64px auto 16px; gap: 10px; }
    html.f26c .f26-clubs__nm b { font-size: 13px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}

/* ---- Replay al acabar: podio en oro, plata y bronce y el tiempo de cada sector en grande (las transiciones no
   llevan, no cabe el dato). El mejor tiempo de cada sector va en dorado. ---- */
html.f26c .f26-rp__st {
    position: absolute; top: 50%; z-index: 1;
    padding: 2px 8px; border-radius: 6px;
    background: rgba(17, 17, 22, .82);
    color: #fff; font-size: 19px; font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap;
    transform: translate(-50%, -50%) scale(.7); opacity: 0; pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
}
html.f26c .f26-rp__st.is-best { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-rp__stage.is-done .f26-rp__st { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: calc(.25s + var(--i, 0) * .12s); }
html.f26c .f26-rp__stage.is-done .f26-rp__mv { opacity: 0; transition-delay: .6s; }
html.f26c .f26-rp__row.is-m1 { background: linear-gradient(90deg, rgba(253, 185, 19, .34), rgba(253, 185, 19, .12)); box-shadow: inset 0 0 0 2px var(--f26-gold); }
html.f26c .f26-rp__row.is-m2 { background: linear-gradient(90deg, rgba(200, 204, 212, .30), rgba(200, 204, 212, .10)); box-shadow: inset 0 0 0 2px #C8CCD4; }
html.f26c .f26-rp__row.is-m3 { background: linear-gradient(90deg, rgba(205, 127, 50, .32), rgba(205, 127, 50, .10)); box-shadow: inset 0 0 0 2px #CD7F32; }
html.f26c .f26-rp__row.is-m1 .f26-rp__pos { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-rp__row.is-m2 .f26-rp__pos { background: #C8CCD4; color: var(--f26-ink); }
html.f26c .f26-rp__row.is-m3 .f26-rp__pos { background: #CD7F32; color: #fff; }
html.f26c .f26-rp__row.is-m1 .f26-rp__gap { color: var(--f26-gold); }
@media (min-width: 576px) and (max-width: 991.98px) {
    html.f26c .f26-rp__st { padding: 1px 6px; font-size: 14px; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-rp__flg { width: 18px; height: 12px; border-radius: 2px; }
    html.f26c .f26-rp__who.has-flg { column-gap: 6px; }
    html.f26c .f26-rp__st { padding: 0 4px; border-radius: 4px; font-size: 11px; }
}
@media (min-width: 576px) {
    html.f26c .f26-rp.is-full .f26-rp__st { font-size: calc(19px * min(var(--rp-k, 1), 1.8)); padding: calc(2px * var(--rp-kc)) calc(8px * var(--rp-kc)); }
    html.f26c .f26-rp.is-full .f26-rp__flg { width: calc(26px * min(var(--rp-k, 1), 1.9)); height: calc(18px * min(var(--rp-k, 1), 1.9)); }
}

/* ---------- Claves: botones de paso, ayuda y donuts (Components/ResultsLive/RaceKeyStats.razor) ----------
   Con botones o ayuda, la cabecera lleva el título y los botones en la primera línea y el texto debajo. La ayuda
   ocupa todo el bloque (encima de las filas) y se cierra con «×». */
html.f26c .f26-kx__head--tools .f26-kx__tools { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
html.f26c .f26-kx__head--tools .f26-kx__hint { flex: 1 0 100%; order: 3; margin: 0; }
html.f26c .f26-kx__seg {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 3px;
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .1);
}
html.f26c .f26-kx__seg button {
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--f26-pill);
    background: none;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .03em;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-kx__seg button:hover { background: rgba(255, 255, 255, .16); }
html.f26c .f26-kx__seg button.is-on { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-kx__helpbtn,
html.f26c .f26-kx__help-x {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: none;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-kx__helpbtn:hover,
html.f26c .f26-kx__helpbtn.is-on { border-color: var(--f26-gold); background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-kx__seg button:focus-visible,
html.f26c .f26-kx__helpbtn:focus-visible,
html.f26c .f26-kx__help-x:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--f26-gold); }
html.f26c .f26-kx__empty { margin: 4px 4px 2px; color: var(--f26-mute); font-size: 13px; font-weight: 700; }

html.f26c .f26-kx.is-help { position: relative; min-height: 520px; }
html.f26c .f26-kx__help {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--f26-ink);
    background-image: var(--f26-tex), linear-gradient(180deg, #2B2B34 0%, #1C1C22 60%);
    color: #fff;
    animation: f26-kx-help .25s ease-out both;
}
@keyframes f26-kx-help { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.f26c .f26-kx__help-head {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 12px 14px;
}
html.f26c .f26-kx__help-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f26-grad-accent); }
html.f26c .f26-kx__help-ico { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--f26-red); font-size: 15px; }
html.f26c .f26-kx__help-head b { flex: 1; min-width: 0; font-size: 15px; font-weight: 900; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; }
html.f26c .f26-kx__help-x:hover { border-color: #fff; background: #fff; color: var(--f26-ink); }
html.f26c .f26-kx__help-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 18px 18px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.55;
}
html.f26c .f26-kx__help-body p { margin: 0 0 10px; }
html.f26c .f26-kx__help-body h4 { margin: 14px 0 6px; color: var(--f26-gold); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-kx__help-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 14px; margin: 4px 0 8px; }
html.f26c .f26-kx__help-list dt { margin: 0; }
html.f26c .f26-kx__help-list dd { margin: 0; align-self: center; }
html.f26c .f26-kx__help-list .f26-kx__pill { min-width: 84px; }
html.f26c .f26-kx__help-bar .f26-kx__legend { margin: 0 8px 6px 0; padding: 6px 10px; border-radius: 8px; background: #fff; }
@media (max-width: 767.98px) {
    html.f26c .f26-kx__head--tools .f26-kx__tools { flex: 1 0 100%; justify-content: flex-start; order: 4; margin: 4px 0 0; }
    html.f26c .f26-kx__head--tools .f26-kx__helpbtn { order: -1; position: absolute; top: 9px; right: 10px; width: 30px; height: 30px; }
    html.f26c .f26-kx__head--tools:has(.f26-kx__helpbtn) { padding-right: 50px; }
    html.f26c .f26-kx__head--tools:has(.f26-kx__helpbtn) .f26-kx__tools:not(:has(.f26-kx__seg)) { display: contents; }
    html.f26c .f26-kx__seg button { min-height: 32px; padding: 0 10px; font-size: 11px; }
    html.f26c .f26-kx.is-help { min-height: 620px; }
    html.f26c .f26-kx__help-body { padding: 12px 12px 16px; font-size: 13.5px; }
    html.f26c .f26-kx__help-list { grid-template-columns: 1fr; gap: 4px; }
    html.f26c .f26-kx__help-list dd { margin-bottom: 8px; }
}

/* Donut de los tres primeros datos de la carrera */
html.f26c .f26-kx__row--donut { min-height: 68px; }
html.f26c .f26-kx__donut { position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; }
html.f26c .f26-kx__donut svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
html.f26c .f26-kx__donut circle { fill: none; stroke-width: 5.5; }
html.f26c .f26-kx__donut-bg { stroke: #fff; filter: drop-shadow(0 0 0 var(--f26-line)); }
html.f26c .f26-kx__donut-fg { stroke: var(--f26-ink); stroke-linecap: round; }
html.f26c .f26-kx__donut--gold .f26-kx__donut-fg { stroke: var(--f26-gold); }
html.f26c .f26-kx__donut--out .f26-kx__donut-fg { stroke: var(--f26-red); }
html.f26c .f26-kx__donut b {
    position: relative;
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
@keyframes f26-kx-donut { from { stroke-dasharray: 0 100; } }
@media (prefers-reduced-motion: no-preference) {
    html.f26c .f26-kx__donut-fg { animation: f26-kx-donut .9s cubic-bezier(.45, .05, .25, 1) .15s both; }
}
@media (max-width: 767.98px) {
    html.f26c .f26-kx__donut { width: 50px; height: 50px; }
    html.f26c .f26-kx__donut b { font-size: 11px; }
}

/* =====================================================================
   FILTROS DE RESULTADOS (24-11): grafismo de TV (como los filtros del calendario). Barra oscura con el
   recuento y «Limpiar», grupos con su caja oscura e icono, opciones en pastillas y la elegida en dorado,
   federaciones con bandera y número de deportistas, y los filtros activos debajo con su «×».
   ===================================================================== */
html.f26c .expanded-container:has(> .f26-flt) { padding: 0; border: 0; background: transparent; box-shadow: none; }
html.f26c .f26-flt-badge {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 6px;
    border-radius: 999px; background: var(--f26-gold); color: var(--f26-ink); font: 900 11px/1 var(--f26-font);
}
html.f26c .f26-flt {
    overflow: hidden; border-radius: 14px; background: #fff; font-family: var(--f26-font); color: var(--f26-ink);
    box-shadow: 0 6px 22px rgba(28, 28, 34, .1), inset 0 0 0 1px #E6E7EC;
}
html.f26c .f26-flt__bar {
    position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    min-height: 50px; padding: 8px 10px 11px 16px; background: var(--f26-ink); color: #fff;
}
html.f26c .f26-flt__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26c .f26-flt__bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--f26-red) 0 70%, var(--f26-gold) 70%); }
html.f26c .f26-flt__title { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-flt__title i { color: var(--f26-gold); }
html.f26c .f26-flt__count { margin-left: auto; color: rgba(255, 255, 255, .75); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
html.f26c .f26-flt__count b { color: var(--f26-gold); font-size: 15px; font-weight: 900; }
html.f26c .f26-flt__clear {
    display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 8px 0 13px; border: 0; border-radius: 999px;
    background: var(--f26-red); color: #fff; font: 800 12.5px/1 var(--f26-font); cursor: pointer; white-space: nowrap;
}
html.f26c .f26-flt__clear:hover { background: #B50F28; }
html.f26c .f26-flt__clear:focus-visible { outline: 2px solid var(--f26-gold); outline-offset: 2px; }
html.f26c .f26-flt__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--f26-red); font-size: 11px; font-weight: 900; }
html.f26c .f26-flt__body {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 14px;
}
html.f26c .f26-flt__grp--search, html.f26c .f26-flt__grp--fed { grid-column: 1 / -1; }
html.f26c .f26-flt__grp {
    display: flex; align-items: stretch; min-width: 0; border-radius: 10px; background: #F6F7F9;
    box-shadow: inset 0 0 0 1px #ECEDF1;
}
html.f26c .f26-flt__ico {
    flex: 0 0 auto; display: grid; place-items: center; width: 46px; border-radius: 10px 0 0 10px;
    background: var(--f26-ink); color: var(--f26-gold); font-size: 16px; box-shadow: inset -3px 0 0 var(--f26-red);
}
html.f26c .f26-flt__fld { display: grid; align-content: center; gap: 6px; flex: 1 1 auto; min-width: 0; padding: 9px 12px 11px; }
html.f26c .f26-flt__lbl { margin: 0; color: #5A5A66; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-flt__search, html.f26c .f26-flt__selwrap { position: relative; --f26-clear-x: 20px; }
html.f26c .f26-flt__input, html.f26c .f26-flt__select {
    width: 100%; min-height: 42px; margin: 0; padding: 0 40px 0 14px; border: 0; border-radius: 8px;
    background: #fff; color: var(--f26-ink); font: 700 14.5px/1.2 var(--f26-font);
    box-shadow: inset 0 0 0 1.5px #D9DBE2; transition: box-shadow .15s ease;
    -webkit-appearance: none; appearance: none;
}
html.f26c .f26-flt__input::placeholder { color: #8A8A95; font-weight: 600; }
html.f26c .f26-flt__input:focus, html.f26c .f26-flt__select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--f26-ink), 0 0 0 3px rgba(253, 185, 19, .35); }
html.f26c .f26-flt__search.is-on .f26-flt__input, html.f26c .f26-flt__selwrap.is-on .f26-flt__select { box-shadow: inset 0 0 0 2px var(--f26-gold); background: #FFFBEF; }
html.f26c .f26-flt__select { cursor: pointer; text-overflow: ellipsis; }
html.f26c .f26-flt__selwrap > i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--f26-ink); font-size: 12px; pointer-events: none; }
html.f26c .f26-flt__pills { display: flex; flex-wrap: wrap; gap: 6px; }
html.f26c .f26-flt__pill {
    display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 0; border-radius: 999px;
    background: #fff; color: var(--f26-ink); font: 800 12.5px/1 var(--f26-font); white-space: nowrap; cursor: pointer;
    box-shadow: inset 0 0 0 1.5px #D9DBE2; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
html.f26c .f26-flt__pill:hover { box-shadow: inset 0 0 0 1.5px var(--f26-ink); }
html.f26c .f26-flt__pill:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 2px; }
html.f26c .f26-flt__pill.is-on { background: var(--f26-gold); box-shadow: inset 0 0 0 1.5px var(--f26-gold), 0 2px 8px rgba(253, 185, 19, .35); }
html.f26c .f26-flt__pill--fed { padding-left: 6px; text-transform: uppercase; font-size: 11.5px; letter-spacing: .02em; }
html.f26c .f26-flt__flag { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(28, 28, 34, .15); }
html.f26c .f26-flt__flag.f26-gone { display: none; }
html.f26c .f26-flt__num {
    display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: #EEF0F3; color: #4B4B55; font-size: 11px; font-weight: 900; letter-spacing: 0;
}
html.f26c .f26-flt__pill.is-on .f26-flt__num { background: var(--f26-ink); color: var(--f26-gold); }
html.f26c .f26-flt__star { color: var(--f26-gold); }
html.f26c .f26-flt__pill.is-on .f26-flt__star { color: var(--f26-ink); }
html.f26c .f26-flt__warn { color: var(--f26-red); }
html.f26c .f26-flt__tag { display: inline-grid; place-items: center; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--f26-ink); color: var(--f26-gold); font-size: 10px; font-weight: 900; }
html.f26c .f26-flt__active {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 14px 12px; border-top: 1px solid #ECEDF1; background: #FFFBEF;
}
html.f26c .f26-flt__alabel { margin-right: 4px; color: #8A6100; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-flt__chip {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 30px; padding: 0 10px 0 12px; border: 0; border-radius: 999px;
    background: var(--f26-ink); color: #fff; font: 800 12px/1.1 var(--f26-font); cursor: pointer;
}
html.f26c .f26-flt__chip i { color: var(--f26-gold); font-size: 11px; }
html.f26c .f26-flt__chip:hover { background: var(--f26-red); }
html.f26c .f26-flt__chip:hover i { color: #fff; }
html.f26c .f26-flt__chip:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 2px; }
@media (max-width: 767.98px) {
    html.f26c .f26-flt__body { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px; }
    html.f26c .f26-flt__bar { padding-left: 12px; }
    html.f26c .f26-flt__ico { width: 38px; font-size: 14px; }
    html.f26c .f26-flt__fld { padding: 8px 8px 10px 10px; }
    html.f26c .f26-flt__input, html.f26c .f26-flt__select { font-size: 16px; } /* sin zum al escribir en el iPhone */
    /* Federaciones: una fila que se desliza con el dedo */
    html.f26c .f26-flt__pills--fed {
        flex-wrap: nowrap; overflow-x: auto; margin-right: -8px; padding: 2px 8px 4px 2px;
        scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
    }
    html.f26c .f26-flt__pills--fed::-webkit-scrollbar { display: none; }
    html.f26c .f26-flt__pills--fed .f26-flt__pill { scroll-snap-align: start; flex: 0 0 auto; }
    html.f26c .f26-flt__active { padding: 8px 10px 10px; }
}
@media (max-width: 480px) {
    html.f26c .f26-flt__clear { padding: 0 6px 0 10px; gap: 6px; }
    html.f26c .f26-flt__cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    html.f26c .f26-flt__count { font-size: 11.5px; }
}
@media (max-width: 340px) {
    html.f26c .f26-flt__title { font-size: 12.5px; }
}

/* ===== Vista «Live» (F26LiveBoard.razor, MAP 24-11): todos los pasos en columnas plegables ===== */
html.f26c .f26-rtab--ico { padding: 0 13px; }
html.f26c .f26-rtab--ico i { font-size: 13px; }
html.f26c .f26-rtab--live i { color: var(--f26-red); }
html.f26c .f26-live { margin: 0 0 18px; font-family: var(--f26-font); }
html.f26c .f26-live__head {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
    margin: 0 0 10px; padding: 10px 12px 10px 16px;
    border-radius: 12px; background: var(--f26-ink); color: #fff;
    box-shadow: inset 4px 0 0 var(--f26-red);
}
html.f26c .f26-live__title {
    display: inline-flex; align-items: center; gap: 8px; margin: 0;
    color: #fff; font: 900 16px/1 var(--f26-font); letter-spacing: .08em; text-transform: uppercase;
}
html.f26c .f26-live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--f26-red); box-shadow: 0 0 0 3px rgba(207, 18, 47, .35); animation: f26-live-dot 1.6s ease-in-out infinite; }
@keyframes f26-live-dot { 50% { opacity: .35; } }
html.f26c .f26-live__hint { color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; }
html.f26c .f26-live__seg { display: inline-flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
html.f26c .f26-live__seg button {
    min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none;
    color: rgba(255, 255, 255, .8); font: 800 12px/1 var(--f26-font); cursor: pointer; white-space: nowrap;
}
html.f26c .f26-live__seg button.is-on { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-live__all {
    min-height: 34px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: none;
    color: #fff; font: 800 12px/1 var(--f26-font); cursor: pointer; white-space: nowrap;
}
html.f26c .f26-live__all i { margin-right: 4px; color: var(--f26-gold); }
html.f26c .f26-live__all:hover { background: rgba(255, 255, 255, .1); }
html.f26c .f26-live__empty { padding: 16px; color: var(--f26-mute); }
html.f26c .f26-live__cols {
    display: flex; align-items: stretch; gap: 8px;
    overflow-x: auto; padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
}
html.f26c .f26-live__col {
    --c: var(--f26-ink);
    display: flex; flex-direction: column;
    flex: 1 1 0; min-width: 250px;
    border-radius: 12px; background: #fff;
    box-shadow: var(--f26-shadow-1), inset 0 0 0 1px var(--f26-line);
    overflow: hidden; scroll-snap-align: start;
}
html.f26c .f26-live__col--sw { --c: #1E88E5; }
html.f26c .f26-live__col--cy { --c: #E0A100; }
html.f26c .f26-live__col--ru { --c: #E8702A; }
html.f26c .f26-live__col--t1,
html.f26c .f26-live__col--t2 { --c: #6E6E7A; }
html.f26c .f26-live__col--leg { --c: #8E44AD; }
html.f26c .f26-live__chead {
    display: flex; align-items: center; gap: 8px;
    min-height: 42px; padding: 0 12px;
    border: 0; background: var(--f26-ink); color: #fff;
    box-shadow: inset 0 -4px 0 var(--c);
    font: 900 13px/1.1 var(--f26-font); letter-spacing: .06em; text-transform: uppercase; text-align: left; cursor: pointer;
}
html.f26c .f26-live__chead:hover { background: var(--f26-ink-2); }
html.f26c .f26-live__cname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-live__ccount { flex: none; color: rgba(255, 255, 255, .65); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: none; }
html.f26c .f26-live__chead i { flex: none; color: var(--f26-gold); font-size: 12px; }
/* Plegada: franja con el nombre girado 90 grados */
html.f26c .f26-live__col.is-closed {
    flex: 0 0 46px; min-width: 46px; min-height: 260px;
    align-items: center; gap: 10px; padding: 10px 0;
    border: 0; background: var(--f26-ink); color: #fff;
    box-shadow: var(--f26-shadow-1), inset 4px 0 0 var(--c);
    font-family: var(--f26-font); cursor: pointer;
}
html.f26c .f26-live__col.is-closed:hover { background: var(--f26-ink-2); }
html.f26c .f26-live__vl {
    flex: 1 1 auto; writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
html.f26c .f26-live__n {
    min-width: 26px; padding: 3px 5px; border-radius: 999px; background: rgba(255, 255, 255, .14);
    font-size: 11px; font-weight: 900; font-variant-numeric: tabular-nums; text-align: center;
}
html.f26c .f26-live__col.is-closed i { color: var(--f26-gold); font-size: 12px; }
/* El nombre arriba (MAP, 25-11): centrado no se veía en columnas largas. Va pegado bajo la cabecera al bajar. */
html.f26c .f26-live__col.is-closed { justify-content: flex-start; }
html.f26c .f26-live__vbox {
    position: sticky; top: calc(var(--f26-head-h, 60px) + 10px);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
html.f26c .f26-live__vbox .f26-live__vl { flex: none; transform: none; writing-mode: vertical-rl; }
html.f26c .f26-live__list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 8px; list-style: none; }
html.f26c .f26-live__row {
    display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center;
    min-height: 44px; padding: 0 8px 0 0; border-radius: 9px; background: var(--f26-tint); overflow: hidden;
}
html.f26c .f26-live__pos {
    display: flex; align-items: center; justify-content: center; align-self: stretch;
    background: var(--f26-ink); color: #fff; font-size: 13.5px; font-weight: 900; font-variant-numeric: tabular-nums;
}
html.f26c .f26-live__row.is-1 .f26-live__pos { background: linear-gradient(160deg, #FFE27A, #FDB913 55%, #C98E00); color: var(--f26-ink); }
html.f26c .f26-live__row.is-2 .f26-live__pos { background: linear-gradient(160deg, #F1F3F6, #BFC4CD 55%, #8E949E); color: var(--f26-ink); }
html.f26c .f26-live__row.is-3 .f26-live__pos { background: linear-gradient(160deg, #F0C29A, #C8834F 55%, #8F5528); color: #fff; }
html.f26c .f26-live__row.is-1 { background: var(--f26-gold-soft, #FFF6DA); }
/* Acaba de pasar (con el refresco del directo) */
html.f26c .f26-live__row.is-new { animation: f26-live-new 6s ease-out; }
@keyframes f26-live-new { 0%, 40% { background: #FFE9A8; box-shadow: inset 0 0 0 2px var(--f26-gold); } }
html.f26c .f26-live__who { display: grid; min-width: 0; line-height: 1.2; }
html.f26c .f26-live__nm {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    padding: 0; border: 0; background: none; color: var(--f26-ink);
    font: 800 13px/1.25 var(--f26-font); text-align: left;
}
html.f26c button.f26-live__nm { cursor: pointer; }
html.f26c button.f26-live__nm:hover { color: var(--f26-red); text-decoration: underline; }
html.f26c .f26-live__who small { display: flex; align-items: center; gap: 5px; overflow: hidden; color: var(--f26-mute); font-size: 11px; font-weight: 600; white-space: nowrap; }
html.f26c .f26-live__who small img { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px var(--f26-line); }
html.f26c .f26-live__time { display: grid; justify-items: end; line-height: 1.15; font-variant-numeric: tabular-nums; }
html.f26c .f26-live__time b { padding: 3px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--f26-line); font-size: 13px; font-weight: 900; }
html.f26c .f26-live__row.is-1 .f26-live__time b { background: var(--f26-gold); box-shadow: none; }
html.f26c .f26-live__time small { margin-top: 2px; color: var(--f26-red); font-size: 10.5px; font-weight: 800; }
html.f26c .f26-live__more {
    display: block; margin: 2px auto 10px; min-height: 34px; padding: 0 16px;
    border: 0; border-radius: 999px; background: var(--f26-ink); color: #fff;
    font: 800 12.5px/1 var(--f26-font); cursor: pointer;
}
html.f26c .f26-live__more:hover { background: var(--f26-red); }
html.f26c .f26-live__note { margin: 6px 0 0; color: var(--f26-mute); font-size: 11.5px; text-align: center; }
html.f26c .f26-live :is(button):focus-visible { outline: none; box-shadow: var(--f26-focus); }
@media (max-width: 575.98px) {
    html.f26c .f26-live__head { padding: 10px; }
    html.f26c .f26-live__seg { margin-left: 0; }
    html.f26c .f26-live__col { min-width: 84%; }
    html.f26c .f26-live__col.is-closed { flex-basis: 40px; min-width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-live__dot { animation: none; }
}
/* Con «Live» el selector de vista lleva cinco botones: en el móvil, más juntos y con icono solo el elegido (y los de
   solo icono) para que quepan sin desplazar */
@media (max-width: 575.98px) {
    html.f26c .f26-rtabs { gap: 2px; padding: 3px; }
    html.f26c .f26-rtab { gap: 5px; padding: 0 11px; font-size: 12.5px; }
    html.f26c .f26-rtab:not(.is-on):not(.f26-rtab--ico) i { display: none; }
}
@media (max-width: 389.98px) {
    html.f26c .f26-rtab { padding: 0 8px; font-size: 12px; }
    html.f26c .f26-rtab--ico { padding: 0 9px; }
}
@media (max-width: 349.98px) {
    html.f26c .f26-rtab { padding: 0 7px; font-size: 11.5px; }
    html.f26c .f26-rtab.is-on:not(.f26-rtab--ico) i { display: none; }
}

/* Número de deportistas de la clasificación en negrita y mayor (MAP, 25-11) */
html.f26c .rl-section-head .hint .f26-cnt { color: var(--f26-ink); font-size: 1.35em; font-weight: 900; font-variant-numeric: tabular-nums; vertical-align: -.04em; }

/* ---------- Gráfica de posiciones de la prueba (Components/ResultsLive/F26RacePosChart.razor, MAP 25-11) ----------
   Como la de «Evolución» de los rankings: una línea por deportista con su puesto tras cada sector (el 1 arriba). */
html.f26c .f26-pch { margin: 22px 0 6px; border-radius: 12px; background: #fff; box-shadow: var(--f26-shadow-1), inset 0 0 0 1px var(--f26-line); overflow: hidden; }
html.f26c .f26-pch__head {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 12px;
    background-color: var(--f26-ink); background-image: var(--f26-tex); color: #fff;
}
html.f26c .f26-pch__ico { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--f26-red); font-size: 15px; }
html.f26c .f26-pch__ttl { display: flex; flex: 1 1 200px; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-pch__ttl h2 { margin: 0; color: #fff; font: 900 17px/1.1 var(--f26-font) !important; letter-spacing: .02em; text-transform: uppercase; }
html.f26c .f26-pch__ttl span { color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 700; }
/* La gráfica es la de «Evolución» de los rankings (F26RkEvoChart con Race): su ancho de nombres va por el ancho del
   propio bloque, que en pantallas grandes puede ir en la columna de los clubes */
html.f26c .f26-pch { overflow: visible; container: f26pch / inline-size; }
html.f26c .f26-pch__head { border-radius: 12px 12px 0 0; }
html.f26c .f26-pch__body { padding: 14px 14px 12px; }
html.f26c .f26-pch .rkev-xl.is-step { white-space: nowrap; }
@container f26pch (min-width: 900px) { html.f26c .f26-pch .rkev-chartbox { --ends-w: 200px; } }
@container f26pch (max-width: 899.98px) { html.f26c .f26-pch .rkev-chartbox { --ends-w: 150px; } }
@container f26pch (max-width: 560px) {
    html.f26c .f26-pch .rkev-chartbox { --ends-w: 34px; }
    html.f26c .f26-pch .rkev-end { padding-left: 6px; text-overflow: clip; }
    html.f26c .f26-pch .rkev-end b { min-width: 0; margin-right: 0; }
    html.f26c .f26-pch .rkev-end__nm { display: none; }
}
@media (max-width: 767.98px) {
    html.f26c .f26-pch__body { padding: 10px 8px; }
}

/* ---------- Club o federación abierta en los resultados del campeonato (Components/ScheduleResults/F26GroupResults.razor, MAP 25-11) ----------
   Barra de opciones y, por prueba, cabecera, columnas y filas como las de la clasificación de una prueba. */
html.f26c .f26-gr { display: flex; flex-direction: column; gap: 12px; }
html.f26c .f26-gr__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
    padding: 8px; border-radius: 12px; background: var(--f26-ink); background-image: var(--f26-tex);
}
html.f26c .f26-gr__view { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
html.f26c .f26-gr__view button {
    display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px;
    background: transparent; color: #fff; font: 800 12px/1 var(--f26-font); cursor: pointer;
}
html.f26c .f26-gr__view button:hover { background: rgba(255, 255, 255, .12); }
html.f26c .f26-gr__view button.is-on { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-gr__acts { margin-left: auto; border-color: transparent; }
html.f26c .f26-gr__act:disabled { opacity: .6; }
html.f26c .f26-gr__ev { border-radius: 12px; background: #fff; box-shadow: var(--f26-shadow-1), inset 0 0 0 1px var(--f26-line); overflow: hidden; }
html.f26c .f26-gr__evh {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px;
    background: var(--f26-red); background-image: var(--f26-tex); color: #fff;
}
html.f26c .f26-gr__evh b { min-width: 0; font-size: 13.5px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
html.f26c .f26-gr__evh span { flex: none; min-width: 28px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 12px; font-weight: 900; text-align: center; }
html.f26c .f26-gr__cols,
html.f26c .f26-gr__main {
    display: grid; grid-template-columns: 46px 40px minmax(0, 1fr) auto 104px 20px; align-items: center; gap: 0 10px;
}
html.f26c .f26-gr__cols {
    padding: 7px 10px 7px 0; background: var(--f26-ink); color: rgba(255, 255, 255, .78);
    font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
html.f26c .f26-gr__cols > span:first-child { text-align: center; }
html.f26c .f26-gr__cols > span:nth-child(2) { grid-column: 2 / 4; }
html.f26c .f26-gr__ctime { grid-column: 5; text-align: right; }
html.f26c .f26-gr__clegs, html.f26c .f26-gr__legs { display: grid; grid-template-columns: repeat(var(--n), 76px); gap: 6px; text-align: center; }
html.f26c .f26-gr__clegs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-gr__rows { display: flex; flex-direction: column; gap: 4px; padding: 6px; }
html.f26c .f26-gr__row { border-radius: 10px; background: var(--f26-tint); overflow: hidden; }
html.f26c .f26-gr__row.is-open { box-shadow: inset 0 0 0 2px var(--f26-ink); background: #fff; }
html.f26c .f26-gr__main {
    width: 100%; min-height: 54px; padding: 0 10px 0 0; border: 0; background: transparent; color: var(--f26-ink);
    font-family: var(--f26-font); text-align: left; cursor: pointer;
}
html.f26c .f26-gr__main:hover { background: rgba(0, 0, 0, .03); }
html.f26c .f26-gr__pos {
    display: grid; place-items: center; align-self: stretch; min-height: 54px;
    background: var(--f26-ink); color: #fff; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums;
}
html.f26c .f26-gr__pos.p1 { background: linear-gradient(160deg, #FFE08A, #FDB913 55%, #C98E00); color: var(--f26-ink); }
html.f26c .f26-gr__pos.p2 { background: linear-gradient(160deg, #F1F3F6, #C9CDD4 55%, #9AA0AA); color: var(--f26-ink); }
html.f26c .f26-gr__pos.p3 { background: linear-gradient(160deg, #F0C29A, #CD8A4E 55%, #9C5F2C); color: #fff; }
html.f26c .f26-gr__pos.is-out { background: #6E6E78; font-size: 12px; }
html.f26c .f26-gr .f26-gr__ph { width: 40px; height: 44px; border-radius: 7px; }
html.f26c .f26-gr__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-gr__who b { overflow: hidden; font-size: 14px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-gr__who small { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: var(--f26-mute); font-size: 11.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-gr__flg { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
html.f26c .f26-gr__evn i { color: var(--f26-red); }
html.f26c .f26-gr__legs span {
    padding: 5px 0; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--f26-line);
    font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums;
}
html.f26c .f26-gr__time {
    grid-column: 5; justify-self: end; min-width: 92px; padding: 7px 10px; border-radius: 7px; background: var(--f26-ink); color: var(--f26-gold);
    font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; text-align: center;
}
html.f26c .f26-gr__time.is-out { background: var(--f26-red); color: #fff; }
html.f26c .f26-gr__chev { grid-column: 6; color: var(--f26-mute); font-size: 12px; transition: transform .2s; }
html.f26c .f26-gr__row.is-open .f26-gr__chev { transform: rotate(180deg); }
html.f26c .f26-gr__detail { padding: 10px 12px 12px; border-top: 1px solid var(--f26-line); background: #fff; }
html.f26c .f26-gr__dacts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
html.f26c .f26-gr__dbtn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
    background: var(--f26-ink); color: #fff; font: 800 12px/1 var(--f26-font); text-decoration: none; cursor: pointer;
}
html.f26c .f26-gr__dbtn i { color: var(--f26-gold); }
html.f26c .f26-gr__dbtn:hover { background: var(--f26-red); color: #fff; }
html.f26c .f26-gr__dbtn:hover i { color: #fff; }
/* Los tramos solo donde caben (desde 992 px); en el móvil, puesto, foto, nombre y tiempo */
@media (max-width: 991.98px) {
    html.f26c .f26-gr__clegs, html.f26c .f26-gr__legs { display: none; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-gr__bar { padding: 6px; }
    /* Las cuatro opciones en una fila, con el icono encima del texto */
    html.f26c .f26-gr__view { width: 100%; }
    html.f26c .f26-gr__view button { flex: 1 1 0; justify-content: center; }
    /* El grupo de opciones a todo el ancho, con los botones repartidos */
    html.f26c .f26-gr__acts { width: 100%; margin-left: 0; }
    html.f26c .f26-gr__act { flex: 1 1 auto; padding: 0 8px; }
    html.f26c .f26-gr__cols, html.f26c .f26-gr__main { grid-template-columns: 38px 34px minmax(0, 1fr) 0 auto 14px; gap: 0 8px; }
    html.f26c .f26-gr__pos { min-height: 50px; font-size: 15px; }
    html.f26c .f26-gr .f26-gr__ph { width: 34px; height: 40px; }
    html.f26c .f26-gr__who b { display: -webkit-box; font-size: 13px; line-height: 1.2; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    html.f26c .f26-gr__time { min-width: 0; padding: 6px 8px; font-size: 12.5px; }
    html.f26c .f26-gr__rows { padding: 4px; }
}
@media (prefers-reduced-motion: reduce) { html.f26c .f26-gr__chev { transition: none; } }

/* Elegir deportistas para compartir (más de 15) */
html.f26c .f26-gr-dlg {
    position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center; padding: 16px;
    background: rgba(12, 12, 18, .62);
}
html.f26c .f26-gr-dlg__box {
    display: flex; flex-direction: column; width: min(600px, 100%); max-height: min(84vh, 760px);
    border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden;
}
html.f26c .f26-gr-dlg__head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background-color: var(--f26-ink); background-image: var(--f26-tex); color: #fff; }
html.f26c .f26-gr-dlg__ico { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--f26-red); }
html.f26c .f26-gr-dlg__ttl { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
html.f26c .f26-gr-dlg__ttl b { font-size: 16px; font-weight: 900; }
html.f26c .f26-gr-dlg__ttl span { overflow: hidden; color: var(--f26-gold); font-size: 12.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-gr-dlg__x { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
html.f26c .f26-gr-dlg__x:hover { background: var(--f26-red); }
html.f26c .f26-gr-dlg__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--f26-line); }
html.f26c .f26-gr-dlg__quick button { min-height: 32px; padding: 0 12px; border: 1px solid var(--f26-line); border-radius: 999px; background: #fff; color: var(--f26-ink); font: 800 12px/1 var(--f26-font); cursor: pointer; }
html.f26c .f26-gr-dlg__quick button:hover { border-color: var(--f26-ink); }
html.f26c .f26-gr-dlg__n { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: var(--f26-tint); font-size: 12px; font-weight: 900; }
html.f26c .f26-gr-dlg__n.is-over { background: var(--f26-red); color: #fff; }
html.f26c .f26-gr-dlg__list { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 8px 12px; overflow-y: auto; list-style: none; }
html.f26c .f26-gr-dlg__list label {
    display: grid; grid-template-columns: 20px 38px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    min-height: 46px; padding: 0 10px 0 10px; border-radius: 9px; background: var(--f26-tint); cursor: pointer;
}
html.f26c .f26-gr-dlg__list label.is-on { background: #FFF6DA; box-shadow: inset 3px 0 0 var(--f26-gold); }
html.f26c .f26-gr-dlg__list input { width: 18px; height: 18px; accent-color: var(--f26-red); }
html.f26c .f26-gr-dlg__list .f26-gr__pos { min-height: 34px; border-radius: 6px; font-size: 14px; }
html.f26c .f26-gr-dlg__nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-gr-dlg__nm b { overflow: hidden; font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-gr-dlg__nm small { overflow: hidden; color: var(--f26-mute); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-gr-dlg__t { font-size: 12.5px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-gr-dlg__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--f26-line); }
html.f26c .f26-gr-dlg__ghost, html.f26c .f26-gr-dlg__go { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; font: 900 13px/1 var(--f26-font); cursor: pointer; }
html.f26c .f26-gr-dlg__ghost { background: var(--f26-tint); color: var(--f26-ink); }
html.f26c .f26-gr-dlg__go { display: inline-flex; align-items: center; gap: 8px; background: var(--f26-red); color: #fff; }
html.f26c .f26-gr-dlg__go:disabled { opacity: .5; cursor: default; }
@media (max-width: 575.98px) {
    html.f26c .f26-gr-dlg { align-items: end; padding: 0; }
    html.f26c .f26-gr-dlg__box { width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; }
}

/* Posiciones en carrera (MAP, 25-11, 06:47): empieza con los 10 primeros; a la derecha de la cabecera, «expandir»
   (todos los que terminaron) y «compartir» en redes, botones cuadrados como los de la cabecera de la clasificación */
html.f26c .f26-pch__acts { display: flex; flex: none; gap: 6px; margin-left: auto; }
html.f26c .f26-pch__act {
    display: grid; place-items: center;
    width: 38px; height: 38px; padding: 0;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px;
    background: rgba(255, 255, 255, .08); color: #fff;
    font-size: 15px; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-pch__act:hover { border-color: var(--f26-gold); color: var(--f26-gold); }
html.f26c .f26-pch__act[aria-pressed="true"] { border-color: var(--f26-gold); background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-pch__act:focus-visible { outline: 2px solid var(--f26-gold); outline-offset: 2px; }
@media (max-width: 767.98px) {
    html.f26c .f26-pch__ttl { flex-basis: 0; }
    html.f26c .f26-pch__act { width: 34px; height: 34px; font-size: 14px; }
}

/* =====================================================================
   RESULTADOS DE UNA PRUEBA, BARRA Y BOTONERAS (MAP, 26-11)
   Barra de arriba: a la izquierda Parciales / Crónica / Documentos / Filtros como grupo de botones (se abre uno cada
   vez y el abierto va en amarillo); a la derecha los interruptores, el grupo Comparar / Excel / Incrustar / Actualizar
   y el de anterior / siguiente con las flechas en rojo y más gruesas. El estado de la prueba pasa junto a la fase.
   ===================================================================== */
html.f26c .f26-rl-grp {
    display: inline-flex;
    flex: none;
    align-items: stretch;
    max-width: 100%;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    overflow: hidden;
}
html.f26c .f26-rl-gbtn {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    margin: 0;
    padding: 0 15px;
    border: 0;
    border-left: 1px solid var(--f26-line);
    border-radius: 0;
    background: transparent;
    color: var(--f26-ink);
    font: 800 12.5px/1.1 var(--f26-font);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-rl-gbtn:first-child { border-left: 0; }
html.f26c .f26-rl-gbtn i { color: var(--f26-red); font-size: 13px; }
html.f26c .f26-rl-gbtn:hover:not(:disabled) { background: var(--f26-tint); }
html.f26c .f26-rl-gbtn:focus-visible { z-index: 1; outline: none; box-shadow: inset 0 0 0 3px rgba(253, 185, 19, .7); }
html.f26c .f26-rl-gbtn.is-on,
html.f26c .f26-rl-gbtn.is-on:hover { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-rl-gbtn.is-on i { color: var(--f26-ink); }
html.f26c .f26-rl-gbtn:disabled { cursor: default; }
html.f26c .f26-rl-panels.is-sk .f26-rl-gbtn { color: var(--f26-mute-2); }
html.f26c .f26-rl-panels.is-sk .f26-rl-gbtn i { color: var(--f26-line); }
html.f26c .f26-rl-gbtn--ico { min-width: 44px; padding: 0 12px; }
html.f26c .f26-rl-gbtn .f26-flt-badge { margin-left: 2px; }
/* el Excel del grupo va en verde Excel como en toda la web (regla de f26-components.css), sin redondear sus esquinas */
html.f26c .f26-rl-gbtn--xls { border-left-color: #217346; }
html.f26c .f26-rl-gbtn--xls + .f26-rl-gbtn { border-left-color: #217346; }
/* Anterior / siguiente: flechas rojas y gruesas */
html.f26c .f26-rl-nav .f26-rl-gbtn { min-width: 46px; }
html.f26c .f26-rl-nav .f26-rl-gbtn i { color: var(--f26-red); font-size: 17px; -webkit-text-stroke: 1.5px currentColor; }
html.f26c .f26-rl-nav .f26-rl-gbtn:hover i { color: #A50E25; }
html.f26c .f26-rl-actions { gap: 10px; }
html.f26c .rl-toolbar-left:has(> .f26-rl-panels) { min-width: 0; max-width: 100%; }

/* Estado de la prueba junto a la fase, de su misma altura */
html.f26c .f26-cat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
html.f26c .f26-cat-meta .rl-cat-sub { margin: 0; line-height: 22px; }
html.f26c .f26-stbadge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 9px;
    border-radius: 4px;
    font: 800 11px/1 var(--f26-font);
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}
html.f26c .f26-stbadge[hidden] { display: none; }
html.f26c .f26-stbadge i { font-size: 10px; }
html.f26c .f26-stbadge--done { background: #1F8A4C; color: #fff; }
html.f26c .f26-stbadge--live { background: var(--f26-red); color: #fff; }
html.f26c .f26-stbadge--live i { font-size: 7px; animation: f26-live-dot 1.6s ease-in-out infinite; }
html.f26c .f26-stbadge--wait { background: var(--f26-tint); color: var(--f26-ink); box-shadow: inset 0 0 0 1px var(--f26-line); }
html.f26c .f26-sk .f26-stbadge { background: var(--f26-tint-2, #e9e6df); color: transparent; }
html.f26c .f26-sk .f26-stbadge i { color: transparent; }

/* Compartir podio: último botón de la botonera de vistas, solo el icono en amarillo */
html.f26c .f26-rtab--share i,
html.f26c .f26-rtab--share:hover i { color: var(--f26-gold); font-size: 15px; -webkit-text-stroke: .4px #C98F00; }
html.f26c .f26-rtabs .f26-rtab--share i { display: inline-block !important; }

/* Con la clasificación de clubes al lado (desde 1600 px) sobra su botón */
@media (min-width: 1600px) {
    html.f26c body:has(.f26-rl-split.is-split) :is(.f26-rtab--clubs, .f26-catbar1__solo) { display: none !important; }
}

/* Páginas de la clasificación (de 50 en 50) */
html.f26c .f26-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin: 14px 0 4px;
    font-family: var(--f26-font);
}
html.f26c .f26-pager__nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
html.f26c .f26-pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--f26-line);
    border-radius: 8px;
    background: #fff;
    color: var(--f26-ink);
    font: 800 13px/1 var(--f26-font);
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
html.f26c .f26-pager__btn:hover:not(:disabled):not(.is-on) { border-color: var(--f26-ink); background: var(--f26-tint); }
html.f26c .f26-pager__btn.is-on { border-color: var(--f26-ink); background: var(--f26-ink); color: var(--f26-gold); cursor: default; }
html.f26c .f26-pager__btn:disabled { opacity: .4; cursor: default; }
html.f26c .f26-pager__btn:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-pager__btn--arrow { padding: 0 14px; }
html.f26c .f26-pager__btn--arrow i { color: var(--f26-red); font-size: 13px; -webkit-text-stroke: 1px currentColor; }
html.f26c .f26-pager__gap { padding: 0 2px; color: var(--f26-mute-2); font-weight: 800; }
html.f26c .f26-pager__info { color: var(--f26-text-2); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* «Posiciones en carrera» a pantalla completa (un <dialog>, en la capa de encima de todo) */
html.f26-pch-lock,
html.f26-pch-lock body { overflow: hidden; }
html.f26c .f26-pch-dlg {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--f26-bg, #F4F2EE);
    overflow: auto;
    overscroll-behavior: contain;
}
html.f26c .f26-pch-dlg::backdrop { background: rgba(10, 12, 16, .7); }
html.f26c .f26-pch-dlg .f26-pch { min-height: 100%; margin: 0; border-radius: 0; box-shadow: none; }
html.f26c .f26-pch-dlg .f26-pch__head { position: sticky; top: 0; z-index: 3; border-radius: 0; }
html.f26c .f26-pch-dlg .f26-pch__body { padding: 18px clamp(12px, 3vw, 40px) 24px; }
html.f26c .f26-pch__close { font-size: 17px; }

/* Escritorio: la barra reparte sus grupos en una línea (o dos, alineadas a la derecha): los grupos de la derecha son
   hijos directos de la barra y se pasan de línea uno a uno */
@media (min-width: 769px) {
    html.f26c .rl-toolbar:has(.f26-rl-panels) { justify-content: flex-end; column-gap: 12px; }
    html.f26c .rl-toolbar:has(.f26-rl-panels) > .rl-toolbar-left { margin-right: auto; }
    html.f26c .rl-toolbar:has(.f26-rl-panels) > .rl-toolbar-right { display: contents; }
}
@media (min-width: 1400px) {
    html.f26c .f26-rl-gbtn { padding: 0 16px; }
}
/* Por debajo de 1200 px «Documentos oficiales» se queda en «Documentos» */
@media (max-width: 1199.98px) {
    html.f26c .f26-rl-gbtn__more { display: none; }
}
/* Móvil y tableta: cada grupo a todo el ancho, con los botones repartidos */
@media (max-width: 768px) {
    html.f26c .rl-toolbar-left:has(> .f26-rl-panels) { width: 100%; }
    html.f26c .f26-rl-panels { display: flex; width: 100%; }
    html.f26c .f26-rl-panels .f26-rl-gbtn { flex: 1 1 0; min-width: 0; padding: 0 8px; }
    html.f26c .f26-rl-actions { justify-content: space-between; gap: 8px; }
    html.f26c .f26-rl-actions > .f26-rl-grp:first-child { flex: 1 1 auto; }
    html.f26c .f26-rl-actions > .f26-rl-grp:first-child .f26-rl-gbtn { flex: 1 1 auto; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-rl-gbtn { min-height: 38px; gap: 5px; font-size: 12px; }
    html.f26c .f26-rl-panels .f26-rl-gbtn { flex-direction: column; gap: 4px; min-height: 50px; padding: 0 4px; font-size: 11.5px; }
    html.f26c .f26-rl-panels .f26-rl-gbtn .f26-flt-badge { position: absolute; top: 4px; right: 6px; margin: 0; }
    html.f26c .f26-rl-actions { flex-wrap: nowrap; }
    html.f26c .f26-rl-actions > .f26-rl-grp:first-child { min-width: 0; }
    html.f26c .f26-rl-actions .f26-rl-gbtn { min-width: 0; }
    html.f26c .f26-rl-gbtn--xls > span { display: none; }
    html.f26c .f26-rl-gbtn.f26-embed-btn { width: 40px; min-width: 40px; flex: 0 0 40px !important; }
    html.f26c .f26-rl-gbtn--ico { min-width: 40px; padding: 0 10px; }
    html.f26c .f26-rl-nav .f26-rl-gbtn { min-width: 42px; }
    html.f26c .f26-pager__lbl { display: none; }
    html.f26c .f26-pager__btn--arrow { padding: 0 12px; }
    html.f26c .f26-pager__info { flex-basis: 100%; order: 5; text-align: center; }
}

/* Tabla de resultados (MAP, 26-11): sin la línea «Clasificación general · N deportistas»; el botón de ampliar va en la
   cabecera de la tabla, en la última columna, solo con el icono en blanco */
html.f26c .rl-th-result.has-expand { position: relative; padding-right: 46px !important; }
html.f26c .rl-th-result .f26-rl-expand {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 14px;
    transform: translateY(-50%);
}
html.f26c .rl-th-result .f26-rl-expand:hover { background: rgba(255, 255, 255, .14); color: #fff; }
html.f26c .rl-th-result .f26-rl-expand.is-on { background: transparent; color: var(--f26-gold); }
html.f26c .rl-th-result .f26-rl-expand:focus-visible { outline: 2px solid var(--f26-gold); outline-offset: 1px; box-shadow: none; }
/* sin la línea de título, la tabla se separa un poco de la botonera de vistas */
html.f26c .f26-rl-main > .rl-table-card { margin-top: 6px; }
html.f26c .f26-rl-split.is-split > .f26-clubs-wrap { margin-top: 6px; }

/* DNS, DNF, DQ, AB, NP: caja roja con texto blanco del ancho de la del tiempo (y con el hueco de la flecha) */
html.f26c td.rl-col-result .rl-result-time,
html.f26c td.rl-col-result .rl-status-pill { min-width: 5.4em; text-align: center; box-sizing: border-box; }
html.f26c td.rl-col-result .rl-status-pill {
    padding: 4px 10px;
    border: 1.5px solid var(--f26-red);
    border-radius: 8px;
    background: var(--f26-red) !important;
    color: #fff !important;
    font: 900 18.5px/1.2 var(--f26-font);
    letter-spacing: .04em;
}
html.f26c .f26-chev-gap { visibility: hidden; }
@media (max-width: 576px) {
    html.f26c td.rl-col-result .rl-status-pill { font-size: 13px; }
}

/* =====================================================================
   RESULTADOS DEL CAMPEONATO, BARRA DE LAS SUBPESTAÑAS (MAP, 26-11)
   Filtro por categoría a la izquierda (solo en Ganadores) y, al final, Incrustar | Excel en un grupo de botones con
   el Excel el último y en verde.
   ===================================================================== */
html.f26c .f26-er .event-results-actions.f26-er-bar {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
html.f26c .f26-er-cat {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 1 300px;
    min-width: 0;
    margin: 0 auto 0 0;
}
html.f26c .f26-er-cat > i {
    position: absolute;
    left: 14px;
    color: var(--f26-red);
    font-size: 12px;
    pointer-events: none;
}
html.f26c .f26-er-cat select {
    width: 100%;
    min-height: 40px;
    padding: 0 34px 0 36px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CF122F' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 11px 8px;
    box-shadow: var(--f26-shadow-1);
    color: var(--f26-ink);
    font: 800 12.5px/1.1 var(--f26-font);
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
html.f26c .f26-er-cat select:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(253, 185, 19, .7); }
html.f26c .f26-er-grp .f26-embed-btn i { color: var(--f26-red); }
@media (max-width: 575.98px) {
    html.f26c .f26-er .event-results-actions.f26-er-bar { gap: 8px; }
    html.f26c .f26-er-cat { flex: 1 1 auto; }
    html.f26c .f26-er-grp .f26-rl-gbtn { padding: 0 12px; }
    html.f26c .f26-er-grp .f26-embed-btn__txt { display: none; }
}

/* «Boletín de resultados en PDF» (MAP, 26-11): primera franja de los documentos del horario, con el botón en rojo */
html.f26c .f26-docs__all--pdf .f26-docs__allbtn { background: var(--f26-red); color: #fff; }
html.f26c .f26-docs__all--pdf .f26-docs__ico { background: var(--f26-red); color: #fff; }
html.f26c .f26-docs__all--pdf:hover:not(:disabled) .f26-docs__allbtn { background: #fff; color: var(--f26-red); }

/* ---------- Sanciones: tarjetas de la clasificación y su aviso (Pages/ResultsLive.F26Penalty.cs, js/f26-penalty.js) ----------
   El aviso va en <body> con position: fixed porque la tabla corta lo que se sale de ella. */
html.f26c .f26-pen { cursor: help; outline: none; }
html.f26c .f26-pen:hover { transform: translateY(-1px); }
html.f26c .f26-pen:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--f26-ink); }
html.f26c .f26-pentip {
    position: fixed;
    z-index: 2100;
    left: 0;
    top: 0;
    max-width: min(280px, calc(100vw - 16px));
    padding: 10px 12px 10px 12px;
    border-left: 4px solid var(--f26-red);
    border-radius: 6px;
    background: var(--f26-ink);
    color: #fff;
    font-family: var(--f26-font);
    line-height: 1.3;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}
html.f26c .f26-pentip.is-below { transform: translateY(-4px); }
html.f26c .f26-pentip.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .12s ease, transform .12s ease; }
html.f26c .f26-pentip::after {
    content: "";
    position: absolute;
    left: var(--pt-ar, 50%);
    bottom: -6px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: var(--f26-ink);
    transform: rotate(45deg);
    border-radius: 2px;
}
html.f26c .f26-pentip.is-below::after { bottom: auto; top: -6px; }
html.f26c .f26-pentip__head { display: flex; align-items: center; gap: 8px; }
html.f26c .f26-pentip__sw {
    flex: 0 0 auto;
    width: 11px;
    height: 15px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: #888;
}
html.f26c .f26-pentip__title { font-size: 14px; font-weight: 800; }
html.f26c .f26-pentip__det { margin-top: 4px; padding-left: 19px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .72); }
html.f26c .f26-pentip__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding-left: 19px; }
html.f26c .f26-pentip__st {
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .14);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}
html.f26c .f26-pentip__st.is-approved { background: var(--f26-gold); color: #111; }
html.f26c .f26-pentip__st.is-served { background: var(--f26-green); color: #fff; }
html.f26c .f26-pentip__time { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-pen:hover { transform: none; }
    html.f26c .f26-pentip, html.f26c .f26-pentip.is-on, html.f26c .f26-pentip.is-below { transform: none; transition: none; }
}

/* Parciales sin apelotonar (MAP, 26-11): con los clubes al lado (desde 1600 px) la tabla mide unos 1050-1250 px y,
   con el deportista a 430-452 px, a cada parcial le quedaban 58-68 px para un tiempo de 72 px a 18,5 px de letra
   («2:01:150:01:35»). Ahí el deportista, el año y el resultado ceden sitio y los tiempos bajan un punto, con 4 px a
   cada lado (hasta 2199 px; más ancho ya caben). Lo mismo, con letra más pequeña, en las pantallas de 901 a 1399 px */
@media (min-width: 1600px) and (max-width: 2199.98px) {
    html.f26c .f26-rl-split.is-split #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-pos { width: 56px; }
    html.f26c .f26-rl-split.is-split #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-athlete { width: 330px; }
    html.f26c .f26-rl-split.is-split #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-year { width: 72px; }
    html.f26c .f26-rl-split.is-split #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-result { width: 146px; padding-right: 24px; }
    html.f26c .f26-rl-split.is-split #resultsTable .rl-table > tbody > tr > td.rl-col-partial {
        padding-left: 4px; padding-right: 4px; font-size: 16.5px;
    }
    html.f26c .f26-rl-split.is-split #resultsTable .rl-table > tbody > tr > td.rl-col-year { padding-left: 4px; padding-right: 4px; }
}
@media (min-width: 901px) and (max-width: 1399.98px) {
    /* tabla fija: con la automática el deportista se quedaba en ~250 px (nombres en tres líneas) y a 920 px el
       resultado se salía por la derecha. Los parciales crecen con la pantalla, de 76 px (901) a 112 px (1200) */
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) { table-layout: fixed; }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-pos { width: 48px; }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-athlete { width: auto; }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-year { width: 72px; }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-partial { width: clamp(76px, calc((100vw - 900px) * .12 + 76px), 112px); }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-result { width: 142px; }
    html.f26c #resultsTable .rl-table > tbody > tr > td.rl-col-partial { padding-left: 3px; padding-right: 3px; font-size: 16.5px; }
    html.f26c #resultsTable .rl-table > tbody > tr > td.rl-col-year { padding-left: 3px; padding-right: 3px; }
}
@media (min-width: 901px) and (max-width: 1099.98px) {
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-pos { width: 44px; }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-year { width: 58px; }
    html.f26c #resultsTable .rl-table:has(> thead .rl-col-partial) > thead th.rl-col-result { width: 138px; }
    html.f26c #resultsTable .rl-table > tbody > tr > td.rl-col-partial { padding-left: 2px; padding-right: 2px; font-size: 14.5px; }
    html.f26c #resultsTable .rl-table > tbody > tr > td.rl-col-year { padding-left: 2px; padding-right: 2px; font-size: 14.5px; }
}

/* Sin clasificación de clubes (MAP, 26-11), «Posiciones en carrera» es lo primero del bloque: su cabecera oscura hace
   de cabecera del bloque, pegada arriba y a los lados, a la misma altura que la de la tabla individual */
html.f26c .f26-clubs-wrap:not(:has(.f26-clubs__head:not(.f26-clubs__head--stats))) { padding-top: 0; }
html.f26c .f26-clubs-wrap:not(:has(.f26-clubs__head:not(.f26-clubs__head--stats))) .f26-clubs > .f26-pch {
    margin: -1px -21px 6px;
    border-radius: var(--f26-r-lg, 16px) var(--f26-r-lg, 16px) 0 0;
    box-shadow: none;
}
html.f26c .f26-clubs-wrap:not(:has(.f26-clubs__head:not(.f26-clubs__head--stats))) .f26-clubs > .f26-pch > .f26-pch__head {
    border-radius: var(--f26-r-lg, 16px) var(--f26-r-lg, 16px) 0 0;
}
@media (max-width: 575.98px) {
    html.f26c .f26-clubs-wrap:not(:has(.f26-clubs__head:not(.f26-clubs__head--stats))) .f26-clubs > .f26-pch { margin-left: -11px; margin-right: -11px; }
}
