@charset "utf-8";
/* CSS Document */


.fondo_equipo_jugador{
    position:absolute;
    width:100%;
    height:100%; 
    background-repeat:no-repeat; 
    background-position:center;
    /*background-color: rgba(253, 253, 253, 0.91) !important; */
    background-size:100%; 
    z-index:0;    
    opacity: 0.3;  
    filter: alpha(opacity=10);
    filter: blur(5px);
    -webkit-filter: blur(5px); 
    -moz-filter: blur(5px);      
    -o-filter: blur(5px); 
    -ms-filter: blur(5px); 
 }


.cuadro{
	padding: 1px;
}


.jugadorcuadro{
    margin: 0px;
    padding: 10px 0px 7px 0px;
    line-height: 12px;
    height: 55px;
	
}

.escudo_ficha_jugador{
        width: 40px;
    margin-top: -10px;
    margin-right: 5px;
    position: absolute;
    top: 15px;
    left: 10px;
}

.azul1{
	background-color: #c8dff1;
	color: #000;
}

.azul2{
	background-color: #75b5e8;
	color: #000;
}

.azul3{
	background-color: #2196f3;
	color:#fff;
}

.azul4{
	background-color: #115b96;
	color:#fff;	
}


.verde1{
	background-color: #d3f1c8;
	color: #000;
}

.verde2{
	background-color: #90ea8e;
	color: #000;
}

.verde3{
	background-color: #21923e;
	color:#fff;
}

.verde4{
	color:#fff;
	background-color: #065d1c;
}



.naranja1{
	background-color: #f5d09a;
	color: #000;
}

 .naranja2{
	background-color: #e2a13e;
	color: #000;

}

.naranja3{
	background-color: #ff9900;
		color:#fff;

}

.naranja4{
	background-color: #9c620b;
		color:#fff;

}



 .rojo1{
	background-color: #f5bdbd;
	color: #000;

}

 .rojo2{
	background-color: #fd7a7a;
}

.rojo3{
	background-color: #ff3232;
		color:#fff;

}

.rojo4{
	background-color: #b90c0c;
		color:#fff;

}

.boton_info_ficha{
	margin-right: 3px;
    position: absolute;
    right: 0px;
    bottom: 50px;
    font-size: 20px;
    background-color: #66b870;
    padding: 5px 15px;
    border-radius: 60px;
    cursor: pointer;
}

.position_GK{
	background-color: #7bff82;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.position_DC{
	background-color: #0088ff;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_DR{
	background-color: #0088ff;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 10%;
    left: 85%;
    transform: translate(-50%,-50%);
}

.position_DL{
	background-color: #0088ff;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 10%;
    left: 15%;
    transform: translate(-50%,-50%);
}

.position_DM{
	background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.position_MC{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_AM{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_ML{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 40%;
    left:15%;
    transform: translate(-50%,-50%);
}

.position_MR{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 40%;
    left: 85%;
    transform: translate(-50%,-50%);
}

.position_ST{
	background-color: #ff0000;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_LW{
	background-color: #ff0000;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 70%;
    left: 15%;
    transform: translate(-50%,-50%);
}

.position_RW{
	background-color: #ff0000;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 70%;
    left: 85%;
    transform: translate(-50%,-50%);
}

.fondo_stats{
    border-radius: 10px;
    margin-bottom: 5px;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgb(124 255 158));
}

.boton_info_jugador{
    width: 35px;
    height: 35px;
    margin-top: -10px;
    margin-right: 5px;
    position: absolute;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 20px;
    box-shadow: 0px 8px 3px 3px rgba(0, 0, 0, 0.3);
}

.boton_info_jugador:hover{
	scale: 1.2;
}




.select2-container--default .select2-selection--single {
    height: auto !important; /* Usar !important */
}

.select2-container--default .select2-results__options {
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Estilos para el contenedor de Select2 */
.select2-container--default .select2-selection--single {
  height: 42px; /* Aumentamos un poco más la altura */
  line-height: 40px; /* Ajustamos el line-height */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  padding: 0 10px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s ease;
  padding-left: 12px; /* Añadimos padding izquierdo para el logo */
}

.select2-container--default .select2-selection--single:hover {
  border-color: #aaa;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px; /* Asegúrate de que coincida */
  padding-left: 0; /* Removemos el padding izquierdo del rendered, ya está en el contenedor */
  color: #333;
  display: flex; /* Usamos flex para alinear el logo y el texto */
  align-items: center; /* Centramos verticalmente */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px; /* Ajustamos la altura de la flecha */
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #888 transparent transparent transparent;
  border-width: 6px 6px 0 6px;
  margin-left: 2px;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 6px 6px 6px;
}

/* Estilos para las opciones y la selección del dropdown */
.fantasy-option-container,
.fantasy-selection-container {
  display: flex;
  align-items: center;
}

.fantasy-option-container {
  justify-content: flex-start;
  width: 100%;
}

.select2-results__option--highlighted.select2-results__option--selectable .fantasy-option-container {
  background-color: #0a5f00;
}

.fantasy-logo {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  object-fit: contain;
}

/* Logo más pequeño en la selección */
.select2-selection__rendered .fantasy-logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.fantasy-name {
  flex-grow: 1;
  font-weight: normal;
  font-size: 16px;
}

/* Ocultar el icono de pin en la selección principal (opcional) */
.select2-selection__rendered .fantasy-pin-icon {
  display: none;
}

.cuadro_ficha{
  margin: 0px;
    padding: 0px 0px 6px 0px;
    line-height: 16px;
    border-right: 1px solid #ccc;
    height:40px;
}


/* =========================================================
   ESTADO DEL JUGADOR · diseño moderno igual al modal
   ========================================================= */

.player-fantasy-status{
    --status-accent:#19a05a;
    --status-bg:#f2fbf6;
    --status-text:#17643b;
    --status-border:#cfead9;

    width:100%;
    max-width:600px;
    box-sizing:border-box;
    margin:0 auto 10px;
    padding:8px 10px;

    display:flex;
    align-items:center;
    gap:9px;

    border:1px solid var(--status-border);
    border-radius:12px;
    background:linear-gradient(135deg,var(--status-bg) 0%,#fff 100%);
    box-shadow:0 4px 14px rgba(15,23,42,.045);
}

.player-fantasy-status.is-success{
    --status-accent:#19a05a;
    --status-bg:#f2fbf6;
    --status-text:#17643b;
    --status-border:#cfead9;
}

.player-fantasy-status.is-warning{
    --status-accent:#e8a51c;
    --status-bg:#fff9ea;
    --status-text:#79550b;
    --status-border:#f1ddb0;
}

.player-fantasy-status.is-danger{
    --status-accent:#e3524a;
    --status-bg:#fff4f3;
    --status-text:#853531;
    --status-border:#f0cfcc;
}

.player-fantasy-status__icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:#fff;
    border:1px solid rgba(15,23,42,.06);
    box-shadow:0 3px 8px rgba(15,23,42,.06);
}

.player-fantasy-status__img{
    width:18px;
    height:18px;
    object-fit:contain;
    display:block;
}

.player-fantasy-status__question{
    width:18px;
    height:18px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:var(--status-accent);
    font-size:11px;
    font-weight:900;
    line-height:1;
}

.player-fantasy-status__content{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:1px;
    line-height:1.25;
    text-align:left;
}

.player-fantasy-status__eyebrow{
    font-size:9px;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--status-accent);
}

.player-fantasy-status__text{
    font-size:11.5px;
    font-weight:700;
    color:var(--status-text);
}

.player-fantasy-status__detail{
    margin-top:1px;
    color:#64748b;
    font-size:10.5px;
    font-weight:500;
    line-height:1.3;
}

@media (max-width:767px){
    .player-fantasy-status{
        margin-bottom:9px;
        padding:7px 8px;
        border-radius:11px;
    }

    .player-fantasy-status__icon{
        width:27px;
        height:27px;
        flex-basis:27px;
        border-radius:8px;
    }

    .player-fantasy-status__text{
        font-size:10.5px;
    }

    .player-fantasy-status__detail{
        font-size:10px;
    }
}


/* botones modales*/

.jugador-actions-horizontal{
    top:10px;
    right:5px;
    display:flex;
    flex-direction:row;
    gap:6px;
    z-index:20;
}

/* tamaño base (mobile/tablet) */
.btn-jugador-info{
    display:flex;
    align-items:center;
    gap:4px;
    padding:4px 6px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 2px 6px rgba(0,0,0,.15);
    font-size:14px;
    font-weight:700;
    color:#222;
    text-decoration:none !important;
    transition:all .2s ease;
    margin-bottom: 10px;
    cursor:pointer;
}

.btn-jugador-info img{
    width:16px;
    height:16px;
    object-fit:contain;
}

.btn-jugador-info:hover{
    background:#00c853;
    color:#fff !important;
    transform:translateY(-2px);
}

/* 🔥 DESKTOP GRANDE */
@media (min-width:992px){

    .jugador-actions-horizontal{
        gap:10px;
        top:12px;
    }

    .btn-jugador-info{
        padding:8px 16px;
        font-size:14px;
        border-radius:24px;
    }

    .btn-jugador-info img{
        width:20px;
        height:20px;
    }

}

/*proximos encuentros*/

/* =========================
   PRÓXIMOS PARTIDOS (Cards)
   Optimizado + EXTRA PRO
   Bootstrap 3 friendly
   ========================= */

.proximos-partidos .match-list{
  margin-top: 12px;
}

/* Card base */
.match-card{
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;

  padding: 12px 10px;
  margin-bottom: 8px;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover (desktop) */
.match-card:hover{
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  cursor: pointer;
}

/* =========================
   LAYOUT EXTRA PRO
   Más espacio al centro
   ========================= */
.match-card .team{ width: 24%; text-align: center; line-height: 1.15; }
.match-card .match-center{ width: 52%; text-align: center; }

/* Equipos: escudo + nombre */
.match-card .team img{
  height: 42px;
  width: auto;
  display: inline-block;
  margin: 0 0 4px 0;
}

.match-card .team span{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #222;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  padding: 0 4px;
}

/* Centro */
.match-card .match-center{
  min-width: 0; /* clave para que el texto pueda hacer wrap sin “romper” flex */
}

/* Chip: logo + texto en la misma línea (y permite 2 líneas) */
.match-card .jornada-line{
  width: 100%;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: rgba(0,0,0,.03);
  border-radius: 20px;
  padding: 6px 10px;

  margin-bottom: 4px;
  min-width: 0; /* clave para ellipsis/clamp en flex */
}

/* Logo competición (no roba ancho) */
.match-card .comp-logo{
  height: 18px;
  width: auto;
  flex: 0 0 auto;
}

/* Nombre competición/jornada: 2 líneas, aprovecha hueco */
.match-card .jornada{
  font-size: 15px;
  font-weight: 800;
  color: #111;

  min-width: 0;
  white-space: normal !important;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.05;
}

/* Fecha/hora */
.match-card .fecha{
  font-size: 13px;
  color: #444;
  line-height: 1.2;
}

.match-card .fecha strong{
  font-weight: 800;
  color: #222;
}

.match-card .fecha .sep{
  opacity: .55;
  padding: 0 6px;
}

/* Detalle PRO: resalta si el equipo actual juega en casa/fuera */
.match-card.is-home{
  border-left: 4px solid rgba(0,160,80,.55);
  padding-left: 8px;
}

.match-card.is-away{
  border-left: 4px solid rgba(255,90,0,.55);
  padding-left: 8px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px){

  .match-card{
    padding: 10px 8px;
    border-radius: 9px;
  }

  /* En móvil damos un poco más a los laterales para que el nombre no se coma */
  .match-card .team{ width: 28%; }
  .match-card .match-center{ width: 44%; }

  .match-card .team img{
    height: 34px;
    margin-bottom: 3px;
  }

  .match-card .team span{
    font-size: 11px;
    padding: 0 2px;
  }

  .match-card .comp-logo{ height: 17px; }

  .match-card .jornada{
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .match-card .jornada-line{
    padding: 5px 8px;
    gap: 5px;
  }

  .match-card .fecha{
    font-size: 12px;
  }

  /* En móvil evitamos saltos en hover */
  .match-card:hover{
    transform: none;
    box-shadow: none;
  }
}

/* Muy pequeño (320-360px) */
@media (max-width: 360px){

  .match-card .team{ width: 29%; }
  .match-card .match-center{ width: 42%; }

  .match-card .jornada-line{
    padding: 4px 7px;
    gap: 5px;
  }

  .match-card .jornada{
    font-size: 12.5px;
  }
}

/* =========================================================
   PRÓXIMOS PARTIDOS · mismo diseño que la ventana modal
   ========================================================= */

.player-next-section--ficha{
    margin:0 0 12px;
    clear:both;
}

.player-next-section--ficha .player-next-section__title{
    margin:0 0 8px;
    display:flex;
    align-items:center;
    gap:6px;
    color:#273244;
    font-size:10.5px;
    font-weight:900;
    letter-spacing:.025em;
    text-transform:uppercase;
    line-height:1;
}

.player-next-section--ficha .player-next-section__title i{
    color:#526073;
    font-size:12px;
}

.player-next-section--ficha .player-next-matches{
    display:flex;
    align-items:stretch;
    gap:7px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:1px 1px 4px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}

.player-next-section--ficha .player-next-matches::-webkit-scrollbar{
    height:4px;
}

.player-next-section--ficha .player-next-matches::-webkit-scrollbar-thumb{
    background:#d7dde5;
    border-radius:99px;
}

.player-next-section--ficha .partido{
    flex:0 0 auto;
}

.player-next-section--ficha .player-next-match{
    position:relative;
    flex:0 0 94px;
    min-width:94px;
    min-height:108px;
    padding:6px 6px 7px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    color:#263246 !important;
    text-decoration:none !important;
    border:1px solid #e8edf3;
    border-radius:14px;
    background:#fff;
    box-shadow:none;
    scroll-snap-align:start;
    transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
}

.player-next-section--ficha .player-next-match:hover,
.player-next-section--ficha .player-next-match:focus{
    transform:translateY(-1px);
    border-color:#d8e0ea;
    box-shadow:0 6px 14px rgba(15,23,42,.05);
    outline:none;
    text-decoration:none !important;
}

.player-next-section--ficha .player-next-match__top{
    width:100%;
    min-height:18px;
    display:grid;
    grid-template-columns:17px 1fr 15px;
    align-items:center;
    gap:4px;
}

.player-next-section--ficha .player-next-match__venue{
    width:17px;
    height:17px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    color:#129458;
    background:#edf9f3;
    font-size:8.5px;
    flex:0 0 17px;
}

.player-next-section--ficha .player-next-match.is-away .player-next-match__venue{
    color:#dd4c67;
    background:#fff0f3;
}

.player-next-section--ficha .player-next-match__top-round{
    justify-self:center;
    min-width:26px;
    padding:0 4px;
    color:#ee6b16;
    font-size:11px;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
    text-align:center;
}

.player-next-section--ficha .player-next-match__top-round--empty{
    visibility:hidden;
}

.player-next-section--ficha .player-next-match__competition{
    width:15px;
    height:15px;
    object-fit:contain;
    display:block;
    flex:0 0 15px;
    justify-self:end;
}

.player-next-section--ficha .player-next-match__crest-wrap{
    width:34px;
    height:34px;
    margin:4px 0 3px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.player-next-section--ficha .player-next-match__crest{
    width:30px;
    height:30px;
    object-fit:contain;
    display:block;
}

.player-next-section--ficha .player-next-match__rival{
    width:100%;
    min-height:20px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    text-align:center;
    color:#293446;
    font-size:9px;
    font-weight:900;
    line-height:1.12;
}

.player-next-section--ficha .player-next-match__date{
    width:100%;
    margin-top:4px;
    padding-top:4px;
    border-top:1px solid #eef1f4;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    flex-wrap:wrap;
}

.player-next-section--ficha .player-next-match__date-chip{
    display:inline-flex;
    align-items:center;
    gap:3px;
    padding:2px 5px;
    border-radius:999px;
    font-size:8.4px;
    font-weight:900;
    line-height:1;
    color:#455468;
    background:#f4f7fa;
    white-space:nowrap;
}

.player-next-section--ficha .player-next-match__date-chip i{
    font-size:8px;
    opacity:.8;
}

.player-next-section--ficha .player-next-match__date-chip--day{
    color:#314055;
    background:#eef3f8;
}

.player-next-section--ficha .player-next-match__date-chip--time{
    color:#0f766e;
    background:#eafaf7;
}

.player-next-section--ficha .player-next-match__live{
    width:100%;
    margin-top:4px;
    padding-top:4px;
    border-top:1px solid #eef1f4;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
}

.player-next-section--ficha .player-next-match__live-score{
    font-size:12px;
    font-weight:900;
    color:#273244;
    line-height:1;
}

.player-next-section--ficha .player-next-match__live-label{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:2px 6px;
    border-radius:999px;
    background:#fff2f1;
    color:#d54747;
    font-size:7.8px;
    font-weight:900;
    line-height:1;
}

.player-next-section--ficha .player-next-match__live-dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:currentColor;
    display:inline-block;
}

.player-next-section--ficha .player-next-empty{
    padding:14px;
    border:1px dashed #d9e0e8;
    border-radius:12px;
    background:#fafbfc;
    color:#7a8593;
    font-size:11px;
    text-align:center;
}

@media (max-width:560px){
    .player-next-section--ficha .player-next-matches{
        gap:6px;
    }

    .player-next-section--ficha .player-next-match{
        flex-basis:86px;
        min-width:86px;
        min-height:104px;
        padding:5px 5px 6px;
        border-radius:13px;
    }

    .player-next-section--ficha .player-next-match__top{
        grid-template-columns:16px 1fr 14px;
        gap:3px;
    }

    .player-next-section--ficha .player-next-match__crest-wrap{
        width:31px;
        height:31px;
        margin-top:3px;
    }

    .player-next-section--ficha .player-next-match__crest{
        width:27px;
        height:27px;
    }

    .player-next-section--ficha .player-next-match__rival{
        font-size:8.6px;
        min-height:19px;
    }

    .player-next-section--ficha .player-next-match__date{
        gap:3px;
    }

    .player-next-section--ficha .player-next-match__date-chip{
        font-size:8px;
        padding:2px 4px;
    }

    .player-next-section--ficha .player-next-match__top-round{
        font-size:10px;
    }

    .player-next-section--ficha .player-next-match__live-score{
        font-size:11px;
    }
}

@media (max-width:380px){
    .player-next-section--ficha .player-next-match{
        flex-basis:82px;
        min-width:82px;
    }
}


/* Corrección de estructura desktop: el carrusel nunca ensancha la columna Bootstrap */
.player-next-section--ficha{
    min-width:0;
    width:100%;
    max-width:100%;
}

.player-next-section--ficha .player-next-matches{
    width:100%;
    max-width:100%;
    min-width:0;
}

.player-next-section--ficha .partido{
    min-width:0;
}


/* =========================================================
   PREVIEW REDISEÑO PARTE SUPERIOR FICHA JUGADOR
   ========================================================= */

.player-top-preview{
    width:100%;
    text-align:left;
    margin:0 0 8px;
}

.player-top-preview__tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 12px;
}

.player-top-preview__tab{
    min-width:0;
    flex:1 1 110px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:10px 12px;
    background:#fff;
    border:1px solid #e7ebf1;
    border-radius:999px;
    box-shadow:0 3px 10px rgba(15,23,42,.05);
    color:#42526a;
    font-size:13px;
    font-weight:700;
    line-height:1;
    text-decoration:none !important;
    transition:.18s ease;
}
.player-top-preview__tab img{width:16px;height:16px;object-fit:contain;display:block;}
.player-top-preview__tab:hover,
.player-top-preview__tab:focus{
    color:#1d4ed8;
    border-color:#d9e2ec;
    background:#fbfdff;
    transform:translateY(-1px);
    text-decoration:none !important;
}
.player-top-preview__tab.is-active{
    color:#0f4c9c;
    border-color:#dbe5f1;
    background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}

.player-top-preview__card{
    position:relative;
    overflow:hidden;
    padding:14px;
    border:1px solid #e5eaf1;
    border-radius:20px;
    background:linear-gradient(180deg,#ffffff 0%,#f9fbfd 100%);
    box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.player-top-preview__watermark{
    position:absolute;
    inset:0;
    background-repeat:no-repeat;
    background-position:center;
    background-size:78%;
    opacity:.08;
    filter:blur(2px);
    pointer-events:none;
}

.player-top-preview__hero,
.player-top-preview__stats-grid{
    position:relative;
    z-index:1;
}

.player-top-preview__hero{
    display:grid;
    grid-template-columns:145px minmax(0,1fr);
    gap:14px;
    align-items:stretch;
}

.player-top-preview__portrait-card{
    position:relative;
    height:100%;
    min-height:190px;
    padding:14px 12px 12px;
    border-radius:18px;
    background:linear-gradient(180deg,#f2f7fb 0%,#ffffff 100%);
    border:1px solid #e2e8f0;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}

.player-top-preview__club-link{
    position:absolute;
    top:10px;
    left:10px;
}

.player-top-preview__club-crest{
    width:38px;
    height:38px;
    object-fit:contain;
    display:block;
    border-radius:50%;
    background:#fff;
    border:1px solid #e6ebf2;
    padding:5px;
    box-shadow:0 4px 10px rgba(15,23,42,.06);
}

.player-top-preview__portrait{
    position:relative;
    width:100%;
    height:100%;
    min-height:160px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    border-radius:16px;
    background:radial-gradient(circle at top,#ffffff 0%,#eff5fa 75%);
}
.player-top-preview__portrait img{
    max-width:100%;
    max-height:160px;
    object-fit:contain;
    display:block;
}
.player-top-preview__position-badge{
    position:absolute;
    left:8px;
    bottom:8px;
    min-width:34px;
    height:34px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#fff;
    font-size:13px;
    font-weight:900;
    box-shadow:0 8px 16px rgba(15,23,42,.15);
}
.player-top-preview__portrait.is-pt .player-top-preview__position-badge{background:#16a34a;}
.player-top-preview__portrait.is-df .player-top-preview__position-badge{background:#1d9bf0;}
.player-top-preview__portrait.is-md .player-top-preview__position-badge{background:#f59e0b;}
.player-top-preview__portrait.is-dl .player-top-preview__position-badge{background:#ef4444;}

.player-top-preview__summary{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.player-top-preview__summary-grid{
    display:grid;
    grid-template-columns:1fr 1.15fr .95fr;
    gap:10px;
}

.player-top-preview__mini-card{
    min-width:0;
    padding:11px 12px;
    border-radius:16px;
    border:1px solid #e5ebf2;
    background:#fff;
    display:flex;
    flex-direction:column;
    gap:4px;
    justify-content:center;
}
.player-top-preview__mini-card--titular{
    color:#fff;
    border-color:transparent;
}
.player-top-preview__mini-card--titular.is-yes{
    background:linear-gradient(135deg,#0ea85e 0%,#16c46f 100%);
}
.player-top-preview__mini-card--titular.is-no{
    background:linear-gradient(135deg,#d94a4a 0%,#ef6666 100%);
}

.player-top-preview__mini-label{
    font-size:10px;
    font-weight:900;
    letter-spacing:.05em;
    color:#94a3b8;
    text-transform:uppercase;
    line-height:1;
}
.player-top-preview__mini-card--titular .player-top-preview__mini-label{color:rgba(255,255,255,.85);}

.player-top-preview__mini-main{
    display:flex;
    align-items:center;
    gap:6px;
    color:#243244;
    font-size:18px;
    font-weight:900;
    line-height:1.1;
}
.player-top-preview__mini-main--trend span,
.player-top-preview__mini-main--trend i{font-size:17px;}
.player-top-preview__mini-main--fixture img{width:20px;height:20px;object-fit:contain;display:block;}
.player-top-preview__fixture-side{display:inline-flex;color:#4b5563;font-size:12px;}
.player-top-preview__fixture-empty{opacity:.5;}
.player-top-preview__mini-main--titular{color:#fff;font-size:26px;letter-spacing:.02em;}
.player-top-preview__mini-sub{
    color:#66768a;
    font-size:11px;
    font-weight:600;
    line-height:1.2;
}
.player-top-preview__mini-card--titular .player-top-preview__mini-sub{color:rgba(255,255,255,.92);}

.player-top-preview__mini-main .is-up{color:#16a34a;}
.player-top-preview__mini-main .is-steady{color:#0ea5e9;}
.player-top-preview__mini-main .is-flat{color:#f59e0b;}
.player-top-preview__mini-main .is-down{color:#ef4444;}
.player-top-preview__mini-main .is-unknown{color:#64748b;}

.player-top-preview__events{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:11px 12px;
    border-radius:16px;
    border:1px solid #e5ebf2;
    background:#fff;
}
.player-top-preview__event-chip{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:6px 8px;
    border-radius:12px;
    background:#f8fafc;
    color:#334155;
    font-size:12px;
    font-weight:800;
    line-height:1;
}
.player-top-preview__event-chip i.fa-star{color:#f4b400;}
.player-top-preview__event-chip i.fa-arrow-right{color:#0ea5e9;}
.player-top-preview__event-chip i.fa-circle{color:#16a34a;}
.player-top-preview__event-chip i.fa-arrow-circle-up{color:#16a34a;}
.player-top-preview__event-chip i.fa-arrow-circle-down{color:#dc2626;}
.player-top-preview__event-chip i.fa-hand-paper-o{color:#2563eb;}
.player-top-preview__event-chip i.fa-lock{color:#16a34a;}

.player-top-preview__fantasy-select{
    padding:0;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single,
.player-top-preview__fantasy-select select.form-control{
    height:46px !important;
    border-radius:15px !important;
}

.player-top-preview__stats-grid{
    margin-top:12px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr)) 1.4fr;
    gap:10px;
    align-items:stretch;
}
.player-top-preview__stat-box,
.player-top-preview__price-box{
    padding:12px 14px;
    border-radius:16px;
    border:1px solid #e5ebf2;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:96px;
}
.player-top-preview__stat-label,
.player-top-preview__price-label{
    color:#7b8794;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.player-top-preview__stat-value{
    margin-top:6px;
    color:#12263a;
    font-size:30px;
    font-weight:900;
    line-height:1;
}
.player-top-preview__stat-meta{
    margin-top:6px;
    color:#66768a;
    font-size:11px;
    font-weight:600;
    line-height:1.25;
}
.player-top-preview__price-box{
    background:linear-gradient(135deg,#ffffff 0%,#f3fbf7 100%);
}
.player-top-preview__price-value{
    margin-top:8px;
    color:#12263a;
    font-size:34px;
    font-weight:900;
    line-height:1;
}
.player-top-preview__price-meta{
    margin-top:8px;
    color:#0a7a55;
    font-size:12px;
    font-weight:700;
    line-height:1.3;
}

@media (max-width:1199px){
    .player-top-preview__hero{
        grid-template-columns:130px minmax(0,1fr);
    }
    .player-top-preview__summary-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .player-top-preview__stats-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .player-top-preview__price-box{
        grid-column:span 2;
    }
}

@media (max-width:767px){
    .player-top-preview__tabs{
        gap:7px;
        margin-bottom:10px;
    }
    .player-top-preview__tab{
        flex:1 1 calc(50% - 4px);
        padding:9px 10px;
        font-size:12px;
    }
    .player-top-preview__card{
        padding:12px;
        border-radius:18px;
    }
    .player-top-preview__hero{
        grid-template-columns:1fr;
        gap:12px;
    }
    .player-top-preview__portrait-card{
        min-height:170px;
    }
    .player-top-preview__summary-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
    }
    .player-top-preview__mini-card{
        padding:10px 10px;
        border-radius:14px;
    }
    .player-top-preview__mini-main{
        font-size:16px;
    }
    .player-top-preview__mini-main--titular{
        font-size:23px;
    }
    .player-top-preview__mini-sub{
        font-size:10px;
    }
    .player-top-preview__events{
        gap:6px;
        padding:10px;
    }
    .player-top-preview__event-chip{
        font-size:11px;
        padding:5px 7px;
    }
    .player-top-preview__stats-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .player-top-preview__stat-box,
    .player-top-preview__price-box{
        min-height:84px;
        padding:10px 12px;
        border-radius:14px;
    }
    .player-top-preview__stat-value{
        font-size:28px;
    }
    .player-top-preview__price-value{
        font-size:30px;
    }
}

@media (max-width:479px){
    .player-top-preview__summary-grid{
        grid-template-columns:1fr 1fr;
    }
    .player-top-preview__mini-card--titular{
        grid-column:1 / -1;
    }
    .player-top-preview__stat-value{
        font-size:24px;
    }
    .player-top-preview__price-value{
        font-size:26px;
    }
}


/* =========================================================
   PREVIEW V2 · CABECERA DE JUGADOR MUCHO MÁS COMPACTA
   Mantiene el HTML/funcionalidad de la prueba anterior,
   pero conserva en móvil la composición horizontal.
   ========================================================= */

.player-top-preview{
    margin:0 0 5px !important;
}

.player-top-preview__tabs{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:5px !important;
    margin:0 0 7px !important;
}

.player-top-preview__tab{
    min-width:0 !important;
    height:31px !important;
    padding:0 5px !important;
    gap:4px !important;
    border-radius:12px !important;
    font-size:10.5px !important;
    box-shadow:0 2px 6px rgba(15,23,42,.04) !important;
    white-space:nowrap !important;
}

.player-top-preview__tab img{
    width:14px !important;
    height:14px !important;
}

.player-top-preview__card{
    padding:8px !important;
    border-radius:15px !important;
    box-shadow:0 6px 16px rgba(15,23,42,.045) !important;
}

.player-top-preview__watermark{
    background-size:68% !important;
    opacity:.055 !important;
    filter:blur(1px) !important;
}

/* FOTO IZQUIERDA + INFORMACIÓN DERECHA TAMBIÉN EN MÓVIL */
.player-top-preview__hero{
    display:grid !important;
    grid-template-columns:116px minmax(0,1fr) !important;
    gap:7px !important;
    align-items:stretch !important;
}

.player-top-preview__identity{
    min-width:0 !important;
}

.player-top-preview__portrait-card{
    min-height:124px !important;
    height:124px !important;
    padding:5px !important;
    border-radius:13px !important;
    background:rgba(247,250,252,.88) !important;
}

.player-top-preview__club-link{
    top:5px !important;
    left:5px !important;
    z-index:3 !important;
}

.player-top-preview__club-crest{
    width:27px !important;
    height:27px !important;
    padding:3px !important;
    border-radius:50% !important;
}

.player-top-preview__portrait{
    min-height:112px !important;
    height:112px !important;
    border-radius:11px !important;
    overflow:hidden !important;
    background:linear-gradient(180deg,#f6f9fc 0%,#edf4f8 100%) !important;
}

.player-top-preview__portrait img{
    width:auto !important;
    max-width:108px !important;
    height:112px !important;
    max-height:112px !important;
    object-fit:contain !important;
    object-position:center bottom !important;
}

.player-top-preview__position-badge{
    left:4px !important;
    bottom:4px !important;
    min-width:28px !important;
    height:24px !important;
    padding:0 7px !important;
    font-size:10px !important;
    box-shadow:0 4px 8px rgba(15,23,42,.12) !important;
}

/* PARTE DERECHA */
.player-top-preview__summary{
    gap:5px !important;
    min-width:0 !important;
}

.player-top-preview__summary-grid{
    display:grid !important;
    grid-template-columns:.8fr 1.05fr .9fr !important;
    gap:5px !important;
}

.player-top-preview__mini-card{
    min-height:43px !important;
    padding:5px 6px !important;
    gap:1px !important;
    border-radius:10px !important;
}

.player-top-preview__mini-label{
    font-size:7px !important;
    letter-spacing:.025em !important;
}

.player-top-preview__mini-main{
    min-height:14px !important;
    gap:3px !important;
    font-size:13px !important;
}

.player-top-preview__mini-main--trend span,
.player-top-preview__mini-main--trend i{
    font-size:13px !important;
}

.player-top-preview__mini-main--fixture img{
    width:16px !important;
    height:16px !important;
}

.player-top-preview__fixture-side{
    font-size:9px !important;
}

.player-top-preview__mini-main--titular{
    font-size:17px !important;
}

.player-top-preview__mini-sub{
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:7.3px !important;
    line-height:1.05 !important;
}

/* JUGADAS: UNA ÚNICA BANDA, SIN TARJETAS GRANDES */
.player-top-preview__events{
    min-height:27px !important;
    padding:3px 5px !important;
    gap:2px !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    border-radius:10px !important;
    scrollbar-width:none !important;
}

.player-top-preview__events::-webkit-scrollbar{
    display:none !important;
}

.player-top-preview__event-chip{
    flex:0 0 auto !important;
    gap:3px !important;
    padding:3px 4px !important;
    border-radius:7px !important;
    background:transparent !important;
    font-size:9px !important;
}

.player-top-preview__event-chip i{
    font-size:10px !important;
}

/* SELECTOR FANTASY COMPACTO */
.player-top-preview__fantasy-select{
    min-height:31px !important;
}

.player-top-preview__fantasy-select .select2-container{
    width:100% !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection--single,
.player-top-preview__fantasy-select select.form-control{
    height:31px !important;
    min-height:31px !important;
    border-radius:10px !important;
    margin:0 !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection--single .select2-selection__rendered{
    height:29px !important;
    line-height:29px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    font-size:11px !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection--single .select2-selection__arrow{
    height:29px !important;
}

/* ESTADÍSTICAS: 2x2 A LA IZQUIERDA + PRECIO A LA DERECHA */
.player-top-preview__stats-grid{
    margin-top:7px !important;
    display:grid !important;
    grid-template-columns:1fr 1fr 1.35fr !important;
    grid-template-rows:48px 48px !important;
    gap:5px !important;
}

.player-top-preview__stat-box,
.player-top-preview__price-box{
    min-height:0 !important;
    height:auto !important;
    padding:5px 7px !important;
    border-radius:10px !important;
}

.player-top-preview__stat-box:nth-child(1){grid-column:1;grid-row:1;}
.player-top-preview__stat-box:nth-child(2){grid-column:2;grid-row:1;}
.player-top-preview__stat-box:nth-child(3){grid-column:1;grid-row:2;}
.player-top-preview__stat-box:nth-child(4){grid-column:2;grid-row:2;}

.player-top-preview__price-box{
    grid-column:3 !important;
    grid-row:1 / 3 !important;
    justify-content:center !important;
}

.player-top-preview__stat-label,
.player-top-preview__price-label{
    font-size:7px !important;
    letter-spacing:.025em !important;
}

.player-top-preview__stat-value{
    margin-top:2px !important;
    font-size:18px !important;
}

.player-top-preview__stat-meta{
    margin-top:2px !important;
    font-size:7px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.player-top-preview__price-value{
    margin-top:3px !important;
    font-size:20px !important;
    white-space:nowrap !important;
}

.player-top-preview__price-meta{
    margin-top:4px !important;
    font-size:7.5px !important;
    line-height:1.25 !important;
}

/* Evita que las reglas de la V1 vuelvan a apilar todo en móvil */
@media (max-width:767px){
    .player-top-preview__tabs{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }

    .player-top-preview__tab{
        flex:none !important;
        padding:0 3px !important;
        font-size:9.5px !important;
    }

    .player-top-preview__card{
        padding:7px !important;
    }

    .player-top-preview__hero{
        grid-template-columns:108px minmax(0,1fr) !important;
        gap:6px !important;
    }

    .player-top-preview__portrait-card{
        min-height:120px !important;
        height:120px !important;
    }

    .player-top-preview__portrait{
        min-height:108px !important;
        height:108px !important;
    }

    .player-top-preview__portrait img{
        max-width:102px !important;
        height:108px !important;
        max-height:108px !important;
    }

    .player-top-preview__summary-grid{
        grid-template-columns:.75fr 1fr .85fr !important;
        gap:4px !important;
    }

    .player-top-preview__mini-card{
        padding:4px 5px !important;
    }

    .player-top-preview__mini-sub{
        font-size:6.8px !important;
    }

    .player-top-preview__events{
        padding:3px 4px !important;
    }

    .player-top-preview__stats-grid{
        grid-template-columns:1fr 1fr 1.28fr !important;
        grid-template-rows:46px 46px !important;
        gap:4px !important;
    }

    .player-top-preview__stat-value{
        font-size:17px !important;
    }

    .player-top-preview__price-value{
        font-size:18px !important;
    }
}

@media (max-width:390px){
    .player-top-preview__hero{
        grid-template-columns:100px minmax(0,1fr) !important;
    }

    .player-top-preview__portrait-card{
        min-height:114px !important;
        height:114px !important;
    }

    .player-top-preview__portrait{
        min-height:102px !important;
        height:102px !important;
    }

    .player-top-preview__portrait img{
        max-width:96px !important;
        height:102px !important;
        max-height:102px !important;
    }

    .player-top-preview__mini-label{
        font-size:6.5px !important;
    }

    .player-top-preview__mini-sub{
        display:none !important;
    }

    .player-top-preview__mini-card{
        min-height:39px !important;
    }

    .player-top-preview__events{
        min-height:25px !important;
    }

    .player-top-preview__fantasy-select .select2-container--default .select2-selection--single,
    .player-top-preview__fantasy-select select.form-control{
        height:29px !important;
        min-height:29px !important;
    }
}


/* =========================================================
   REFINADO V3 · MÁS FIEL A LA REFERENCIA DEL USUARIO
   ========================================================= */

/* Menú de operaciones: estilo más limpio y premium */
.player-top-preview__tabs{
    gap:6px !important;
    margin:0 0 8px !important;
}

.player-top-preview__tab{
    height:34px !important;
    padding:0 8px !important;
    border-radius:14px !important;
    border:1px solid #dbe3ec !important;
    background:linear-gradient(180deg,#ffffff 0%,#f6f8fb 100%) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 2px 6px rgba(15,23,42,.04) !important;
    color:#546479 !important;
    font-size:11px !important;
    font-weight:800 !important;
    gap:5px !important;
}
.player-top-preview__tab img{
    width:15px !important;
    height:15px !important;
}
.player-top-preview__tab.is-active{
    border-color:#cfd8e3 !important;
    color:#294d88 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 2px 6px rgba(15,23,42,.05) !important;
}
.player-top-preview__tab:hover,
.player-top-preview__tab:focus{
    color:#294d88 !important;
    background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%) !important;
    transform:none !important;
}

/* Tarjeta general algo más compacta */
.player-top-preview__card{
    padding:8px !important;
    border-radius:16px !important;
}

.player-top-preview__hero{
    grid-template-columns:108px minmax(0,1fr) !important;
    gap:7px !important;
}

.player-top-preview__portrait-card{
    min-height:110px !important;
    height:110px !important;
    padding:4px !important;
    border-radius:12px !important;
}

.player-top-preview__club-crest{
    width:26px !important;
    height:26px !important;
}

.player-top-preview__portrait{
    min-height:100px !important;
    height:100px !important;
}
.player-top-preview__portrait img{
    max-width:96px !important;
    height:100px !important;
    max-height:100px !important;
}
.player-top-preview__position-badge{
    left:5px !important;
    bottom:5px !important;
    min-width:26px !important;
    height:24px !important;
    padding:0 6px !important;
    font-size:10px !important;
}

/* 3 cajas siempre en la misma línea */
.player-top-preview__summary-grid{
    grid-template-columns:.82fr 1.02fr .82fr !important;
    gap:5px !important;
}
.player-top-preview__mini-card{
    min-height:42px !important;
    padding:5px 6px !important;
    border-radius:10px !important;
    gap:1px !important;
}
.player-top-preview__mini-card--titular{
    grid-column:auto !important;
}
.player-top-preview__mini-label{
    font-size:7px !important;
}
.player-top-preview__mini-main{
    font-size:13px !important;
    min-height:13px !important;
}
.player-top-preview__mini-main--titular{
    font-size:16px !important;
}
.player-top-preview__mini-sub{
    font-size:7px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

/* Próxima jornada: icono casa/fuera más atractivo */
.player-top-preview__mini-main--fixture{
    gap:5px !important;
}
.player-top-preview__fixture-side{
    width:16px !important;
    height:16px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    font-size:8px !important;
    box-shadow:0 2px 5px rgba(15,23,42,.08) !important;
}
.player-top-preview__fixture-side.is-home{
    color:#119653 !important;
    background:#eaf9f1 !important;
}
.player-top-preview__fixture-side.is-away{
    color:#d74f6f !important;
    background:#fff0f4 !important;
}
.player-top-preview__mini-main--fixture img{
    width:16px !important;
    height:16px !important;
}

/* Fila de jugadas en una sola banda fina */
.player-top-preview__events{
    min-height:28px !important;
    padding:4px 6px !important;
    gap:3px !important;
    border-radius:10px !important;
}
.player-top-preview__event-chip{
    padding:2px 3px !important;
    font-size:9px !important;
}

/* Select fantasy más elegante */
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single,
.player-top-preview__fantasy-select select.form-control{
    height:34px !important;
    min-height:34px !important;
    border-radius:11px !important;
    border:1px solid #dbe3ec !important;
    background:linear-gradient(180deg,#ffffff 0%,#f6f8fb 100%) !important;
    box-shadow:0 2px 6px rgba(15,23,42,.04) !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single .select2-selection__rendered{
    height:32px !important;
    line-height:32px !important;
    font-size:11px !important;
    font-weight:800 !important;
    color:#334155 !important;
    padding-left:12px !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single .select2-selection__arrow{
    height:32px !important;
}

/* Estadísticas: que se vean completas */
.player-top-preview__stats-grid{
    margin-top:8px !important;
    grid-template-columns:1fr 1fr 1.5fr !important;
    grid-template-rows:60px 60px !important;
    gap:6px !important;
}
.player-top-preview__stat-box,
.player-top-preview__price-box{
    padding:7px 8px !important;
    border-radius:11px !important;
    overflow:hidden !important;
}
.player-top-preview__stat-label,
.player-top-preview__price-label{
    font-size:8px !important;
    line-height:1 !important;
}
.player-top-preview__stat-value{
    margin-top:3px !important;
    font-size:18px !important;
    line-height:1 !important;
}
.player-top-preview__stat-meta{
    margin-top:4px !important;
    font-size:8px !important;
    line-height:1.15 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
}

/* Precio mejor resuelto */
.player-top-preview__price-box{
    justify-content:flex-start !important;
    background:linear-gradient(135deg,#ffffff 0%,#eef8f2 100%) !important;
    border-color:#d8eadf !important;
}
.player-top-preview__price-value{
    margin-top:4px !important;
    font-size:24px !important;
    line-height:1 !important;
    color:#102a43 !important;
    white-space:nowrap !important;
}
.player-top-preview__price-kpi{
    display:block !important;
    margin-top:4px !important;
    color:#0f766e !important;
    font-size:8px !important;
    font-weight:800 !important;
    line-height:1.15 !important;
}
.player-top-preview__price-kpi + .player-top-preview__price-kpi{
    color:#64748b !important;
}

/* Anula una regla anterior que mandaba TITULAR a otra línea */
@media (max-width:479px){
    .player-top-preview__summary-grid{
        grid-template-columns:.82fr 1.02fr .82fr !important;
    }
    .player-top-preview__mini-card--titular{
        grid-column:auto !important;
    }
}

/* Ajuste móvil real */
@media (max-width:767px){
    .player-top-preview__tabs{
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
        gap:5px !important;
    }
    .player-top-preview__tab{
        height:32px !important;
        padding:0 5px !important;
        font-size:10px !important;
    }
    .player-top-preview__hero{
        grid-template-columns:104px minmax(0,1fr) !important;
        gap:6px !important;
    }
    .player-top-preview__portrait-card{
        min-height:108px !important;
        height:108px !important;
    }
    .player-top-preview__portrait{
        min-height:98px !important;
        height:98px !important;
    }
    .player-top-preview__portrait img{
        max-width:94px !important;
        height:98px !important;
        max-height:98px !important;
    }
    .player-top-preview__summary-grid{
        grid-template-columns:.8fr 1fr .8fr !important;
        gap:4px !important;
    }
    .player-top-preview__mini-card{
        min-height:40px !important;
        padding:4px 5px !important;
    }
    .player-top-preview__stats-grid{
        grid-template-columns:1fr 1fr 1.42fr !important;
        grid-template-rows:58px 58px !important;
        gap:5px !important;
    }
    .player-top-preview__price-value{
        font-size:22px !important;
    }
}

@media (max-width:390px){
    .player-top-preview__hero{
        grid-template-columns:98px minmax(0,1fr) !important;
    }
    .player-top-preview__portrait-card{
        min-height:102px !important;
        height:102px !important;
    }
    .player-top-preview__portrait{
        min-height:92px !important;
        height:92px !important;
    }
    .player-top-preview__portrait img{
        max-width:88px !important;
        height:92px !important;
        max-height:92px !important;
    }
    .player-top-preview__tab{
        font-size:9.5px !important;
    }
    .player-top-preview__mini-main--titular{
        font-size:15px !important;
    }
    .player-top-preview__price-value{
        font-size:19px !important;
    }
    .player-top-preview__price-kpi{
        font-size:7.5px !important;
    }
}


/* =========================================================
   PREVIEW COMPACT V3 · REFINADO VISUAL
   ========================================================= */

/* Foto y elementos centrados */
.player-top-preview__portrait-card{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:5px !important;
    overflow:hidden !important;
}
.player-top-preview__portrait{
    width:100% !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
    overflow:hidden !important;
}
.player-top-preview__portrait img{
    display:block !important;
    margin:0 auto !important;
    object-position:center bottom !important;
}
.player-top-preview__club-link,
.player-top-preview__position-badge{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* Iconos de jugadas centrados */
.player-top-preview__events{
    display:flex !important;
    align-items:center !important;
    justify-content:space-evenly !important;
    gap:0 !important;
    padding:4px 5px !important;
}
.player-top-preview__event-chip{
    flex:1 1 0 !important;
    min-width:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    padding:3px 1px !important;
    text-align:center !important;
}
.player-top-preview__event-chip i,
.player-top-preview__event-chip strong{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* Próxima jornada */
.player-top-preview__fixture-side{
    width:17px !important;
    height:17px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    font-size:8px !important;
}
.player-top-preview__fixture-side.is-home{
    color:#0f9b62 !important;
    background:#e9f9f1 !important;
}
.player-top-preview__fixture-side.is-away{
    color:#d74d6b !important;
    background:#fff0f4 !important;
}

/* Selector Fantasy */
.player-top-preview__fantasy-select .select2-container{
    width:100% !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
    height:40px !important;
    min-height:40px !important;
    border:1px solid #dbe4ee !important;
    border-radius:12px !important;
    background:linear-gradient(180deg,#ffffff 0%,#f6f9fc 100%) !important;
    box-shadow:0 3px 9px rgba(15,23,42,.05) !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered{
    height:38px !important;
    line-height:normal !important;
    padding:0 38px 0 7px !important;
    color:#243244 !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow{
    width:34px !important;
    height:38px !important;
    top:0 !important;
    right:1px !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow b{
    border-color:#718096 transparent transparent transparent !important;
    border-width:5px 4px 0 4px !important;
}
.fantasy-option-container{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
}
.fantasy-option-container--selected{
    height:38px !important;
}
.fantasy-logo-wrap{
    width:27px !important;
    height:27px !important;
    flex:0 0 27px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:8px !important;
    background:#edf8f2 !important;
}
.fantasy-logo-wrap .fantasy-logo{
    width:18px !important;
    height:18px !important;
    margin:0 !important;
    object-fit:contain !important;
}
.fantasy-option-copy{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:1px !important;
    line-height:1.05 !important;
}
.fantasy-option-eyebrow,
.fantasy-option-sub{
    display:block !important;
    color:#8a98aa !important;
    font-size:7px !important;
    font-weight:800 !important;
    letter-spacing:.045em !important;
    text-transform:uppercase !important;
}
.fantasy-name{
    display:block !important;
    color:#26364a !important;
    font-size:11px !important;
    font-weight:900 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.select2-dropdown.fantasy-selector-dropdown{
    border:1px solid #dbe4ee !important;
    border-radius:12px !important;
    overflow:hidden !important;
    box-shadow:0 14px 32px rgba(15,23,42,.15) !important;
    background:#f8fafc !important;
}
.select2-dropdown.fantasy-selector-dropdown .select2-results__options{
    padding:5px !important;
}
.select2-dropdown.fantasy-selector-dropdown .select2-results__option{
    margin:0 0 4px !important;
    padding:7px 8px !important;
    border-radius:9px !important;
    background:#fff !important;
}
.select2-dropdown.fantasy-selector-dropdown .select2-results__option--highlighted{
    background:#eef8f2 !important;
    color:inherit !important;
}
.select2-dropdown.fantasy-selector-dropdown .fantasy-option-sub{
    text-transform:none !important;
    letter-spacing:0 !important;
    font-size:8px !important;
    font-weight:600 !important;
}

/* Stats compactas con local / visitante */
.player-top-preview__stats-grid{
    grid-template-columns:1fr 1fr 1.42fr !important;
    grid-template-rows:54px 54px !important;
    gap:5px !important;
}
.player-top-preview__stat-box{
    padding:5px 7px !important;
    min-height:0 !important;
    overflow:hidden !important;
}
.player-top-preview__stat-label{
    font-size:7px !important;
    color:#7c8999 !important;
}
.player-top-preview__stat-row{
    margin-top:2px !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:5px !important;
    min-width:0 !important;
}
.player-top-preview__stat-value{
    flex:0 0 auto !important;
    margin:0 !important;
    font-size:18px !important;
    line-height:1 !important;
}
.player-top-preview__home-away{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:4px !important;
    padding-bottom:1px !important;
}
.player-top-preview__home-away span{
    display:inline-flex !important;
    align-items:center !important;
    gap:2px !important;
    font-size:7.5px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
}
.player-top-preview__home-away i{
    width:11px !important;
    height:11px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    font-size:6px !important;
}
.player-top-preview__home-away .is-home{color:#16875a !important;}
.player-top-preview__home-away .is-home i{background:#e8f8f0 !important;}
.player-top-preview__home-away .is-away{color:#d04f69 !important;}
.player-top-preview__home-away .is-away i{background:#fff0f3 !important;}
.player-top-preview__stat-row--ranking{align-items:center !important;}
.player-top-preview__ranking-pos{
    display:inline-flex !important;
    align-items:center !important;
    padding:3px 5px !important;
    border-radius:999px !important;
    background:#eef4fb !important;
    color:#45607d !important;
    font-size:7px !important;
    font-weight:900 !important;
    white-space:nowrap !important;
}

/* Precio */
.player-top-preview__price-box{
    padding:6px 8px !important;
    text-align:right !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    background:linear-gradient(135deg,#ffffff 0%,#f1faf5 100%) !important;
    border-color:#d8eadf !important;
}
.player-top-preview__price-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:6px !important;
}
.player-top-preview__price-label{
    font-size:7px !important;
    color:#7c8999 !important;
    text-align:left !important;
}
.player-top-preview__price-daily{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:3px !important;
    padding:3px 5px !important;
    border-radius:999px !important;
    font-size:8px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}
.player-top-preview__price-daily.is-up{color:#0b8b5a !important;background:#e9f9f1 !important;}
.player-top-preview__price-daily.is-down{color:#d44747 !important;background:#fff0f0 !important;}
.player-top-preview__price-daily.is-flat{color:#64748b !important;background:#eef2f6 !important;}
.player-top-preview__price-value{
    margin-top:5px !important;
    text-align:right !important;
    font-size:22px !important;
    line-height:1 !important;
}
.player-top-preview__price-range{
    margin-top:auto !important;
    padding-top:5px !important;
    border-top:1px solid rgba(15,23,42,.06) !important;
    display:flex !important;
    justify-content:flex-end !important;
    gap:9px !important;
}
.player-top-preview__price-range span{
    display:flex !important;
    align-items:baseline !important;
    gap:3px !important;
    white-space:nowrap !important;
}
.player-top-preview__price-range small{
    color:#8b97a6 !important;
    font-size:6.5px !important;
    font-weight:700 !important;
}
.player-top-preview__price-range strong{
    color:#475569 !important;
    font-size:7.5px !important;
    font-weight:900 !important;
}

@media(max-width:767px){
    .player-top-preview__stats-grid{
        grid-template-columns:1fr 1fr 1.38fr !important;
        grid-template-rows:52px 52px !important;
        gap:4px !important;
    }
    .player-top-preview__stat-box{padding:5px 6px !important;}
    .player-top-preview__stat-value{font-size:17px !important;}
    .player-top-preview__home-away{gap:3px !important;}
    .player-top-preview__home-away span{font-size:7px !important;}
    .player-top-preview__price-value{font-size:20px !important;}
    .player-top-preview__price-daily{font-size:7.5px !important;padding:3px 4px !important;}
    .player-top-preview__price-range{gap:6px !important;}
}


/* =========================================================
   COMPACT V4 · STATS + PRECIO MÁS LLENOS Y LEGIBLES
   ========================================================= */

/* Cuadros más bajos pero con valores más grandes */
.player-top-preview__stats-grid{
    grid-template-columns:1fr 1fr 1.52fr !important;
    grid-template-rows:49px 49px !important;
    gap:5px !important;
}

.player-top-preview__stat-box{
    padding:5px 7px !important;
    justify-content:center !important;
    border-radius:10px !important;
}

.player-top-preview__stat-label{
    margin-bottom:3px !important;
    font-size:7.5px !important;
    line-height:1 !important;
}

.player-top-preview__stat-row{
    margin-top:0 !important;
    align-items:center !important;
}

.player-top-preview__stat-value{
    font-size:20px !important;
    letter-spacing:-.03em !important;
}

.player-top-preview__home-away{
    gap:5px !important;
    padding:0 !important;
}

.player-top-preview__home-away span{
    font-size:8px !important;
}

.player-top-preview__home-away i{
    width:13px !important;
    height:13px !important;
    font-size:7px !important;
}

.player-top-preview__ranking-pos{
    padding:4px 6px !important;
    font-size:7.5px !important;
}

/* Precio: utilizar el hueco central con una gráfica horizontal */
.player-top-preview__price-box{
    padding:6px 8px 5px !important;
    border-radius:11px !important;
}

.player-top-preview__price-head{
    min-height:17px !important;
}

.player-top-preview__price-label{
    font-size:7.5px !important;
}

.player-top-preview__price-daily{
    padding:3px 6px !important;
    font-size:8.5px !important;
}

.player-top-preview__price-value{
    margin-top:2px !important;
    font-size:25px !important;
    letter-spacing:-.035em !important;
}

.player-top-preview__price-chart{
    width:100% !important;
    height:30px !important;
    margin:2px 0 1px !important;
    color:#64748b !important;
    overflow:hidden !important;
}

.player-top-preview__price-chart.is-up{
    color:#0f9b62 !important;
}

.player-top-preview__price-chart.is-down{
    color:#df4f55 !important;
}

.player-top-preview__price-chart svg{
    display:block !important;
    width:100% !important;
    height:100% !important;
    overflow:visible !important;
}

.player-top-preview__price-chart-area{
    fill:currentColor !important;
    opacity:.08 !important;
    stroke:none !important;
}

.player-top-preview__price-chart-line{
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.8 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
    vector-effect:non-scaling-stroke !important;
}

.player-top-preview__price-range{
    margin-top:0 !important;
    padding-top:3px !important;
    gap:10px !important;
}

.player-top-preview__price-range small{
    font-size:7px !important;
}

.player-top-preview__price-range strong{
    font-size:8px !important;
}

/* Si no hay media SofaScore real, no mostrar 0.0 falso */
.player-top-preview__stat-value{
    min-width:0 !important;
}

/* móvil */
@media(max-width:767px){
    .player-top-preview__stats-grid{
        grid-template-columns:1fr 1fr 1.48fr !important;
        grid-template-rows:48px 48px !important;
        gap:4px !important;
    }

    .player-top-preview__stat-box{
        padding:5px 6px !important;
    }

    .player-top-preview__stat-value{
        font-size:19px !important;
    }

    .player-top-preview__home-away{
        gap:4px !important;
    }

    .player-top-preview__home-away span{
        font-size:7.5px !important;
    }

    .player-top-preview__price-value{
        font-size:23px !important;
    }

    .player-top-preview__price-chart{
        height:28px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__stats-grid{
        grid-template-columns:1fr 1fr 1.44fr !important;
        grid-template-rows:47px 47px !important;
    }

    .player-top-preview__stat-value{
        font-size:18px !important;
    }

    .player-top-preview__home-away span{
        font-size:7px !important;
    }

    .player-top-preview__price-value{
        font-size:21px !important;
    }

    .player-top-preview__price-chart{
        height:26px !important;
    }
}


/* =========================================================
   COMPACT V5 · FOTO LIMPIA + PRÓXIMA/TITULAR UNIFICADOS
   ========================================================= */

/* El hero completo queda perfectamente encajado. */
.player-top-preview__hero{
    grid-template-columns:118px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:stretch !important;
}

/*
 * Foto sin fondo ni borde.
 * La altura coincide con todo el bloque derecho hasta el selector Fantasy.
 */
.player-top-preview__identity{
    display:flex !important;
    align-items:stretch !important;
    min-width:0 !important;
}

.player-top-preview__portrait-card{
    position:relative !important;
    width:100% !important;
    min-height:128px !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
}

.player-top-preview__portrait{
    position:relative !important;
    width:100% !important;
    height:100% !important;
    min-height:128px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
}

.player-top-preview__portrait img{
    width:auto !important;
    max-width:116px !important;
    height:auto !important;
    max-height:128px !important;
    margin:0 auto !important;
    object-fit:contain !important;
    object-position:center bottom !important;
    display:block !important;
}

.player-top-preview__club-link{
    top:2px !important;
    left:2px !important;
    z-index:5 !important;
}

.player-top-preview__club-crest{
    width:28px !important;
    height:28px !important;
    padding:2px !important;
    border:0 !important;
    background:rgba(255,255,255,.88) !important;
    box-shadow:0 2px 7px rgba(15,23,42,.08) !important;
}

.player-top-preview__position-badge{
    left:2px !important;
    bottom:2px !important;
    min-width:30px !important;
    height:26px !important;
    padding:0 7px !important;
    z-index:5 !important;
}

/* Bloque derecho distribuido exactamente en el mismo alto que la foto. */
.player-top-preview__summary{
    min-height:128px !important;
    display:grid !important;
    grid-template-rows:50px 30px 40px !important;
    gap:4px !important;
}

/* Racha + Próxima jornada/Titularidad centrados */
.player-top-preview__summary-grid--unified{
    display:grid !important;
    grid-template-columns:92px minmax(0,1fr) !important;
    gap:5px !important;
    align-items:stretch !important;
}

.player-top-preview__mini-card--racha{
    min-height:50px !important;
    padding:5px 6px !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-label,
.player-top-preview__mini-card--racha .player-top-preview__mini-main,
.player-top-preview__mini-card--racha .player-top-preview__mini-sub{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
}

.player-top-preview__fixture-status-card{
    min-width:0 !important;
    height:50px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 72px !important;
    align-items:stretch !important;
    overflow:hidden !important;
    border:1px solid #e1e8ef !important;
    border-radius:11px !important;
    background:#fff !important;
    box-shadow:0 2px 7px rgba(15,23,42,.035) !important;
}

.player-top-preview__fixture-block{
    min-width:0 !important;
    padding:5px 7px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

.player-top-preview__fixture-block .player-top-preview__mini-label{
    width:100% !important;
    text-align:center !important;
}

.player-top-preview__fixture-line{
    min-width:0 !important;
    width:100% !important;
    margin-top:3px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
}

.player-top-preview__fixture-side{
    flex:0 0 17px !important;
}

.player-top-preview__fixture-crest{
    width:18px !important;
    height:18px !important;
    object-fit:contain !important;
    display:block !important;
}

.player-top-preview__fixture-name{
    min-width:0 !important;
    max-width:80px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#334155 !important;
    font-size:8px !important;
    font-weight:900 !important;
}

.player-top-preview__titular-block{
    min-width:0 !important;
    padding:4px 5px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    color:#fff !important;
}

.player-top-preview__titular-block.is-yes{
    background:linear-gradient(135deg,#0eaa60 0%,#14c870 100%) !important;
}

.player-top-preview__titular-block.is-no{
    background:linear-gradient(135deg,#db4f50 0%,#ef6868 100%) !important;
}

.player-top-preview__titular-label{
    font-size:6.7px !important;
    font-weight:900 !important;
    line-height:1 !important;
    opacity:.92 !important;
}

.player-top-preview__titular-value{
    margin-top:2px !important;
    font-size:17px !important;
    font-weight:900 !important;
    line-height:.95 !important;
}

.player-top-preview__titular-sub{
    margin-top:2px !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:6.5px !important;
    font-weight:700 !important;
    line-height:1 !important;
}

/* Eventos y selector encajados y centrados */
.player-top-preview__events{
    min-height:30px !important;
    height:30px !important;
    margin:0 !important;
}

.player-top-preview__fantasy-select{
    min-height:40px !important;
    height:40px !important;
    margin:0 !important;
}

/* El borde inferior de la foto y del selector coincide visualmente. */
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
    height:40px !important;
}

/* La gráfica representa 3 meses: un poco más calmada y legible. */
.player-top-preview__price-chart{
    height:31px !important;
    margin:2px 0 1px !important;
}

.player-top-preview__price-chart-line{
    stroke-width:1.6 !important;
}

/* Móvil: conservar composición cuadrada sin volver a apilar */
@media(max-width:767px){
    .player-top-preview__hero{
        grid-template-columns:112px minmax(0,1fr) !important;
        gap:7px !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:124px !important;
    }

    .player-top-preview__portrait img{
        max-width:110px !important;
        max-height:124px !important;
    }

    .player-top-preview__summary{
        min-height:124px !important;
        grid-template-rows:48px 29px 39px !important;
    }

    .player-top-preview__summary-grid--unified{
        grid-template-columns:82px minmax(0,1fr) !important;
        gap:4px !important;
    }

    .player-top-preview__mini-card--racha{
        min-height:48px !important;
    }

    .player-top-preview__fixture-status-card{
        height:48px !important;
        grid-template-columns:minmax(0,1fr) 68px !important;
    }

    .player-top-preview__fixture-name{
        max-width:66px !important;
        font-size:7.5px !important;
    }

    .player-top-preview__events{
        height:29px !important;
        min-height:29px !important;
    }

    .player-top-preview__fantasy-select{
        height:39px !important;
        min-height:39px !important;
    }

    .player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
        height:39px !important;
        min-height:39px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__hero{
        grid-template-columns:104px minmax(0,1fr) !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:120px !important;
    }

    .player-top-preview__portrait img{
        max-width:102px !important;
        max-height:120px !important;
    }

    .player-top-preview__summary{
        min-height:120px !important;
        grid-template-rows:46px 28px 38px !important;
    }

    .player-top-preview__summary-grid--unified{
        grid-template-columns:74px minmax(0,1fr) !important;
    }

    .player-top-preview__fixture-status-card{
        height:46px !important;
        grid-template-columns:minmax(0,1fr) 62px !important;
    }

    .player-top-preview__fixture-name{
        max-width:56px !important;
    }

    .player-top-preview__titular-value{
        font-size:15px !important;
    }
}


/* =========================================================
   COMPACT V6 · AJUSTES FINALES DE FANTASY / ICONOS / MENÚ
   ========================================================= */

/* Menú superior premium como control segmentado */
.player-top-preview__tabs{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:4px !important;
    margin:0 0 8px !important;
    border:1px solid #dbe4ed !important;
    border-radius:15px !important;
    background:#f2f5f9 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.player-top-preview__tab{
    height:34px !important;
    min-width:0 !important;
    padding:0 6px !important;
    border:0 !important;
    border-radius:11px !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#637187 !important;
    font-size:10.5px !important;
    font-weight:800 !important;
    transition:background .16s ease,color .16s ease,box-shadow .16s ease !important;
}

.player-top-preview__tab img{
    width:15px !important;
    height:15px !important;
    object-fit:contain !important;
}

.player-top-preview__tab.is-active{
    color:#174985 !important;
    background:#fff !important;
    box-shadow:0 2px 8px rgba(15,23,42,.09) !important;
}

.player-top-preview__tab:hover,
.player-top-preview__tab:focus{
    color:#174985 !important;
    background:rgba(255,255,255,.72) !important;
    transform:none !important;
}

/* Escudo del equipo sin círculo ni recorte */
.player-top-preview__club-crest{
    border-radius:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
    object-fit:contain !important;
}

/* Jugadas: icono y valor en una cuadrícula idéntica para todos */
.player-top-preview__events{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:2px !important;
    padding:3px 5px !important;
}

.player-top-preview__event-chip{
    flex:1 1 0 !important;
    min-width:0 !important;
    height:22px !important;
    display:grid !important;
    grid-template-columns:14px auto !important;
    align-items:center !important;
    justify-content:center !important;
    column-gap:3px !important;
    padding:0 2px !important;
    line-height:1 !important;
}

.player-top-preview__event-icon{
    width:14px !important;
    height:14px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:14px !important;
}

.player-top-preview__event-icon i{
    width:14px !important;
    height:14px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    line-height:14px !important;
    font-size:11px !important;
}

.player-top-preview__event-chip strong{
    min-width:10px !important;
    height:14px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    margin:0 !important;
    line-height:14px !important;
    font-size:9px !important;
}

/* Selector Fantasy: fondo consistente antes, durante y después de cambiar */
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single,
.player-top-preview__fantasy-select .select2-container--default.select2-container--open .select2-selection--single{
    background:#fff !important;
    border-color:#d9e3ed !important;
    box-shadow:0 2px 7px rgba(15,23,42,.05) !important;
}

.player-top-preview__fantasy-select .select2-selection__rendered,
.player-top-preview__fantasy-select .fantasy-option-container--selected{
    background:transparent !important;
}

.player-top-preview__fantasy-select .fantasy-logo-wrap{
    background:#eff8f3 !important;
}

.select2-dropdown.fantasy-selector-dropdown{
    background:#f6f8fb !important;
}

.select2-dropdown.fantasy-selector-dropdown .select2-results__option,
.select2-dropdown.fantasy-selector-dropdown .select2-results__option[aria-selected="false"]{
    background:#fff !important;
    color:#26364a !important;
}

.select2-dropdown.fantasy-selector-dropdown .select2-results__option[aria-selected="true"]{
    background:#eef8f2 !important;
    color:#26364a !important;
    box-shadow:inset 3px 0 0 #14a268 !important;
}

.select2-dropdown.fantasy-selector-dropdown .select2-results__option--highlighted,
.select2-dropdown.fantasy-selector-dropdown .select2-results__option--highlighted[aria-selected]{
    background:#e8f3fa !important;
    color:#26364a !important;
}

.select2-dropdown.fantasy-selector-dropdown .select2-results__option[aria-selected="true"].select2-results__option--highlighted{
    background:#e6f6ee !important;
}

/* Estadísticas reales cargadas por AJAX dentro de la propia tarjeta */
.player-top-preview__dynamic-stats{
    position:relative !important;
    z-index:1 !important;
    width:100% !important;
    min-height:103px !important;
    margin-top:7px !important;
}

.player-top-preview__dynamic-loader{
    min-height:103px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    border:1px solid #e5eaf1 !important;
    border-radius:12px !important;
    background:rgba(255,255,255,.84) !important;
    color:#7a8797 !important;
    font-size:10px !important;
    font-weight:700 !important;
}

.player-top-preview__stats-grid--ajax{
    margin-top:0 !important;
}

/* Sin SofaScore, redistribuimos para no dejar un hueco */
.player-top-preview__stats-grid--ajax.no-sofa{
    grid-template-columns:1fr 1fr 1.55fr !important;
    grid-template-rows:49px 49px !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(1){
    grid-column:1 !important;
    grid-row:1 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(3){
    grid-column:1 / 3 !important;
    grid-row:2 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__price-box{
    grid-column:3 !important;
    grid-row:1 / 3 !important;
}

@media(max-width:767px){
    .player-top-preview__tabs{
        gap:2px !important;
        padding:3px !important;
    }

    .player-top-preview__tab{
        height:32px !important;
        padding:0 4px !important;
        font-size:9.5px !important;
    }

    .player-top-preview__event-chip{
        grid-template-columns:13px auto !important;
        column-gap:2px !important;
    }

    .player-top-preview__event-icon,
    .player-top-preview__event-icon i{
        width:13px !important;
        height:13px !important;
        line-height:13px !important;
    }

    .player-top-preview__event-chip strong{
        height:13px !important;
        line-height:13px !important;
        font-size:8.5px !important;
    }
}


/* =========================================================
   COMPACT V7 · METADATOS + MENÚ ACCIONES + WATERMARK GIRADO
   ========================================================= */

/* Los 4 accesos son acciones independientes, no tabs */
.player-top-preview__tabs{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:6px !important;
    padding:0 !important;
    margin:0 0 7px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.player-top-preview__tab,
.player-top-preview__tab.is-active{
    position:relative !important;
    height:35px !important;
    min-width:0 !important;
    padding:0 8px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    border:1px solid #dce5ee !important;
    border-radius:13px !important;
    background:linear-gradient(180deg,#fff 0%,#f8fafc 100%) !important;
    box-shadow:0 2px 7px rgba(15,23,42,.045) !important;
    color:#43536a !important;
    font-size:10.5px !important;
    font-weight:850 !important;
}

.player-top-preview__tab::after{
    content:"" !important;
    position:absolute !important;
    inset:auto 10px 0 !important;
    height:2px !important;
    border-radius:99px !important;
    background:transparent !important;
    transition:background .15s ease !important;
}

.player-top-preview__tab:hover,
.player-top-preview__tab:focus,
.player-top-preview__tab.is-active:hover,
.player-top-preview__tab.is-active:focus{
    color:#174985 !important;
    border-color:#cddae6 !important;
    background:#fff !important;
    box-shadow:0 4px 12px rgba(15,23,42,.075) !important;
    transform:translateY(-1px) !important;
}

.player-top-preview__tab:hover::after,
.player-top-preview__tab:focus::after{
    background:#18a56c !important;
}

.player-top-preview__tab img{
    width:16px !important;
    height:16px !important;
    object-fit:contain !important;
    flex:0 0 16px !important;
}

/* Tarjeta un poco más limpia */
.player-top-preview__card{
    padding:6px 8px 8px !important;
    border-radius:15px !important;
}

/* Línea superior de datos del futbolista */
.player-top-preview__meta-line{
    position:relative !important;
    z-index:2 !important;
    width:100% !important;
    min-height:25px !important;
    margin:0 0 5px !important;
    padding:3px 7px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    overflow:hidden !important;
    border:1px solid rgba(218,227,236,.86) !important;
    border-radius:9px !important;
    background:rgba(255,255,255,.82) !important;
    backdrop-filter:blur(3px) !important;
}

.player-top-preview__meta-item{
    min-width:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    color:#66758a !important;
    font-size:8px !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.player-top-preview__meta-item + .player-top-preview__meta-item{
    padding-left:7px !important;
    border-left:1px solid #e7edf3 !important;
}

.player-top-preview__meta-item i,
.player-top-preview__meta-hash{
    color:#8a98aa !important;
    font-size:8px !important;
    font-weight:900 !important;
}

.player-top-preview__meta-item strong{
    color:#334155 !important;
    font-size:8.5px !important;
    font-weight:900 !important;
}

.player-top-preview__meta-item small{
    color:#8491a2 !important;
    font-size:7px !important;
    font-weight:700 !important;
}

.player-top-preview__flag{
    font-size:13px !important;
    line-height:1 !important;
}

/* Escudo de fondo: grande, girado y naciendo detrás de la cara */
.player-top-preview__watermark{
    inset:auto !important;
    left:-42px !important;
    top:24px !important;
    width:205px !important;
    height:205px !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:170px auto !important;
    opacity:.075 !important;
    filter:none !important;
    transform:rotate(-17deg) !important;
    transform-origin:center !important;
    pointer-events:none !important;
}

/* Reducimos claramente el bloque superior */
.player-top-preview__hero{
    grid-template-columns:104px minmax(0,1fr) !important;
    gap:6px !important;
}

.player-top-preview__portrait-card,
.player-top-preview__portrait{
    min-height:105px !important;
}

.player-top-preview__portrait img{
    max-width:102px !important;
    max-height:105px !important;
}

.player-top-preview__summary{
    min-height:105px !important;
    grid-template-rows:37px 26px 34px !important;
    gap:4px !important;
}

/* Racha + próxima/titular más compactos */
.player-top-preview__summary-grid--unified{
    grid-template-columns:74px minmax(0,1fr) !important;
    gap:4px !important;
}

.player-top-preview__mini-card--racha{
    min-height:37px !important;
    height:37px !important;
    padding:3px 5px !important;
    border-radius:9px !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-label{
    font-size:6.3px !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-main{
    min-height:10px !important;
    font-size:11px !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-sub{
    font-size:6.4px !important;
}

.player-top-preview__fixture-status-card{
    height:37px !important;
    grid-template-columns:minmax(0,1fr) 60px !important;
    border-radius:9px !important;
}

.player-top-preview__fixture-block{
    padding:3px 5px !important;
}

.player-top-preview__fixture-block .player-top-preview__mini-label{
    font-size:6.3px !important;
}

.player-top-preview__fixture-line{
    margin-top:1px !important;
    gap:3px !important;
}

.player-top-preview__fixture-side{
    width:14px !important;
    height:14px !important;
    flex-basis:14px !important;
    font-size:6.5px !important;
}

.player-top-preview__fixture-crest{
    width:15px !important;
    height:15px !important;
}

.player-top-preview__fixture-name{
    max-width:65px !important;
    font-size:7px !important;
}

.player-top-preview__titular-block{
    padding:2px 4px !important;
}

.player-top-preview__titular-label{
    font-size:5.8px !important;
}

.player-top-preview__titular-value{
    margin-top:1px !important;
    font-size:14px !important;
}

.player-top-preview__titular-sub{
    margin-top:1px !important;
    font-size:5.8px !important;
}

/* Eventos / selector ajustados a la nueva altura */
.player-top-preview__events{
    min-height:26px !important;
    height:26px !important;
    padding:2px 4px !important;
}

.player-top-preview__fantasy-select{
    min-height:34px !important;
    height:34px !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection--single,
.player-top-preview__fantasy-select .select2-container--default.select2-container--open .select2-selection--single{
    height:34px !important;
    min-height:34px !important;
    background:#fff !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered{
    height:32px !important;
    padding-left:6px !important;
    padding-right:34px !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow{
    height:32px !important;
}

.fantasy-option-container--selected{
    height:32px !important;
}

.fantasy-logo-wrap{
    width:24px !important;
    height:24px !important;
    flex-basis:24px !important;
}

.fantasy-logo-wrap .fantasy-logo{
    width:16px !important;
    height:16px !important;
}

.fantasy-option-eyebrow{
    font-size:6px !important;
}

.fantasy-name{
    font-size:10px !important;
}

/* FIX definitivo del fondo verde del Select2:
   la regla antigua pintaba el CONTENEDOR interior, no solo la opción. */
#select2-fantasySelector-results .select2-results__option,
#select2-fantasySelector-results .select2-results__option[aria-selected="true"],
#select2-fantasySelector-results .select2-results__option[aria-selected="false"],
#select2-fantasySelector-results .select2-results__option--selected,
#select2-fantasySelector-results .select2-results__option--highlighted{
    color:#26364a !important;
}

#select2-fantasySelector-results .select2-results__option .fantasy-option-container,
#select2-fantasySelector-results .select2-results__option--highlighted .fantasy-option-container,
#select2-fantasySelector-results .select2-results__option--highlighted.select2-results__option--selectable .fantasy-option-container,
#select2-fantasySelector-results .select2-results__option[aria-selected="true"] .fantasy-option-container,
#select2-fantasySelector-results .select2-results__option--selected .fantasy-option-container{
    background:transparent !important;
    color:#26364a !important;
}

#select2-fantasySelector-results .select2-results__option[aria-selected="true"],
#select2-fantasySelector-results .select2-results__option--selected{
    background:#eef7f3 !important;
    box-shadow:inset 3px 0 0 #17a36b !important;
}

#select2-fantasySelector-results .select2-results__option--highlighted{
    background:#edf4fa !important;
    box-shadow:none !important;
}

#select2-fantasySelector-results .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
#select2-fantasySelector-results .select2-results__option--selected.select2-results__option--highlighted{
    background:#e9f5ef !important;
    box-shadow:inset 3px 0 0 #17a36b !important;
}

#select2-fantasySelector-results .select2-results__option .fantasy-name{
    color:#26364a !important;
}

/* Responsive */
@media(max-width:767px){
    .player-top-preview__tabs{
        gap:4px !important;
    }

    .player-top-preview__tab{
        height:33px !important;
        padding:0 5px !important;
        gap:4px !important;
        font-size:9.5px !important;
    }

    .player-top-preview__tab img{
        width:14px !important;
        height:14px !important;
        flex-basis:14px !important;
    }

    .player-top-preview__meta-line{
        min-height:24px !important;
        gap:5px !important;
        padding:3px 5px !important;
    }

    .player-top-preview__meta-item + .player-top-preview__meta-item{
        padding-left:5px !important;
    }

    .player-top-preview__hero{
        grid-template-columns:98px minmax(0,1fr) !important;
        gap:5px !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:101px !important;
    }

    .player-top-preview__portrait img{
        max-width:96px !important;
        max-height:101px !important;
    }

    .player-top-preview__summary{
        min-height:101px !important;
        grid-template-rows:36px 25px 32px !important;
    }

    .player-top-preview__summary-grid--unified{
        grid-template-columns:68px minmax(0,1fr) !important;
    }

    .player-top-preview__mini-card--racha,
    .player-top-preview__fixture-status-card{
        height:36px !important;
        min-height:36px !important;
    }

    .player-top-preview__fixture-status-card{
        grid-template-columns:minmax(0,1fr) 57px !important;
    }

    .player-top-preview__events{
        height:25px !important;
        min-height:25px !important;
    }

    .player-top-preview__fantasy-select,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
        height:32px !important;
        min-height:32px !important;
    }

    .player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
    .fantasy-option-container--selected{
        height:30px !important;
    }
}


/* =========================================================
   COMPACT V8 · META A LA DERECHA DE LA FOTO
   ========================================================= */

/* La tarjeta ya no reserva una línea completa arriba. */
.player-top-preview__card{
    padding-top:7px !important;
}

/* Hero ligeramente más ancho para la foto y más compacto en vertical. */
.player-top-preview__hero{
    grid-template-columns:106px minmax(0,1fr) !important;
    gap:6px !important;
    align-items:stretch !important;
}

.player-top-preview__portrait-card,
.player-top-preview__portrait{
    min-height:108px !important;
}

.player-top-preview__portrait img{
    max-width:104px !important;
    max-height:108px !important;
}

/* Escudo de fondo nace desde la cara y no desde arriba de toda la tarjeta. */
.player-top-preview__watermark{
    left:-36px !important;
    top:4px !important;
    width:190px !important;
    height:190px !important;
    background-size:158px auto !important;
    transform:rotate(-18deg) !important;
}

/*
 * Columna derecha:
 * 1) datos personales
 * 2) racha + próxima/titular
 * 3) jugadas
 * 4) selector
 */
.player-top-preview__summary{
    min-height:108px !important;
    display:grid !important;
    grid-template-rows:18px 29px 25px 32px !important;
    gap:2px !important;
}

/* Línea personal ahora dentro de la columna derecha. */
.player-top-preview__meta-line--side{
    width:100% !important;
    min-height:18px !important;
    height:18px !important;
    margin:0 !important;
    padding:1px 5px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    border:1px solid #e4ebf2 !important;
    border-radius:7px !important;
    background:rgba(255,255,255,.82) !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item{
    height:14px !important;
    gap:2px !important;
    font-size:7px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item + .player-top-preview__meta-item{
    padding-left:6px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item i{
    font-size:7px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item strong{
    font-size:7.8px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item small{
    font-size:6.4px !important;
}

.player-top-preview__meta-item--flag{
    padding:0 !important;
    border:0 !important;
}

.player-top-preview__flag-img{
    width:18px !important;
    height:12px !important;
    display:block !important;
    object-fit:cover !important;
    border-radius:2px !important;
    box-shadow:0 0 0 1px rgba(15,23,42,.06) !important;
}

/* La fila Racha + Próxima/Titular pierde bastante altura. */
.player-top-preview__summary-grid--unified{
    grid-template-columns:66px minmax(0,1fr) !important;
    gap:3px !important;
}

.player-top-preview__mini-card--racha{
    min-height:29px !important;
    height:29px !important;
    padding:2px 4px !important;
    border-radius:8px !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-label{
    font-size:5.8px !important;
    line-height:1 !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-main{
    min-height:8px !important;
    font-size:10px !important;
    line-height:1 !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-main i{
    font-size:10px !important;
}

.player-top-preview__mini-card--racha .player-top-preview__mini-sub{
    font-size:5.8px !important;
    line-height:1 !important;
}

/* Próxima jornada + titularidad todavía más compactos. */
.player-top-preview__fixture-status-card{
    height:29px !important;
    min-height:29px !important;
    grid-template-columns:minmax(0,1fr) 54px !important;
    border-radius:8px !important;
}

.player-top-preview__fixture-block{
    padding:2px 4px !important;
}

.player-top-preview__fixture-block .player-top-preview__mini-label{
    font-size:5.8px !important;
    line-height:1 !important;
}

.player-top-preview__fixture-line{
    margin-top:1px !important;
    gap:2px !important;
    line-height:1 !important;
}

.player-top-preview__fixture-side{
    width:12px !important;
    height:12px !important;
    flex-basis:12px !important;
    font-size:5.8px !important;
}

.player-top-preview__fixture-crest{
    width:13px !important;
    height:13px !important;
}

.player-top-preview__fixture-name{
    max-width:58px !important;
    font-size:6.5px !important;
}

.player-top-preview__titular-block{
    padding:1px 3px !important;
}

.player-top-preview__titular-label{
    font-size:5.2px !important;
}

.player-top-preview__titular-value{
    margin-top:0 !important;
    font-size:12px !important;
    line-height:.9 !important;
}

.player-top-preview__titular-sub{
    margin-top:1px !important;
    font-size:5.2px !important;
}

/* Ajustamos también jugadas y selector para cuadrar la altura exacta. */
.player-top-preview__events{
    height:25px !important;
    min-height:25px !important;
}

.player-top-preview__fantasy-select,
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
    height:32px !important;
    min-height:32px !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
.fantasy-option-container--selected{
    height:30px !important;
}

/* Móvil */
@media(max-width:767px){
    .player-top-preview__hero{
        grid-template-columns:100px minmax(0,1fr) !important;
        gap:5px !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:104px !important;
    }

    .player-top-preview__portrait img{
        max-width:98px !important;
        max-height:104px !important;
    }

    .player-top-preview__summary{
        min-height:104px !important;
        grid-template-rows:17px 28px 24px 31px !important;
        gap:2px !important;
    }

    .player-top-preview__meta-line--side{
        min-height:17px !important;
        height:17px !important;
        gap:4px !important;
        padding:1px 4px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item + .player-top-preview__meta-item{
        padding-left:4px !important;
    }

    .player-top-preview__summary-grid--unified{
        grid-template-columns:60px minmax(0,1fr) !important;
    }

    .player-top-preview__mini-card--racha,
    .player-top-preview__fixture-status-card{
        min-height:28px !important;
        height:28px !important;
    }

    .player-top-preview__fixture-status-card{
        grid-template-columns:minmax(0,1fr) 50px !important;
    }

    .player-top-preview__fixture-name{
        max-width:50px !important;
    }

    .player-top-preview__events{
        height:24px !important;
        min-height:24px !important;
    }

    .player-top-preview__fantasy-select,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
        height:31px !important;
        min-height:31px !important;
    }

    .player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
    .fantasy-option-container--selected{
        height:29px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__hero{
        grid-template-columns:94px minmax(0,1fr) !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:101px !important;
    }

    .player-top-preview__portrait img{
        max-width:92px !important;
        max-height:101px !important;
    }

    .player-top-preview__summary{
        min-height:101px !important;
        grid-template-rows:17px 27px 23px 30px !important;
    }

    .player-top-preview__summary-grid--unified{
        grid-template-columns:56px minmax(0,1fr) !important;
    }

    .player-top-preview__mini-card--racha,
    .player-top-preview__fixture-status-card{
        min-height:27px !important;
        height:27px !important;
    }

    .player-top-preview__fixture-status-card{
        grid-template-columns:minmax(0,1fr) 47px !important;
    }

    .player-top-preview__flag-img{
        width:16px !important;
        height:11px !important;
    }
}


/* =========================================================
   COMPACT V9 · ESTADO SUPERIOR REORGANIZADO
   ========================================================= */

/* Columna derecha: metadata + status + jugadas + selector */
.player-top-preview__summary{
    grid-template-rows:18px 31px 24px 31px !important;
    gap:2px !important;
}

/* Tres módulos independientes, sin zonas vacías */
.player-top-preview__status-row{
    width:100% !important;
    height:31px !important;
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) 74px !important;
    gap:3px !important;
    align-items:stretch !important;
}

.player-top-preview__trend-card,
.player-top-preview__next-card,
.player-top-preview__starter-card{
    min-width:0 !important;
    height:31px !important;
    padding:3px 5px !important;
    border:1px solid #e1e8ef !important;
    border-radius:8px !important;
    background:rgba(255,255,255,.94) !important;
    box-shadow:0 1px 4px rgba(15,23,42,.025) !important;
}

.player-top-preview__status-caption{
    display:block !important;
    width:100% !important;
    margin:0 0 2px !important;
    color:#91a0b1 !important;
    font-size:5.8px !important;
    font-weight:900 !important;
    letter-spacing:.025em !important;
    line-height:1 !important;
    text-align:center !important;
    white-space:nowrap !important;
}

/* Racha horizontal y centrada */
.player-top-preview__trend-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
}

.player-top-preview__trend-main{
    width:100% !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    line-height:1 !important;
}

.player-top-preview__trend-icon{
    width:12px !important;
    height:12px !important;
    flex:0 0 12px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.player-top-preview__trend-icon span,
.player-top-preview__trend-icon i{
    margin:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:9px !important;
    line-height:1 !important;
}

.player-top-preview__trend-main strong{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#536174 !important;
    font-size:6.3px !important;
    font-weight:850 !important;
}

/* Próxima jornada sin aire sobrante */
.player-top-preview__next-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    padding-left:4px !important;
    padding-right:4px !important;
}

.player-top-preview__next-main{
    min-width:0 !important;
    max-width:100% !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    line-height:1 !important;
}

.player-top-preview__next-card .player-top-preview__fixture-side{
    width:13px !important;
    height:13px !important;
    flex:0 0 13px !important;
}

.player-top-preview__next-card .player-top-preview__fixture-crest{
    width:14px !important;
    height:14px !important;
    flex:0 0 14px !important;
}

.player-top-preview__next-card .player-top-preview__fixture-name{
    max-width:76px !important;
    color:#344256 !important;
    font-size:6.8px !important;
}

.player-top-preview__next-empty{
    color:#7b8795 !important;
    font-size:6.5px !important;
    font-weight:800 !important;
}

/* Titularidad clara, con % cuando existe */
.player-top-preview__starter-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
}

.player-top-preview__starter-card::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:5px !important;
    bottom:5px !important;
    width:3px !important;
    border-radius:0 4px 4px 0 !important;
}

.player-top-preview__starter-card.is-yes{
    border-color:#d5eadf !important;
    background:linear-gradient(180deg,#fbfffd 0%,#f2fbf6 100%) !important;
}

.player-top-preview__starter-card.is-yes::before{
    background:#12ad65 !important;
}

.player-top-preview__starter-card.is-no{
    border-color:#f0d9d9 !important;
    background:linear-gradient(180deg,#fffdfd 0%,#fff5f5 100%) !important;
}

.player-top-preview__starter-card.is-no::before{
    background:#df5050 !important;
}

.player-top-preview__starter-main{
    min-height:11px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    line-height:1 !important;
}

.player-top-preview__starter-answer{
    color:#15965b !important;
    font-size:12px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.player-top-preview__starter-card.is-no .player-top-preview__starter-answer{
    color:#d94f4f !important;
}

.player-top-preview__starter-percent{
    min-width:27px !important;
    height:13px !important;
    padding:0 4px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#16a765 !important;
    font-size:6.7px !important;
    font-weight:900 !important;
}

.player-top-preview__starter-note{
    margin-top:1px !important;
    color:#738195 !important;
    font-size:5.6px !important;
    font-weight:750 !important;
    line-height:1 !important;
}

/* Jugadas más agrupadas en el centro */
.player-top-preview__events{
    height:24px !important;
    min-height:24px !important;
    padding:2px 5px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    overflow-x:auto !important;
}

.player-top-preview__event-chip{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:auto !important;
    height:18px !important;
    display:inline-grid !important;
    grid-template-columns:12px auto !important;
    align-items:center !important;
    justify-content:center !important;
    column-gap:2px !important;
    padding:0 !important;
}

.player-top-preview__event-icon,
.player-top-preview__event-icon i{
    width:12px !important;
    height:12px !important;
    line-height:12px !important;
}

.player-top-preview__event-icon i{
    font-size:10px !important;
}

.player-top-preview__event-chip strong{
    min-width:7px !important;
    height:12px !important;
    font-size:8px !important;
    line-height:12px !important;
}

/* Selector acompañando la reducción de altura */
.player-top-preview__fantasy-select,
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
    height:31px !important;
    min-height:31px !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
.fantasy-option-container--selected{
    height:29px !important;
}

/* =========================================================
   CUADROS INFERIORES
   Media Puntos más ancho que Ranking
   ========================================================= */

/* Con SofaScore: 10 unidades para datos + 7 para precio */
.player-top-preview__stats-grid--ajax:not(.no-sofa){
    display:grid !important;
    grid-template-columns:repeat(17,minmax(0,1fr)) !important;
    grid-template-rows:49px 49px !important;
    gap:5px !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(1){
    grid-column:1 / 6 !important;
    grid-row:1 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(2){
    grid-column:6 / 11 !important;
    grid-row:1 !important;
}

/* Media Puntos: 6 partes */
.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(3){
    grid-column:1 / 7 !important;
    grid-row:2 !important;
}

/* Ranking: 4 partes */
.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(4){
    grid-column:7 / 11 !important;
    grid-row:2 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__price-box{
    grid-column:11 / 18 !important;
    grid-row:1 / 3 !important;
}

/* Sin SofaScore: Puntos ocupa fila superior; Media sigue mayor que Ranking */
.player-top-preview__stats-grid--ajax.no-sofa{
    display:grid !important;
    grid-template-columns:repeat(17,minmax(0,1fr)) !important;
    grid-template-rows:49px 49px !important;
    gap:5px !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(1){
    grid-column:1 / 11 !important;
    grid-row:1 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(2){
    grid-column:1 / 7 !important;
    grid-row:2 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(3){
    grid-column:7 / 11 !important;
    grid-row:2 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__price-box{
    grid-column:11 / 18 !important;
    grid-row:1 / 3 !important;
}

@media(max-width:767px){
    .player-top-preview__summary{
        grid-template-rows:17px 30px 23px 30px !important;
    }

    .player-top-preview__status-row{
        height:30px !important;
        grid-template-columns:65px minmax(0,1fr) 68px !important;
        gap:3px !important;
    }

    .player-top-preview__trend-card,
    .player-top-preview__next-card,
    .player-top-preview__starter-card{
        height:30px !important;
    }

    .player-top-preview__events{
        height:23px !important;
        min-height:23px !important;
        gap:6px !important;
    }
}


/* =========================================================
   COMPACT V10 · AJUSTES TITULARIDAD / PRÓXIMA / META
   ========================================================= */

/* Línea de detalles sin caja: más integrada con la ficha */
.player-top-preview__meta-line--side{
    min-height:18px !important;
    height:18px !important;
    padding:1px 2px !important;
    gap:6px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item + .player-top-preview__meta-item{
    padding-left:6px !important;
    border-left:1px solid rgba(203,213,225,.8) !important;
}

.player-top-preview__meta-item--value strong{
    color:#0b7c5c !important;
}

/* Camiseta CSS para el dorsal */
.player-top-preview__shirt-icon{
    position:relative !important;
    width:12px !important;
    height:11px !important;
    flex:0 0 12px !important;
    display:inline-block !important;
    background:#6f7f93 !important;
    clip-path:polygon(
        25% 0,
        41% 0,
        46% 18%,
        54% 18%,
        59% 0,
        75% 0,
        100% 24%,
        83% 43%,
        74% 34%,
        74% 100%,
        26% 100%,
        26% 34%,
        17% 43%,
        0 24%
    ) !important;
}

/* Racha: colores exactamente como la ficha original */
.player-top-preview__trend-icon .is-up,
.player-top-preview__trend-icon .is-up i{
    color:#2196f3 !important; /* info */
}

.player-top-preview__trend-icon .is-steady,
.player-top-preview__trend-icon .is-steady i{
    color:#16a34a !important; /* success */
}

.player-top-preview__trend-icon .is-flat,
.player-top-preview__trend-icon .is-flat i{
    color:#f59e0b !important; /* warning */
}

.player-top-preview__trend-icon .is-down,
.player-top-preview__trend-icon .is-down i{
    color:#e5484d !important; /* danger */
}

.player-top-preview__trend-icon .is-unknown,
.player-top-preview__trend-icon .is-unknown i{
    color:#2196f3 !important;
}

/*
 * Reparto de ancho:
 * - Racha compacta
 * - Próxima jornada pierde espacio sobrante
 * - Titularidad gana ancho para no cortar textos
 */
.player-top-preview__status-row{
    grid-template-columns:70px minmax(0,1fr) 94px !important;
    gap:3px !important;
}

.player-top-preview__trend-card,
.player-top-preview__next-card,
.player-top-preview__starter-card{
    padding-top:3px !important;
    padding-bottom:3px !important;
}

/* Próxima jornada más densa */
.player-top-preview__next-card{
    padding-left:3px !important;
    padding-right:3px !important;
}

.player-top-preview__next-main{
    gap:2px !important;
}

.player-top-preview__next-card .player-top-preview__fixture-name{
    max-width:54px !important;
    font-size:6.7px !important;
}

.player-top-preview__fixture-date{
    flex:0 0 auto !important;
    margin-left:1px !important;
    padding:2px 4px !important;
    border-radius:999px !important;
    color:#64748b !important;
    background:#f0f4f8 !important;
    font-size:5.8px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

/* Titularidad más legible */
.player-top-preview__starter-card{
    padding-left:6px !important;
    padding-right:5px !important;
}

.player-top-preview__starter-main{
    width:100% !important;
    min-height:12px !important;
    gap:4px !important;
}

.player-top-preview__starter-answer{
    font-size:12.5px !important;
}

.player-top-preview__starter-percent{
    min-width:29px !important;
    height:14px !important;
    padding:0 5px !important;
    font-size:7px !important;
}

.player-top-preview__starter-note{
    width:100% !important;
    margin-top:2px !important;
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:nowrap !important;
    font-size:5.6px !important;
    text-align:center !important;
}

/* Fila de jugadas algo más recogida aún */
.player-top-preview__events{
    gap:5px !important;
    padding-left:7px !important;
    padding-right:7px !important;
}

@media(max-width:767px){
    .player-top-preview__status-row{
        grid-template-columns:64px minmax(0,1fr) 88px !important;
    }

    .player-top-preview__fixture-date{
        padding:2px 3px !important;
        font-size:5.5px !important;
    }

    .player-top-preview__starter-note{
        font-size:5.3px !important;
    }

    .player-top-preview__meta-line--side{
        gap:5px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__status-row{
        grid-template-columns:60px minmax(0,1fr) 84px !important;
    }

    .player-top-preview__next-card .player-top-preview__fixture-name{
        max-width:42px !important;
    }

    .player-top-preview__fixture-date{
        font-size:5.2px !important;
        padding:2px !important;
    }

    .player-top-preview__starter-percent{
        min-width:27px !important;
        padding:0 4px !important;
    }
}


/* =========================================================
   COMPACT V11 · MICROAJUSTES VISUALES
   ========================================================= */

/* Dorsal: camiseta más discreta */
.player-top-preview__shirt-icon{
    width:9px !important;
    height:8px !important;
    flex:0 0 9px !important;
    background:#7a8798 !important;
}

/* Valor real: mismo tono que el resto, sin icono monetario */
.player-top-preview__meta-item--value{
    gap:3px !important;
    color:#66758a !important;
}

.player-top-preview__meta-item--value .player-top-preview__meta-value-label{
    color:#7c8999 !important;
    font-size:6px !important;
    font-weight:900 !important;
    letter-spacing:.025em !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.player-top-preview__meta-item--value strong{
    color:#334155 !important;
}

/* Fila de jugadas: totalmente transparente */
.player-top-preview__events{
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    padding-left:4px !important;
    padding-right:4px !important;
    gap:4px !important;
}

/* Goles y goles de penalti forman un único grupo visual */
.player-top-preview__event-goal-group{
    flex:0 0 auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:1px !important;
}

.player-top-preview__event-goal-group .player-top-preview__event-chip{
    margin:0 !important;
}

.player-top-preview__event-chip--penalty-goal{
    gap:1px !important;
    margin-left:-1px !important;
}

.player-top-preview__event-chip--penalty-goal .player-top-preview__event-icon{
    width:10px !important;
    height:10px !important;
    flex:0 0 10px !important;
    border-radius:50% !important;
    background:#16a765 !important;
}

.player-top-preview__event-chip--penalty-goal .player-top-preview__event-icon i{
    width:10px !important;
    height:10px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:#fff !important;
    font-size:6px !important;
    line-height:10px !important;
}

.player-top-preview__event-chip--penalty-goal strong{
    font-size:7px !important;
}

/* Titularidad: eliminar definitivamente la barra/pseudo-elemento cortado */
.player-top-preview__starter-card{
    overflow:visible !important;
    border-left-width:3px !important;
}

.player-top-preview__starter-card::before{
    content:none !important;
    display:none !important;
}

.player-top-preview__starter-card.is-yes{
    border-left-color:#12ad65 !important;
}

.player-top-preview__starter-card.is-no{
    border-left-color:#df5050 !important;
}

.player-top-preview__starter-note{
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:nowrap !important;
    max-width:none !important;
}

/* Botones de acción: iconos coherentes, compactos y premium */
.player-top-preview__tabs{
    gap:7px !important;
}

.player-top-preview__tab,
.player-top-preview__tab.is-active{
    height:36px !important;
    padding:0 9px !important;
    gap:7px !important;
    border:1px solid #d9e3ed !important;
    border-radius:13px !important;
    background:#fff !important;
    box-shadow:0 2px 8px rgba(15,23,42,.045) !important;
    color:#405169 !important;
}

.player-top-preview__tab::after{
    display:none !important;
}

.player-top-preview__action-icon{
    width:22px !important;
    height:22px !important;
    flex:0 0 22px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:7px !important;
    font-size:10px !important;
}

.player-top-preview__action-icon.is-ficha{
    color:#7254b3 !important;
    background:#f1edfb !important;
}

.player-top-preview__action-icon.is-minutos{
    color:#d04f62 !important;
    background:#fff0f2 !important;
}

.player-top-preview__action-icon.is-mercado{
    color:#16835d !important;
    background:#eaf8f2 !important;
}

.player-top-preview__action-icon.is-comparar{
    color:#3078bf !important;
    background:#edf5fd !important;
}

.player-top-preview__tab:hover,
.player-top-preview__tab:focus{
    border-color:#cddbe7 !important;
    background:#fbfdff !important;
    color:#203d63 !important;
    box-shadow:0 5px 14px rgba(15,23,42,.075) !important;
    transform:translateY(-1px) !important;
}

@media(max-width:767px){
    .player-top-preview__tabs{
        gap:5px !important;
    }

    .player-top-preview__tab{
        height:34px !important;
        padding:0 5px !important;
        gap:5px !important;
        font-size:9.5px !important;
    }

    .player-top-preview__action-icon{
        width:19px !important;
        height:19px !important;
        flex-basis:19px !important;
        border-radius:6px !important;
        font-size:9px !important;
    }
}


/* =========================================================
   COMPACT V12 · ESCALADO GENERAL / LEGIBILIDAD
   ========================================================= */

/* Accesos superiores */
.player-top-preview__tabs{
    gap:9px !important;
    margin:0 0 10px !important;
}
.player-top-preview__tab,
.player-top-preview__tab.is-active{
    height:44px !important;
    padding:0 14px !important;
    gap:9px !important;
    border-radius:15px !important;
    font-size:13px !important;
}
.player-top-preview__action-icon{
    width:26px !important;
    height:26px !important;
    flex:0 0 26px !important;
    border-radius:8px !important;
    font-size:12px !important;
}

/* Tarjeta general */
.player-top-preview__card{
    padding:10px 12px 12px !important;
    border-radius:18px !important;
}

/* Foto + columna derecha */
.player-top-preview__hero{
    grid-template-columns:128px minmax(0,1fr) !important;
    gap:10px !important;
}
.player-top-preview__portrait-card,
.player-top-preview__portrait{
    min-height:132px !important;
}
.player-top-preview__portrait img{
    max-width:126px !important;
    max-height:132px !important;
}
.player-top-preview__club-crest{
    width:34px !important;
    height:34px !important;
}
.player-top-preview__position-badge{
    min-width:36px !important;
    height:31px !important;
    padding:0 9px !important;
    font-size:12px !important;
    border-radius:14px !important;
}

/* Escudo de fondo */
.player-top-preview__watermark{
    left:-30px !important;
    top:8px !important;
    width:225px !important;
    height:225px !important;
    background-size:182px auto !important;
}

/* Columna derecha más legible */
.player-top-preview__summary{
    min-height:132px !important;
    grid-template-rows:24px 38px 30px 40px !important;
    gap:4px !important;
}

/* Línea de metadatos */
.player-top-preview__meta-line--side{
    min-height:24px !important;
    height:24px !important;
    gap:8px !important;
    padding:2px 4px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item{
    height:18px !important;
    gap:3px !important;
    font-size:9px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item + .player-top-preview__meta-item{
    padding-left:8px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item i{
    font-size:9px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item strong{
    font-size:10px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item small{
    font-size:8px !important;
}
.player-top-preview__flag-img{
    width:22px !important;
    height:14px !important;
}
.player-top-preview__shirt-icon{
    width:11px !important;
    height:10px !important;
    flex:0 0 11px !important;
}
.player-top-preview__meta-item--value .player-top-preview__meta-value-label{
    font-size:7px !important;
}

/* Fila de racha / próxima / titular */
.player-top-preview__status-row{
    height:38px !important;
    grid-template-columns:94px minmax(0,1fr) 118px !important;
    gap:5px !important;
}
.player-top-preview__trend-card,
.player-top-preview__next-card,
.player-top-preview__starter-card{
    height:38px !important;
    padding:4px 7px !important;
    border-radius:10px !important;
}
.player-top-preview__status-caption{
    margin:0 0 3px !important;
    font-size:7px !important;
}
.player-top-preview__trend-icon{
    width:15px !important;
    height:15px !important;
    flex:0 0 15px !important;
}
.player-top-preview__trend-icon span,
.player-top-preview__trend-icon i{
    font-size:12px !important;
}
.player-top-preview__trend-main{
    gap:4px !important;
}
.player-top-preview__trend-main strong{
    font-size:8px !important;
}
.player-top-preview__next-main{
    gap:4px !important;
}
.player-top-preview__next-card .player-top-preview__fixture-side{
    width:15px !important;
    height:15px !important;
    flex:0 0 15px !important;
    font-size:7px !important;
}
.player-top-preview__next-card .player-top-preview__fixture-crest{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
}
.player-top-preview__next-card .player-top-preview__fixture-name{
    max-width:86px !important;
    font-size:8px !important;
}
.player-top-preview__fixture-date{
    padding:2px 5px !important;
    font-size:6.7px !important;
}
.player-top-preview__starter-main{
    gap:5px !important;
    min-height:15px !important;
}
.player-top-preview__starter-answer{
    font-size:16px !important;
}
.player-top-preview__starter-percent{
    min-width:34px !important;
    height:16px !important;
    padding:0 6px !important;
    font-size:8px !important;
}
.player-top-preview__starter-note{
    margin-top:2px !important;
    font-size:6.8px !important;
}

/* Eventos */
.player-top-preview__events{
    height:30px !important;
    min-height:30px !important;
    padding-left:6px !important;
    padding-right:6px !important;
    gap:6px !important;
}
.player-top-preview__event-goal-group{
    gap:2px !important;
}
.player-top-preview__event-chip{
    height:22px !important;
    grid-template-columns:14px auto !important;
    column-gap:3px !important;
}
.player-top-preview__event-icon,
.player-top-preview__event-icon i{
    width:14px !important;
    height:14px !important;
    line-height:14px !important;
}
.player-top-preview__event-icon i{
    font-size:11px !important;
}
.player-top-preview__event-chip strong{
    min-width:9px !important;
    height:14px !important;
    font-size:10px !important;
    line-height:14px !important;
}
.player-top-preview__event-chip--penalty-goal .player-top-preview__event-icon{
    width:12px !important;
    height:12px !important;
    flex:0 0 12px !important;
}
.player-top-preview__event-chip--penalty-goal .player-top-preview__event-icon i{
    width:12px !important;
    height:12px !important;
    font-size:7px !important;
    line-height:12px !important;
}
.player-top-preview__event-chip--penalty-goal strong{
    font-size:9px !important;
}

/* Selector fantasy */
.player-top-preview__fantasy-select,
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
    height:40px !important;
    min-height:40px !important;
}
.player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
.fantasy-option-container--selected{
    height:38px !important;
}
.fantasy-logo-wrap{
    width:28px !important;
    height:28px !important;
    flex-basis:28px !important;
}
.fantasy-logo-wrap .fantasy-logo{
    width:18px !important;
    height:18px !important;
}
.fantasy-option-eyebrow{
    font-size:7px !important;
}
.fantasy-name{
    font-size:12px !important;
}
.fantasy-option-sub{
    font-size:8px !important;
}

/* Cuadros inferiores */
.player-top-preview__dynamic-stats{
    min-height:122px !important;
    margin-top:9px !important;
}
.player-top-preview__dynamic-loader{
    min-height:122px !important;
    font-size:12px !important;
}
.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    grid-template-rows:58px 58px !important;
    gap:7px !important;
}
.player-top-preview__stat-box{
    padding:7px 9px !important;
    border-radius:12px !important;
}
.player-top-preview__stat-label{
    margin-bottom:4px !important;
    font-size:9px !important;
}
.player-top-preview__stat-row{
    gap:7px !important;
}
.player-top-preview__stat-value{
    font-size:21px !important;
}
.player-top-preview__home-away{
    gap:6px !important;
}
.player-top-preview__home-away span{
    font-size:9px !important;
}
.player-top-preview__home-away i{
    width:14px !important;
    height:14px !important;
    font-size:8px !important;
}
.player-top-preview__ranking-pos{
    padding:4px 7px !important;
    font-size:8px !important;
}
.player-top-preview__price-box{
    padding:8px 10px !important;
    border-radius:12px !important;
}
.player-top-preview__price-label{
    font-size:8.5px !important;
}
.player-top-preview__price-daily{
    padding:4px 7px !important;
    font-size:9px !important;
}
.player-top-preview__price-value{
    margin-top:4px !important;
    font-size:27px !important;
}
.player-top-preview__price-chart{
    height:34px !important;
    margin:3px 0 2px !important;
}
.player-top-preview__price-range{
    padding-top:5px !important;
    gap:12px !important;
}
.player-top-preview__price-range small{
    font-size:7.5px !important;
}
.player-top-preview__price-range strong{
    font-size:9px !important;
}

/* Responsive móvil: también más grande, no miniaturizado */
@media(max-width:767px){
    .player-top-preview__tabs{
        gap:6px !important;
    }
    .player-top-preview__tab{
        height:40px !important;
        padding:0 8px !important;
        gap:6px !important;
        font-size:11px !important;
    }
    .player-top-preview__action-icon{
        width:22px !important;
        height:22px !important;
        flex-basis:22px !important;
        font-size:10px !important;
    }

    .player-top-preview__card{
        padding:9px 10px 11px !important;
    }

    .player-top-preview__hero{
        grid-template-columns:118px minmax(0,1fr) !important;
        gap:8px !important;
    }
    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:124px !important;
    }
    .player-top-preview__portrait img{
        max-width:116px !important;
        max-height:124px !important;
    }

    .player-top-preview__summary{
        min-height:124px !important;
        grid-template-rows:22px 36px 28px 38px !important;
        gap:3px !important;
    }
    .player-top-preview__meta-line--side{
        min-height:22px !important;
        height:22px !important;
        gap:6px !important;
    }
    .player-top-preview__meta-line--side .player-top-preview__meta-item{
        font-size:8.5px !important;
    }
    .player-top-preview__meta-line--side .player-top-preview__meta-item strong{
        font-size:9.5px !important;
    }

    .player-top-preview__status-row{
        height:36px !important;
        grid-template-columns:84px minmax(0,1fr) 106px !important;
        gap:4px !important;
    }
    .player-top-preview__trend-card,
    .player-top-preview__next-card,
    .player-top-preview__starter-card{
        height:36px !important;
    }
    .player-top-preview__status-caption{
        font-size:6.7px !important;
    }
    .player-top-preview__trend-main strong{
        font-size:7.5px !important;
    }
    .player-top-preview__next-card .player-top-preview__fixture-name{
        max-width:72px !important;
        font-size:7.6px !important;
    }
    .player-top-preview__starter-answer{
        font-size:15px !important;
    }
    .player-top-preview__starter-note{
        font-size:6.4px !important;
    }

    .player-top-preview__events{
        height:28px !important;
        min-height:28px !important;
        gap:5px !important;
    }
    .player-top-preview__event-chip{
        height:20px !important;
    }
    .player-top-preview__event-icon,
    .player-top-preview__event-icon i{
        width:13px !important;
        height:13px !important;
        line-height:13px !important;
    }
    .player-top-preview__event-chip strong{
        font-size:9px !important;
        height:13px !important;
        line-height:13px !important;
    }

    .player-top-preview__fantasy-select,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
        height:38px !important;
        min-height:38px !important;
    }
    .player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
    .fantasy-option-container--selected{
        height:36px !important;
    }
    .fantasy-name{
        font-size:11px !important;
    }

    .player-top-preview__dynamic-stats{
        min-height:114px !important;
        margin-top:8px !important;
    }
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:54px 54px !important;
        gap:6px !important;
    }
    .player-top-preview__stat-label{
        font-size:8.5px !important;
    }
    .player-top-preview__stat-value{
        font-size:19px !important;
    }
    .player-top-preview__home-away span{
        font-size:8px !important;
    }
    .player-top-preview__price-value{
        font-size:24px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__tab{
        height:38px !important;
        font-size:10px !important;
    }
    .player-top-preview__hero{
        grid-template-columns:110px minmax(0,1fr) !important;
    }
    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:118px !important;
    }
    .player-top-preview__portrait img{
        max-width:108px !important;
        max-height:118px !important;
    }
    .player-top-preview__summary{
        min-height:118px !important;
        grid-template-rows:21px 35px 27px 36px !important;
    }
    .player-top-preview__status-row{
        grid-template-columns:78px minmax(0,1fr) 100px !important;
    }
    .player-top-preview__next-card .player-top-preview__fixture-name{
        max-width:60px !important;
    }
}


/* =========================================================
   COMPACT V13 · STATUS UNIFICADO + TAMAÑO MAYOR DESKTOP
   ========================================================= */

/* Botones con imágenes, claramente visibles */
.player-top-preview__tab,
.player-top-preview__tab.is-active{
    height:46px !important;
    padding:0 16px !important;
    gap:10px !important;
    font-size:14px !important;
    font-weight:850 !important;
}
.player-top-preview__action-icon{
    width:28px !important;
    height:28px !important;
    flex:0 0 28px !important;
    border-radius:8px !important;
    overflow:hidden !important;
}
.player-top-preview__action-icon img{
    width:16px !important;
    height:16px !important;
    display:block !important;
    object-fit:contain !important;
}
.player-top-preview__action-icon.is-ficha{background:#f1edfb !important;}
.player-top-preview__action-icon.is-minutos{background:#fff0f2 !important;}
.player-top-preview__action-icon.is-mercado{background:#eaf8f2 !important;}
.player-top-preview__action-icon.is-comparar{background:#edf5fd !important;}

/* Columna derecha algo más alta y legible */
.player-top-preview__summary{
    min-height:138px !important;
    grid-template-rows:24px 44px 30px 40px !important;
    gap:4px !important;
}

/* Metadatos ligeramente más grandes */
.player-top-preview__meta-line--side{
    min-height:24px !important;
    height:24px !important;
    gap:8px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item{
    font-size:9px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item strong{
    font-size:10.5px !important;
}
.player-top-preview__meta-item--value .player-top-preview__meta-value-label{
    font-size:7px !important;
}

/* Status row: racha + caja fusionada próxima/titular */
.player-top-preview__status-row{
    height:44px !important;
    display:grid !important;
    grid-template-columns:108px minmax(0,1fr) !important;
    gap:6px !important;
    align-items:stretch !important;
}
.player-top-preview__trend-card{
    height:44px !important;
    padding:5px 8px !important;
    border-radius:11px !important;
}
.player-top-preview__status-caption{
    font-size:7.2px !important;
    margin-bottom:3px !important;
}
.player-top-preview__trend-main{
    gap:5px !important;
}
.player-top-preview__trend-icon{
    width:16px !important;
    height:16px !important;
    flex:0 0 16px !important;
}
.player-top-preview__trend-icon span,
.player-top-preview__trend-icon i{
    font-size:13px !important;
}
.player-top-preview__trend-main strong{
    font-size:8.5px !important;
}

.player-top-preview__fixture-starter-card{
    position:relative !important;
    min-width:0 !important;
    height:44px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 1px 128px !important;
    align-items:stretch !important;
    border:1px solid #dbe5ee !important;
    border-left-width:3px !important;
    border-radius:11px !important;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%) !important;
    overflow:hidden !important;
}
.player-top-preview__fixture-starter-card.is-yes{border-left-color:#12ad65 !important;}
.player-top-preview__fixture-starter-card.is-no{border-left-color:#df5050 !important;}

.player-top-preview__fixture-starter-fixture,
.player-top-preview__fixture-starter-titular{
    min-width:0 !important;
    padding:5px 8px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
}
.player-top-preview__fixture-starter-sep{
    width:1px !important;
    background:#e7edf3 !important;
    margin:6px 0 !important;
}
.player-top-preview__fixture-starter-titular{
    background:linear-gradient(180deg,#fbfffd 0%,#f2fbf6 100%) !important;
}
.player-top-preview__fixture-starter-card.is-no .player-top-preview__fixture-starter-titular{
    background:linear-gradient(180deg,#fffdfd 0%,#fff5f5 100%) !important;
}

.player-top-preview__next-main{
    gap:4px !important;
}
.player-top-preview__next-card .player-top-preview__fixture-side,
.player-top-preview__fixture-starter-fixture .player-top-preview__fixture-side{
    width:16px !important;
    height:16px !important;
    flex:0 0 16px !important;
    font-size:7px !important;
}
.player-top-preview__next-card .player-top-preview__fixture-crest,
.player-top-preview__fixture-starter-fixture .player-top-preview__fixture-crest{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
}
.player-top-preview__fixture-starter-fixture .player-top-preview__fixture-name{
    max-width:96px !important;
    font-size:8.2px !important;
}
.player-top-preview__fixture-date{
    padding:2px 5px !important;
    font-size:6.8px !important;
}
.player-top-preview__next-empty{
    font-size:7px !important;
}

.player-top-preview__starter-main{
    min-height:16px !important;
    gap:5px !important;
}
.player-top-preview__starter-answer{
    font-size:17px !important;
}
.player-top-preview__starter-percent{
    min-width:36px !important;
    height:17px !important;
    padding:0 6px !important;
    font-size:8px !important;
}
.player-top-preview__starter-note{
    margin-top:2px !important;
    font-size:6.8px !important;
    white-space:nowrap !important;
    overflow:visible !important;
}

/* Línea de eventos más compacta y el penalti pegado al gol */
.player-top-preview__events{
    height:30px !important;
    min-height:30px !important;
    gap:4px !important;
    padding-left:4px !important;
    padding-right:4px !important;
}
.player-top-preview__event-goal-group{
    gap:0 !important;
}
.player-top-preview__event-chip{
    height:22px !important;
    grid-template-columns:14px auto !important;
}
.player-top-preview__event-chip--penalty-goal{
    margin-left:-2px !important;
}
.player-top-preview__event-chip--penalty-goal .player-top-preview__event-icon{
    width:10px !important;
    height:10px !important;
    flex:0 0 10px !important;
}
.player-top-preview__event-chip--penalty-goal .player-top-preview__event-icon i{
    width:10px !important;
    height:10px !important;
    font-size:6px !important;
    line-height:10px !important;
}
.player-top-preview__event-chip--penalty-goal strong{
    min-width:6px !important;
    font-size:7px !important;
}

/* Desktop: texto de stats claramente mayor */
.player-top-preview__stat-label{
    font-size:10px !important;
}
.player-top-preview__stat-value{
    font-size:23px !important;
}
.player-top-preview__home-away span{
    font-size:9.5px !important;
}
.player-top-preview__price-label{
    font-size:9px !important;
}
.player-top-preview__price-value{
    font-size:30px !important;
}
.player-top-preview__price-range small{
    font-size:8px !important;
}
.player-top-preview__price-range strong{
    font-size:9.5px !important;
}

/* Mobile: también aumentar un poco, pero mantener orden */
@media(max-width:767px){
    .player-top-preview__tab{
        height:42px !important;
        padding:0 10px !important;
        gap:7px !important;
        font-size:12px !important;
    }
    .player-top-preview__action-icon{
        width:24px !important;
        height:24px !important;
        flex-basis:24px !important;
    }
    .player-top-preview__action-icon img{
        width:14px !important;
        height:14px !important;
    }

    .player-top-preview__summary{
        min-height:132px !important;
        grid-template-rows:22px 40px 28px 38px !important;
    }
    .player-top-preview__status-row{
        height:40px !important;
        grid-template-columns:96px minmax(0,1fr) !important;
        gap:5px !important;
    }
    .player-top-preview__trend-card{
        height:40px !important;
    }
    .player-top-preview__fixture-starter-card{
        height:40px !important;
        grid-template-columns:minmax(0,1fr) 1px 116px !important;
    }
    .player-top-preview__fixture-starter-fixture,
    .player-top-preview__fixture-starter-titular{
        padding:4px 6px !important;
    }
    .player-top-preview__fixture-starter-fixture .player-top-preview__fixture-name{
        max-width:72px !important;
        font-size:7.8px !important;
    }
    .player-top-preview__starter-answer{
        font-size:15px !important;
    }
    .player-top-preview__starter-note{
        font-size:6.3px !important;
    }

    .player-top-preview__events{
        height:28px !important;
        min-height:28px !important;
        gap:3px !important;
    }
    .player-top-preview__event-chip{
        height:20px !important;
    }

    .player-top-preview__stat-label{
        font-size:9px !important;
    }
    .player-top-preview__stat-value{
        font-size:20px !important;
    }
    .player-top-preview__price-value{
        font-size:25px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__status-row{
        grid-template-columns:88px minmax(0,1fr) !important;
    }
    .player-top-preview__fixture-starter-card{
        grid-template-columns:minmax(0,1fr) 1px 104px !important;
    }
    .player-top-preview__fixture-starter-fixture .player-top-preview__fixture-name{
        max-width:56px !important;
    }
}


/* =========================================================
   COMPACT V14 · REDISEÑO STATUS + BOTONES
   ========================================================= */

.player-top-preview__tabs{
    gap:8px !important;
    margin:0 0 12px !important;
}

.player-top-preview__tab,
.player-top-preview__tab.is-active{
    height:48px !important;
    padding:0 16px !important;
    gap:10px !important;
    border:1px solid #d8e1eb !important;
    border-radius:15px !important;
    background:#fff !important;
    box-shadow:0 2px 9px rgba(15,23,42,.05) !important;
    color:#43536a !important;
    font-size:14px !important;
    font-weight:850 !important;
}

.player-top-preview__action-icon{
    width:28px !important;
    height:28px !important;
    flex:0 0 28px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:8px !important;
    font-size:13px !important;
}
.player-top-preview__action-icon.is-ficha{color:#6e4bb0 !important;background:#f1edfb !important;}
.player-top-preview__action-icon.is-minutos{color:#d74c61 !important;background:#fff0f2 !important;}
.player-top-preview__action-icon.is-mercado{color:#18805f !important;background:#eaf7f1 !important;}
.player-top-preview__action-icon.is-comparar{color:#2e77c4 !important;background:#edf5fd !important;}
.player-top-preview__tab:hover,
.player-top-preview__tab:focus{
    color:#1f436f !important;
    border-color:#cedae6 !important;
    background:#fbfdff !important;
    box-shadow:0 5px 15px rgba(15,23,42,.08) !important;
}

/* Fila de estado más visual */
.player-top-preview__summary{
    min-height:142px !important;
    grid-template-rows:24px 52px 30px 40px !important;
    gap:4px !important;
}

.player-top-preview__status-row{
    width:100% !important;
    height:52px !important;
    display:grid !important;
    grid-template-columns:116px minmax(0,1fr) 132px !important;
    gap:6px !important;
    align-items:stretch !important;
}

.player-top-preview__status-card{
    min-width:0 !important;
    height:52px !important;
    padding:6px 8px !important;
    border:1px solid #dce5ee !important;
    border-radius:12px !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%) !important;
    box-shadow:0 1px 4px rgba(15,23,42,.025) !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}

.player-top-preview__status-card--starter{
    border-left-width:4px !important;
}
.player-top-preview__status-card--starter.is-yes{
    border-left-color:#16a765 !important;
    background:linear-gradient(180deg,#ffffff 0%,#f2fbf6 100%) !important;
}
.player-top-preview__status-card--starter.is-no{
    border-left-color:#df5050 !important;
    background:linear-gradient(180deg,#ffffff 0%,#fff5f5 100%) !important;
}

.player-top-preview__status-caption{
    margin:0 0 4px !important;
    color:#91a0b1 !important;
    font-size:7.6px !important;
    font-weight:900 !important;
    letter-spacing:.03em !important;
    line-height:1 !important;
    text-align:left !important;
    white-space:nowrap !important;
}

.player-top-preview__status-main{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:6px !important;
}

.player-top-preview__trend-icon{
    width:17px !important;
    height:17px !important;
    flex:0 0 17px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}
.player-top-preview__trend-icon span,
.player-top-preview__trend-icon i{
    font-size:13px !important;
    line-height:1 !important;
}

.player-top-preview__status-copy{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    line-height:1 !important;
}
.player-top-preview__status-copy strong{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#334155 !important;
    font-size:10px !important;
    font-weight:900 !important;
}
.player-top-preview__status-copy small{
    margin-top:2px !important;
    color:#7b8795 !important;
    font-size:7px !important;
    font-weight:700 !important;
    line-height:1 !important;
}

/* Próxima jornada */
.player-top-preview__status-main--fixture{
    gap:6px !important;
}
.player-top-preview__fixture-side{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    font-size:7.5px !important;
}
.player-top-preview__fixture-crest{
    width:20px !important;
    height:20px !important;
    flex:0 0 20px !important;
}
.player-top-preview__status-copy--fixture strong{
    font-size:10.5px !important;
}
.player-top-preview__status-copy--fixture small{
    font-size:7px !important;
}
.player-top-preview__fixture-date{
    flex:0 0 auto !important;
    margin-left:auto !important;
    padding:3px 6px !important;
    border-radius:999px !important;
    color:#5a6a7e !important;
    background:#eef3f7 !important;
    font-size:7px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

/* Titularidad más útil y grande */
.player-top-preview__status-main--starter{
    justify-content:space-between !important;
    gap:8px !important;
}
.player-top-preview__status-copy--starter strong.player-top-preview__starter-answer{
    font-size:19px !important;
    font-weight:950 !important;
    line-height:.95 !important;
    color:#16a765 !important;
}
.player-top-preview__status-card--starter.is-no .player-top-preview__status-copy--starter strong.player-top-preview__starter-answer{
    color:#df5050 !important;
}
.player-top-preview__status-copy--starter small{
    font-size:7.3px !important;
}
.player-top-preview__starter-percent{
    min-width:38px !important;
    height:19px !important;
    padding:0 7px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#16a765 !important;
    font-size:8.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
    box-shadow:0 2px 8px rgba(22,167,101,.18) !important;
}
.player-top-preview__status-card--starter.is-no .player-top-preview__starter-percent{
    background:#df5050 !important;
    box-shadow:0 2px 8px rgba(223,80,80,.16) !important;
}

/* Eventos y legibilidad general desktop */
.player-top-preview__events{
    height:30px !important;
    min-height:30px !important;
    gap:4px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item{
    font-size:9.5px !important;
}
.player-top-preview__meta-line--side .player-top-preview__meta-item strong{
    font-size:10.8px !important;
}
.player-top-preview__stat-label{
    font-size:10.5px !important;
}
.player-top-preview__stat-value{
    font-size:24px !important;
}
.player-top-preview__home-away span{
    font-size:10px !important;
}
.player-top-preview__price-value{
    font-size:31px !important;
}

/* Responsive */
@media(max-width:767px){
    .player-top-preview__tab{
        height:42px !important;
        padding:0 10px !important;
        gap:7px !important;
        font-size:12px !important;
    }
    .player-top-preview__action-icon{
        width:24px !important;
        height:24px !important;
        flex-basis:24px !important;
        font-size:11px !important;
    }
    .player-top-preview__summary{
        min-height:134px !important;
        grid-template-rows:22px 46px 28px 38px !important;
    }
    .player-top-preview__status-row{
        height:46px !important;
        grid-template-columns:96px minmax(0,1fr) 114px !important;
        gap:5px !important;
    }
    .player-top-preview__status-card{
        height:46px !important;
        padding:5px 7px !important;
        border-radius:11px !important;
    }
    .player-top-preview__status-caption{
        font-size:6.8px !important;
        margin-bottom:3px !important;
    }
    .player-top-preview__status-copy strong{
        font-size:8.8px !important;
    }
    .player-top-preview__status-copy small{
        font-size:6.5px !important;
    }
    .player-top-preview__fixture-side{
        width:16px !important;
        height:16px !important;
        flex:0 0 16px !important;
    }
    .player-top-preview__fixture-crest{
        width:18px !important;
        height:18px !important;
        flex:0 0 18px !important;
    }
    .player-top-preview__fixture-date{
        padding:2px 5px !important;
        font-size:6.5px !important;
    }
    .player-top-preview__status-copy--starter strong.player-top-preview__starter-answer{
        font-size:16px !important;
    }
    .player-top-preview__starter-percent{
        min-width:34px !important;
        height:17px !important;
        font-size:7.5px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__status-row{
        grid-template-columns:86px minmax(0,1fr) 102px !important;
    }
    .player-top-preview__status-copy--fixture strong{
        font-size:9px !important;
    }
    .player-top-preview__fixture-date{
        padding:2px 4px !important;
        font-size:6px !important;
    }
}


/* =========================================================
   COMPACT V15 · STATUS UNIFICADO + EVENTOS ORDENADOS
   ========================================================= */

/* Botones con imágenes visibles */
.player-top-preview__tab,
.player-top-preview__tab.is-active{
    height:46px !important;
    padding:0 14px !important;
    gap:9px !important;
    font-size:13px !important;
}
.player-top-preview__action-icon{
    width:28px !important;
    height:28px !important;
    flex:0 0 28px !important;
    border-radius:8px !important;
    overflow:hidden !important;
}
.player-top-preview__action-icon img{
    width:16px !important;
    height:16px !important;
    object-fit:contain !important;
    display:block !important;
}
.player-top-preview__action-icon.is-ficha{background:#f1edfb !important;}
.player-top-preview__action-icon.is-minutos{background:#fff0f2 !important;}
.player-top-preview__action-icon.is-mercado{background:#eaf7f1 !important;}
.player-top-preview__action-icon.is-comparar{background:#edf5fd !important;}

/* Línea meta */
.player-top-preview__meta-item--value .player-top-preview__meta-value-label{
    font-size:7px !important;
}

/* Status row: racha + bloque unido de próxima/titular */
.player-top-preview__summary{
    min-height:150px !important;
    grid-template-rows:24px 58px 34px 40px !important;
    gap:5px !important;
}

.player-top-preview__status-row{
    width:100% !important;
    height:58px !important;
    display:grid !important;
    grid-template-columns:128px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:stretch !important;
}

.player-top-preview__status-card--trend{
    height:58px !important;
    padding:7px 10px !important;
    border-radius:13px !important;
}
.player-top-preview__status-card--trend .player-top-preview__status-caption{
    font-size:8px !important;
}
.player-top-preview__status-card--trend .player-top-preview__trend-icon{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
}
.player-top-preview__status-card--trend .player-top-preview__trend-icon i,
.player-top-preview__status-card--trend .player-top-preview__trend-icon span{
    font-size:14px !important;
}
.player-top-preview__status-card--trend .player-top-preview__status-copy strong{
    font-size:11px !important;
}
.player-top-preview__status-card--trend .player-top-preview__status-copy small{
    font-size:7.2px !important;
}

.player-top-preview__status-combined-card{
    min-width:0 !important;
    height:58px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 1px 140px !important;
    gap:0 !important;
    align-items:stretch !important;
    border:1px solid #dbe5ee !important;
    border-left-width:4px !important;
    border-radius:13px !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%) !important;
    box-shadow:0 1px 4px rgba(15,23,42,.025) !important;
    overflow:hidden !important;
}
.player-top-preview__status-combined-card.is-yes{border-left-color:#16a765 !important;}
.player-top-preview__status-combined-card.is-no{border-left-color:#df5050 !important;}

.player-top-preview__status-combined-fixture,
.player-top-preview__status-combined-starter{
    min-width:0 !important;
    padding:7px 10px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}
.player-top-preview__status-combined-divider{
    width:1px !important;
    background:#e7edf3 !important;
    margin:8px 0 !important;
}
.player-top-preview__status-combined-starter{
    background:linear-gradient(180deg,#fbfffd 0%,#f2fbf6 100%) !important;
}
.player-top-preview__status-combined-card.is-no .player-top-preview__status-combined-starter{
    background:linear-gradient(180deg,#fffdfd 0%,#fff5f5 100%) !important;
}

.player-top-preview__status-combined-card .player-top-preview__status-caption{
    font-size:8px !important;
    margin:0 0 4px !important;
}
.player-top-preview__status-main--fixture{
    gap:7px !important;
}
.player-top-preview__status-main--fixture .player-top-preview__fixture-side{
    width:19px !important;
    height:19px !important;
    flex:0 0 19px !important;
    font-size:7.5px !important;
}
.player-top-preview__status-main--fixture .player-top-preview__fixture-crest{
    width:22px !important;
    height:22px !important;
    flex:0 0 22px !important;
}
.player-top-preview__status-copy--fixture strong{
    font-size:11.5px !important;
}
.player-top-preview__status-copy--fixture small{
    font-size:7.2px !important;
}
.player-top-preview__fixture-date{
    padding:4px 7px !important;
    font-size:7.2px !important;
}

.player-top-preview__status-main--starter{
    justify-content:space-between !important;
    gap:10px !important;
}
.player-top-preview__status-copy--starter strong.player-top-preview__starter-answer{
    font-size:22px !important;
}
.player-top-preview__status-copy--starter small{
    font-size:7.4px !important;
}
.player-top-preview__starter-percent{
    min-width:42px !important;
    height:20px !important;
    padding:0 7px !important;
    font-size:8.7px !important;
}

/* Eventos más grandes, más organizados y mejor separados */
.player-top-preview__events{
    min-height:34px !important;
    height:34px !important;
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:max-content !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:10px !important;
    padding:0 6px !important;
    overflow-x:auto !important;
}
.player-top-preview__event-goal-group{
    display:contents !important;
}
.player-top-preview__event-chip{
    height:24px !important;
    display:inline-grid !important;
    grid-template-columns:15px auto !important;
    align-items:center !important;
    column-gap:4px !important;
    padding:0 !important;
}
.player-top-preview__event-icon,
.player-top-preview__event-icon i{
    width:15px !important;
    height:15px !important;
    line-height:15px !important;
}
.player-top-preview__event-icon i{
    font-size:11px !important;
}
.player-top-preview__event-chip strong{
    min-width:10px !important;
    height:15px !important;
    line-height:15px !important;
    font-size:10px !important;
}

/* Desktop stats slightly enlarged but not excessive */
.player-top-preview__dynamic-stats{
    min-height:118px !important;
}
.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    gap:6px !important;
}
.player-top-preview__stat-label{
    font-size:10px !important;
}
.player-top-preview__stat-value{
    font-size:22px !important;
}
.player-top-preview__home-away span{
    font-size:9px !important;
}
.player-top-preview__price-value{
    font-size:29px !important;
}

/* Small mobile devices: reduce stats block so everything fits */
@media(max-width:767px){
    .player-top-preview__summary{
        min-height:138px !important;
        grid-template-rows:22px 52px 30px 38px !important;
    }

    .player-top-preview__status-row{
        height:52px !important;
        grid-template-columns:104px minmax(0,1fr) !important;
        gap:6px !important;
    }

    .player-top-preview__status-card--trend{
        height:52px !important;
        padding:6px 8px !important;
    }

    .player-top-preview__status-combined-card{
        height:52px !important;
        grid-template-columns:minmax(0,1fr) 1px 120px !important;
    }

    .player-top-preview__status-combined-fixture,
    .player-top-preview__status-combined-starter{
        padding:6px 8px !important;
    }

    .player-top-preview__status-copy--fixture strong{
        font-size:10px !important;
    }
    .player-top-preview__status-copy--fixture small{
        font-size:6.6px !important;
    }
    .player-top-preview__status-copy--starter strong.player-top-preview__starter-answer{
        font-size:18px !important;
    }
    .player-top-preview__status-copy--starter small{
        font-size:6.7px !important;
    }
    .player-top-preview__starter-percent{
        min-width:36px !important;
        height:18px !important;
        font-size:7.8px !important;
    }

    .player-top-preview__events{
        min-height:30px !important;
        height:30px !important;
        gap:8px !important;
    }
    .player-top-preview__event-chip{
        height:21px !important;
        grid-template-columns:14px auto !important;
    }
    .player-top-preview__event-icon,
    .player-top-preview__event-icon i{
        width:14px !important;
        height:14px !important;
        line-height:14px !important;
    }
    .player-top-preview__event-chip strong{
        font-size:9px !important;
    }

    .player-top-preview__dynamic-stats{
        min-height:106px !important;
    }
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:50px 50px !important;
        gap:5px !important;
    }
    .player-top-preview__stat-box,
    .player-top-preview__price-box{
        padding:6px 7px !important;
    }
    .player-top-preview__stat-label{
        font-size:8px !important;
        margin-bottom:3px !important;
    }
    .player-top-preview__stat-value{
        font-size:18px !important;
    }
    .player-top-preview__home-away{
        gap:4px !important;
    }
    .player-top-preview__home-away span{
        font-size:7.5px !important;
    }
    .player-top-preview__ranking-pos{
        padding:3px 5px !important;
        font-size:7px !important;
    }
    .player-top-preview__price-value{
        font-size:23px !important;
    }
    .player-top-preview__price-daily{
        padding:3px 5px !important;
        font-size:8px !important;
    }
    .player-top-preview__price-chart{
        height:28px !important;
    }
    .player-top-preview__price-range{
        gap:8px !important;
    }
    .player-top-preview__price-range small{
        font-size:6.5px !important;
    }
    .player-top-preview__price-range strong{
        font-size:7.5px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__tab{
        height:40px !important;
        padding:0 8px !important;
        gap:6px !important;
        font-size:11px !important;
    }
    .player-top-preview__action-icon{
        width:24px !important;
        height:24px !important;
        flex-basis:24px !important;
    }
    .player-top-preview__action-icon img{
        width:13px !important;
        height:13px !important;
    }

    .player-top-preview__status-row{
        grid-template-columns:92px minmax(0,1fr) !important;
        gap:5px !important;
    }
    .player-top-preview__status-card--trend{
        padding:5px 7px !important;
    }
    .player-top-preview__status-card--trend .player-top-preview__status-copy strong{
        font-size:9.5px !important;
    }
    .player-top-preview__status-combined-card{
        grid-template-columns:minmax(0,1fr) 1px 106px !important;
    }
    .player-top-preview__status-combined-fixture,
    .player-top-preview__status-combined-starter{
        padding:5px 6px !important;
    }
    .player-top-preview__status-main--fixture{
        gap:5px !important;
    }
    .player-top-preview__status-main--fixture .player-top-preview__fixture-crest{
        width:18px !important;
        height:18px !important;
        flex-basis:18px !important;
    }
    .player-top-preview__status-copy--fixture strong{
        font-size:9px !important;
    }
    .player-top-preview__fixture-date{
        padding:3px 5px !important;
        font-size:6px !important;
    }

    .player-top-preview__dynamic-stats{
        min-height:98px !important;
    }
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:46px 46px !important;
        gap:4px !important;
    }
    .player-top-preview__stat-box,
    .player-top-preview__price-box{
        padding:5px 6px !important;
    }
    .player-top-preview__stat-label{
        font-size:7px !important;
    }
    .player-top-preview__stat-value{
        font-size:16px !important;
    }
    .player-top-preview__home-away span{
        font-size:6.8px !important;
    }
    .player-top-preview__price-value{
        font-size:20px !important;
    }
    .player-top-preview__price-chart{
        height:24px !important;
    }
    .player-top-preview__price-range small{
        font-size:6px !important;
    }
    .player-top-preview__price-range strong{
        font-size:7px !important;
    }
}


/* =========================================================
   COMPACT V16 · AJUSTE DE DENSIDAD Y RESPONSIVE
   ========================================================= */

/* Botones superiores como antes: pills simples + icono directo */
.player-top-preview__tabs{
    gap:8px !important;
    margin:0 0 10px !important;
}
.player-top-preview__tab,
.player-top-preview__tab.is-active{
    height:44px !important;
    padding:0 13px !important;
    gap:7px !important;
    border:1px solid #d9e2ec !important;
    border-radius:16px !important;
    background:linear-gradient(180deg,#fff 0%,#f9fbfd 100%) !important;
    box-shadow:0 2px 7px rgba(15,23,42,.045) !important;
    color:#405169 !important;
    font-size:13px !important;
    font-weight:850 !important;
}
.player-top-preview__tab-icon{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    display:block !important;
    object-fit:contain !important;
}
.player-top-preview__tab:hover,
.player-top-preview__tab:focus{
    color:#244e7f !important;
    border-color:#cad8e5 !important;
    background:#fff !important;
    box-shadow:0 5px 13px rgba(15,23,42,.07) !important;
}

/* Racha + próximo/titular */
.player-top-preview__summary{
    min-height:150px !important;
    grid-template-rows:24px 58px 32px 40px !important;
    gap:4px !important;
}
.player-top-preview__status-row{
    height:58px !important;
    grid-template-columns:122px minmax(0,1fr) !important;
    gap:7px !important;
}
.player-top-preview__status-card--trend{
    height:58px !important;
    padding:7px 10px !important;
    border-radius:12px !important;
}
.player-top-preview__status-card--trend .player-top-preview__status-caption{
    font-size:8px !important;
}
.player-top-preview__status-card--trend .player-top-preview__status-copy strong{
    font-size:11px !important;
}
.player-top-preview__status-card--trend .player-top-preview__status-copy small{
    font-size:7.2px !important;
}

.player-top-preview__status-combined-card{
    min-width:0 !important;
    height:58px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 1px 138px !important;
    border:1px solid #dbe5ee !important;
    border-left-width:4px !important;
    border-radius:12px !important;
    background:#fff !important;
    overflow:hidden !important;
}
.player-top-preview__status-combined-card.is-yes{border-left-color:#16a765 !important;}
.player-top-preview__status-combined-card.is-no{border-left-color:#df5050 !important;}

.player-top-preview__status-combined-fixture,
.player-top-preview__status-combined-starter{
    min-width:0 !important;
    padding:6px 9px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}
.player-top-preview__status-combined-divider{
    width:1px !important;
    background:#e6edf3 !important;
    margin:8px 0 !important;
}
.player-top-preview__status-combined-starter{
    align-items:center !important;
    text-align:center !important;
    background:linear-gradient(180deg,#fbfffd 0%,#f2fbf6 100%) !important;
}
.player-top-preview__status-combined-card.is-no .player-top-preview__status-combined-starter{
    background:linear-gradient(180deg,#fffdfd 0%,#fff5f5 100%) !important;
}

.player-top-preview__status-combined-card .player-top-preview__status-caption{
    margin:0 0 4px !important;
    font-size:7.7px !important;
}

.player-top-preview__fixture-main-row{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
}
.player-top-preview__fixture-main-row .player-top-preview__fixture-side{
    width:16px !important;
    height:16px !important;
    flex:0 0 16px !important;
}
.player-top-preview__fixture-main-row .player-top-preview__fixture-crest{
    width:20px !important;
    height:20px !important;
    flex:0 0 20px !important;
}
.player-top-preview__fixture-main-row .player-top-preview__fixture-name{
    min-width:0 !important;
    max-width:none !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#334155 !important;
    font-size:10.5px !important;
    font-weight:900 !important;
}
.player-top-preview__fixture-meta-row{
    margin-top:3px !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    color:#6b788b !important;
    font-size:7px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
}
.player-top-preview__fixture-meta-row span{
    display:inline-flex !important;
    align-items:center !important;
    gap:2px !important;
}
.player-top-preview__fixture-meta-row span + span::before{
    content:"·" !important;
    margin-right:2px !important;
    color:#a0aab6 !important;
}
.player-top-preview__fixture-meta-row i{
    font-size:7px !important;
}

.player-top-preview__starter-primary{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
}
.player-top-preview__starter-primary .player-top-preview__starter-answer{
    color:#16a765 !important;
    font-size:20px !important;
    font-weight:950 !important;
    line-height:1 !important;
}
.player-top-preview__status-combined-card.is-no .player-top-preview__starter-primary .player-top-preview__starter-answer{
    color:#df5050 !important;
}
.player-top-preview__starter-primary .player-top-preview__starter-percent{
    min-width:37px !important;
    height:18px !important;
    padding:0 6px !important;
    font-size:8px !important;
}
.player-top-preview__status-combined-starter .player-top-preview__starter-note{
    margin-top:2px !important;
    color:#708095 !important;
    font-size:7px !important;
    font-weight:750 !important;
    white-space:nowrap !important;
}

/* Eventos: sin padding sobrante y todos caben */
.player-top-preview__events{
    width:100% !important;
    height:32px !important;
    min-height:32px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:0 !important;
    padding:0 2px !important;
    overflow:hidden !important;
    border:0 !important;
    background:transparent !important;
}
.player-top-preview__event-goal-group{
    display:contents !important;
}
.player-top-preview__event-chip{
    flex:1 1 0 !important;
    min-width:0 !important;
    height:22px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    padding:0 !important;
}
.player-top-preview__event-icon,
.player-top-preview__event-icon i{
    width:13px !important;
    height:13px !important;
    line-height:13px !important;
}
.player-top-preview__event-icon i{
    font-size:10px !important;
}
.player-top-preview__event-chip strong{
    min-width:0 !important;
    height:13px !important;
    line-height:13px !important;
    font-size:9px !important;
}

/* Home/away dentro de stats: sin bolitas/fondos/padding */
.player-top-preview__home-away{
    gap:5px !important;
    padding:0 !important;
}
.player-top-preview__home-away span{
    gap:2px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    font-size:9px !important;
}
.player-top-preview__home-away i{
    width:auto !important;
    height:auto !important;
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:9px !important;
}
.player-top-preview__home-away .is-home i{
    background:transparent !important;
    color:#16a765 !important;
}
.player-top-preview__home-away .is-away i{
    background:transparent !important;
    color:#df6074 !important;
}

/* Pequeños móviles: encoger solo la zona inferior para evitar cortes */
@media(max-width:767px){
    .player-top-preview__tab{
        height:40px !important;
        padding:0 8px !important;
        gap:5px !important;
        font-size:11px !important;
    }
    .player-top-preview__tab-icon{
        width:15px !important;
        height:15px !important;
        flex-basis:15px !important;
    }

    .player-top-preview__summary{
        min-height:136px !important;
        grid-template-rows:22px 50px 28px 38px !important;
    }
    .player-top-preview__status-row{
        height:50px !important;
        grid-template-columns:98px minmax(0,1fr) !important;
        gap:5px !important;
    }
    .player-top-preview__status-card--trend{
        height:50px !important;
        padding:5px 7px !important;
    }
    .player-top-preview__status-combined-card{
        height:50px !important;
        grid-template-columns:minmax(0,1fr) 1px 112px !important;
    }
    .player-top-preview__status-combined-fixture,
    .player-top-preview__status-combined-starter{
        padding:5px 6px !important;
    }
    .player-top-preview__fixture-main-row .player-top-preview__fixture-name{
        font-size:9px !important;
    }
    .player-top-preview__fixture-meta-row{
        gap:3px !important;
        font-size:6px !important;
    }
    .player-top-preview__starter-primary .player-top-preview__starter-answer{
        font-size:17px !important;
    }
    .player-top-preview__status-combined-starter .player-top-preview__starter-note{
        font-size:6.2px !important;
    }

    .player-top-preview__events{
        height:28px !important;
        min-height:28px !important;
        padding:0 !important;
    }
    .player-top-preview__event-chip{
        gap:2px !important;
    }
    .player-top-preview__event-icon,
    .player-top-preview__event-icon i{
        width:12px !important;
        height:12px !important;
        line-height:12px !important;
    }
    .player-top-preview__event-icon i{
        font-size:9px !important;
    }
    .player-top-preview__event-chip strong{
        height:12px !important;
        line-height:12px !important;
        font-size:8px !important;
    }

    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:48px 48px !important;
        gap:4px !important;
    }
    .player-top-preview__stat-box,
    .player-top-preview__price-box{
        padding:5px 6px !important;
    }
    .player-top-preview__stat-label{
        font-size:7.5px !important;
    }
    .player-top-preview__stat-value{
        font-size:17px !important;
    }
    .player-top-preview__home-away{
        gap:3px !important;
    }
    .player-top-preview__home-away span{
        font-size:7px !important;
    }
    .player-top-preview__home-away i{
        font-size:7px !important;
    }
    .player-top-preview__price-value{
        font-size:21px !important;
    }
    .player-top-preview__price-chart{
        height:25px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__status-row{
        grid-template-columns:88px minmax(0,1fr) !important;
    }
    .player-top-preview__status-combined-card{
        grid-template-columns:minmax(0,1fr) 1px 100px !important;
    }
    .player-top-preview__fixture-main-row{
        gap:3px !important;
    }
    .player-top-preview__fixture-main-row .player-top-preview__fixture-crest{
        width:17px !important;
        height:17px !important;
        flex-basis:17px !important;
    }
    .player-top-preview__fixture-main-row .player-top-preview__fixture-name{
        font-size:8.4px !important;
    }
    .player-top-preview__fixture-meta-row{
        font-size:5.7px !important;
    }
    .player-top-preview__starter-primary .player-top-preview__starter-answer{
        font-size:15px !important;
    }
    .player-top-preview__starter-primary .player-top-preview__starter-percent{
        min-width:31px !important;
        padding:0 4px !important;
        font-size:7px !important;
    }

    .player-top-preview__stat-label{
        font-size:6.8px !important;
    }
    .player-top-preview__stat-value{
        font-size:15.5px !important;
    }
    .player-top-preview__home-away span{
        font-size:6.2px !important;
    }
    .player-top-preview__price-value{
        font-size:19px !important;
    }
}


/* =========================================================
   COMPACT V17 · NUEVO ENFOQUE PREMIUM PARA STATUS ROW
   ========================================================= */

.player-top-preview__summary{
    min-height:158px !important;
    grid-template-rows:24px 66px 32px 40px !important;
    gap:5px !important;
}

.player-top-preview__status-row--premium{
    width:100% !important;
    height:66px !important;
    display:grid !important;
    grid-template-columns:132px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:stretch !important;
}

/* Tarjeta de racha */
.player-top-preview__premium-trend-card{
    min-width:0 !important;
    height:66px !important;
    padding:8px 10px !important;
    border:1px solid #dbe5ef !important;
    border-radius:15px !important;
    background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%) !important;
    box-shadow:0 4px 14px rgba(15,23,42,.055) !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}

.player-top-preview__premium-kicker{
    display:block !important;
    margin:0 0 5px !important;
    color:#8b98a9 !important;
    font-size:7.8px !important;
    font-weight:900 !important;
    letter-spacing:.035em !important;
    line-height:1 !important;
    text-transform:uppercase !important;
}

.player-top-preview__premium-trend-main{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
}

.player-top-preview__premium-trend-main .player-top-preview__trend-icon{
    width:20px !important;
    height:20px !important;
    flex:0 0 20px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}
.player-top-preview__premium-trend-main .player-top-preview__trend-icon i,
.player-top-preview__premium-trend-main .player-top-preview__trend-icon span{
    font-size:15px !important;
    line-height:1 !important;
}

.player-top-preview__premium-copy{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}
.player-top-preview__premium-copy strong{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#223548 !important;
    font-size:11.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
}
.player-top-preview__premium-copy small{
    margin-top:3px !important;
    color:#7c8898 !important;
    font-size:7.2px !important;
    font-weight:700 !important;
    line-height:1 !important;
}

/* Tarjeta combinada premium */
.player-top-preview__premium-match-card{
    min-width:0 !important;
    height:66px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 132px !important;
    gap:0 !important;
    border-radius:15px !important;
    overflow:hidden !important;
    border:1px solid #dbe5ef !important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important;
    box-shadow:0 4px 14px rgba(15,23,42,.055) !important;
    position:relative !important;
}
.player-top-preview__premium-match-card::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:10px !important;
    bottom:10px !important;
    width:4px !important;
    border-radius:0 4px 4px 0 !important;
    background:#16a765 !important;
}
.player-top-preview__premium-match-card.is-no::before{
    background:#df5050 !important;
}

.player-top-preview__premium-match-left,
.player-top-preview__premium-match-right{
    min-width:0 !important;
    padding:8px 10px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}
.player-top-preview__premium-match-left{
    padding-left:14px !important;
}
.player-top-preview__premium-match-right{
    text-align:center !important;
    align-items:center !important;
    background:linear-gradient(180deg,#fbfffd 0%,#f1fbf6 100%) !important;
    border-left:1px solid #e7eef5 !important;
}
.player-top-preview__premium-match-card.is-no .player-top-preview__premium-match-right{
    background:linear-gradient(180deg,#fffdfd 0%,#fff5f5 100%) !important;
}

.player-top-preview__premium-opponent-row{
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
}
.player-top-preview__premium-opponent-row .player-top-preview__fixture-side{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    font-size:7px !important;
}
.player-top-preview__premium-opponent-row .player-top-preview__fixture-crest{
    width:22px !important;
    height:22px !important;
    flex:0 0 22px !important;
}
.player-top-preview__premium-opponent-name{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#223548 !important;
    font-size:11.8px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.player-top-preview__premium-meta-row{
    margin-top:5px !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    flex-wrap:wrap !important;
}
.player-top-preview__premium-chip{
    height:18px !important;
    padding:0 7px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    border-radius:999px !important;
    color:#5b6b7e !important;
    background:#eef4f8 !important;
    font-size:7px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}
.player-top-preview__premium-chip--time{
    background:#edf7f1 !important;
    color:#18805f !important;
}
.player-top-preview__premium-chip i{
    font-size:7px !important;
    line-height:1 !important;
}

/* Titularidad */
.player-top-preview__premium-starter-main{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    line-height:1 !important;
}
.player-top-preview__premium-starter-answer{
    color:#16a765 !important;
    font-size:22px !important;
    font-weight:950 !important;
    line-height:1 !important;
}
.player-top-preview__premium-match-card.is-no .player-top-preview__premium-starter-answer{
    color:#df5050 !important;
}
.player-top-preview__premium-starter-percent{
    min-width:39px !important;
    height:19px !important;
    padding:0 7px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    color:#fff !important;
    background:#16a765 !important;
    font-size:8.2px !important;
    font-weight:900 !important;
    line-height:1 !important;
}
.player-top-preview__premium-match-card.is-no .player-top-preview__premium-starter-percent{
    background:#df5050 !important;
}
.player-top-preview__premium-starter-note{
    margin-top:4px !important;
    color:#738195 !important;
    font-size:7px !important;
    font-weight:750 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

/* Hacer la fila de eventos un poco más premium/ordenada pero densa */
.player-top-preview__events{
    height:32px !important;
    min-height:32px !important;
    padding:0 2px !important;
    gap:0 !important;
}
.player-top-preview__event-chip{
    gap:3px !important;
}
.player-top-preview__event-icon,
.player-top-preview__event-icon i{
    width:12px !important;
    height:12px !important;
    line-height:12px !important;
}
.player-top-preview__event-icon i{
    font-size:9px !important;
}
.player-top-preview__event-chip strong{
    font-size:9px !important;
}

/* Responsive */
@media(max-width:767px){
    .player-top-preview__summary{
        min-height:146px !important;
        grid-template-rows:22px 58px 28px 38px !important;
    }

    .player-top-preview__status-row--premium{
        height:58px !important;
        grid-template-columns:102px minmax(0,1fr) !important;
        gap:6px !important;
    }

    .player-top-preview__premium-trend-card{
        height:58px !important;
        padding:6px 7px !important;
        border-radius:13px !important;
    }
    .player-top-preview__premium-kicker{
        font-size:6.8px !important;
        margin-bottom:4px !important;
    }
    .player-top-preview__premium-trend-main{
        gap:5px !important;
    }
    .player-top-preview__premium-trend-main .player-top-preview__trend-icon{
        width:16px !important;
        height:16px !important;
        flex-basis:16px !important;
    }
    .player-top-preview__premium-trend-main .player-top-preview__trend-icon i,
    .player-top-preview__premium-trend-main .player-top-preview__trend-icon span{
        font-size:12px !important;
    }
    .player-top-preview__premium-copy strong{
        font-size:9px !important;
    }
    .player-top-preview__premium-copy small{
        font-size:6.2px !important;
    }

    .player-top-preview__premium-match-card{
        height:58px !important;
        grid-template-columns:minmax(0,1fr) 114px !important;
        border-radius:13px !important;
    }
    .player-top-preview__premium-match-left,
    .player-top-preview__premium-match-right{
        padding:6px 7px !important;
    }
    .player-top-preview__premium-match-left{
        padding-left:11px !important;
    }
    .player-top-preview__premium-opponent-row{
        gap:4px !important;
    }
    .player-top-preview__premium-opponent-row .player-top-preview__fixture-side{
        width:15px !important;
        height:15px !important;
        flex-basis:15px !important;
    }
    .player-top-preview__premium-opponent-row .player-top-preview__fixture-crest{
        width:18px !important;
        height:18px !important;
        flex-basis:18px !important;
    }
    .player-top-preview__premium-opponent-name{
        font-size:9.5px !important;
    }
    .player-top-preview__premium-meta-row{
        margin-top:4px !important;
        gap:3px !important;
    }
    .player-top-preview__premium-chip{
        height:15px !important;
        padding:0 5px !important;
        font-size:5.8px !important;
    }

    .player-top-preview__premium-starter-answer{
        font-size:17px !important;
    }
    .player-top-preview__premium-starter-percent{
        min-width:33px !important;
        height:17px !important;
        padding:0 5px !important;
        font-size:7px !important;
    }
    .player-top-preview__premium-starter-note{
        font-size:6px !important;
    }
}

@media(max-width:390px){
    .player-top-preview__status-row--premium{
        grid-template-columns:90px minmax(0,1fr) !important;
        gap:5px !important;
    }

    .player-top-preview__premium-match-card{
        grid-template-columns:minmax(0,1fr) 96px !important;
    }

    .player-top-preview__premium-opponent-name{
        font-size:8.5px !important;
    }

    .player-top-preview__premium-chip{
        padding:0 4px !important;
        font-size:5.4px !important;
    }

    .player-top-preview__premium-starter-answer{
        font-size:15px !important;
    }

    .player-top-preview__premium-starter-note{
        font-size:5.6px !important;
    }
}


/* =========================================================
   V18 · INSIGHT BAR PREMIUM + EVENTOS ORIGINALES
   ========================================================= */

.player-top-preview__card{
    --v18-kicker: clamp(7px, calc(5.7px + .15vw), 10px);
    --v18-main: clamp(10px, calc(7.7px + .24vw), 14px);
    --v18-meta: clamp(7px, calc(5.7px + .13vw), 9px);
    --v18-starter: clamp(17px, calc(12px + .48vw), 23px);
    --v18-event-icon: clamp(13px, calc(11px + .22vw), 16px);
    --v18-event-value: clamp(9px, calc(7px + .18vw), 12px);
}

/* La columna derecha usa la nueva barra sin heredar maquetaciones antiguas */
.player-top-preview__summary{
    min-height:146px !important;
    grid-template-rows:24px 56px 28px 40px !important;
    gap:4px !important;
}

/* Una sola barra premium: racha | partido | titularidad */
.player-v18-insightbar{
    width:100%;
    height:56px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 118px;
    align-items:stretch;
    overflow:hidden;
    border:1px solid #d9e4ee;
    border-radius:14px;
    background:linear-gradient(180deg,#ffffff 0%,#f9fbfd 100%);
    box-shadow:0 3px 12px rgba(15,23,42,.045);
}

/* Racha: solo flecha, como pidió el usuario */
.player-v18-trend{
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #e6edf3;
    background:#f8fbfd;
}
.player-v18-trend > span,
.player-v18-trend > span > i{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    font-size:clamp(17px, calc(14px + .28vw), 21px) !important;
    line-height:1 !important;
}

/* Colores de racha originales */
.player-v18-trend .is-up,
.player-v18-trend .is-up i{color:#2196f3 !important;}
.player-v18-trend .is-steady,
.player-v18-trend .is-steady i{color:#16a34a !important;}
.player-v18-trend .is-flat,
.player-v18-trend .is-flat i{color:#f59e0b !important;}
.player-v18-trend .is-down,
.player-v18-trend .is-down i{color:#e5484d !important;}
.player-v18-trend .is-unknown,
.player-v18-trend .is-unknown i{color:#2196f3 !important;}

/* Partido */
.player-v18-fixture{
    min-width:0;
    padding:6px 9px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.player-v18-section-head{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    margin-bottom:3px;
    color:#8997a8;
    font-size:var(--v18-kicker);
    font-weight:900;
    line-height:1;
    text-transform:uppercase;
    letter-spacing:.025em;
}
.player-v18-section-head strong{
    flex:0 0 auto;
    color:#f08b24;
    font-size:inherit;
    font-weight:950;
}
.player-v18-fixture-main{
    min-width:0;
    display:flex;
    align-items:center;
    gap:5px;
}
.player-v18-fixture-main--empty{
    min-height:19px;
}
.player-v18-homeaway{
    width:17px;
    height:17px;
    flex:0 0 17px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:7px;
}
.player-v18-homeaway.is-home{
    color:#119653;
    background:#eaf9f1;
}
.player-v18-homeaway.is-away{
    color:#d74f6f;
    background:#fff0f4;
}
.player-v18-rival-crest{
    width:20px;
    height:20px;
    flex:0 0 20px;
    display:block;
    object-fit:contain;
}
.player-v18-rival-name{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#25374a;
    font-size:var(--v18-main);
    font-weight:900;
    line-height:1;
}
.player-v18-fixture-meta{
    min-width:0;
    margin-top:3px;
    display:flex;
    align-items:center;
    gap:4px;
    overflow:hidden;
    color:#6f7e90;
    font-size:var(--v18-meta);
    font-weight:750;
    line-height:1;
    white-space:nowrap;
}
.player-v18-fixture-meta span{
    display:inline-flex;
    align-items:center;
    gap:2px;
    flex:0 0 auto;
}
.player-v18-fixture-meta span + span::before{
    content:"·";
    margin-right:2px;
    color:#a7b0bb;
}
.player-v18-fixture-meta i{
    font-size:inherit;
}

/* Titularidad integrada, sin pseudo-elementos que puedan cortarse */
.player-v18-starter{
    min-width:0;
    padding:6px 8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-left:1px solid #e5ecef;
    background:linear-gradient(180deg,#fbfffd 0%,#eefaf4 100%);
}
.player-v18-starter.is-no{
    background:linear-gradient(180deg,#fffdfd 0%,#fff2f2 100%);
}
.player-v18-starter .player-v18-section-head{
    width:100%;
    justify-content:center;
    margin-bottom:2px;
}
.player-v18-starter-main{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:21px;
}
.player-v18-starter-main strong{
    color:#13a661;
    font-size:var(--v18-starter);
    font-weight:950;
    line-height:.95;
}
.player-v18-starter.is-no .player-v18-starter-main strong{
    color:#df5050;
}
.player-v18-starter-main span{
    min-width:35px;
    height:18px;
    padding:0 6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#fff;
    background:#13a661;
    font-size:clamp(7px, calc(5.5px + .15vw), 9px);
    font-weight:900;
    line-height:1;
}
.player-v18-starter.is-no .player-v18-starter-main span{
    background:#df5050;
}
.player-v18-starter small{
    margin-top:2px;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#718095;
    font-size:var(--v18-meta);
    font-weight:750;
    line-height:1;
}

/* =========================================================
   Eventos: mismos iconos, condiciones y colores del original
   ========================================================= */

.player-v18-events{
    width:100%;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0;
    border:0;
    background:transparent;
    overflow:hidden;
}

.player-v18-events-group{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    white-space:nowrap;
}

.player-v18-events-group--performance{
    flex:0 1 auto;
}

.player-v18-events-group--cards{
    flex:0 0 auto;
    gap:6px;
}

.player-v18-events-divider{
    width:1px;
    height:14px;
    flex:0 0 1px;
    background:#dfe6ed;
}

.player-v18-event{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    line-height:1;
    white-space:nowrap;
}

.player-v18-event i{
    width:auto;
    height:auto;
    margin:0;
    font-size:var(--v18-event-icon);
    line-height:1;
}

.player-v18-event strong{
    color:#006699;
    font-size:var(--v18-event-value);
    font-weight:900;
    line-height:1;
}

/* Colores exactos del fichero original */
.player-v18-event .event-star{color:#FFCC00;}
.player-v18-event .event-assist{color:#00c0ef;}
.player-v18-event .event-goal{color:#009900;}
.player-v18-event .event-penalty-up{color:#009900;}
.player-v18-event .event-penalty-down{color:#ff0000;}
.player-v18-event .event-clean-sheet{color:#009900;}
.player-v18-event .event-yellow{color:#FFCC33;}
.player-v18-event .event-double-yellow{color:#FF0000;}
.player-v18-event .event-red{color:#FF0000;}

.player-v18-event--small{
    gap:2px;
}
.player-v18-event--small i{
    font-size:clamp(11px, calc(9px + .18vw), 13px);
}
.player-v18-event--small strong{
    font-size:clamp(8px, calc(6px + .16vw), 10px);
}

/* =========================================================
   Escalado progresivo según resolución
   ========================================================= */

@media (min-width:1200px){
    .player-top-preview__card{
        --v18-kicker: clamp(8px, calc(6.3px + .13vw), 10px);
        --v18-main: clamp(11px, calc(8.5px + .22vw), 14px);
        --v18-meta: clamp(8px, calc(6.5px + .11vw), 9px);
        --v18-event-value: clamp(10px, calc(8px + .14vw), 12px);
    }

    .player-v18-insightbar{
        grid-template-columns:46px minmax(0,1fr) 126px;
        height:60px;
    }

    .player-top-preview__summary{
        min-height:154px !important;
        grid-template-rows:24px 60px 30px 40px !important;
    }

    .player-v18-events{
        height:30px;
        gap:9px;
    }

    .player-v18-events-group{
        gap:9px;
    }

    .player-v18-events-group--cards{
        gap:8px;
    }
}

@media (min-width:1600px){
    .player-top-preview__card{
        --v18-kicker:10px;
        --v18-main:14px;
        --v18-meta:9px;
        --v18-starter:23px;
        --v18-event-icon:16px;
        --v18-event-value:12px;
    }

    .player-v18-insightbar{
        grid-template-columns:50px minmax(0,1fr) 136px;
        height:64px;
    }

    .player-top-preview__summary{
        min-height:160px !important;
        grid-template-rows:24px 64px 32px 40px !important;
    }
}

/* Tablet/mobile */
@media (max-width:767px){
    .player-top-preview__card{
        --v18-kicker:7px;
        --v18-main:10px;
        --v18-meta:6.5px;
        --v18-starter:16px;
        --v18-event-icon:13px;
        --v18-event-value:8.5px;
    }

    .player-top-preview__summary{
        min-height:134px !important;
        grid-template-rows:22px 52px 26px 38px !important;
        gap:3px !important;
    }

    .player-v18-insightbar{
        height:52px;
        grid-template-columns:34px minmax(0,1fr) 98px;
        border-radius:11px;
    }

    .player-v18-trend > span,
    .player-v18-trend > span > i{
        font-size:16px !important;
    }

    .player-v18-fixture{
        padding:5px 6px;
    }

    .player-v18-section-head{
        margin-bottom:2px;
    }

    .player-v18-homeaway{
        width:14px;
        height:14px;
        flex-basis:14px;
        font-size:6px;
    }

    .player-v18-rival-crest{
        width:17px;
        height:17px;
        flex-basis:17px;
    }

    .player-v18-fixture-meta{
        margin-top:2px;
        gap:3px;
    }

    .player-v18-starter{
        padding:5px 5px;
    }

    .player-v18-starter-main{
        gap:3px;
        min-height:17px;
    }

    .player-v18-starter-main span{
        min-width:31px;
        height:16px;
        padding:0 4px;
        font-size:7px;
    }

    .player-v18-events{
        height:26px;
        gap:4px;
    }

    .player-v18-events-group{
        gap:5px;
    }

    .player-v18-events-group--cards{
        gap:4px;
    }

    .player-v18-events-divider{
        height:12px;
    }
}

/* Móvil estrecho: todo cabe sin cortar */
@media (max-width:430px){
    .player-v18-insightbar{
        grid-template-columns:30px minmax(0,1fr) 91px;
    }

    .player-v18-fixture{
        padding-left:5px;
        padding-right:5px;
    }

    .player-v18-rival-name{
        font-size:9px;
    }

    .player-v18-fixture-meta{
        font-size:6px;
    }

    .player-v18-starter{
        padding-left:4px;
        padding-right:4px;
    }

    .player-v18-starter small{
        font-size:5.8px;
    }

    .player-v18-events{
        gap:3px;
    }

    .player-v18-events-group{
        gap:4px;
    }

    .player-v18-events-group--cards{
        gap:3px;
    }

    .player-v18-event{
        gap:2px;
    }

    .player-v18-event i{
        font-size:12px;
    }

    .player-v18-event strong{
        font-size:8px;
    }

    .player-v18-event--small i{
        font-size:10px;
    }

    .player-v18-event--small strong{
        font-size:7px;
    }

    /* Mantener las estadísticas inferiores dentro del ancho */
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:45px 45px !important;
        gap:4px !important;
    }

    .player-top-preview__stat-box,
    .player-top-preview__price-box{
        padding:5px !important;
    }

    .player-top-preview__stat-label{
        font-size:6.8px !important;
    }

    .player-top-preview__stat-value{
        font-size:15px !important;
    }

    .player-top-preview__home-away{
        gap:2px !important;
    }

    .player-top-preview__home-away span,
    .player-top-preview__home-away i{
        font-size:6.2px !important;
    }

    .player-top-preview__price-value{
        font-size:18px !important;
    }

    .player-top-preview__price-chart{
        height:23px !important;
    }
}


/* =========================================================
   V19 · OVERVIEW PREMIUM
   Racha mínima + partido protagonista + titularidad profesional
   ========================================================= */

.player-top-preview__card{
    --v19-kicker: clamp(7px, calc(5.8px + .14vw), 10px);
    --v19-main: clamp(10px, calc(7.5px + .28vw), 14px);
    --v19-meta: clamp(7px, calc(5.6px + .15vw), 9px);
    --v19-status: clamp(15px, calc(10px + .55vw), 22px);
}

/*
 * Damos más altura al bloque superior para que el próximo partido
 * respire y no compita con titularidad.
 */
.player-top-preview__summary{
    min-height:152px !important;
    grid-template-rows:24px 64px 28px 40px !important;
    gap:4px !important;
}

/* Una sola banda, pero cada zona tiene una función clara */
.player-v19-overview{
    width:100%;
    height:64px;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) 112px;
    align-items:stretch;
    border:1px solid #d9e4ee;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 3px 12px rgba(15,23,42,.045);
}

/* =========================================================
   RACHA
   ========================================================= */

.player-v19-trend{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    border-right:1px solid #e6edf3;
    background:linear-gradient(180deg,#fbfdff 0%,#f5f9fc 100%);
}

.player-v19-kicker{
    color:#8a98aa;
    font-size:var(--v19-kicker);
    font-weight:900;
    letter-spacing:.03em;
    line-height:1;
}

.player-v19-trend-arrow{
    width:22px;
    height:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.player-v19-trend-arrow > span,
.player-v19-trend-arrow > span > i{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    font-size:clamp(17px, calc(14px + .3vw), 22px) !important;
    line-height:1 !important;
}

/* Colores iguales a la lógica original */
.player-v19-trend-arrow .is-up,
.player-v19-trend-arrow .is-up i{color:#2196f3 !important;}
.player-v19-trend-arrow .is-steady,
.player-v19-trend-arrow .is-steady i{color:#16a34a !important;}
.player-v19-trend-arrow .is-flat,
.player-v19-trend-arrow .is-flat i{color:#f59e0b !important;}
.player-v19-trend-arrow .is-down,
.player-v19-trend-arrow .is-down i{color:#e5484d !important;}
.player-v19-trend-arrow .is-unknown,
.player-v19-trend-arrow .is-unknown i{color:#2196f3 !important;}

/* =========================================================
   PRÓXIMO PARTIDO — zona protagonista
   ========================================================= */

.player-v19-match{
    min-width:0;
    padding:7px 10px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}

.player-v19-match-head,
.player-v19-starter-head{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    margin-bottom:5px;
    color:#8997a8;
    font-size:var(--v19-kicker);
    font-weight:900;
    letter-spacing:.025em;
    line-height:1;
}

.player-v19-match-head strong{
    color:#f08b24;
    font-size:inherit;
    font-weight:950;
    flex:0 0 auto;
}

.player-v19-match-main{
    min-width:0;
    display:flex;
    align-items:center;
    gap:6px;
}

.player-v19-match-main--empty{
    min-height:29px;
}

.player-v19-homeaway{
    width:19px;
    height:19px;
    flex:0 0 19px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:8px;
}
.player-v19-homeaway.is-home{
    color:#119653;
    background:#eaf9f1;
}
.player-v19-homeaway.is-away{
    color:#d74f6f;
    background:#fff0f4;
}

.player-v19-rival-crest{
    width:25px;
    height:25px;
    flex:0 0 25px;
    display:block;
    object-fit:contain;
}

.player-v19-rival-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.player-v19-rival-copy strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#223548;
    font-size:var(--v19-main);
    font-weight:950;
    line-height:1;
}

.player-v19-rival-copy span{
    min-width:0;
    margin-top:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#6f7e90;
    font-size:var(--v19-meta);
    font-weight:750;
    line-height:1;
}

.player-v19-rival-copy b{
    color:#a7b0bb;
    font-weight:700;
}

/* =========================================================
   TITULARIDAD — blanco, status icon, badge y progreso
   ========================================================= */

.player-v19-starter{
    position:relative;
    min-width:0;
    padding:7px 8px 8px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    border-left:1px solid #e4ebf1;
    background:#fff;
}

.player-v19-starter-head{
    justify-content:center;
    margin-bottom:5px;
}

.player-v19-starter-body{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}

.player-v19-starter-icon{
    width:22px;
    height:22px;
    flex:0 0 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#0f9b5d;
    background:#e9f8f0;
    font-size:9px;
}

.player-v19-starter.is-no .player-v19-starter-icon{
    color:#d94e4e;
    background:#fff0f0;
}

.player-v19-starter-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
}

.player-v19-starter-copy strong{
    color:#129e5e;
    font-size:var(--v19-status);
    font-weight:950;
    line-height:.9;
}

.player-v19-starter.is-no .player-v19-starter-copy strong{
    color:#d94e4e;
}

.player-v19-starter-copy small{
    max-width:100%;
    margin-top:3px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#718095;
    font-size:var(--v19-meta);
    font-weight:750;
    line-height:1;
}

.player-v19-starter-percent{
    min-width:34px;
    height:18px;
    padding:0 5px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#0f8f56;
    background:#e7f8ef;
    font-size:clamp(7px, calc(5.5px + .15vw), 9px);
    font-weight:950;
    line-height:1;
}

.player-v19-starter.is-no .player-v19-starter-percent{
    color:#ca4646;
    background:#fff0f0;
}

.player-v19-probability-track{
    position:absolute;
    left:9px;
    right:9px;
    bottom:5px;
    height:2px;
    overflow:hidden;
    border-radius:999px;
    background:#edf1f4;
}

.player-v19-probability-track i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#16a765;
}

.player-v19-starter.is-no .player-v19-probability-track i{
    background:#df5050;
}

/* =========================================================
   EVENTOS
   Más separación entre rendimiento y tarjetas
   ========================================================= */

.player-v18-events{
    height:28px !important;
    min-height:28px !important;
    gap:4px !important;
    justify-content:center !important;
}

.player-v18-events-group{
    gap:6px !important;
}

.player-v18-events-group--performance{
    padding-right:3px !important;
}

.player-v18-events-divider{
    width:1px !important;
    height:18px !important;
    margin:0 5px !important;
    background:#d7dfe7 !important;
}

.player-v18-events-group--cards{
    gap:7px !important;
    padding-left:2px !important;
}

.player-v18-event i{
    font-size:clamp(13px, calc(10px + .28vw), 16px) !important;
}

.player-v18-event strong{
    font-size:clamp(9px, calc(7px + .19vw), 12px) !important;
}

/* =========================================================
   ESTADÍSTICAS INFERIORES
   Aprovechar mejor el espacio en móvil
   ========================================================= */

.player-top-preview__stat-box{
    justify-content:center !important;
}

.player-top-preview__stat-label{
    font-size:clamp(8.5px, .7vw, 11px) !important;
}

.player-top-preview__stat-value{
    font-size:clamp(20px, 1.45vw, 25px) !important;
}

.player-top-preview__home-away span{
    font-size:clamp(7.5px, .58vw, 10px) !important;
}

.player-top-preview__home-away i{
    font-size:inherit !important;
}

.player-top-preview__price-label{
    font-size:clamp(8px, .64vw, 10px) !important;
}

.player-top-preview__price-value{
    font-size:clamp(23px, 1.9vw, 32px) !important;
}

/* Tablet y móvil normal: agrandar contenidos porque sí hay espacio */
@media(max-width:767px){
    .player-top-preview__summary{
        min-height:140px !important;
        grid-template-rows:22px 56px 26px 38px !important;
        gap:3px !important;
    }

    .player-v19-overview{
        height:56px;
        grid-template-columns:38px minmax(0,1fr) 101px;
        border-radius:12px;
    }

    .player-v19-trend{
        gap:4px;
    }

    .player-v19-trend-arrow{
        width:19px;
        height:19px;
    }

    .player-v19-trend-arrow > span,
    .player-v19-trend-arrow > span > i{
        font-size:17px !important;
    }

    .player-v19-match{
        padding:6px 7px;
    }

    .player-v19-match-head,
    .player-v19-starter-head{
        margin-bottom:3px;
    }

    .player-v19-homeaway{
        width:16px;
        height:16px;
        flex-basis:16px;
        font-size:6.5px;
    }

    .player-v19-rival-crest{
        width:20px;
        height:20px;
        flex-basis:20px;
    }

    .player-v19-starter{
        padding:6px 5px 7px;
    }

    .player-v19-starter-body{
        gap:4px;
    }

    .player-v19-starter-icon{
        width:18px;
        height:18px;
        flex-basis:18px;
        font-size:8px;
    }

    .player-v19-starter-percent{
        min-width:31px;
        height:16px;
        padding:0 4px;
        font-size:7px;
    }

    .player-v18-events{
        height:26px !important;
        min-height:26px !important;
    }

    .player-v18-events-group{
        gap:5px !important;
    }

    .player-v18-events-divider{
        margin:0 4px !important;
        height:16px !important;
    }

    /* Hacer los cuadros inferiores más llenos/legibles */
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:54px 54px !important;
        gap:5px !important;
    }

    .player-top-preview__stat-box{
        padding:6px 7px !important;
    }

    .player-top-preview__stat-label{
        font-size:9px !important;
        margin-bottom:4px !important;
    }

    .player-top-preview__stat-value{
        font-size:21px !important;
    }

    .player-top-preview__home-away{
        gap:4px !important;
    }

    .player-top-preview__home-away span{
        font-size:8.2px !important;
    }

    .player-top-preview__ranking-pos{
        padding:4px 6px !important;
        font-size:7.5px !important;
    }

    .player-top-preview__price-box{
        padding:7px 8px !important;
    }

    .player-top-preview__price-label{
        font-size:8.5px !important;
    }

    .player-top-preview__price-value{
        font-size:26px !important;
    }

    .player-top-preview__price-chart{
        height:30px !important;
    }

    .player-top-preview__price-daily{
        font-size:8.3px !important;
    }
}

/* Móviles estrechos: reducir solo lo necesario para no cortar */
@media(max-width:430px){
    .player-top-preview__summary{
        min-height:134px !important;
        grid-template-rows:21px 52px 25px 36px !important;
    }

    .player-v19-overview{
        height:52px;
        grid-template-columns:34px minmax(0,1fr) 90px;
    }

    .player-v19-kicker{
        font-size:6px;
    }

    .player-v19-match{
        padding:5px 6px;
    }

    .player-v19-match-head{
        font-size:6px;
    }

    .player-v19-rival-crest{
        width:18px;
        height:18px;
        flex-basis:18px;
    }

    .player-v19-rival-copy strong{
        font-size:9px;
    }

    .player-v19-rival-copy span{
        font-size:6px;
    }

    .player-v19-starter{
        padding:5px 4px 6px;
    }

    .player-v19-starter-head{
        font-size:6px;
    }

    .player-v19-starter-icon{
        width:16px;
        height:16px;
        flex-basis:16px;
        font-size:7px;
    }

    .player-v19-starter-copy strong{
        font-size:15px;
    }

    .player-v19-starter-copy small{
        font-size:5.6px;
    }

    .player-v19-starter-percent{
        min-width:28px;
        height:15px;
        padding:0 3px;
        font-size:6.5px;
    }

    .player-v18-events-group{
        gap:4px !important;
    }

    .player-v18-events-divider{
        margin:0 3px !important;
    }

    .player-v18-events-group--cards{
        gap:4px !important;
    }

    .player-v18-event i{
        font-size:12px !important;
    }

    .player-v18-event strong{
        font-size:8px !important;
    }

    /* Stats: todavía grandes, pero sin desbordar */
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:49px 49px !important;
        gap:4px !important;
    }

    .player-top-preview__stat-box,
    .player-top-preview__price-box{
        padding:5px 6px !important;
    }

    .player-top-preview__stat-label{
        font-size:7.5px !important;
        margin-bottom:3px !important;
    }

    .player-top-preview__stat-value{
        font-size:18px !important;
    }

    .player-top-preview__home-away{
        gap:3px !important;
    }

    .player-top-preview__home-away span{
        font-size:7px !important;
    }

    .player-top-preview__ranking-pos{
        padding:3px 5px !important;
        font-size:6.8px !important;
    }

    .player-top-preview__price-label{
        font-size:7.2px !important;
    }

    .player-top-preview__price-value{
        font-size:21px !important;
    }

    .player-top-preview__price-chart{
        height:25px !important;
    }

    .player-top-preview__price-daily{
        padding:3px 4px !important;
        font-size:7px !important;
    }
}

/* Desktop ancho: crecer de forma natural */
@media(min-width:1200px){
    .player-v19-overview{
        grid-template-columns:50px minmax(0,1fr) 122px;
        height:68px;
    }

    .player-top-preview__summary{
        min-height:158px !important;
        grid-template-rows:24px 68px 30px 40px !important;
    }

    .player-v19-rival-crest{
        width:27px;
        height:27px;
        flex-basis:27px;
    }

    .player-v19-starter-icon{
        width:24px;
        height:24px;
        flex-basis:24px;
        font-size:10px;
    }
}

@media(min-width:1600px){
    .player-v19-overview{
        grid-template-columns:54px minmax(0,1fr) 132px;
        height:72px;
    }

    .player-top-preview__summary{
        min-height:164px !important;
        grid-template-rows:24px 72px 32px 40px !important;
    }
}


/* =========================================================
   V20 · MÁS VISUAL / MÁS GRANDE / MÁS LIMPIO
   ========================================================= */

.player-top-preview__card{
    --v20-kicker: clamp(7px, calc(5.7px + .16vw), 10px);
    --v20-main: clamp(11px, calc(8px + .32vw), 15px);
    --v20-meta: clamp(7px, calc(5.6px + .15vw), 10px);
    --v20-status: clamp(17px, calc(11px + .62vw), 24px);
}

/* Altura general */
.player-top-preview__summary{
    min-height:154px !important;
    grid-template-rows:24px 66px 28px 40px !important;
    gap:4px !important;
}

/* =========================================================
   OVERVIEW
   ========================================================= */

.player-v20-overview{
    width:100%;
    height:66px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:7px;
    align-items:stretch;
}

/* Racha pequeña pero reconocible */
.player-v20-trend{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:1px solid #dce5ee;
    border-radius:14px;
    background:linear-gradient(180deg,#fff 0%,#f7fafc 100%);
    box-shadow:0 3px 10px rgba(15,23,42,.04);
}

.player-v20-trend-label{
    color:#8b98a9;
    font-size:var(--v20-kicker);
    font-weight:900;
    line-height:1;
    letter-spacing:.03em;
}

.player-v20-trend-arrow{
    width:23px;
    height:23px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.player-v20-trend-arrow > span,
.player-v20-trend-arrow > span > i{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    font-size:clamp(18px, calc(15px + .28vw), 22px) !important;
    line-height:1 !important;
}

/* colores originales */
.player-v20-trend-arrow .is-up,
.player-v20-trend-arrow .is-up i{color:#2196f3 !important;}
.player-v20-trend-arrow .is-steady,
.player-v20-trend-arrow .is-steady i{color:#16a34a !important;}
.player-v20-trend-arrow .is-flat,
.player-v20-trend-arrow .is-flat i{color:#f59e0b !important;}
.player-v20-trend-arrow .is-down,
.player-v20-trend-arrow .is-down i{color:#e5484d !important;}
.player-v20-trend-arrow .is-unknown,
.player-v20-trend-arrow .is-unknown i{color:#2196f3 !important;}

/* Tarjeta grande combinada */
.player-v20-match-card{
    min-width:0;
    height:66px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 126px;
    overflow:hidden;
    border:1px solid #dbe5ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 14px rgba(15,23,42,.05);
}

/* Próximo partido: parte protagonista */
.player-v20-match-info{
    min-width:0;
    padding:7px 11px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:
        linear-gradient(135deg,rgba(245,249,252,.98),rgba(255,255,255,.98));
}

.player-v20-match-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    margin-bottom:5px;
    color:#8795a6;
    font-size:var(--v20-kicker);
    font-weight:900;
    letter-spacing:.025em;
    line-height:1;
}

.player-v20-match-head strong{
    flex:0 0 auto;
    color:#ef8a21;
    font-size:inherit;
    font-weight:950;
}

.player-v20-match-main{
    min-width:0;
    display:flex;
    align-items:center;
    gap:7px;
}

.player-v20-match-main--empty{
    min-height:30px;
}

.player-v20-homeaway{
    width:20px;
    height:20px;
    flex:0 0 20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:8px;
}
.player-v20-homeaway.is-home{
    color:#12985c;
    background:#e8f8ef;
}
.player-v20-homeaway.is-away{
    color:#d75170;
    background:#fff0f4;
}

.player-v20-rival-crest{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:block;
    object-fit:contain;
}

.player-v20-rival-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.player-v20-rival-copy strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#24374a;
    font-size:var(--v20-main);
    font-weight:950;
    line-height:1;
}

.player-v20-rival-meta{
    margin-top:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#66778a;
    font-size:var(--v20-meta);
    font-weight:750;
    line-height:1;
}

.player-v20-rival-meta b{
    color:#a6b0ba;
    font-weight:700;
}

/* Titularidad: más moderna, sin bloque verde plano */
.player-v20-starter{
    position:relative;
    min-width:0;
    padding:7px 8px 9px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    border-left:1px solid #e5ecef;
    background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);
}

.player-v20-starter-head{
    margin-bottom:5px;
    color:#8795a6;
    font-size:var(--v20-kicker);
    font-weight:900;
    line-height:1;
    text-align:center;
    letter-spacing:.025em;
}

.player-v20-starter-main{
    min-width:0;
    display:grid;
    grid-template-columns:22px minmax(0,1fr) auto;
    align-items:center;
    gap:6px;
}

.player-v20-starter-status{
    width:22px;
    height:22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#0e9659;
    background:#e8f8ef;
    font-size:9px;
}
.player-v20-starter.is-no .player-v20-starter-status{
    color:#d74d4d;
    background:#fff0f0;
}

.player-v20-starter-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.player-v20-starter-copy strong{
    color:#129e5e;
    font-size:var(--v20-status);
    font-weight:950;
    line-height:.9;
}
.player-v20-starter.is-no .player-v20-starter-copy strong{
    color:#d74d4d;
}

.player-v20-starter-copy small{
    margin-top:3px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#6f7d90;
    font-size:var(--v20-meta);
    font-weight:750;
    line-height:1;
}

.player-v20-starter-percent{
    min-width:34px;
    height:18px;
    padding:0 5px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#0d8d54;
    background:#e7f7ee;
    font-size:clamp(7px, calc(5.4px + .16vw), 9px);
    font-weight:950;
    line-height:1;
}

.player-v20-starter.is-no .player-v20-starter-percent{
    color:#c84545;
    background:#fff0f0;
}

.player-v20-starter-progress{
    position:absolute;
    left:10px;
    right:10px;
    bottom:5px;
    height:2px;
    overflow:hidden;
    border-radius:999px;
    background:#eef2f4;
}
.player-v20-starter-progress i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#14a662;
}
.player-v20-starter.is-no .player-v20-starter-progress i{
    background:#df5050;
}

/* =========================================================
   EVENTOS
   Iconos algo más pequeños y valores más grandes
   ========================================================= */

.player-v18-events{
    height:28px !important;
    min-height:28px !important;
    gap:4px !important;
    justify-content:center !important;
}

.player-v18-events-group{
    gap:6px !important;
}

.player-v18-events-divider{
    height:18px !important;
    margin:0 6px !important;
    background:#d9e0e7 !important;
}

.player-v18-event{
    gap:3px !important;
}

.player-v18-event i{
    font-size:clamp(11px, calc(9px + .16vw), 13px) !important;
}

.player-v18-event strong{
    font-size:clamp(10px, calc(8px + .22vw), 13px) !important;
    font-weight:950 !important;
}

/* =========================================================
   HOME / AWAY EN ESTADÍSTICAS
   Más grandes porque hay espacio
   ========================================================= */

.player-top-preview__home-away{
    gap:6px !important;
}

.player-top-preview__home-away span{
    gap:3px !important;
    font-size:clamp(9px, calc(7px + .18vw), 11px) !important;
    font-weight:900 !important;
}

.player-top-preview__home-away i{
    font-size:clamp(8px, calc(6px + .16vw), 10px) !important;
}

.player-top-preview__stat-value{
    font-size:clamp(21px, 1.45vw, 25px) !important;
}

/* Móvil normal: aumentar home/away y llenar mejor */
@media(max-width:767px){
    .player-top-preview__summary{
        min-height:140px !important;
        grid-template-rows:22px 56px 26px 38px !important;
        gap:3px !important;
    }

    .player-v20-overview{
        height:56px;
        grid-template-columns:40px minmax(0,1fr);
        gap:5px;
    }

    .player-v20-trend{
        gap:4px;
        border-radius:11px;
    }

    .player-v20-trend-arrow{
        width:19px;
        height:19px;
    }

    .player-v20-trend-arrow > span,
    .player-v20-trend-arrow > span > i{
        font-size:17px !important;
    }

    .player-v20-match-card{
        height:56px;
        grid-template-columns:minmax(0,1fr) 105px;
        border-radius:11px;
    }

    .player-v20-match-info{
        padding:6px 7px;
    }

    .player-v20-match-head{
        margin-bottom:3px;
    }

    .player-v20-homeaway{
        width:16px;
        height:16px;
        flex-basis:16px;
        font-size:6.5px;
    }

    .player-v20-rival-crest{
        width:21px;
        height:21px;
        flex-basis:21px;
    }

    .player-v20-starter{
        padding:6px 5px 7px;
    }

    .player-v20-starter-head{
        margin-bottom:3px;
    }

    .player-v20-starter-main{
        grid-template-columns:18px minmax(0,1fr) auto;
        gap:4px;
    }

    .player-v20-starter-status{
        width:18px;
        height:18px;
        font-size:8px;
    }

    .player-v20-starter-percent{
        min-width:29px;
        height:16px;
        padding:0 4px;
        font-size:7px;
    }

    /* Local/visitante más grande */
    .player-top-preview__home-away{
        gap:5px !important;
    }

    .player-top-preview__home-away span{
        font-size:8.6px !important;
    }

    .player-top-preview__home-away i{
        font-size:8px !important;
    }

    .player-top-preview__stat-value{
        font-size:21px !important;
    }
}

/* Móvil estrecho: contener sin perder legibilidad */
@media(max-width:430px){
    .player-v20-overview{
        grid-template-columns:36px minmax(0,1fr);
    }

    .player-v20-match-card{
        grid-template-columns:minmax(0,1fr) 94px;
    }

    .player-v20-match-info{
        padding-left:6px;
        padding-right:6px;
    }

    .player-v20-rival-copy strong{
        font-size:9px;
    }

    .player-v20-rival-meta{
        font-size:6px;
    }

    .player-v20-starter{
        padding-left:4px;
        padding-right:4px;
    }

    .player-v20-starter-main{
        grid-template-columns:16px minmax(0,1fr) auto;
        gap:3px;
    }

    .player-v20-starter-status{
        width:16px;
        height:16px;
        font-size:7px;
    }

    .player-v20-starter-copy strong{
        font-size:15px;
    }

    .player-v20-starter-copy small{
        font-size:5.6px;
    }

    .player-v20-starter-percent{
        min-width:27px;
        height:15px;
        padding:0 3px;
        font-size:6.5px;
    }

    .player-v18-event i{
        font-size:10px !important;
    }

    .player-v18-event strong{
        font-size:9px !important;
    }

    .player-top-preview__home-away span{
        font-size:7.3px !important;
    }

    .player-top-preview__home-away i{
        font-size:7px !important;
    }

    .player-top-preview__stat-value{
        font-size:18px !important;
    }
}

/* Desktop grande: crecimiento natural */
@media(min-width:1200px){
    .player-v20-overview{
        grid-template-columns:52px minmax(0,1fr);
        height:70px;
    }

    .player-v20-match-card{
        height:70px;
        grid-template-columns:minmax(0,1fr) 138px;
    }

    .player-top-preview__summary{
        min-height:160px !important;
        grid-template-rows:24px 70px 30px 40px !important;
    }

    .player-v20-rival-crest{
        width:29px;
        height:29px;
        flex-basis:29px;
    }
}

@media(min-width:1600px){
    .player-v20-overview{
        grid-template-columns:56px minmax(0,1fr);
        height:74px;
    }

    .player-v20-match-card{
        height:74px;
        grid-template-columns:minmax(0,1fr) 146px;
    }

    .player-top-preview__summary{
        min-height:166px !important;
        grid-template-rows:24px 74px 32px 40px !important;
    }
}

/* =========================================================
   V21 · STATUS MÁS MODERNO + STATS LOCAL/VISITANTE GRANDES
   ========================================================= */

/* La zona superior gana aire visual reduciendo altura real. */
.player-top-preview__summary{
    min-height:142px !important;
    grid-template-rows:24px 56px 28px 38px !important;
    gap:3px !important;
}

.player-v21-status-row{
    width:100%;
    height:56px;
    display:grid;
    grid-template-columns:minmax(82px,.78fr) minmax(170px,1.55fr) minmax(126px,1.05fr);
    gap:6px;
    align-items:stretch;
}

.player-v21-status-card{
    position:relative;
    min-width:0;
    height:56px;
    padding:6px 9px;
    overflow:hidden;
    border:1px solid #dde6ef;
    border-radius:13px;
    background:linear-gradient(180deg,#fff 0%,#f8fbfd 100%);
    box-shadow:0 3px 10px rgba(30,53,77,.045);
}

.player-v21-status-card:after{
    content:"";
    position:absolute;
    inset:auto -14px -20px auto;
    width:48px;
    height:48px;
    border-radius:50%;
    background:rgba(36,134,226,.045);
    pointer-events:none;
}

.player-v21-status-head{
    height:12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    color:#8291a3;
    font-size:7.5px;
    font-weight:950;
    letter-spacing:.045em;
    line-height:1;
    white-space:nowrap;
}

.player-v21-status-body{
    min-width:0;
    height:32px;
    margin-top:2px;
    display:flex;
    align-items:center;
}

/* Racha */
.player-v21-status-card--trend{
    background:linear-gradient(145deg,#fff 0%,#f3f8ff 100%);
}
.player-v21-status-body--trend{
    gap:7px;
}
.player-v21-trend-icon{
    width:28px;
    height:28px;
    flex:0 0 28px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:#eaf4ff;
    box-shadow:inset 0 0 0 1px rgba(33,150,243,.08);
}
.player-v21-trend-icon > span,
.player-v21-trend-icon > span > i{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    font-size:18px !important;
    line-height:1 !important;
}
.player-v21-trend-icon .is-up,
.player-v21-trend-icon .is-up i{color:#248ce6 !important;}
.player-v21-trend-icon .is-steady,
.player-v21-trend-icon .is-steady i{color:#17a364 !important;}
.player-v21-trend-icon .is-flat,
.player-v21-trend-icon .is-flat i{color:#e99a1c !important;}
.player-v21-trend-icon .is-down,
.player-v21-trend-icon .is-down i{color:#df5158 !important;}
.player-v21-trend-icon .is-unknown,
.player-v21-trend-icon .is-unknown i{color:#248ce6 !important;}
.player-v21-status-body--trend > strong{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#2f4257;
    font-size:10px;
    font-weight:900;
    line-height:1.05;
}

/* Próximo partido: sin nombre del rival; el escudo identifica y la fecha manda. */
.player-v21-status-card--fixture{
    background:linear-gradient(145deg,#fff 0%,#f7fafc 100%);
}
.player-v21-round{
    flex:0 0 auto;
    color:#ee8a1b;
    font-size:9px;
    font-weight:950;
}
.player-v21-status-body--fixture{
    gap:7px;
}
.player-v21-homeaway{
    width:19px;
    height:19px;
    flex:0 0 19px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:7px;
}
.player-v21-homeaway.is-home{color:#12965b;background:#e8f8ef;}
.player-v21-homeaway.is-away{color:#d75170;background:#fff0f4;}
.player-v21-rival-crest{
    width:27px;
    height:27px;
    flex:0 0 27px;
    object-fit:contain;
}
.player-v21-fixture-separator{
    width:1px;
    height:24px;
    flex:0 0 1px;
    margin:0 2px;
    background:#dbe3eb;
}
.player-v21-fixture-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.player-v21-fixture-copy strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#24384f;
    font-size:11.5px;
    font-weight:950;
    line-height:1;
}
.player-v21-fixture-copy small{
    margin-top:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#718096;
    font-size:7.4px;
    font-weight:800;
    line-height:1;
}
.player-v21-fixture-copy small b{
    margin:0 3px;
    color:#b0bac4;
    font-weight:700;
}
.player-v21-status-body--fixture.is-empty .player-v21-fixture-copy strong{font-size:10px;}

/* Titularidad */
.player-v21-status-card--starter{
    padding-bottom:8px;
    background:linear-gradient(145deg,#fff 0%,#f3fbf7 100%);
}
.player-v21-status-card--starter.is-no{
    background:linear-gradient(145deg,#fff 0%,#fff5f5 100%);
}
.player-v21-starter-percent{
    min-width:31px;
    height:16px;
    padding:0 5px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    color:#0d8c55;
    background:#e5f7ed;
    font-size:7px;
    font-weight:950;
    line-height:1;
}
.player-v21-status-card--starter.is-no .player-v21-starter-percent{
    color:#c74646;
    background:#ffeaea;
}
.player-v21-status-body--starter{
    gap:7px;
}
.player-v21-starter-icon{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    color:#fff;
    background:linear-gradient(145deg,#1db56d,#119657);
    box-shadow:0 4px 10px rgba(19,157,92,.16);
    font-size:11px;
}
.player-v21-status-card--starter.is-no .player-v21-starter-icon{
    background:linear-gradient(145deg,#ed6666,#d94d4d);
    box-shadow:0 4px 10px rgba(217,77,77,.14);
}
.player-v21-starter-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
}
.player-v21-starter-copy strong{
    color:#11975a;
    font-size:19px;
    font-weight:950;
    line-height:.9;
}
.player-v21-status-card--starter.is-no .player-v21-starter-copy strong{color:#d64d4d;}
.player-v21-starter-copy small{
    margin-top:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#68788b;
    font-size:7.2px;
    font-weight:800;
    line-height:1;
}
.player-v21-starter-progress{
    position:absolute;
    left:9px;
    right:9px;
    bottom:4px;
    height:2px;
    overflow:hidden;
    border-radius:999px;
    background:#e9eff2;
}
.player-v21-starter-progress i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:#14a461;
}
.player-v21-status-card--starter.is-no .player-v21-starter-progress i{background:#dc5050;}

/* =========================================================
   STATS: mejor aprovechamiento y Local / Visitante destacados
   ========================================================= */
.player-top-preview__dynamic-stats{
    min-height:151px !important;
    margin-top:8px !important;
}
.player-top-preview__dynamic-loader{min-height:151px !important;}

.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    grid-template-rows:72px 72px !important;
    gap:7px !important;
}

.player-top-preview__stat-box{
    padding:7px 9px !important;
    border-radius:13px !important;
    background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%) !important;
    box-shadow:0 2px 8px rgba(23,45,68,.035) !important;
}
.player-top-preview__stat-label{
    margin:0 0 5px !important;
    color:#718095 !important;
    font-size:9.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
}
.player-top-preview__stat-row{
    min-width:0 !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) !important;
    align-items:center !important;
    gap:9px !important;
}
.player-top-preview__stat-value{
    min-width:0 !important;
    font-size:28px !important;
    font-weight:950 !important;
    line-height:1 !important;
    letter-spacing:-.035em !important;
}
.player-top-preview__home-away{
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
    padding:0 !important;
}
.player-top-preview__home-away > span{
    min-width:0 !important;
    height:39px !important;
    padding:4px 5px !important;
    display:grid !important;
    grid-template-columns:16px minmax(0,1fr) !important;
    align-items:center !important;
    gap:4px !important;
    border-radius:9px !important;
    font-size:inherit !important;
    line-height:1 !important;
}
.player-top-preview__home-away > span.is-home{
    color:#10885a !important;
    background:#edf9f3 !important;
}
.player-top-preview__home-away > span.is-away{
    color:#d04d64 !important;
    background:#fff1f3 !important;
}
.player-top-preview__home-away > span > i{
    width:16px !important;
    height:16px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:5px !important;
    background:rgba(255,255,255,.72) !important;
    font-size:8px !important;
}
.player-v21-split-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
}
.player-v21-split-copy b{
    color:inherit;
    font-size:12.5px;
    font-weight:950;
    line-height:1;
}
.player-v21-split-copy small{
    margin-top:3px;
    color:#778597;
    font-size:6.4px;
    font-weight:900;
    letter-spacing:.015em;
    line-height:1;
}

.player-top-preview__stat-row--ranking{
    grid-template-columns:auto 1fr !important;
    align-items:center !important;
}
.player-top-preview__ranking-pos{
    justify-self:start !important;
    padding:5px 8px !important;
    border-radius:8px !important;
    font-size:9px !important;
}

.player-top-preview__price-box{
    padding:9px 11px !important;
    border-radius:13px !important;
}
.player-top-preview__price-label{font-size:9px !important;}
.player-top-preview__price-daily{font-size:9px !important;}
.player-top-preview__price-value{
    margin-top:5px !important;
    font-size:31px !important;
    line-height:1 !important;
}
.player-top-preview__price-chart{
    height:40px !important;
    margin:5px 0 3px !important;
}
.player-top-preview__price-range small{font-size:7.5px !important;}
.player-top-preview__price-range strong{font-size:9.5px !important;}

@media(max-width:767px){
    .player-top-preview__summary{
        min-height:132px !important;
        grid-template-rows:21px 51px 25px 35px !important;
        gap:3px !important;
    }
    .player-v21-status-row{
        height:51px;
        grid-template-columns:minmax(64px,.68fr) minmax(142px,1.55fr) minmax(104px,1.08fr);
        gap:4px;
    }
    .player-v21-status-card{
        height:51px;
        padding:5px 6px;
        border-radius:11px;
    }
    .player-v21-status-head{font-size:6.3px;}
    .player-v21-status-body{height:30px;margin-top:2px;}
    .player-v21-trend-icon{width:24px;height:24px;flex-basis:24px;border-radius:8px;}
    .player-v21-trend-icon > span,
    .player-v21-trend-icon > span > i{font-size:16px !important;}
    .player-v21-status-body--trend{gap:4px;}
    .player-v21-status-body--trend > strong{font-size:8px;}
    .player-v21-round{font-size:7.5px;}
    .player-v21-status-body--fixture{gap:5px;}
    .player-v21-homeaway{width:16px;height:16px;flex-basis:16px;font-size:6px;}
    .player-v21-rival-crest{width:22px;height:22px;flex-basis:22px;}
    .player-v21-fixture-separator{height:20px;margin:0 1px;}
    .player-v21-fixture-copy strong{font-size:9.5px;}
    .player-v21-fixture-copy small{font-size:6.2px;margin-top:3px;}
    .player-v21-starter-percent{min-width:27px;height:14px;padding:0 4px;font-size:6px;}
    .player-v21-starter-icon{width:23px;height:23px;flex-basis:23px;border-radius:8px;font-size:9px;}
    .player-v21-starter-copy strong{font-size:16px;}
    .player-v21-starter-copy small{font-size:6px;margin-top:3px;}

    .player-top-preview__dynamic-stats,
    .player-top-preview__dynamic-loader{min-height:137px !important;}
    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:65px 65px !important;
        gap:6px !important;
    }
    .player-top-preview__stat-box{padding:6px 7px !important;}
    .player-top-preview__stat-label{font-size:8px !important;margin-bottom:4px !important;}
    .player-top-preview__stat-row{gap:6px !important;}
    .player-top-preview__stat-value{font-size:23px !important;}
    .player-top-preview__home-away{gap:4px !important;}
    .player-top-preview__home-away > span{
        height:34px !important;
        padding:3px 4px !important;
        grid-template-columns:14px minmax(0,1fr) !important;
        gap:3px !important;
        border-radius:8px !important;
    }
    .player-top-preview__home-away > span > i{width:14px !important;height:14px !important;font-size:7px !important;}
    .player-v21-split-copy b{font-size:10.5px;}
    .player-v21-split-copy small{font-size:5.5px;margin-top:2px;}
    .player-top-preview__ranking-pos{padding:4px 6px !important;font-size:7.5px !important;}
    .player-top-preview__price-value{font-size:26px !important;}
    .player-top-preview__price-chart{height:35px !important;}
}

@media(max-width:430px){
    .player-v21-status-row{
        grid-template-columns:54px minmax(0,1fr) 92px;
    }
    .player-v21-status-card--trend{padding-left:5px;padding-right:5px;}
    .player-v21-status-card--trend .player-v21-status-head{justify-content:center;}
    .player-v21-status-body--trend{justify-content:center;}
    .player-v21-status-body--trend > strong{display:none;}
    .player-v21-status-card--starter{padding-left:5px;padding-right:5px;}
    .player-v21-starter-percent{display:none;}
    .player-v21-starter-icon{width:20px;height:20px;flex-basis:20px;}
    .player-v21-starter-copy strong{font-size:14px;}
    .player-v21-starter-copy small{font-size:5.2px;}
    .player-v21-rival-crest{width:20px;height:20px;flex-basis:20px;}
    .player-v21-fixture-copy strong{font-size:8.5px;}
    .player-v21-fixture-copy small{font-size:5.6px;}

    .player-top-preview__stat-value{font-size:20px !important;}
    .player-top-preview__home-away > span{
        height:31px !important;
        grid-template-columns:12px minmax(0,1fr) !important;
        padding:3px !important;
    }
    .player-top-preview__home-away > span > i{width:12px !important;height:12px !important;font-size:6px !important;}
    .player-v21-split-copy b{font-size:9px;}
    .player-v21-split-copy small{font-size:4.9px;}
}

@media(min-width:1200px){
    .player-top-preview__summary{
        min-height:148px !important;
        grid-template-rows:24px 58px 28px 38px !important;
    }
    .player-v21-status-row,
    .player-v21-status-card{height:58px;}
    .player-v21-status-body{height:34px;}
    .player-v21-fixture-copy strong{font-size:12px;}
    .player-v21-starter-copy strong{font-size:20px;}
}

/* =========================================================
   V22 · AJUSTE REAL SEGÚN CAPTURA
   - Menor altura general
   - Próximo partido gana ancho
   - Titularidad deja de desperdiciar espacio
   - Local/Visitante legibles sin agrandar las tarjetas
   ========================================================= */

/* Escritorio / tablet: reparto más lógico de la banda de estado. */
.player-v21-status-row{
    grid-template-columns:minmax(64px,.62fr) minmax(190px,1.95fr) minmax(100px,.92fr) !important;
    gap:5px !important;
}

.player-v21-status-card{
    padding-left:7px !important;
    padding-right:7px !important;
}

.player-v21-status-card--fixture{
    padding-left:8px !important;
    padding-right:8px !important;
}

.player-v21-status-card--starter{
    padding-left:7px !important;
    padding-right:7px !important;
}

.player-v21-status-body--fixture{
    gap:6px !important;
}

.player-v21-fixture-copy strong{
    font-size:11px !important;
}

.player-v21-starter-copy small{
    max-width:58px;
}

/* Split Local / Visitante: número y etiqueta en la misma línea. */
.player-top-preview__home-away > span{
    grid-template-columns:15px auto minmax(0,1fr) !important;
    column-gap:4px !important;
}

.player-v22-split-value{
    color:inherit;
    font-size:11px;
    font-weight:950;
    line-height:1;
    white-space:nowrap;
}

.player-v22-split-label{
    min-width:0;
    color:#728095;
    font-size:6.2px;
    font-weight:900;
    line-height:1;
    text-align:right;
    white-space:nowrap;
}

/* Un poco menos de altura también en escritorio. */
.player-top-preview__dynamic-stats,
.player-top-preview__dynamic-loader{
    min-height:137px !important;
}
.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    grid-template-rows:65px 65px !important;
    gap:6px !important;
}
.player-top-preview__stat-box{
    padding:6px 8px !important;
}
.player-top-preview__price-box{
    padding:8px 10px !important;
}
.player-top-preview__price-value{
    font-size:29px !important;
}
.player-top-preview__price-chart{
    height:35px !important;
}

@media(max-width:767px){
    /* La ficha completa pierde altura, pero sin miniaturizar contenido. */
    .player-top-preview__card{
        padding:8px 9px 9px !important;
    }

    .player-top-preview__hero{
        grid-template-columns:112px minmax(0,1fr) !important;
        gap:7px !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:118px !important;
    }

    .player-top-preview__portrait img{
        max-width:110px !important;
        max-height:118px !important;
    }

    .player-top-preview__summary{
        min-height:118px !important;
        grid-template-rows:19px 43px 22px 30px !important;
        gap:2px !important;
    }

    .player-top-preview__meta-line--side{
        min-height:19px !important;
        height:19px !important;
        gap:5px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item{
        font-size:7.8px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item strong{
        font-size:9px !important;
    }

    /* Estado: 18% racha / todo el espacio posible para partido / 30% titularidad. */
    .player-v21-status-row{
        height:43px !important;
        grid-template-columns:52px minmax(0,1fr) 82px !important;
        gap:4px !important;
    }

    .player-v21-status-card{
        height:43px !important;
        padding:4px 5px !important;
        border-radius:10px !important;
    }

    .player-v21-status-head{
        height:9px !important;
        font-size:5.9px !important;
        letter-spacing:.025em !important;
    }

    .player-v21-status-body{
        height:25px !important;
        margin-top:2px !important;
    }

    /* Racha compacta: solo lo necesario. */
    .player-v21-status-card--trend .player-v21-status-head{
        justify-content:center !important;
    }

    .player-v21-status-body--trend{
        justify-content:center !important;
        gap:0 !important;
    }

    .player-v21-status-body--trend > strong{
        display:none !important;
    }

    .player-v21-trend-icon{
        width:23px !important;
        height:23px !important;
        flex:0 0 23px !important;
        border-radius:7px !important;
    }

    .player-v21-trend-icon > span,
    .player-v21-trend-icon > span > i{
        font-size:15px !important;
    }

    /* Próximo partido: gana ancho y fecha/hora dejan de cortarse. */
    .player-v21-status-card--fixture{
        padding-left:6px !important;
        padding-right:6px !important;
    }

    .player-v21-round{
        font-size:6.6px !important;
    }

    .player-v21-status-body--fixture{
        gap:4px !important;
    }

    .player-v21-homeaway{
        width:14px !important;
        height:14px !important;
        flex:0 0 14px !important;
        font-size:5.5px !important;
    }

    .player-v21-rival-crest{
        width:21px !important;
        height:21px !important;
        flex:0 0 21px !important;
    }

    .player-v21-fixture-separator{
        height:18px !important;
        margin:0 1px !important;
    }

    .player-v21-fixture-copy strong{
        font-size:9px !important;
        letter-spacing:-.01em !important;
    }

    .player-v21-fixture-copy small{
        margin-top:2px !important;
        font-size:6px !important;
    }

    /* Titularidad más estrecha: el SI/NO manda, sin porcentaje en móvil. */
    .player-v21-starter-percent,
    .player-v21-starter-progress{
        display:none !important;
    }

    .player-v21-status-body--starter{
        gap:4px !important;
    }

    .player-v21-starter-icon{
        width:19px !important;
        height:19px !important;
        flex:0 0 19px !important;
        border-radius:6px !important;
        font-size:8px !important;
    }

    .player-v21-starter-copy strong{
        font-size:14px !important;
        line-height:1 !important;
    }

    .player-v21-starter-copy small{
        max-width:48px !important;
        margin-top:2px !important;
        font-size:5.5px !important;
    }

    /* Eventos y selector también acompañan la reducción de altura. */
    .player-v18-events{
        height:22px !important;
        min-height:22px !important;
        gap:3px !important;
    }

    .player-v18-events-group{
        gap:5px !important;
    }

    .player-v18-events-divider{
        height:15px !important;
        margin:0 4px !important;
    }

    .player-v18-event i{
        font-size:10px !important;
    }

    .player-v18-event strong{
        font-size:9px !important;
    }

    .player-top-preview__fantasy-select,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
        height:30px !important;
        min-height:30px !important;
    }

    .player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
    .player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
    .fantasy-option-container--selected{
        height:28px !important;
    }

    /* =====================================================
       Cuadros inferiores: compactos, pero Local/Visitante grandes
       y fáciles de leer. Se apilan a la derecha del valor principal.
       ===================================================== */
    .player-top-preview__dynamic-stats{
        min-height:113px !important;
        margin-top:6px !important;
    }

    .player-top-preview__dynamic-loader{
        min-height:113px !important;
    }

    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:54px 54px !important;
        gap:5px !important;
    }

    .player-top-preview__stat-box{
        padding:5px 6px !important;
        border-radius:11px !important;
    }

    .player-top-preview__stat-label{
        margin:0 0 3px !important;
        font-size:7.4px !important;
        line-height:1 !important;
    }

    .player-top-preview__stat-row{
        grid-template-columns:minmax(36px,.72fr) minmax(60px,1.28fr) !important;
        gap:4px !important;
    }

    .player-top-preview__stat-value{
        font-size:21px !important;
        letter-spacing:-.04em !important;
    }

    .player-top-preview__home-away{
        display:grid !important;
        grid-template-columns:1fr !important;
        grid-template-rows:repeat(2,16px) !important;
        gap:2px !important;
    }

    .player-top-preview__home-away > span{
        height:16px !important;
        min-height:16px !important;
        padding:1px 3px !important;
        display:grid !important;
        grid-template-columns:11px auto minmax(0,1fr) !important;
        align-items:center !important;
        column-gap:3px !important;
        border-radius:5px !important;
    }

    .player-top-preview__home-away > span > i{
        width:11px !important;
        height:11px !important;
        border-radius:4px !important;
        font-size:5.8px !important;
    }

    .player-v22-split-value{
        font-size:9.5px !important;
        line-height:1 !important;
    }

    .player-v22-split-label{
        overflow:hidden;
        text-overflow:clip;
        font-size:5.9px !important;
        line-height:1 !important;
        text-align:right !important;
    }

    .player-top-preview__stat-row--ranking{
        grid-template-columns:auto minmax(0,1fr) !important;
        gap:5px !important;
    }

    .player-top-preview__ranking-pos{
        padding:4px 5px !important;
        font-size:6.7px !important;
        white-space:nowrap !important;
    }

    .player-top-preview__price-box{
        padding:6px 8px !important;
        border-radius:11px !important;
    }

    .player-top-preview__price-label,
    .player-top-preview__price-daily{
        font-size:7px !important;
    }

    .player-top-preview__price-value{
        margin-top:3px !important;
        font-size:25px !important;
    }

    .player-top-preview__price-chart{
        height:29px !important;
        margin:4px 0 2px !important;
    }

    .player-top-preview__price-range small{
        font-size:5.9px !important;
    }

    .player-top-preview__price-range strong{
        font-size:7.5px !important;
    }
}

@media(max-width:430px){
    .player-top-preview__hero{
        grid-template-columns:108px minmax(0,1fr) !important;
        gap:6px !important;
    }

    .player-top-preview__portrait-card,
    .player-top-preview__portrait{
        min-height:115px !important;
    }

    .player-top-preview__portrait img{
        max-width:106px !important;
        max-height:115px !important;
    }

    .player-v21-status-row{
        grid-template-columns:48px minmax(0,1fr) 76px !important;
        gap:3px !important;
    }

    .player-v21-status-card{
        padding-left:4px !important;
        padding-right:4px !important;
    }

    .player-v21-rival-crest{
        width:19px !important;
        height:19px !important;
        flex-basis:19px !important;
    }

    .player-v21-fixture-copy strong{
        font-size:8.2px !important;
    }

    .player-v21-fixture-copy small{
        font-size:5.5px !important;
    }

    .player-v21-starter-copy small{
        display:none !important;
    }

    .player-top-preview__stat-value{
        font-size:19px !important;
    }

    .player-v22-split-value{
        font-size:8.8px !important;
    }

    .player-v22-split-label{
        font-size:5.4px !important;
    }

    .player-top-preview__price-value{
        font-size:23px !important;
    }
}

/* === Ajustes v23: ficha más compacta y Próximo partido + Titularidad unificados === */
.player-v23-status-row{
    grid-template-columns:56px minmax(0,1fr) !important;
    gap:6px !important;
    align-items:stretch !important;
}

.player-v23-status-row .player-v21-status-card{
    min-height:72px !important;
    height:auto !important;
    padding:7px 8px !important;
}

.player-v23-status-card--trend{
    padding-left:6px !important;
    padding-right:6px !important;
}

.player-v23-status-card--trend .player-v21-status-head{
    justify-content:center !important;
}

.player-v23-status-card--trend .player-v21-status-head span{
    font-size:10px !important;
}

.player-v23-status-card--trend .player-v21-status-body{
    justify-content:center !important;
    gap:0 !important;
}

.player-v23-status-card--trend .player-v21-status-body strong{
    display:none !important;
}

.player-v23-status-card--trend .player-v21-trend-icon{
    width:32px !important;
    height:32px !important;
    font-size:18px !important;
}

.player-v23-status-card--fixture{
    padding:7px 9px !important;
}

.player-v23-status-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    margin-bottom:5px !important;
}

.player-v23-status-head span{
    font-size:10px !important;
    letter-spacing:.02em !important;
}

.player-v23-status-main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 98px !important;
    gap:8px !important;
    align-items:center !important;
}

.player-v23-fixture-body{
    min-width:0 !important;
    padding:0 !important;
    gap:7px !important;
}

.player-v23-fixture-body .player-v21-homeaway{
    width:20px !important;
    height:20px !important;
    flex:0 0 20px !important;
    font-size:10px !important;
}

.player-v23-fixture-body .player-v21-rival-crest{
    width:26px !important;
    height:26px !important;
    flex:0 0 26px !important;
}

.player-v23-fixture-body .player-v21-fixture-separator{
    height:24px !important;
    margin:0 1px !important;
}

.player-v23-fixture-body .player-v21-fixture-copy strong{
    font-size:14px !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
}

.player-v23-fixture-body .player-v21-fixture-copy small{
    margin-top:2px !important;
    font-size:10px !important;
    line-height:1.1 !important;
    white-space:nowrap !important;
}

.player-v23-starter-mini{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:4px !important;
    min-width:0 !important;
    padding:4px 6px !important;
    border-radius:12px !important;
    background:rgba(236,246,241,.92) !important;
}

.player-v23-status-card--fixture.is-no .player-v23-starter-mini{
    background:rgba(252,237,237,.95) !important;
}

.player-v23-starter-mini__label{
    font-size:9px !important;
    font-weight:800 !important;
    line-height:1 !important;
    color:#6b7f95 !important;
    letter-spacing:.03em !important;
}

.player-v23-starter-mini__content{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    min-width:0 !important;
}

.player-v23-starter-mini .player-v21-starter-icon{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    font-size:11px !important;
    box-shadow:none !important;
}

.player-v23-starter-mini__copy{
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    line-height:1 !important;
}

.player-v23-starter-mini__copy strong{
    font-size:13px !important;
    line-height:1 !important;
    color:#129152 !important;
}

.player-v23-status-card--fixture.is-no .player-v23-starter-mini__copy strong{
    color:#d64d4d !important;
}

.player-v23-starter-mini__copy small{
    margin-top:2px !important;
    font-size:9px !important;
    font-weight:700 !important;
    color:#6c8093 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    gap:8px !important;
}

.player-top-preview__stat-box{
    padding:8px 9px !important;
    min-height:88px !important;
}

.player-top-preview__stat-label{
    margin-bottom:4px !important;
    font-size:10px !important;
    line-height:1.05 !important;
}

.player-top-preview__stat-row{
    align-items:center !important;
    gap:6px !important;
}

.player-top-preview__stat-value{
    font-size:19px !important;
    line-height:1 !important;
}

.player-top-preview__home-away{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:wrap !important;
    gap:4px !important;
}

.player-top-preview__home-away > span{
    min-width:auto !important;
    padding:2px 6px !important;
    gap:4px !important;
    border-radius:999px !important;
}

.player-top-preview__home-away > span > i{
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    font-size:8px !important;
}

.player-v22-split-value{
    font-size:11px !important;
    line-height:1 !important;
}

.player-v22-split-label{
    display:none !important;
}

.player-top-preview__stat-row--ranking{
    gap:8px !important;
}

.player-top-preview__ranking-pos{
    padding:3px 7px !important;
    font-size:9px !important;
}

.player-top-preview__price-box{
    padding:8px 10px !important;
}

.player-top-preview__price-head{
    margin-bottom:4px !important;
}

.player-top-preview__price-label,
.player-top-preview__price-daily{
    font-size:10px !important;
}

.player-top-preview__price-value{
    margin-top:2px !important;
    font-size:23px !important;
    line-height:1 !important;
}

.player-top-preview__price-chart{
    height:44px !important;
    margin:5px 0 3px !important;
}

.player-top-preview__price-range small{
    font-size:8px !important;
}

.player-top-preview__price-range strong{
    font-size:12px !important;
}

@media (max-width:600px){
    .player-v23-status-row{
        grid-template-columns:48px minmax(0,1fr) !important;
        gap:5px !important;
    }

    .player-v23-status-row .player-v21-status-card{
        min-height:66px !important;
        padding:6px 7px !important;
    }

    .player-v23-status-card--trend .player-v21-trend-icon{
        width:28px !important;
        height:28px !important;
        font-size:16px !important;
    }

    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 84px !important;
        gap:6px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway{
        width:18px !important;
        height:18px !important;
        flex-basis:18px !important;
        font-size:9px !important;
    }

    .player-v23-fixture-body .player-v21-rival-crest{
        width:22px !important;
        height:22px !important;
        flex-basis:22px !important;
    }

    .player-v23-fixture-body .player-v21-fixture-copy strong{
        font-size:11px !important;
    }

    .player-v23-fixture-body .player-v21-fixture-copy small{
        font-size:8.6px !important;
    }

    .player-v23-starter-mini{
        padding:4px 5px !important;
        gap:3px !important;
    }

    .player-v23-starter-mini__label{
        font-size:8px !important;
    }

    .player-v23-starter-mini .player-v21-starter-icon{
        width:20px !important;
        height:20px !important;
        min-width:20px !important;
        font-size:10px !important;
    }

    .player-v23-starter-mini__copy strong{
        font-size:11px !important;
    }

    .player-v23-starter-mini__copy small{
        font-size:8px !important;
    }

    .player-top-preview__stat-box{
        padding:7px 8px !important;
        min-height:78px !important;
    }

    .player-top-preview__stat-label{
        font-size:9px !important;
    }

    .player-top-preview__stat-value{
        font-size:17px !important;
    }

    .player-top-preview__home-away{
        gap:3px !important;
    }

    .player-top-preview__home-away > span{
        padding:2px 5px !important;
        gap:3px !important;
    }

    .player-top-preview__home-away > span > i{
        width:14px !important;
        height:14px !important;
        min-width:14px !important;
        font-size:7px !important;
    }

    .player-v22-split-value{
        font-size:10px !important;
    }

    .player-top-preview__ranking-pos{
        font-size:8px !important;
        padding:3px 6px !important;
    }

    .player-top-preview__price-value{
        font-size:21px !important;
    }

    .player-top-preview__price-chart{
        height:38px !important;
    }

    .player-top-preview__price-range strong{
        font-size:10px !important;
    }
}

@media (max-width:430px){
    .player-v23-status-row{
        grid-template-columns:42px minmax(0,1fr) !important;
        gap:4px !important;
    }

    .player-v23-status-row .player-v21-status-card{
        min-height:62px !important;
        padding:5px 6px !important;
    }

    .player-v23-status-card--trend .player-v21-status-head span,
    .player-v23-status-head span{
        font-size:8px !important;
    }

    .player-v23-status-card--trend .player-v21-trend-icon{
        width:24px !important;
        height:24px !important;
        font-size:14px !important;
    }

    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 74px !important;
        gap:5px !important;
    }

    .player-v23-fixture-body{
        gap:5px !important;
    }

    .player-v23-fixture-body .player-v21-fixture-copy strong{
        font-size:9.6px !important;
    }

    .player-v23-fixture-body .player-v21-fixture-copy small{
        font-size:7.3px !important;
    }

    .player-v23-starter-mini__copy strong{
        font-size:10px !important;
    }

    .player-v23-starter-mini__copy small,
    .player-v23-starter-mini__label{
        font-size:7px !important;
    }

    .player-top-preview__stat-box{
        min-height:72px !important;
    }

    .player-top-preview__stat-value{
        font-size:15px !important;
    }

    .player-v22-split-value{
        font-size:9px !important;
    }

    .player-top-preview__price-value{
        font-size:19px !important;
    }
}

/* =========================================================
   V24 · COMPACTO REAL
   - Racha mínima
   - Próximo partido + titularidad en el mismo bloque
   - Sin texto CASA/FUERA
   - Estadísticas inferiores en UNA SOLA FILA por tarjeta
   - Local/visitante sin fondos ni pastillas
   ========================================================= */

/* Banda superior: mínima altura y máximo espacio útil */
.player-top-preview__summary{
    grid-template-rows:20px 46px 21px 29px !important;
    gap:3px !important;
    min-height:105px !important;
}

.player-v23-status-row{
    grid-template-columns:40px minmax(0,1fr) !important;
    gap:5px !important;
    height:46px !important;
}

.player-v23-status-row .player-v21-status-card{
    height:46px !important;
    min-height:46px !important;
    padding:4px 6px !important;
    border-radius:10px !important;
}

/* Racha: solo etiqueta + icono, nada de espacio sobrante */
.player-v23-status-card--trend{
    padding:4px !important;
}

.player-v23-status-card--trend .player-v21-status-head{
    height:9px !important;
    margin:0 !important;
    justify-content:center !important;
}

.player-v23-status-card--trend .player-v21-status-head span{
    font-size:6.4px !important;
    line-height:1 !important;
}

.player-v23-status-card--trend .player-v21-status-body{
    height:27px !important;
    margin:2px 0 0 !important;
    justify-content:center !important;
}

.player-v23-status-card--trend .player-v21-trend-icon{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    flex-basis:24px !important;
    border-radius:7px !important;
    font-size:14px !important;
}

/* Partido + titularidad, una sola pieza */
.player-v23-status-card--fixture{
    padding:4px 7px !important;
}

.player-v23-status-head{
    height:9px !important;
    margin:0 0 3px !important;
    line-height:1 !important;
}

.player-v23-status-head span{
    font-size:6.8px !important;
    line-height:1 !important;
}

.player-v21-round{
    font-size:6.8px !important;
    line-height:1 !important;
}

.player-v23-status-main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:6px !important;
    align-items:center !important;
    min-height:28px !important;
}

.player-v23-fixture-body{
    height:28px !important;
    min-height:28px !important;
    margin:0 !important;
    padding:0 !important;
    gap:5px !important;
}

.player-v23-fixture-body .player-v21-homeaway{
    width:15px !important;
    height:15px !important;
    min-width:15px !important;
    flex:0 0 15px !important;
    font-size:6px !important;
}

.player-v23-fixture-body .player-v21-rival-crest{
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    flex:0 0 22px !important;
}

.player-v23-fixture-body .player-v21-fixture-separator{
    height:18px !important;
    margin:0 !important;
}

.player-v24-fixture-copy{
    min-width:0 !important;
}

.player-v24-fixture-copy strong{
    display:flex !important;
    align-items:baseline !important;
    gap:4px !important;
    min-width:0 !important;
    font-size:9.3px !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.player-v24-fixture-copy strong small{
    margin:0 !important;
    color:#65778a !important;
    font-size:7.2px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

/* Titularidad: texto simple, sin caja interna, sin icono, sin segunda línea */
.player-v24-starter-inline{
    display:inline-flex !important;
    align-items:baseline !important;
    justify-content:flex-end !important;
    gap:4px !important;
    min-width:62px !important;
    padding:1px 0 1px 7px !important;
    border-left:1px solid #e1e9ef !important;
    background:transparent !important;
    white-space:nowrap !important;
}

.player-v24-starter-inline strong{
    color:#15915a !important;
    font-size:8.2px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.player-v23-status-card--fixture.is-no .player-v24-starter-inline strong{
    color:#d24e59 !important;
}

.player-v24-starter-inline span{
    color:#66798d !important;
    font-size:7.4px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

/* Eventos y selector algo más compactos */
.player-v18-events{
    height:21px !important;
    min-height:21px !important;
}

.player-top-preview__fantasy-select,
.player-top-preview__fantasy-select .select2-container--default .select2-selection--single{
    height:29px !important;
    min-height:29px !important;
}

.player-top-preview__fantasy-select .select2-container--default .select2-selection__rendered,
.player-top-preview__fantasy-select .select2-container--default .select2-selection__arrow,
.fantasy-option-container--selected{
    height:27px !important;
}

/* =========================================================
   Estadísticas inferiores: UNA FILA real por tarjeta
   ========================================================= */
.player-top-preview__dynamic-stats,
.player-top-preview__dynamic-loader{
    min-height:91px !important;
    margin-top:6px !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    grid-template-rows:43px 43px !important;
    gap:5px !important;
}

.player-top-preview__stat-box{
    min-height:43px !important;
    height:43px !important;
    padding:4px 7px !important;
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    border-radius:10px !important;
    overflow:hidden !important;
}

.player-top-preview__stat-label{
    flex:0 0 auto !important;
    margin:0 !important;
    font-size:7.1px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.player-top-preview__stat-row{
    flex:1 1 auto !important;
    min-width:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:5px !important;
}

.player-top-preview__stat-value{
    flex:0 0 auto !important;
    min-width:0 !important;
    font-size:18px !important;
    line-height:1 !important;
    letter-spacing:-.04em !important;
}

/* Local/visitante: sin fondo, sin pastilla, solo icono + valor */
.player-top-preview__home-away{
    flex:0 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:5px !important;
    padding:0 !important;
}

.player-top-preview__home-away > span,
.player-top-preview__home-away > span.is-home,
.player-top-preview__home-away > span.is-away{
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:2px !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.player-top-preview__home-away > span > i,
.player-top-preview__home-away > span.is-home > i,
.player-top-preview__home-away > span.is-away > i{
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    padding:0 !important;
    display:inline-block !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    font-size:7.5px !important;
    line-height:1 !important;
}

.player-v22-split-value{
    font-size:9px !important;
    font-weight:950 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.player-v22-split-label{
    display:none !important;
}

.player-top-preview__stat-row--ranking{
    display:flex !important;
    justify-content:flex-end !important;
    gap:6px !important;
}

.player-top-preview__ranking-pos{
    padding:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    font-size:7.2px !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

/* Mercado acompaña la reducción total */
.player-top-preview__price-box{
    padding:6px 9px !important;
    border-radius:10px !important;
}

.player-top-preview__price-head{
    margin:0 !important;
    min-height:12px !important;
}

.player-top-preview__price-label,
.player-top-preview__price-daily{
    font-size:7.2px !important;
    line-height:1 !important;
}

.player-top-preview__price-value{
    margin-top:2px !important;
    font-size:22px !important;
    line-height:1 !important;
}

.player-top-preview__price-chart{
    height:27px !important;
    margin:3px 0 2px !important;
}

.player-top-preview__price-range small{
    font-size:5.9px !important;
}

.player-top-preview__price-range strong{
    font-size:7.7px !important;
}

@media(max-width:767px){
    .player-top-preview__card{
        padding:7px 8px 8px !important;
    }

    .player-top-preview__summary{
        grid-template-rows:18px 43px 19px 28px !important;
        gap:2px !important;
        min-height:108px !important;
    }

    .player-v23-status-row{
        grid-template-columns:36px minmax(0,1fr) !important;
        height:43px !important;
        gap:4px !important;
    }

    .player-v23-status-row .player-v21-status-card{
        height:43px !important;
        min-height:43px !important;
        padding:4px 5px !important;
    }

    .player-v23-status-card--trend{
        padding-left:3px !important;
        padding-right:3px !important;
    }

    .player-v23-status-card--trend .player-v21-status-head span{
        font-size:5.7px !important;
    }

    .player-v23-status-card--trend .player-v21-trend-icon{
        width:22px !important;
        height:22px !important;
        min-width:22px !important;
        flex-basis:22px !important;
        font-size:13px !important;
    }

    .player-v23-status-card--fixture{
        padding-left:6px !important;
        padding-right:6px !important;
    }

    .player-v23-status-head span,
    .player-v21-round{
        font-size:6.1px !important;
    }

    .player-v23-status-main{
        gap:5px !important;
    }

    .player-v23-fixture-body{
        gap:4px !important;
        height:27px !important;
        min-height:27px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway{
        width:14px !important;
        height:14px !important;
        min-width:14px !important;
        flex-basis:14px !important;
    }

    .player-v23-fixture-body .player-v21-rival-crest{
        width:20px !important;
        height:20px !important;
        min-width:20px !important;
        flex-basis:20px !important;
    }

    .player-v24-fixture-copy strong{
        gap:3px !important;
        font-size:8.2px !important;
    }

    .player-v24-fixture-copy strong small{
        font-size:6.3px !important;
    }

    .player-v24-starter-inline{
        min-width:52px !important;
        padding-left:5px !important;
        gap:3px !important;
    }

    .player-v24-starter-inline strong{
        font-size:7.2px !important;
    }

    .player-v24-starter-inline span{
        font-size:6.5px !important;
    }

    .player-v18-events{
        height:19px !important;
        min-height:19px !important;
    }

    .player-v18-events-group{
        gap:4px !important;
    }

    .player-v18-event i{
        font-size:9px !important;
    }

    .player-v18-event strong{
        font-size:8px !important;
    }

    .player-top-preview__dynamic-stats,
    .player-top-preview__dynamic-loader{
        min-height:85px !important;
        margin-top:5px !important;
    }

    .player-top-preview__stats-grid--ajax:not(.no-sofa),
    .player-top-preview__stats-grid--ajax.no-sofa{
        grid-template-rows:40px 40px !important;
        gap:5px !important;
    }

    .player-top-preview__stat-box{
        min-height:40px !important;
        height:40px !important;
        padding:4px 5px !important;
        gap:4px !important;
    }

    .player-top-preview__stat-label{
        font-size:6.5px !important;
    }

    .player-top-preview__stat-row{
        gap:4px !important;
    }

    .player-top-preview__stat-value{
        font-size:16px !important;
    }

    .player-top-preview__home-away{
        gap:4px !important;
    }

    .player-top-preview__home-away > span,
    .player-top-preview__home-away > span.is-home,
    .player-top-preview__home-away > span.is-away{
        gap:1.5px !important;
    }

    .player-top-preview__home-away > span > i{
        font-size:6.7px !important;
    }

    .player-v22-split-value{
        font-size:8.1px !important;
    }

    .player-top-preview__ranking-pos{
        font-size:6.4px !important;
    }

    .player-top-preview__price-box{
        padding:5px 7px !important;
    }

    .player-top-preview__price-label,
    .player-top-preview__price-daily{
        font-size:6.4px !important;
    }

    .player-top-preview__price-value{
        font-size:20px !important;
    }

    .player-top-preview__price-chart{
        height:24px !important;
        margin:3px 0 1px !important;
    }

    .player-top-preview__price-range small{
        font-size:5.3px !important;
    }

    .player-top-preview__price-range strong{
        font-size:6.8px !important;
    }
}

@media(max-width:430px){
    .player-v23-status-row{
        grid-template-columns:33px minmax(0,1fr) !important;
        gap:3px !important;
    }

    .player-v23-status-card--trend .player-v21-status-head span{
        font-size:5.2px !important;
    }

    .player-v23-status-card--trend .player-v21-trend-icon{
        width:20px !important;
        height:20px !important;
        min-width:20px !important;
        flex-basis:20px !important;
        font-size:12px !important;
    }

    .player-v24-fixture-copy strong{
        font-size:7.5px !important;
    }

    .player-v24-fixture-copy strong small{
        font-size:5.8px !important;
    }

    .player-v24-starter-inline{
        min-width:46px !important;
        padding-left:4px !important;
        gap:2px !important;
    }

    .player-v24-starter-inline strong{
        font-size:6.6px !important;
    }

    .player-v24-starter-inline span{
        font-size:5.8px !important;
    }

    .player-top-preview__stat-label{
        font-size:6px !important;
    }

    .player-top-preview__stat-value{
        font-size:15px !important;
    }

    .player-v22-split-value{
        font-size:7.4px !important;
    }

    .player-top-preview__home-away > span > i{
        font-size:6.2px !important;
    }

    .player-top-preview__price-value{
        font-size:18px !important;
    }
}

/* =========================================================
   V25 · AJUSTE FINO DE JERARQUÍA Y LEGIBILIDAD
   - Títulos de estadísticas más visibles
   - Valor general a la izquierda; casa/visitante a la derecha
   - Casa/visitante más grandes y sin fondos
   - Titularidad como chip moderno dentro del próximo partido
   - Logos Fantasy sin fondo
   ========================================================= */

/* Próximo partido: aprovechar mejor el ancho disponible */
.player-v23-status-main{
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:7px !important;
}

.player-v23-fixture-body{
    min-width:0 !important;
}

.player-v24-fixture-copy strong{
    font-size:9.8px !important;
}

.player-v24-fixture-copy strong small{
    font-size:7.6px !important;
}

/* Titularidad: chip corto, moderno y visual sin crear otro cuadro */
.player-v25-starter-chip{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    flex:0 0 auto !important;
    min-width:0 !important;
    padding:4px 7px !important;
    border:1px solid rgba(23,157,91,.15) !important;
    border-radius:10px !important;
    background:linear-gradient(180deg,rgba(237,250,244,.96),rgba(230,247,238,.84)) !important;
    box-shadow:0 1px 3px rgba(34,88,67,.06) !important;
    white-space:nowrap !important;
}

.player-v25-starter-chip > i{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:16px !important;
    height:16px !important;
    flex:0 0 16px !important;
    border-radius:50% !important;
    background:#16a263 !important;
    color:#fff !important;
    font-size:8px !important;
    line-height:1 !important;
}

.player-v25-starter-chip > strong{
    color:#138c55 !important;
    font-size:8.4px !important;
    font-weight:950 !important;
    line-height:1 !important;
    letter-spacing:.015em !important;
}

.player-v25-starter-chip > span{
    color:#138c55 !important;
    font-size:7.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.player-v23-status-card--fixture.is-no .player-v25-starter-chip{
    border-color:rgba(210,78,89,.14) !important;
    background:linear-gradient(180deg,rgba(255,244,245,.98),rgba(253,238,240,.88)) !important;
}

.player-v23-status-card--fixture.is-no .player-v25-starter-chip > i{
    background:#d24e59 !important;
}

.player-v23-status-card--fixture.is-no .player-v25-starter-chip > strong,
.player-v23-status-card--fixture.is-no .player-v25-starter-chip > span{
    color:#c84550 !important;
}

/* Estadísticas: título arriba y datos en una sola fila debajo */
.player-top-preview__stat-box{
    display:grid !important;
    grid-template-rows:11px minmax(0,1fr) !important;
    align-items:center !important;
    gap:2px !important;
    min-height:43px !important;
    height:43px !important;
    padding:4px 8px !important;
}

.player-top-preview__stat-label{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    color:#64768a !important;
    font-size:8.4px !important;
    font-weight:950 !important;
    line-height:1 !important;
    text-align:left !important;
    letter-spacing:.01em !important;
    white-space:nowrap !important;
}

.player-top-preview__stat-row{
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:6px !important;
}

.player-top-preview__stat-value{
    flex:0 0 auto !important;
    font-size:18px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.player-top-preview__home-away{
    flex:0 0 auto !important;
    margin-left:auto !important;
    gap:7px !important;
}

.player-top-preview__home-away > span,
.player-top-preview__home-away > span.is-home,
.player-top-preview__home-away > span.is-away{
    gap:3px !important;
}

.player-top-preview__home-away > span > i,
.player-top-preview__home-away > span.is-home > i,
.player-top-preview__home-away > span.is-away > i{
    font-size:8.8px !important;
}

.player-v22-split-value{
    font-size:10.6px !important;
    font-weight:950 !important;
    letter-spacing:-.015em !important;
}

.player-top-preview__stat-row--ranking{
    justify-content:space-between !important;
}

.player-top-preview__ranking-pos{
    margin-left:auto !important;
    font-size:8.5px !important;
    font-weight:900 !important;
}

/* Selector Fantasy: logo limpio, sin fondo ni caja alrededor */
.fantasy-logo-wrap,
.player-top-preview__fantasy-select .fantasy-logo-wrap,
.select2-dropdown.fantasy-selector-dropdown .fantasy-logo-wrap{
    width:21px !important;
    height:21px !important;
    min-width:21px !important;
    flex:0 0 21px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}

.fantasy-logo-wrap .fantasy-logo,
.player-top-preview__fantasy-select .fantasy-logo-wrap .fantasy-logo,
.select2-dropdown.fantasy-selector-dropdown .fantasy-logo-wrap .fantasy-logo{
    display:block !important;
    width:20px !important;
    height:20px !important;
    max-width:20px !important;
    max-height:20px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    object-fit:contain !important;
}

.fantasy-option-container--selected{
    gap:7px !important;
    overflow:visible !important;
}

@media(max-width:767px){
    .player-v23-status-main{
        gap:6px !important;
    }

    .player-v24-fixture-copy strong{
        font-size:8.7px !important;
    }

    .player-v24-fixture-copy strong small{
        font-size:6.8px !important;
    }

    .player-v25-starter-chip{
        gap:3px !important;
        padding:3px 6px !important;
        border-radius:9px !important;
    }

    .player-v25-starter-chip > i{
        width:14px !important;
        height:14px !important;
        flex-basis:14px !important;
        font-size:7px !important;
    }

    .player-v25-starter-chip > strong{
        font-size:7.5px !important;
    }

    .player-v25-starter-chip > span{
        font-size:6.8px !important;
    }

    .player-top-preview__stat-box{
        grid-template-rows:10px minmax(0,1fr) !important;
        min-height:40px !important;
        height:40px !important;
        padding:3px 7px 4px !important;
        gap:1px !important;
    }

    .player-top-preview__stat-label{
        font-size:7.6px !important;
    }

    .player-top-preview__stat-value{
        font-size:16px !important;
    }

    .player-top-preview__home-away{
        gap:6px !important;
    }

    .player-top-preview__home-away > span > i{
        font-size:8px !important;
    }

    .player-v22-split-value{
        font-size:9.8px !important;
    }

    .player-top-preview__ranking-pos{
        font-size:7.7px !important;
    }

    .fantasy-logo-wrap,
    .player-top-preview__fantasy-select .fantasy-logo-wrap,
    .select2-dropdown.fantasy-selector-dropdown .fantasy-logo-wrap{
        width:19px !important;
        height:19px !important;
        min-width:19px !important;
        flex-basis:19px !important;
    }

    .fantasy-logo-wrap .fantasy-logo,
    .player-top-preview__fantasy-select .fantasy-logo-wrap .fantasy-logo,
    .select2-dropdown.fantasy-selector-dropdown .fantasy-logo-wrap .fantasy-logo{
        width:18px !important;
        height:18px !important;
        max-width:18px !important;
        max-height:18px !important;
    }
}

@media(max-width:430px){
    .player-v25-starter-chip{
        padding:3px 5px !important;
    }

    .player-v25-starter-chip > strong{
        font-size:7px !important;
    }

    .player-v25-starter-chip > span{
        font-size:6.3px !important;
    }

    .player-top-preview__stat-label{
        font-size:7.2px !important;
    }

    .player-top-preview__stat-value{
        font-size:15px !important;
    }

    .player-v22-split-value{
        font-size:9.2px !important;
    }

    .player-top-preview__home-away{
        gap:5px !important;
    }
}

/* =========================================================
   V26 · Mejora fina de la línea superior
   - Menos hueco entre títulos y contenido
   - Sin hora en próximo partido
   - Titularidad con cabecera y valor Sí/No + %
   - Jornada X con más presencia y mejor acabado
   ========================================================= */
.player-v23-status-row{
    gap:5px !important;
}

.player-v23-status-row .player-v21-status-card{
    padding-top:5px !important;
    padding-bottom:5px !important;
    min-height:56px !important;
}

.player-v23-status-card--trend{
    width:auto !important;
    min-width:44px !important;
    max-width:50px !important;
    padding-left:4px !important;
    padding-right:4px !important;
}

.player-v23-status-card--trend .player-v21-status-head,
.player-v23-status-head{
    margin-bottom:2px !important;
}

.player-v23-status-card--trend .player-v21-status-head span,
.player-v23-status-head span{
    font-size:8.3px !important;
    line-height:1 !important;
}

.player-v23-status-card--trend .player-v21-trend-icon{
    width:26px !important;
    height:26px !important;
    font-size:15px !important;
}

.player-v23-status-card--fixture{
    padding:5px 8px !important;
}

.player-v26-round{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:2px 6px !important;
    border-radius:999px !important;
    background:linear-gradient(180deg,#fff7e7,#ffe8bb) !important;
    color:#d48a00 !important;
    font-size:7.7px !important;
    font-weight:900 !important;
    letter-spacing:.02em !important;
    white-space:nowrap !important;
}

.player-v23-status-main{
    grid-template-columns:minmax(0,1fr) 66px !important;
    gap:6px !important;
    align-items:center !important;
}

.player-v23-fixture-body{
    gap:5px !important;
    align-items:center !important;
}

.player-v23-fixture-body .player-v21-homeaway{
    width:18px !important;
    height:18px !important;
    flex:0 0 18px !important;
    font-size:8px !important;
}

.player-v23-fixture-body .player-v21-rival-crest{
    width:22px !important;
    height:22px !important;
    flex:0 0 22px !important;
}

.player-v23-fixture-body .player-v21-fixture-separator{
    height:18px !important;
    margin:0 1px !important;
}

.player-v24-fixture-copy{
    display:block !important;
    min-width:0 !important;
}

.player-v24-fixture-copy strong{
    display:block !important;
    font-size:10.2px !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.player-v26-starter-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:2px !important;
    min-width:66px !important;
    padding-left:3px !important;
    border-left:1px solid #d8e0e7 !important;
}

.player-v26-starter-title{
    display:block !important;
    color:#6b7f95 !important;
    font-size:8px !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.02em !important;
}

.player-v26-starter-value{
    display:flex !important;
    align-items:baseline !important;
    gap:4px !important;
    line-height:1 !important;
}

.player-v26-starter-value strong{
    color:#129152 !important;
    font-size:13px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.player-v26-starter-value small{
    color:#6c8093 !important;
    font-size:8px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.player-v23-status-card--fixture.is-no .player-v26-starter-value strong{
    color:#cc4955 !important;
}

.player-v23-status-card--fixture.is-no .player-v26-starter-value small{
    color:#b35e67 !important;
}

@media(max-width:767px){
    .player-v23-status-row .player-v21-status-card{
        min-height:52px !important;
        padding-top:4px !important;
        padding-bottom:4px !important;
    }

    .player-v23-status-card--trend{
        min-width:40px !important;
        max-width:46px !important;
    }

    .player-v23-status-card--trend .player-v21-trend-icon{
        width:24px !important;
        height:24px !important;
        font-size:13px !important;
    }

    .player-v23-status-card--trend .player-v21-status-head span,
    .player-v23-status-head span,
    .player-v26-starter-title{
        font-size:7.3px !important;
    }

    .player-v26-round{
        font-size:6.9px !important;
        padding:2px 5px !important;
    }

    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 58px !important;
        gap:5px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway{
        width:16px !important;
        height:16px !important;
        flex-basis:16px !important;
        font-size:7px !important;
    }

    .player-v23-fixture-body .player-v21-rival-crest{
        width:20px !important;
        height:20px !important;
        flex-basis:20px !important;
    }

    .player-v24-fixture-copy strong{
        font-size:9.1px !important;
    }

    .player-v26-starter-card{
        min-width:58px !important;
        gap:1px !important;
    }

    .player-v26-starter-value{
        gap:3px !important;
    }

    .player-v26-starter-value strong{
        font-size:11px !important;
    }

    .player-v26-starter-value small{
        font-size:7px !important;
    }
}

@media(max-width:430px){
    .player-v23-status-row{
        gap:4px !important;
    }

    .player-v23-status-row .player-v21-status-card{
        min-height:48px !important;
        padding-left:5px !important;
        padding-right:5px !important;
    }

    .player-v23-status-card--trend{
        min-width:36px !important;
        max-width:40px !important;
        padding-left:3px !important;
        padding-right:3px !important;
    }

    .player-v23-status-card--trend .player-v21-trend-icon{
        width:22px !important;
        height:22px !important;
        font-size:12px !important;
    }

    .player-v26-round{
        font-size:6.4px !important;
        padding:1px 4px !important;
    }

    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 52px !important;
        gap:4px !important;
    }

    .player-v24-fixture-copy strong{
        font-size:8.4px !important;
    }

    .player-v26-starter-card{
        min-width:52px !important;
    }

    .player-v26-starter-value strong{
        font-size:10px !important;
    }

    .player-v26-starter-value small,
    .player-v26-starter-title{
        font-size:6.5px !important;
    }
}

/* =========================================================
   V27 · Afinado visual de la línea Racha / Próximo partido / Titularidad
   ========================================================= */
.player-v23-status-row{
    gap:6px !important;
    margin-bottom:8px !important;
}

/* Racha y próximo partido más limpios, sin borde visible */
.player-v23-status-card--trend,
.player-v23-status-card--fixture{
    border-color:transparent !important;
    box-shadow:none !important;
}

.player-v23-status-card--trend{
    background:transparent !important;
    min-width:42px !important;
    max-width:48px !important;
    padding:3px 2px !important;
}

.player-v23-status-card--fixture{
    background:transparent !important;
    padding:3px 6px !important;
}

.player-v23-status-card--trend .player-v21-status-head,
.player-v23-status-head{
    margin-bottom:1px !important;
}

/* Jornada más integrada con el título de próximo partido */
.player-v23-status-head{
    gap:4px !important;
    justify-content:flex-start !important;
}

.player-v23-status-head > span{
    flex:0 0 auto !important;
}

.player-v26-round{
    margin-left:2px !important;
    padding:1px 5px !important;
    font-size:7.2px !important;
}

/* Menos padding y más separación con eventos */
.player-v23-status-main{
    grid-template-columns:minmax(0,1fr) 70px !important;
    gap:7px !important;
}

.player-v23-fixture-body{
    gap:4px !important;
}

.player-v23-fixture-body .player-v21-fixture-separator{
    margin:0 !important;
}

.player-v24-fixture-copy strong{
    font-size:10px !important;
}

/* Titularidad más alta y alineada con los títulos superiores */
.player-v26-starter-card{
    align-self:stretch !important;
    justify-content:flex-start !important;
    gap:3px !important;
    min-width:70px !important;
    padding-top:0 !important;
    padding-left:7px !important;
    border-left:1px solid #d8e0e7 !important;
}

.player-v26-starter-title{
    margin-top:0 !important;
    font-size:7.8px !important;
}

.player-v26-starter-value{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:1px !important;
}

.player-v26-starter-value strong{
    font-size:14px !important;
}

.player-v26-starter-value small{
    font-size:8px !important;
}

/* Separación respecto a eventos */
.player-v18-events{
    margin-top:4px !important;
}

@media(max-width:767px){
    .player-v23-status-row{
        margin-bottom:7px !important;
        gap:5px !important;
    }

    .player-v23-status-card--trend{
        min-width:38px !important;
        max-width:44px !important;
        padding:2px 1px !important;
    }

    .player-v23-status-card--fixture{
        padding:2px 5px !important;
    }

    .player-v26-round{
        font-size:6.6px !important;
        padding:1px 4px !important;
    }

    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 62px !important;
        gap:6px !important;
    }

    .player-v26-starter-card{
        min-width:62px !important;
        padding-left:6px !important;
    }

    .player-v26-starter-title{
        font-size:7px !important;
    }

    .player-v26-starter-value strong{
        font-size:12px !important;
    }

    .player-v26-starter-value small{
        font-size:7px !important;
    }
}

@media(max-width:430px){
    .player-v23-status-row{
        margin-bottom:6px !important;
        gap:4px !important;
    }

    .player-v23-status-card--trend{
        min-width:34px !important;
        max-width:38px !important;
    }

    .player-v23-status-card--fixture{
        padding:2px 4px !important;
    }

    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 56px !important;
        gap:5px !important;
    }

    .player-v26-round{
        font-size:6px !important;
    }

    .player-v26-starter-card{
        min-width:56px !important;
        padding-left:5px !important;
    }

    .player-v26-starter-title{
        font-size:6.4px !important;
    }

    .player-v26-starter-value strong{
        font-size:10px !important;
    }

    .player-v26-starter-value small{
        font-size:6.5px !important;
    }
}

/* =========================================================
   V28 · Ajuste fino de espacios, eventos y valor de mercado
   ========================================================= */

/* La fila superior vuelve a quedar más recogida */
.player-v23-status-row{
    margin-bottom:0 !important;
}

/* Eventos más cerca de la fila superior, pero algo separados del selector Fantasy */
.player-v18-events{
    margin-top:0 !important;
    margin-bottom:0 !important;
    padding-bottom:3px !important;
    transform:translateY(-1px) !important;
}

.player-top-preview__fantasy-select{
    margin-top:3px !important;
}

/* Eventos: iconos y cifras más visibles */
.player-v18-events-group{
    gap:7px !important;
}

.player-v18-event{
    gap:3px !important;
}

.player-v18-event i{
    font-size:14px !important;
    line-height:1 !important;
}

.player-v18-event strong{
    font-size:12.5px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.player-v18-event--small i{
    font-size:12px !important;
}

.player-v18-event--small strong{
    font-size:11px !important;
}

/* Valor de mercado: sin fondo coloreado */
.player-top-preview__price-box{
    background:transparent !important;
    background-image:none !important;
    box-shadow:none !important;
}

/* Variación diaria más legible */
.player-top-preview__price-daily{
    font-size:9.3px !important;
    font-weight:950 !important;
    padding:3px 7px !important;
    line-height:1 !important;
}

.player-top-preview__price-daily i{
    font-size:9px !important;
}

@media(max-width:767px){
    .player-v18-events{
        padding-bottom:2px !important;
        transform:translateY(-1px) !important;
    }

    .player-top-preview__fantasy-select{
        margin-top:2px !important;
    }

    .player-v18-events-group{
        gap:6px !important;
    }

    .player-v18-event i{
        font-size:12.5px !important;
    }

    .player-v18-event strong{
        font-size:11.5px !important;
    }

    .player-v18-event--small i{
        font-size:11px !important;
    }

    .player-v18-event--small strong{
        font-size:10.5px !important;
    }

    .player-top-preview__price-daily{
        font-size:8.6px !important;
        padding:3px 6px !important;
    }

    .player-top-preview__price-daily i{
        font-size:8.5px !important;
    }
}

@media(max-width:430px){
    .player-v18-events-group{
        gap:5px !important;
    }

    .player-v18-event i{
        font-size:11.5px !important;
    }

    .player-v18-event strong{
        font-size:10.5px !important;
    }

    .player-v18-event--small i{
        font-size:10px !important;
    }

    .player-v18-event--small strong{
        font-size:9.7px !important;
    }

    .player-top-preview__price-daily{
        font-size:8px !important;
        padding:2px 5px !important;
    }
}

/* =========================================================
   V29 · Titularidad: Sí/No más grande y % a la derecha
   ========================================================= */
.player-v26-starter-value{
    width:100% !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:6px !important;
}

.player-v26-starter-value strong{
    font-size:16px !important;
    font-weight:950 !important;
    color:#ef8f18 !important;
    line-height:1 !important;
}

.player-v26-starter-value small{
    margin-left:auto !important;
    font-size:9px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.player-v23-status-card--fixture.is-no .player-v26-starter-value strong{
    color:#cf4f5c !important;
}

@media(max-width:767px){
    .player-v26-starter-value{
        gap:4px !important;
    }

    .player-v26-starter-value strong{
        font-size:14px !important;
    }

    .player-v26-starter-value small{
        font-size:8px !important;
    }
}

@media(max-width:430px){
    .player-v26-starter-value strong{
        font-size:12px !important;
    }

    .player-v26-starter-value small{
        font-size:7px !important;
    }
}

/* =========================================================
   FICHA JUGADOR · AJUSTES DE PRODUCCIÓN
   ========================================================= */

/* Titularidad probable */
.player-v23-status-main{
    grid-template-columns:minmax(0,1fr) 74px !important;
    gap:7px !important;
    align-items:start !important;
}

.player-v23-status-card--fixture{
    position:relative !important;
}

.player-v23-status-head{
    position:relative !important;
    padding-right:78px !important;
}

.player-starter-heading{
    position:absolute !important;
    top:0 !important;
    right:0 !important;
    width:72px !important;
    color:#6b7f95 !important;
    font-size:6.8px !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.01em !important;
    text-align:left !important;
    white-space:nowrap !important;
}

.player-starter-card{
    min-width:72px !important;
    align-self:start !important;
    justify-content:flex-start !important;
    margin-top:3px !important;
    padding:0 0 0 7px !important;
    border-left:1px solid #d8e0e7 !important;
}

.player-starter-main{
    display:flex !important;
    align-items:baseline !important;
    gap:1px !important;
    min-height:auto !important;
    line-height:1 !important;
}

.player-starter-main strong{
    font-size:17px !important;
    font-weight:950 !important;
    line-height:1 !important;
}

.player-starter-main small{
    position:relative !important;
    top:-1px !important;
    margin:0 !important;
    font-size:10px !important;
    font-weight:900 !important;
    line-height:1 !important;
}

.player-starter-main.is-yes strong,
.player-starter-main.is-yes small{
    color:#1b9d57 !important;
}

.player-starter-main.has-percent strong,
.player-starter-main.has-percent small{
    color:#ef8f18 !important;
}

.player-starter-main.is-no strong,
.player-starter-main.is-no small{
    color:#cf4f5c !important;
}

.player-starter-progress{
    width:100% !important;
    margin-top:2px !important;
}

.player-starter-bar{
    display:block !important;
    width:100% !important;
    height:4px !important;
    overflow:hidden !important;
    border-radius:999px !important;
    background:#e8edf2 !important;
}

.player-starter-bar > i{
    display:block !important;
    height:100% !important;
    border-radius:inherit !important;
    background:linear-gradient(90deg,#f3b24e,#ef8f18) !important;
}

.player-top-preview__price-box--clickable{
    cursor:pointer !important;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease !important;
}

.player-top-preview__price-box--clickable:hover{
    transform:translateY(-1px) !important;
    border-color:#cfdbe5 !important;
    box-shadow:0 4px 12px rgba(31,53,72,.08) !important;
}

/* Valores principales */
.player-top-preview__stat-value{
    color:#132f4c !important;
    font-size:22px !important;
    font-weight:950 !important;
    line-height:.95 !important;
    letter-spacing:-.025em !important;
}

/* Metadatos superiores y bandera */
.player-top-preview__meta-line--side,
.player-top-preview__meta-item--flag{
    overflow:visible !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item{
    font-size:9.2px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item strong{
    font-size:10.4px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item small{
    font-size:7.6px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item i{
    font-size:8.7px !important;
}

.player-top-preview__meta-item--value .player-top-preview__meta-value-label{
    font-size:7.4px !important;
}

.player-top-preview__meta-item--flag{
    position:relative !important;
    z-index:3 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.player-top-preview__flag-img{
    width:25px !important;
    height:17px !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    object-fit:contain !important;
    object-position:center !important;
}

/* Máximo y mínimo de mercado de la ficha */
.player-top-preview__price-range{
    gap:10px !important;
    margin-top:2px !important;
}

.player-top-preview__price-range small{
    font-size:8.2px !important;
    font-weight:800 !important;
    line-height:1 !important;
}

.player-top-preview__price-range strong{
    font-size:10.7px !important;
    font-weight:950 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

@media(max-width:767px){
    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 68px !important;
    }

    .player-v23-status-head{
        padding-right:72px !important;
    }

    .player-starter-heading{
        width:66px !important;
        font-size:6.2px !important;
    }

    .player-starter-card{
        min-width:66px !important;
        padding-left:6px !important;
    }

    .player-starter-main strong{font-size:15px !important;}
    .player-starter-main small{font-size:8px !important;}

    .player-top-preview__stat-value{font-size:19px !important;}

    .player-top-preview__meta-line--side{gap:4px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item{font-size:8.3px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item + .player-top-preview__meta-item{padding-left:5px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item strong{font-size:9.6px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item small{font-size:7px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item i{font-size:8px !important;}
    .player-top-preview__meta-item--value .player-top-preview__meta-value-label{font-size:7.1px !important;}
    .player-top-preview__flag-img{width:24px !important;height:16px !important;}

    .player-top-preview__price-range{gap:7px !important;}
    .player-top-preview__price-range small{font-size:7.7px !important;}
    .player-top-preview__price-range strong{font-size:10px !important;}
}

@media(max-width:430px){
    .player-v23-status-main{
        grid-template-columns:minmax(0,1fr) 62px !important;
        gap:5px !important;
    }

    .player-v23-status-head{padding-right:66px !important;}
    .player-starter-heading{width:60px !important;font-size:5.7px !important;}
    .player-starter-card{min-width:60px !important;margin-top:2px !important;padding-left:5px !important;}
    .player-starter-main strong{font-size:12px !important;}
    .player-starter-main small{font-size:7px !important;}
    .player-starter-bar{height:3px !important;}

    .player-top-preview__stat-value{font-size:17px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item{font-size:8.1px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item strong{font-size:9.3px !important;}
    .player-top-preview__meta-line--side .player-top-preview__meta-item small{font-size:6.8px !important;}
    .player-top-preview__flag-img{width:23px !important;height:15px !important;}

    .player-top-preview__price-range small{font-size:7.3px !important;}
    .player-top-preview__price-range strong{font-size:9.4px !important;}
}


/* =========================================================
   V51 · Ajustes de legibilidad y reparto de ancho
   ========================================================= */

/* Fila superior: edad, altura, dorsal y valor */
.player-top-preview__meta-line--side .player-top-preview__meta-item{
    font-size:10px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item strong{
    font-size:11.3px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item small{
    font-size:8px !important;
}

.player-top-preview__meta-line--side .player-top-preview__meta-item i{
    font-size:9.4px !important;
}

.player-top-preview__meta-item--value .player-top-preview__meta-value-label{
    font-size:7.9px !important;
}

/* Próximo partido: local / visitante un poco más visible */
.player-v23-fixture-body .player-v21-homeaway{
    width:21px !important;
    height:21px !important;
    min-width:21px !important;
    flex:0 0 21px !important;
    font-size:10px !important;
}

.player-v23-fixture-body .player-v21-homeaway i{
    font-size:10px !important;
}

/* Selector Fantasy: subir jerarquía visual del texto seleccionado */
.player-top-preview__fantasy-select .fantasy-option-container--selected .fantasy-option-eyebrow{
    font-size:8.2px !important;
    line-height:1 !important;
}

.player-top-preview__fantasy-select .fantasy-option-container--selected .fantasy-name{
    font-size:12.5px !important;
    line-height:1.05 !important;
}

/* Eventos: iconos y valores algo más grandes */
.player-v18-events-group{
    gap:7px !important;
}

.player-v18-event{
    gap:3px !important;
}

.player-v18-event i{
    font-size:15px !important;
}

.player-v18-event strong{
    font-size:13.5px !important;
}

.player-v18-event--small i{
    font-size:12.8px !important;
}

.player-v18-event--small strong{
    font-size:11.7px !important;
}

/*
 * Estadísticas: reducimos ligeramente el ancho de Puntos / medias / ranking
 * y lo cedemos al bloque Valor de mercado.
 * Antes: 10/17 datos + 7/17 valor.
 * Ahora: 10/18 datos + 8/18 valor.
 */
.player-top-preview__stats-grid--ajax:not(.no-sofa),
.player-top-preview__stats-grid--ajax.no-sofa{
    grid-template-columns:repeat(18,minmax(0,1fr)) !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(1){
    grid-column:1 / 6 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(2){
    grid-column:6 / 11 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(3){
    grid-column:1 / 7 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__stat-box:nth-child(4){
    grid-column:7 / 11 !important;
}

.player-top-preview__stats-grid--ajax:not(.no-sofa) .player-top-preview__price-box{
    grid-column:11 / 19 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(1){
    grid-column:1 / 11 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(2){
    grid-column:1 / 7 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__stat-box:nth-child(3){
    grid-column:7 / 11 !important;
}

.player-top-preview__stats-grid--ajax.no-sofa .player-top-preview__price-box{
    grid-column:11 / 19 !important;
}

/* Algo menos de padding en las estadísticas para aprovechar el ancho */
.player-top-preview__stat-box{
    padding-left:5px !important;
    padding-right:5px !important;
}

@media(max-width:767px){
    .player-top-preview__meta-line--side .player-top-preview__meta-item{
        font-size:9.2px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item strong{
        font-size:10.5px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item small{
        font-size:7.6px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item i{
        font-size:8.8px !important;
    }

    .player-top-preview__meta-item--value .player-top-preview__meta-value-label{
        font-size:7.5px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway{
        width:19px !important;
        height:19px !important;
        min-width:19px !important;
        flex-basis:19px !important;
        font-size:9px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway i{
        font-size:9px !important;
    }

    .player-top-preview__fantasy-select .fantasy-option-container--selected .fantasy-option-eyebrow{
        font-size:7.8px !important;
    }

    .player-top-preview__fantasy-select .fantasy-option-container--selected .fantasy-name{
        font-size:12px !important;
    }

    .player-v18-events-group{
        gap:6px !important;
    }

    .player-v18-event i{
        font-size:14px !important;
    }

    .player-v18-event strong{
        font-size:12.5px !important;
    }

    .player-v18-event--small i{
        font-size:12px !important;
    }

    .player-v18-event--small strong{
        font-size:11.2px !important;
    }

    .player-top-preview__stat-box{
        padding-left:4px !important;
        padding-right:4px !important;
    }
}

@media(max-width:430px){
    .player-top-preview__meta-line--side .player-top-preview__meta-item{
        font-size:9px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item strong{
        font-size:10.2px !important;
    }

    .player-top-preview__meta-line--side .player-top-preview__meta-item small{
        font-size:7.4px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway{
        width:18px !important;
        height:18px !important;
        min-width:18px !important;
        flex-basis:18px !important;
        font-size:8.5px !important;
    }

    .player-v23-fixture-body .player-v21-homeaway i{
        font-size:8.5px !important;
    }

    .player-top-preview__fantasy-select .fantasy-option-container--selected .fantasy-option-eyebrow{
        font-size:7.5px !important;
    }

    .player-top-preview__fantasy-select .fantasy-option-container--selected .fantasy-name{
        font-size:11.7px !important;
    }

    .player-v18-event i{
        font-size:13.3px !important;
    }

    .player-v18-event strong{
        font-size:12px !important;
    }

    .player-v18-event--small i{
        font-size:11.5px !important;
    }

    .player-v18-event--small strong{
        font-size:10.8px !important;
    }
}


/* =========================================================
   V54 · Acciones premium minimalistas
   Icono a la izquierda + texto a la derecha
   ========================================================= */
.player-top-preview__actions{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
    margin:0 0 9px;
}

.player-action{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    min-width:0;
    height:42px;
    padding:0 10px;
    overflow:hidden;
    border:1px solid #dde7e2;
    border-radius:13px;
    background:#fff;
    box-shadow:0 2px 8px rgba(18,52,40,.055);
    color:#263c33 !important;
    text-decoration:none !important;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.player-action::before{
    content:'';
    position:absolute;
    left:0;
    top:9px;
    bottom:9px;
    width:2px;
    border-radius:0 2px 2px 0;
    opacity:.95;
}

.player-action--profile::before{background:#16a46b;}
.player-action--minutes::before{background:#3d8bc7;}
.player-action--market::before{background:#d69a20;}
.player-action--compare::before{background:#7366d5;}

.player-action__icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    flex:0 0 26px;
    border-radius:8px;
    background:#f3f7f5;
    color:#16885f;
}

.player-action--minutes .player-action__icon{
    background:#f0f6fb;
    color:#397daf;
}

.player-action--market .player-action__icon{
    background:#fff7e8;
    color:#bd7d0f;
}

.player-action--compare .player-action__icon{
    background:#f4f2ff;
    color:#675cc4;
}

.player-action__icon svg{
    display:block;
    width:14px;
    height:14px;
    overflow:visible;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.player-action__label{
    min-width:0;
    overflow:hidden;
    color:#203a30;
    font-size:11px;
    font-weight:900;
    line-height:1;
    letter-spacing:-.01em;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media(hover:hover) and (pointer:fine){
    .player-action:hover,
    .player-action:focus{
        outline:none;
        border-color:#cadbd2;
        background:#fbfdfc;
        box-shadow:0 5px 13px rgba(18,52,40,.09);
        transform:translateY(-1px);
    }

    .player-action:hover .player-action__icon,
    .player-action:focus .player-action__icon{
        transform:scale(1.04);
    }
}

.player-action:active{
    transform:translateY(0) scale(.985);
    box-shadow:0 1px 5px rgba(18,52,40,.055);
}

.player-action:focus-visible{
    outline:0;
    box-shadow:
        0 0 0 3px rgba(20,145,96,.12),
        0 4px 10px rgba(18,52,40,.08);
}

@media(max-width:767px){
    .player-top-preview__actions{
        gap:5px;
    }

    .player-action{
        height:40px;
        gap:6px;
        padding:0 8px;
        border-radius:12px;
    }

    .player-action__icon{
        width:24px;
        height:24px;
        flex-basis:24px;
        border-radius:7px;
    }

    .player-action__icon svg{
        width:13px;
        height:13px;
    }

    .player-action__label{
        font-size:10.4px;
    }
}

@media(max-width:430px){
    .player-top-preview__actions{
        gap:4px;
    }

    .player-action{
        height:38px;
        gap:5px;
        padding:0 6px;
        border-radius:11px;
    }

    .player-action__icon{
        width:22px;
        height:22px;
        flex-basis:22px;
    }

    .player-action__icon svg{
        width:12px;
        height:12px;
    }

    .player-action__label{
        font-size:9.7px;
    }
}

@media(max-width:360px){
    .player-action{
        gap:4px;
        padding-left:5px;
        padding-right:5px;
    }

    .player-action__label{
        font-size:9.2px;
    }
}


/* =========================================================
   V56 · Modal de minutos compacto
   ========================================================= */
.minutes-modal{
    position:relative;
}

.minutes-modal__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
}

.minutes-modal__player{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}

.minutes-modal__avatar{
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:13px;
    object-fit:cover;
    background:#eef4f0;
}

.minutes-modal__player-meta{
    min-width:0;
}

.minutes-modal__player-name{
    margin:0 0 2px;
    color:#192f26;
    font-size:20px;
    line-height:1.05;
    font-weight:900;
}

.minutes-modal__player-subtitle{
    margin:0;
    color:#82938a;
    font-size:10px;
    font-weight:700;
    line-height:1.2;
}

.minutes-modal__close{
    width:30px;
    min-width:30px;
    height:30px;
    padding:0;
    border-radius:9px;
    font-size:17px;
    line-height:28px;
}

.minutes-modal__chart-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:2px 0 7px;
}

.minutes-modal__legend{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px 12px;
    min-width:0;
}

.minutes-modal__legend-item{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#5f756a;
    font-size:9.5px;
    font-weight:800;
    white-space:nowrap;
}

.minutes-modal__legend-dot{
    width:8px;
    height:8px;
    border-radius:999px;
    flex:0 0 8px;
}

.minutes-modal__legend-dot--complete{background:#3f7ee8;}
.minutes-modal__legend-dot--starter{background:#1fb97a;}
.minutes-modal__legend-dot--bench{background:#f0a11a;}

.minutes-modal__average{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#8b9daf;
    font-size:9.8px;
    font-weight:800;
    white-space:nowrap;
}

.minutes-modal__average-line{
    width:13px;
    height:2px;
    border-radius:2px;
    background:#e56577;
}

.minutes-modal__average strong{
    color:#20384b;
    font-size:10.5px;
    font-weight:950;
}

/* Gráfico */
.minutes-modal__chart-shell{
    position:relative;
    padding:5px 4px 2px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}

.minutes-modal__chart{
    position:relative;
    width:100%;
    height:166px;
}

.minutes-chart-scroller{
    width:100%;
    height:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
    scrollbar-color:#d8e4de transparent;
}

.minutes-chart-inner{
    position:relative;
    height:154px;
    padding:6px 4px 25px 27px;
}

.minutes-chart-columns{
    position:absolute;
    left:27px;
    right:4px;
    top:6px;
    bottom:25px;
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(30px,1fr);
    align-items:stretch;
    gap:5px;
}

.minutes-chart-column{
    display:flex;
    flex-direction:column;
    min-width:30px;
    height:100%;
}

.minutes-chart-bar-zone{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    flex:1 1 auto;
    min-height:0;
}

.minutes-chart-bar{
    width:min(22px,72%);
    min-width:11px;
    padding:0;
    border:0;
    border-radius:7px 7px 5px 5px;
    outline:0;
    cursor:pointer;
    box-shadow:none;
    transition:transform .13s ease,filter .13s ease,box-shadow .13s ease;
}

.minutes-chart-bar.is-complete{
    background:linear-gradient(180deg,#4a86ed 0%,#3476e5 100%);
}

.minutes-chart-bar.is-starter{
    background:linear-gradient(180deg,#25c386 0%,#19ae73 100%);
}

.minutes-chart-bar.is-bench{
    background:linear-gradient(180deg,#f3ae31 0%,#e99a0b 100%);
}

.minutes-chart-bar.is-no-play{
    background:#dce4e0;
}

.minutes-chart-bar:hover,
.minutes-chart-bar:focus,
.minutes-chart-bar.is-selected{
    filter:saturate(1.08);
    transform:translateY(-2px);
    box-shadow:0 4px 9px rgba(18,62,46,.12);
}

.minutes-chart-jornada{
    display:block;
    flex:0 0 19px;
    padding-top:5px;
    color:#5c6f7f;
    font-size:9.5px;
    font-weight:900;
    line-height:14px;
    text-align:center;
    white-space:nowrap;
}

.minutes-chart-gridline{
    position:absolute;
    left:27px;
    right:4px;
    height:1px;
    background:#e8efeb;
    pointer-events:none;
}

.minutes-chart-gridline.is-90{top:6px;}
.minutes-chart-gridline.is-60{top:47px;}
.minutes-chart-gridline.is-30{top:88px;}
.minutes-chart-gridline.is-0{top:129px;}

.minutes-chart-y-label{
    position:absolute;
    left:0;
    width:21px;
    color:#9aa9b5;
    font-size:8px;
    font-weight:800;
    line-height:10px;
    text-align:right;
    pointer-events:none;
}

.minutes-chart-y-label.is-90{top:1px;}
.minutes-chart-y-label.is-60{top:42px;}
.minutes-chart-y-label.is-30{top:83px;}
.minutes-chart-y-label.is-0{top:124px;}

.minutes-chart-average{
    position:absolute;
    z-index:1;
    left:27px;
    right:4px;
    height:1px;
    border-top:1px dashed rgba(229,101,119,.7);
    pointer-events:none;
}

.minutes-modal__tooltip{
    position:absolute;
    z-index:8;
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:92px;
    padding:6px 8px;
    border:1px solid rgba(18,137,97,.13);
    border-radius:9px;
    background:rgba(255,255,255,.98);
    box-shadow:0 7px 18px rgba(16,51,38,.11);
    transform:translate(-50%,calc(-100% - 7px));
    pointer-events:none;
    white-space:nowrap;
}

.minutes-modal__tooltip[hidden]{display:none;}

.minutes-modal__tooltip-jornada{
    color:#75887d;
    font-size:8px;
    font-weight:900;
    line-height:1;
}

.minutes-modal__tooltip-minutos{
    color:#15372b;
    font-size:11px;
    font-weight:950;
    line-height:1.1;
}

.minutes-modal__tooltip-estado{
    color:#708379;
    font-size:8.5px;
    font-weight:800;
    line-height:1.1;
}

/* Cabecera estadísticas */
.minutes-modal__section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin:11px 2px 7px;
}

.minutes-modal__section-title{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0;
    color:#182d25;
    font-size:12px;
    font-weight:950;
}

.minutes-modal__section-bullet{
    width:8px;
    height:8px;
    flex:0 0 8px;
    border-radius:999px;
    background:#24bb77;
}

.minutes-modal__section-tag{
    color:#9aaabc;
    font-size:8.5px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.04em;
}

/* SIEMPRE 2 POR FILA */
.minutes-modal__stats-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}

.minutes-modal__stat-card{
    min-width:0;
    padding:10px 11px 9px;
    border:1px solid #e4ebe7;
    border-radius:14px;
    background:#fff;
    box-shadow:0 2px 7px rgba(18,52,40,.04);
}

.minutes-modal__stat-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    margin-bottom:6px;
}

.minutes-modal__stat-title{
    color:#74869c;
    font-size:9.3px;
    font-weight:900;
}

.minutes-modal__stat-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:20px;
    height:20px;
    flex:0 0 20px;
    border-radius:999px;
    background:#eef7f1;
    color:#1baa70;
}

.minutes-modal__stat-card--blue .minutes-modal__stat-icon{
    background:#eef4ff;
    color:#3f7ee8;
}

.minutes-modal__stat-card--indigo .minutes-modal__stat-icon{
    background:#f1efff;
    color:#665bcd;
}

.minutes-modal__stat-card--amber .minutes-modal__stat-icon{
    background:#fff4e5;
    color:#e39b1b;
}

.minutes-modal__stat-icon svg{
    width:11px;
    height:11px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.minutes-modal__stat-value{
    color:#122235;
    font-size:15px;
    font-weight:950;
    line-height:1.08;
}

.minutes-modal__stat-value small{
    color:#728598;
    font-size:10px;
    font-weight:800;
}

.minutes-modal__stat-meta{
    min-height:13px;
    margin-top:4px;
    color:#8b9aad;
    font-size:8.8px;
    font-weight:800;
    line-height:1.2;
}

.minutes-modal__stat-meta--accent{
    color:#1aa167;
}

.minutes-modal__pill{
    display:inline-flex;
    align-items:center;
    min-height:17px;
    padding:0 6px;
    border-radius:999px;
    font-size:8.8px;
    font-weight:900;
}

.minutes-modal__pill--green{
    background:#e8f8ef;
    color:#1aa569;
}

.minutes-modal__progress{
    margin-top:7px;
    height:4px;
    overflow:hidden;
    border-radius:999px;
    background:#e8efeb;
}

.minutes-modal__progress span{
    display:block;
    height:100%;
    border-radius:999px;
    background:#22b874;
}

.minutes-modal__progress--blue span{
    background:#3f7ee8;
}

/* Disponibilidad: SIEMPRE 3 columnas */
.minutes-modal__availability{
    margin-top:9px;
    padding:9px 8px 8px;
    border:1px solid #e4ebe7;
    border-radius:14px;
    background:#fafcfb;
}

.minutes-modal__availability-title{
    margin:0 0 7px;
    color:#93a4b8;
    font-size:8.8px;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.035em;
}

.minutes-modal__availability-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.minutes-modal__availability-item{
    min-width:0;
    padding:0 6px;
    text-align:center;
    border-right:1px solid #dfe7e3;
}

.minutes-modal__availability-item:last-child{
    border-right:0;
}

.minutes-modal__availability-label{
    display:block;
    color:#77889f;
    font-size:8.5px;
    font-weight:800;
}

.minutes-modal__availability-value{
    display:block;
    margin-top:3px;
    color:#1f2f40;
    font-size:14px;
    font-weight:950;
    line-height:1;
}

.minutes-modal__availability-note{
    display:block;
    margin-top:4px;
    overflow:hidden;
    color:#16a36b;
    font-size:8px;
    font-weight:800;
    line-height:1.15;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.minutes-modal__footer{
    margin-top:6px;
    padding-top:7px;
}

/* Móvil: sigue 2x2 + tres columnas */
@media(max-width:430px){
    .minutes-modal__header{margin-bottom:6px;}
    .minutes-modal__avatar{
        width:38px;
        height:38px;
        flex-basis:38px;
        border-radius:12px;
    }
    .minutes-modal__player-name{font-size:17px;}
    .minutes-modal__player-subtitle{font-size:9px;}
    .minutes-modal__close{
        width:28px;
        min-width:28px;
        height:28px;
        font-size:16px;
        line-height:26px;
    }

    .minutes-modal__chart-head{
        gap:7px;
        margin-bottom:5px;
    }
    .minutes-modal__legend{
        gap:5px 8px;
    }
    .minutes-modal__legend-item{font-size:8.5px;}
    .minutes-modal__average{font-size:8.7px;}
    .minutes-modal__average strong{font-size:9.2px;}

    .minutes-modal__chart{height:148px;}
    .minutes-chart-inner{height:139px;}
    .minutes-chart-gridline.is-60{top:42px;}
    .minutes-chart-gridline.is-30{top:78px;}
    .minutes-chart-gridline.is-0{top:114px;}
    .minutes-chart-y-label.is-60{top:37px;}
    .minutes-chart-y-label.is-30{top:73px;}
    .minutes-chart-y-label.is-0{top:109px;}

    .minutes-modal__stats-grid{gap:6px;}
    .minutes-modal__stat-card{
        padding:8px 8px 7px;
        border-radius:12px;
    }
    .minutes-modal__stat-title{font-size:8.5px;}
    .minutes-modal__stat-value{font-size:13px;}
    .minutes-modal__stat-value small{font-size:8.5px;}
    .minutes-modal__stat-meta{font-size:7.8px;}
    .minutes-modal__stat-icon{
        width:18px;
        height:18px;
        flex-basis:18px;
    }
    .minutes-modal__stat-icon svg{
        width:9px;
        height:9px;
    }

    .minutes-modal__availability{
        padding:8px 5px 7px;
    }
    .minutes-modal__availability-item{
        padding:0 3px;
    }
    .minutes-modal__availability-label{font-size:7.8px;}
    .minutes-modal__availability-value{font-size:13px;}
    .minutes-modal__availability-note{font-size:7.2px;}
}
