/* =====================================================================
   FETRI · Rediseño 2026 · Páginas generales
   Rankings (Rankings, BlockRanking, BlockRankingClub), deportistas,
   ficha de deportista, ligas, favoritos y página no encontrada.
   Todo acotado a html.f26c y a la raíz de cada página (.rkx-page, ...).
   Las páginas declaran sus colores como variables en su raíz: se
   redefinen aquí y el resto de reglas solo retoca forma y tipografía.
   Solo estilos: no cambia filtros, búsquedas, exportaciones ni navegación.
   ===================================================================== */

/* =====================================================================
   RANKINGS
   ===================================================================== */

/* Tokens de la página llevados a la paleta 2026 (también llegan al modal
   de histórico, que reutiliza .rkx-page en el fondo oscuro). */
html.f26c .rkx-page {
    --rkx-red: var(--f26-red);
    --rkx-red-dark: var(--f26-red-dk);
    --rkx-red-tint: var(--f26-red-soft);
    --rkx-ink: var(--f26-ink);
    --rkx-ink-70: var(--f26-text-2);
    --rkx-ink-50: var(--f26-mute);
    --rkx-sand: var(--f26-tint);
    --rkx-line: var(--f26-line);
    --rkx-line-strong: #C5C9D2;
    --rkx-gold: var(--f26-gold);
    --rkx-silver: var(--f26-silver);
    --rkx-bronze: var(--f26-bronze);
    --rkx-green: var(--f26-green-text);
    --rkx-radius: var(--f26-r);
    --rkx-shadow: var(--f26-shadow-1);
    font-family: var(--f26-font);
}

/* La página va sobre el fondo general, sin caja beige propia. */
html.f26c .rkx-page:not(.rkx-modal-backdrop) {
    min-height: 50vh;
    padding: 0;
    background: transparent;
    gap: 16px;
}

html.f26c .rkx-page .rkx-card {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}

/* ---------- Cabecera: título, acciones, pestañas y buscador ---------- */
html.f26c .rkx-page .rkx-head { padding: 18px 20px 20px; }

html.f26c .rkx-page .rkx-title {
    position: relative;
    padding-left: 14px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.f26c .rkx-page .rkx-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: var(--f26-red);
}
html.f26c .rkx-page .rkx-title .sep { margin: 0 6px; color: var(--f26-red); font-weight: 900; }
html.f26c .rkx-page .rkx-sub {
    margin-top: 6px;
    padding-left: 14px;
    color: var(--f26-mute);
    font-size: 12.5px;
    font-weight: 600;
}
html.f26c .rkx-page .rkx-sub .sep { margin: 0 5px; color: var(--f26-mute-2); }
html.f26c .rkx-page .rkx-sub strong { color: var(--f26-red); font-weight: 800; }

/* Botones de la cabecera: píldoras; Excel en dorado como en el resto de la web. */
html.f26c .rkx-page .rkx-pill-btn {
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .rkx-page .rkx-pill-btn:hover {
    border-color: var(--f26-ink);
    background: #fff;
    color: var(--f26-ink);
}
html.f26c .rkx-page .rkx-pill-btn i { color: var(--f26-mute); font-size: 12px; }
html.f26c .rkx-page .rkx-pill-btn:hover i { color: var(--f26-ink); }
html.f26c .rkx-page .rkx-pill-btn.is-active {
    border-color: transparent;
    background: var(--f26-red-soft);
    color: var(--f26-red);
}
html.f26c .rkx-page .rkx-pill-btn.is-active i { color: var(--f26-red); }
html.f26c .rkx-page .rkx-pill-btn:has(.fa-file-excel) {
    border-color: transparent;
    background: var(--f26-gold);
    color: var(--f26-ink);
}
html.f26c .rkx-page .rkx-pill-btn:has(.fa-file-excel) i { color: var(--f26-ink); }
html.f26c .rkx-page .rkx-pill-btn:has(.fa-file-excel):hover { background: var(--f26-ink); color: #fff; }
html.f26c .rkx-page .rkx-pill-btn:has(.fa-file-excel):hover i { color: #fff; }

/* Pestañas: control segmentado en píldora, la activa en negro. */
html.f26c .rkx-page .rkx-tabsbar { gap: 10px 12px; margin-top: 18px; }
html.f26c .rkx-page .rkx-tabs-label {
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}
html.f26c .rkx-page .rkx-tabs {
    gap: 2px;
    padding: 4px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .rkx-page .rkx-tab {
    height: 34px;
    padding: 0 16px;
    border-radius: var(--f26-pill);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .rkx-page .rkx-tab:hover { background: transparent; color: var(--f26-ink); }
html.f26c .rkx-page .rkx-tab.active { background: var(--f26-ink); color: #fff; }
html.f26c .rkx-page .rkx-tab:focus-visible { outline: 0; box-shadow: var(--f26-focus); }
html.f26c .rkx-page .rkx-tabs-divider { height: 24px; background: var(--f26-line); }
/* Pestaña World Triathlon en el azul de World Triathlon (MAP, 24-11): texto e icono azules y, elegida, fondo azul */
html.f26c .rkx-page { --f26-wt-blue: #0047BA; --f26-wt-blue-dk: #00307D; }
html.f26c .rkx-page .rkx-tab.rkx-tab--wt { display: inline-flex; align-items: center; gap: 7px; color: var(--f26-wt-blue); }
html.f26c .rkx-page .rkx-tab.rkx-tab--wt i { font-size: 13px; }
html.f26c .rkx-page .rkx-tab.rkx-tab--wt:hover { background: #E6EEFB; color: var(--f26-wt-blue-dk); }
html.f26c .rkx-page .rkx-tab.rkx-tab--wt.active {
    background: linear-gradient(135deg, var(--f26-wt-blue), var(--f26-wt-blue-dk));
    color: #fff; box-shadow: 0 3px 10px rgba(0, 71, 186, .35);
}
/* Con World Triathlon elegida, la categoría elegida también va en azul */
html.f26c .rkx-page:has(.rkx-tab--wt.active) .rkx-tabs-cat .rkx-tab.active { background: var(--f26-wt-blue-dk); color: #fff; }

/* Buscador: píldora gris que se aclara al enfocar. */
html.f26c .rkx-page .rkx-search-row { margin-top: 2px; }
html.f26c .rkx-page .rkx-search {
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .rkx-page .rkx-search:focus-within {
    background: #fff;
    box-shadow: var(--f26-focus);
}
html.f26c .rkx-page .rkx-search i { color: var(--f26-mute); }
html.f26c .rkx-page .rkx-search input {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .rkx-page .rkx-search input::placeholder { color: var(--f26-mute); font-weight: 500; }
html.f26c .rkx-page .rkx-search input:focus,
html.f26c .rkx-page .rkx-search input:focus-visible { outline: 0; box-shadow: none !important; }
html.f26c .rkx-page .rkx-search-clear {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--f26-tint-2);
    color: var(--f26-text-2);
    font-size: 12px;
}
html.f26c .rkx-page .rkx-search-clear:hover { background: var(--f26-ink); color: #fff; }
html.f26c .rkx-page .rkx-hist-chip {
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-red-soft);
    color: var(--f26-red);
    font-size: 12px;
    font-weight: 800;
}

/* ---------- Podio (escritorio): placas como el podio de la ficha ---------- */
html.f26c .rkx-page .rkx-podium { gap: 12px; padding: 16px 16px 14px; }
html.f26c .rkx-page .rkx-pod {
    --f26-step: var(--f26-mute-2);
    gap: 10px;
    padding: 14px 16px 12px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--f26-tint);
    box-shadow: inset 4px 0 0 var(--f26-step);
}
html.f26c .rkx-page .rkx-pod:hover {
    transform: translateY(-2px);
    box-shadow: inset 4px 0 0 var(--f26-step), var(--f26-shadow-2);
}
html.f26c .rkx-page .rkx-pod.p1 { --f26-step: var(--f26-gold); background: var(--f26-gold-soft); }
html.f26c .rkx-page .rkx-pod.p2 { --f26-step: var(--f26-silver); background: var(--f26-tint); }
html.f26c .rkx-page .rkx-pod.p3 { --f26-step: var(--f26-bronze); background: var(--f26-tint); }
html.f26c .rkx-page .rkx-pod .rkx-pod-medal {
    width: 28px;
    height: 28px;
    background: var(--f26-step);
    color: var(--f26-ink);
    font-size: 13px;
    font-weight: 900;
}
html.f26c .rkx-page .rkx-pod-tag {
    padding: 4px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-ink);
    color: var(--f26-gold);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .1em;
}
html.f26c .rkx-page .rkx-pod-name {
    color: var(--f26-ink);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}
html.f26c .rkx-page .rkx-pod-sub { color: var(--f26-mute); font-size: 11px; font-weight: 700; }
html.f26c .rkx-page .rkx-pod-foot {
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(28, 28, 34, .1);
}
html.f26c .rkx-page .rkx-pod-pts {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 24px;
    font-weight: 900;
}
html.f26c .rkx-page .rkx-pod-pts small { color: var(--f26-mute); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
html.f26c .rkx-page .rkx-pod-gap {
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
}

/* ---------- Tabla ---------- */
html.f26c .rkx-page .rkx-table > thead > tr > th {
    padding: 12px 10px;
    border-bottom: 0;
    background: var(--f26-ink);
    box-shadow: inset 0 -3px 0 var(--f26-red);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
}
html.f26c .rkx-page .rkx-table > thead > tr > th:first-child { padding-left: 16px; }
html.f26c .rkx-page .rkx-table tbody td {
    padding: 10px;
    border-top: 1px solid var(--f26-tint-2);
}
html.f26c .rkx-page .rkx-table tbody td:first-child { padding-left: 16px; }
html.f26c .rkx-page .rkx-table tbody td:last-child { padding-right: 16px; }
html.f26c .rkx-page .rkx-table tbody tr.rkx-row:hover td { background: #FAFAFC; }
html.f26c .rkx-page .rkx-table tbody tr.rkx-row.is-open td { background: var(--f26-tint); }
html.f26c .rkx-page .rkx-col-pos { width: 96px; }

/* Posición: chapa cuadrada; las tres primeras, en metal. */
html.f26c .rkx-page .rkx-pos { align-items: center; gap: 7px; }
html.f26c .rkx-page .rkx-pos-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 900;
}
html.f26c .rkx-page .rkx-table tbody tr.rkx-prow,
html.f26c .rkx-page .rkx-table tbody tr.rkx-prow td,
html.f26c .rkx-page .rkx-table tbody tr.rkx-prow td:first-child { background-image: none; box-shadow: none; }
html.f26c .rkx-page .rkx-prow-1 .rkx-pos-n { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .rkx-page .rkx-prow-2 .rkx-pos-n { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .rkx-page .rkx-prow-3 .rkx-pos-n { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .rkx-page .rkx-move { font-family: var(--f26-font); font-size: 13.5px; font-weight: 900; line-height: 18px; white-space: nowrap; }
/* Sube o baja, en pastilla (antes pasaba desapercibido) */
html.f26c .rkx-page .rkx-pos .rkx-move.up,
html.f26c .rkx-page .rkx-pos .rkx-move.down { padding: 1px 7px; border-radius: var(--f26-pill); }
html.f26c .rkx-page .rkx-pos .rkx-move.up { background: rgba(24, 150, 90, .12); }
html.f26c .rkx-page .rkx-pos .rkx-move.down { background: rgba(207, 18, 47, .1); }
html.f26c .rkx-page .rkx-move.up { color: var(--f26-green-text); }
html.f26c .rkx-page .rkx-move.down { color: var(--f26-red); }
html.f26c .rkx-page .rkx-move.same { color: var(--f26-mute-2); }

/* Deportista / club */
html.f26c .rkx-page .rkx-avatar {
    width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 10px;
    background: var(--f26-tint-2);
    box-shadow: 0 0 0 1px var(--f26-line);
}
html.f26c .rkx-page .rkx-avatar .rkx-initials { color: var(--f26-text-2); font-size: 11px; font-weight: 900; }
html.f26c .rkx-page .rkx-athlete-name {
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}
html.f26c .rkx-page .rkx-athlete-name:hover { color: var(--f26-red); }
html.f26c .rkx-page .rkx-athlete-sub {
    margin-top: 2px;
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .rkx-page .rkx-races { color: var(--f26-text-2); font-size: 14px; font-weight: 800; }

/* Puntos: placa blanca con borde negro, como los tiempos de la clasificación. */
html.f26c .rkx-page .rkx-pts {
    display: inline-block;
    min-width: 64px;
    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-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}
html.f26c .rkx-page .rkx-gap {
    margin-top: 4px;
    color: var(--f26-mute);
    font-family: var(--f26-font);
    font-size: 11px;
    font-weight: 700;
}
html.f26c .rkx-page .rkx-pts-cell .rkx-gap { padding-right: 2px; }
html.f26c .rkx-page .rkx-gap.is-leader {
    color: var(--f26-gold-text);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

/* Desplegar: círculo; abierto, en negro. */
html.f26c .rkx-page .rkx-chev {
    width: 34px;
    height: 34px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
}
html.f26c .rkx-page .rkx-chev:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .rkx-page .rkx-chev.open { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }

/* ---------- Detalle: cómo suma sus puntos ---------- */
html.f26c .rkx-page .rkx-detail { padding: 6px 16px 16px; }
html.f26c .rkx-page .rkx-detail-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 11px 14px;
    border-radius: 10px 10px 0 0;
    background: var(--f26-ink);
}
html.f26c .rkx-page .rkx-detail-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .rkx-page .rkx-detail-head .k { color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; }
html.f26c .rkx-page .rkx-detail-head .k strong { color: var(--f26-gold); font-weight: 900; }
html.f26c .rkx-page .rkx-detail-head .hint { color: var(--f26-on-ink-mute); font-size: 11.5px; font-weight: 600; }
html.f26c .rkx-page .rkx-detail-head .hint strong { color: #fff; }
html.f26c .rkx-page .rkx-detail-item {
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--f26-tint-2);
}
html.f26c .rkx-page .rkx-detail-idx {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #DDF3E6;
    color: #167A41;
    font-family: var(--f26-font);
    font-size: 10.5px;
    font-weight: 900;
}
html.f26c .rkx-page .rkx-detail-item.out { opacity: .55; }
html.f26c .rkx-page .rkx-detail-item.out .rkx-detail-idx { background: var(--f26-tint-2); color: var(--f26-mute); }
html.f26c .rkx-page .rkx-detail-name { color: var(--f26-ink); font-size: 13px; font-weight: 800; }
html.f26c .rkx-page .rkx-detail-name:hover { color: var(--f26-red); }
html.f26c .rkx-page .rkx-detail-city { color: var(--f26-mute); font-weight: 600; }
html.f26c .rkx-page .rkx-detail-date { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .rkx-page .rkx-detail-pts {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 900;
}
html.f26c .rkx-page .rkx-detail-foot {
    padding: 10px 14px;
    border-top: 0;
    box-shadow: inset 0 3px 0 var(--f26-tint-2);
}
html.f26c .rkx-page .rkx-detail-foot .total {
    padding: 3px 10px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
}
html.f26c .rkx-page .rkx-cut-tag { color: var(--f26-mute); font-size: 10px; font-weight: 800; letter-spacing: .07em; }

/* ---------- Pie: paginación y leyenda ---------- */
html.f26c .rkx-page .rkx-foot { padding: 14px 16px; border-top: 1px solid var(--f26-line); }
html.f26c .rkx-page .rkx-count { color: var(--f26-mute); font-size: 12px; font-weight: 700; }
html.f26c .rkx-page .rkx-sizes {
    gap: 2px;
    padding: 3px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .rkx-page .rkx-size {
    height: 28px;
    padding: 0 11px;
    border-radius: var(--f26-pill);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .rkx-page .rkx-size.active { background: var(--f26-ink); color: #fff; }
html.f26c .rkx-page .rkx-pager { gap: 6px; }
html.f26c .rkx-page .rkx-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .rkx-page .rkx-page-btn:hover:not(:disabled) { border-color: var(--f26-ink); background: #fff; }
html.f26c .rkx-page .rkx-page-btn.active { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }
html.f26c .rkx-page .rkx-page-gap { color: var(--f26-mute); }
html.f26c .rkx-page .rkx-legend {
    gap: 10px 20px;
    padding: 12px 16px;
    border-top: 1px solid var(--f26-line);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 11.5px;
}
html.f26c .rkx-page .rkx-legend .k { color: var(--f26-ink); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
html.f26c .rkx-page .rkx-legend .rkx-detail-idx[style] { background: var(--f26-tint-2) !important; }

/* Estados (cargando, sin datos, sin coincidencias) */
html.f26c .rkx-page .rkx-state { padding: 48px 20px; color: var(--f26-mute); }
html.f26c .rkx-page .rkx-state i { color: var(--f26-mute-2); }
html.f26c .rkx-page .rkx-state p { font-weight: 700; }

/* ---------- Clubes ---------- */
html.f26c .rkx-page .rkx-club-badge {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: var(--f26-ink);
    color: #fff;
    font-family: var(--f26-font);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
}
html.f26c .rkx-page .rkx-club-fed {
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-weight: 800;
}
html.f26c .rkx-page .rkx-split { color: var(--f26-text-2); font-family: var(--f26-font); font-size: 13px; font-weight: 800; }
html.f26c .rkx-page .rkx-split.men .dot { background: var(--f26-blue); }
html.f26c .rkx-page .rkx-split.women .dot { background: var(--f26-red); }
html.f26c .rkx-page .rkx-split sup { color: var(--f26-mute); font-weight: 800; }
html.f26c .rkx-page .rkx-club-detail { padding: 6px 16px 16px; }
html.f26c .rkx-page .rkx-club-table { border: 1px solid var(--f26-line); border-radius: 10px; }
html.f26c .rkx-page .rkx-club-table th {
    background: var(--f26-tint);
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}
html.f26c .rkx-page .rkx-club-table td { border-top: 1px solid var(--f26-tint-2); color: var(--f26-text-2); font-weight: 700; }
html.f26c .rkx-page .rkx-club-ev { color: var(--f26-ink); font-weight: 800; }
html.f26c .rkx-page .rkx-club-city { color: var(--f26-mute); }

/* ---------- Modal de histórico ---------- */
html.f26c .rkx-modal-backdrop { background: rgba(28, 28, 34, .55); }
html.f26c .rkx-page .rkx-modal { border-radius: var(--f26-r); box-shadow: var(--f26-shadow-3); }
html.f26c .rkx-page .rkx-modal-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 16px 18px 17px;
    border-bottom: 0;
    background: var(--f26-ink);
}
html.f26c .rkx-page .rkx-modal-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .rkx-page .rkx-modal-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
html.f26c .rkx-page .rkx-modal-head h4 {
    color: #fff;
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .rkx-page .rkx-modal-head h4 i { color: var(--f26-gold); }
html.f26c .rkx-page .rkx-modal-head .btn-close { filter: invert(1) grayscale(100%) brightness(200%); opacity: .8; }
html.f26c .rkx-page .rkx-modal-head .btn-close:hover { opacity: 1; }
html.f26c .rkx-page .rkx-modal-body { padding: 18px; }
html.f26c .rkx-page .rkx-year-label {
    position: relative;
    padding-left: 10px;
    color: var(--f26-ink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}
html.f26c .rkx-page .rkx-year-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 3px;
    border-radius: 2px;
    background: var(--f26-red);
}
html.f26c .rkx-page .rkx-date-grid { gap: 8px; }
html.f26c .rkx-page .rkx-date-btn {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .rkx-page .rkx-date-btn:hover { border-color: var(--f26-ink); background: #fff; color: var(--f26-ink); }
html.f26c .rkx-page .rkx-date-btn.active { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }

/* ---------- Tablet y móvil ---------- */
@media (max-width: 991.98px) {
    html.f26c .rkx-page .rkx-podium { gap: 8px; }
    html.f26c .rkx-page .rkx-pod { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
    html.f26c .rkx-page .rkx-pod > div:nth-child(2) { flex: 1 1 0; min-width: 0; }
    html.f26c .rkx-page .rkx-pod-foot { flex: 0 0 auto; gap: 14px; padding-top: 0; border-top: 0; }
}

@media (max-width: 767.98px) {
    html.f26c .rkx-page:not(.rkx-modal-backdrop) { gap: 12px; padding: 0; }
    html.f26c .rkx-page .rkx-head { padding: 16px 14px; }
    html.f26c .rkx-page .rkx-title { font-size: 17px; }
    html.f26c .rkx-page .rkx-head-actions { gap: 6px; }
    html.f26c .rkx-page .rkx-head-actions .rkx-pill-btn {
        height: 38px;
        padding: 0 8px;
        gap: 6px;
        font-size: 12px;
    }

    /* Pestañas de ranking: se deslizan; el degradado avisa de que hay más
       (las clases f26-tabs-* las pone el script de index.html). */
    html.f26c .rkx-page .rkx-tabs-disc.f26-tabs-more {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    }
    html.f26c .rkx-page .rkx-tabs-disc.f26-tabs-more.f26-tabs-scrolled {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
        mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
    }
    html.f26c .rkx-page .rkx-tabs-disc.f26-tabs-end.f26-tabs-scrolled {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px);
        mask-image: linear-gradient(90deg, transparent, #000 36px);
    }
    html.f26c .rkx-page .rkx-tab { padding: 0 14px; }
    html.f26c .rkx-page .rkx-tabs-cat .rkx-tab { padding: 0 14px; }
    html.f26c .rkx-page .rkx-search { height: 42px; padding: 0 14px; }
    html.f26c .rkx-page .rkx-hist-chip { height: 40px; }

    /* Tabla compacta: posición, nombre, puntos y desplegar. */
    html.f26c .rkx-page .rkx-table > thead > tr > th { padding: 11px 6px; font-size: 10px; }
    html.f26c .rkx-page .rkx-table > thead > tr > th:first-child,
    html.f26c .rkx-page .rkx-table tbody td:first-child { padding-left: 12px; }
    html.f26c .rkx-page .rkx-table tbody td { padding: 10px 6px; }
    html.f26c .rkx-page .rkx-table tbody td:last-child { padding-right: 12px; }
    html.f26c .rkx-page .rkx-col-pos { width: 54px; }
    html.f26c .rkx-page .rkx-col-pts { width: 80px; }
    html.f26c .rkx-page .rkx-col-chev { width: 42px; }
    html.f26c .rkx-page .rkx-pos { flex-direction: column; align-items: flex-start; gap: 3px; }
    html.f26c .rkx-page .rkx-pos-n { min-width: 30px; height: 30px; font-size: 13px; }
    html.f26c .rkx-page .rkx-move { padding-left: 1px; font-size: 12px; line-height: 16px; }
    html.f26c .rkx-page .rkx-pos .rkx-move.up,
    html.f26c .rkx-page .rkx-pos .rkx-move.down { padding: 0 5px; }
    html.f26c .rkx-page .rkx-avatar { width: 30px; height: 30px; }
    html.f26c .rkx-page .rkx-athlete-name { font-size: 12.5px; }
    html.f26c .rkx-page .rkx-pts { min-width: 0; padding: 3px 7px; font-size: 13.5px; }
    html.f26c .rkx-page .rkx-gap { font-size: 10px; }
    html.f26c .rkx-page .rkx-chev { width: 30px; height: 30px; }
    html.f26c .rkx-page .rkx-detail,
    html.f26c .rkx-page .rkx-club-detail { padding: 4px 10px 12px; }
    html.f26c .rkx-page .rkx-detail-head { padding: 10px 12px; }
    html.f26c .rkx-page .rkx-detail-item { gap: 10px; padding: 9px 12px; }
    html.f26c .rkx-page .rkx-foot { padding: 14px; }
    html.f26c .rkx-page .rkx-page-btn { min-width: 36px; height: 36px; }
    html.f26c .rkx-page .rkx-legend { padding: 12px 14px; }
}

@media (max-width: 575.98px) {
    /* Categoría a lo ancho (dos mitades) y el buscador debajo. */
    html.f26c .rkx-page .rkx-tabs-cat { flex: 1 1 100%; }
    html.f26c .rkx-page .rkx-tabs-cat .rkx-tab { flex: 1 1 0; }
    html.f26c .rkx-page .rkx-search-row { flex: 1 1 100%; }
}

/* =====================================================================
   DEPORTISTAS (Athletes.razor, raíz .f26-ath): filtros, listado,
   barra de acciones de la ficha y comparador
   ===================================================================== */

/* El contenedor de la página ya da el margen lateral: sin doble sangría. */
html.f26c .f26-ath {
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-family: var(--f26-font);
}

/* ---------- Filtros ---------- */
html.f26c .f26-ath .filters-card {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-ath .filters-card-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--f26-tint-2);
    border-radius: var(--f26-r) var(--f26-r) 0 0;
    background: #fff;
}
html.f26c .f26-ath .filter-header {
    position: relative;
    padding-left: 14px;
    color: var(--f26-ink);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-ath .filter-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 4px;
    border-radius: 2px;
    background: var(--f26-red);
}
html.f26c .f26-ath .filters-card-header .btn {
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .f26-ath .filters-card-header .btn:hover { background: var(--f26-ink); color: #fff; }
html.f26c .f26-ath .filters-card-body { padding: 16px 20px 20px; }

/* Campos: una píldora gris (icono + campo) que se aclara al enfocar. */
html.f26c .f26-ath .filters-card .input-group,
html.f26c .f26-ath .card .input-group {
    flex-wrap: nowrap;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    transition: background-color .15s ease, box-shadow .15s ease;
}
html.f26c .f26-ath .filters-card .input-group:focus-within,
html.f26c .f26-ath .card .input-group:focus-within {
    background: #fff;
    box-shadow: var(--f26-focus);
}
html.f26c .f26-ath .filters-card .input-group-text,
html.f26c .f26-ath .card .input-group-text {
    width: 46px;
    padding: 0 0 0 6px;
    justify-content: center;
    border: 0;
    border-radius: var(--f26-pill) 0 0 var(--f26-pill) !important;
    background: transparent;
    color: var(--f26-mute);
    font-size: 13px;
}
html.f26c .f26-ath .filters-card .input-group > .form-control,
html.f26c .f26-ath .card .input-group > .form-control {
    height: 44px;
    padding-left: 4px;
    border: 0;
    border-radius: 0 var(--f26-pill) var(--f26-pill) 0 !important;
    background: transparent;
    box-shadow: none !important;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .f26-ath .filters-card .input-group > .form-control::placeholder,
html.f26c .f26-ath .card .input-group > .form-control::placeholder { color: var(--f26-mute); font-weight: 500; }
html.f26c .f26-ath .fed-select-placeholder { color: var(--f26-mute); font-weight: 500; }
html.f26c .f26-ath .fed-select-caret { color: var(--f26-mute); }
html.f26c .f26-ath .filter-clear {
    right: 9px;
    width: 26px;
    height: 26px;
    padding: 0;
    background: var(--f26-tint-2);
    color: var(--f26-text-2);
    font-size: 11px;
}
html.f26c .f26-ath .filter-clear:hover { background: var(--f26-ink); color: #fff; }

/* Desplegables de federación y de clubes: menú blanco, elegido en negro. */
html.f26c .f26-ath .fed-options,
html.f26c .f26-ath .club-suggestions {
    top: calc(100% + 6px);
    padding: 6px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    box-shadow: var(--f26-shadow-3);
}
html.f26c .f26-ath .fed-options li,
html.f26c .f26-ath .club-suggestions li {
    padding: 9px 10px;
    border-bottom: 0;
    border-radius: 8px;
    color: var(--f26-ink);
}
html.f26c .f26-ath .fed-options li:hover,
html.f26c .f26-ath .club-suggestions li:hover { background: var(--f26-tint); }
html.f26c .f26-ath .fed-options li.selected { background: var(--f26-ink); color: #fff; font-weight: 800; }
html.f26c .f26-ath .fed-option-name { font-size: 13.5px; font-weight: 600; }
html.f26c .f26-ath .club-suggestion-name { font-size: 13.5px; font-weight: 700; }
html.f26c .f26-ath .club-suggestion-fed { color: var(--f26-mute); font-size: 11px; font-weight: 600; }
html.f26c .f26-ath .club-suggestions li.club-suggestions-empty:hover { background: transparent; }
/* En los móviles más estrechos los desplegables de los buscadores no salen de la pantalla: el de clubes tenía un
   mínimo de 340 px (a 320 px sobresalía 43 px) y los de comparar, ancho completo de la columna desde su relleno
   (sobresalían 3 px): ahora van a lo ancho del cuadro */
html.f26c .f26-ath .club-suggestions { min-width: min(340px, calc(100vw - 48px)); max-width: min(420px, calc(100vw - 48px)); }
@media (max-width: 767.98px) {
    html.f26c .f26-ath .position-relative > .position-absolute.w-100.mt-1 {
        left: calc(var(--bs-gutter-x, 1.5rem) * .5);
        right: calc(var(--bs-gutter-x, 1.5rem) * .5);
        width: auto !important;
    }
}

/* Aviso de comparación en curso */
html.f26c .f26-ath .filters-card .alert-info {
    margin: 0 20px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--f26-gold-soft);
    color: var(--f26-ink);
    font-weight: 600;
}

/* ---------- Estados: buscar, sin resultados y cargando ---------- */
html.f26c .f26-ath .athletes-empty-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--f26-ink);
    color: var(--f26-gold);
    font-size: 24px;
}
html.f26c .f26-ath .athletes-empty-title {
    color: var(--f26-ink);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .f26-ath .athletes-muted { color: var(--f26-mute); font-weight: 600; }
html.f26c .f26-ath .athletes-loading .spinner-border { color: var(--f26-red); }

/* ---------- Listado ---------- */
html.f26c .f26-ath .athlete-table-card {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-ath .athlete-table-header { padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--f26-tint-2); }
html.f26c .f26-ath .athlete-table-header .athletes-muted { color: var(--f26-text-2); font-size: 13px; font-weight: 800; }
html.f26c .f26-ath .athlete-table-header .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    font-size: 12px;
}
html.f26c .f26-ath .athlete-table-header .btn:hover:not(:disabled) { border-color: var(--f26-ink); background: #fff; }
html.f26c .f26-ath .athlete-table-header .btn:disabled { opacity: .35; }
html.f26c .f26-ath .athlete-table-card thead th,
html.f26c .f26-ath .athlete-table-card thead tr:hover th,
html.f26c .f26-ath .athlete-table-card thead th:hover {
    padding: 12px 14px;
    border-bottom: 0;
    background: var(--f26-ink);
    box-shadow: inset 0 -3px 0 var(--f26-red);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
}
html.f26c .f26-ath .athlete-row:hover { background: #FAFAFC; transform: none; }
html.f26c .f26-ath .athlete-row td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--f26-tint-2);
    background: transparent;
    box-shadow: none;
}
html.f26c .f26-ath .athlete-row td:first-child { padding-left: 20px; }
html.f26c .f26-ath .athlete-row:hover td { background: #FAFAFC; }
html.f26c .f26-ath .athlete-photo-wrap {
    width: 46px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: var(--f26-tint-2);
    box-shadow: 0 0 0 1px var(--f26-line);
}
html.f26c .f26-ath .athlete-photo-placeholder { color: var(--f26-mute-2); }
html.f26c .f26-ath .athlete-flag { width: 28px; border: 1px solid var(--f26-line); border-radius: 4px; }
html.f26c .f26-ath .athlete-name-info .name {
    color: var(--f26-ink);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.25;
}
html.f26c .f26-ath .athlete-name-info .meta {
    margin-top: 2px;
    color: var(--f26-mute);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
/* Puestos en los rankings: placa blanca con borde negro. */
html.f26c .f26-ath .ranking-badge {
    min-width: 46px;
    padding: 4px 9px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff !important;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 900;
}

/* ---------- Barra de acciones sobre la ficha (Volver / comparar) ---------- */
html.f26c .f26-ath .ath-toolbar {
    padding: 10px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-ath .ath-btn {
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--f26-pill);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .f26-ath .ath-btn-ghost { border: 1px solid var(--f26-line); background: #fff; color: var(--f26-ink); }
html.f26c .f26-ath .ath-btn-ghost:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .f26-ath .ath-btn-primary { background: var(--f26-red); color: #fff; }
html.f26c .f26-ath .ath-btn-primary:hover { background: var(--f26-red-dk); }
html.f26c .f26-ath .ath-btn-danger { border: 0; background: var(--f26-red-soft); color: var(--f26-red); }
html.f26c .f26-ath .ath-btn-danger:hover { background: var(--f26-red); color: #fff; }
html.f26c .f26-ath .athlete-profile-container { margin-top: 16px; }

/* ---------- Comparador (tarjetas Bootstrap de la página) ---------- */
html.f26c .f26-ath > .card,
html.f26c .f26-ath .athletes-list ~ .card {
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    box-shadow: var(--f26-shadow-1) !important;
}
/* la tarjeta del comparador no recorta: la lista de "Buscar deportista" cae por debajo de ella */
html.f26c .f26-ath > .card:has(.position-relative) { overflow: visible; }
html.f26c .f26-ath > .card > .card-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 13px 20px 15px;
    border: 0;
    background: var(--f26-ink) !important;
}
html.f26c .f26-ath > .card > .card-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
}
html.f26c .f26-ath > .card > .card-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
html.f26c .f26-ath > .card > .card-header h4 {
    color: #fff;
    font-size: 14px !important;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-ath > .card .form-label { color: var(--f26-ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .f26-ath > .card .table > :not(caption) > * > * { border-color: var(--f26-tint-2); }
html.f26c .f26-ath > .card .table thead th,
html.f26c .f26-ath > .card .table tr.bg-light > * {
    background: var(--f26-tint) !important;
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .f26-ath > .card .fs-4 { font-family: var(--f26-font); font-weight: 900 !important; }
html.f26c .f26-ath > .card .chart-title { color: var(--f26-ink); font-size: 13px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
html.f26c .f26-ath > .card .list-group { border-radius: 12px; box-shadow: var(--f26-shadow-3) !important; }
html.f26c .f26-ath > .card .list-group-item { border-color: var(--f26-tint-2); }
html.f26c .f26-ath > .card .list-group-item-action:hover { background: var(--f26-tint); }

@media (max-width: 575.98px) {
    html.f26c .f26-ath .filters-card-header { padding: 12px 14px 12px 16px; }
    html.f26c .f26-ath .filters-card-body { padding: 14px 14px 16px; }
    html.f26c .f26-ath .filters-card-body .row { --bs-gutter-y: 10px; }
    html.f26c .f26-ath .athlete-table-header { padding: 10px 12px 10px 16px; }
    html.f26c .f26-ath .athlete-row td { padding: 11px 10px; }
    html.f26c .f26-ath .athlete-row td:first-child { width: 1%; padding-left: 14px; }
    html.f26c .f26-ath .athlete-photo-wrap { width: 40px; height: 40px; }
    html.f26c .f26-ath .athlete-flag { width: 24px; }
    html.f26c .f26-ath .athlete-name-info .name { font-size: 13.5px; }
    html.f26c .f26-ath .ath-toolbar { padding: 8px; gap: 8px; }
}

/* =====================================================================
   FICHA DE DEPORTISTA (Athlete.razor, raíz .f26-athp). También se ve
   dentro de Deportistas y en el diálogo que abre Rankings.
   ===================================================================== */
html.f26c .f26-athp {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-family: var(--f26-font);
}

/* Sin cajas grises alrededor: las tarjetas van sobre el fondo de la página. */
html.f26c .f26-athp > .bg-light.rounded {
    padding: 0 !important;
    margin-bottom: 16px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html.f26c .f26-athp .ath-card,
html.f26c .f26-athp > .card {
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff !important;
    box-shadow: var(--f26-shadow-1) !important;
}
html.f26c .f26-athp > .card { margin-bottom: 16px !important; }

/* Placa del nombre: negra, con textura y filete de color (rótulo de TV). */
html.f26c .f26-athp .ath-profile-info,
html.f26c .f26-athp .ath-profile-header {
    position: relative;
    isolation: isolate;
    background: var(--f26-ink);
}
html.f26c .f26-athp .ath-profile-info::before,
html.f26c .f26-athp .ath-profile-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .f26-athp .ath-profile-info::after,
html.f26c .f26-athp .ath-profile-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
    pointer-events: none;
}
html.f26c .f26-athp .ath-profile-info { padding: 14px 16px 17px; }
html.f26c .f26-athp .ath-profile--no-photo { padding: 0; }
html.f26c .f26-athp .ath-name {
    color: #fff;
    font-family: var(--f26-font);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.f26c .f26-athp .ath-meta,
html.f26c .f26-athp .ath-club { color: var(--f26-on-ink-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-athp .ath-meta-item:first-child { color: #fff; font-weight: 800; }
html.f26c .f26-athp .ath-meta-sep { color: var(--f26-gold); opacity: 1; }
html.f26c .f26-athp .ath-club { text-transform: uppercase; letter-spacing: .03em; }
html.f26c .f26-athp .ath-flag { border: 0; border-radius: 3px; }
html.f26c .f26-athp .ath-pdf,
html.f26c .f26-athp .ath-profile-pdf {
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
html.f26c .f26-athp .ath-pdf { height: 40px; margin-top: 12px; border-radius: var(--f26-pill); font-size: 12.5px; font-weight: 800; }
html.f26c .f26-athp .ath-profile-pdf { border-radius: 50%; }
html.f26c .f26-athp .ath-pdf i,
html.f26c .f26-athp .ath-profile-pdf i { color: var(--f26-gold); }
html.f26c .f26-athp .ath-pdf:hover,
html.f26c .f26-athp .ath-profile-pdf:hover { border-color: #fff; background: #fff; color: var(--f26-ink); }
html.f26c .f26-athp .ath-pdf:hover i,
html.f26c .f26-athp .ath-profile-pdf:hover i { color: var(--f26-red); }

/* Rankings de la ficha */
html.f26c .f26-athp .ath-profile-ranks { border-top: 0; }
html.f26c .f26-athp .ath-bar { width: 4px; background: var(--f26-red); }
html.f26c .f26-athp .ath-ranks-title,
html.f26c .f26-athp .ath-an-title {
    color: var(--f26-ink);
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
html.f26c .f26-athp .ath-hist-btn {
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--f26-line);
    color: var(--f26-text-2);
    font-size: 11.5px;
    font-weight: 800;
}
html.f26c .f26-athp .ath-hist-btn:hover { border-color: var(--f26-ink); background: #fff; color: var(--f26-ink); }
html.f26c .f26-athp .ath-rank-row + .ath-rank-row { border-top: 1px solid var(--f26-tint-2); }
html.f26c .f26-athp .ath-rank-name { color: var(--f26-ink); font-weight: 800; }
html.f26c .f26-athp .ath-rank-name.muted { color: var(--f26-mute); }
html.f26c .f26-athp .ath-rank-sub { color: var(--f26-mute); font-weight: 600; }
html.f26c .f26-athp .ath-line-up { stroke: var(--f26-red); }
html.f26c .f26-athp .ath-dot-up { fill: var(--f26-red); }
html.f26c .f26-athp .ath-line-down { stroke: var(--f26-mute-2); }
html.f26c .f26-athp .ath-dot-down { fill: var(--f26-mute-2); }
html.f26c .f26-athp .ath-rank-num {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-athp .ath-rank-num.na { color: var(--f26-mute-2); font-weight: 800; }
html.f26c .f26-athp .ath-delta { font-weight: 800; }
html.f26c .f26-athp .ath-delta.up { color: var(--f26-green-text); }
html.f26c .f26-athp .ath-delta.down { color: var(--f26-red); }

/* World Triathlon: cifras en placas negras y enlace al perfil */
html.f26c .f26-athp .ath-wt { border-top: 1px solid var(--f26-tint-2); }
html.f26c .f26-athp .ath-wt-stat {
    padding: 7px 4px;
    border: 0;
    border-radius: 10px;
    background: var(--f26-ink);
}
html.f26c .f26-athp .ath-wt-stat-n { color: #fff; font-family: var(--f26-font); font-size: 18px; font-weight: 900; }
html.f26c .f26-athp .ath-wt-stat-l { color: var(--f26-gold); font-size: 8.5px; font-weight: 800; letter-spacing: .08em; }
html.f26c .f26-athp .ath-wt-profile {
    height: 38px;
    padding: 0 14px 0 8px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 800;
}
html.f26c .f26-athp .ath-wt-profile:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .f26-athp .ath-wt-flag { border-radius: var(--f26-pill); }

/* ---------- Últimos 10 eventos ---------- */
html.f26c .f26-athp .ath-ev-total { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-athp .ath-ev-tabs { gap: 6px; }
html.f26c .f26-athp .ath-ev-tab {
    height: 32px;
    padding: 0 12px;
    border: 0;
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .f26-athp .ath-ev-tab:hover { background: var(--f26-tint-2); color: var(--f26-ink); }
html.f26c .f26-athp .ath-ev-tab.active { background: var(--f26-ink); color: #fff; }
html.f26c .f26-athp .ath-ev-tab.active .ath-ev-tab-n { color: var(--f26-gold); opacity: 1; }
html.f26c .f26-athp .ath-ev-tab:focus-visible { outline: 0; }
html.f26c .f26-athp .ath-ev-row + .ath-ev-row { border-top: 1px solid var(--f26-tint-2); }

/* Puesto (pedido por MAP el 20-11): con puesto, caja amarilla con la cifra en negro; abandono, descalificación
   o no presentado (DNF, DNS, DQ...), caja roja con el texto en blanco. Sin dato, gris. */
html.f26c .f26-athp .ath-ev-pos,
html.f26c .f26-athp .ath-res-node {
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-weight: 900;
}
html.f26c .f26-athp .ath-ev-pos:is(.is-p1, .is-p2, .is-p3, .is-top, .is-rk),
html.f26c .f26-athp .ath-res-node:is(.is-p1, .is-p2, .is-p3, .is-top, .is-rk) { background: var(--f26-gold); color: #111; }
html.f26c .f26-athp .ath-ev-pos.is-out,
html.f26c .f26-athp .ath-res-node.is-out { background: var(--f26-red); color: #fff; letter-spacing: .02em; }
html.f26c .f26-athp .ath-ev-name { color: var(--f26-ink); font-size: 13px; font-weight: 800; }
html.f26c .f26-athp .ath-ev-meta { color: var(--f26-mute); font-size: 11px; font-weight: 600; }
html.f26c .f26-athp .ath-ev-time {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 900;
}
html.f26c .f26-athp .ath-ev-empty { color: var(--f26-mute); font-weight: 600; }
html.f26c .f26-athp .ath-ev-foot { border-top: 1px solid var(--f26-tint-2); }
html.f26c .f26-athp .ath-ev-range,
html.f26c .f26-athp .ath-res-range { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-athp .ath-ev-btn,
html.f26c .f26-athp .ath-res-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
}
html.f26c .f26-athp .ath-ev-btn:hover:not(:disabled),
html.f26c .f26-athp .ath-res-btn:hover:not(:disabled) { border-color: var(--f26-ink); background: #fff; }

/* Enlace «Ver» y desplegar detalle */
html.f26c .f26-athp .ath-res-link {
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    color: var(--f26-ink);
    font-size: 11.5px;
    font-weight: 800;
}
html.f26c .f26-athp .ath-res-link:hover,
html.f26c .f26-athp .ath-res--wt .ath-res-link:hover { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }
html.f26c .f26-athp .ath-res-toggle {
    width: 32px;
    height: 32px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    color: var(--f26-ink);
}
html.f26c .f26-athp .ath-res-toggle:hover { border-color: var(--f26-ink); background: #fff; color: var(--f26-ink); }
html.f26c .f26-athp .ath-res-toggle.rotate90 { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }

/* ---------- Resultados (cronología) ---------- */
html.f26c .f26-athp .ath-res-head { margin-bottom: 16px; }
html.f26c .f26-athp .ath-res-title .fs-5 {
    color: var(--f26-ink);
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
}
html.f26c .f26-athp .ath-res-count { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-athp .ath-res-head .btn-success {
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-gold) !important;
    color: var(--f26-ink) !important;
    font-size: 12.5px;
    font-weight: 800 !important;
}
html.f26c .f26-athp .ath-res-head .btn-success:hover { background: var(--f26-ink) !important; color: #fff !important; }
html.f26c .f26-athp .ath-res-tabs { margin-bottom: 14px; }
html.f26c .f26-athp .ath-res-tab-flag { border-radius: var(--f26-pill); }
html.f26c .f26-athp .ath-res-panel { padding: 0; border-radius: 0; background: transparent; }
html.f26c .f26-athp .ath-res-search {
    height: 44px;
    margin-bottom: 18px;
    padding: 0 8px 0 6px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .f26-athp .ath-res-search:focus-within { background: #fff; box-shadow: var(--f26-focus); }
html.f26c .f26-athp .ath-res-search input {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .f26-athp .ath-res-search input::placeholder { color: var(--f26-mute); font-weight: 500; }
html.f26c .f26-athp .ath-res-search input:focus-visible { box-shadow: none !important; }
html.f26c .f26-athp .ath-res-search-clear { width: 30px; height: 30px; border-radius: 50%; color: var(--f26-mute); }
html.f26c .f26-athp .ath-res-search-clear:hover { background: var(--f26-tint-2); color: var(--f26-ink); }

/* Año: chapa negra sobre la línea */
html.f26c .f26-athp .ath-res-year { padding: 4px 0 16px; }
html.f26c .f26-athp .ath-res-year-n,
html.f26c .f26-athp .ath-res--wt .ath-res-year-n {
    flex: 0 0 auto;
    min-width: 46px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
}
html.f26c .f26-athp .ath-res-year-line { background: var(--f26-tint-2); }
html.f26c .f26-athp .ath-res-rail { flex-basis: 46px; }
html.f26c .f26-athp .ath-res-node { width: 42px; height: 42px; font-size: 14.5px; }
html.f26c .f26-athp .ath-res-line { background: var(--f26-tint-2); }
html.f26c .f26-athp .ath-res-name { color: var(--f26-ink); font-size: 14.5px; font-weight: 800; }
html.f26c .f26-athp .ath-res-meta { color: var(--f26-mute); font-size: 11.5px; font-weight: 600; }
/* Tiempo final: placa blanca con borde negro, como en la clasificación */
html.f26c .f26-athp .ath-res-time {
    padding: 3px 10px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.3;
}
html.f26c .f26-athp .ath-res-time:empty { display: none; }
html.f26c .f26-athp .ath-res-time.is-out {
    border-color: transparent;
    background: var(--f26-red-soft);
    color: var(--f26-red);
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-athp .ath-res-splits { color: var(--f26-text-2); font-size: 11px; font-weight: 600; }
html.f26c .f26-athp .ath-res-split b { color: var(--f26-mute); font-weight: 800; }
html.f26c .f26-athp .ath-res-detail { border-color: var(--f26-line) !important; border-radius: 12px !important; }
html.f26c .f26-athp .ath-res-foot { border-top: 1px solid var(--f26-tint-2); }
html.f26c .f26-athp .no-results-message { color: var(--f26-mute); font-weight: 600; }

/* Galería de World Triathlon */
html.f26c .f26-athp > .card .fs-5.fw-semibold { color: var(--f26-ink); font-size: 15px !important; font-weight: 900 !important; letter-spacing: .05em; text-transform: uppercase; }
html.f26c .f26-athp .ath-gal-item { border: 0; border-radius: 12px; }

/* ---------- Modal: evolución en rankings ---------- */
html.f26c .f26-athp .ath-modal { background: rgba(28, 28, 34, .55); }
html.f26c .f26-athp .ath-modal-panel { border-radius: var(--f26-r); box-shadow: var(--f26-shadow-3); }
html.f26c .f26-athp .ath-modal-head {
    position: relative;
    isolation: isolate;
    padding: 16px 18px 17px 20px;
    border-bottom: 0;
    background: var(--f26-ink);
}
html.f26c .f26-athp .ath-modal-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
}
html.f26c .f26-athp .ath-modal-head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
html.f26c .f26-athp .ath-modal-head .ath-an-title { color: #fff; }
html.f26c .f26-athp .ath-modal-head .ath-bar { background: var(--f26-gold); }
html.f26c .f26-athp .ath-modal-sub { color: var(--f26-on-ink-mute); }
html.f26c .f26-athp .ath-modal-x {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
html.f26c .f26-athp .ath-modal-x:hover { background: #fff; color: var(--f26-ink); }
html.f26c .f26-athp .ath-lightbox-x { background: rgba(255, 255, 255, .92); color: var(--f26-ink); }
html.f26c .f26-athp .ath-evo-tabs { gap: 6px; padding-bottom: 2px; border-bottom: 0; }
html.f26c .f26-athp .ath-evo-tab {
    height: 32px;
    padding: 0 14px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .f26-athp .ath-evo-tab::after { display: none; }
html.f26c .f26-athp .ath-evo-tab.active { background: var(--f26-ink); color: #fff; }
html.f26c .f26-athp .ath-evo-name { color: var(--f26-ink); font-weight: 900; }
html.f26c .f26-athp .ath-evo-meta { color: var(--f26-mute); font-weight: 700; }

@media (min-width: 992px) {
    html.f26c .f26-athp .ath-profile-header { padding: 14px 18px 17px 20px; border-bottom: 0; }
    /* Si no cabe en una línea (diálogo de Rankings, ficha con foto), el nombre
       pasa a dos en lugar de cortarse; en los datos se recorta solo el club. */
    html.f26c .f26-athp .ath-profile-header-id .ath-name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 18px;
        line-height: 1.15;
        white-space: normal;
    }
    html.f26c .f26-athp .ath-profile-header-id .ath-meta { margin-top: 4px; }
    html.f26c .f26-athp .ath-profile-header-id .ath-meta > * { flex-shrink: 0; }
    html.f26c .f26-athp .ath-profile-header-id .ath-meta > .ath-meta-item:last-child {
        display: block;
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    html.f26c .f26-athp .ath-profile-pdf { width: 40px; height: 40px; }
    html.f26c .f26-athp .ath-rank-num { font-size: 22px; }
}

/* Móvil: en la cronología el nombre de la prueba va a lo ancho y el tiempo
   y los botones bajan a su propia fila (antes el nombre se partía en sílabas). */
@media (max-width: 767.98px) {
    html.f26c .f26-athp > .card { padding: 16px 14px !important; }
    html.f26c .f26-athp .ath-res-row { gap: 12px; }
    html.f26c .f26-athp .ath-res-rail { flex-basis: 38px; }
    html.f26c .f26-athp .ath-res-node { width: 38px; height: 38px; font-size: 13.5px; }
    html.f26c .f26-athp .ath-res-year-n { min-width: 38px; padding: 3px 4px; text-align: center; }
    html.f26c .f26-athp .ath-res-top { flex-wrap: wrap; align-items: center; gap: 8px; }
    html.f26c .f26-athp .ath-res-id { flex: 1 1 100%; }
    html.f26c .f26-athp .ath-res-name { font-size: 14px; }
    html.f26c .f26-athp .ath-res-time { margin-right: auto; font-size: 14px; }
    html.f26c .f26-athp .ath-res-body { padding-bottom: 18px; }
    html.f26c .f26-athp .ath-res-splits { margin-top: 8px; }
    /* Últimos 10: el nombre puede ocupar dos líneas */
    html.f26c .f26-athp .ath-ev-name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }
}
@media (max-width: 575.98px) {
    html.f26c .f26-athp .ath-res-head .btn-success { height: 34px; padding: 0 14px; }
    html.f26c .f26-athp .ath-res-link { width: 32px; padding: 0; }
}

/* =====================================================================
   PÁGINA NO ENCONTRADA (NotFoundPage.razor, solo FETRI)
   ===================================================================== */
html.f26 .f26-404 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 760px;
    margin: 8px 0 48px;
    padding: 26px 28px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    font-family: var(--f26-font);
}
html.f26 .f26-404__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--f26-ink);
    color: var(--f26-gold);
    font-size: 24px;
}
html.f26 .f26-404__title {
    margin: 2px 0 6px;
    color: var(--f26-ink);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}
html.f26 .f26-404__text { margin: 0; color: var(--f26-text-2); font-size: 14.5px; font-weight: 500; line-height: 1.5; }
html.f26 .f26-404__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
html.f26 .f26-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
html.f26 .f26-404__btn:hover { border-color: var(--f26-ink); color: var(--f26-ink); }
html.f26 .f26-404__btn i { color: var(--f26-mute); }
html.f26 .f26-404__btn--primary { border-color: var(--f26-red); background: var(--f26-red); color: #fff; }
html.f26 .f26-404__btn--primary i { color: #fff; }
html.f26 .f26-404__btn--primary:hover { border-color: var(--f26-red-dk); background: var(--f26-red-dk); color: #fff; }

@media (max-width: 575.98px) {
    html.f26 .f26-404 { flex-direction: column; gap: 14px; padding: 22px 18px; }
    html.f26 .f26-404__actions { flex-direction: column; }
    html.f26 .f26-404__btn { width: 100%; }
}

/* =====================================================================
   LIGAS (/Leagues: LeaguesBeta + LeaguesInfoComponent)
   La raíz comparte .dashboard-container con el inicio: todo va bajo .f26-lg.
   ===================================================================== */
html.f26c .f26-lg {
    gap: 14px;
    background: transparent;
}

/* ---------- Destacado / Ligas: control segmentado ---------- */
html.f26c .f26-lg .buttons-options {
    align-self: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 2px;
    padding: 4px;
    border: 0;
    border-radius: var(--f26-pill);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-lg .btn-option {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    height: 40px;
    padding: 0 24px;
    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;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-lg .btn-option:hover { background: var(--f26-tint); color: var(--f26-ink); }
html.f26c .f26-lg .btn-option.active { background: var(--f26-ink); color: #fff; }

/* Temporadas (Destacado): mismo control de grupo que Destacado/Ligas y el panel de la liga */
html.f26c .f26-lg .season-options {
    align-self: flex-start;
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-lg .season-options .btn-season { height: 32px; border: 0 !important; border-radius: 9px; background: transparent; }
html.f26c .f26-lg .season-options .btn-season:hover { background: var(--f26-tint); }
html.f26c .f26-lg .season-options .btn-season.active { background: var(--f26-ink) !important; color: #fff !important; }
html.f26c .f26-lg .btn-season {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-lg .btn-season:hover { border-color: var(--f26-ink); color: var(--f26-ink); }
html.f26c .f26-lg .btn-season.active { border-color: var(--f26-gold); background: var(--f26-gold); color: var(--f26-ink); }

/* ---------- Tarjetas (Liga destacada, Evolución, divisiones y estadísticas) ---------- */
html.f26c .f26-lg .featured-card {
    overflow: hidden;
    border: 0;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-lg .leagues-header,
html.f26c .f26-lg .header-ftc { gap: 10px; padding: 16px 18px 12px; }
html.f26c .f26-lg .leagues-header h3,
html.f26c .f26-lg .header-title {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
    padding-left: 14px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-lg .leagues-header h3::before,
html.f26c .f26-lg .header-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 2px;
    background: var(--f26-red);
}
/* la barra roja sustituye a los iconos de colores de los títulos */
html.f26c .f26-lg .leagues-header h3 > i,
html.f26c .f26-lg .header-title > i { display: none; }
html.f26c .f26-lg .divider { margin: 0 18px; border-top: 1px solid var(--f26-line); }
html.f26c .f26-lg .data-container { padding: 14px 18px 18px; }

/* Liga destacada: rótulo negro con textura por liga, cifras en placas y top 3 por división */
html.f26c .f26-lg .leagues-grid { gap: 22px; }
html.f26c .f26-lg .league-item { gap: 12px; }
html.f26c .f26-lg .league-header-info { padding: 0; border: 0; }
html.f26c .f26-lg .league-name {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 11px 14px 13px;
    border-radius: 10px;
    background: var(--f26-ink);
    color: #fff;
    font-family: var(--f26-font);
    /* style.css fuerza los h5 a 18px en móvil */
    font-size: 13px !important;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .f26-lg .league-name::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); opacity: .9; }
html.f26c .f26-lg .league-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f26-grad-accent); }
html.f26c .f26-lg .league-stats { gap: 8px; }
html.f26c .f26-lg .stat-item {
    gap: 2px;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--f26-tint);
}
html.f26c .f26-lg .stat-label-small {
    margin: 0;
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-lg .stat-value {
    color: var(--f26-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-lg .division-info { gap: 6px; margin: 0; }
html.f26c .f26-lg .division-title {
    margin: 4px 0 0;
    color: var(--f26-red-dk);
    font-family: var(--f26-font);
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-lg .clubs-list { gap: 6px; }
html.f26c .f26-lg .club-item {
    gap: 10px;
    min-height: 46px;
    padding: 7px 8px 7px 8px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--f26-line);
}
html.f26c .f26-lg .club-info { gap: 10px; }
html.f26c .f26-lg .club-position {
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 8px;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 900;
}
html.f26c .f26-lg .club-position.gold { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-lg .club-position.silver { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-lg .club-position.bronze { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-lg .club-name {
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}
/* Puntos: placa blanca con borde negro, como en Rankings */
html.f26c .f26-lg .club-item > .badge {
    flex: none;
    min-width: 72px;
    padding: 4px 9px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff !important;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px !important;
    font-weight: 900;
    line-height: 1.2;
}

/* ---------- Listado de ligas ---------- */
html.f26c .f26-lg .leagues-overview { max-width: none; padding: 0; }
html.f26c .f26-lg .leagues-overview > .text-center { margin-bottom: 14px !important; text-align: left !important; }
html.f26c .f26-lg .leagues-overview h3 {
    position: relative;
    margin: 0;
    padding-left: 14px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}
html.f26c .f26-lg .leagues-overview h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: var(--f26-red);
}
html.f26c .f26-lg .leagues-overview > .text-center > p {
    margin: 4px 0 0;
    padding-left: 14px;
    color: var(--f26-mute) !important;
    font-size: 13px;
    font-weight: 600;
}
html.f26c .f26-lg .league-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
html.f26c .f26-lg .league-list-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 4px 14px;
    padding: 14px 16px;
    border: 0;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    transition: box-shadow .15s ease, transform .15s ease;
}
html.f26c .f26-lg .league-list-item:hover {
    background: #fff;
    box-shadow: var(--f26-shadow-2);
    transform: translateY(-1px);
}
html.f26c .f26-lg .league-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--f26-ink);
    color: var(--f26-gold);
    font-size: 18px;
}
html.f26c .f26-lg .league-list-info { gap: 5px; }
html.f26c .f26-lg .league-list-name {
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}
html.f26c .f26-lg .league-list-season {
    padding: 2px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold-soft);
    color: #8A6200;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
html.f26c .f26-lg .league-list-desc { color: var(--f26-mute); font-size: 12px; }
html.f26c .f26-lg .league-list-meta { color: var(--f26-mute); font-size: 12px; font-weight: 700; }
html.f26c .f26-lg .league-list-action { color: var(--f26-mute-2); font-size: 14px; }
html.f26c .f26-lg .league-list-item:hover .league-list-action { color: var(--f26-red); }

/* ---------- Detalle de una liga: volver, temporada, ligas y jornadas ---------- */
html.f26c .f26-lg .btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 15px 0 12px;
    border: 1px solid var(--f26-line) !important;
    border-radius: var(--f26-pill) !important;
    background: #fff !important;
    color: var(--f26-ink) !important;
    font-family: var(--f26-font);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
html.f26c .f26-lg .btn-outline-secondary:hover { border-color: var(--f26-ink) !important; }
html.f26c .f26-lg .col-12 > .d-flex > span.text-muted.fw-bold.small {
    color: var(--f26-mute) !important;
    font-size: 10.5px;
    font-weight: 800 !important;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-lg .col-12 > .d-flex > .btn-season { height: 32px; padding: 0 13px; }

html.f26c .f26-lg .league-chips-container {
    position: static;
    margin: 2px 0 6px;
    padding: 2px 0 6px;
    background: transparent;
    scrollbar-width: none;
}
html.f26c .f26-lg .league-chips-container::-webkit-scrollbar { display: none; }
html.f26c .f26-lg .league-chips { gap: 8px; }
html.f26c .f26-lg .league-chip {
    max-width: 240px;
    min-height: 40px;
    padding: 6px 14px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-lg .league-chip:hover { border-color: var(--f26-ink); color: var(--f26-ink); }
html.f26c .f26-lg .league-chip.active { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }

html.f26c .f26-lg .rounds-header { gap: 10px 16px; align-items: flex-start; }
html.f26c .f26-lg .rounds-container { gap: 6px; }
html.f26c .f26-lg .btn-round {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-lg .btn-round:hover { border-color: var(--f26-ink); background: #fff; color: var(--f26-ink); }
html.f26c .f26-lg .btn-round.active { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }
/* Excel en dorado, como en el resto de la web */
html.f26c .f26-lg .rounds-header > .btn-success {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: var(--f26-pill) !important;
    background: var(--f26-gold) !important;
    color: var(--f26-ink) !important;
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}
html.f26c .f26-lg .rounds-header > .btn-success:hover { background: var(--f26-ink) !important; color: #fff !important; }

/* ---------- Panel de la liga (rediseño 19-11): nombre, temporada, liga, jornada y división ----------
   Un solo bloque con rótulo negro (como los gráficos de TV) y controles de grupo iguales en todas las filas. */
html.f26c .f26-lg .f26-lgbar {
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .f26-lg .f26-lgbar__head {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 18px 16px;
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-lg .f26-lgbar__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26c .f26-lg .f26-lgbar__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f26-grad-accent); }
html.f26c .f26-lg .f26-lgbar__back {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-family: var(--f26-font);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .f26-lg .f26-lgbar__back:hover { background: rgba(255, 255, 255, .16); }
html.f26c .f26-lg .f26-lgbar__back:focus-visible,
html.f26c .f26-lg .f26-lgbar__xls:focus-visible,
html.f26c .f26-lg .f26-seg__btn:focus-visible { outline: 0; box-shadow: var(--f26-focus); }
html.f26c .f26-lg .f26-lgbar__title { flex: 1 1 auto; min-width: 0; }
html.f26c .f26-lg .f26-lgbar__title h2 {
    margin: 0;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.f26c .f26-lg .f26-lgbar__title p {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin: 4px 0 0;
    color: var(--f26-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-lg .f26-lgbar__upd { color: var(--f26-on-ink-mute); font-weight: 600; letter-spacing: 0; text-transform: none; }
html.f26c .f26-lg .f26-lgbar__xls {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-gold);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-lg .f26-lgbar__xls:hover { background: #fff; }
html.f26c .f26-lg .f26-lgbar__body { display: grid; gap: 10px; padding: 14px 18px 16px; }
html.f26c .f26-lg .f26-lgbar__row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}
html.f26c .f26-lg .f26-lgbar__lbl {
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
/* Control de grupo: carril gris, botones planos y el elegido en negro */
html.f26c .f26-lg .f26-seg {
    display: inline-flex;
    justify-self: start;
    align-items: stretch;
    gap: 2px;
    max-width: 100%;
    padding: 4px;
    border-radius: 12px;
    background: var(--f26-tint);
}
html.f26c .f26-lg .f26-seg--scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
html.f26c .f26-lg .f26-seg--scroll::-webkit-scrollbar { display: none; }
html.f26c .f26-lg .f26-seg__btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-lg .f26-seg__btn:hover { background: #fff; color: var(--f26-ink); }
html.f26c .f26-lg .f26-seg__btn.active { background: var(--f26-ink); color: #fff; box-shadow: 0 2px 6px rgba(28, 28, 34, .18); }
html.f26c .f26-lg .f26-seg__btn--round { flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 12px; text-align: left; }
html.f26c .f26-lg .f26-seg__btn--round b { font-size: 13px; font-weight: 900; }
html.f26c .f26-lg .f26-seg__btn--round small {
    max-width: 170px;
    overflow: hidden;
    color: inherit;
    font-size: 10.5px;
    font-weight: 600;
    opacity: .75;
    text-overflow: ellipsis;
}
html.f26c .f26-lg .f26-seg__btn--round.active b { color: var(--f26-gold); }
html.f26c .f26-lg .f26-seg__empty { padding: 8px 10px; color: var(--f26-mute); font-size: 12.5px; font-weight: 600; }
@media (max-width: 767.98px) {
    html.f26c .f26-lg .f26-lgbar__head { flex-wrap: wrap; padding: 12px 12px 14px; }
    html.f26c .f26-lg .f26-lgbar__title { order: 3; flex-basis: 100%; }
    html.f26c .f26-lg .f26-lgbar__title h2 { font-size: 16px; }
    html.f26c .f26-lg .f26-lgbar__xls { margin-left: auto; height: 34px; padding: 0 12px; font-size: 11px; }
    html.f26c .f26-lg .f26-lgbar__body { gap: 12px; padding: 12px; }
    html.f26c .f26-lg .f26-lgbar__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    /* Liga, jornada y división se deslizan a lo ancho; el carril llega al borde para que se vea que hay más */
    html.f26c .f26-lg .f26-seg--scroll { justify-self: stretch; }
    html.f26c .f26-lg .f26-seg__btn { min-height: 36px; }
}

/* En escritorio, ligas y jornadas caben en dos líneas: mejor que esconder las últimas */
@media (min-width: 768px) {
    html.f26c .f26-lg .f26-seg--scroll { flex-wrap: wrap; overflow: visible; }
}
/* La fila de Bootstrap sobresalía 10 px por la derecha en el móvil */
@media (max-width: 767.98px) {
    html.f26c .f26-lg .principal-container .row { --bs-gutter-x: 0; }
}

/* Clasificación: con una división por fila hay sitio para todas las columnas */
@media (min-width: 768px) {
    html.f26c .f26-lg .featured-card .table .menor-valor-col,
    html.f26c .f26-lg .featured-card .table .ptsjor-col { display: table-cell !important; }
}
@media (max-width: 767.98px) {
    html.f26c .f26-lg .featured-card .table .menor-valor-col { display: none !important; }
    html.f26c .f26-lg .featured-card .table .ptsjor-col { display: table-cell !important; width: 64px !important; }
}

/* ---------- Clasificación por división ---------- */
html.f26c .f26-lg .search-toggle-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 15px;
}
html.f26c .f26-lg .search-toggle-btn:hover,
html.f26c .f26-lg .search-toggle-btn.active { background: var(--f26-ink); color: #fff; }
html.f26c .f26-lg .search-input-inner {
    height: 36px;
    min-width: 170px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
/* el contenedor recorta lo que sobresale: el foco va por dentro */
html.f26c .f26-lg .search-input-inner:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--f26-ink); }
html.f26c .f26-lg .search-input-inner .form-control.search-input {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 600;
}
html.f26c .f26-lg .search-input-inner .form-control.search-input:focus-visible { box-shadow: none !important; }
html.f26c .f26-lg .search-clear-inline { color: var(--f26-mute); }
html.f26c .f26-lg .search-clear-inline:hover { color: var(--f26-red); }

html.f26c .f26-lg .featured-card .table-responsive { padding: 0 16px 16px; }
html.f26c .f26-lg .featured-card .table {
    --bs-table-bg: transparent;
    margin: 0;
    font-family: var(--f26-font);
    font-size: 13px;
}
html.f26c .f26-lg .featured-card .table > thead > tr > th {
    padding: 10px 8px;
    border: 0;
    background: var(--f26-ink);
    box-shadow: inset 0 -3px 0 var(--f26-red);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}
html.f26c .f26-lg .featured-card .table > thead > tr > th:first-child { padding-left: 12px; border-radius: 10px 0 0 0; }
html.f26c .f26-lg .featured-card .table > thead > tr > th:last-child { border-radius: 0 10px 0 0; }
html.f26c .f26-lg .featured-card .table > tbody > tr.league-details {
    margin: 0;
    border: 0;
    background: transparent !important;
}
html.f26c .f26-lg .featured-card .table > tbody > tr > td {
    padding: 8px;
    border: 0;
    border-bottom: 1px solid var(--f26-tint-2);
    background: #fff;
    box-shadow: none;
    vertical-align: middle;
}
html.f26c .f26-lg .featured-card .table > tbody > tr.league-details > td:first-child { padding-left: 12px; }
html.f26c .f26-lg .featured-card .table > tbody > tr.league-details:hover > td { background: #FAFAFC; }
html.f26c .f26-lg .featured-card .table > tbody > tr.table-warning > td { background: var(--f26-gold-soft); }
/* Posición: chapa cuadrada; las tres primeras, en metal */
html.f26c .f26-lg .featured-card .table td > .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 8px;
    background: var(--f26-tint) !important;
    color: var(--f26-ink) !important;
    font-family: var(--f26-font);
    font-size: 13px !important;
    font-weight: 900;
}
html.f26c .f26-lg .featured-card .table td > .badge.badge-gold { background: var(--f26-gold) !important; }
html.f26c .f26-lg .featured-card .table td > .badge.badge-silver { background: var(--f26-silver) !important; }
html.f26c .f26-lg .featured-card .table td > .badge.badge-bronze { background: var(--f26-bronze) !important; }
html.f26c .f26-lg .featured-card .table .club-name-text,
html.f26c .f26-lg .featured-card .table td > .fw-bold.small {
    display: block;
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}
html.f26c .f26-lg mark { padding: 1px 4px; border-radius: 4px; background: var(--f26-gold); color: var(--f26-ink); }
/* Puntos netos: placa blanca con borde negro */
html.f26c .f26-lg .featured-card .table td.pts-col .text-primary,
html.f26c .f26-lg .featured-card .table .club-point {
    display: inline-block;
    min-width: 54px;
    padding: 3px 8px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff;
    color: var(--f26-ink) !important;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
/* Desplegar el detalle: círculo de 32 px (antes solo el icono) */
html.f26c .f26-lg .chevron-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 13px;
    transition: transform .2s ease, background-color .15s ease, color .15s ease;
}
html.f26c .f26-lg .chevron-toggle:hover { background: var(--f26-tint-2); }
html.f26c .f26-lg .chevron-toggle.expanded { background: var(--f26-ink); color: #fff; }

/* Detalle del club: panel gris con filas blancas */
html.f26c .f26-lg .featured-card .table > tbody > tr.club-details-row > td {
    padding: 0;
    background: var(--f26-tint);
}
html.f26c .f26-lg .club-details-content { padding: 14px 12px 16px; }
html.f26c .f26-lg .club-details-content .more-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    padding: 0 2px;
    background: transparent;
    color: var(--f26-mute);
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-lg .club-details-content .more-info > .fw-bold { font-weight: 800 !important; }
html.f26c .f26-lg .club-details-content .more-info.mt-3 { margin-top: 18px !important; }
html.f26c .f26-lg .club-details-content .resume-event { gap: 6px; }
html.f26c .f26-lg .info-back.info-back-color {
    gap: 10px;
    padding: 8px 8px 8px 12px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 600;
}
html.f26c .f26-lg .club-details-content .info-back > .badge {
    flex: none;
    min-width: 52px;
    padding: 3px 8px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff !important;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px !important;
    font-weight: 900;
}
html.f26c .f26-lg .club-details-content .chart-container { margin-top: 4px; border-radius: 10px; background: #fff; }

/* ---------- Estadísticas de la jornada ---------- */
html.f26c .f26-lg .statistics-container { padding: 4px 16px 0; }
html.f26c .f26-lg .statistics-container > .info-back.info-back-color {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-lg .statistics-container > .info-back::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26c .f26-lg .statistics-container > .info-back > span:first-child {
    color: var(--f26-gold);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-lg .statistics-container > .info-back > span:last-child { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-lg .comparatives-container,
html.f26c .f26-lg .evolution-container { padding: 18px 16px 4px; }
html.f26c .f26-lg .evolution-container { padding-bottom: 18px; }
html.f26c .f26-lg .comparatives-header > .fw-bold,
html.f26c .f26-lg .evolution-header > .fw-bold {
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 900 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .f26-lg .evolution-header > .fw-bold > i { display: none; }
html.f26c .f26-lg .evolution-container .chart-container { background: none; }

/* Top 5: barras con los metales de la marca y cifras en placa */
html.f26c .f26-lg .top5-bar-chart { gap: 8px; padding: 8px 0 0; background: transparent; }
html.f26c .f26-lg .top5-bar-row { gap: 10px; }
html.f26c .f26-lg .top5-bar-rank {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 13px;
    font-weight: 900;
}
html.f26c .f26-lg .top5-bar-row:nth-child(1) .top5-bar-rank { background: var(--f26-gold); }
html.f26c .f26-lg .top5-bar-row:nth-child(2) .top5-bar-rank { background: var(--f26-silver); }
html.f26c .f26-lg .top5-bar-row:nth-child(3) .top5-bar-rank { background: var(--f26-bronze); }
html.f26c .f26-lg .top5-bar-track { height: 40px; border-radius: 10px; background: var(--f26-tint); box-shadow: none; }
html.f26c .f26-lg .top5-bar-fill {
    padding-left: 8px;
    border-radius: 10px;
    background-color: var(--f26-ink-3) !important;
    box-shadow: none;
}
html.f26c .f26-lg .top5-bar-fill::after { display: none; }
html.f26c .f26-lg .top5-bar-row:nth-child(1) .top5-bar-fill { background-color: var(--f26-gold) !important; }
html.f26c .f26-lg .top5-bar-row:nth-child(2) .top5-bar-fill { background-color: var(--f26-silver) !important; }
html.f26c .f26-lg .top5-bar-row:nth-child(3) .top5-bar-fill { background-color: var(--f26-bronze) !important; }
html.f26c .f26-lg .top5-bar-label {
    padding: 3px 8px;
    border-radius: 6px;
    background: #fff;
    color: var(--f26-ink);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: none;
}
html.f26c .f26-lg .top5-bar-value {
    min-width: 56px;
    padding: 3px 8px;
    border: 1.5px solid var(--f26-ink);
    border-radius: 8px;
    background: #fff;
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

/* ---------- Anchos ---------- */
/* Por debajo de 1460 px las dos tarjetas de cada grupo van una debajo de otra: sin alturas mínimas
   pensadas para ir lado a lado (dejaban hueco y estiraban la gráfica hasta 570 px en el móvil). */
@media (max-width: 1459.98px) {
    html.f26c .f26-lg .featured-card.league-card-height,
    html.f26c .f26-lg .featured-card.league-card-height .data-container { min-height: 0; }
    html.f26c .f26-lg .data-container > .chart-container { flex: none; height: 320px !important; min-height: 0; padding: 0; }
}

@media (min-width: 992px) {
    /* en escritorio caben todas: se reparten en varias filas */
    html.f26c .f26-lg .league-chips { flex-wrap: wrap; min-width: 0; }
}

@media (max-width: 991.98px) {
    html.f26c .f26-lg .league-list { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    html.f26c .f26-lg { gap: 12px; }
    html.f26c .f26-lg .buttons-options { align-self: stretch; }
    html.f26c .f26-lg .btn-option { flex: 1 1 0; height: 44px; padding: 0 12px; }
    html.f26c .f26-lg .btn-season { height: 36px; }

    html.f26c .f26-lg .leagues-header,
    html.f26c .f26-lg .header-ftc { padding: 14px 14px 10px; }
    html.f26c .f26-lg .leagues-header h3,
    html.f26c .f26-lg .header-title { font-size: 14px; }
    html.f26c .f26-lg .divider { margin: 0 14px; }
    html.f26c .f26-lg .data-container { padding: 12px 14px 14px; }
    html.f26c .f26-lg .leagues-grid { gap: 18px; }
    html.f26c .f26-lg .stat-value { font-size: 18px; }
    html.f26c .f26-lg .club-item > .badge { min-width: 64px; font-size: 12.5px !important; }
    html.f26c .f26-lg .data-container > .chart-container { height: 420px !important; }

    /* Listado: el número de jornadas pasa debajo del nombre (antes desaparecía) */
    html.f26c .f26-lg .league-list-item {
        grid-template-columns: 40px minmax(0, 1fr) 16px;
        grid-template-areas: "icon info action" "icon meta action";
        gap: 4px 12px;
        padding: 12px 14px;
    }
    html.f26c .f26-lg .league-list-icon { grid-area: icon; width: 40px; height: 40px; }
    html.f26c .f26-lg .league-list-info { grid-area: info; }
    html.f26c .f26-lg .league-list-meta { grid-area: meta; display: block; font-size: 11.5px; }
    html.f26c .f26-lg .league-list-action { grid-area: action; }
    html.f26c .f26-lg .league-list-name { font-size: 13.5px; }

    /* Ligas y jornadas: una fila deslizable de borde a borde (antes cinco filas de botones) */
    html.f26c .f26-lg .league-chips-container,
    html.f26c .f26-lg .rounds-container {
        margin-left: calc(-1 * var(--f26-gutter));
        margin-right: calc(-1 * var(--f26-gutter));
        padding-left: var(--f26-gutter);
        padding-right: var(--f26-gutter);
        scroll-padding: 0 var(--f26-gutter);
    }
    html.f26c .f26-lg .league-chip { max-width: 200px; min-height: 44px; font-size: 11.5px; }
    html.f26c .f26-lg .rounds-header { align-items: stretch; }
    html.f26c .f26-lg .rounds-container {
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    html.f26c .f26-lg .rounds-container::-webkit-scrollbar { display: none; }
    html.f26c .f26-lg .btn-round { flex: none; min-height: 40px; padding: 0 14px; font-size: 12px; }
    html.f26c .f26-lg .rounds-header > .btn-success { height: 44px; }
    html.f26c .f26-lg .league-chips-container.f26-tabs-more,
    html.f26c .f26-lg .rounds-container.f26-tabs-more {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    }
    html.f26c .f26-lg .league-chips-container.f26-tabs-scrolled,
    html.f26c .f26-lg .rounds-container.f26-tabs-scrolled {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px);
        mask-image: linear-gradient(90deg, transparent, #000 40px);
    }
    html.f26c .f26-lg .league-chips-container.f26-tabs-scrolled.f26-tabs-more,
    html.f26c .f26-lg .rounds-container.f26-tabs-scrolled.f26-tabs-more {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    }

    html.f26c .f26-lg .featured-card .table-responsive { padding: 0 10px 12px; }
    html.f26c .f26-lg .featured-card .table > thead > tr > th { padding: 9px 6px; font-size: 10px; }
    html.f26c .f26-lg .featured-card .table > thead > tr > th:first-child { padding-left: 8px; }
    html.f26c .f26-lg .featured-card .table > tbody > tr > td { padding: 7px 5px; }
    html.f26c .f26-lg .featured-card .table > tbody > tr.league-details > td:first-child { padding-left: 8px; }
    html.f26c .f26-lg .featured-card .table td > .badge { min-width: 28px; height: 28px; font-size: 12px !important; }
    html.f26c .f26-lg .featured-card .table .club-name-text,
    html.f26c .f26-lg .featured-card .table td > .fw-bold.small { font-size: 11.5px; }
    html.f26c .f26-lg .featured-card .table td.pts-col .text-primary,
    html.f26c .f26-lg .featured-card .table .club-point { min-width: 46px; padding: 3px 6px; font-size: 13px; }
    html.f26c .f26-lg .featured-card .table > tbody > tr.club-details-row > td { padding: 0; }
    html.f26c .f26-lg .club-details-content { padding: 12px 8px 14px; }

    html.f26c .f26-lg .statistics-container { padding: 2px 12px 0; }
    html.f26c .f26-lg .comparatives-container,
    html.f26c .f26-lg .evolution-container { padding: 16px 12px 4px; }
    html.f26c .f26-lg .evolution-container { padding-bottom: 14px; }
    html.f26c .f26-lg .top5-bar-track { height: 36px; }
    html.f26c .f26-lg .top5-bar-value { min-width: 48px; font-size: 13px; }
}

/* =====================================================================
   FAVORITOS (/favorites: .fav-page)
   ===================================================================== */
/* el contenedor de la página ya lleva el margen lateral de la web: sin doble margen */
html.f26c .f26-favc { margin-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
html.f26c .fav-page { gap: 14px; }
html.f26c .fav-page .fav-intro { color: var(--f26-text-2); font-size: 13px; font-weight: 500; }

html.f26c .fav-page .fav-card {
    padding: 18px 20px;
    border: 0;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .fav-page .fav-card-head { gap: 10px; margin-bottom: 6px; }
html.f26c .fav-page .fav-bar { width: 4px; height: 18px; border-radius: 2px; background: var(--f26-red); }
html.f26c .fav-page .fav-card-title {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .fav-page .fav-card-count {
    padding: 3px 10px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 11px;
    font-weight: 800;
}
html.f26c .fav-page .fav-card-sub { margin: 0 0 14px 14px; color: var(--f26-mute); font-size: 12px; font-weight: 500; }

/* Pestañas y filtro: píldoras, la elegida en negro */
html.f26c .fav-page .fav-tab,
html.f26c .fav-page .fav-chip {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .fav-page .fav-chip { height: 44px; }
html.f26c .fav-page .fav-tab:hover,
html.f26c .fav-page .fav-chip:hover { border-color: var(--f26-ink); background: #fff; color: var(--f26-ink); }
html.f26c .fav-page .fav-tab.on,
html.f26c .fav-page .fav-chip.on { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }
html.f26c .fav-page .fav-tab-n { opacity: 1; color: var(--f26-mute); font-weight: 900; }
html.f26c .fav-page .fav-tab.on .fav-tab-n { color: var(--f26-gold); }

/* Buscadores: píldora gris que se aclara al enfocar (como en Rankings) */
html.f26c .fav-page .fav-search {
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .fav-page .fav-search:focus-within { background: #fff; box-shadow: var(--f26-focus); }
html.f26c .fav-page .fav-search input {
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .fav-page .fav-search input::placeholder { color: var(--f26-mute); font-weight: 500; }
html.f26c .fav-page .fav-search input:focus-visible { box-shadow: none !important; }
html.f26c .fav-page .fav-search-ico { color: var(--f26-mute); font-size: 13px; }

/* Grupos (tipo de favorito y mes) */
html.f26c .fav-page .fav-group { padding: 16px 0 6px; }
html.f26c .fav-page .fav-group-label { color: var(--f26-red-dk); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; }
html.f26c .fav-page .fav-group-line { background: var(--f26-line); }

/* Filas */
html.f26c .fav-page .fav-row,
html.f26c .fav-page .fav-ev { border-bottom: 1px solid var(--f26-tint-2); }
html.f26c .fav-page .fav-row:last-child,
html.f26c .fav-page .fav-ev:last-child { border-bottom: 0; }
html.f26c .fav-page .fav-name { color: var(--f26-ink); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
html.f26c .fav-page .fav-meta { color: var(--f26-mute); font-size: 12px; font-weight: 500; }
html.f26c .fav-page .fav-meta i { color: var(--f26-red); }
html.f26c .fav-page .fav-flag { border-radius: 4px; box-shadow: 0 0 0 1px var(--f26-line); }
html.f26c .fav-page .fav-star { border-radius: 50%; }
html.f26c .fav-page .fav-star:hover { background: var(--f26-tint); transform: none; }
html.f26c .fav-page .fav-star i { font-size: 17px; }
html.f26c .fav-page .fav-star .fas.fa-star { color: var(--f26-gold); }
html.f26c .fav-page .fav-star .far.fa-star { color: var(--f26-mute-2); }
html.f26c .fav-page .fav-star:hover .far.fa-star { color: var(--f26-ink); }

/* Fecha del evento: chapa negra con el mes en dorado; en dorado si está entre tus favoritos */
html.f26c .fav-page .fav-date {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 46px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--f26-ink);
}
html.f26c .fav-page .fav-date::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26c .fav-page .fav-date-d { color: #fff; font-size: 17px; font-weight: 900; }
html.f26c .fav-page .fav-date-m { color: var(--f26-gold); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; }
html.f26c .fav-page .fav-ev.on .fav-date { background: var(--f26-gold); }
html.f26c .fav-page .fav-ev.on .fav-date::before { display: none; }
html.f26c .fav-page .fav-ev.on .fav-date-d,
html.f26c .fav-page .fav-ev.on .fav-date-m { color: var(--f26-ink); }

/* Federaciones: las que sigues, con borde dorado */
html.f26c .fav-page .fav-fed {
    border: 1px solid var(--f26-line);
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
html.f26c .fav-page .fav-fed:hover { border-color: var(--f26-ink); background: #fff; }
html.f26c .fav-page .fav-fed.on {
    border-color: var(--f26-gold);
    background: var(--f26-gold-soft);
    box-shadow: inset 0 0 0 1px var(--f26-gold);
}
html.f26c .fav-page .fav-fed-flag { border: 0; border-radius: 4px; box-shadow: 0 0 0 1px var(--f26-line); opacity: .6; }
html.f26c .fav-page .fav-fed-name { color: var(--f26-text-2); font-size: 12.5px; font-weight: 600; }
html.f26c .fav-page .fav-fed.on .fav-fed-name { color: var(--f26-ink); font-weight: 800; }
html.f26c .fav-page .fav-fed-star { color: var(--f26-gold-dk); font-size: 12px; }

/* Paginación de eventos */
html.f26c .fav-page .fav-foot { border-top: 1px solid var(--f26-tint-2); }
html.f26c .fav-page .fav-foot-range { color: var(--f26-mute); font-size: 12px; font-weight: 700; }
html.f26c .fav-page .fav-foot-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 12px;
}
html.f26c .fav-page .fav-foot-btn:hover:not(:disabled) { background: var(--f26-ink); color: #fff; }

html.f26c .fav-page .fav-placeholder { color: var(--f26-mute); font-size: 13px; }
html.f26c .fav-page .fav-placeholder-ico { color: var(--f26-mute-2); font-size: 28px; }

@media (min-width: 992px) {
    /* Las listas con tope de alto se desplazan por dentro en vez de recortar (antes los resultados
       de la búsqueda de deportistas y clubes y la última fila de federaciones no se podían ver) */
    html.f26c .fav-page .fav-events-body,
    html.f26c .fav-page .fav-card--federations .fav-fed-grid,
    html.f26c .fav-page .fav-browse-body {
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--f26-line) transparent;
    }
    /* La fecha y el lugar del evento iban pegados ("Abu Dhabi17 de noviembre") */
    html.f26c .fav-page .fav-events-body .fav-meta { display: flex; flex-wrap: nowrap; gap: 10px; }
    html.f26c .fav-page .fav-events-body .fav-meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    html.f26c .fav-page .fav-events-body .fav-meta > span:first-child { flex: none; max-width: 50%; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    /* tres columnas de federaciones: hace falta algo más de alto para que quepan todas */
    html.f26c .fav-page .fav-cols { --fav-row2-h: 580px; }
}

@media (max-width: 991.98px) {
    /* En móvil la búsqueda de deportistas y clubes sube y las federaciones pasan al final:
       antes había que bajar más de dos pantallas para llegar al buscador. */
    html.f26c .fav-page .fav-card--mine { order: 1; }
    html.f26c .fav-page .fav-card--browse { order: 2; }
    html.f26c .fav-page .fav-card--events { order: 3; }
    html.f26c .fav-page .fav-card--federations { order: 4; }
}
@media (max-width: 767.98px) {
    html.f26c .fav-page .fav-card { padding: 16px 14px; }
    html.f26c .fav-page .fav-card-sub { margin-left: 14px; }
    html.f26c .fav-page .fav-tab { height: 40px; }
    html.f26c .fav-page .fav-name { font-size: 13px; }
    html.f26c .fav-page .fav-ev { gap: 12px; }
}

/* ==========================================================================
   Móvil (≤ 575 px): paddings al mínimo
   Las tarjetas van a 8 px del borde (--f26-gutter) y los rellenos grandes (16-22 px) bajan a 12 px:
   el texto queda a unos 20 px del borde en lugar de 30-40 px. Los de 14 px se mantienen para que
   cabeceras y filas de una misma tarjeta sigan alineadas.
   ========================================================================== */
@media (max-width: 575.98px) {
    html.f26c main .card-body { padding-left: 12px; padding-right: 12px; }

    /* Inicio */
    html.f26c .dashboard-container .section-header { padding-left: 12px !important; }
    html.f26c .dashboard-container .card-body,
    html.f26c .dashboard-container .championship-header,
    html.f26c .dashboard-container .rk-footer { padding-left: 12px !important; padding-right: 12px !important; }

    /* Ficha del evento */
    html.f26c .f26-ev .card.p-4,
    html.f26c .f26-ev .card.p-3,
    html.f26c .f26-ev .inscription-countdown-card { padding-left: 12px !important; padding-right: 12px !important; }

    /* Deportistas y ficha de deportista */
    html.f26c .f26-ath .filters-card-header { padding-left: 12px; padding-right: 12px; }
    html.f26c .f26-athp .ath-profile-info { padding-left: 12px; padding-right: 12px; }
    html.f26c .f26-athp .alert { padding-left: 12px; padding-right: 12px; }
}

/* ==========================================================================
   Filtros del calendario (Pages/FilterCalendar.razor, diálogo «filter-dialog»): grafismo de TV. Cabecera oscura con
   la franja roja y dorada, cada grupo con su caja oscura e icono, opciones como pastillas (la elegida en dorado con
   su marca) y pie con «Aplicar» en rojo. En el móvil, hoja que ocupa casi toda la pantalla.
   ========================================================================== */
html.f26c .rz-dialog-wrapper div.rz-dialog.filter-dialog {
    width: min(880px, calc(100% - 32px)) !important;
    max-width: min(880px, calc(100% - 32px)) !important;
    border-radius: 16px !important;
    font-family: var(--f26-font);
}
html.f26c .filter-dialog .filter-calendar { font-family: var(--f26-font); color: var(--f26-ink); }
html.f26c .filter-dialog .fc-head {
    position: relative;
    isolation: isolate;
    padding: 16px 18px 18px;
    background: var(--f26-ink);
}
html.f26c .filter-dialog .fc-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26c .filter-dialog .fc-head::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, var(--f26-red) 0 70%, var(--f26-gold) 70% 100%);
}
html.f26c .filter-dialog .fc-head-txt h4 { font-size: 17px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .filter-dialog .fc-sub { margin-top: 4px; color: var(--f26-gold); font-size: 12px; font-weight: 700; }
html.f26c .filter-dialog .fc-close { width: 36px; height: 36px; background: rgba(255, 255, 255, .12); }
html.f26c .filter-dialog .fc-close:hover { background: var(--f26-red); }
html.f26c .filter-dialog .fc-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

html.f26c .filter-dialog .filter-calendar > .card-body { padding: 14px 18px 6px; background: #F6F6F8; }
/* cada grupo es una tarjeta blanca: la caja oscura con el icono a la izquierda y las opciones debajo del título */
html.f26c .filter-dialog .filter-section {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 12px;
    margin-bottom: 10px;
    padding: 12px 14px 14px 12px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(28, 28, 34, .06), inset 0 0 0 1px #ECECF0;
}
html.f26c .filter-dialog .filter-section:not(.off) { box-shadow: 0 1px 2px rgba(28, 28, 34, .06), inset 4px 0 0 var(--f26-gold), inset 0 0 0 1px #ECECF0; }
html.f26c .filter-dialog .fc-rail { position: static; flex: none; }
html.f26c .filter-dialog .fc-line { display: none; }
html.f26c .filter-dialog .fc-node,
html.f26c .filter-dialog .fc-node.off {
    position: static;
    width: 38px; height: 38px;
    border: 0; border-radius: 9px;
    background: var(--f26-ink); color: var(--f26-gold);
    font-size: 15px;
    box-shadow: none;
}
html.f26c .filter-dialog .fc-node.off { background: #2E2E36; color: #9A9AA8; }
html.f26c .filter-dialog .fc-body { padding: 0; }
html.f26c .filter-dialog .filter-section h5 {
    min-height: 38px; padding: 0; border: 0;
    color: var(--f26-ink); font-size: 13px !important; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
html.f26c .filter-dialog .filter-section.off h5 { color: #4A4A55; }
html.f26c .filter-dialog .fc-count { min-width: 22px; height: 22px; padding: 0 7px; background: var(--f26-gold); color: var(--f26-ink); font-size: 12px; font-weight: 900; }
html.f26c .filter-dialog .fc-indiv,
html.f26c .filter-dialog .filter-calendar .btn-outline-primary {
    height: 30px; border: 0; border-radius: 999px; background: #F1F2F5; color: var(--f26-ink);
    font-size: 12px; font-weight: 800;
}
html.f26c .filter-dialog .filter-calendar .btn-outline-primary:hover { background: var(--f26-ink); color: #fff; }
html.f26c .filter-dialog .filter-chips { gap: 6px; margin-top: 8px; }
html.f26c .filter-dialog .filter-chip {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 34px; padding: 7px 14px;
    border: 0; border-radius: 999px;
    background: #F1F2F5; color: var(--f26-ink);
    font-size: 13px; font-weight: 700; line-height: 1.15;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
    user-select: none;
}
html.f26c .filter-dialog .filter-chip:hover { background: #E4E6EC; }
html.f26c .filter-dialog .filter-chip.active {
    background: var(--f26-gold); color: var(--f26-ink); font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(28, 28, 34, .12);
}
html.f26c .filter-dialog .filter-chip.active::before {
    content: "\f00c"; font: 900 11px/1 "Font Awesome 6 Free";
}
html.f26c .filter-dialog .filter-calendar .alert-info {
    margin: 4px 0 10px; padding: 10px 12px;
    border: 0; border-radius: 10px;
    background: #fff; box-shadow: inset 4px 0 0 var(--f26-red), inset 0 0 0 1px #ECECF0;
    color: var(--f26-ink); font-size: 12.5px;
}
html.f26c .filter-dialog .filter-calendar .alert-info .fa-info-circle { color: var(--f26-red); }
html.f26c .filter-dialog .selected-year { margin-top: 4px !important; }

html.f26c .filter-dialog .fc-foot { padding: 12px 18px; border-top: 1px solid #ECECF0; background: #fff; }
html.f26c .filter-dialog .fc-foot .btn { height: 40px; border-radius: 999px; font-family: var(--f26-font); font-weight: 800; }
html.f26c .filter-dialog .fc-foot .btn-outline-secondary { padding: 0 16px; border: 1.5px solid var(--f26-ink); color: var(--f26-ink); background: #fff; }
html.f26c .filter-dialog .fc-foot .btn-outline-secondary:hover { background: var(--f26-ink); color: #fff; }
html.f26c .filter-dialog .fc-foot .fc-reset { border: 0; color: #5A5A66; background: transparent; }
html.f26c .filter-dialog .fc-foot .fc-reset:hover { color: var(--f26-red); background: transparent; }
html.f26c .filter-dialog .fc-foot .btn-primary { padding: 0 18px; border: 0; background: var(--f26-red); color: #fff; box-shadow: 0 4px 12px rgba(207, 18, 47, .3); }
html.f26c .filter-dialog .fc-foot .btn-primary:hover { background: #B50F28; }

@media (max-width: 768px) {
    html.f26c .rz-dialog-wrapper div.rz-dialog.filter-dialog {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        max-height: calc(100dvh - 24px) !important;
    }
    html.f26c .filter-dialog .filter-calendar > .card-body { padding: 10px 10px 4px; }
    html.f26c .filter-dialog .filter-section { grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; padding: 10px 10px 12px; }
    html.f26c .filter-dialog .fc-node, html.f26c .filter-dialog .fc-node.off { width: 32px; height: 32px; font-size: 13px; }
    html.f26c .filter-dialog .filter-section h5 { min-height: 32px; font-size: 12px !important; }
    html.f26c .filter-dialog .filter-chip { min-height: 32px; padding: 6px 12px; font-size: 12.5px; }
    html.f26c .filter-dialog .fc-foot { padding: 10px 12px; }
}

/* ==========================================================================
   LIGAS (MAP, 24-11): tablas con el grafismo de TV, compartir y animación por jornadas
   - Cabecera de cada división en negro con textura y los botones «Compartir» (jornada y clasificación / final).
   - Filas: puesto en caja oscura (metal en el podio, con filo del metal a la izquierda), ▲▼ respecto a la jornada
     anterior, bandera de la federación del club, nombre con la barra de puntos respecto al líder, menor valor en
     pastilla gris, puntos de la jornada en verde (el mejor de la jornada en dorado) y puntos netos en rojo.
   - .f26-lgrace: la animación (F26RkEvoRace con League) dentro de su tarjeta.
   ========================================================================== */
html.f26c .f26-lg .f26-lgdiv .header-ftc {
    position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 16px;
    background: var(--f26-tex) 0 0 / 260px auto, var(--f26-ink); box-shadow: inset 0 -3px 0 var(--f26-red);
}
html.f26c .f26-lg .f26-lgdiv .header-title { flex: 1 1 auto; color: #fff; font-size: 17px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
html.f26c .f26-lg .f26-lgdiv .header-title i { display: none; }
html.f26c .f26-lg .f26-lgdiv .header-title::before { background: var(--f26-gold); }
html.f26c .f26-lg .f26-lgdiv > .divider { display: none; }
html.f26c .f26-lg .f26-lgdiv .search-toggle-btn { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: transparent !important; }
html.f26c .f26-lg .f26-lgdiv .search-toggle-btn:hover, html.f26c .f26-lg .f26-lgdiv .search-toggle-btn.active { background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .f26-lg .f26-lgdiv .table-responsive { padding: 12px 16px 16px; }
html.f26c .f26-lgshare { display: flex; gap: 6px; flex: 0 0 auto; }
html.f26c .f26-lgshare__b {
    display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: #fff; font-family: var(--f26-font); font-size: 12px; font-weight: 800; white-space: nowrap; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-lgshare__b:hover { background: #fff; color: var(--f26-ink); }
html.f26c .f26-lgshare__b.is-final { background: var(--f26-gold); color: var(--f26-ink); box-shadow: none; }
html.f26c .f26-lgshare__b.is-final:hover { background: #fff; }
html.f26c .f26-lgshare__b:focus-visible { outline: 3px solid var(--f26-gold); outline-offset: 2px; }

/* Filas */
html.f26c .f26-lg .f26-lgdiv .table > tbody > tr.league-details > td { padding-top: 7px; padding-bottom: 7px; }
html.f26c .f26-lg .f26-lgdiv .table td > .badge { min-width: 34px; height: 34px; border-radius: 6px; background: var(--f26-ink) !important; color: #fff !important; font-size: 14px !important; }
html.f26c .f26-lg .f26-lgdiv .table td > .badge.badge-gold { background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .f26-lg .f26-lgdiv .table td > .badge.badge-silver { background: var(--f26-silver) !important; color: var(--f26-ink) !important; }
html.f26c .f26-lg .f26-lgdiv .table td > .badge.badge-bronze { background: var(--f26-bronze) !important; color: #fff !important; }
html.f26c .f26-lg .f26-lgdiv .table > tbody > tr.is-p1 > td:first-child { box-shadow: inset 4px 0 0 var(--f26-gold); }
html.f26c .f26-lg .f26-lgdiv .table > tbody > tr.is-p2 > td:first-child { box-shadow: inset 4px 0 0 var(--f26-silver); }
html.f26c .f26-lg .f26-lgdiv .table > tbody > tr.is-p3 > td:first-child { box-shadow: inset 4px 0 0 var(--f26-bronze); }
html.f26c .f26-lg .f26-lgdiv .table > tbody > tr.is-p1 > td { background: #FFF8E4; }
html.f26c .f26-lg .f26-seg__btn > i { margin-right: 6px; font-size: .92em; }
html.f26c .f26-lgc { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.f26c .f26-lgc__mv { flex: 0 0 30px; color: #9A9AA5; font-size: 11px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .f26-lgc__mv.up { color: #15803D; }
html.f26c .f26-lgc__mv.down { color: var(--f26-red); }
html.f26c .f26-lgc__mv.is-new { color: var(--f26-gold); font-size: 16px; line-height: 1; }
html.f26c .f26-lgc__flg {
    position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 24px; overflow: hidden; border-radius: 4px;
    background: var(--f26-ink); color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .02em; box-shadow: 0 0 0 1px rgba(28, 28, 34, .12);
}
html.f26c .f26-lgc__flg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.f26c .f26-lgc__main { display: grid; gap: 5px; min-width: 0; flex: 1 1 auto; }
html.f26c .f26-lgc__main .club-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-lgc__bar { display: block; height: 4px; max-width: 360px; border-radius: 2px; background: var(--f26-tint-2); overflow: hidden; }
html.f26c .f26-lgc__bar > span { display: block; width: calc(var(--w, 0) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--f26-red), #E94B35 70%, var(--f26-gold)); }
html.f26c .f26-lg .f26-lgdiv .table td.menor-valor-col .text-danger {
    display: inline-block; min-width: 40px; padding: 3px 8px; border-radius: 6px; background: var(--f26-tint); color: #6B6A73 !important; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums;
}
html.f26c .f26-lgpj {
    display: inline-block; min-width: 46px; padding: 3px 8px; border-radius: 6px; background: rgba(21, 128, 61, .1); color: #15803D;
    font-size: 12.5px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums;
}
html.f26c .f26-lgpj.is-best { background: var(--f26-gold); color: var(--f26-ink); box-shadow: 0 2px 8px rgba(253, 185, 19, .4); }
html.f26c .f26-lg .f26-lgdiv .table td.pts-col .text-primary { border: 0; background: var(--f26-red); color: #fff !important; min-width: 58px; padding: 5px 10px; border-radius: 6px; }
html.f26c .f26-lg .f26-lgdiv .table > tbody > tr.is-p1 td.pts-col .text-primary { background: var(--f26-ink); color: var(--f26-gold) !important; }
@media (max-width: 767.98px) {
    html.f26c .f26-lg .f26-lgdiv .header-ftc { padding: 12px 12px; gap: 8px; }
    html.f26c .f26-lg .f26-lgdiv .header-title { font-size: 15px; }
    html.f26c .f26-lgshare { order: 3; flex: 1 1 100%; }
    html.f26c .f26-lgshare__b { flex: 1 1 0; justify-content: center; min-height: 32px; padding: 0 10px; font-size: 11.5px; }
    html.f26c .f26-lg .f26-lgdiv .table-responsive { padding: 8px 8px 12px; }
    html.f26c .f26-lgc { gap: 6px; }
    html.f26c .f26-lgc__main .club-name-text { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: 11px !important; line-height: 1.2 !important; }
    html.f26c .f26-lg .f26-lgdiv .table .chevron-toggle { width: 28px; height: 28px; }
    html.f26c .f26-lg .f26-lgdiv .table > tbody > tr > td { padding-left: 4px; padding-right: 4px; }
    html.f26c .f26-lgc__mv { flex-basis: 22px; font-size: 10px; }
    html.f26c .f26-lgc__flg { width: 26px; height: 18px; font-size: 7px; }
    html.f26c .f26-lg .f26-lgdiv .table td > .badge { min-width: 28px; height: 28px; font-size: 12px !important; }
    html.f26c .f26-lgpj { min-width: 38px; padding: 3px 5px; font-size: 11px; }
    html.f26c .f26-lg .f26-lgdiv .table td.pts-col .text-primary { min-width: 44px; padding: 4px 6px; }
}

/* Animación por jornadas */
html.f26c .f26-lgrace { overflow: hidden; border-radius: var(--f26-r); background: #fff; box-shadow: var(--f26-shadow-1); }
html.f26c .f26-lgrace__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 16px; background: var(--f26-tex) 0 0 / 260px auto, var(--f26-ink); box-shadow: inset 0 -3px 0 var(--f26-red); }
html.f26c .f26-lgrace__k { color: var(--f26-gold); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
html.f26c .f26-lgrace__h { order: -1; margin: 0; color: #fff; font-size: 17px; font-weight: 900; text-transform: uppercase; }
html.f26c .f26-lgrace > .rkev-race { padding: 14px 16px 16px; }
html.f26c .f26-lgrace__empty { margin: 0; padding: 24px 16px; color: var(--f26-mute); }
html.f26c .rkev-ph--flag { background: var(--f26-ink); color: #fff; }
html.f26c .rkev-ph--flag img { object-fit: cover; object-position: 50% 50%; }
html.f26c .rkev-date__note { padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 767.98px) {
    html.f26c .f26-lgrace > .rkev-race { padding: 10px 8px 12px; }
}

/* ---------- Ligas: gráficas (Components/F26/F26LeagueCharts.razor; MAP, 24-11) ----------
   Cabecera oscura con la división y cuántos clubes; los clubes como botones para resaltar uno en las tres gráficas;
   evolución (puntos o puesto) con el nombre al final de cada línea; debajo, la araña y las barras apiladas (lado a
   lado desde 1200 px). */
html.f26c .f26-lch { --lch-h: 300px; overflow: hidden; border-radius: var(--f26-r); background: #fff; box-shadow: var(--f26-shadow-1); font-family: var(--f26-font); }
html.f26c .f26-lch__head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px;
    background: var(--f26-tex) 0 0 / 260px auto, var(--f26-ink); box-shadow: inset 0 -3px 0 var(--f26-red); color: #fff;
}
html.f26c .f26-lch__titles { display: grid; gap: 2px; min-width: 0; }
html.f26c .f26-lch__k { color: var(--f26-gold); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
html.f26c .f26-lch__h { margin: 0; color: #fff; font-size: 17px; font-weight: 900; text-transform: uppercase; }
html.f26c .f26-lch__ctrls { display: flex; flex-wrap: wrap; gap: 8px; }
html.f26c .f26-lch__seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--f26-pill); background: rgba(255, 255, 255, .12); }
html.f26c .f26-lch__seg button {
    min-height: 30px; padding: 0 12px; border: 0; border-radius: var(--f26-pill); background: transparent; color: #fff;
    font: 800 12px/1 var(--f26-font); cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-lch__seg button:hover { background: rgba(255, 255, 255, .14); }
html.f26c .f26-lch__seg button.is-on { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-lch__seg button:focus-visible { outline: 2px solid var(--f26-gold); outline-offset: 2px; }
html.f26c .f26-lch__seg--s { background: var(--f26-tint); }
html.f26c .f26-lch__seg--s button { color: var(--f26-text-2); }
html.f26c .f26-lch__seg--s button:hover { background: #fff; }
html.f26c .f26-lch__seg--s button.is-on { background: var(--f26-ink); color: #fff; }

html.f26c .f26-lch__legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 16px 4px; list-style: none; }
html.f26c .f26-lch__chip {
    --c: var(--f26-red);
    display: inline-flex; align-items: center; gap: 6px; max-width: 260px; min-height: 30px; padding: 0 10px 0 3px;
    border: 0; border-radius: 6px; background: var(--f26-tint); color: var(--f26-ink); box-shadow: inset 3px 0 0 var(--c);
    font: 800 11.5px/1.1 var(--f26-font); text-transform: uppercase; cursor: pointer; transition: background-color .15s ease;
}
html.f26c .f26-lch__chip b { display: grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: 4px; background: var(--c); color: #fff; font-size: 11px; }
html.f26c .f26-lch__chip img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
html.f26c .f26-lch__chip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html.f26c .f26-lch__chip:hover, html.f26c .f26-lch__chip.is-on { background: #fff; box-shadow: inset 3px 0 0 var(--c), 0 0 0 2px var(--c); }
html.f26c .f26-lch__chip[aria-pressed="true"] { background: var(--c); color: var(--on, #fff); }
html.f26c .f26-lch__chip[aria-pressed="true"] b { background: #fff; color: var(--f26-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
html.f26c .f26-lch__chip:focus-visible { outline: 2px solid var(--f26-ink); outline-offset: 2px; }

html.f26c .f26-lch__card { margin: 12px 16px 16px; padding: 14px 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #E3E5EA; }
html.f26c .f26-lch__cardhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
html.f26c .f26-lch__t { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--f26-ink); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
html.f26c .f26-lch__t i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--f26-ink); color: var(--f26-gold); font-size: 13px; }
html.f26c .f26-lch__cap, html.f26c .f26-lch__note { margin: 0 0 8px; color: var(--f26-mute); font-size: 12px; font-weight: 600; line-height: 1.4; }
html.f26c .f26-lch__note { margin: 10px 0 0; }
html.f26c .f26-lch__empty { margin: 0; padding: 18px 0; color: var(--f26-mute); font-size: 13px; }

/* Evolución */
html.f26c .f26-lch__evo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 0 14px; padding: 6px 0 26px 40px; }
html.f26c .f26-lch__plot { position: relative; height: var(--lch-h); }
html.f26c .f26-lch__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html.f26c .f26-lch__grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #DCDFE5; }
html.f26c .f26-lch__grid em { position: absolute; right: calc(100% + 8px); top: -7px; color: var(--f26-mute); font-size: 10.5px; font-style: normal; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.f26c .f26-lch__xl { position: absolute; top: calc(100% + 8px); transform: translateX(-50%); color: var(--f26-mute); font-size: 11px; font-weight: 800; }
html.f26c .f26-lch__xl.is-last { color: var(--f26-ink); }
html.f26c .f26-lch__ln { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: opacity .15s ease, stroke-width .15s ease; }
html.f26c .f26-lch__ln.is-lead { stroke-width: 3.5; }
html.f26c .f26-lch__dot {
    position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
    background: #fff; box-shadow: inset 0 0 0 2.5px var(--c); transition: opacity .15s ease, transform .15s ease;
}
html.f26c .f26-lch__ends { position: relative; height: var(--lch-h); margin: 0; padding: 0; list-style: none; }
html.f26c .f26-lch__ends li {
    position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 6px; transform: translateY(-50%);
    min-width: 0; cursor: pointer; transition: opacity .15s ease;
}
html.f26c .f26-lch__ends b { flex: none; min-width: 34px; padding: 2px 6px; border-radius: 4px; background: var(--c); color: #fff; font-size: 11px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .f26-lch__ends span { overflow: hidden; color: var(--f26-ink); font-size: 11px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; text-transform: uppercase; }
html.f26c .f26-lch__evo.has-hl .f26-lch__ln:not(.is-hl),
html.f26c .f26-lch__evo.has-hl .f26-lch__dot:not(.is-hl),
html.f26c .f26-lch__evo.has-hl .f26-lch__ends li:not(.is-hl) { opacity: .16; }
html.f26c .f26-lch__evo.has-hl .f26-lch__ln.is-hl { stroke-width: 4.5; }
html.f26c .f26-lch__dot.is-hl { transform: scale(1.35); }

/* Araña y barras: lado a lado desde 1200 px */
html.f26c .f26-lch__pair { display: grid; grid-template-columns: minmax(0, 1fr); }
html.f26c .f26-lch__pair > .f26-lch__card { margin-top: 0; }
@media (min-width: 1200px) {
    html.f26c .f26-lch__pair { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; }
    html.f26c .f26-lch__pair > .f26-lch__card + .f26-lch__card { margin-left: 0; }
}
html.f26c .f26-lch__radar { display: block; width: 100%; max-width: 380px; margin: 0 auto; overflow: visible; }
html.f26c .f26-lch__radar .ring { fill: none; stroke: #E3E5EA; stroke-width: 1; }
html.f26c .f26-lch__radar .ring.is-out { stroke: #C9CCD4; stroke-width: 1.5; }
html.f26c .f26-lch__radar .axis { stroke: #E3E5EA; stroke-width: 1; }
html.f26c .f26-lch__radar .lab { fill: var(--f26-ink); font: 800 11px var(--f26-font); }
html.f26c .f26-lch__radar .pct { fill: var(--f26-mute); font: 700 8.5px var(--f26-font); }
html.f26c .f26-lch__radar .shape { fill: var(--c); fill-opacity: .12; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; transition: opacity .15s ease, fill-opacity .15s ease; }
html.f26c .f26-lch__radar.has-hl .shape:not(.is-hl) { opacity: .15; }
html.f26c .f26-lch__radar .shape.is-hl { fill-opacity: .3; stroke-width: 3; }

html.f26c .f26-lch__keys { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 10px; padding: 0; list-style: none; }
html.f26c .f26-lch__keys li { display: inline-flex; align-items: center; gap: 5px; color: var(--f26-text-2); font-size: 11px; font-weight: 800; }
html.f26c .f26-lch__keys li::before { content: ""; width: 14px; height: 10px; border-radius: 2px; background: var(--c); }
html.f26c .f26-lch__stack { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
html.f26c .f26-lch__stack li {
    --c: var(--f26-red);
    display: grid; grid-template-columns: 28px minmax(90px, 30%) minmax(0, 1fr) auto; align-items: center; gap: 8px;
    min-height: 34px; padding: 3px 4px 3px 3px; border-radius: 4px; background: linear-gradient(90deg, #F5F6F8 0%, #E7EAEE 100%);
    transition: opacity .15s ease, box-shadow .15s ease;
}
html.f26c .f26-lch__stack li.is-hl { box-shadow: inset 0 0 0 2px var(--c); }
html.f26c .f26-lch__stack li.is-dim { opacity: .4; }
html.f26c .f26-lch__pos { display: grid; place-items: center; height: 28px; border: 2px solid var(--f26-ink); border-radius: 4px; background: #fff; color: var(--f26-ink); font-size: 12px; font-weight: 900; box-shadow: inset 0 -3px 0 var(--c); }
html.f26c .f26-lch__nm { overflow: hidden; color: var(--f26-ink); font-size: 11.5px; font-weight: 800; line-height: 1.15; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html.f26c .f26-lch__bar { display: flex; height: 20px; overflow: hidden; border-radius: 3px; background: rgba(28, 28, 34, .06); }
html.f26c .f26-lch__bar i { display: grid; place-items: center; min-width: 0; height: 100%; background: var(--c); color: #fff; font-size: 10px; font-style: normal; font-weight: 900; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; text-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
html.f26c .f26-lch__tot { min-width: 62px; padding: 3px 8px; border-radius: var(--f26-pill); background: var(--f26-red); color: #fff; font-size: 12px; font-weight: 900; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.f26c .f26-lch__stack li:first-child .f26-lch__tot { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-lch__tot small { font-size: 9px; font-weight: 700; opacity: .85; }

@media (max-width: 767.98px) {
    html.f26c .f26-lch { --lch-h: 220px; }
    html.f26c .f26-lch__head { padding: 12px; }
    html.f26c .f26-lch__legend { padding: 10px 8px 2px; }
    html.f26c .f26-lch__chip { max-width: 100%; }
    html.f26c .f26-lch__card { margin: 10px 8px 12px; padding: 12px 10px 14px; }
    /* en el móvil, sin los nombres al final de las líneas (los clubes van arriba, en la lista) */
    html.f26c .f26-lch__evo { grid-template-columns: minmax(0, 1fr); padding: 6px 6px 26px 34px; }
    html.f26c .f26-lch__ends { display: none; }
    html.f26c .f26-lch__stack li { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "pos nm tot" "bar bar bar"; row-gap: 5px; padding: 5px 6px 6px 4px; }
    html.f26c .f26-lch__pos { grid-area: pos; height: 26px; }
    html.f26c .f26-lch__nm { grid-area: nm; }
    html.f26c .f26-lch__bar { grid-area: bar; }
    html.f26c .f26-lch__tot { grid-area: tot; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-lch * { transition: none !important; }
}

/* Biografía: en las finales, el 1, 2 y 3 en oro, plata y bronce de metal (MAP, 25-11); el resto, amarillo como antes,
   y los que no acaban (DNS, DNF, DQ...), en rojo */
html.f26c .f26-athp .ath-ev-pos.is-medal,
html.f26c .f26-athp .ath-res-node.is-medal { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 2px 6px rgba(0, 0, 0, .18); }
html.f26c .f26-athp .ath-ev-pos.is-medal.is-p1,
html.f26c .f26-athp .ath-res-node.is-medal.is-p1 { background: linear-gradient(135deg, #FFF0A8 0%, #F2C230 45%, #C9971A 100%); color: #3A2A00; }
html.f26c .f26-athp .ath-ev-pos.is-medal.is-p2,
html.f26c .f26-athp .ath-res-node.is-medal.is-p2 { background: linear-gradient(135deg, #FFFFFF 0%, #C9CED6 45%, #8F96A1 100%); color: #1D2128; }
html.f26c .f26-athp .ath-ev-pos.is-medal.is-p3,
html.f26c .f26-athp .ath-res-node.is-medal.is-p3 { background: linear-gradient(135deg, #F6C8A0 0%, #C8834F 45%, #8A4F24 100%); color: #fff; }

/* Foto de la ficha del deportista (MAP, 25-11, 10:47): cada foto llega con su formato (vertical, horizontal, recortada).
   Se ve entera (contain) y el hueco lo llena la misma foto ampliada y difuminada, sin bandas grises. En el móvil la caja es
   más alta para que una foto vertical no quede diminuta. */
html.f26c .f26-athp .ath-profile-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--f26-ink); }
html.f26c .f26-athp .ath-profile-photo .ath-photo-bg {
    position: absolute; inset: -24px; z-index: -1;
    background-position: center; background-size: cover;
    filter: blur(22px) saturate(1.15) brightness(.72);
    transform: scale(1.08);
}
html.f26c .f26-athp .ath-profile-photo::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(28, 28, 34, 0) 70%, rgba(28, 28, 34, .25));
}
html.f26c .f26-athp .ath-profile-photo img {
    position: relative; z-index: 1;
    object-fit: contain !important; object-position: 50% 50% !important;
    background-color: transparent !important;
}
@media (max-width: 767.98px) {
    html.f26c .f26-athp .ath-profile-photo { height: min(118vw, 420px); }
}
