/* ============================================
   SECCIÓN INFORMACIÓN TORNEO
   ============================================ */

/* ============================================
   TAB BAR NAVEGACIÓN TORNEO
   ============================================ */
.torneo-tabs-wrapper {
    position: relative;
    z-index: 100;
    background: transparent;
    transition: all 0.3s ease;
}

.torneo-tabs-wrapper.sticky {
    position: fixed;
    top: 126px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 900;
}

/* Placeholder para evitar salto cuando se vuelve sticky */
.torneo-tabs-placeholder {
    display: none;
}

.torneo-tabs-placeholder.active {
    /*! display: block; */
}

.torneo-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.torneo-tabs::-webkit-scrollbar {
    display: none;
}

.torneo-tab {
    padding: 10px 28px;
    border-radius: 50px;
    border: 2px solid #E5E9F0;
    background: var(--color-white, #fff);
    color: var(--color-navy, #0b0c4c);
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.torneo-tab:hover {
    border-color: var(--color-navy, #0b0c4c);
    background: rgba(11, 12, 76, 0.04);
}

.torneo-tab.active {
    background: var(--color-navy, #0b0c4c);
    border-color: var(--color-navy, #0b0c4c);
    color: #fff;
}

.torneo-tab i {
    font-size: 13px;
}

/* Paneles de contenido */
.torneo-tab-panel {
    display: none;
}

.torneo-tab-panel.active {
    display: block;
}


/* ============================================
   RESPONSIVE TABS
   ============================================ */
@media (max-width: 768px) {
    .torneo-tabs-wrapper.sticky {
        top: 105px;
        border-top: 1px solid #E5E9F0;
    }

    .torneo-tabs {
        justify-content: center;
        padding: 10px 16px;
        gap: 8px;
    }

    .torneo-tab {
        padding: 7px 16px;
        font-size: 12px;
        gap: 6px;
    }

    .torneo-tab i {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .torneo-tabs-wrapper.sticky {
        top: 93px;
    }

    /* Grid 2x2: los 4 tabs en dos filas limpias */
    .torneo-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 10px 12px;
        gap: 6px;
        justify-items: stretch;
    }

    .torneo-tab {
        padding: 9px 10px;
        font-size: 12px;
        border-width: 1.5px;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    /* El texto de "Grupos y Cuadros" es largo — abreviarlo en CSS no es posible,
       pero con el grid 2x2 cabe entero sin truncarse */
    .torneo-tab i {
        font-size: 12px;
    }
}

.torneo-info-section {
    padding: var(--spacing-md) 0 var(--spacing-lg);
}

/* Layout dos columnas: imagen + bloque azul */
/* Layout dos columnas: imagen + bloque azul */
.torneo-info-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
    min-height: 500px;
    margin: 0 auto;
}

/* Columna izquierda: Imagen */
.torneo-info-imagen {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    box-sizing: border-box;
}

.torneo-info-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Columna derecha: Bloque azul */
.torneo-info-datos {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
    background: #0b0c4c;
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: left;
    border-radius: 20px;
    box-sizing: border-box;
}

/* Cada bloque de info (FECHAS, SEDES, CATEGORÍAS) */
.torneo-info-bloque {
    margin-bottom: 30px;
}

.torneo-info-bloque:last-child {
    margin-bottom: 0;
}

.torneo-info-titulo {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.torneo-info-bloque p,
.torneo-info-bloque span {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: #fff;
    font-family: var(--font-primary);
}

.torneo-info-bloque strong {
    font-weight: 700;
    display: block;
    margin-top: 12px;
}

.torneo-info-bloque strong:first-child {
    margin-top: 0;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1419px) {
    .torneo-info-layout {
        display: flex;
        justify-content: center;
        min-height: auto;
        gap: 0;
        margin: 0 auto;
    }

    .torneo-info-imagen {
        display: none;
    }

    .torneo-info-datos {
        flex: none;
        width: 90%;
        max-width: 90%;
        padding: 40px 35px;
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .torneo-info-datos {
        width: 95%;
        max-width: 95%;
        padding: 30px 24px;
        border-radius: 12px;
    }

    .torneo-info-bloque {
        margin-bottom: 24px;
    }

    .torneo-info-titulo {
        font-size: 12px;
    }

    .torneo-info-bloque p {
        font-size: 14px;
    }
}


/* ============================================
   SECCIÓN NOTICIAS RELACIONADAS TORNEO
   ============================================ */
.torneo-noticias-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

/* --- Wrapper de controles slider (alineados a la derecha) --- */
.torneo-noticias-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.torneo-noticias-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid #E5E9F0;
    color: var(--color-navy);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.torneo-noticias-btn:hover:not(:disabled) {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}

.torneo-noticias-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* --- Contenedor slider --- */
.torneo-noticias-slider {
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.torneo-noticias-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* --- Card de noticia --- */
.tnews-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid #E5E9F0;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
    text-align: left;
}

.tnews-card:hover {
    border-color: var(--color-primary, #00D4AA);
    box-shadow: 0 10px 30px -5px rgba(11, 12, 76, 0.1);
    transform: translateY(-3px);
}

/* Contenedor de imagen */
.tnews-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.tnews-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tnews-card:hover .tnews-img-wrap img {
    transform: scale(1.05);
}

/* Icono play para vídeos */
.tnews-play {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tnews-play i {
    color: var(--color-navy);
    font-size: 14px;
    margin-left: 2px;
}

/* Contenido de la card */
.tnews-body {
    padding: 20px;
}

.tnews-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tnews-tag {
    font-weight: 700;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
}

.tnews-tag--noticia {
    background: var(--color-primary, #00D4AA);
    color: var(--color-navy, #0b0c4c);
}

.tnews-tag--video {
    background: #FF4757;
    color: #fff;
}

.tnews-tag--galeria {
    background: #3B82F6;
    color: #fff;
}

.tnews-date {
    font-size: 12px;
    color: var(--color-text-light, #8C9BAB);
    font-weight: 500;
}

.tnews-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy, #0b0c4c);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tnews-excerpt {
    font-size: 14px;
    color: var(--color-text-light, #8C9BAB);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ============================================
   RESPONSIVE NOTICIAS TORNEO
   ============================================ */
@media (max-width: 1100px) {
    .tnews-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .tnews-card {
        flex: 0 0 100%;
    }

    .tnews-img-wrap {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .tnews-body {
        padding: 16px;
    }

    .tnews-title {
        font-size: 15px;
    }

    .tnews-img-wrap {
        height: 160px;
    }
}


/* ============================================
   SECCIÓN INSCRITOS TORNEO
   ============================================ */

/* Badge tipo inscripción */
.inscritos-badge-wrap {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.inscritos-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    background: rgba(11, 12, 76, 0.08);
    color: var(--color-navy, #0b0c4c);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- Dropdown selector de categoría --- */
.inscritos-selector-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.inscritos-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 320px;
    max-width: 500px;
    width: 100%;
}

.inscritos-selector-icon {
    position: absolute;
    left: 18px;
    color: var(--color-navy, #0b0c4c);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.inscritos-selector-arrow {
    position: absolute;
    right: 18px;
    color: var(--color-navy, #0b0c4c);
    font-size: 12px;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.2s ease;
}

.inscritos-select {
    width: 100%;
    padding: 10px 10px 10px 10px;
    border-radius: 50px;
    border: 2px solid #D8DEE9;
    background: #fff;
    color: var(--color-navy, #0b0c4c);
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    transition: all 0.25s ease;
}

.inscritos-select:hover {
    border-color: var(--color-navy, #0b0c4c);
}

.inscritos-select:focus {
    border-color: var(--color-navy, #0b0c4c);
    box-shadow: 0 0 0 3px rgba(11, 12, 76, 0.1);
}

.inscritos-select optgroup {
    font-weight: 700;
    font-size: 13px;
    color: #8C9BAB;
    padding: 8px 0 4px;
}

.inscritos-select option {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-navy, #0b0c4c);
    padding: 8px 12px;
}

/* Barra contador inscritos */
.inscritos-count-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.inscritos-count-text {
    font-size: 13px;
    font-weight: 600;
    color: #8C9BAB;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inscritos-count-text i {
    font-size: 12px;
}


/* --- Paneles de categoría --- */
.inscritos-cat-panel {
    display: none;
    position: relative;
    z-index: 2;
    animation: inscritosFadeIn 0.3s ease;
}

.inscritos-cat-panel.active {
    display: block;
}

@keyframes inscritosFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* --- Tabla de inscritos --- */
.inscritos-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #E5E9F0;
    background: #fff;
}

.inscritos-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
}

/* Header */
.inscritos-table thead {
    background: var(--color-navy, #0b0c4c);
}

.inscritos-table thead th {
    padding: 14px 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    border: none;
}

.inscritos-th-pos {
    width: 50px;
    text-align: center !important;
}

.inscritos-th-pts {
    width: 80px;
    text-align: right !important;
}

.inscritos-th-fecha {
    width: 100px;
    text-align: right !important;
    padding-right: 20px !important;
}

/* Body rows */
.inscritos-table tbody tr {
    border-bottom: 1px solid #F0F3F8;
    transition: background 0.15s ease;
}

.inscritos-table tbody tr:last-child {
    border-bottom: none;
}

.inscritos-table tbody tr:hover {
    background: rgba(11, 12, 76, 0.02);
}

.inscritos-table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-navy, #0b0c4c);
    vertical-align: middle;
}

/* Columna posición */
.inscritos-td-pos {
    text-align: center;
    font-weight: 700;
    color: #8C9BAB;
    font-size: 13px;
}

/* Columna pareja */
.inscritos-td-pareja {
    line-height: 1.4;
}

.inscritos-jugador {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inscritos-jugador2 {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #E5E9F0;
}

.inscritos-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.inscritos-nombre {
    font-weight: 500;
    font-size: 14px;
}

.inscritos-wc {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 50px;
    background: #FFF3CD;
    color: #856404;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Columna puntos */
.inscritos-td-pts {
    text-align: right;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-navy, #0b0c4c);
}

/* Columna fecha */
.inscritos-td-fecha {
    text-align: right;
    padding-right: 20px !important;
    color: #8C9BAB;
    font-size: 13px;
}

/* Empty state */
.inscritos-empty {
    text-align: center;
    padding: 50px 20px;
    color: #8C9BAB;
    font-size: 15px;
}


/* ============================================
   RESPONSIVE INSCRITOS
   ============================================ */
@media (max-width: 768px) {
    .inscritos-selector {
        min-width: 0;
        max-width: 100%;
    }

    .inscritos-select {
        font-size: 13px;
        padding: 10px;
        padding-right: 40px;
    }

    /* Ocultar fecha en móvil */
    .inscritos-th-fecha,
    .inscritos-td-fecha {
        display: none;
    }

    .inscritos-table thead th {
        padding: 12px 10px;
        font-size: 11px;
    }

    .inscritos-table tbody td {
        padding: 10px;
        font-size: 13px;
    }

    .inscritos-nombre {
        font-size: 13px;
    }

    .inscritos-flag {
        width: 18px;
        height: 12px;
    }

    .inscritos-th-pos {
        width: 36px;
    }

    .inscritos-th-pts {
        width: 55px;
    }
}

@media (max-width: 480px) {
    .inscritos-select {
        font-size: 12px;
        padding: 10px 36px 10px 36px;
    }

    .inscritos-selector-icon {
        left: 14px;
        font-size: 12px;
    }

    .inscritos-selector-arrow {
        right: 14px;
    }

    .inscritos-table tbody td {
        padding: 8px 8px;
    }

    .inscritos-nombre {
        font-size: 12px;
    }
}


/* ============================================
   SECCIÓN CUADROS / GRUPOS TORNEO
   ============================================ */

/* Paneles de categoría (reutiliza animación de inscritos) */
.cuadros-cat-panel {
    display: none;
    position: relative;
    z-index: 2;
    animation: inscritosFadeIn 0.3s ease;
}

.cuadros-cat-panel.active {
    display: block;
}

/* Bloque por categoría */
.cuadros-categoria-block {
    margin-bottom: 28px;
}

.cuadros-categoria-header {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: var(--color-navy, #0b0c4c);
    color: #fff;
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Grid de links */
.cuadros-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

/* Card de link (grupo o cuadro) */
.cuadros-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid #E5E9F0;
    background: #fff;
    text-decoration: none;
    color: var(--color-navy, #0b0c4c);
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.cuadros-link-card:hover {
    border-color: var(--color-navy, #0b0c4c);
    background: rgba(11, 12, 76, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -4px rgba(11, 12, 76, 0.1);
}

.cuadros-link-card > i:first-child {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Icono grupo (azul claro) */
.cuadros-link--grupo > i:first-child {
    background: rgba(110, 212, 255, 0.2);
    color: #0b8ec4;
}

/* Icono cuadro (navy) */
.cuadros-link--cuadro > i:first-child {
    background: rgba(11, 12, 76, 0.08);
    color: var(--color-navy, #0b0c4c);
}

.cuadros-link-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cuadros-link-arrow {
    font-size: 11px;
    color: #8C9BAB;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cuadros-link-card:hover .cuadros-link-arrow {
    transform: translateX(3px);
    color: var(--color-navy, #0b0c4c);
}

/* Empty state */
.cuadros-empty {
    text-align: center;
    padding: 50px 20px;
    color: #8C9BAB;
    font-size: 15px;
    position: relative;
    z-index: 2;
}


/* --- Visor iframe integrado --- */
.cuadros-visor {
    position: relative;
    z-index: 2;
    animation: inscritosFadeIn 0.3s ease;
}

.cuadros-visor-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 0;
}

.cuadros-visor-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid #E5E9F0;
    background: #fff;
    color: var(--color-navy, #0b0c4c);
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cuadros-visor-back:hover {
    border-color: var(--color-navy, #0b0c4c);
    background: rgba(11, 12, 76, 0.04);
}

.cuadros-visor-back i {
    font-size: 12px;
}

.cuadros-visor-title {
    flex: 1;
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy, #0b0c4c);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cuadros-visor-external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #E5E9F0;
    background: #fff;
    color: #8C9BAB;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.cuadros-visor-external:hover {
    border-color: var(--color-navy, #0b0c4c);
    color: var(--color-navy, #0b0c4c);
}

.cuadros-visor-frame-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #E5E9F0;
    background: #F8F9FB;
}

.cuadros-visor-frame {
    width: 100%;
    min-height: 600px;
    height: 70vh;
    border: none;
    display: block;
    background: #F8F9FB;
}


/* ============================================
   RESPONSIVE CUADROS
   ============================================ */
@media (max-width: 768px) {
    .cuadros-links-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cuadros-link-card {
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 12px;
    }

    .cuadros-link-card > i:first-child {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 8px;
    }

    .cuadros-categoria-header {
        font-size: 13px;
        padding: 6px 18px;
    }

    .cuadros-visor-frame {
        min-height: 400px;
        height: 60vh;
    }

    .cuadros-visor-back {
        padding: 8px 16px;
        font-size: 12px;
    }

    .cuadros-visor-title {
        font-size: 13px;
    }

    .cuadros-visor-external {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cuadros-link-card {
        padding: 10px 12px;
        font-size: 12px;
        gap: 10px;
    }

    .cuadros-categoria-block {
        margin-bottom: 20px;
    }
}

/* ============================================
   PATROCINADORES DEL TORNEO
   ============================================ */
.torneo-patrocinadores-section {
    padding: 48px 0 40px;
    background: #0b0c4c;
    border-bottom: 1px solid #E5E9F0;
}

.torneo-patrocinadores-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 40px;
    margin-top: 8px;
}

.torneo-patrocinador-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 16px 24px;
    /*! border-radius: 14px; */
    /*! border: 1.5px solid #E5E9F0; */
    /*! background: #fafafa; */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    /* Ancho mínimo para que los logos pequeños no queden tiny */
    min-width: 160px;
    max-width: 240px;
}

a.torneo-patrocinador-logo:hover {
    border-color: var(--color-navy, #0b0c4c);
    box-shadow: 0 4px 16px rgba(11, 12, 76, 0.10);
    transform: translateY(-2px);
}

.torneo-patrocinador-logo img {
    display: block;
    max-width: 200px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Logos en gris, color al hover si son <a> */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

a.torneo-patrocinador-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .torneo-patrocinadores-section {
        padding: 36px 0 28px;
    }

    .torneo-patrocinadores-grid {
        gap: 20px 24px;
    }

    .torneo-patrocinador-logo {
        padding: 12px 18px;
        min-width: 100px;
        max-width: 160px;
    }

    .torneo-patrocinador-logo img {
        max-width: 120px;
        max-height: 55px;
    }
}

@media (max-width: 480px) {
    .torneo-patrocinadores-section {
        padding: 28px 0 20px;
    }

    .torneo-patrocinadores-grid {
        gap: 14px 16px;
    }

    .torneo-patrocinador-logo {
        padding: 10px 14px;
        min-width: 85px;
        border-radius: 10px;
    }

    .torneo-patrocinador-logo img {
        max-width: 100px;
        max-height: 44px;
    }
}

/* ============================================
   FILTROS INSCRITOS — BOTONES EN FILAS
   ============================================ */
#inscritos-filtros {
    margin-bottom: 28px;
}

.inscritos-filtro-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.inscritos-filtro-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    min-width: 80px;
    flex-shrink: 0;
}

.inscritos-filtro-btn {
    padding: 7px 18px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--font-primary, sans-serif);
}

.inscritos-filtro-btn:hover:not(:disabled) {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.inscritos-filtro-btn.active {
    background: #fff;
    border-color: #fff;
    color: var(--color-navy, #0b0c4c);
}

.inscritos-filtro-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

.inscritos-filtro-separador {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 4px 0 10px;
}

.inscritos-nomatch {
    text-align: center;
    padding: 40px 0;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .inscritos-filtro-label {
        min-width: 100%;
        margin-bottom: 4px;
    }

    .inscritos-filtro-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* ============================================
   FILTROS INSCRITOS — PILLS + DROPDOWNS
   ============================================ */
.inscritos-filtros-wrap {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 auto;
    align-content: center;
    align-items: center !important;
}

/* Fila de pills */
.inscritos-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inscritos-pill {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid #D0D7E3;
    background: #fff;
    color: #6B7A99;
    font-family: var(--font-primary, sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.inscritos-pill:hover {
    border-color: var(--color-navy, #0b0c4c);
    color: var(--color-navy, #0b0c4c);
}

.inscritos-pill.active {
    background: var(--color-navy, #0b0c4c);
    border-color: var(--color-navy, #0b0c4c);
    color: #fff;
}

/* Fila de dropdowns */
.inscritos-dropdowns-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inscritos-dropdown-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inscritos-dropdown-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8C9BAB;
    white-space: nowrap;
}

/* Ocultar dropdown si solo tiene una opción */
.inscritos-dropdown-wrap.oculto {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .inscritos-pill {
        padding: 7px 14px;
        font-size: 12px;
    }

    .inscritos-dropdowns-row {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .inscritos-pill {
        padding: 6px 12px;
        font-size: 11px;
    }

    .inscritos-dropdown-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}


/* ============================================
   PANEL ORDEN DE JUEGO
   ============================================ */
.oj-dias-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}


.oj-dia-card {
    width: 280px;
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 2px solid #E5E9F0;
    background: #fff;
    color: var(--color-navy, #0b0c4c);
    font-family: var(--font-primary, 'Mabry Pro', sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.oj-dia-card:hover {
    border-color: var(--color-navy, #0b0c4c);
    background: rgba(11, 12, 76, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -4px rgba(11, 12, 76, 0.1);
}

.oj-dia-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(11, 12, 76, 0.07);
    color: var(--color-navy, #0b0c4c);
    font-size: 15px;
    flex-shrink: 0;
}

.oj-dia-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.oj-dia-nombre {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy, #0b0c4c);
    text-transform: capitalize;
}

.oj-dia-fecha {
    font-size: 12px;
    font-weight: 500;
    color: #8C9BAB;
}

.oj-dia-arrow {
    font-size: 11px;
    color: #8C9BAB;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.oj-dia-card:hover .oj-dia-arrow {
    transform: translateX(3px);
    color: var(--color-navy, #0b0c4c);
}

@media (max-width: 768px) {
    .oj-dias-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .oj-dia-card {
        width: 100%;
        flex: 0 0 100%;
    }

    .oj-dia-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-radius: 8px;
    }
}