/* ============================================================
   CONTENEDOR PRINCIPAL
   ============================================================ */
.player-profile-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ============================================================
   TARJETA BLANCA
   ============================================================ */
.player-profile-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px 25px;
    color: #222222;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    font-family: 'Proza Libre', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   HEADER: FOTO + NOMBRE + EQUIPO
   ============================================================ */
.player-profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.player-avatar {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #00cec9;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(0,206,201,0.2);
}
.player-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.player-avatar-placeholder {
    font-size: 48px;
    font-weight: 700;
    color: #e5e523;
    text-transform: uppercase;
}

.player-title {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
}
.player-name {
    display: inline;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
    letter-spacing: -0.5px;
}
.player-shirt-number {
    display: inline-block;
    background: #e5e523;
    color: #0a0a0a;
    font-size: 1rem;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 0;
}
.player-team {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    flex-wrap: wrap;
}
.team-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #d500b3;
    text-transform: uppercase;
}
.team-link {
    color: #00cec9 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
}
.team-link:hover {
    text-decoration: underline !important;
    color: #00b3a9 !important;
}
.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a0a0a;
}

/* ============================================================
   ESCUDO DEL EQUIPO - SIN BORDES NI FONDOS
   ============================================================ */
.team-badge-wrapper {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    flex-shrink: 0;
    vertical-align: middle;
    line-height: 0;
}
.team-badge-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: none !important;
    box-shadow: none !important;
}

/* ============================================================
   DETALLES EN DOS COLUMNAS - UNA LÍNEA Y COMPACTO
   ============================================================ */
.player-details-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 30px;
    text-align: left;
    margin-top: 12px;
}
.player-details-col-left,
.player-details-col-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
}

.detail-label {
    flex: 0 0 auto !important;
    font-weight: 700 !important;
    color: #d500b3 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.detail-value {
    flex: 1 !important;
    font-weight: 400 !important;
    color: #222 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.detail-value a.po-instagram-link {
    color: #e5e523;
    text-decoration: none;
    transition: color 0.2s;
}
.detail-value a.po-instagram-link:hover {
    color: #00cec9;
    text-decoration: underline;
}

.player-flag {
    display: inline-block;
    width: 20px !important;
    height: 15px !important;
    object-fit: contain;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.1);
}

.nacionalidad-item {
    display: inline-block;
    white-space: nowrap;
}
.nacionalidad-item img.player-flag {
    vertical-align: middle;
    margin-right: 4px;
}

/* ============================================================
   EDITAR
   ============================================================ */
.edit-link {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.edit-link a {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(229,229,35,0.15);
    color: #e5e523;
    border: 1px solid rgba(229,229,35,0.3);
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}
.edit-link a:hover {
    background: #e5e523;
    color: #0a0a0a;
}

/* ============================================================
   SELECTOR DE JUGADORES (si se usa)
   ============================================================ */
.player-selector-wrapper {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
.player-selector-wrapper select {
    padding: 6px 32px 6px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0a0a0a !important;
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: all 0.2s !important;
    min-width: 180px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%230a0a0a" stroke-width="1.5" fill="none"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
}
.player-selector-wrapper select:hover {
    background-color: #eef0f3 !important;
    border-color: #bbb !important;
}
.player-selector-wrapper select:focus {
    outline: none !important;
    border-color: #e5e523 !important;
    box-shadow: 0 0 0 3px rgba(229, 229, 35, 0.2) !important;
}
.player-selector-wrapper select option {
    padding: 6px !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .player-profile-card {
        padding: 20px;
    }
    .player-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .player-avatar {
        flex: 0 0 100px;
        width: 100px;
        height: 100px;
    }
    .player-name {
        font-size: 1.6rem;
        text-align: center;
    }
    .player-team {
        justify-content: center;
    }
    .player-title {
        justify-content: center;
    }
    .player-details-two-columns {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    .player-details-col-left,
    .player-details-col-right {
        gap: 4px;
    }
    .detail-label {
        font-size: 0.6rem !important;
        min-width: 110px !important;
    }
    .detail-value {
        font-size: 0.85rem !important;
    }
    .player-selector-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 12px !important;
    }
    .player-selector-wrapper select {
        width: 100% !important;
        min-width: unset !important;
    }
}

@media (max-width: 480px) {
    .player-avatar {
        flex: 0 0 80px;
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    .player-name {
        font-size: 1.3rem;
    }
    .player-shirt-number {
        font-size: 0.8rem;
        padding: 1px 10px;
    }
    .player-profile-card {
        padding: 16px;
    }
}

/* ============================================================
   CONTENEDOR DE DOS COLUMNAS (reforzado)
   ============================================================ */
.player-details-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    text-align: left;
    width: 100%;
}

.player-details-col-left,
.player-details-col-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.detail-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    padding: 2px 0;
    width: 100%;
}

.detail-label {
    flex: 0 0 auto !important;
    min-width: 100px !important;
    max-width: 140px !important;
    font-weight: 700 !important;
    color: #d500b3 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.detail-value {
    flex: 1 !important;
    font-weight: 400 !important;
    color: #222 !important;
    font-size: 0.95rem !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
    .detail-item {
        flex-wrap: wrap !important;
        gap: 2px !important;
    }
    .detail-label {
        min-width: 80px !important;
        font-size: 0.6rem !important;
    }
    .detail-value {
        font-size: 0.85rem !important;
        white-space: normal !important;
    }
}

/* ============================================================
   PESTAÑAS DE LA PÁGINA DE JUGADOR
   ============================================================ */
.single-sp_player .sp-tab-menu-wrapper {
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 16px 20px 12px 20px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
    margin: 22px 0 18px 0 !important;
}

.single-sp_player .sp-tab-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-sp_player .sp-tab-menu-item a {
    display: block !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    background: #eef0f3 !important;
    color: #16161c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.single-sp_player .sp-tab-menu-item a:hover {
    background: rgba(0, 206, 201, 0.15) !important;
    color: #0a0a0a !important;
}

.single-sp_player .sp-tab-menu-item-active a {
    background: #00cec9 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .single-sp_player .sp-tab-menu-wrapper {
        padding: 12px 14px !important;
        margin: 16px 0 12px 0 !important;
    }
    .single-sp_player .sp-tab-menu-item a {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
}

/* ============================================================
   DETALLES COMBINADOS (TARJETA P11)
   ============================================================ */
.player-details-combined {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    padding: 16px 0;
    margin-top: 16px;
    text-align: left;
}

.player-details-combined .player-details-col-left,
.player-details-combined .player-details-col-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.detail-item-combined {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.detail-label-combined {
    flex-shrink: 0 !important;
    min-width: 130px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #d500b3 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.detail-value-combined {
    flex: 1 !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: #222 !important;
}

.detail-value-combined img {
    width: 24px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
}

.detail-value-combined a.po-instagram-link {
    color: #e5e523;
    text-decoration: none;
}
.detail-value-combined a.po-instagram-link:hover {
    color: #00cec9;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .player-details-combined {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Nacionalidad: bandera + nombre en línea */
.nacionalidad-item {
    display: inline-block;
    margin-right: 6px;
    white-space: nowrap;
}
.nacionalidad-item img.player-flag {
    vertical-align: middle;
    margin-right: 4px;
}

/* Selector en el header */
.player-selector-wrapper {
    margin-left: auto;
    flex-shrink: 0;
}

.player-selector-wrapper select {
    padding: 8px 32px 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    background: #f5f5f5 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%230a0a0a" stroke-width="1.5" fill="none"/></svg>') no-repeat right 12px center;
    background-size: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s;
    min-width: 200px;
    max-width: 280px;
}

.player-selector-wrapper select:hover {
    background-color: #eef0f3;
    border-color: #bbb;
}

.player-selector-wrapper select:focus {
    outline: none;
    border-color: #e5e523;
    box-shadow: 0 0 0 3px rgba(229,229,35,0.2);
}

.player-selector-wrapper select option {
    padding: 8px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .player-selector-wrapper {
        margin-left: 0;
        width: 100%;
        margin-top: 12px;
    }
    .player-selector-wrapper select {
        width: 100%;
        max-width: 100%;
    }
    .player-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.team-badge-wrapper {
    width: 28px !important;
    height: 28px !important;
}
.team-badge-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.detail-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.detail-label {
    min-width: 140px;
    font-weight: 600;
    color: #d500b3;
}
.detail-value {
    font-weight: 400;
    color: #222;
}

.player-name {
    display: inline !important;
}
.player-shirt-number {
    display: inline-block !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
}

.detail-item-combined {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}
.detail-label-combined {
    flex-shrink: 0 !important;
    min-width: 130px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    color: #d500b3 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.detail-value-combined {
    flex: 1 !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: #222 !important;
}

.team-badge-wrapper {
    width: 28px !important;
    height: 28px !important;
}
.team-badge-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.player-selector-wrapper {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.player-profile-card,
.player-profile-card * {
    font-family: 'Proza Libre', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   DETALLES EN DOS COLUMNAS - ALINEACIÓN IZQUIERDA Y COMPACTO
   ============================================================ */
.player-details-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
    text-align: left;
    margin-top: 8px;
}

.player-details-col-left,
.player-details-col-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    padding: 1px 0;
}

.detail-label {
    flex: 0 0 auto !important;
    font-weight: 700 !important;
    color: #d500b3 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.detail-value {
    flex: 0 1 auto !important;
    font-weight: 400 !important;
    color: #222 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.nacionalidad-item {
    display: inline-block;
    white-space: nowrap;
}
.nacionalidad-item img.player-flag {
    vertical-align: middle;
    margin-right: 4px;
    width: 20px !important;
    height: 15px !important;
}

.team-link,
.po-instagram-link {
    color: #00cec9 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
.team-link:hover,
.po-instagram-link:hover {
    text-decoration: underline !important;
    color: #00b3a9 !important;
}

.team-badge-wrapper {
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
}
.team-badge-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.player-selector-wrapper {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
.player-selector-wrapper select {
    padding: 6px 32px 6px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0a0a0a !important;
    background: #f5f5f5 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%230a0a0a" stroke-width="1.5" fill="none"/></svg>') no-repeat right 12px center !important;
    background-size: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: all 0.2s !important;
    min-width: 180px !important;
}
.player-selector-wrapper select:hover {
    background-color: #eef0f3 !important;
    border-color: #bbb !important;
}
.player-selector-wrapper select:focus {
    outline: none !important;
    border-color: #e5e523 !important;
    box-shadow: 0 0 0 3px rgba(229, 229, 35, 0.2) !important;
}
.player-selector-wrapper select option {
    padding: 6px !important;
}

@media (max-width: 768px) {
    .player-details-two-columns {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    .player-details-col-left,
    .player-details-col-right {
        gap: 4px;
    }
    .detail-label {
        font-size: 0.6rem !important;
    }
    .detail-value {
        font-size: 0.85rem !important;
    }
    .player-selector-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 12px !important;
    }
    .player-selector-wrapper select {
        width: 100% !important;
        min-width: unset !important;
    }
    .player-profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sp-profile-selector,
.sp-player-selector,
.sp-selector-redirect {
    display: none !important;
}

.detail-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    padding: 2px 0;
    width: 100%;
}

.detail-label {
    flex: 0 0 auto !important;
    min-width: 100px !important;
    max-width: 140px !important;
    font-weight: 700 !important;
    color: #d500b3 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.detail-value {
    flex: 1 !important;
    font-weight: 400 !important;
    color: #222 !important;
    font-size: 0.95rem !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
    .detail-item {
        flex-wrap: wrap !important;
        gap: 2px !important;
    }
    .detail-label {
        min-width: 80px !important;
        font-size: 0.6rem !important;
    }
    .detail-value {
        font-size: 0.85rem !important;
        white-space: normal !important;
    }
}

/* ============================================================
   TABLAS GENERALES DE SPORTSPRESS
   ============================================================ */

/* Base para todas las tablas de SportsPress */
.sp-data-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    font-family: 'Proza Libre', 'Roboto', sans-serif;
    font-size: 14px;
}
.sp-data-table th {
    background: #0a0a0a;
    color: #e5e523;
    padding: 10px 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
}
.sp-data-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.sp-data-table tr:nth-child(even) td {
    background: #fafafa;
}
.sp-data-table tr:hover td {
    background: #fff8c4 !important;
}
.sp-data-table a {
    color: #00cec9;
    text-decoration: none;
}
.sp-data-table a:hover {
    color: #00b3a9;
    text-decoration: underline;
}
.sp-table-caption {
    font-size: 16px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 10px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   TABLAS DE EVENTOS - SCROLL FIJO
   ============================================================ */

/* Contenedor de tabla con scroll */
.sp-event-list-wrapper {
    overflow: auto;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
}

/* Tabla */
.sp-event-list {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Proza Libre', 'Roboto', sans-serif;
    font-size: 14px;
    background: #fff;
}

/* Cabecera fija */
.sp-event-list thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0a0a0a;
    color: #e5e523;
    padding: 10px 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 2px solid #e5e523;
}

/* Primera columna (Liga) fija para facilitar lectura */
.sp-event-list td:first-child,
.sp-event-list th:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #fff;
    min-width: 120px;
}
.sp-event-list thead th:first-child {
    z-index: 15;
    background: #0a0a0a;
}

/* Filas */
.sp-event-list td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    vertical-align: middle;
    background: #fff;
}

/* Filas alternas */
.sp-event-list tbody tr:nth-child(even) td {
    background: #fafafa;
}
.sp-event-list tbody tr:nth-child(even) td:first-child {
    background: #fafafa;
}

/* Hover */
.sp-event-list tbody tr:hover td {
    background: #fff8c4 !important;
}
.sp-event-list tbody tr:hover td:first-child {
    background: #fff8c4 !important;
}

/* Enlaces */
.sp-event-list a {
    color: #00cec9;
    text-decoration: none;
}
.sp-event-list a:hover {
    color: #00b3a9;
    text-decoration: underline;
}

/* Escudos en equipos (si no los muestra, los añadimos con JS) */
.sp-event-list .team-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 4px;
}

/* Ocultar columna de resultados en fixture si no hay */
.sp-event-list .data-results:empty::before {
    content: '-';
}

/* Responsive: en móvil reducir padding y tamaño de fuente */
@media (max-width: 768px) {
    .sp-event-list {
        font-size: 12px;
    }
    .sp-event-list th,
    .sp-event-list td {
        padding: 6px 8px;
    }
}

/* ---------- TABLAS DE EVENTOS (SCROLL FIJO) ---------- */
.sp-table-wrapper {
    overflow: auto;
    max-height: 600px;
    border-radius: 12px;
}
.sp-event-list thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0a0a0a;
    color: #e5e523;
}
.sp-event-list td:first-child,
.sp-event-list th:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #fff;
}
.sp-event-list thead th:first-child {
    z-index: 15;
    background: #0a0a0a;
}
.sp-event-list tbody tr:nth-child(even) td {
    background: #fafafa;
}
.sp-event-list tbody tr:nth-child(even) td:first-child {
    background: #fafafa;
}
.sp-event-list tbody tr:hover td {
    background: #fff8c4 !important;
}
.sp-event-list tbody tr:hover td:first-child {
    background: #fff8c4 !important;
}
/* Iconos de incidencias */
.sp-event-list .data-incidents .sp-icon-soccerball,
.sp-event-list .data-incidents .sp-icon-shoe,
.sp-event-list .data-incidents .sp-icon-card-yellow,
.sp-event-list .data-incidents .sp-icon-card-red,
.sp-event-list .data-incidents .sp-icon-clean-sheet {
    font-size: 18px;
    margin: 0 2px;
}

/* ============================================================
   ICONOS DE INCIDENCIAS EN TABLA DE EVENTOS DE JUGADORA
   ============================================================ */
.sp-event-list .data-performance .sp-icon-soccerball,
.sp-event-list .data-performance .sp-icon-shoe,
.sp-event-list .data-performance .sp-icon-card-yellow,
.sp-event-list .data-performance .sp-icon-card-red {
    font-size: 18px;
    display: inline-block;
    margin: 0 2px;
    vertical-align: middle;
}
.sp-event-list .data-performance .sp-icon-soccerball {
    color: #e5e523;
}
.sp-event-list .data-performance .sp-icon-shoe {
    color: #00cec9;
}
.sp-event-list .data-performance .sp-icon-card-yellow {
    color: #ffcc00;
}
.sp-event-list .data-performance .sp-icon-card-red {
    color: #ff0000;
}

/* ============================================================
   TABLA DE ESTADÍSTICAS DE JUGADORA (Fondo blanco, letras negras)
   ============================================================ */

/* Contenedor con scroll */
.sp-template-player-statistics .sp-table-wrapper {
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    background: #ffffff;
    margin-bottom: 20px;
}

/* Tabla */
.sp-template-player-statistics .sp-player-statistics {
    width: 100%;
    border-collapse: collapse;
    font-family: "Proza Libre", "Roboto", sans-serif;
    font-size: 13px;
    background: #ffffff;
    min-width: 700px; /* scroll horizontal */
}

/* Cabecera fija (sticky) - FONDO BLANCO, LETRAS NEGRAS */
.sp-template-player-statistics .sp-player-statistics thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 8px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 2px solid #cccccc; /* Borde gris suave */
    white-space: nowrap;
}

/* Imágenes en cabecera más pequeñas */
.sp-template-player-statistics .sp-player-statistics thead th img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    vertical-align: middle;
}

/* Iconos de fuente en cabecera */
.sp-template-player-statistics .sp-player-statistics thead th .sp-icon {
    font-size: 16px !important;
    vertical-align: middle;
}

/* Celdas del cuerpo */
.sp-template-player-statistics .sp-player-statistics td {
    padding: 6px 8px;
    border-bottom: 1px solid #eeeeee; /* Borde gris muy claro */
    text-align: center;
    vertical-align: middle;
    background: #ffffff;
    color: #000000; /* Letras negras */
}

/* Filas alternas (gris muy claro para diferenciar) */
.sp-template-player-statistics .sp-player-statistics tbody tr:nth-child(even) td {
    background: #f9f9f9;
}

/* Hover (color sutil) */
.sp-template-player-statistics .sp-player-statistics tbody tr:hover td {
    background: #f0f0f0 !important;
}

/* Primera columna (Temporada) fija a la izquierda */
.sp-template-player-statistics .sp-player-statistics td:first-child,
.sp-template-player-statistics .sp-player-statistics th:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #ffffff;
    min-width: 80px;
}
.sp-template-player-statistics .sp-player-statistics thead th:first-child {
    z-index: 15;
    background: #ffffff !important;
}

/* Ajuste para filas alternas y hover en primera columna */
.sp-template-player-statistics .sp-player-statistics tbody tr:nth-child(even) td:first-child {
    background: #f9f9f9;
}
.sp-template-player-statistics .sp-player-statistics tbody tr:hover td:first-child {
    background: #f0f0f0 !important;
}

/* Fila "Total" resaltada (fondo ligeramente más oscuro) */
.sp-template-player-statistics .sp-player-statistics .sp-highlight {
    background: #f5f5f5 !important;
    font-weight: 600;
}
.sp-template-player-statistics .sp-player-statistics .sp-highlight td {
    background: #f5f5f5 !important;
}
.sp-template-player-statistics .sp-player-statistics tbody tr:hover .sp-highlight td {
    background: #e8e8e8 !important;
}

/* ============================================================
   ESTADÍSTICAS DE JUGADORA - ESCUDOS PEQUEÑOS
   ============================================================ */
.sp-template-player-statistics .team-logo-js {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}