/* CoachPanel V1.0.3.1 · Live + Convocatoria · legibilidad final */

/* LIVE · banquillo oscuro premium con nombres blancos */
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player{
  background:linear-gradient(145deg,#284838,#142b20)!important;
  background-image:linear-gradient(145deg,#284838,#142b20)!important;
  border-color:rgba(151,226,174,.34)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 15px rgba(0,0,0,.16)!important;
  opacity:1!important;
}
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player .name,
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player .name strong,
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player>div:first-child,
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
  opacity:1!important;
}
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player .meta{
  color:#d6e9dd!important;
  -webkit-text-fill-color:#d6e9dd!important;
  opacity:1!important;
}
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveSuplentes .live-player .times{
  color:#9ff0b8!important;
  -webkit-text-fill-color:#9ff0b8!important;
  opacity:1!important;
}

/* LIVE · el arrastre táctico usa Pointer Events también en iPhone/iPad */
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveCampoJugadores .live-field-player{
  touch-action:none!important;
  cursor:grab!important;
}
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveCampoJugadores .live-field-player.is-dragging{
  cursor:grabbing!important;
  z-index:50!important;
}

/* CONVOCATORIA · sistema de juego: blanco sobre fondo oscuro */
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionFormacionPartido,
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] .match-lineup-controls select#alineacionFormacionPartido{
  background:#21352a!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:#526b5d!important;
  opacity:1!important;
}
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionFormacionPartido option{
  background:#21352a!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] .match-lineup-controls label>span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* El campo conserva nombres legibles */
html body.cp-live-v20039-active:not(.family-live-mode) #live #liveCampoJugadores .live-field-player .match-lineup-player-main>strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.88)!important;
}

/* CONVOCATORIA · jugadores sobre el campo: nombre siempre blanco y legible */
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionCampoPartido .match-lineup-player-main>strong,
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionCampoPartido .match-lineup-player-main>strong *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:rgba(3,9,5,.94)!important;
  border-color:rgba(255,255,255,.28)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.95)!important;
  opacity:1!important;
  font-weight:900!important;
}
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionCampoPartido .match-lineup-player-main>strong{
  max-width:82px!important;
  padding:4px 6px!important;
  font-size:10px!important;
  line-height:1.1!important;
}

/* CONVOCATORIA · banquillo: nombres también blancos sobre tarjeta oscura */
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionSuplentes .match-lineup-bench-player>strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  font-weight:850!important;
}
html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionSuplentes .match-lineup-bench-player>small>i{
  color:#cbd9d0!important;
  -webkit-text-fill-color:#cbd9d0!important;
  opacity:1!important;
}

@media (max-width:700px){
  html body:not(.family-live-mode) #editorPartido[data-editor-mode="callup"] #alineacionCampoPartido .match-lineup-player-main>strong{
    max-width:68px!important;
    padding:3px 5px!important;
    font-size:9px!important;
  }
}
