/* ==========================================================================
   FETRI 2026 · Inicio (Pages/Dashboard.razor)
   Mismo marcado y la misma lógica; solo cambia el aspecto. Raíz: .dashboard-container
   ========================================================================== */

html.f26c .dashboard-container {
    margin-top: 0 !important;
    padding: 0 !important;
}
html.f26c .dashboard-container .dashboard-section { margin-bottom: 30px; }

/* ---------- Bloques: rótulo negro con textura (como los gráficos de TV) ---------- */
html.f26c .dashboard-container .section-card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
html.f26c .dashboard-container .section-divider { display: none; }

html.f26c .dashboard-container .section-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    margin: 0 0 14px !important;
    padding: 8px 10px 11px 20px;
    border-radius: var(--f26-r);
    background: var(--f26-ink);
    color: #fff;
}
html.f26c .dashboard-container .section-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .dashboard-container .section-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
html.f26c .dashboard-container .section-title {
    gap: 10px;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    letter-spacing: .05em !important;
    line-height: 1.15;
    text-transform: uppercase;
}
html.f26c .dashboard-container .section-title::before {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--f26-gold) !important;
}

/* Acciones del rótulo ("Ver todas", "Ver todos"): píldora dorada */
html.f26c .dashboard-container .section-header .btn,
html.f26c .dashboard-container .section-header .btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: var(--f26-pill) !important;
    background: var(--f26-gold) !important;
    color: var(--f26-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase;
    white-space: nowrap;
    transform: none !important;
}
html.f26c .dashboard-container .section-header .btn:hover,
html.f26c .dashboard-container .section-header .btn-see-all:hover { background: #fff !important; }
html.f26c .dashboard-container .section-header .btn-see-all i { color: var(--f26-ink) !important; font-size: 11px !important; }

/* ---------- Tarjeta base de los bloques ---------- */
html.f26c .dashboard-container .dashboard-card {
    border: 0 !important;
    border-radius: var(--f26-r) !important;
    background: #fff;
    box-shadow: var(--f26-shadow-1) !important;
}
html.f26c .dashboard-container .dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--f26-shadow-2) !important;
}
html.f26c .dashboard-container .card-title {
    color: var(--f26-ink);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
}
html.f26c .dashboard-container .card-text i,
html.f26c .dashboard-container .card-text .fas { color: var(--f26-red); }

/* ---------- Avisos ---------- */
html.f26c .dashboard-container .message-card {
    position: relative;
    border: 0 !important;
    border-radius: var(--f26-r) !important;
    background: #fff !important;
    box-shadow: var(--f26-shadow-1) !important;
}
html.f26c .dashboard-container .message-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--f26-ink);
}
html.f26c .dashboard-container .message-warning::before { background: var(--f26-gold); }
html.f26c .dashboard-container .message-alert::before { background: var(--f26-red); }
html.f26c .dashboard-container .message-card .card-body { padding: 18px 22px 18px 28px !important; }
html.f26c .dashboard-container .message-title {
    color: var(--f26-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}
html.f26c .dashboard-container .message-date {
    flex: none;
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: var(--f26-tint);
    color: var(--f26-text-2);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .message-content {
    color: var(--f26-text-2);
    font-size: 15px;
    line-height: 1.55;
}
html.f26c .dashboard-container .message-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    color: var(--f26-red-dk);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ---------- Noticias ---------- */
html.f26c .dashboard-container .f26-sec--news .cont-image {
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9;
    background: var(--f26-tint);
}
html.f26c .dashboard-container .f26-sec--news .fetri-img {
    max-height: 100% !important;
    padding: 12% 16% !important;
}
html.f26c .dashboard-container .f26-sec--news .card-body { padding: 14px 16px 16px !important; }
html.f26c .dashboard-container .f26-sec--news .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    font-size: 15px;
}
/* Si triatlon.org no responde, el bloque se queda con un aviso y el enlace (antes se veía y desaparecía) */
html.f26c .dashboard-container .f26-news-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 16px 18px;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    color: var(--f26-mute);
    font-size: 14px;
    font-weight: 600;
}
html.f26c .dashboard-container .f26-news-empty a { color: var(--f26-red-dk); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
html.f26c .dashboard-container .f26-sec--news .card-text {
    color: var(--f26-mute) !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ---------- Rejillas de tarjetas (eventos, resultados, deportistas) ---------- */
html.f26c .dashboard-container .card-container-centered {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
    gap: 16px !important;
    justify-items: stretch !important;
}
html.f26c .dashboard-container .f26-sec--athletes .card-container-centered {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}
/* Un único evento destacado ocupa dos columnas para no quedarse perdido */
@media (min-width: 768px) {
    html.f26c .dashboard-container .f26-sec--featured .card-container-centered:not(:has(> .col:nth-child(2))) > .col,
    html.f26c .dashboard-container .f26-sec--results .card-container-centered:not(:has(> .col:nth-child(2))) > .col { grid-column: span 2; }
}

/* ---------- Eventos destacados y últimos resultados ---------- */
html.f26c .dashboard-container .championship-header {
    isolation: isolate;
    gap: 10px;
    padding: 14px 16px 16px !important;
    background: var(--f26-ink) !important;
}
html.f26c .dashboard-container .f26-sec--results .championship-header {
    flex-direction: row;
    align-items: center;
}
html.f26c .dashboard-container .championship-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .dashboard-container .championship-header::after {
    height: 3px !important;
    background: var(--f26-grad-accent) !important;
}
html.f26c .dashboard-container .ch-header-top { flex-wrap: wrap; gap: 8px; }
html.f26c .dashboard-container .championship-level {
    padding: 6px 9px !important;
    border-radius: var(--f26-r-xs) !important;
    background: var(--f26-red) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .1em !important;
}
html.f26c .dashboard-container .ch-date-block { gap: 6px; justify-content: flex-end !important; }
html.f26c .dashboard-container .ch-date-block .ch-date-main,
html.f26c .dashboard-container .ch-date-block .countdown-badge {
    min-height: 28px;
    padding: 0 11px !important;
    border-radius: var(--f26-pill) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .ch-date-block .ch-date-main {
    background: #fff !important;
    color: var(--f26-ink) !important;
}
html.f26c .dashboard-container .countdown-badge {
    border: 0 !important;
    background: var(--f26-gold) !important;
    color: var(--f26-ink) !important;
    letter-spacing: .03em;
    text-transform: uppercase;
}
html.f26c .dashboard-container .countdown-badge.live,
html.f26c .dashboard-container .countdown-badge.today {
    background: var(--f26-red) !important;
    color: #fff !important;
}
html.f26c .dashboard-container .countdown-badge.past {
    background: rgba(255, 255, 255, .14) !important;
    color: var(--f26-on-ink-mute) !important;
}
html.f26c .dashboard-container .championship-card .card-body { padding: 16px 18px 18px !important; }
html.f26c .dashboard-container .championship-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 17px;
}
html.f26c .dashboard-container .championship-card .card-text {
    color: var(--f26-mute) !important;
    font-size: 13px !important;
    font-weight: 600;
}
html.f26c .dashboard-container .championship-footer .btn,
html.f26c .dashboard-container .f26-sec--results .card-body .btn-primary {
    min-height: 40px;
    padding: 0 18px !important;
    border-radius: var(--f26-pill) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
}

html.f26c .dashboard-container .championship-status {
    padding: 5px 10px !important;
    border-radius: var(--f26-pill);
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .dashboard-container .status-active { background: var(--f26-red) !important; color: #fff !important; }
html.f26c .dashboard-container .status-upcoming { background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .dashboard-container .status-ended { background: rgba(255, 255, 255, .14) !important; color: #fff !important; }

/* Ganadores */
html.f26c .dashboard-container .winner-card {
    gap: 10px;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    background: var(--f26-tint) !important;
}
html.f26c .dashboard-container .medal-icon {
    width: 32px;
    height: 32px;
    margin: 0 !important;
    border-radius: 8px;
    background: var(--f26-gold);
    color: var(--f26-ink) !important;
    font-size: 14px;
}
html.f26c .dashboard-container .winner-name {
    color: var(--f26-ink);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}
html.f26c .dashboard-container .winner-category { color: var(--f26-mute); font-size: 12px; }
html.f26c .dashboard-container .winner-time {
    padding: 5px 10px;
    border-radius: var(--f26-pill);
    background: #fff;
    color: var(--f26-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid var(--f26-line) !important;
    border-radius: 50% !important;
    color: var(--f26-ink) !important;
}
html.f26c .dashboard-container .pagination-info {
    color: var(--f26-mute);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ---------- Rankings ---------- */
html.f26c .dashboard-container .rk-panel {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html.f26c .dashboard-container .rk-cat-bar {
    gap: 8px !important;
    padding: 0 0 14px !important;
    border: 0 !important;
    background: transparent !important;
    scrollbar-width: none;
}
html.f26c .dashboard-container .rk-cat-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex-direction: row !important;
    gap: 8px !important;
    min-width: 0 !important;
    min-height: 44px;
    padding: 0 16px 0 6px !important;
    border: 1px solid var(--f26-line) !important;
    border-radius: var(--f26-pill) !important;
    background: #fff !important;
}
html.f26c .dashboard-container .rk-cat-btn:hover { border-color: var(--f26-ink) !important; }
html.f26c .dashboard-container .rk-cat-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: var(--f26-tint) !important;
    color: var(--f26-ink) !important;
    font-size: 13px !important;
}
html.f26c .dashboard-container .rk-cat-label {
    color: var(--f26-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .05em !important;
    white-space: nowrap;
}
html.f26c .dashboard-container .rk-cat-btn.active {
    border-color: var(--f26-red) !important;
    background: var(--f26-red) !important;
    box-shadow: 0 4px 12px rgba(207, 18, 47, .28);
}
html.f26c .dashboard-container .rk-cat-btn.active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .dashboard-container .rk-cat-btn.active .rk-cat-icon { background: rgba(255, 255, 255, .18) !important; color: #fff !important; }
html.f26c .dashboard-container .rk-cat-btn.active .rk-cat-label { color: #fff !important; }

/* Lista: tarjeta blanca con filas al estilo de la clasificación de TV */
html.f26c .dashboard-container .rk-table-wrap {
    padding: 6px 8px !important;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .dashboard-container .rk-table-wrap:has(> .rk-two-col) {
    padding: 0 !important;
    background: transparent;
    box-shadow: none;
}
html.f26c .dashboard-container .rk-two-col { gap: 16px !important; }
html.f26c .dashboard-container .rk-two-col > div {
    padding: 8px;
    border-radius: var(--f26-r);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
}
html.f26c .dashboard-container .rk-col-title {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 4px 4px 8px;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: var(--f26-r-sm);
    background: var(--f26-red) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
}

html.f26c .dashboard-container .rk-entry {
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    min-height: 58px;
    padding: 7px 6px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--f26-tint) !important;
    border-radius: 0;
    background: transparent !important;
}
html.f26c .dashboard-container .rk-entry:last-of-type { border-bottom: 0 !important; }
html.f26c .dashboard-container .rk-entry:hover { background: var(--f26-tint) !important; }
html.f26c .dashboard-container .rk-entry .rk-pos {
    width: 42px;
    height: 34px;
    border: 3px solid var(--f26-ink);
    border-radius: var(--f26-r-sm);
    background: #fff;
    color: var(--f26-ink);
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .rk-entry.gold .rk-pos { border-color: var(--f26-gold); background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .dashboard-container .rk-entry.silver .rk-pos { border-color: var(--f26-silver); background: var(--f26-silver) !important; color: var(--f26-ink) !important; }
html.f26c .dashboard-container .rk-entry.bronze .rk-pos { border-color: var(--f26-bronze); background: var(--f26-bronze) !important; color: #fff !important; }
html.f26c .dashboard-container .rk-name {
    color: var(--f26-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    text-transform: uppercase;
}
html.f26c .dashboard-container .ranking-actions { gap: 8px; }
html.f26c .dashboard-container .ranking-points-badge {
    min-width: 58px;
    padding: 6px 12px !important;
    border-radius: var(--f26-pill) !important;
    background: var(--f26-red) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .details-toggle {
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--f26-tint) !important;
    color: var(--f26-ink) !important;
    font-size: 13px !important;
}
html.f26c .dashboard-container .details-toggle:hover { background: var(--f26-ink) !important; color: #fff !important; }

html.f26c .dashboard-container .btn-full {
    min-height: 40px;
    padding: 0 16px !important;
    border: 1.5px solid var(--f26-ink) !important;
    border-radius: var(--f26-pill) !important;
    color: var(--f26-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
}
html.f26c .dashboard-container .btn-full:hover { background: var(--f26-ink) !important; color: #fff !important; }
html.f26c .dashboard-container .btn-full i { color: inherit; }

/* Pie de la lista: barra roja como en TV */
html.f26c .dashboard-container .rk-footer {
    margin-top: 12px;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: var(--f26-r);
    background: var(--f26-grad-red);
}
html.f26c .dashboard-container .rk-footer-info {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .05em;
}

/* Club: en escritorio, 1-5 y 6-10 en dos columnas */
@media (min-width: 992px) {
    html.f26c .dashboard-container .rk-table-wrap:has(> .rk-entry:nth-child(6)) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: repeat(5, auto) auto;
        grid-auto-flow: column;
        column-gap: 28px;
    }
    html.f26c .dashboard-container .rk-table-wrap:has(> .rk-entry:nth-child(6)) > :not(.rk-entry) {
        grid-row: 6;
        grid-column: 1 / -1;
    }
    html.f26c .dashboard-container .rk-table-wrap:has(> .rk-entry:nth-child(6)) > .rk-entry:nth-child(5),
    html.f26c .dashboard-container .rk-table-wrap:has(> .rk-entry:nth-child(6)) > .rk-entry:nth-child(10) { border-bottom: 0 !important; }
}

/* ---------- Ventana de puntos del ranking ---------- */
html.f26c .dashboard-container .rk-modal { border-radius: var(--f26-r-lg) !important; }
html.f26c .dashboard-container .rk-modal-header {
    position: relative;
    isolation: isolate;
    padding: 18px 20px 21px !important;
    background: var(--f26-red) !important;
}
html.f26c .dashboard-container .rk-modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .dashboard-container .rk-modal-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--f26-gold), var(--f26-orange) 50%, var(--f26-red-dk));
}
html.f26c .dashboard-container .rk-modal-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.f26c .dashboard-container .rk-modal-subtitle { opacity: .9; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
html.f26c .dashboard-container .rk-modal-icon { background: rgba(255, 255, 255, .16); border-radius: 12px; }
html.f26c .dashboard-container .rk-modal-close { width: 44px !important; height: 44px !important; background: rgba(255, 255, 255, .16) !important; }
html.f26c .dashboard-container .rk-summary { background: var(--f26-tint) !important; border-bottom: 0 !important; }
html.f26c .dashboard-container .rk-note {
    border: 0 !important;
    background: #fff !important;
    color: var(--f26-text-2) !important;
}
html.f26c .dashboard-container .rk-note i { color: var(--f26-red); }
html.f26c .dashboard-container .rk-stat-icon { background: var(--f26-red) !important; color: #fff !important; }
html.f26c .dashboard-container .rk-stat-value { color: var(--f26-ink) !important; font-weight: 900 !important; font-variant-numeric: tabular-nums; }
html.f26c .dashboard-container .rk-stat-label { color: var(--f26-mute) !important; }
html.f26c .dashboard-container .rk-table th {
    color: var(--f26-mute) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    border-bottom: 1px solid var(--f26-line) !important;
}
html.f26c .dashboard-container .rk-table td { border-bottom: 1px solid var(--f26-tint) !important; }
html.f26c .dashboard-container .rk-table .rk-pos {
    width: 32px;
    height: 28px;
    border-radius: var(--f26-r-xs);
    background: #fff;
    border: 2px solid var(--f26-ink);
    color: var(--f26-ink);
    font-weight: 900;
}
html.f26c .dashboard-container .rk-table .rk-pos-1 { background: var(--f26-gold) !important; border-color: var(--f26-gold); }
html.f26c .dashboard-container .rk-table .rk-pos-2 { background: var(--f26-silver) !important; border-color: var(--f26-silver); }
html.f26c .dashboard-container .rk-table .rk-pos-3 { background: var(--f26-bronze) !important; border-color: var(--f26-bronze); color: #fff; }
html.f26c .dashboard-container .rk-event-name { color: var(--f26-ink); font-weight: 700; }
html.f26c .dashboard-container .rk-modal .text-primary,
html.f26c .dashboard-container .rk-pts-m { color: var(--f26-ink) !important; }
html.f26c .dashboard-container .rk-pts-w,
html.f26c .dashboard-container .rk-pts-val[style],
html.f26c .dashboard-container .rk-mobile-breakdown span[style] { color: var(--f26-red) !important; }
html.f26c .dashboard-container .rk-total {
    border-radius: var(--f26-pill) !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .rk-total.rk-high { background: var(--f26-gold) !important; color: var(--f26-ink) !important; }
html.f26c .dashboard-container .rk-total.rk-mid { background: var(--f26-red) !important; color: #fff !important; }
html.f26c .dashboard-container .rk-total.rk-low { background: var(--f26-tint) !important; color: var(--f26-ink) !important; }
html.f26c .dashboard-container .rk-btn-close {
    min-height: 44px;
    padding: 0 18px !important;
    border-radius: var(--f26-pill) !important;
    background: var(--f26-ink) !important;
    color: #fff !important;
    white-space: nowrap;
}

/* ---------- Deportistas destacados ---------- */
html.f26c .dashboard-container .featured-athlete-card {
    display: flex;
    flex-direction: column;
    max-width: none !important;
    overflow: hidden;
    background: var(--f26-ink) !important;
}
html.f26c .dashboard-container .athlete-content { flex: 1; min-height: 0; }
html.f26c .dashboard-container .athlete-image-container {
    flex: none;
    width: 36% !important;
    min-width: 0 !important;
    max-width: 150px;
    height: auto !important;
    min-height: 200px;
    background: var(--f26-ink-2) !important;
}
/* Deportista sin foto: silueta clara sobre fondo oscuro */
html.f26c .dashboard-container .athlete-image-container > div.athlete-image { background: var(--f26-ink-2) !important; }
html.f26c .dashboard-container .athlete-image-container > div.athlete-image i { color: rgba(255, 255, 255, .22) !important; font-size: 3rem; }
html.f26c .dashboard-container .athlete-image.is-broken {
    object-fit: contain !important;
    padding: 28% 22%;
    opacity: .35;
    filter: invert(1);
}
html.f26c .dashboard-container .athlete-details {
    position: relative;
    isolation: isolate;
    min-width: 0;
    justify-content: flex-start !important;
    padding: 16px 16px 12px !important;
    background: var(--f26-ink) !important;
}
html.f26c .dashboard-container .athlete-details::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    pointer-events: none;
}
html.f26c .dashboard-container .athlete-name {
    margin-bottom: 12px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase;
}
html.f26c .dashboard-container .athlete-info-row {
    display: block !important;
    margin-bottom: 8px !important;
}
html.f26c .dashboard-container .athlete-info-label {
    width: auto !important;
    min-width: 0 !important;
    margin-bottom: 1px;
    opacity: 1 !important;
    color: var(--f26-gold);
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}
html.f26c .dashboard-container .athlete-info-value {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #fff;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
html.f26c .dashboard-container .athlete-flag {
    flex: none;
    width: 26px !important;
    max-width: none !important;
    height: 18px !important;
    margin: 0 !important;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 3px !important;
    box-shadow: none !important;
}
html.f26c .dashboard-container .athlete-rankings {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 12px 10px !important;
    background: #fff !important;
}
html.f26c .dashboard-container .ranking-title {
    color: var(--f26-mute) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
}
html.f26c .dashboard-container .ranking-value {
    color: var(--f26-ink) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    font-variant-numeric: tabular-nums;
}
html.f26c .dashboard-container .ranking-value.ranking-na { color: var(--f26-mute-2) !important; font-size: 16px !important; }

/* ---------- Pie del inicio ---------- */
html.f26c .dashboard-container .last-updated {
    margin-top: 8px;
    color: var(--f26-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .dashboard-container .loading-state p { color: var(--f26-mute); }

/* ==========================================================================
   Móvil
   ========================================================================== */
@media (max-width: 767.98px) {
    html.f26c .dashboard-container .dashboard-section { margin-bottom: 24px; }
    html.f26c .dashboard-container .section-header {
        min-height: 48px;
        padding: 6px 8px 9px 16px;
        border-radius: 12px;
    }
    html.f26c .dashboard-container .section-title { font-size: 15px !important; }
    html.f26c .dashboard-container .section-header .btn,
    html.f26c .dashboard-container .section-header .btn-see-all { min-height: 34px; padding: 0 12px !important; font-size: 11px !important; }

    /* Aviso: la fecha encima del título, para que el título use todo el ancho */
    html.f26c .dashboard-container .message-card .card-body { padding: 16px 16px 16px 22px !important; }
    html.f26c .dashboard-container .message-card .card-body > .d-flex:first-child {
        flex-direction: column-reverse;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    html.f26c .dashboard-container .message-title { font-size: 16px; }
    html.f26c .dashboard-container .message-content { font-size: 14px; }

    /* Noticias, eventos y deportistas: carrusel horizontal en lugar de una columna larguísima */
    html.f26c .dashboard-container .f26-sec--news .row,
    html.f26c .dashboard-container .f26-sec--featured .card-container-centered:has(> .col:nth-child(2)),
    html.f26c .dashboard-container .f26-sec--results .card-container-centered:has(> .col:nth-child(2)),
    html.f26c .dashboard-container .f26-sec--athletes .card-container-centered:has(> .col:nth-child(2)) {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 12px !important;
        margin: 0 calc(-1 * var(--f26-gutter));
        padding: 2px var(--f26-gutter) 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--f26-gutter);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }
    html.f26c .dashboard-container .f26-sec--news .row::-webkit-scrollbar,
    html.f26c .dashboard-container .card-container-centered::-webkit-scrollbar { display: none; }
    html.f26c .dashboard-container .f26-sec--news .row > .col,
    html.f26c .dashboard-container .card-container-centered:has(> .col:nth-child(2)) > .col {
        flex: 0 0 84%;
        width: 84%;
        max-width: 84%;
        margin: 0;
        padding: 0;
        scroll-snap-align: start;
    }
    html.f26c .dashboard-container .f26-sec--news .dashboard-card:hover,
    html.f26c .dashboard-container .card-container-centered .dashboard-card:hover { transform: none; }

    /* Rankings: pestañas deslizables con aviso de que hay más */
    html.f26c .dashboard-container .rk-cat-bar {
        margin-right: calc(-1 * var(--f26-gutter));
        padding-right: var(--f26-gutter) !important;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent);
    }
    html.f26c .dashboard-container .rk-entry {
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        gap: 10px !important;
        padding: 6px 2px !important;
    }
    html.f26c .dashboard-container .rk-entry .rk-pos { width: 38px; height: 32px; font-size: 14px; }
    html.f26c .dashboard-container .rk-name { font-size: 13px !important; }
    html.f26c .dashboard-container .ranking-points-badge { min-width: 52px; padding: 5px 10px !important; font-size: 12px !important; }
    html.f26c .dashboard-container .ranking-actions { gap: 6px; }

    /* Ventana de puntos: hoja a pantalla completa desde abajo */
    /* (style.css centra todas las .modal-dialog con fixed + translate !important y width 90%) */
    html.f26c .dashboard-container .modal .modal-dialog {
        top: 0;
        left: 0;
        display: flex;
        align-items: flex-end;
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-width: none;
        margin: 0;
        transform: none !important;
    }
    html.f26c .dashboard-container .rk-modal {
        display: flex;
        flex-direction: column;
        max-height: 94dvh;
        border-radius: var(--f26-r-lg) var(--f26-r-lg) 0 0 !important;
    }
    html.f26c .dashboard-container .rk-events-body { flex: 1; min-height: 0; overflow-y: auto; }
    html.f26c .dashboard-container .rk-table-scroll { max-height: none !important; overflow: visible !important; }
    html.f26c .dashboard-container .rk-summary { padding: 14px 16px !important; }
    html.f26c .dashboard-container .rk-modal-footer { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; }
    /* desglose M / F bajo los puntos: una línea cada uno, sin separador */
    html.f26c .dashboard-container .rk-mobile-breakdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        margin-top: 5px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.25;
        white-space: nowrap;
    }
    html.f26c .dashboard-container .rk-mobile-breakdown .mx-1 { display: none; }

    /* Deportistas destacados */
    html.f26c .dashboard-container .athlete-image-container { width: 38% !important; min-height: 190px; }
    html.f26c .dashboard-container .athlete-name { font-size: 16px !important; }
    html.f26c .dashboard-container .athlete-rankings { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; padding: 10px 6px !important; }
    html.f26c .dashboard-container .ranking-value { font-size: 18px !important; }
}

/* ---------- Avisos con el grafismo de TV (F26Notice) ----------
   Una tarjeta por aviso: a la izquierda la fecha en una caja oscura (día grande, mes y la hora en dorado), y a la
   derecha el tipo en una pastilla, el título y el texto. Las líneas cortas seguidas (la lista de campeonatos de un
   aviso de inscripciones) van en franjas con una barra roja y, si llevan «nombre - lugar», el lugar en su pastilla. */
html.f26c .dashboard-container .f26-sec--notices .row { --bs-gutter-y: 12px; }
html.f26c .f26-ntc {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0 28px;
    padding: 22px 28px 22px 22px;
    border-radius: var(--f26-r, 12px);
    background: #fff;
    box-shadow: var(--f26-shadow-1);
    overflow: hidden;
}
html.f26c .f26-ntc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--f26-ink); }
html.f26c .f26-ntc--warn::before { background: var(--f26-gold); }
html.f26c .f26-ntc--alert::before { background: var(--f26-red); }
html.f26c .f26-ntc__date {
    position: relative; isolation: isolate; overflow: hidden;
    align-self: start;
    display: grid; justify-items: center; align-content: center; gap: 2px;
    min-height: 112px; padding: 12px 6px 10px;
    border-radius: 10px;
    background: var(--f26-ink);
    color: #fff;
    text-align: center;
    box-shadow: inset 0 -4px 0 var(--f26-red);
}
html.f26c .f26-ntc--warn .f26-ntc__date { box-shadow: inset 0 -4px 0 var(--f26-gold); }
html.f26c .f26-ntc__date::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); background-size: 160px auto; }
html.f26c .f26-ntc__date b { font-size: 38px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
html.f26c .f26-ntc__date span { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-ntc__date em { margin-top: 4px; color: var(--f26-gold); font-size: 13px; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .f26-ntc__body { min-width: 0; }
html.f26c .f26-ntc__kind {
    display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 4px;
    background: var(--f26-ink); color: #fff;
    font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
html.f26c .f26-ntc--warn .f26-ntc__kind { background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-ntc--alert .f26-ntc__kind { background: var(--f26-red); }
html.f26c .f26-ntc__title { margin: 0 0 10px; color: var(--f26-ink); font-size: 20px; font-weight: 900; line-height: 1.25; letter-spacing: -.005em; }
html.f26c .f26-ntc__text { color: var(--f26-text-2); font-size: 15.5px; line-height: 1.6; }
html.f26c .f26-ntc__text p { margin: 0 0 10px; max-width: 80ch; }
html.f26c .f26-ntc__text p:last-child { margin-bottom: 0; }
html.f26c .f26-ntc__text a { color: var(--f26-red-dk); font-weight: 700; }
html.f26c .f26-ntc__list { display: grid; gap: 6px; margin: 14px 0 4px; padding: 0; list-style: none; }
html.f26c .f26-ntc__list li {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    min-height: 44px; padding: 8px 10px 8px 18px;
    border-radius: 8px;
    background: var(--f26-tint, #F2F3F5);
    color: var(--f26-ink);
    font-size: 15px; font-weight: 700; line-height: 1.3;
}
html.f26c .f26-ntc__list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 8px 0 0 8px; background: var(--f26-red); }
html.f26c .f26-ntc__list .n { flex: 1 1 auto; min-width: 0; }
html.f26c .f26-ntc__list .p {
    flex: none; padding: 5px 10px; border-radius: 6px;
    background: var(--f26-ink); color: #fff;
    font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
html.f26c .f26-ntc__link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 10px;
    color: var(--f26-red-dk); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
html.f26c .f26-ntc__link:hover { text-decoration: underline; }
@media (max-width: 767.98px) {
    /* En el móvil la fecha pasa a una franja oscura encima: «31 OCT 2026 · 19:03» */
    html.f26c .f26-ntc { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 14px 16px 18px; }
    html.f26c .f26-ntc__date { display: flex; justify-content: flex-start; align-items: baseline; gap: 8px; min-height: 0; padding: 8px 12px 10px; justify-self: start; }
    html.f26c .f26-ntc__date b { font-size: 20px; }
    html.f26c .f26-ntc__date em { margin: 0; }
    html.f26c .f26-ntc__title { font-size: 17px; }
    html.f26c .f26-ntc__text { font-size: 14.5px; }
    html.f26c .f26-ntc__list li { flex-wrap: wrap; gap: 4px 10px; padding: 9px 10px 9px 16px; font-size: 14px; }
    html.f26c .f26-ntc__list .p { padding: 3px 8px; font-size: 11.5px; white-space: normal; }
}

/* ---------- Noticias sin foto: mini portada oscura ----------
   Fondo de la retransmisión (oscuro con las líneas), el logo en blanco, el tipo arriba en una pastilla roja; una franja roja y dorada al pie, como las cabeceras de la web. */
html.f26c .f26-ncover {
    position: absolute; inset: 0; isolation: isolate; overflow: hidden;
    display: grid; place-items: center;
    background: radial-gradient(120% 90% at 30% 10%, #2B2B35 0%, var(--f26-ink, #1C1C22) 60%, #121217 100%);
}
html.f26c .f26-ncover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); background-size: 220px auto; opacity: .9; }
html.f26c .f26-ncover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--f26-gold), var(--f26-red) 70%); }
html.f26c .f26-ncover img { width: 54%; max-width: 190px; height: auto; opacity: .95; }
html.f26c .f26-ncover__k {
    position: absolute; left: 12px; top: 12px;
    padding: 4px 9px; border-radius: 4px;
    background: var(--f26-red); color: #fff;
    font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
html.f26c .dashboard-container .f26-sec--news .cont-image:has(.f26-ncover) { position: relative; background: var(--f26-ink); }
html.f26c .dashboard-container .f26-sec--news .cont-image { position: relative; }
html.f26c .dashboard-container .f26-sec--news .f26-ncover-ph { position: relative; z-index: 1; }

/* ---------- Rankings: tableros de TV (Components/F26/F26HomeRankings.razor) ----------
   Un tablero oscuro por ranking: barra roja con el título, podio 2-1-3 con fotos verticales y escalones de metal,
   y franjas claras como las de «Evolución» con la barra de puntos respecto al primero. */
html.f26c .f26-hrk { display: grid; gap: 16px; }
html.f26c .f26-hrk__board {
    overflow: clip;
    padding-bottom: 10px;
    border-radius: var(--f26-r);
    background-color: #1C1C22;
    background-image: var(--f26-tex), linear-gradient(180deg, #2B2B34 0%, #1C1C22 70%);
    box-shadow: var(--f26-shadow-1);
    color: #fff;
}
html.f26c .f26-hrk__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 10px;
    background-color: var(--f26-red);
    background-image: var(--f26-tex), linear-gradient(90deg, var(--f26-red) 0%, var(--f26-red-dk) 100%);
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6);
}
html.f26c .f26-hrk__ico {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 18px;
}
html.f26c .f26-hrk__ttl { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0; font-family: var(--f26-font); }
html.f26c .f26-hrk__ttl small {
    color: rgba(255, 255, 255, .85);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-hrk__ttl > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
html.f26c .f26-hrk__ttl b {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
html.f26c .f26-hrk__ttl em {
    color: var(--f26-gold);
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html.f26c .f26-hrk__all {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-left: auto;
    padding: 0 16px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-gold);
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s ease;
}
html.f26c .f26-hrk__all:hover { background: #fff; }
html.f26c .f26-hrk__all i { font-size: 11px; }
html.f26c .f26-hrk button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--f26-gold); }

/* Podio: 2-1-3 con escalones */
html.f26c .f26-hrk__podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
    padding: 22px 16px 0;
}
html.f26c .f26-hrk__pod {
    --metal: var(--f26-silver);
    --ph: 92px;
    --step: 44px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}
html.f26c .f26-hrk__pod.p1 { --metal: var(--f26-gold); --ph: 116px; --step: 60px; order: 2; }
html.f26c .f26-hrk__pod.p2 { order: 1; }
html.f26c .f26-hrk__pod.p3 { --metal: var(--f26-bronze); --step: 32px; order: 3; }
html.f26c .f26-hrk__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 0 4px 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #fff;
    font-family: var(--f26-font);
    text-align: center;
    cursor: pointer;
}
html.f26c .f26-hrk__card:hover .f26-hrk__nm { color: var(--f26-gold); }
html.f26c .f26-hrk__ph,
html.f26c .f26-hrk__tp {
    position: relative;
    display: block;
    flex: none;
    overflow: hidden;
    background: #33333D;
}
html.f26c .f26-hrk__ph {
    width: calc(var(--ph) * .84);
    height: var(--ph);
    margin-bottom: 6px;
    border-radius: calc(var(--ph) * .14);
    box-shadow: 0 0 0 3px var(--metal), 0 10px 22px -8px rgba(0, 0, 0, .7);
}
html.f26c .f26-hrk__ph img,
html.f26c .f26-hrk__tp img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
html.f26c .f26-hrk__ini {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    color: #fff;
    font-weight: 900;
    letter-spacing: .02em;
}
html.f26c .f26-hrk__ph .f26-hrk__ini { font-size: calc(var(--ph) * .3); background: linear-gradient(160deg, #3A3A45, #24242B); }
html.f26c .f26-hrk__ph.is-ini .f26-hrk__ini,
html.f26c .f26-hrk__tp.is-ini .f26-hrk__ini { display: grid; }
html.f26c .f26-hrk__nm {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .15s ease;
}
html.f26c .f26-hrk__pod.p1 .f26-hrk__nm { font-size: 16px; }
html.f26c .f26-hrk__meta { display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; min-height: 14px; }
html.f26c .f26-hrk__meta:empty { display: none; }
html.f26c .f26-hrk__flg { flex: none; width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
html.f26c .f26-hrk__club {
    min-width: 0;
    overflow: hidden;
    color: var(--f26-on-ink-mute);
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
html.f26c .f26-hrk__pts {
    margin-top: 2px;
    color: var(--f26-gold);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-hrk__pod.p1 .f26-hrk__pts { font-size: 30px; }
html.f26c .f26-hrk__pts small { margin-left: 4px; color: var(--f26-on-ink-mute); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
html.f26c .f26-hrk__gap { min-height: 16px; color: #fff; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.f26c .f26-hrk__pod.p1 .f26-hrk__gap {
    padding: 1px 9px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold);
    color: var(--f26-ink);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 16px;
    text-transform: uppercase;
}
html.f26c .f26-hrk__step {
    position: relative;
    display: grid;
    place-items: center;
    height: var(--step);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--metal) 0%, color-mix(in srgb, var(--metal) 72%, #000) 100%);
    color: var(--f26-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transform-origin: bottom center;
}
html.f26c .f26-hrk__step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--f26-tex); pointer-events: none; }
html.f26c .f26-hrk__pod.p3 .f26-hrk__step { color: #fff; }
html.f26c .f26-hrk__pod > .f26-hrk__dt {
    position: absolute;
    top: -6px;
    right: 2px;
    z-index: 2;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}
html.f26c .f26-hrk__pod > .f26-hrk__dt:hover { background: var(--f26-gold); color: var(--f26-ink); }

/* Franjas del 4.º en adelante */
html.f26c .f26-hrk__rows { display: grid; gap: 4px; margin: 0; padding: 4px 10px 0; list-style: none; }
html.f26c .f26-hrk__row {
    position: relative;
    display: grid;
    grid-template-columns: 34px 30px minmax(0, 1fr) minmax(90px, 26%) auto 34px;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 5px 6px 5px 6px;
    border-radius: 4px;
    background: linear-gradient(90deg, #F5F6F8 0%, #E7EAEE 100%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    color: var(--f26-ink);
}
html.f26c .f26-hrk__pos {
    display: grid;
    place-items: center;
    height: 32px;
    border: 2px solid var(--f26-ink);
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-hrk__tp { width: 30px; height: 36px; border-radius: 6px; }
html.f26c .f26-hrk__tp .f26-hrk__ini { font-size: 11px; background: var(--f26-ink); }
html.f26c .f26-hrk__rn {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 13.5px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}
html.f26c .f26-hrk__rn .f26-hrk__flg { box-shadow: 0 0 0 1px rgba(28, 28, 34, .2); }
html.f26c .f26-hrk__rt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.f26c .f26-hrk__rn:hover .f26-hrk__rt { color: var(--f26-red-dk); text-decoration: underline; text-underline-offset: 2px; }
html.f26c .f26-hrk__track { height: 8px; overflow: hidden; border-radius: var(--f26-pill); background: rgba(28, 28, 34, .1); }
html.f26c .f26-hrk__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--f26-red) 0%, var(--f26-orange) 70%, var(--f26-gold) 100%);
    transform: scaleX(var(--w));
    transform-origin: left center;
}
html.f26c .f26-hrk__rp {
    min-width: 66px;
    padding: 4px 10px;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.f26c .f26-hrk__rp small { font-size: 9.5px; font-weight: 700; opacity: .85; text-transform: uppercase; }
html.f26c .f26-hrk__dt {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(28, 28, 34, .08);
    color: var(--f26-ink);
    font-size: 12px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-hrk__row .f26-hrk__dt:hover { background: var(--f26-ink); color: #fff; }

/* Clubes: la bandera de la federación en el sitio de la foto (apaisada) */
html.f26c .f26-hrk.is-club .f26-hrk__ph { width: var(--ph); height: calc(var(--ph) * .68); background: #fff; }
html.f26c .f26-hrk.is-club .f26-hrk__ph img { object-fit: cover; object-position: center; }
html.f26c .f26-hrk.is-club .f26-hrk__row { grid-template-columns: 34px 34px minmax(0, 1fr) minmax(90px, 26%) auto 34px; }
html.f26c .f26-hrk.is-club .f26-hrk__tp { width: 34px; height: 23px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(28, 28, 34, .2); }
html.f26c .f26-hrk.is-club .f26-hrk__tp .f26-hrk__ini { font-size: 9px; }

/* Entrada: el podio sube y las franjas entran de lado. Al elegir categoría se anima también con «reducir
   movimiento» (lo pide el usuario); al cargar la portada, solo si el sistema no lo reduce */
@keyframes f26-hrk-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes f26-hrk-step { from { transform: scaleY(0); } to { transform: none; } }
@keyframes f26-hrk-row { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes f26-hrk-grow { from { transform: scaleX(0); } to { transform: scaleX(var(--w)); } }
@media (prefers-reduced-motion: no-preference) {
    html.f26c .f26-hrk .f26-hrk__card { animation: f26-hrk-rise .55s cubic-bezier(.2, .7, .2, 1) calc(.12s + var(--i) * 90ms) both; }
    html.f26c .f26-hrk .f26-hrk__step { animation: f26-hrk-step .45s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 90ms) both; }
    html.f26c .f26-hrk .f26-hrk__row { animation: f26-hrk-row .45s cubic-bezier(.2, .7, .2, 1) both; }
    html.f26c .f26-hrk .f26-hrk__fill { animation: f26-hrk-grow .8s cubic-bezier(.45, .05, .25, 1) .3s both; }
}
html.f26c .f26-hrk.is-user .f26-hrk__card { animation: f26-hrk-rise .55s cubic-bezier(.2, .7, .2, 1) calc(.12s + var(--i) * 90ms) both; }
html.f26c .f26-hrk.is-user .f26-hrk__step { animation: f26-hrk-step .45s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 90ms) both; }
html.f26c .f26-hrk.is-user .f26-hrk__row { animation: f26-hrk-row .45s cubic-bezier(.2, .7, .2, 1) both; }
html.f26c .f26-hrk.is-user .f26-hrk__fill { animation: f26-hrk-grow .8s cubic-bezier(.45, .05, .25, 1) .3s both; }
html.f26c .f26-hrk .f26-hrk__row:nth-child(2) { animation-delay: .06s; }
html.f26c .f26-hrk .f26-hrk__row:nth-child(3) { animation-delay: .12s; }
html.f26c .f26-hrk .f26-hrk__row:nth-child(4) { animation-delay: .18s; }
html.f26c .f26-hrk .f26-hrk__row:nth-child(5) { animation-delay: .24s; }
html.f26c .f26-hrk .f26-hrk__row:nth-child(n+6) { animation-delay: .3s; }

@media (max-width: 767.98px) {
    html.f26c .f26-hrk { gap: 12px; }
    html.f26c .f26-hrk__head { gap: 10px; padding: 8px; }
    html.f26c .f26-hrk__ico { width: 36px; height: 36px; font-size: 15px; }
    html.f26c .f26-hrk__ttl b { font-size: 17px; }
    html.f26c .f26-hrk__ttl em { font-size: 11.5px; }
    html.f26c .f26-hrk__all { min-height: 36px; padding: 0 12px; font-size: 11px; }
    html.f26c .f26-hrk__podium { gap: 6px; padding: 18px 8px 0; }
    html.f26c .f26-hrk__pod { --ph: 64px; --step: 30px; }
    html.f26c .f26-hrk__pod.p1 { --ph: 80px; --step: 42px; }
    html.f26c .f26-hrk__pod.p3 { --step: 22px; }
    html.f26c .f26-hrk__card { gap: 4px; padding: 0 0 8px; }
    html.f26c .f26-hrk__nm,
    html.f26c .f26-hrk__pod.p1 .f26-hrk__nm { font-size: 11px; }
    html.f26c .f26-hrk__club { display: none; }
    html.f26c .f26-hrk__pts { font-size: 17px; }
    html.f26c .f26-hrk__pod.p1 .f26-hrk__pts { font-size: 20px; }
    html.f26c .f26-hrk__pts small { display: block; margin: 2px 0 0; font-size: 9px; }
    html.f26c .f26-hrk__gap { font-size: 11px; }
    html.f26c .f26-hrk__step { font-size: 16px; }
    html.f26c .f26-hrk__pod > .f26-hrk__dt { top: -8px; right: -2px; width: 30px; height: 30px; font-size: 11px; }
    html.f26c .f26-hrk__rows { padding: 4px 6px 0; }
    html.f26c .f26-hrk__row,
    html.f26c .f26-hrk.is-club .f26-hrk__row { grid-template-columns: 28px auto minmax(0, 1fr) auto 32px; gap: 7px; min-height: 46px; padding: 4px 5px; }
    html.f26c .f26-hrk__pos { height: 28px; font-size: 13px; }
    html.f26c .f26-hrk__rn { font-size: 11.5px; line-height: 1.15; }
    html.f26c .f26-hrk__rt { display: -webkit-box; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    /* la barra pasa a una línea fina en el borde de abajo, como en «Evolución» */
    html.f26c .f26-hrk__track { position: absolute; left: 5px; right: 5px; bottom: 2px; height: 3px; }
    html.f26c .f26-hrk__rp { min-width: 0; padding: 3px 8px; font-size: 12px; }
    html.f26c .f26-hrk__rp small { display: none; }
    html.f26c .f26-hrk__dt { width: 32px; height: 32px; }
}
html.f26c .f26-hrk__ttl small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575.98px) {
    html.f26c .f26-hrk__all span { display: none; }
    html.f26c .f26-hrk__all { width: 40px; min-height: 40px; padding: 0; justify-content: center; }
}

/* ---------- Boletín de resultados (Components/F26/F26Newsletter.razor) ----------
   Caja oscura con textura y franja roja; formulario a la izquierda y la foto a la derecha (en el móvil, la foto
   arriba). La foto abre en otra pestaña la muestra del boletín. */
html.f26c .f26-nl {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    overflow: clip;
    margin: 8px 0 24px;
    border-radius: var(--f26-r-lg, 14px);
    background-color: #1C1C22;
    background-image: var(--f26-tex), linear-gradient(135deg, #2B2B34 0%, #1C1C22 60%);
    box-shadow: var(--f26-shadow-2, 0 12px 30px -12px rgba(0, 0, 0, .45));
    color: #fff;
    font-family: var(--f26-font);
}
html.f26c .f26-nl::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 4px;
    background: var(--f26-grad-accent);
}
html.f26c .f26-nl__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 30px 30px 28px; }
html.f26c .f26-nl__kicker {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-nl__kicker i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--f26-ink); font-size: 10px; }
html.f26c .f26-nl__title { margin: 2px 0 0; color: #fff; font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
html.f26c .f26-nl__lead { max-width: 52ch; margin: 0; color: var(--f26-on-ink-mute); font-size: 14.5px; font-weight: 500; line-height: 1.5; }
html.f26c .f26-nl__form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
html.f26c .f26-nl__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
html.f26c .f26-nl__topics legend {
    float: left;
    width: 100%;
    margin: 0 0 2px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
html.f26c .f26-nl__chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
html.f26c .f26-nl__chip input { position: absolute; opacity: 0; pointer-events: none; }
html.f26c .f26-nl__chip i { font-size: 12px; }
html.f26c .f26-nl__chip.is-on { border-color: var(--f26-gold); background: var(--f26-gold); color: var(--f26-ink); }
html.f26c .f26-nl__chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(253, 185, 19, .55); }
html.f26c .f26-nl__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html.f26c .f26-nl__fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }
html.f26c .f26-nl__fld > span { color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 700; }
html.f26c .f26-nl__fld em { color: var(--f26-gold); font-style: normal; }
html.f26c .f26-nl__fld input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: #fff;
    color: var(--f26-ink);
    font-family: var(--f26-font);
    font-size: 15px;
    font-weight: 600;
}
html.f26c .f26-nl__fld input::placeholder { color: #8A8C96; font-weight: 500; }
html.f26c .f26-nl__fld input:focus { outline: none; border-color: var(--f26-gold); box-shadow: 0 0 0 3px rgba(253, 185, 19, .45); }
html.f26c .f26-nl__fld.is-bad input { border-color: #FF6B7F; box-shadow: 0 0 0 3px rgba(255, 107, 127, .35); }
html.f26c .f26-nl__consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0; color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 500; line-height: 1.45; cursor: pointer; }
html.f26c .f26-nl__consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--f26-gold); cursor: pointer; }
html.f26c .f26-nl__consent a { color: var(--f26-gold); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
html.f26c .f26-nl__consent.is-bad span { color: #FF9AA8; }
html.f26c .f26-nl__err { display: flex; align-items: center; gap: 8px; margin: 0; color: #FF9AA8; font-size: 13px; font-weight: 700; }
html.f26c .f26-nl__btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 4px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--f26-pill);
    background: var(--f26-red);
    background-image: var(--f26-grad-red);
    box-shadow: 0 8px 18px -8px rgba(207, 18, 47, .8);
    color: #fff;
    font-family: var(--f26-font);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
html.f26c .f26-nl__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(207, 18, 47, .9); }
html.f26c .f26-nl__btn:focus-visible,
html.f26c .f26-nl__again:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--f26-gold); }
html.f26c .f26-nl__ok {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    margin-top: 6px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 4px 0 0 var(--f26-gold);
}
html.f26c .f26-nl__okico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--f26-gold); color: var(--f26-ink); font-size: 17px; }
html.f26c .f26-nl__ok b { display: block; color: #fff; font-size: 18px; font-weight: 900; }
html.f26c .f26-nl__ok p { margin: 4px 0 6px; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
html.f26c .f26-nl__ok strong { color: var(--f26-gold); }
html.f26c .f26-nl__ok small { color: var(--f26-on-ink-mute); font-size: 12px; font-weight: 600; }
html.f26c .f26-nl__again {
    min-height: 36px;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: var(--f26-pill);
    background: none;
    color: #fff;
    font-family: var(--f26-font);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
html.f26c .f26-nl__media { position: relative; display: block; min-height: 100%; overflow: hidden; }
html.f26c .f26-nl__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 40%;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* fundido con la caja por la izquierda y franja roja inclinada como en los rótulos de TV */
html.f26c .f26-nl__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #1C1C22 0%, rgba(28, 28, 34, 0) 22%), linear-gradient(0deg, rgba(28, 28, 34, .6) 0%, rgba(28, 28, 34, 0) 40%);
    pointer-events: none;
}
html.f26c .f26-nl__peek {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 40px);
    padding: 10px 16px;
    border-radius: var(--f26-pill);
    background: var(--f26-gold);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6);
    color: var(--f26-ink);
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
html.f26c .f26-nl__peek i { font-size: 11px; }
html.f26c .f26-nl__media:hover img { transform: scale(1.04); }
html.f26c .f26-nl__media:hover .f26-nl__peek { background: #fff; }
html.f26c .f26-nl__media:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--f26-gold); }
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-nl__media img { transition: none; }
    html.f26c .f26-nl__media:hover img { transform: none; }
}
@media (max-width: 991.98px) {
    html.f26c .f26-nl { grid-template-columns: 1fr; }
    html.f26c .f26-nl__media { order: -1; min-height: 0; aspect-ratio: 16 / 9; max-height: 320px; }
    html.f26c .f26-nl__media::before { background: linear-gradient(0deg, #1C1C22 0%, rgba(28, 28, 34, 0) 45%); }
    html.f26c .f26-nl__main { padding: 4px 22px 24px; }
}
@media (max-width: 575.98px) {
    html.f26c .f26-nl { margin: 4px 0 18px; }
    html.f26c .f26-nl__main { padding: 0 14px 18px; }
    html.f26c .f26-nl__title { font-size: 22px; }
    html.f26c .f26-nl__lead { font-size: 14px; }
    html.f26c .f26-nl__row { grid-template-columns: 1fr; gap: 12px; }
    html.f26c .f26-nl__btn { align-self: stretch; justify-content: center; }
    html.f26c .f26-nl__peek { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 12px; font-size: 11px; }
    html.f26c .f26-nl__ok { grid-template-columns: auto minmax(0, 1fr); }
    html.f26c .f26-nl__again { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Noticias: carrusel (Components/F26/F26NewsCarousel.razor, js/f26-news.js; MAP 24-11) ----------
   Una noticia grande cada vez con la foto a todo el ancho, degradado oscuro, fecha en caja oscura, tipo en pastilla
   roja, titular en grande y «Leer noticia» en dorado; franja roja y dorada al pie. Debajo, contador, puntos (móvil)
   o miniaturas con la barra de tiempo (desde 768 px) y el botón para parar el paso automático. */
html.f26c .f26-ncar { position: relative; font-family: var(--f26-font); }
html.f26c .f26-ncar__stage {
    position: relative; overflow: hidden; border-radius: 16px; background: var(--f26-ink);
    box-shadow: 0 10px 30px rgba(28, 28, 34, .22);
}
html.f26c .f26-ncar__stage::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 5px; pointer-events: none;
    background: linear-gradient(90deg, var(--f26-red) 0 72%, var(--f26-gold) 72%);
}
html.f26c .f26-ncar__track {
    display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
html.f26c .f26-ncar__track::-webkit-scrollbar { display: none; }
html.f26c .f26-ncar__slide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
/* Alto fijo (MAP, 24-11: «usa un alto máximo») y la columna de la foto a la medida de la foto: su proporción (--ar,
   la pone el onload de la imagen) por el alto. El texto se queda con el resto, como mínimo --ncar-pmin; si la foto es
   tan ancha que no cabe, se queda entera (contain) con la difuminada en el hueco. Sin foto, 3:2. */
html.f26c .f26-ncar { --ncar-h: 420px; --ncar-pmin: 380px; }
html.f26c .f26-ncar__link {
    position: relative; isolation: isolate; display: grid; overflow: hidden;
    grid-template-columns: minmax(var(--ncar-pmin), 1fr) minmax(0, calc(var(--ncar-h) * var(--ar, 1.5)));
    height: var(--ncar-h); width: 100%;
    color: #fff; text-decoration: none;
}
html.f26c .f26-ncar__link:focus-visible { outline: 3px solid var(--f26-gold); outline-offset: -3px; border-radius: 16px; }
html.f26c .f26-ncar__media {
    position: relative; z-index: 0; grid-column: 2; grid-row: 1; overflow: hidden; min-height: 0; background: #0E0E12;
    box-shadow: inset 4px 0 0 var(--f26-red);
}
html.f26c .f26-ncar__media .f26-ncover { position: absolute; inset: 0; }
html.f26c .f26-ncar__media .f26-ncover::after { display: none; }
html.f26c .f26-ncar__media .f26-ncover { place-items: center; padding: 0; }
html.f26c .f26-ncar__media .f26-ncover img { position: relative; width: 46%; max-width: 280px; }
html.f26c .f26-ncar__media .f26-ncover__k { display: none; }
/* La foto entera (contain) y, detrás, la misma foto difuminada y oscurecida para llenar el hueco que deje */
html.f26c .f26-ncar__img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; }
html.f26c .f26-ncar__bg {
    position: absolute; inset: -24px; z-index: 1; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover;
    filter: blur(22px) brightness(.45) saturate(1.1);
}
/* Fondo del panel de texto: el negro de la retransmisión con su textura y un brillo rojo abajo */
html.f26c .f26-ncar__shade {
    position: relative; z-index: 0; grid-column: 1; grid-row: 1; pointer-events: none;
    background: radial-gradient(120% 70% at 0% 100%, rgba(207, 18, 47, .28), rgba(207, 18, 47, 0) 70%), var(--f26-ink);
}
html.f26c .f26-ncar__shade::before { content: ""; position: absolute; inset: 0; background: var(--f26-tex); background-size: 260px auto; opacity: .55; }
html.f26c .f26-ncar__body {
    position: relative; z-index: 3; grid-column: 1; grid-row: 1; min-width: 0; min-height: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 12px;
    padding: 32px 36px 84px 40px;
}
html.f26c .f26-ncar__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html.f26c .f26-ncar__date {
    padding: 5px 10px; border-radius: 4px; background: rgba(255, 255, 255, .12); color: var(--f26-gold);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    font-size: 12px; font-weight: 900; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
html.f26c .f26-ncar__kick { padding: 5px 10px; border-radius: 4px; background: var(--f26-red); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
html.f26c .f26-ncar__title {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    font-size: clamp(21px, .9rem + 1vw, 31px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em;
    text-wrap: balance;
}
html.f26c .f26-ncar__ex {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    color: rgba(255, 255, 255, .82); font-size: 14.5px; font-weight: 500; line-height: 1.45;
}
html.f26c .f26-ncar__go {
    display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin-top: 4px;
    min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--f26-gold); color: var(--f26-ink);
    font-size: 13px; font-weight: 900; transition: background-color .15s ease, gap .15s ease;
}
html.f26c .f26-ncar__link:hover .f26-ncar__go { background: #fff; gap: 13px; }
html.f26c .f26-ncar__link:hover .f26-ncar__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
html.f26c .f26-ncar__arrow {
    position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 16px; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: background-color .15s ease, color .15s ease;
}
/* abajo, dentro del panel de texto, para no tapar la foto */
html.f26c .f26-ncar__arrow { top: auto; bottom: 24px; margin-top: 0; }
html.f26c .f26-ncar__arrow--prev { left: 40px; }
html.f26c .f26-ncar__arrow--next { left: 94px; }
html.f26c .f26-ncar__arrow:hover { background: var(--f26-gold); color: var(--f26-ink); box-shadow: none; }
html.f26c .f26-ncar__arrow:focus-visible { outline: 3px solid var(--f26-gold); outline-offset: 2px; }
/* Barra de debajo: contador, puntos y pausa */
html.f26c .f26-ncar__bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
html.f26c .f26-ncar__count { color: var(--f26-mute); font-size: 13px; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
html.f26c .f26-ncar__count b { color: var(--f26-red); font-size: 18px; font-weight: 900; }
html.f26c .f26-ncar__dots { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; }
html.f26c .f26-ncar__dot {
    position: relative; width: 26px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
html.f26c .f26-ncar__dot::before { content: ""; position: absolute; left: 3px; right: 3px; top: 12px; height: 4px; border-radius: 2px; background: #D3D5DC; transition: background-color .2s ease; }
html.f26c .f26-ncar__dot[aria-current="true"]::before { background: var(--f26-red); }
html.f26c .f26-ncar__dot:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 0; border-radius: 4px; }
html.f26c .f26-ncar__pause {
    display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 50%;
    background: var(--f26-ink); color: #fff; font-size: 13px; cursor: pointer;
}
html.f26c .f26-ncar__pause:hover { background: var(--f26-red); }
html.f26c .f26-ncar__pause:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 2px; }
/* Miniaturas (desde 768 px) */
html.f26c .f26-ncar__thumbs {
    display: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 8px;
    margin: 10px 0 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scrollbar-width: thin;
}
html.f26c .f26-ncar__thumb {
    position: relative; display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; min-height: 64px;
    padding: 8px 10px 10px 8px; border: 0; border-radius: 10px; overflow: hidden;
    background: #fff; color: var(--f26-ink); text-align: left; cursor: pointer;
    box-shadow: 0 1px 2px rgba(28, 28, 34, .06), inset 0 0 0 1px #ECECF0;
    transition: background-color .2s ease, box-shadow .2s ease;
}
html.f26c .f26-ncar__thumb:hover { box-shadow: 0 6px 16px rgba(28, 28, 34, .12), inset 0 0 0 1px #DCDCE2; }
html.f26c .f26-ncar__thumb:focus-visible { outline: 2px solid var(--f26-red); outline-offset: 2px; }
html.f26c .f26-ncar__thumb[aria-current="true"] { background: var(--f26-ink); color: #fff; box-shadow: 0 6px 16px rgba(28, 28, 34, .25); }
html.f26c .f26-ncar__tn { position: relative; flex: 0 0 auto; width: 64px; height: 46px; overflow: hidden; border-radius: 6px; background: var(--f26-ink); }
html.f26c .f26-ncar__tn .f26-ncover::after, html.f26c .f26-ncar__tn .f26-ncover::before { display: none; }
html.f26c .f26-ncar__tn .f26-ncover img { width: 70%; }
html.f26c .f26-ncar__tn > img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
html.f26c .f26-ncar__tt { display: grid; gap: 2px; min-width: 0; }
html.f26c .f26-ncar__tt small { color: #8A8A95; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
html.f26c .f26-ncar__thumb[aria-current="true"] .f26-ncar__tt small { color: var(--f26-gold); }
html.f26c .f26-ncar__tt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 800; line-height: 1.25; }
/* Barra de tiempo de la que se ve (solo con el paso automático) */
html.f26c .f26-ncar__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--f26-gold); }
html.f26c .f26-ncar__thumb[aria-current="true"] .f26-ncar__prog { width: 100%; background: rgba(253, 185, 19, .25); }
html.f26c .f26-ncar[data-auto][data-prog] .f26-ncar__thumb[aria-current="true"] .f26-ncar__prog::after {
    content: ""; position: absolute; inset: 0; transform-origin: left; background: var(--f26-gold);
    animation: f26-ncar-prog var(--ncar-ms, 7000ms) linear forwards;
}
html.f26c .f26-ncar[data-paused] .f26-ncar__thumb[aria-current="true"] .f26-ncar__prog::after { animation-play-state: paused; }
@keyframes f26-ncar-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 768px) {
    html.f26c .f26-ncar__thumbs { display: grid; }
    html.f26c .f26-ncar__dots { visibility: hidden; }
    /* Todo en un mismo marco oscuro (MAP, 24-11: «más integrado»): la noticia grande arriba, las 5 miniaturas pegadas
       debajo en el mismo fondo, a todo el ancho y sin barra de desplazamiento, y el contador y la pausa junto a las
       flechas, dentro del panel del texto */
    html.f26c .f26-ncar {
        overflow: hidden; border-radius: 16px; background: var(--f26-ink);
        box-shadow: 0 10px 30px rgba(28, 28, 34, .22);
    }
    html.f26c .f26-ncar__stage { border-radius: 0; box-shadow: none; }
    html.f26c .f26-ncar__bar {
        position: absolute; z-index: 6; top: calc(var(--ncar-h) - 70px); left: 152px; margin: 0; gap: 10px;
    }
    html.f26c .f26-ncar__dots { display: none; }
    html.f26c .f26-ncar__count { color: rgba(255, 255, 255, .6); }
    html.f26c .f26-ncar__count b { color: var(--f26-gold); }
    html.f26c .f26-ncar__pause {
        width: 46px; height: 46px; margin-left: 0; background: rgba(255, 255, 255, .16);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
    }
    html.f26c .f26-ncar__pause:hover { background: var(--f26-gold); color: var(--f26-ink); box-shadow: none; }
    html.f26c .f26-ncar__thumbs {
        grid-auto-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; overflow: visible;
        background: radial-gradient(80% 140% at 50% 0%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 70%), var(--f26-ink);
    }
    html.f26c .f26-ncar__thumbs li + li .f26-ncar__thumb { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1); }
    html.f26c .f26-ncar__thumb,
    html.f26c .f26-ncar__thumbs li .f26-ncar__thumb:hover {
        min-height: 76px; padding: 12px 12px 14px; border-radius: 0; background: transparent; color: rgba(255, 255, 255, .78);
    }
    html.f26c .f26-ncar__thumb:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    html.f26c .f26-ncar__thumbs li .f26-ncar__thumb:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    html.f26c .f26-ncar__thumb:focus-visible { outline: 2px solid var(--f26-gold); outline-offset: -2px; }
    html.f26c .f26-ncar__thumbs li .f26-ncar__thumb[aria-current="true"] { background: rgba(255, 255, 255, .11); color: #fff; }
    html.f26c .f26-ncar__tt small { color: rgba(255, 255, 255, .5); }
    html.f26c .f26-ncar__tn { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
    /* la barra de tiempo, arriba de la miniatura que se ve, pegada a la raya roja y dorada de la noticia */
    html.f26c .f26-ncar__prog { top: 0; bottom: auto; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    html.f26c .f26-ncar__bar { left: 140px; }
    html.f26c .f26-ncar__tn { display: none; }
}
@media (max-width: 1199.98px) {
    html.f26c .f26-ncar { --ncar-h: 380px; --ncar-pmin: 340px; }
}
@media (max-width: 991.98px) {
    html.f26c .f26-ncar { --ncar-h: 340px; --ncar-pmin: 300px; }
    html.f26c .f26-ncar__body { gap: 10px; padding: 24px 24px 80px 28px; }
    html.f26c .f26-ncar__ex { -webkit-line-clamp: 2; }
    html.f26c .f26-ncar__arrow--prev { left: 28px; }
    html.f26c .f26-ncar__arrow--next { left: 82px; }
}
@media (max-width: 767.98px) {
    html.f26c .f26-ncar__stage { border-radius: 14px; }
    /* En el móvil, la foto entera arriba (3:2) y el texto debajo */
    html.f26c .f26-ncar__link { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; height: 100%; }
    /* la foto con su proporción, con un alto máximo (si es más alta, entera con la difuminada a los lados) */
    html.f26c .f26-ncar__media { grid-column: 1; grid-row: 1; aspect-ratio: var(--ar, 1.5); max-height: 280px; box-shadow: inset 0 -4px 0 var(--f26-red); }
    html.f26c .f26-ncar__shade { grid-column: 1; grid-row: 2; }
    html.f26c .f26-ncar__body { grid-column: 1; grid-row: 2; justify-content: flex-start; gap: 10px; padding: 16px 16px 24px; }
    html.f26c .f26-ncar__title { -webkit-line-clamp: 4; font-size: 21px; }
    html.f26c .f26-ncar__ex { display: none; }
    html.f26c .f26-ncar__go { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
    html.f26c .f26-ncar__media .f26-ncover img { width: 42%; }
    /* En el móvil se desliza con el dedo: sin flechas encima de la foto */
    html.f26c .f26-ncar__arrow { display: none; }
    html.f26c .f26-ncar__bar { gap: 8px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html.f26c .f26-ncar__track { scroll-behavior: auto; }
}

/* Podio de los rankings de la portada (MAP, 24-11): sin «Líder» ni diferencia de puntos; «Ver puntos» va dentro del
   escalón de metal, debajo del puesto, y los escalones crecen lo justo para que quepa */
html.f26c .f26-hrk__step { align-content: start; gap: 6px; padding-top: 8px; }
html.f26c .f26-hrk__pod.has-dt { --step: 82px; }
html.f26c .f26-hrk__pod.has-dt.p1 { --step: 98px; }
html.f26c .f26-hrk__pod.has-dt.p3 { --step: 72px; }
html.f26c .f26-hrk__sn { position: relative; line-height: 1; }
html.f26c .f26-hrk__sdt {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 28px; padding: 0 11px;
    border: 0; border-radius: var(--f26-pill);
    background: rgba(20, 20, 26, .82); color: #fff;
    font: 800 11px/1 var(--f26-font); letter-spacing: .03em; white-space: nowrap; cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    transition: background-color .15s ease, color .15s ease;
}
html.f26c .f26-hrk__sdt i { color: var(--f26-gold); font-size: 10px; }
html.f26c .f26-hrk__sdt:hover { background: var(--f26-red); }
html.f26c .f26-hrk__sdt:hover i { color: #fff; }
html.f26c .f26-hrk__sdt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767.98px) {
    html.f26c .f26-hrk__step { gap: 5px; padding-top: 6px; }
    html.f26c .f26-hrk__pod.has-dt { --step: 64px; }
    html.f26c .f26-hrk__pod.has-dt.p1 { --step: 76px; }
    html.f26c .f26-hrk__pod.has-dt.p3 { --step: 56px; }
    html.f26c .f26-hrk__sdt { min-height: 24px; padding: 0 8px; gap: 4px; font-size: 9.5px; }
    html.f26c .f26-hrk__sdt i { display: none; }
}

/* Pantallas grandes (MAP, 25-11): masculino y femenino lado a lado. En portátiles pequeños y móvil, uno debajo de otro. */
@media (min-width: 1200px) {
    /* Las dos tarjetas a la misma altura (MAP, 25-11): si un nombre del podio ocupa dos líneas, la otra tarjeta deja el hueco
       encima del podio y las listas quedan a la par */
    html.f26c .f26-hrk:has(> .f26-hrk__board + .f26-hrk__board) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
    html.f26c .f26-hrk:has(> .f26-hrk__board + .f26-hrk__board) > .f26-hrk__board { display: flex; flex-direction: column; }
    html.f26c .f26-hrk:has(> .f26-hrk__board + .f26-hrk__board) .f26-hrk__podium { flex: 1 0 auto; width: 100%; }
    /* En dos columnas la barra de puntos cede sitio al nombre */
    html.f26c .f26-hrk:has(> .f26-hrk__board + .f26-hrk__board) .f26-hrk__row { grid-template-columns: 34px 30px minmax(0, 1fr) minmax(56px, 17%) auto 34px; }
}

/* Club bajo el nombre también en las filas y, en el móvil, en el podio (MAP, 25-11) */
html.f26c .f26-hrk__rtw { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
html.f26c .f26-hrk__rc {
    min-width: 0;
    overflow: hidden;
    color: var(--f26-mute);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 767.98px) {
    html.f26c .f26-hrk__meta { flex-direction: column; gap: 3px; }
    html.f26c .f26-hrk__club {
        display: -webkit-box;
        max-width: 100%;
        font-size: 8.5px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    html.f26c .f26-hrk__rc { font-size: 9px; }
}

/* Podio (MAP, 25-11, 06:47): «Ver puntos» es solo un icono en una caja a la derecha del escalón, sin ocupar una línea;
   los escalones vuelven a su altura y el puesto queda en el centro */
html.f26c .f26-hrk__step { align-content: center; padding-top: 0; }
html.f26c .f26-hrk__pod.has-dt { --step: 48px; }
html.f26c .f26-hrk__pod.has-dt.p1 { --step: 60px; }
html.f26c .f26-hrk__pod.has-dt.p3 { --step: 40px; }
html.f26c .f26-hrk__sdt {
    position: absolute; z-index: 1;
    top: 50%; right: 6px;
    justify-content: center;
    width: 28px; min-height: 0; height: 28px; padding: 0;
    border-radius: 6px;
    transform: translateY(-50%);
}
html.f26c .f26-hrk__sdt i { font-size: 12px; }
@media (max-width: 767.98px) {
    html.f26c .f26-hrk__step { padding-top: 0; }
    html.f26c .f26-hrk__pod.has-dt { --step: 40px; }
    html.f26c .f26-hrk__pod.has-dt.p1 { --step: 50px; }
    html.f26c .f26-hrk__pod.has-dt.p3 { --step: 34px; }
    html.f26c .f26-hrk__sdt { right: 4px; width: 24px; height: 24px; padding: 0; }
    html.f26c .f26-hrk__sdt i { display: inline-block; font-size: 10px; }
}
