/* =====================================================================
   Rediseño 2026 · Comparativa de dos deportistas en «Deportistas»
   (Components/F26/F26AthleteDuel.razor). Grafismo de TV: A en rojo a la
   izquierda, B en tinta a la derecha, el mejor valor en dorado.
   ===================================================================== */
html.f26c .f26-duel {
    --dA: var(--f26-red);
    --dB: var(--f26-ink-3);
    margin-bottom: 24px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    overflow: hidden;
    font-family: var(--f26-font);
}

/* ---------- Cabecera ---------- */
html.f26c .f26-duel-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 22px 24px 26px;
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .f26-duel-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); pointer-events: none; }
html.f26c .f26-duel-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--f26-grad-accent); }
html.f26c .f26-duel-card { display: flex; align-items: center; gap: 16px; min-width: 0; }
html.f26c .f26-duel-card--b { flex-direction: row-reverse; text-align: right; }
html.f26c .f26-duel-photo {
    flex: none;
    display: grid;
    place-items: center;
    /* Fotos rectangulares (retrato) con las esquinas redondeadas */
    width: 84px;
    height: 104px;
    border-radius: 16px;
    background: var(--f26-ink-3);
    box-shadow: 0 0 0 3px var(--dA);
    overflow: hidden;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}
html.f26c .f26-duel-card--b .f26-duel-photo { box-shadow: 0 0 0 3px #fff; }
html.f26c .f26-duel-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
html.f26c .f26-duel-who { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
html.f26c .f26-duel-who .n { font-size: 20px; font-weight: 900; line-height: 1.15; text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; }
html.f26c .f26-duel-who .m { display: inline-flex; align-items: center; gap: 6px; color: var(--f26-on-ink-mute); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
html.f26c .f26-duel-card--b .f26-duel-who .m { justify-content: flex-end; }
html.f26c .f26-duel-who .flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
html.f26c .f26-duel-who .y { padding: 1px 7px; border-radius: var(--f26-pill); background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .f26-duel-who .c { color: var(--f26-on-ink-mute); font-size: 12px; font-weight: 600; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-duel-card--a .f26-duel-who .n { box-shadow: inset 0 -3px 0 var(--dA); align-self: flex-start; }
html.f26c .f26-duel-card--b .f26-duel-who .n { box-shadow: inset 0 -3px 0 #fff; align-self: flex-end; }

html.f26c .f26-duel-score { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
html.f26c .f26-duel-score__k { color: var(--f26-gold); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
html.f26c .f26-duel-score__n { display: inline-flex; align-items: center; gap: 10px; font-size: 48px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
html.f26c .f26-duel-score__n i { font-style: normal; color: var(--f26-on-ink-mute); font-size: 30px; }
html.f26c .f26-duel-score__n b { color: #fff; font-size: 48px; font-weight: 900; line-height: 1; }
html.f26c .f26-duel-score__n b.lead { color: var(--f26-gold); }
html.f26c .f26-duel-score__sub { color: var(--f26-on-ink-mute); font-size: 12px; font-weight: 700; }
html.f26c .f26-duel-score__src { color: var(--f26-on-ink-mute); font-size: 10.5px; font-weight: 700; }
html.f26c .f26-duel-split { display: flex; width: 100%; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.12); }
html.f26c .f26-duel-split .a { background: var(--dA); }
html.f26c .f26-duel-split .b { background: #fff; }
html.f26c .f26-duel-spin {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: var(--f26-gold);
    border-radius: 50%;
    animation: f26-duel-spin .8s linear infinite;
}
@keyframes f26-duel-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html.f26c .f26-duel-spin { animation-duration: 2.4s; } }

/* ---------- Bloques ---------- */
html.f26c .f26-duel-block { padding: 18px 24px 20px; border-top: 1px solid var(--f26-line); }
html.f26c .f26-duel-hero + .f26-duel-block { border-top: 0; }
/* Últimos 10 o todos: botones agrupados, como los selectores de vista */
html.f26c .f26-duel-scope {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 12px 24px;
    border-top: 1px solid var(--f26-line);
    background: var(--f26-tint, #F3F4F6);
}
html.f26c .f26-duel-scope .k {
    margin-right: 8px;
    color: var(--f26-text-2, #555);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-duel-scope button {
    height: 34px;
    padding: 0 16px;
    border: 1px solid var(--f26-line);
    border-radius: var(--f26-pill, 999px);
    background: #fff;
    color: var(--f26-ink);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .f26-duel-scope button:hover { border-color: var(--f26-ink); }
html.f26c .f26-duel-scope button.is-on { border-color: var(--f26-ink); background: var(--f26-ink); color: #fff; }
html.f26c .f26-duel-scope button:focus-visible { outline: 3px solid var(--f26-gold); outline-offset: 2px; }
html.f26c .f26-duel-scope + .f26-duel-block { border-top: 0; }
@media (max-width: 575.98px) {
    html.f26c .f26-duel-scope { padding: 10px; }
    html.f26c .f26-duel-scope .k { width: 100%; margin: 0 0 2px; }
    html.f26c .f26-duel-scope button { flex: 1 1 0; padding: 0 8px; }
}
html.f26c .f26-duel-h {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding-left: 10px;
    border-left: 4px solid var(--f26-red);
    color: var(--f26-ink);
    font-size: 13px !important;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .f26-duel-h__n { padding: 1px 8px; border-radius: var(--f26-pill); background: var(--f26-ink); color: #fff; font-size: 11px; letter-spacing: 0; }
html.f26c .f26-duel-h__n:empty { display: none; }
html.f26c .f26-duel-note { margin: 8px 0 0; color: var(--f26-mute); font-size: 11.5px; text-align: center; }
html.f26c .f26-duel-empty { margin: 0; padding: 8px 0; color: var(--f26-mute); font-size: 13px; }
html.f26c .f26-duel-load { display: flex; align-items: center; gap: 10px; color: var(--f26-mute); font-size: 13px; font-weight: 700; }
html.f26c .f26-duel-load .f26-duel-spin { border-color: var(--f26-tint-2); border-top-color: var(--f26-red); }

/* Filas enfrentadas: valor A | etiqueta | valor B */
html.f26c .f26-duel-rows { list-style: none; margin: 0; padding: 0; }
html.f26c .f26-duel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 200px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding: 4px 0;
    border-bottom: 1px solid var(--f26-tint-2);
}
html.f26c .f26-duel-row:last-child { border-bottom: 0; }
html.f26c .f26-duel-k {
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-align: center;
    text-transform: uppercase;
}
html.f26c .f26-duel-v { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
html.f26c .f26-duel-v.a { justify-content: flex-end; }
html.f26c .f26-duel-v.b { flex-direction: row-reverse; justify-content: flex-end; }
html.f26c .f26-duel-v b {
    min-width: 56px;
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 15px;
    font-weight: 900;
    text-align: center;
}
html.f26c .f26-duel-v.a b { box-shadow: inset 3px 0 0 var(--dA); }
html.f26c .f26-duel-v.b b { box-shadow: inset -3px 0 0 var(--dB); }
html.f26c .f26-duel-v.best b { background: var(--f26-gold); }
html.f26c .f26-duel-v small { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* Barras enfrentadas */
html.f26c .f26-duel-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 26px; }
html.f26c .f26-duel-bar.a { flex-direction: row-reverse; }
html.f26c .f26-duel-bar i { display: block; height: 14px; min-width: 3px; border-radius: 3px; }
html.f26c .f26-duel-bar.a i { background: var(--dA); }
html.f26c .f26-duel-bar.b i { background: var(--dB); }
html.f26c .f26-duel-bar b { flex: none; min-width: 40px; padding: 2px 8px; border-radius: var(--f26-pill); background: var(--f26-tint); color: var(--f26-ink); font-size: 13px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
html.f26c .f26-duel-bar.best b { background: var(--f26-gold); }

/* Racha de puestos */
html.f26c .f26-duel-streaks { display: grid; gap: 8px; margin-top: 14px; }
html.f26c .f26-duel-streak { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 12px; }
html.f26c .f26-duel-streak .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--f26-ink); padding-left: 8px; border-left: 3px solid var(--dA); }
html.f26c .f26-duel-streak--b .who { border-left-color: var(--dB); }
html.f26c .f26-duel-streak ol { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0; padding: 0; }
html.f26c .f26-duel-streak li {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 28px;
    padding: 0 5px;
    border-radius: 7px;
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-duel-streak li.top { background: var(--f26-ink); color: #fff; }
html.f26c .f26-duel-streak li.p1 { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-duel-streak li.p2 { background: var(--f26-silver); color: var(--f26-ink); }
html.f26c .f26-duel-streak li.p3 { background: var(--f26-bronze); color: var(--f26-ink); }
html.f26c .f26-duel-streak li.out { background: var(--f26-red-soft); color: var(--f26-red-dk); }

/* ---------- Carreras en común ---------- */
html.f26c .f26-duel-chead,
html.f26c .f26-duel-race__row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 120px 120px minmax(0, 1.1fr) 34px;
    align-items: center;
    gap: 12px;
}
html.f26c .f26-duel-chead { padding: 0 12px 6px; color: var(--f26-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .f26-duel-chead .a, html.f26c .f26-duel-chead .b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
html.f26c .f26-duel-chead .a { color: var(--f26-red); }
html.f26c .f26-duel-common { list-style: none; margin: 0; padding: 0; border: 1px solid var(--f26-line); border-radius: 12px; overflow: hidden; }
html.f26c .f26-duel-race { border-bottom: 1px solid var(--f26-tint-2); }
html.f26c .f26-duel-race:last-child { border-bottom: 0; }
html.f26c .f26-duel-race:nth-child(even) { background: #FAFBFC; }
html.f26c .f26-duel-race__row { min-height: 58px; padding: 8px 12px; border-left: 4px solid transparent; }
html.f26c .f26-duel-race.is-win-1 .f26-duel-race__row { border-left-color: var(--dA); }
html.f26c .f26-duel-race.is-win-2 .f26-duel-race__row { border-left-color: var(--dB); }
html.f26c .f26-duel-race__ev { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-duel-race__ev .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--f26-ink); font-size: 13.5px; font-weight: 800; }
html.f26c .f26-duel-race__ev .s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--f26-mute); font-size: 11.5px; font-weight: 600; }
html.f26c .f26-duel-tag { align-self: flex-start; margin-top: 2px; padding: 1px 7px; border-radius: var(--f26-pill); background: var(--f26-tint-2); color: var(--f26-text-2); font-size: 10.5px; font-weight: 800; }
html.f26c .f26-duel-race__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 6px;
    border-radius: 10px;
    background: var(--f26-tint);
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-duel-race__side.a { box-shadow: inset 0 -3px 0 var(--dA); }
html.f26c .f26-duel-race__side.b { box-shadow: inset 0 -3px 0 var(--dB); }
html.f26c .f26-duel-race__side.won { background: var(--f26-gold); }
html.f26c .f26-duel-race__side .pos { color: var(--f26-ink); font-size: 16px; font-weight: 900; line-height: 1.1; }
html.f26c .f26-duel-race__side .tm { color: var(--f26-text-2); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-duel-race__side.won .tm { color: var(--f26-ink); }
html.f26c .f26-duel-race__gap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.f26c .f26-duel-race__gap .w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 900; color: var(--f26-ink); }
html.f26c .f26-duel-race__gap .w.a i { color: var(--f26-red); }
html.f26c .f26-duel-race__gap .w.b i { color: var(--f26-ink-3); }
html.f26c .f26-duel-race__gap .d { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-duel-race__btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--f26-line);
    border-radius: 50%;
    background: #fff;
    color: var(--f26-ink);
    font-size: 12px;
}
html.f26c .f26-duel-race__btn:hover { border-color: var(--f26-ink); }
html.f26c .f26-duel-race__btn:focus-visible { outline: 0; box-shadow: var(--f26-focus); }
html.f26c .f26-duel-race.is-open .f26-duel-race__btn { background: var(--f26-ink); border-color: var(--f26-ink); color: #fff; }
html.f26c .f26-duel-race.is-open .f26-duel-race__btn i { transform: rotate(180deg); }
html.f26c .f26-duel-splits { padding: 4px 12px 12px 16px; }
html.f26c .f26-duel-split-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-duel-split-row .k { padding: 3px 8px; border-radius: 6px; background: var(--f26-ink); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
html.f26c .f26-duel-split-row .v { font-size: 13px; font-weight: 800; color: var(--f26-ink); }
html.f26c .f26-duel-split-row .v.a { text-align: right; }
html.f26c .f26-duel-split-row .v.best { justify-self: start; padding: 1px 8px; border-radius: var(--f26-pill); background: var(--f26-gold); }
html.f26c .f26-duel-split-row .v.a.best { justify-self: end; }
html.f26c .f26-duel-split-row .g { color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-duel-split-row--tot { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--f26-line); }
html.f26c .f26-duel-split-row--tot .k { background: var(--f26-red); }

/* ---------- Puesto en los 10 últimos rankings (F26DuelRankChart) ---------- */
html.f26c .f26-drk-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
html.f26c .f26-drk-head .f26-duel-h { margin: 0; }
html.f26c .f26-drk-tabs { display: flex; gap: 4px; max-width: 100%; padding: 4px; border-radius: var(--f26-pill); background: var(--f26-tint); overflow-x: auto; scrollbar-width: none; }
html.f26c .f26-drk-tabs button {
    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: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .f26-drk-tabs button.is-on { background: var(--f26-ink); color: #fff; }
html.f26c .f26-drk-tabs button:focus-visible,
html.f26c .f26-drk-retry:focus-visible,
html.f26c .f26-drk-data summary:focus-visible { outline: none; box-shadow: var(--f26-focus); }
html.f26c .f26-drk-msg { min-height: 60px; }
html.f26c .f26-drk-retry {
    margin-left: 8px;
    padding: 4px 12px;
    border: 1px solid var(--f26-ink);
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .f26-drk-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
html.f26c .f26-drk-who {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    min-width: 0;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--f26-tint);
}
html.f26c .f26-drk-who .sw { flex: none; width: 18px; height: 4px; border-radius: 2px; background: var(--dA); }
html.f26c .f26-drk-who.b .sw { background: var(--dB); }
html.f26c .f26-drk-who .n { min-width: 0; color: var(--f26-ink); font-size: 13px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-drk-who .v b { color: var(--f26-ink); font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
html.f26c .f26-drk-who .v.is-none { color: var(--f26-mute); font-size: 12px; font-weight: 700; }
html.f26c .f26-drk-who .d { font-size: 12px; font-weight: 900; color: var(--f26-mute); font-variant-numeric: tabular-nums; }
html.f26c .f26-drk-who .d.is-up { color: var(--f26-green-text); }
html.f26c .f26-drk-who .d.is-down { color: var(--f26-red-dk); }
html.f26c .f26-drk-who .m { margin-left: auto; color: var(--f26-mute); font-size: 11.5px; font-weight: 700; }
html.f26c .f26-drk-chart { position: relative; height: 230px; margin: 0 0 30px; padding-left: 42px; }
html.f26c .f26-drk-plot { position: relative; height: 100%; }
html.f26c .f26-drk-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
html.f26c .f26-drk-grid { stroke: var(--f26-line); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
html.f26c .f26-drk-line { stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
html.f26c .f26-drk-line.a { stroke: var(--dA); }
html.f26c .f26-drk-line.b { stroke: var(--dB); }
html.f26c .f26-drk-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--dA);
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}
html.f26c .f26-drk-dot.b { border-color: var(--dB); }
html.f26c .f26-drk-dot.is-last { width: 14px; height: 14px; background: var(--dA); box-shadow: 0 0 0 2px #fff; }
html.f26c .f26-drk-dot.b.is-last { background: var(--dB); }
html.f26c .f26-drk-lbl {
    position: absolute;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--dA);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.4;
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 9px));
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
html.f26c .f26-drk-lbl.b { background: var(--dB); }
html.f26c .f26-drk-lbl.is-below { transform: translate(-50%, 9px); }
html.f26c .f26-drk-lbl.at-end { transform: translate(calc(-100% + 8px), calc(-100% - 9px)); }
html.f26c .f26-drk-lbl.at-end.is-below { transform: translate(calc(-100% + 8px), 9px); }
html.f26c .f26-drk-lbl.at-start { transform: translate(-8px, calc(-100% - 9px)); }
html.f26c .f26-drk-lbl.at-start.is-below { transform: translate(-8px, 9px); }
html.f26c .f26-drk-y {
    position: absolute;
    left: 0;
    width: 36px;
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    transform: translateY(-50%);
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-drk-x {
    position: absolute;
    top: calc(100% + 8px);
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
}
html.f26c .f26-drk-x.is-first { transform: translateX(-6px); }
html.f26c .f26-drk-x.is-last { transform: translateX(calc(-100% + 6px)); }
html.f26c .f26-drk-data { margin-top: 4px; }
html.f26c .f26-drk-data summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    border-radius: 6px;
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .f26-drk-data table { width: 100%; max-width: 520px; margin: 8px auto 0; border-collapse: collapse; font-size: 13px; }
html.f26c .f26-drk-data th,
html.f26c .f26-drk-data td { padding: 6px 10px; border-bottom: 1px solid var(--f26-tint-2); background: #fff !important; box-shadow: none !important; }
html.f26c .f26-drk-data thead th { color: var(--f26-mute) !important; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
html.f26c .f26-drk-data thead th.a { color: var(--dA) !important; }
html.f26c .f26-drk-data thead th.b { color: var(--f26-ink) !important; }
html.f26c .f26-drk-data tbody th { color: var(--f26-text-2) !important; font-weight: 700; text-align: left; }
html.f26c .f26-drk-data .a,
html.f26c .f26-drk-data .b { width: 30%; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .f26-drk-data td.best { background: var(--f26-gold-soft) !important; color: var(--f26-ink); font-weight: 900; }

/* ---------- Móvil ---------- */
@media (max-width: 767.98px) {
    html.f26c .f26-duel { border-radius: 12px; }
    html.f26c .f26-duel-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "a b" "s s";
        gap: 14px 10px;
        padding: 16px 12px 20px;
    }
    html.f26c .f26-duel-card--a { grid-area: a; }
    html.f26c .f26-duel-card--b { grid-area: b; }
    html.f26c .f26-duel-score { grid-area: s; }
    html.f26c .f26-duel-card, html.f26c .f26-duel-card--b { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    html.f26c .f26-duel-photo { width: 60px; height: 74px; border-radius: 12px; font-size: 22px; }
    html.f26c .f26-duel-who { align-items: center; }
    html.f26c .f26-duel-who .n { font-size: 14px; }
    html.f26c .f26-duel-card--a .f26-duel-who .n,
    html.f26c .f26-duel-card--b .f26-duel-who .n { align-self: center; }
    html.f26c .f26-duel-card--b .f26-duel-who .m { justify-content: center; }
    html.f26c .f26-duel-who .c { max-width: 100%; font-size: 10.5px; }
    html.f26c .f26-duel-score__n, html.f26c .f26-duel-score__n b { font-size: 38px; }
    html.f26c .f26-duel-split { max-width: 260px; }
    html.f26c .f26-duel-block { padding: 14px 10px 16px; }
    html.f26c .f26-duel-row { grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); gap: 8px; }
    html.f26c .f26-duel-k { padding: 4px 6px; font-size: 9.5px; letter-spacing: .02em; }
    html.f26c .f26-duel-v { flex-direction: column; gap: 2px; }
    html.f26c .f26-duel-v.a { align-items: flex-end; }
    html.f26c .f26-duel-v.b { flex-direction: column; align-items: flex-start; }
    html.f26c .f26-duel-v b { min-width: 48px; padding: 3px 8px; font-size: 13.5px; }
    html.f26c .f26-duel-v small { font-size: 10.5px; }
    html.f26c .f26-duel-bar b { min-width: 34px; padding: 2px 6px; font-size: 12px; }
    html.f26c .f26-duel-streak { grid-template-columns: 1fr; gap: 4px; }
    html.f26c .f26-duel-streak li { min-width: 28px; height: 26px; font-size: 11.5px; }
    html.f26c .f26-duel-chead { display: none; }
    html.f26c .f26-duel-race__row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px;
        grid-template-areas: "ev ev ev" "a b btn" "gap gap gap";
        gap: 8px;
        padding: 10px 10px 10px 8px;
    }
    html.f26c .f26-duel-race__ev { grid-area: ev; }
    html.f26c .f26-duel-race__side.a { grid-area: a; }
    html.f26c .f26-duel-race__side.b { grid-area: b; }
    html.f26c .f26-duel-race__gap { grid-area: gap; flex-direction: row; align-items: baseline; gap: 8px; }
    html.f26c .f26-duel-race__btn { grid-area: btn; }
    html.f26c .f26-duel-race__ev .t, html.f26c .f26-duel-race__ev .s { white-space: normal; }
    html.f26c .f26-duel-splits { padding: 4px 8px 10px; }
    html.f26c .f26-duel-split-row { grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr); gap: 6px; }
    html.f26c .f26-duel-split-row .g { display: none; }
    html.f26c .f26-duel-split-row .k { font-size: 9.5px; padding: 3px 4px; }
    html.f26c .f26-drk-legend { gap: 6px; }
    html.f26c .f26-drk-who { padding: 7px 9px; gap: 2px 8px; }
    html.f26c .f26-drk-who .n { flex: 1 1 100%; font-size: 12px; }
    html.f26c .f26-drk-who .m { margin-left: 0; }
    html.f26c .f26-drk-chart { height: 200px; padding-left: 34px; }
    html.f26c .f26-drk-y { width: 30px; font-size: 10.5px; }
    html.f26c .f26-drk-x { font-size: 10px; }
    html.f26c .f26-drk-x.is-odd { display: none; }
}
