/* ==========================================================================
   FETRI 2026 · Estructura: barra superior, menú lateral, barra inferior móvil,
   cabecera de página y de evento, patrocinadores y pie.
   ========================================================================== */

/* ---------- Barra superior ---------- */
/* Header.razor pone overflow-x:hidden en línea a html y body; con eso el body pasa a ser contenedor de scroll
   y la barra deja de quedarse fija. "clip" recorta igual sin crear contenedor (visible es la reserva para
   navegadores sin clip: el recorte horizontal lo sigue haciendo html).
   Solo en las páginas rediseñadas: en las de exportación (PDF/PNG) la barra se va con el scroll como la cabecera
   antigua y sus columnas laterales fijas no quedan tapadas por ella. */
html.f26c body {
    overflow-x: visible !important;
    overflow-x: clip !important;
}
html.f26 {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    /* los anclajes internos no quedan tapados por la barra */
    scroll-padding-top: calc(var(--f26-topbar-h) + 3px + env(safe-area-inset-top, 0px) + 12px);
}

.f26-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--f26-ink);
    color: #fff;
    isolation: isolate;
}
.f26-topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex);
    opacity: .9;
    pointer-events: none;
}
.f26-topbar__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--f26-topbar-h);
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 0 var(--f26-gutter-chrome);
}
.f26-topbar__line {
    height: 3px;
    background: var(--f26-grad-accent);
}

.f26-brand {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.f26-brand img {
    display: block;
    width: auto;
    height: 36px;
}

.f26-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.f26-nav li { display: flex; }
.f26-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    opacity: .82;
    transition: opacity .15s ease, color .15s ease;
}
.f26-nav__link:hover { opacity: 1; }
.f26-nav__link.is-active { opacity: 1; color: var(--f26-gold) !important; }
.f26-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--f26-gold);
}

.f26-topbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.f26-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background .15s ease;
}
.f26-iconbtn:hover { background: rgba(255, 255, 255, .16); }

.f26-only-mobile { display: none !important; }
html.f26c.f26-app .f26-menubtn { display: none !important; }

/* ---------- Buscador ---------- */
.f26-search {
    position: relative;
    width: 300px;
}
.f26-search__icon {
    position: absolute;
    left: 6px;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--f26-on-ink-mute);
    font-size: 14px;
    cursor: pointer;
    transform: translateY(-50%);
}
.f26-search__icon:hover { color: var(--f26-gold); }
.f26-search:focus-within .f26-search__icon { color: var(--f26-mute); }
.f26-search__input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    /* en anchos justos el texto de ayuda se corta con puntos suspensivos en vez de a media palabra */
    text-overflow: ellipsis;
    transition: background .15s ease, border-color .15s ease;
}
.f26-search__input::placeholder { color: var(--f26-on-ink-mute); opacity: 1; }
.f26-search__input:focus {
    background: #fff;
    border-color: #fff;
    color: var(--f26-ink);
    box-shadow: var(--f26-focus);
}
.f26-search__input:focus::placeholder { color: var(--f26-mute); }
.f26-search__input::-webkit-search-cancel-button { filter: grayscale(1); }

.f26-search__results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 92vw);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    border-radius: var(--f26-r);
    background: #fff;
    color: var(--f26-ink);
    box-shadow: var(--f26-shadow-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 1060;
}
.f26-search__results.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.f26-search__panel { padding: 8px; }
.f26-search__panel:empty { display: none; }
.f26-search__group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 8px 4px;
    font-size: var(--f26-fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--f26-red);
}
.f26-search__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    color: inherit;
    cursor: pointer;
}
.f26-search__item:hover, .f26-search__item:focus-visible { background: var(--f26-tint); }
.f26-search__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.f26-search__meta { font-size: 12px; color: var(--f26-mute); }
.f26-search__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 12px;
    font-size: 14px;
    color: var(--f26-mute);
}
.f26-search__results:not(.is-open) .f26-search__panel { display: none; }

/* ---------- Menú lateral ---------- */
.f26-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1065;
    background: rgba(12, 12, 16, .55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.f26-drawer-overlay.is-open { opacity: 1; visibility: visible; }

.f26-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1070;
    display: flex;
    flex-direction: column;
    width: min(340px, 88vw);
    background: #fff;
    box-shadow: var(--f26-shadow-3);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-left: env(safe-area-inset-left, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.f26-drawer.is-open { transform: none; visibility: visible; }

.f26-drawer__head {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px 20px;
    background: var(--f26-ink);
    color: #fff;
}
.f26-drawer__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
.f26-drawer__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--f26-grad-accent); }
.f26-drawer__head img { height: 32px; width: auto; }

.f26-drawer__search { position: relative; padding: 16px 16px 8px; }
.f26-search--drawer { width: 100%; }
.f26-search--drawer .f26-search__icon { color: var(--f26-mute); }
.f26-search--drawer .f26-search__input {
    height: 46px;
    background: var(--f26-tint);
    border-color: var(--f26-tint);
    color: var(--f26-ink);
    font-size: 16px; /* 16px evita el zoom automático de iOS */
}
.f26-search--drawer .f26-search__input::placeholder { color: var(--f26-mute); }
.f26-search__results--drawer {
    position: static;
    width: auto;
    max-height: none;
    margin-top: 8px;
    box-shadow: none;
    border: 1px solid var(--f26-line);
    transform: none;
    display: none;
}
.f26-search__results--drawer.is-open { display: block; }

.f26-drawer__nav {
    margin: 0;
    padding: 8px 12px 16px;
    list-style: none;
}
.f26-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--f26-ink) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none !important;
}
.f26-drawer__link i {
    width: 22px;
    text-align: center;
    color: var(--f26-mute);
    font-size: 17px;
}
.f26-drawer__link:hover { background: var(--f26-tint); }
.f26-drawer__link.is-active { background: var(--f26-red-soft); color: var(--f26-red-dk) !important; }
.f26-drawer__link.is-active i { color: var(--f26-red); }

.f26-drawer__install {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: auto 16px 20px;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--f26-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* El bloqueo de scroll del menú antiguo fija el body y hace saltar la página al principio: aquí basta con overflow */
html.f26 body.menu-open {
    position: static !important;
    width: auto !important;
    overflow: hidden !important;
}
html.f26:has(body.menu-open) { overflow: hidden; }

/* ---------- Barra de navegación inferior (móvil) ---------- */
.f26-bottomnav {
    display: none;
}

/* ---------- Cabecera de página ---------- */
.f26-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--f26-ink);
    color: #fff;
}
.f26-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--f26-tex), radial-gradient(ellipse 70% 120% at 100% 0%, rgba(207, 18, 47, .35), transparent 60%);
    pointer-events: none;
}
.f26-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--f26-grad-accent);
}
/* Cabecera compacta: título y antetítulo en una franja baja para que el contenido empiece cuanto antes */
.f26-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 18px var(--f26-gutter-chrome) 20px;
}
.f26-hero__kicker {
    margin: 0 0 4px;
    color: var(--f26-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.f26-hero__title {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.005em;
    text-transform: uppercase;
}
.f26-hero__iso {
    position: absolute;
    right: -40px;
    top: 50%;
    z-index: 0;
    width: 200px;
    height: auto;
    transform: translateY(-50%) rotate(-8deg);
    opacity: .07;
    pointer-events: none;
    filter: grayscale(1) brightness(3);
}

/* Cabecera de evento */
.f26-hero--event .f26-hero__inner { padding-top: 14px; padding-bottom: 18px; }
.f26-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 0 12px 0 9px;
    border: 0;
    border-radius: var(--f26-pill);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.f26-back:hover { background: rgba(255, 255, 255, .18); }
/* Zona táctil de al menos 44 px sin cambiar el tamaño visible */
.f26-back { position: relative; }
.f26-back::before { content: ""; position: absolute; inset: -8px -4px; }

.f26-event-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.f26-event-head__poster {
    flex: none;
    width: auto;
    height: 100px;
    max-width: 170px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: var(--f26-shadow-2);
}
.f26-event-head__body { min-width: 0; }
/* Si el cartel no carga, no se deja el marco blanco vacío */
.f26-event-head__poster.is-broken { display: none; }
.f26-hero__title--event {
    font-size: 26px;
    line-height: 1.12;
    text-transform: none;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.f26-event-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #E6E7EC;
    font-size: 14px;
    font-weight: 500;
}
.f26-event-head__meta li { display: inline-flex; align-items: baseline; gap: 8px; }
.f26-event-head__meta i { color: var(--f26-gold); }
.f26-event-head__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
/* Distancias de la cabecera (Sprint, Olímpico...): en rojo con el texto blanco y las esquinas casi rectas, como los
   rótulos de la retransmisión (pedido por MAP el 23-11); el resto de etiquetas, con las mismas esquinas */
.f26-event-head__chips .f26-chip { border-radius: 3px; }
.f26-event-head__chips .f26-chip--gold { background: var(--f26-red); color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
html.f26c .f26-sk--hero .f26-event-head__chips .f26-chip--gold { background: rgba(207, 18, 47, .45); box-shadow: none; }

/* ---------- Patrocinadores ---------- */
.f26-sponsors {
    position: relative;
    isolation: isolate;
    margin-top: 40px;
    background: var(--f26-ink);
    color: #fff;
}
.f26-sponsors::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); }
html.f26x .f26-sponsors { display: none !important; }
.f26-sponsors::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--f26-grad-accent); }
.f26-sponsors__inner {
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 40px var(--f26-gutter-chrome) 12px;
}
.f26-sponsors__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px 36px;
    margin-bottom: 28px;
}
.f26-sponsors__row:last-child { grid-template-columns: 3fr 1.4fr; }
.f26-sponsors__group { min-width: 0; }
.f26-sponsors__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: var(--f26-on-ink-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.f26-sponsors__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.f26-sponsors__logo {
    display: block;
    width: auto;
    max-width: 150px;
    height: 56px;
    object-fit: contain;
    opacity: .92;
    transition: opacity .15s ease;
}
.f26-sponsors__logo:hover { opacity: 1; }

/* ---------- Pie ---------- */
.f26-footer {
    position: relative;
    background: #121216;
    color: var(--f26-on-ink-mute);
}
.f26-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    max-width: var(--f26-maxw);
    margin: 0 auto;
    padding: 22px var(--f26-gutter-chrome);
}
.f26-footer__brand img { display: block; height: 30px; width: auto; opacity: .9; }
.f26-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.f26-footer__legal a {
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    opacity: .85;
}
.f26-footer__legal a:hover { opacity: 1; text-decoration: underline !important; }
.f26-footer__copy { margin: 0 0 0 auto; font-size: 12px; }
/* «© 2026 · Powered by» con el logo de Conersys (MAP, 26-11) */
.f26-footer__copy { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.f26-footer__pwr { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.f26-footer__pwr img { display: block; width: auto; height: 30px; }
@media (min-width: 992px) {
    /* Hueco para el botón flotante de volver arriba */
    /* y para Tritón, que va al lado: el logo de Conersys quedaba debajo */
    .f26-footer__copy { margin-right: 120px; }
}

/* Botón "volver arriba" */
html.f26c .scroll-to-top {
    /* por debajo del menú lateral y su velo (1065/1070) */
    z-index: 1035 !important;
    right: 16px !important;
    bottom: 20px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: var(--f26-ink) !important;
    box-shadow: var(--f26-shadow-2) !important;
}
html.f26c .scroll-to-top:hover { background: var(--f26-red) !important; }

/* Aviso de error de la aplicación ("recargar"): por encima de la presentación de carga y, en el móvil,
   encima de la barra inferior (no debajo) */
html.f26 #blazor-error-ui {
    z-index: 1045;
    padding: 12px 48px 12px 16px;
    background: var(--f26-ink, #121216);
    color: #fff;
    font: 600 14px/1.45 var(--f26-font);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .22);
}
html.f26 #blazor-error-ui .reload {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--f26-gold, #FDB913);
    color: #121216;
    font-weight: 800;
    text-decoration: none;
}
html.f26 #blazor-error-ui .dismiss { top: 50%; right: 14px; color: #fff; transform: translateY(-50%); }
html.f26c #blazor-error-ui { bottom: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px)); }

/* Flechas de las barras deslizables (pestañas del evento y meses del calendario): solo con ratón,
   donde no hay gesto para deslizar. Las pone el script de index.html y se ven si quedan opciones a ese lado. */
.f26-strip-arrow { display: none; }
@media (hover: hover) and (pointer: fine) {
    html.f26c .f26-strip-arrow {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        width: 46px;
        padding: 0 12px;
        border: 0;
        color: var(--f26-ink);
        font-size: 13px;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease, color .15s ease;
    }
    html.f26c .f26-strip-arrow--prev { left: 0; justify-content: flex-start; background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0)); }
    html.f26c .f26-strip-arrow--next { right: 0; justify-content: flex-end; background: linear-gradient(270deg, #fff 55%, rgba(255, 255, 255, 0)); }
    html.f26c .f26-tabs-scrolled > .f26-strip-arrow--prev,
    html.f26c .f26-tabs-more > .f26-strip-arrow--next { opacity: 1; pointer-events: auto; }
    html.f26c .f26-strip-arrow:hover { color: var(--f26-red); }
}

/* Contenedor principal de las páginas
   (MainLayout fija padding-top:0 !important en línea, así que el aire con la cabecera va como margen) */
html.f26c body > #app main.container-fluid,
html.f26c main.container-fluid {
    max-width: calc(var(--f26-maxw) + 2 * var(--f26-gutter));
    /* !important: Calendar.razor (montado también en las fichas de evento) pone margin-top:0 !important a todos los .container-fluid en móvil */
    margin-top: 22px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--f26-gutter) !important;
    padding-right: var(--f26-gutter) !important;
}

/* La barra inferior solo sale con la app instalada (html.f26-app) y nunca en las páginas de exportación */
html.f26:not(.f26c) .f26-bottomnav,
html.f26:not(.f26-app) .f26-bottomnav { display: none !important; }
/* ---------- Menú abierto en el móvil (MAP, 23-11): a pantalla completa, oscuro y con el grafismo de TV ----------
   Se abre (html.f26-menu-in) como un círculo que crece desde el botón que lo abre (la hamburguesa de arriba en el navegador, «Más» abajo
   con la app instalada) y las opciones entran escalonadas (--i en Header.razor). Lo abre el usuario: también se anima
   con «reducir movimiento» (MAP lo tiene activado y pidió la animación). */
@media (max-width: 991.98px) {
    html.f26 .f26-drawer-overlay { display: none; }
    html.f26 .f26-drawer {
        --dr-o: calc(100% - var(--f26-gutter-chrome, 16px) - 21px) calc(env(safe-area-inset-top, 0px) + var(--f26-topbar-h) / 2);
        --dr-g: var(--f26-gutter-chrome, 16px);
        left: 0; right: 0; width: 100%; max-width: none;
        padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
        background:
            var(--f26-tex),
            radial-gradient(120% 55% at 100% 0%, rgba(207, 18, 47, .38), transparent 62%),
            radial-gradient(90% 45% at 0% 100%, rgba(253, 185, 19, .12), transparent 60%),
            var(--f26-ink);
        color: #fff;
        box-shadow: none;
        transform: none;
        clip-path: circle(0px at var(--dr-o));
        visibility: hidden;
        transition: clip-path .4s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .4s;
    }
    html.f26.f26-app .f26-drawer { --dr-o: calc(100% - 10%) calc(100% - env(safe-area-inset-bottom, 0px) - 32px); }
    html.f26 .f26-drawer.is-open { transform: none; visibility: visible; transition: clip-path .4s cubic-bezier(.65, 0, .35, 1), visibility 0s; }
    /* f26-menu-in lo pone f26.drawerOpened (index.html) un par de fotogramas después de abrir */
    html.f26.f26-menu-in .f26-drawer.is-open {
        clip-path: circle(160% at var(--dr-o));
        transition: clip-path .6s cubic-bezier(.65, 0, .35, 1), visibility 0s;
    }

    /* cabecera: como la barra de arriba, con la «×» donde estaba la hamburguesa */
    html.f26 .f26-drawer__head {
        flex: none;
        min-height: calc(var(--f26-topbar-h) + env(safe-area-inset-top, 0px));
        padding: env(safe-area-inset-top, 0px) var(--dr-g) 0;
        background: transparent;
    }
    html.f26 .f26-drawer__head::before { display: none; }
    html.f26 .f26-drawer__head img { height: 28px; }
    html.f26 .f26-drawer__head .f26-iconbtn { background: rgba(255, 255, 255, .1); color: #fff; }

    /* buscador oscuro; los resultados, en su tarjeta blanca */
    html.f26 .f26-drawer__search { padding: 18px var(--dr-g) 6px; }
    html.f26 .f26-search--drawer .f26-search__input {
        height: 50px; border-radius: 12px;
        background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff;
    }
    html.f26 .f26-search--drawer .f26-search__input:focus { background: rgba(255, 255, 255, .12); border-color: var(--f26-gold); }
    html.f26 .f26-search--drawer .f26-search__input::placeholder { color: var(--f26-on-ink-mute); }
    html.f26 .f26-search--drawer .f26-search__icon { color: var(--f26-on-ink-mute); }
    html.f26 .f26-search__results--drawer { border: 0; border-radius: 12px; background: #fff; color: var(--f26-ink); overflow: hidden; }

    /* opciones: franjas con su caja a la izquierda, la elegida en dorado */
    html.f26 .f26-drawer__nav { display: grid; gap: 8px; padding: 14px var(--dr-g) 8px; }
    html.f26 .f26-drawer__link {
        gap: 16px; min-height: 60px; padding: 0 16px 0 0; overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .09); border-radius: 10px;
        background: rgba(255, 255, 255, .06);
        color: #fff !important; font-size: 18px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase;
        -webkit-tap-highlight-color: transparent;
        transition: background-color .2s, border-color .2s;
    }
    html.f26 .f26-drawer__link:hover,
    html.f26 .f26-drawer__link:active { background: rgba(255, 255, 255, .11); }
    html.f26 .f26-drawer__ico {
        flex: none; align-self: stretch; display: grid; place-items: center; width: 60px;
        background: rgba(0, 0, 0, .32); box-shadow: inset -2px 0 0 rgba(255, 255, 255, .06);
    }
    html.f26 .f26-drawer__link .f26-drawer__ico i { width: auto; color: #fff; font-size: 20px; }
    html.f26 .f26-drawer__lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    html.f26 .f26-drawer__link i.f26-drawer__go { width: auto; margin-left: auto; color: rgba(255, 255, 255, .35); font-size: 14px; }
    html.f26 .f26-drawer__link.is-active { background: rgba(253, 185, 19, .1); border-color: rgba(253, 185, 19, .45); color: var(--f26-gold) !important; }
    html.f26 .f26-drawer__link.is-active .f26-drawer__ico { background: var(--f26-red); box-shadow: none; }
    html.f26 .f26-drawer__link.is-active i.f26-drawer__go { color: var(--f26-gold); }
    html.f26 .f26-drawer__link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

    html.f26 .f26-drawer__install {
        margin: 10px var(--dr-g) 0; min-height: 52px; border-radius: 10px;
        background: var(--f26-gold); color: var(--f26-ink);
        font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
    }
    html.f26 .f26-drawer__foot {
        margin: auto 0 0; padding: 28px var(--dr-g) 22px;
        color: var(--f26-on-ink-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    }
    html.f26 .f26-drawer__foot::before {
        content: ""; display: block; width: 44px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: var(--f26-grad-accent);
    }

    /* entrada: la cabecera y el buscador aparecen y las franjas llegan de la derecha una tras otra */
    html.f26 .f26-drawer :is(.f26-drawer__head, .f26-drawer__search, .f26-drawer__foot) { opacity: 0; transition: opacity .2s ease; }
    html.f26 .f26-drawer :is(.f26-drawer__nav > li, .f26-drawer__install) {
        opacity: 0; transform: translateX(36px);
        transition: opacity .2s ease, transform .2s ease;
    }
    html.f26.f26-menu-in .f26-drawer.is-open :is(.f26-drawer__head, .f26-drawer__search, .f26-drawer__foot) { opacity: 1; transition: opacity .35s ease .15s; }
    html.f26.f26-menu-in .f26-drawer.is-open :is(.f26-drawer__nav > li, .f26-drawer__install) {
        opacity: 1; transform: none;
        transition: opacity .35s ease, transform .5s cubic-bezier(.2, .85, .25, 1);
        transition-delay: calc(.18s + var(--i, 0) * .055s);
    }
}

/* ==========================================================================
   Tablet y móvil
   ========================================================================== */
@media (max-width: 1199.98px) {
    /* entre 992 y 1199 px el buscador cede ancho antes de salirse por la derecha */
    .f26-topbar__actions { min-width: 0; }
    .f26-topbar .f26-search { flex: 0 1 220px; width: 220px; min-width: 150px; }
    .f26-nav__link { padding: 0 10px; letter-spacing: .05em; }
    .f26-nav__link.is-active::after { left: 10px; right: 10px; }
    .f26-topbar__inner { gap: 16px; }
}

@media (max-width: 991.98px) {
    .f26-nav,
    .f26-topbar .f26-search { display: none; }
    .f26-only-mobile { display: inline-flex !important; }
    .f26-brand img { height: 28px; }
    .f26-iconbtn { width: 42px; height: 42px; border-radius: 10px; font-size: 17px; }

    .f26-bottomnav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        height: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px));
        padding: 0 max(4px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left, 0px));
        background: var(--f26-ink);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
        isolation: isolate;
    }
    .f26-bottomnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--f26-tex); pointer-events: none; }
    .f26-bottomnav::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--f26-grad-accent); opacity: .9; }

    .f26-bottomnav__item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 0;
        height: var(--f26-bottomnav-h);
        padding: 0 2px;
        border: 0;
        background: transparent;
        color: var(--f26-on-ink-mute) !important;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    .f26-bottomnav__item i { font-size: 19px; line-height: 1; }
    .f26-bottomnav__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .f26-bottomnav__item.is-active { color: var(--f26-gold) !important; }
    .f26-bottomnav__item.is-active i { color: var(--f26-gold); }
    .f26-bottomnav__item.is-active::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 50%;
        width: 28px;
        height: 3px;
        margin-left: -14px;
        border-radius: 0 0 3px 3px;
        background: var(--f26-gold);
    }

    html.f26c .scroll-to-top {
        right: calc(12px + env(safe-area-inset-right, 0px)) !important;
        bottom: calc(var(--f26-bottomnav-h) + env(safe-area-inset-bottom, 0px) + 12px) !important;
        width: 40px !important;
        height: 40px !important;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), var(--f26-shadow-2) !important;
    }

    .f26-hero__inner { padding: 12px var(--f26-gutter-chrome) 14px; }
    .f26-hero__kicker { font-size: 10px; margin-bottom: 2px; }
    .f26-hero__title { font-size: 21px; }
    .f26-hero__iso { width: 130px; right: -28px; }

    /* Evento: el botón de volver pasa a ser un círculo a la izquierda del título (sin fila propia),
       centrado con su primera línea; fechas, lugar y distancias siguen debajo a todo el ancho */
    .f26-hero--event .f26-hero__inner { padding-top: 12px; padding-bottom: 14px; }
    .f26-back {
        position: absolute;
        top: 8px;
        left: var(--f26-gutter-chrome);
        justify-content: center;
        width: 30px;
        height: 30px;
        min-height: 30px;
        margin: 0;
        padding: 0;
        gap: 0;
        font-size: 0;
        letter-spacing: 0;
    }
    .f26-back i { font-size: 14px; }
    .f26-back::before { inset: -7px; }
    .f26-event-head { gap: 14px; }
    .f26-event-head__poster { display: none; }
    .f26-hero__title--event { padding-left: 40px; font-size: 18px; line-height: 1.25; }
    .f26-event-head__meta { gap: 2px 14px; margin-top: 6px; font-size: 12.5px; }
    .f26-event-head__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 8px calc(-1 * var(--f26-gutter-chrome)) 0;
        padding: 0 var(--f26-gutter-chrome) 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .f26-event-head__chips::-webkit-scrollbar { display: none; }

    /* Patrocinadores compactos: los grupos cortos van de dos en dos */
    .f26-sponsors { margin-top: 28px; }
    .f26-sponsors__inner { padding-top: 26px; }
    .f26-sponsors__row,
    .f26-sponsors__row:last-child { grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 18px; }
    .f26-sponsors__row > .f26-sponsors__group--wide,
    .f26-sponsors__row:last-child > .f26-sponsors__group { grid-column: 1 / -1; }
    .f26-sponsors__title { margin-bottom: 10px; padding-bottom: 8px; font-size: 10px; letter-spacing: .08em; }
    .f26-sponsors__logos { gap: 10px 18px; }
    .f26-sponsors__logo { height: 38px; max-width: 104px; }

    .f26-footer__inner { justify-content: center; text-align: center; padding-bottom: 26px; }
    .f26-footer__legal { justify-content: center; }
    .f26-footer__copy { margin: 0; width: 100%; }
    /* «© 2026» y debajo «Powered by» con el logo, centrados y más pequeños: así no llegan a los botones flotantes */
    .f26-footer__copy { flex-direction: column; justify-content: center; }
    .f26-footer__pwr img { height: 26px; }
    /* al final de la página, el logo de Conersys queda por encima de Tritón y los botones flotantes */
    html.f26 .f26-footer .f26-footer__bottom { padding-bottom: 104px; }

    html.f26c body > #app main.container-fluid,
    html.f26c main.container-fluid { margin-top: 16px !important; }
}

@media (max-width: 400px) {
    .f26-bottomnav__item { font-size: 9px; letter-spacing: 0; }
}
@media (max-width: 374.98px) {
    .f26-bottomnav__item { padding: 0; font-size: 8.5px; }
}
@media (max-width: 339.98px) {
    .f26-bottomnav__item { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .f26-search__results { transition: none !important; }
}
/* el menú lateral de escritorio (páginas de exportación) sigue sin transición; en el móvil se anima (lo abre el usuario) */
@media (prefers-reduced-motion: reduce) and (min-width: 992px) {
    .f26-drawer, .f26-drawer-overlay { transition: none !important; }
}

/* ---------- Pie: mapa de la web (Pages/Footer.razor) ----------
   Arriba la marca, una frase y las redes; a la derecha tres columnas de enlaces. Abajo, separado por una línea,
   los textos legales y el copyright. En el móvil, todo en una columna y los enlaces en dos. */
.f26-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--f26-grad-accent);
}
html.f26 .f26-footer__map {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr);
    align-items: start;
    gap: 28px 48px;
    padding-top: 40px;
    padding-bottom: 30px;
}
.f26-footer__about { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.f26-footer__brand img { height: 38px; }
.f26-footer__claim { max-width: 32ch; margin: 0; color: var(--f26-on-ink-mute); font-size: 13px; font-weight: 500; line-height: 1.5; }
.f26-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.f26-footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    font-size: 16px;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.f26-footer__social a:hover { background: var(--f26-red); transform: translateY(-2px); }
.f26-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; min-width: 0; }
.f26-footer__col { min-width: 0; }
html.f26 .f26-footer__h {
    position: relative;
    margin: 0 0 14px;
    padding-left: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
}
html.f26 .f26-footer__h::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    bottom: 1px;
    width: 4px;
    border-radius: 2px;
    background: var(--f26-grad-accent-v);
}
.f26-footer__col ul { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.f26-footer__col a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .15s ease;
}
.f26-footer__col a i { font-size: 10px; opacity: .6; }
.f26-footer__col a:hover { color: var(--f26-gold) !important; }
html.f26 .f26-footer__bottom {
    padding-top: 16px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 991.98px) {
    html.f26 .f26-footer__map { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; padding-bottom: 22px; }
}
@media (max-width: 767.98px) {
    html.f26 .f26-footer__map { text-align: left; justify-content: stretch; }
    .f26-footer__about { align-items: center; text-align: center; }
    .f26-footer__claim { max-width: 40ch; }
    .f26-footer__social { justify-content: center; }
    .f26-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
    .f26-footer__col:last-child { grid-column: 1 / -1; }
    .f26-footer__col a { min-height: 36px; font-size: 13.5px; }
}

/* Volver de la cabecera del evento (MAP, 25-11): solo la flecha, en un botón junto al cartel que ocupa todo su alto.
   Por debajo de 992 px sigue siendo el círculo junto al título (el cartel no se ve). */
@media (min-width: 992px) {
    /* Del alto del cartel (MAP, 25-11) */
    .f26-event-head > .f26-back {
        align-self: flex-start;
        flex: none;
        justify-content: center;
        width: 46px;
        height: 100px;
        min-height: 0;
        margin: 0;
        padding: 0;
        gap: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, .1);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
        font-size: 0;
        letter-spacing: 0;
    }
    .f26-event-head > .f26-back i { font-size: 18px; transition: transform .15s; }
    .f26-event-head > .f26-back:hover { background: var(--f26-red); box-shadow: none; }
    .f26-event-head > .f26-back:hover i { transform: translateX(-3px); }
    .f26-event-head > .f26-back::before { inset: 0; }
    .f26-event-head:has(> .f26-back) { gap: 14px; }
    .f26-event-head > .f26-back + .f26-event-head__poster,
    .f26-event-head > .f26-back + .f26-sk__poster { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .f26-event-head > .f26-back i { transition: none; }
}
