/* ==========================================================================
   FETRI 2026 · World Triathlon (eventos, rankings y biografía)
   Marcado: Components/WT26/ (WtEvent, WtResults, WtStartList, WtWeather, WtCountryFilter, WtAvatar, WtFlag,
   WtRanking, WtAthlete). Datos del API de World Triathlon (WtData.cs).
   Mismo lenguaje que los gráficos de TV: franjas con caja oscura o roja a la izquierda, datos en pastillas y el
   mejor valor en dorado.
   ========================================================================== */

html.f26c .wtx {
    --wtx-swim: #2F5BEA;
    --wtx-bike: var(--f26-red);
    --wtx-run: var(--f26-gold);
    --wtx-trans: #8B8D98;
    --wtx-leg: var(--f26-ink-3);
    font-family: var(--f26-font);
    color: var(--f26-text);
    margin: 0 0 24px;
}
html.f26c .wtx *,
html.f26c .wtx *::before,
html.f26c .wtx *::after { box-sizing: border-box; }

/* ---------- Colores de los tramos ---------- */
html.f26c .wtx .wtx-k-swim { --k: var(--wtx-swim); --k-on: #fff; }
html.f26c .wtx .wtx-k-bike { --k: var(--wtx-bike); --k-on: #fff; }
html.f26c .wtx .wtx-k-run { --k: var(--wtx-run); --k-on: var(--f26-ink); }
html.f26c .wtx .wtx-k-trans { --k: var(--wtx-trans); --k-on: #fff; }
html.f26c .wtx .wtx-k-leg,
html.f26c .wtx .wtx-k-other { --k: var(--wtx-leg); --k-on: #fff; }

/* ---------- Avatar y bandera ---------- */
html.f26c .wtx-av {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--av, 40px);
    height: var(--av, 40px);
    overflow: hidden;
    border-radius: 26%;
    background: var(--f26-tint-2);
    color: var(--f26-mute);
    font-size: calc(var(--av, 40px) * .34);
    font-weight: 800;
    letter-spacing: .02em;
}
html.f26c .wtx-av img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--f26-tint-2);
}
html.f26c .wtx-av--flag { background: var(--f26-tint); }
html.f26c .wtx-av--flag .wtx-flag { width: 62%; height: auto; border-radius: 3px; }
html.f26c .wtx-flag {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(28, 28, 34, .12);
    vertical-align: -2px;
}

/* ---------- Cabecera del evento ---------- */
html.f26c .wtx-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border-radius: var(--f26-r);
    background: var(--f26-tex), linear-gradient(115deg, var(--f26-ink) 0%, var(--f26-ink-2) 60%, var(--f26-red-xdk) 140%);
    color: #fff;
    box-shadow: var(--f26-shadow-2);
    position: relative;
    overflow: hidden;
}
html.f26c .wtx-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--f26-grad-accent);
}
html.f26c .wtx-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
}
html.f26c .wtx-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
html.f26c .wtx-hero-logo.is-empty { display: none; }
/* Sin logo (no carga): el texto ocupa la primera columna entera; si no, en el móvil quedaba en la de 56 px del logo */
html.f26c .wtx-hero:has(> .wtx-hero-logo.is-empty) { grid-template-columns: minmax(0, 1fr) auto; }
html.f26c .wtx-hero-kicker {
    margin-bottom: 4px;
    color: var(--f26-gold);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .wtx-hero-title {
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--f26-font);
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.01em;
}
html.f26c .wtx-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    color: var(--f26-on-ink-mute);
    font-size: 13.5px;
    font-weight: 600;
}
html.f26c .wtx-hero-meta > span { display: inline-flex; align-items: center; gap: 7px; }
html.f26c .wtx-hero-meta i { color: var(--f26-gold); }
html.f26c .wtx-phase {
    padding: 3px 10px;
    border-radius: var(--f26-pill);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .wtx-phase--upcoming { background: rgba(255, 255, 255, .14); color: #fff; }
html.f26c .wtx-phase--live { background: var(--f26-red); color: #fff; }
html.f26c .wtx-phase--live::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #fff;
    vertical-align: 1px;
    animation: wtx-pulse 1.6s ease-in-out infinite;
}
html.f26c .wtx-phase--finished { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .wtx-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
html.f26c .wtx-hero-tags span {
    padding: 2px 9px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--f26-pill);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}
html.f26c .wtx-hero-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
html.f26c .wtx-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
html.f26c .wtx-hero-btn:hover { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .wtx-hero-btn--ghost {
    max-width: 260px;
    justify-content: flex-start;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
}
html.f26c .wtx-hero-btn--ghost span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html.f26c .wtx-hero-btn--light { background: var(--f26-tint); }
html.f26c .wtx-hero--ghost { min-height: 132px; }
html.f26c .wtx-hero--ghost .wtx-hero-logo { opacity: .2; }
html.f26c .wtx-hero--ghost .wtx-hero-main span {
    display: block;
    height: 14px;
    margin: 8px 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .12);
}
html.f26c .wtx-hero--ghost .wtx-hero-main span:nth-child(1) { width: 30%; }
html.f26c .wtx-hero--ghost .wtx-hero-main span:nth-child(2) { width: 70%; height: 22px; }
html.f26c .wtx-hero--ghost .wtx-hero-main span:nth-child(3) { width: 45%; }

/* ---------- Secciones ---------- */
html.f26c .wtx-nav { margin: 16px 0 16px; }
html.f26c .wtx-nav-n {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint-2);
    color: var(--f26-ink);
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}
html.f26c .f26-rtab.is-on .wtx-nav-n { background: var(--f26-gold); }

html.f26c .wtx-block {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: var(--f26-surface);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-h {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 16px !important;
    font-weight: 900;
    letter-spacing: -.005em;
}
html.f26c .wtx-h small { color: var(--f26-mute); font-size: 12px; font-weight: 600; }
html.f26c .wtx-bar {
    display: inline-block;
    width: 5px;
    height: 18px;
    border-radius: 3px;
    background: var(--f26-grad-accent-v);
}
html.f26c .wtx-foot-note { margin: 8px 2px 0; color: var(--f26-mute); font-size: 12px; }

html.f26c .wtx-loading,
html.f26c .wtx-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px dashed var(--f26-line);
    border-radius: var(--f26-r);
    background: var(--f26-surface);
    color: var(--f26-text-2);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .wtx-loading { justify-content: center; border-style: solid; }
html.f26c .wtx-spin {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2.5px solid var(--f26-tint-2);
    border-top-color: var(--f26-red);
    border-radius: 50%;
    animation: wtx-rot .8s linear infinite;
}
html.f26c .wtx-link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--f26-red);
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Tiempo de la ciudad ---------- */
html.f26c .wtx-wx {
    margin: 0 0 16px;
    padding: 14px 16px 10px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: linear-gradient(180deg, #F4F7FD, #fff 70%);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-wx-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 10px;
}
html.f26c .wtx-wx-title { color: var(--f26-ink); font-size: 14px; font-weight: 900; }
html.f26c .wtx-wx-title i { color: var(--wtx-swim); margin-right: 4px; }
html.f26c .wtx-wx-note { color: var(--f26-mute); font-size: 12px; font-weight: 600; }
html.f26c .wtx-wx-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
html.f26c .wtx-wx-day {
    position: relative; /* el texto oculto (visually-hidden) no se sale del carril */
    display: grid;
    flex: 1 0 116px;
    max-width: 180px;
    justify-items: center;
    gap: 3px;
    padding: 10px 8px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
html.f26c .wtx-wx-day.is-race { border: 2px solid var(--f26-gold); background: var(--f26-gold-soft); }
html.f26c .wtx-wx-date { color: var(--f26-text-2); font-size: 12px; font-weight: 800; text-transform: capitalize; }
html.f26c .wtx-wx-ico { color: var(--f26-ink); font-size: 26px; line-height: 1.1; }
html.f26c .wtx-wx-t { display: flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
html.f26c .wtx-wx-t b { color: var(--f26-red); font-size: 17px; font-weight: 900; }
html.f26c .wtx-wx-t span { color: var(--wtx-swim); font-size: 13px; font-weight: 800; }
html.f26c .wtx-wx-extra { display: grid; gap: 1px; color: var(--f26-mute); font-size: 11px; font-weight: 700; }
html.f26c .wtx-wx-src { margin-top: 6px; color: var(--f26-mute-2); font-size: 10.5px; text-align: right; }
html.f26c .wtx-wx-src a { color: inherit; }

/* ---------- Programa ---------- */
html.f26c .wtx-day {
    margin: 14px 0 8px;
    color: var(--f26-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .wtx-day:first-of-type { margin-top: 0; }
html.f26c .wtx-prog { display: grid; gap: 6px; }
html.f26c .wtx-prog-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
}
html.f26c .wtx-prog-time {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--f26-ink);
    color: var(--f26-gold);
    font-size: 16px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-prog-id { display: grid; gap: 2px; align-content: center; padding: 10px 14px; min-width: 0; }
html.f26c .wtx-prog-name { color: var(--f26-ink); font-size: 14.5px; font-weight: 800; }
html.f26c .wtx-prog-meta { color: var(--f26-mute); font-size: 12px; font-weight: 600; }
html.f26c .wtx-prog-acts { display: flex; align-items: center; gap: 6px; padding: 8px 12px 8px 0; }
html.f26c .wtx-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}
html.f26c .wtx-pill:hover { background: var(--f26-ink); border-color: var(--f26-ink); color: #fff; }
html.f26c .wtx-pill--gold { background: var(--f26-gold); border-color: var(--f26-gold); }
html.f26c .wtx-pill:focus-visible,
html.f26c .wtx-race:focus-visible,
html.f26c .wtx-row-main:focus-visible,
html.f26c .wtx-sub-tabs button:focus-visible,
html.f26c .wtx-more-btn:focus-visible,
html.f26c .wtx-cf-btn:focus-visible,
html.f26c .wtx-cf-opt:focus-visible { outline: none; box-shadow: var(--f26-focus); }

/* Contenido HTML de World Triathlon (horario, viajes, contacto) */
html.f26c .wtx-html { color: var(--f26-text-2); font-size: 14px; line-height: 1.55; overflow-x: auto; }
html.f26c .wtx-html p { margin: 0 0 8px; }
html.f26c .wtx-html a { color: var(--f26-red); font-weight: 700; word-break: break-word; }
html.f26c .wtx-html table { width: 100% !important; border-collapse: collapse !important; margin: 4px 0 12px; font-size: 13px; }
html.f26c .wtx-html td,
html.f26c .wtx-html th {
    padding: 7px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--f26-line) !important;
    vertical-align: top;
    width: auto !important;
    height: auto !important;
}
html.f26c .wtx-html tr:nth-child(odd) td { background: var(--f26-tint); }
html.f26c .wtx-html td:first-child { color: var(--f26-ink); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.f26c .wtx-html strong { color: var(--f26-ink); }
html.f26c .wtx-html img { max-width: 100%; height: auto; }

/* ---------- Pruebas y resultados ---------- */
html.f26c .wtx-races {
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
    padding: 2px 2px 6px;
    overflow-x: auto;
    scrollbar-width: thin;
}
html.f26c .wtx-race {
    display: grid;
    flex: 0 0 auto;
    gap: 2px;
    min-width: 132px;
    padding: 9px 14px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-race:hover { border-color: var(--f26-ink-3); }
html.f26c .wtx-race.is-on { background: var(--f26-ink); border-color: var(--f26-ink); color: #fff; }
html.f26c .wtx-race-name { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
html.f26c .wtx-race-meta { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; white-space: nowrap; text-transform: capitalize; }
html.f26c .wtx-race-meta i { color: var(--f26-gold-dk); margin-right: 3px; }
html.f26c .wtx-race.is-on .wtx-race-meta { color: var(--f26-on-ink-mute); }
html.f26c .wtx-race.is-on .wtx-race-meta i { color: var(--f26-gold); }

/* Grupos de edad: un botón que despliega su panel (formato → mujeres / hombres → edades) */
html.f26c .wtx-race--ag .wtx-race-name i { margin-left: 4px; font-size: 11px; transition: transform .2s ease; display: inline-block; }
html.f26c .wtx-race--ag.is-open .wtx-race-name i { transform: rotate(180deg); }
html.f26c .wtx-race--ag:not(.is-on).is-open { border-color: var(--f26-ink); }
html.f26c .wtx-race--ag .wtx-race-meta { text-transform: none; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
html.f26c .wtx-ag {
    display: grid;
    gap: 12px;
    margin: -4px 0 14px;
    padding: 14px 16px;
    border: 1px solid var(--f26-line);
    border-left: 4px solid var(--f26-red);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-ag-fmt { display: grid; gap: 8px; }
html.f26c .wtx-ag-fmt + .wtx-ag-fmt { padding-top: 12px; border-top: 1px solid var(--f26-tint-2, var(--f26-line)); }
html.f26c .wtx-ag-title { color: var(--f26-ink); font-size: 13px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
html.f26c .wtx-ag-title span { margin-left: 6px; color: var(--f26-mute); font-size: 11.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
html.f26c .wtx-ag-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; gap: 10px; }
html.f26c .wtx-ag-sex { padding-top: 7px; color: var(--f26-text-2); font-size: 12px; font-weight: 800; }
html.f26c .wtx-ag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html.f26c .wtx-ag-chip {
    min-width: 58px;
    padding: 6px 10px;
    border: 1px solid var(--f26-line);
    border-radius: 999px;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}
html.f26c .wtx-ag-chip.has-res { background: #fff; }
html.f26c .wtx-ag-chip:hover { border-color: var(--f26-ink-3); }
html.f26c .wtx-ag-chip.is-on { background: var(--f26-ink); border-color: var(--f26-ink); color: #fff; }
html.f26c .wtx-ag-chip:focus-visible { outline: none; box-shadow: var(--f26-focus); }
@media (max-width: 575.98px) {
    html.f26c .wtx-ag { padding: 12px 10px; }
    html.f26c .wtx-ag-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    html.f26c .wtx-ag-sex { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .wtx-race--ag .wtx-race-name i { transition: none; }
}

html.f26c .wtx-race-card {
    padding: 18px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: var(--f26-surface);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-race-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
html.f26c .wtx-race-title { margin: 0 0 4px; color: var(--f26-ink); font-family: var(--f26-font); font-size: 20px !important; font-weight: 900; }
html.f26c .wtx-race-sub { color: var(--f26-text-2); font-size: 13px; font-weight: 600; }
html.f26c .wtx-race-sub::first-letter { text-transform: uppercase; }
html.f26c .wtx-dist {
    display: flex;
    gap: 3px;
    margin: 14px 0 4px;
    overflow: hidden;
    border-radius: 10px;
}
html.f26c .wtx-dist-seg {
    min-width: 92px;
    padding: 7px 10px;
    background: var(--k);
    color: var(--k-on);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html.f26c .wtx-dist-seg b { font-weight: 900; }
html.f26c .wtx-notes { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--f26-tint); font-size: 13px; }
html.f26c .wtx-sub-tabs {
    display: inline-flex;
    gap: 4px;
    margin: 16px 0 14px;
    padding: 4px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
}
html.f26c .wtx-sub-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: transparent;
    color: var(--f26-text-2);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .wtx-sub-tabs button.is-on { background: #fff; color: var(--f26-ink); box-shadow: var(--f26-shadow-1); }
html.f26c .wtx-sub-tabs button.is-on i { color: var(--f26-red); }

/* Datos de la prueba en pastillas */
html.f26c .wtx-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
html.f26c .wtx-fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 12px 0 10px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-mute);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 700;
}
html.f26c .wtx-fact i { color: var(--f26-red); }
html.f26c .wtx-fact b { color: var(--f26-ink); font-weight: 900; }
html.f26c .wtx-fact--btn { cursor: pointer; }
html.f26c .wtx-fact--btn:hover { border-color: var(--f26-ink-3); }
html.f26c .wtx-fact--btn.is-on { background: var(--f26-ink); border-color: var(--f26-ink); color: var(--f26-on-ink-mute); }
html.f26c .wtx-fact--btn.is-on b { color: var(--f26-gold); }

/* Podio con fotos */
html.f26c .wtx-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    max-width: 720px;
    margin: 4px auto 18px;
}
html.f26c .wtx-pod {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
    padding: 16px 10px 14px;
    border-radius: var(--f26-r);
    background: var(--f26-tint);
    text-align: center;
}
html.f26c .wtx-pod--1 { padding-top: 22px; background: var(--f26-tex-light), var(--f26-gold-soft); border: 2px solid var(--f26-gold); }
html.f26c .wtx-pod-av { box-shadow: 0 0 0 3px #fff, var(--f26-shadow-2); }
html.f26c .wtx-pod-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: -16px;
    border-radius: 50%;
    background: var(--f26-silver);
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 900;
    position: relative;
}
html.f26c .wtx-pod--1 .wtx-pod-rank { background: var(--f26-gold); }
html.f26c .wtx-pod--3 .wtx-pod-rank { background: var(--f26-bronze); color: #fff; }
html.f26c .wtx-pod-name {
    max-width: 100%;
    color: var(--f26-ink);
    font-size: 13.5px;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
html.f26c .wtx-pod-ctry { display: inline-flex; align-items: center; gap: 5px; color: var(--f26-mute); font-size: 11.5px; font-weight: 800; }
html.f26c .wtx-pod-time { color: var(--f26-ink); font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .wtx-pod--1 .wtx-pod-time { color: var(--f26-red); }
html.f26c .wtx-pod-gap { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Buscador, país y actualizar */
html.f26c .wtx-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
html.f26c .wtx-search {
    --f26-clear-x: 22px;
    position: relative;
    display: flex;
    flex: 1 1 240px;
    align-items: center;
    margin: 0;
}
html.f26c .wtx-search > i { position: absolute; left: 14px; color: var(--f26-mute); pointer-events: none; }
html.f26c .wtx-search input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .wtx-search input:focus { outline: none; border-color: var(--f26-ink-3); box-shadow: var(--f26-focus); }
html.f26c .wtx-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    cursor: pointer;
}
html.f26c .wtx-icon-btn:hover:not(:disabled) { background: var(--f26-ink); color: #fff; }
html.f26c .wtx-rot { display: inline-block; animation: wtx-rot .8s linear infinite; }

/* Filtro de país con banderas */
html.f26c .wtx-cf { position: relative; display: inline-flex; flex: 0 1 260px; min-width: 0; }
html.f26c .wtx-cf-btn {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}
html.f26c .wtx-cf-btn > i:first-child { color: var(--f26-mute); }
html.f26c .wtx-cf-txt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
html.f26c .wtx-cf-chev { color: var(--f26-mute); font-size: 12px; transition: transform .15s ease; }
html.f26c .wtx-cf.is-open .wtx-cf-chev { transform: rotate(180deg); }
html.f26c .wtx-cf-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 6px;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    cursor: pointer;
}
html.f26c .wtx-cf-x:hover { background: var(--f26-red); border-color: var(--f26-red); color: #fff; }
html.f26c .wtx-cf-back { position: fixed; inset: 0; z-index: 1040; }
html.f26c .wtx-cf-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1041;
    width: max(100%, 260px);
    max-height: min(360px, 60vh);
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    list-style: none;
    border: 1px solid var(--f26-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--f26-shadow-3);
}
html.f26c .wtx-cf-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
html.f26c .wtx-cf-opt:hover { background: var(--f26-tint); }
html.f26c .wtx-cf-opt.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .wtx-cf-opt > i { width: 20px; color: var(--f26-mute); text-align: center; }
html.f26c .wtx-cf-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .wtx-cf-n { color: var(--f26-mute); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .wtx-cf-opt.is-on .wtx-cf-n { color: var(--f26-gold); }

html.f26c .wtx-count {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0 2px 8px;
    color: var(--f26-mute);
    font-size: 12.5px;
    font-weight: 700;
}
html.f26c .wtx-live { display: inline-flex; align-items: center; gap: 6px; color: var(--f26-red); }
html.f26c .wtx-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--f26-red); animation: wtx-pulse 1.6s ease-in-out infinite; }
html.f26c .wtx-legend { display: none; }

/* Franjas de la clasificación */
html.f26c .wtx-rows,
html.f26c .wtx-sl { display: grid; gap: 6px; }
html.f26c .wtx-row {
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
}
html.f26c .wtx-row.is-open { border-color: var(--f26-ink-3); box-shadow: var(--f26-shadow-2); }
html.f26c .wtx-row-main {
    display: grid;
    grid-template-columns: 50px 40px minmax(0, 1fr) auto auto 20px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 0 14px 0 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: var(--f26-font);
    text-align: left;
    cursor: pointer;
}
html.f26c .wtx-row-main:hover { background: var(--f26-tint); }
html.f26c .wtx-pos {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 58px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-row--p1 .wtx-pos { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .wtx-row--p2 .wtx-pos { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .wtx-row--p3 .wtx-pos { background: var(--f26-bronze); color: #fff; }
html.f26c .wtx-row.is-out .wtx-pos { background: var(--f26-tint-2); color: var(--f26-mute); font-size: 11.5px; letter-spacing: .02em; }
/* Españoles: filo rojo a la izquierda */
html.f26c .wtx-row.is-esp,
html.f26c .wtx-sl-row.is-esp { border-left: 4px solid var(--f26-red); }
html.f26c .wtx-id { display: grid; gap: 3px; min-width: 0; }
html.f26c .wtx-name {
    overflow: hidden;
    color: var(--f26-ink);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}
html.f26c a.wtx-name:hover { color: var(--f26-red); text-decoration: underline; }
html.f26c .wtx-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--f26-mute);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
html.f26c .wtx-sub > span:not(.wtx-bib) { overflow: hidden; text-overflow: ellipsis; }
html.f26c .wtx-bib {
    padding: 1px 7px;
    border-radius: 5px;
    background: var(--f26-tint-2);
    color: var(--f26-ink);
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-dot { color: var(--f26-mute-2); }
html.f26c .wtx-splits { display: none; gap: 4px; }
html.f26c .wtx-sp {
    min-width: 58px;
    padding: 4px 8px;
    border-left: 3px solid var(--k);
    border-radius: 6px;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-sp.wtx-k-trans { min-width: 44px; }
html.f26c .wtx-sp.is-best,
html.f26c .wtx-dl-t.is-best { background: var(--f26-gold); color: var(--f26-ink); font-weight: 900; }
html.f26c .wtx-time { display: grid; justify-items: end; gap: 1px; font-variant-numeric: tabular-nums; }
html.f26c .wtx-time b {
    padding: 4px 10px;
    border-radius: 7px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}
html.f26c .wtx-row--p1 .wtx-time b { background: var(--f26-red); }
html.f26c .wtx-time b.wtx-out { background: var(--f26-tint-2); color: var(--f26-mute); font-size: 11.5px; }
html.f26c .wtx-time small { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .wtx-chev { color: var(--f26-mute); transition: transform .15s ease; }
html.f26c .wtx-row.is-open .wtx-chev { transform: rotate(180deg); }

/* Detalle de una fila */
html.f26c .wtx-detail { padding: 4px 16px 16px 62px; border-top: 1px solid var(--f26-line); background: linear-gradient(180deg, var(--f26-tint), #fff 60px); }
html.f26c .wtx-compo { display: flex; gap: 2px; height: 10px; margin: 12px 0 10px; overflow: hidden; border-radius: 5px; }
html.f26c .wtx-compo span { background: var(--k); min-width: 2px; }
html.f26c .wtx-dl { display: grid; gap: 4px; }
html.f26c .wtx-dl-row {
    display: grid;
    grid-template-columns: 120px 80px 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-dl-k {
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--k);
    color: var(--k-on);
    font-size: 12px;
    font-weight: 800;
}
html.f26c .wtx-dl-t { padding: 4px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--f26-line); color: var(--f26-ink); font-weight: 800; text-align: right; }
html.f26c .wtx-dl-r { color: var(--f26-ink); font-weight: 900; text-align: right; }
html.f26c .wtx-dl-g { color: var(--f26-mute); font-size: 12px; font-weight: 700; }
html.f26c .wtx-members { display: grid; gap: 4px; margin-top: 12px; }
html.f26c .wtx-member { display: flex; align-items: center; gap: 10px; font-size: 13px; }
html.f26c .wtx-member-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--f26-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
html.f26c .wtx-member-name { flex: 1 1 auto; min-width: 0; color: var(--f26-ink); font-weight: 700; }
html.f26c .wtx-member-t { color: var(--f26-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .wtx-note { margin-top: 10px; color: var(--f26-red-dk); font-size: 12.5px; font-weight: 700; }
html.f26c .wtx-ext {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--f26-red);
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
}
html.f26c .wtx-ext:hover { text-decoration: underline; }
html.f26c .wtx-officials {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 12.5px;
}
html.f26c .wtx-officials span { color: var(--f26-ink); font-weight: 800; }
html.f26c .wtx-officials span::after { content: ":"; }

/* Lista de salida */
html.f26c .wtx-sl-row {
    display: grid;
    grid-template-columns: 54px 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding-right: 14px;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
}
html.f26c .wtx-sl-row .wtx-pos { min-height: 60px; }
html.f26c .wtx-pos--bib { background: var(--f26-red); }
html.f26c .wtx-sl-row.is-wait .wtx-pos--bib { background: var(--f26-tint-2); color: var(--f26-mute); }
html.f26c .wtx-sl-members { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
html.f26c .wtx-sl-member { display: inline-flex; align-items: center; gap: 5px; color: var(--f26-text-2); font-size: 12px; font-weight: 700; }
html.f26c .wtx-tag {
    padding: 3px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold-soft);
    color: var(--f26-gold-text);
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

html.f26c .wtx-more { display: flex; justify-content: center; margin-top: 12px; }
html.f26c .wtx-more-btn {
    min-height: 40px;
    padding: 0 20px;
    border: 1px solid var(--f26-ink);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .wtx-more-btn span { color: var(--f26-mute); font-weight: 700; }
html.f26c .wtx-more-btn:hover { background: var(--f26-ink); color: #fff; }

/* ---------- Tarjetas (noticias, vídeos, recorridos) y documentos ---------- */
html.f26c .wtx-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
html.f26c .wtx-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
html.f26c .wtx-card:hover { transform: translateY(-2px); box-shadow: var(--f26-shadow-2); }
html.f26c .wtx-card > img,
html.f26c .wtx-card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--f26-tint); }
html.f26c .wtx-card-media { position: relative; display: block; }
html.f26c .wtx-card-media i {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    font-size: 44px;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
html.f26c .wtx-card--map > img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--f26-tint); }
html.f26c .wtx-card-file {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: var(--f26-tint);
    color: var(--f26-red);
    font-size: 48px;
}
html.f26c .wtx-card-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
html.f26c .wtx-card-date { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; text-transform: capitalize; }
html.f26c .wtx-card-title { color: var(--f26-ink); font-size: 14.5px; font-weight: 800; line-height: 1.3; }
html.f26c .wtx-card-text { color: var(--f26-text-2); font-size: 13px; line-height: 1.45; }
html.f26c .wtx-docs { display: grid; gap: 6px; }
html.f26c .wtx-doc {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto 20px;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    color: var(--f26-ink);
    text-decoration: none;
}
html.f26c .wtx-doc:hover { border-color: var(--f26-ink-3); background: var(--f26-tint); }
html.f26c .wtx-doc-ico { color: var(--f26-red); font-size: 20px; }
html.f26c .wtx-doc-name { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .wtx-doc-size { color: var(--f26-mute); font-size: 12px; font-weight: 700; }

/* Gráfica del puesto tras cada parcial (fila abierta) */
html.f26c .wtx-poschart { margin: 4px 0 14px; padding: 12px 14px 6px; border-radius: 12px; background: var(--f26-tint); }
html.f26c .wtx-poschart figcaption { margin: 0 0 4px; color: var(--f26-ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .wtx-poschart svg { display: block; width: 100%; height: auto; max-height: 220px; overflow: visible; font-family: var(--f26-font); }
html.f26c .wtx-poschart svg.wtx-pc-narrow { display: none; }
html.f26c .wtx-pc-grid { stroke: var(--f26-line); stroke-width: 1; stroke-dasharray: 3 4; }
html.f26c .wtx-pc-axis { fill: var(--f26-mute); font-size: 11px; font-weight: 700; }
html.f26c .wtx-pc-line { fill: none; stroke: var(--f26-ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
html.f26c .wtx-pc-pt circle { fill: #fff; stroke: var(--k, var(--f26-ink)); stroke-width: 3; }
html.f26c .wtx-pc-pt.is-up circle { fill: var(--f26-green); }
html.f26c .wtx-pc-pt.is-down circle { fill: var(--f26-red); }
html.f26c .wtx-pc-val { fill: var(--f26-ink); font-size: 13px; font-weight: 900; }
html.f26c .wtx-pc-lbl { fill: var(--f26-mute); font-size: 11px; font-weight: 800; text-transform: uppercase; }
@media (max-width: 575.98px) {
    html.f26c .wtx-poschart { padding: 10px 8px 4px; }
    html.f26c .wtx-poschart svg.wtx-pc-wide { display: none; }
    html.f26c .wtx-poschart svg.wtx-pc-narrow { display: block; max-height: none; }
}

/* Fila abierta: en escritorio, la gráfica de puestos a la derecha de los parciales */
@media (min-width: 992px) {
    html.f26c .wtx-detail-main:has(> .wtx-poschart) {
        display: grid;
        grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
        grid-template-areas: "dl chart";
        align-items: start;
        gap: 22px;
    }
    html.f26c .wtx-detail-main > .wtx-dl { grid-area: dl; margin: 0; }
    html.f26c .wtx-detail-main > .wtx-poschart { grid-area: chart; margin: 0; }
}
/* Selector Clasificación / Claves de la carrera */
html.f26c .wtx-res .wtx-views { margin: 4px 0 14px; }

/* ---------- Noticia abierta dentro de la web (WtNewsReader) ---------- */
html.f26c .wtx-news {
    scroll-margin-top: 140px;
    max-width: 880px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    outline: none;
}
html.f26c .wtx-news-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 14px;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .wtx-news-back:hover { background: var(--f26-red); }
html.f26c .wtx-news-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--f26-tint); }
html.f26c .wtx-news-body { padding: 16px 18px 20px; border-top: 4px solid var(--f26-red); }
html.f26c .wtx-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0 0 8px;
    color: var(--f26-mute);
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}
html.f26c .wtx-news-meta i { margin-right: 3px; }
html.f26c .wtx-news-src {
    padding: 1px 8px;
    border-radius: 4px;
    background: var(--f26-ink);
    color: #fff;
    text-transform: none;
}
html.f26c .wtx-news-title {
    margin: 0 0 10px;
    color: var(--f26-ink);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    line-height: 1.2;
}
html.f26c .wtx-news-lead { margin: 0 0 14px; color: var(--f26-text-2); font-size: 16px; line-height: 1.6; }
html.f26c .wtx-news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
html.f26c .wtx-news-tags span {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 12px;
    font-weight: 700;
}
html.f26c .wtx-news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    background: var(--f26-red);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
html.f26c .wtx-news-link:hover { background: var(--f26-ink); color: #fff; }
@media (max-width: 575.98px) {
    html.f26c .wtx-news-back { margin: 10px; }
    html.f26c .wtx-news-body { padding: 14px 12px 16px; }
    html.f26c .wtx-news-lead { font-size: 15px; }
    html.f26c .wtx-news-link { display: flex; justify-content: center; text-align: center; }
}

/* ---------- Pantallas medianas y anchas ---------- */
@media (min-width: 992px) {
    html.f26c .wtx-splits { display: flex; }
    /* Cabecera con la misma rejilla que las franjas: cada rótulo encima de su parcial (19-11) */
    html.f26c .wtx-legend {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 96px 20px;
        align-items: end;
        gap: 12px;
        margin: 0 0 6px;
        padding: 0 15px 0 1px;
    }
    html.f26c .wtx-leg-sp { display: flex; gap: 4px; }
    html.f26c .wtx-leg-time { grid-column: 3; color: var(--f26-mute); font-size: 10.5px; font-weight: 800; text-align: right; text-transform: uppercase; }
    html.f26c .wtx-row-main .wtx-time { width: 96px; }
    html.f26c .wtx-sp { width: 72px; min-width: 0; }
    html.f26c .wtx-sp.wtx-k-trans { width: 52px; }
    html.f26c .wtx-leg {
        width: 72px;
        min-width: 0;
        padding: 0 6px;
        border-left: 3px solid var(--k);
        color: var(--f26-mute);
        font-size: 10.5px;
        font-weight: 800;
        text-align: right;
        text-transform: uppercase;
    }
    html.f26c .wtx-leg.wtx-k-trans { width: 52px; }
    html.f26c .wtx-leg-note { color: var(--f26-mute); font-size: 11px; font-weight: 700; }
}

/* ---------- Móvil ---------- */
@media (max-width: 767.98px) {
    html.f26c .wtx-hero {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }
    html.f26c .wtx-hero-logo { width: 56px; height: 56px; padding: 6px; border-radius: 12px; align-self: start; }
    html.f26c .wtx-hero:has(> .wtx-hero-logo.is-empty) { grid-template-columns: minmax(0, 1fr); }
    html.f26c .wtx-hero-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    html.f26c .wtx-hero-btn { min-height: 34px; }
    html.f26c .wtx-hero-btn--ghost { max-width: 100%; }
    html.f26c .wtx-hero-meta { font-size: 12.5px; gap: 4px 12px; }
    html.f26c .wtx-block,
    html.f26c .wtx-race-card { padding: 12px; }
    html.f26c .wtx-prog-row { grid-template-columns: 58px minmax(0, 1fr); }
    html.f26c .wtx-prog-acts { grid-column: 2; padding: 0 12px 10px 14px; flex-wrap: wrap; }
    html.f26c .wtx-row-main { grid-template-columns: 42px 36px minmax(0, 1fr) auto 14px; gap: 9px; padding-right: 10px; min-height: 56px; }
    html.f26c .wtx-row-main .wtx-av { --av: 36px !important; }
    html.f26c .wtx-pos { font-size: 15px; min-height: 56px; }
    html.f26c .wtx-name { font-size: 13.5px; }
    html.f26c .wtx-time b { font-size: 13px; padding: 3px 8px; }
    html.f26c .wtx-detail { padding: 4px 12px 14px; }
    html.f26c .wtx-dl-row { grid-template-columns: 96px 72px 38px minmax(0, 1fr); gap: 6px; font-size: 12.5px; }
    html.f26c .wtx-dl-g { font-size: 11px; }
    html.f26c .wtx-sl-row { grid-template-columns: 46px 40px minmax(0, 1fr) auto; gap: 10px; padding-right: 10px; }
    html.f26c .wtx-sl-row .wtx-av { --av: 40px !important; }
    html.f26c .wtx-podium { gap: 6px; }
    html.f26c .wtx-pod { padding: 12px 6px 10px; }
    html.f26c .wtx-pod-name { font-size: 12px; }
    html.f26c .wtx-pod .wtx-av { --av: 56px !important; }
    html.f26c .wtx-pod--1 .wtx-av { --av: 66px !important; }
    html.f26c .wtx-cf { flex: 1 1 100%; order: 3; }
    html.f26c .wtx-tools .wtx-icon-btn { order: 2; }
    html.f26c .wtx-dist-seg { min-width: 78px; padding: 7px 8px; white-space: normal; line-height: 1.25; }
    html.f26c .wtx-search { flex: 1 1 calc(100% - 50px); }
    html.f26c .wtx-cards { grid-template-columns: 1fr; }
    html.f26c .wtx-doc { grid-template-columns: 24px minmax(0, 1fr) 18px; padding: 0 12px; }
    html.f26c .wtx-doc-size { display: none; }
    html.f26c .wtx-wx-day { flex-basis: 96px; }
}
@media (max-width: 359.98px) {
    html.f26c .wtx-dl-row { grid-template-columns: 84px 64px 32px; }
    html.f26c .wtx-dl-g { display: none; }
}

@keyframes wtx-rot { to { transform: rotate(360deg); } }
@keyframes wtx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
    html.f26c .wtx-spin,
    html.f26c .wtx-rot,
    html.f26c .wtx-live-dot,
    html.f26c .wtx-phase--live::before { animation: none; }
    html.f26c .wtx-card { transition: none; }
}

/* ---------- Rankings: pestaña World Triathlon (WtRanking) ---------- */
html.f26c .wtx-rk { margin-top: 14px; }
html.f26c .wtx-rk-types { display: flex; gap: 8px; margin: 0 0 14px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: thin; }
html.f26c .wtx-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 48px;
    padding: 3px 8px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-mute);
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-change.is-up { background: #E3F4EA; color: var(--f26-green-text); }
html.f26c .wtx-change.is-down { background: var(--f26-red-soft); color: var(--f26-red-dk); }
html.f26c .wtx-row--rk .wtx-dl-row { grid-template-columns: 130px 90px 0 minmax(0, 1fr); }
html.f26c .wtx-podium--rk .wtx-pod-time { color: var(--f26-ink); }
html.f26c .wtx-podium--rk .wtx-pod--1 .wtx-pod-time { color: var(--f26-red); }
@media (max-width: 767.98px) {
    html.f26c .wtx-row--rk .wtx-row-main { grid-template-columns: 42px 36px minmax(0, 1fr) auto auto 14px; gap: 7px; }
    html.f26c .wtx-row--rk .wtx-change { min-width: 0; padding: 3px 6px; }
    html.f26c .wtx-row--rk .wtx-time small { display: none; }
    html.f26c .wtx-row--rk .wtx-dl-row { grid-template-columns: 104px 76px 0 minmax(0, 1fr); }
}

/* ---------- Biografía: bloque World Triathlon (WtAthlete) ---------- */
html.f26c .wtx-ath {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: var(--f26-surface);
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-ath-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
html.f26c .wtx-ath-logo { width: 44px; height: 44px; object-fit: contain; }
html.f26c .wtx-ath-title { flex: 1 1 200px; min-width: 0; }
html.f26c .wtx-ath-title h3 { margin: 0; color: var(--f26-ink); font-family: var(--f26-font); font-size: 19px !important; font-weight: 900; }
html.f26c .wtx-ath-title span { color: var(--f26-mute); font-size: 12.5px; font-weight: 600; }
html.f26c .wtx-ath .wtx-hero-btn--light { border: 1px solid var(--f26-line); }
html.f26c .wtx-ath-nav { margin: 14px 0 16px; }
html.f26c .wtx-ath-nav .f26-rtab.is-wait { color: var(--f26-mute-2); cursor: progress; }
html.f26c .wtx-ath-nav .f26-rtab:disabled:hover { background: transparent; }
html.f26c .wtx-spin--sm { width: 12px; height: 12px; border-width: 2px; }

html.f26c .wtx-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 18px; }
html.f26c .wtx-kpi {
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--f26-ink);
    color: var(--f26-on-ink-mute);
}
html.f26c .wtx-kpi b { color: #fff; font-size: 28px; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; }
html.f26c .wtx-kpi span { color: #fff; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
html.f26c .wtx-kpi small { font-size: 11.5px; font-weight: 600; }
html.f26c .wtx-kpi.is-gold { background: var(--f26-tex-light), var(--f26-gold); color: var(--f26-ink-3); }
html.f26c .wtx-kpi.is-gold b,
html.f26c .wtx-kpi.is-gold span { color: var(--f26-ink); }

html.f26c .wtx-rkline {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
}
html.f26c .wtx-rkline .wtx-pos { min-height: 52px; background: var(--f26-red); font-size: 18px; }

/* Resultados en línea de tiempo */
html.f26c .wtx-tl { display: grid; gap: 6px; }
html.f26c .wtx-tl .wtx-day { margin: 10px 0 2px; }
html.f26c .wtx-tl-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-right: 14px;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
}
html.f26c .wtx-tl-row .wtx-pos { min-height: 64px; }
html.f26c .wtx-tl-row.is-out .wtx-pos { background: var(--f26-tint-2); color: var(--f26-mute); font-size: 11.5px; }
html.f26c .wtx-tl-row .wtx-id { padding: 8px 0; }
html.f26c .wtx-tl-row .wtx-name { white-space: normal; }
html.f26c .wtx-tl-row .wtx-sub { white-space: normal; }
html.f26c .wtx-tl-splits { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
html.f26c .wtx-tl-splits .wtx-sp { min-width: 0; padding: 2px 7px; font-size: 11.5px; }
html.f26c .wtx-tl-link { color: var(--f26-red); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
html.f26c .wtx-tl-link:hover { text-decoration: underline; }

/* Fotos */
html.f26c .wtx-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
html.f26c .wtx-gal-item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--f26-tint); cursor: zoom-in; aspect-ratio: 4 / 3; }
html.f26c .wtx-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
html.f26c .wtx-gal-item:hover img { transform: scale(1.04); }
/* Visor de fotos: barra arriba (contador, pie, descargar, compartir, cerrar), foto al centro y flechas a los lados */
html.f26c .wtx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    border: 0;
    background: rgba(12, 12, 16, .96);
    color: #fff;
    outline: 0;
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
}
html.f26c .wtx-lightbox::backdrop { background: transparent; }
html.f26c .wtx-lb-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    color: #fff;
}
html.f26c .wtx-lb-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
html.f26c .wtx-lb-count {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold);
    color: #111;
    font-size: 12.5px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .wtx-lb-cap { overflow: hidden; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
html.f26c .wtx-lb-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
html.f26c .wtx-lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .wtx-lb-btn:hover { background: rgba(255, 255, 255, .26); }
html.f26c .wtx-lb-btn[aria-expanded="true"] { background: var(--f26-gold); color: #111; }
html.f26c .wtx-lb-btn--x { padding: 0; font-size: 17px; }
html.f26c .wtx-lb-btn:focus-visible,
html.f26c .wtx-lb-nav:focus-visible,
html.f26c .wtx-lb-share > *:focus-visible { outline: 3px solid var(--f26-gold); outline-offset: 2px; }
html.f26c .wtx-lb-share {
    position: absolute;
    top: calc(100% - 4px);
    right: 14px;
    z-index: 2;
    display: grid;
    min-width: 210px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--f26-shadow-3);
}
html.f26c .wtx-lb-share > a,
html.f26c .wtx-lb-share > button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
html.f26c .wtx-lb-share > a:hover,
html.f26c .wtx-lb-share > button:hover { background: var(--f26-tint); }
html.f26c .wtx-lb-share i { width: 18px; color: var(--f26-red); font-size: 16px; text-align: center; }
html.f26c .wtx-lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px 24px; }
html.f26c .wtx-lb-stage img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: var(--f26-shadow-3);
    object-fit: contain;
    animation: wtx-lb-in .18s ease-out;
    user-select: none;
    -webkit-user-drag: none;
}
@keyframes wtx-lb-in { from { opacity: .35; } to { opacity: 1; } }
html.f26c .wtx-lb-nav {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -2px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .15s ease;
}
html.f26c .wtx-lb-nav:hover { background: var(--f26-red); }
html.f26c .wtx-lb-nav--prev { left: 12px; }
html.f26c .wtx-lb-nav--next { right: 12px; }
@media (max-width: 767.98px) {
    html.f26c .wtx-lb-bar { flex-wrap: wrap; gap: 8px; padding: 8px; }
    html.f26c .wtx-lb-info { flex: 1 1 100%; order: 2; }
    html.f26c .wtx-lb-actions { width: 100%; justify-content: flex-end; }
    html.f26c .wtx-lb-cap { white-space: normal; font-size: 12px; }
    html.f26c .wtx-lb-btn { height: 40px; padding: 0 12px; font-size: 12.5px; }
    html.f26c .wtx-lb-btn--x { min-width: 40px; padding: 0; }
    html.f26c .wtx-lb-share { right: 8px; top: 52px; }
    html.f26c .wtx-lb-stage { padding: 0 8px 70px; }
    /* En el móvil las flechas bajan bajo la foto para no taparla (también se puede deslizar) */
    html.f26c .wtx-lb-nav { top: auto; bottom: 12px; width: 46px; height: 46px; font-size: 19px; }
    html.f26c .wtx-lb-nav--prev { left: calc(50% - 56px); }
    html.f26c .wtx-lb-nav--next { right: calc(50% - 56px); }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .wtx-lb-stage img { animation: none; }
}

/* Rankings de World Triathlon en la biografía: tarjetas en fila (bajan de línea si no caben) */
html.f26c .wtx-rkcards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 10px;
}
html.f26c .wtx-rkcard {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .wtx-rkcard-pos {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px 8px;
    background: var(--f26-tex), var(--f26-red);
    color: #fff;
}
html.f26c .wtx-rkcard-pos small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
html.f26c .wtx-rkcard-pos b { font-size: 34px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
html.f26c .wtx-rkcard.is-p1 .wtx-rkcard-pos { background: var(--f26-tex-light), var(--f26-gold); color: #111; }
html.f26c .wtx-rkcard.is-p2 .wtx-rkcard-pos { background: var(--f26-silver); color: #111; }
html.f26c .wtx-rkcard.is-p3 .wtx-rkcard-pos { background: var(--f26-bronze); color: #fff; }
html.f26c .wtx-rkcard-id { display: grid; align-content: start; gap: 4px; padding: 12px 14px 14px; }
html.f26c .wtx-rkcard-name { color: var(--f26-ink); font-size: 15px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
html.f26c .wtx-rkcard-sub { color: var(--f26-mute); font-size: 12.5px; font-weight: 700; }
@media (max-width: 767.98px) {
    html.f26c .wtx-rkcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    html.f26c .wtx-rkcard-pos { padding: 8px 10px 6px; }
    html.f26c .wtx-rkcard-pos small { font-size: 9.5px; letter-spacing: .06em; }
    html.f26c .wtx-rkcard-pos b { font-size: 26px; }
    html.f26c .wtx-rkcard-id { padding: 10px; }
    html.f26c .wtx-rkcard-name { font-size: 13px; }
    html.f26c .wtx-rkcard-sub { font-size: 11.5px; }
}
@media (max-width: 359.98px) {
    html.f26c .wtx-rkcards { grid-template-columns: 1fr; }
}

/* Resultados en la biografía (pedido por MAP el 20-11): con puesto, caja amarilla con la cifra en negro;
   DNF, DNS, DSQ... en rojo con el texto en blanco */
html.f26c .wtx-ath .wtx-tl-row .wtx-pos { background: var(--f26-gold); color: #111; }
html.f26c .wtx-ath .wtx-tl-row.is-out .wtx-pos { background: var(--f26-red); color: #fff; }

html.f26c .wtx-ath-summary { margin-bottom: 12px; padding: 12px 14px; border-left: 4px solid var(--f26-gold); border-radius: 0 10px 10px 0; background: var(--f26-gold-soft); }
html.f26c .wtx-ath-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
html.f26c .wtx-ath-links .wtx-pill { text-decoration: none; }

@media (max-width: 767.98px) {
    html.f26c .wtx-ath { padding: 12px; }
    html.f26c .wtx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    html.f26c .wtx-kpi { padding: 12px; }
    html.f26c .wtx-kpi b { font-size: 24px; }
    html.f26c .wtx-tl-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 9px; padding-right: 10px; }
    html.f26c .wtx-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Biografía: evolución en rankings en la página (F26AthleteRankHistory) ---------- */
html.f26c .f26-athp .rkh { margin: 0 0 24px; padding: 18px; }
html.f26c .rkh-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
html.f26c .rkh-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--f26-pill); background: var(--f26-tint); overflow-x: auto; }
html.f26c .rkh-tab {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 14px;
    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;
    cursor: pointer;
}
html.f26c .rkh-tab.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .rkh-tab:focus-visible,
html.f26c .rkh-more:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .rkh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
html.f26c .rkh-kpi { display: grid; gap: 1px; padding: 10px 14px; border-radius: 12px; background: var(--f26-tint); font-family: var(--f26-font); }
html.f26c .rkh-kpi span { color: var(--f26-mute); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .rkh-kpi b { color: var(--f26-ink); font-size: 24px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
html.f26c .rkh-kpi small { color: var(--f26-mute); font-size: 11.5px; font-weight: 600; }
html.f26c .rkh-kpi.is-now { background: var(--f26-ink); }
html.f26c .rkh-kpi.is-now span,
html.f26c .rkh-kpi.is-now small { color: var(--f26-on-ink-mute); }
html.f26c .rkh-kpi.is-now b { color: #fff; }
html.f26c .rkh-kpi.is-best { background: var(--f26-gold); }
html.f26c .rkh-kpi.is-best span,
html.f26c .rkh-kpi.is-best small { color: var(--f26-ink-3); }
html.f26c .rkh-kpi.is-up b { color: var(--f26-green-text); }
html.f26c .rkh-kpi.is-down b { color: var(--f26-red-dk); }
html.f26c .rkh-chart { position: relative; height: 240px; margin: 0 0 30px; padding-left: 40px; }
html.f26c .rkh-plot { position: relative; height: 100%; }
html.f26c .rkh-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
html.f26c .rkh-grid { stroke: var(--f26-line); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
html.f26c .rkh-line { stroke: var(--f26-red); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html.f26c .rkh-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border: 2px solid var(--f26-red);
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
html.f26c .rkh-dot.is-key { width: 13px; height: 13px; }
html.f26c .rkh-dot.is-best { border-color: var(--f26-ink); background: var(--f26-gold); }
html.f26c .rkh-dot.is-last { background: var(--f26-red); }
html.f26c .rkh-x.is-first { transform: none; }
html.f26c .rkh-x.is-last { transform: translateX(-100%); }
html.f26c .rkh-lbl.at-end { transform: translate(calc(-100% + 8px), calc(-100% - 8px)); }
html.f26c .rkh-lbl.at-start { transform: translate(-8px, calc(-100% - 8px)); }
html.f26c .rkh-y {
    position: absolute;
    left: 0;
    width: 36px;
    text-align: right;
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 700;
    transform: translateY(-50%);
    font-variant-numeric: tabular-nums;
}
html.f26c .rkh-x {
    position: absolute;
    top: calc(100% - 22px);
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    text-transform: capitalize;
}
html.f26c .rkh-lbl {
    position: absolute;
    padding: 1px 6px;
    border-radius: 6px;
    background: #fff;
    color: var(--f26-ink);
    font-size: 11px;
    font-weight: 900;
    transform: translate(-50%, calc(-100% - 8px));
    box-shadow: 0 0 0 1px var(--f26-line);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
html.f26c .rkh-lbl.is-best { background: var(--f26-gold); box-shadow: none; }
html.f26c .rkh-lbl.is-last { background: var(--f26-red); color: #fff; box-shadow: none; }
html.f26c .rkh-list { display: grid; gap: 4px; }
html.f26c .rkh-row {
    display: grid;
    grid-template-columns: 120px 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--f26-line);
    border-radius: 10px;
    background: #fff;
    font-family: var(--f26-font);
    font-size: 13px;
}
html.f26c .rkh-row.is-best { border-color: var(--f26-gold); background: var(--f26-gold-soft); }
html.f26c .rkh-date { color: var(--f26-text-2); font-weight: 700; }
html.f26c .rkh-rank { color: var(--f26-ink); font-size: 15px; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
html.f26c .rkh-ch { color: var(--f26-mute); font-weight: 700; }
html.f26c .rkh-ch.is-up { color: var(--f26-green-text); }
html.f26c .rkh-ch.is-down { color: var(--f26-red-dk); }
html.f26c .rkh-tag { padding: 2px 8px; border-radius: var(--f26-pill); background: var(--f26-gold); color: var(--f26-ink); font-size: 11px; font-weight: 800; }
html.f26c .rkh-more {
    justify-self: center;
    min-height: 36px;
    margin-top: 6px;
    padding: 0 16px;
    border: 1px solid var(--f26-ink);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}
@media (max-width: 767.98px) {
    html.f26c .f26-athp .rkh { padding: 12px; }
    html.f26c .rkh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.f26c .rkh-chart { height: 200px; }
    html.f26c .rkh-row { grid-template-columns: 96px 48px minmax(0, 1fr); gap: 8px; font-size: 12.5px; }
    html.f26c .rkh-tag { display: none; }
}

/* ===== Segunda ronda: «Solo España», vitrina de medallas, resumen por temporadas y filtros de la biografía ===== */
html.f26c .wtx { --wtx-gold: #F2B705; --wtx-silver: #B5BBC6; --wtx-bronze: #D9783F; }
html.f26c .wtx-esp {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
html.f26c .wtx-esp .wtx-flag { width: 22px; height: auto; border-radius: 3px; }
html.f26c .wtx-esp b { min-width: 22px; padding: 1px 7px; border-radius: var(--f26-pill); background: var(--f26-tint); font-size: 12px; text-align: center; }
html.f26c .wtx-esp:hover { border-color: var(--f26-ink-3); }
html.f26c .wtx-esp:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .wtx-esp.is-on { border-color: var(--f26-red); background: var(--f26-red); color: #fff; }
html.f26c .wtx-esp.is-on b { background: #fff; color: var(--f26-red); }
html.f26c .wtx-esp i { font-size: 11px; }

/* Vitrina de medallas */
html.f26c .wtx-med { margin: 18px 0 6px; }
html.f26c .wtx-med-tot { display: flex; flex-wrap: wrap; gap: 8px 48px; margin: 4px 0 14px; }
html.f26c .wtx-med-n { display: grid; gap: 2px; font-family: var(--f26-font); }
html.f26c .wtx-med-n b { color: var(--f26-ink); font-size: 44px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
html.f26c .wtx-med-n span { display: inline-flex; align-items: center; gap: 7px; color: var(--f26-text-2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .wtx-med-n span i { width: 12px; height: 12px; border-radius: 50%; }
html.f26c .wtx-med .is-g { --m: var(--wtx-gold); }
html.f26c .wtx-med .is-s { --m: var(--wtx-silver); }
html.f26c .wtx-med .is-b { --m: var(--wtx-bronze); }
html.f26c .wtx-med-n span i,
html.f26c .wtx-med-bar i { background: var(--m); }
html.f26c .wtx-med-bar { display: flex; gap: 3px; height: 14px; overflow: hidden; border-radius: var(--f26-pill); }
html.f26c .wtx-med-bar i { flex-basis: 0; min-width: 0; }
html.f26c .wtx-med-bar i[style*="flex-grow:0"] { display: none; }
html.f26c .wtx-med-bar--sm { width: min(260px, 100%); height: 7px; gap: 2px; }
html.f26c .wtx-med-groups { margin-top: 10px; }
html.f26c .wtx-med-group { border-bottom: 1px solid var(--f26-line); }
html.f26c .wtx-med-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px 40px 40px 24px;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    text-align: left;
    cursor: pointer;
}
html.f26c .wtx-med-row:focus-visible { outline: none; box-shadow: var(--f26-focus); border-radius: 8px; }
html.f26c .wtx-med-name { display: grid; gap: 8px; min-width: 0; font-size: 15px; font-weight: 800; }
html.f26c .wtx-med-c { color: var(--f26-ink); font-size: 18px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .wtx-med-c.is-g { color: #B88600; }
html.f26c .wtx-med-c.is-b { color: #B85A22; }
html.f26c .wtx-med-chev { justify-self: end; transition: transform .2s; }
html.f26c .wtx-med-group.is-open .wtx-med-chev { transform: rotate(180deg); }
html.f26c .wtx-med-list { display: grid; gap: 4px; padding: 0 0 12px; }
html.f26c .wtx-med-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border-radius: 10px;
    background: var(--f26-tint);
    color: inherit;
    text-decoration: none;
}
html.f26c .wtx-med-item:hover { background: var(--f26-line); }
html.f26c .wtx-med-pos { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--m); color: var(--f26-ink); font-weight: 900; font-size: 13px; }
html.f26c .wtx-med-pos.is-g { background: var(--wtx-gold); }
html.f26c .wtx-med-pos.is-s { background: var(--wtx-silver); }
html.f26c .wtx-med-pos.is-b { background: var(--wtx-bronze); color: #fff; }
html.f26c .wtx-med-time { font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* Resumen: cabecera con enlace «ver todas» y galería corta */
html.f26c .wtx-h--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 18px 0 10px; }
html.f26c .wtx-h--row .wtx-h { margin: 0; }
html.f26c .wtx-gal--mini { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Resultados: resumen por temporadas (franjas de TV) */
html.f26c .wtx-sea { display: grid; gap: 6px; margin: 0 0 14px; }
html.f26c .wtx-sea-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) minmax(0, 200px);
    align-items: stretch;
    width: 100%;
    min-height: 56px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--f26-line);
    border-radius: 12px;
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    text-align: left;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
html.f26c .wtx-sea-row:hover { border-color: var(--f26-ink-3); }
html.f26c .wtx-sea-row:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .wtx-sea-y { display: grid; place-items: center; background: var(--f26-ink); color: #fff; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .wtx-sea-row.is-total .wtx-sea-y { background: var(--f26-red); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .wtx-sea-row.is-on { border-color: var(--f26-gold); box-shadow: 0 0 0 2px var(--f26-gold); }
html.f26c .wtx-sea-row.is-on .wtx-sea-y { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .wtx-sea-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 6px; padding: 6px 12px; }
html.f26c .wtx-sea-st { display: grid; justify-items: center; gap: 1px; padding: 4px 2px; border-radius: 10px; background: var(--f26-tint); }
html.f26c .wtx-sea-st b { font-size: 17px; font-weight: 900; line-height: 1.15; font-variant-numeric: tabular-nums; }
html.f26c .wtx-sea-st small { color: var(--f26-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
html.f26c .wtx-sea-st.is-gold { background: var(--f26-gold); }
html.f26c .wtx-sea-st.is-gold small { color: var(--f26-ink-3); }
html.f26c .wtx-sea-st.is-best b { color: var(--f26-red); }
html.f26c .wtx-sea-meds { display: flex; flex-wrap: wrap; align-content: center; gap: 4px; padding: 6px 14px 6px 4px; }
html.f26c .wtx-sea-meds i { width: 12px; height: 12px; border-radius: 50%; }
html.f26c .wtx-sea-meds i.is-g { background: var(--wtx-gold); }
html.f26c .wtx-sea-meds i.is-s { background: var(--wtx-silver); }
html.f26c .wtx-sea-meds i.is-b { background: var(--wtx-bronze); }

/* Selector de temporada (nativo, con el aspecto del filtro de países) */
html.f26c .wtx-select { position: relative; display: inline-flex; flex: 0 1 230px; align-items: center; min-width: 0; }
html.f26c .wtx-select i { position: absolute; left: 14px; color: var(--f26-mute); pointer-events: none; }
html.f26c .wtx-select select {
    width: 100%;
    height: 42px;
    padding: 0 34px 0 38px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23555' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13px;
    font-weight: 800;
    appearance: none;
    cursor: pointer;
}
html.f26c .wtx-select select:focus-visible { outline: none; box-shadow: var(--f26-focus); }

@media (max-width: 767.98px) {
    html.f26c .wtx-esp { order: 2; }
    html.f26c .wtx-med-tot { gap: 8px 28px; }
    html.f26c .wtx-med-n b { font-size: 34px; }
    html.f26c .wtx-med-row { grid-template-columns: minmax(0, 1fr) 30px 30px 30px 20px; }
    html.f26c .wtx-med-name { font-size: 14px; }
    html.f26c .wtx-med-item { grid-template-columns: 30px minmax(0, 1fr); }
    html.f26c .wtx-med-time { display: none; }
    html.f26c .wtx-gal--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    html.f26c .wtx-sea-row { grid-template-columns: 58px minmax(0, 1fr); }
    html.f26c .wtx-sea-y { font-size: 14px; }
    html.f26c .wtx-sea-row.is-total .wtx-sea-y { font-size: 11px; }
    html.f26c .wtx-sea-stats { gap: 4px; padding: 6px; }
    html.f26c .wtx-sea-st b { font-size: 15px; }
    html.f26c .wtx-sea-st small { font-size: 9px; letter-spacing: 0; }
    html.f26c .wtx-sea-meds { display: none; }
    html.f26c .wtx-select { flex: 1 1 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .wtx-med-chev,
    html.f26c .wtx-esp { transition: none; }
}
html.f26c .wtx-sea-row.is-total .wtx-sea-meds { visibility: hidden; }

/* Comparativa de dos deportistas en la fila abierta (MAP, 24-11): botón, buscador del rival y la comparativa de FETRI */
html.f26c .wtx-detail .f26-cmp { margin: 14px 0 4px; }
html.f26c .wtx-cmp-btn {
    display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0;
    min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
    background: var(--f26-ink); color: #fff; font: 800 12.5px/1 var(--f26-font); cursor: pointer;
}
html.f26c .wtx-cmp-btn i { color: var(--f26-gold); }
html.f26c .wtx-cmp-btn:hover { background: var(--f26-red); }
html.f26c .wtx-cmp-btn:hover i { color: #fff; }
html.f26c .wtx-cmp-btn:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .wtx-cmp-pick {
    margin: 12px 0 0; padding: 10px; border-radius: 12px; background: #fff;
    box-shadow: var(--f26-shadow-1), inset 0 0 0 1px var(--f26-line);
}
html.f26c .wtx-cmp-pick__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
html.f26c .wtx-cmp-pick__head b { color: var(--f26-ink); font: 900 13px/1.2 var(--f26-font); letter-spacing: .06em; text-transform: uppercase; }
html.f26c .wtx-cmp-pick__x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--f26-tint); color: var(--f26-ink); cursor: pointer; }
html.f26c .wtx-cmp-pick__x:hover { background: var(--f26-ink); color: #fff; }
html.f26c .wtx-cmp-pick__s { position: relative; --f26-clear-x: 20px; margin: 0 0 8px; }
html.f26c .wtx-cmp-pick__s > i { position: absolute; top: 50%; left: 12px; color: var(--f26-mute); transform: translateY(-50%); pointer-events: none; }
html.f26c .wtx-cmp-pick__s input {
    width: 100%; height: 40px; padding: 0 40px 0 34px; border: 1px solid var(--f26-line); border-radius: 10px;
    background: #fff; color: var(--f26-ink); font: 600 14px/1 var(--f26-font); -webkit-appearance: none; appearance: none;
}
html.f26c .wtx-cmp-pick__s input::-webkit-search-cancel-button { display: none; }
html.f26c .wtx-cmp-pick__s input:focus { border-color: var(--f26-ink); outline: 0; box-shadow: 0 0 0 3px rgba(253, 185, 19, .45); }
html.f26c .wtx-cmp-pick__list { display: grid; gap: 4px; max-height: 300px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
html.f26c .wtx-cmp-pick__list button {
    display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
    width: 100%; min-height: 40px; padding: 0 10px 0 0; border: 0; border-radius: 8px; overflow: hidden;
    background: var(--f26-tint); color: var(--f26-ink); font: 700 13px/1.2 var(--f26-font); text-align: left; cursor: pointer;
}
html.f26c .wtx-cmp-pick__list button:hover { background: var(--f26-tint-2); }
html.f26c .wtx-cmp-pick__list button:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .wtx-cmp-pick__pos { display: grid; place-items: center; align-self: stretch; background: var(--f26-ink); color: #fff; font-size: 12px; font-weight: 900; }
html.f26c .wtx-cmp-pick__nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
html.f26c .wtx-cmp-pick__c { color: var(--f26-mute); font-size: 11px; font-weight: 800; }
html.f26c .wtx-cmp-pick__t { font-size: 12.5px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* ---------- Replay de World Triathlon con el azul de World Triathlon (MAP, 25-11) ---------- */
html.f26c .wtx-rp { --wtx-b: #0047BA; --wtx-b-dk: #00307D; --wtx-b-xd: #001C4D; }
html.f26c .wtx-rp .f26-rp { background: linear-gradient(180deg, var(--wtx-b-dk) 0%, var(--wtx-b-xd) 100%); }
html.f26c .wtx-rp .f26-rp__head { background: var(--wtx-b); }
html.f26c .wtx-rp .f26-rp__head::after { background: linear-gradient(90deg, #4FC3F7, #fff, var(--wtx-b)); }
html.f26c .wtx-rp .f26-rp__share { color: var(--wtx-b); }
html.f26c .wtx-rp .f26-rp__play { background: #fff; color: var(--wtx-b); }
html.f26c .wtx-rp .f26-rp__play:hover { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .wtx-rp .f26-rp__row { background: rgba(255, 255, 255, .07); }
html.f26c .wtx-rp .f26-rp__row.is-lead { background: rgba(253, 185, 19, .14); }
html.f26c .wtx-rp .f26-rp__pos { background: var(--wtx-b); }
html.f26c .wtx-rp .f26-rp__row.is-out .f26-rp__pos { background: #3A4A66; }
html.f26c .wtx-rp .f26-rp__mv.is-up,
html.f26c .wtx-rp .f26-rp__mv.is-down { box-shadow: 0 0 0 2px var(--wtx-b-xd); }

/* ---------- Fila abierta: barra con «Compartir» y «Comparar» a la izquierda y el perfil de WT a la derecha (MAP, 25-11) ---------- */
html.f26c .wtx-acts {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
    margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--f26-line);
}
html.f26c .wtx-acts__l { display: flex; flex-wrap: wrap; gap: 8px; }
html.f26c .wtx-act {
    display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px;
    border: 0; border-radius: 999px; background: var(--f26-ink); color: #fff;
    font: 800 12.5px/1 var(--f26-font); text-decoration: none; cursor: pointer;
}
html.f26c .wtx-act:hover { background: var(--f26-red); color: #fff; }
html.f26c .wtx-act i { color: var(--f26-gold); }
html.f26c .wtx-act--wt { margin-left: auto; background: #0047BA; }
html.f26c .wtx-act--wt i { color: #fff; }
html.f26c .wtx-act--wt:hover { background: #00307D; }
@media (max-width: 575.98px) {
    html.f26c .wtx-sm-hide { display: none; }
    html.f26c .wtx-act { padding: 0 13px; font-size: 12px; }
}

/* ---------- Elegir rival: diálogo encima de todo (MAP, 25-11) ---------- */
html.f26c .wtx-cmpdlg {
    position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center; padding: 16px;
    background: rgba(12, 12, 18, .62); backdrop-filter: blur(2px);
    animation: wtx-dlg-in .18s ease-out both;
}
@keyframes wtx-dlg-in { from { opacity: 0; } to { opacity: 1; } }
html.f26c .wtx-cmpdlg__box {
    display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(78vh, 720px);
    border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden;
}
html.f26c .wtx-cmpdlg__head {
    display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
    background-color: var(--f26-ink); background-image: var(--f26-tex); color: #fff;
}
html.f26c .wtx-cmpdlg__ico { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--f26-red); }
html.f26c .wtx-cmpdlg__ttl { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
html.f26c .wtx-cmpdlg__ttl b { font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
html.f26c .wtx-cmpdlg__ttl span { overflow: hidden; color: var(--f26-gold); font-size: 12.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .wtx-cmpdlg__x {
    display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
html.f26c .wtx-cmpdlg__x:hover { background: var(--f26-red); }
html.f26c .wtx-cmpdlg .wtx-cmp-pick__s { margin: 12px 12px 6px; }
html.f26c .wtx-cmpdlg .wtx-cmp-pick__list { flex: 1 1 auto; max-height: none; margin: 0; padding: 0 12px 12px; overflow-y: auto; }
html.f26c .wtx-cmpdlg .wtx-cmp-pick__list button.is-on { background: #FFF6DA; box-shadow: inset 3px 0 0 var(--f26-gold); }
@media (max-width: 575.98px) {
    html.f26c .wtx-cmpdlg { align-items: end; padding: 0; }
    html.f26c .wtx-cmpdlg__box { width: 100%; max-height: 86vh; border-radius: 16px 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) { html.f26c .wtx-cmpdlg { animation: none; } }

/* ---------- Rankings de World Triathlon, 25-11 (MAP) ----------
   Los rankings en una columna a la izquierda con buscador; esqueleto al cargar; edad y pruebas en columnas en
   escritorio; sin «puntos»; mayor subida y bajada al final. En el móvil, buscador y rankings en una fila encima. */
html.f26c .wtx-rk-layout { display: grid; gap: 14px; }
html.f26c .wtx-rk-nav { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
html.f26c .wtx-rk-find { position: relative; display: flex; align-items: center; }
html.f26c .wtx-rk-find > i { position: absolute; left: 13px; color: var(--f26-mute); font-size: 13px; pointer-events: none; }
html.f26c .wtx-rk-find input {
    width: 100%; height: 40px; padding: 0 34px 0 36px; border: 1px solid var(--f26-line); border-radius: 999px;
    background: #fff; color: var(--f26-ink); font: 700 13px var(--f26-font);
}
html.f26c .wtx-rk-find input::-webkit-search-cancel-button { display: none; }
html.f26c .wtx-rk-find input:focus { outline: none; border-color: var(--f26-ink); box-shadow: var(--f26-focus); }
html.f26c .wtx-rk-find .f26-clear { position: absolute; right: 8px; }
html.f26c .wtx-rk-nav .wtx-rk-types { margin: 0; }
html.f26c .wtx-rk-none { margin: 4px 2px; color: var(--f26-mute); font-size: 12.5px; font-weight: 700; }
html.f26c .wtx-rk-main { min-width: 0; }
@media (min-width: 992px) {
    html.f26c .wtx-rk-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
    html.f26c .wtx-rk-nav { position: sticky; top: calc(var(--f26-head-h, 60px) + 12px); max-height: calc(100vh - var(--f26-head-h, 60px) - 24px); }
    html.f26c .wtx-rk-nav .wtx-rk-types { flex-direction: column; gap: 6px; padding: 2px; overflow: auto; }
    html.f26c .wtx-rk-nav .wtx-race { min-width: 0; padding: 9px 12px; border-left: 4px solid transparent; }
    html.f26c .wtx-rk-nav .wtx-race.is-on { border-left-color: var(--f26-gold); }
    html.f26c .wtx-rk-nav .wtx-race-name, html.f26c .wtx-rk-nav .wtx-race-meta { overflow: hidden; text-overflow: ellipsis; }
}

/* Columnas: edad y pruebas solo en escritorio (en el móvil siguen bajo el nombre) */
html.f26c .wtx-rk-cols { display: none; }
html.f26c .wtx-rk-col { display: none; }
html.f26c .wtx-row--rk .wtx-time b { font-size: 15px; }
@media (min-width: 992px) {
    html.f26c .wtx-row--rk .wtx-row-main,
    html.f26c .wtx-rk-cols { grid-template-columns: 50px 40px minmax(0, 1fr) 56px 64px 64px 92px 20px; }
    html.f26c .wtx-rk-cols {
        display: grid; align-items: center; gap: 12px; padding: 8px 14px 8px 0; border-radius: 10px; background: var(--f26-ink);
        color: rgba(255, 255, 255, .78); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    }
    html.f26c .wtx-rk-cols > span:first-child { text-align: center; }
    html.f26c .wtx-rk-cols > span:nth-child(2) { grid-column: 2 / 4; }
    html.f26c .wtx-rk-cols > span:nth-child(n+4) { text-align: center; }
    html.f26c .wtx-rk-cols > span:nth-child(6) { text-align: right; }
    html.f26c .wtx-rk-col { display: block; color: var(--f26-ink); font-size: 14px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
    html.f26c .wtx-row--rk .wtx-sub { display: none; }
    html.f26c .wtx-row--rk .wtx-time { justify-items: end; }
}

/* Esqueleto */
html.f26c .wtx-rk-sk { display: flex; flex-direction: column; gap: 14px; }
html.f26c .wtx-rk-sk span { display: block; }
html.f26c .wtx-rk-sk__facts { display: flex; flex-wrap: wrap; gap: 6px; }
html.f26c .wtx-rk-sk__facts span { width: 170px; height: 34px; border-radius: 999px; background: var(--sk-soft); }
html.f26c .wtx-rk-sk__facts span:nth-child(2) { width: 210px; }
html.f26c .wtx-rk-sk__pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; max-width: 620px; margin: 0 auto; width: 100%; }
html.f26c .wtx-rk-sk__p { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 12px; background: var(--sk-soft); }
html.f26c .wtx-rk-sk__p.is-p1 { order: 2; padding-top: 22px; }
html.f26c .wtx-rk-sk__p.is-p2 { order: 1; }
html.f26c .wtx-rk-sk__p.is-p3 { order: 3; }
html.f26c .wtx-rk-sk__av { width: 68px; height: 68px; border-radius: 12px; background: var(--sk-bar); }
html.f26c .wtx-rk-sk__p.is-p1 .wtx-rk-sk__av { width: 84px; height: 84px; }
html.f26c .wtx-rk-sk__av.is-sm { width: 40px; height: 40px; border-radius: 8px; }
html.f26c .wtx-rk-sk__l { width: 70%; height: 12px; border-radius: 6px; background: var(--sk-bar); }
html.f26c .wtx-rk-sk__l.is-s { width: 40%; }
html.f26c .wtx-rk-sk__rows { display: flex; flex-direction: column; gap: 6px; }
html.f26c .wtx-rk-sk__row { display: grid; grid-template-columns: 50px 40px minmax(0, 1fr) 80px; align-items: center; gap: 12px; height: 58px; padding-right: 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--f26-line); overflow: hidden; }
html.f26c .wtx-rk-sk__pos { align-self: stretch; background: var(--f26-ink); opacity: .85; }
html.f26c .wtx-rk-sk__nm { display: flex !important; flex-direction: column; gap: 6px; }
html.f26c .wtx-rk-sk__nm span { width: 55%; height: 12px; border-radius: 6px; background: var(--sk-bar); }
html.f26c .wtx-rk-sk__nm span + span { width: 30%; height: 9px; background: var(--sk-soft); }
html.f26c .wtx-rk-sk__pill { height: 26px; border-radius: 7px; background: var(--sk-bar); }
@media (max-width: 767.98px) {
    html.f26c .wtx-rk-sk__row { grid-template-columns: 42px 36px minmax(0, 1fr) 64px; gap: 9px; height: 56px; }
    html.f26c .wtx-rk-sk__av { width: 52px; height: 52px; }
    html.f26c .wtx-rk-sk__p.is-p1 .wtx-rk-sk__av { width: 64px; height: 64px; }
}

/* Mayor subida y bajada */
html.f26c .wtx-rk-stats { margin: 18px 0 6px; }
html.f26c .wtx-rk-stats__t { margin: 0 0 8px; color: var(--f26-ink); font: 900 14px/1.2 var(--f26-font) !important; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .wtx-rk-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html.f26c .wtx-rk-stat {
    display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; border-left: 4px solid var(--f26-ink-3, #5A5A66);
    border-radius: 10px; background: #fff; box-shadow: var(--f26-shadow-1), inset 0 0 0 1px var(--f26-line);
}
html.f26c .wtx-rk-stat.is-up { border-left-color: var(--f26-green); }
html.f26c .wtx-rk-stat.is-down { border-left-color: var(--f26-red); }
html.f26c .wtx-rk-stat__k { display: flex; align-items: center; gap: 6px; color: var(--f26-mute); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
html.f26c .wtx-rk-stat.is-up .wtx-rk-stat__k i { color: var(--f26-green); }
html.f26c .wtx-rk-stat.is-down .wtx-rk-stat__k i { color: var(--f26-red); }
html.f26c .wtx-rk-stat__n { overflow: hidden; color: var(--f26-ink); font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .wtx-rk-stat__v { color: var(--f26-text-2, #3A3A44); font-size: 12.5px; font-weight: 700; }
html.f26c .wtx-rk-stat__big { margin-right: 4px; color: var(--f26-ink); font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .wtx-rk-stat.is-up .wtx-rk-stat__big { color: var(--f26-green-text); }
html.f26c .wtx-rk-stat.is-down .wtx-rk-stat__big { color: var(--f26-red); }
@media (max-width: 767.98px) {
    html.f26c .wtx-rk-stats__grid { grid-template-columns: minmax(0, 1fr); }
}
