/* NEXO PLAY — Ajustes verificables de Inicio y panel de pronosticador.
   14-11-2026. Se carga DESPUES de home-v2.css y otros overrides.
   Objetivo: tarjetas de evento compactas y textos siempre dentro de sus recuadros. */

.nx-home-dashboard,
.nx-home-dashboard .nx-home-main,
.nx-home-dashboard .nx-home-panel,
.nx-home-dashboard .nx-home-panel-body{
 min-width:0!important;
}
.nx-home-dashboard .nx-home-event-row{
 box-sizing:border-box!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
}
.nx-home-dashboard .nx-home-event-name,
.nx-home-dashboard .nx-home-event-stat,
.nx-home-dashboard .nx-home-event-date{
 min-width:0!important;
 max-width:100%!important;
 box-sizing:border-box!important;
}
.nx-home-dashboard .nx-home-event-date strong{
 white-space:nowrap!important;
 overflow-wrap:normal!important;
 word-break:normal!important;
 font-variant-numeric:tabular-nums!important;
 font-size:clamp(11px,1vw,13px)!important;
}
.nx-home-dashboard .nx-home-event-stat strong{
 overflow-wrap:normal!important;
 word-break:normal!important;
 white-space:nowrap!important;
}
.nx-home-dashboard .nx-home-panel-title h2{
 overflow-wrap:break-word!important;
 min-width:0!important;
}

/* Card en escritorio: 2 líneas, sin dejar columnas microscópicas para la fecha. */
@media(min-width:1021px){
 .nx-home-dashboard .nx-home-available-row{
  grid-template-columns:36px minmax(0,1fr) max-content max-content!important;
  grid-template-rows:auto auto!important;
  column-gap:11px!important;
  row-gap:7px!important;
  min-height:0!important;
  padding:11px 13px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-symbol{
  grid-column:1!important;grid-row:1 / 3!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-name{
  grid-column:2!important;grid-row:1!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-status{
  grid-column:3!important;grid-row:1!important;justify-self:end!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-stat{
  grid-column:4!important;grid-row:1!important;
  padding-left:10px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-date{
  grid-column:2 / 4!important;grid-row:2!important;
  display:flex!important;flex-direction:row!important;justify-content:flex-start!important;
  align-items:center!important;gap:6px!important;
  text-align:left!important;padding:0!important;border:0!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-action{
  grid-column:4!important;grid-row:2!important;justify-self:stretch!important;
  width:100%!important;min-height:34px!important;padding:7px 10px!important;
 }
}

/* Tablets y teléfonos: precio arriba, estado+fecha debajo y botón en ancho completo. */
@media(max-width:1020px){
 .nx-home-dashboard .nx-home-available-row{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) max-content!important;
  grid-template-rows:auto auto auto!important;
  align-items:center!important;
  column-gap:9px!important;row-gap:7px!important;
  min-height:0!important;padding:10px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-symbol{
  grid-column:1!important;grid-row:1!important;
  width:36px!important;height:36px!important;font-size:22px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-name{
  grid-column:2!important;grid-row:1!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-name strong{
  font-size:15px!important;line-height:1.15!important;
  overflow-wrap:break-word!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-name small{
  font-size:11px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-stat{
  grid-column:3!important;grid-row:1!important;
  justify-self:end!important;align-items:flex-end!important;
  gap:0!important;padding-left:9px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-stat strong{
  font-size:15px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-status{
  grid-column:1 / 3!important;grid-row:2!important;
  justify-self:start!important;
  font-size:10px!important;padding:6px 9px!important;
  white-space:nowrap!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-date{
  grid-column:3!important;grid-row:2!important;
  justify-self:end!important;display:flex!important;
  flex-direction:column!important;align-items:flex-end!important;
  text-align:right!important;gap:0!important;
  border:0!important;padding:0!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-date small{
  font-size:10px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-date strong{
  font-size:11px!important;
  white-space:nowrap!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-action{
  grid-column:1 / -1!important;grid-row:3!important;
  justify-self:stretch!important;width:100%!important;
  min-height:39px!important;padding:9px 11px!important;
  margin:1px 0 0!important;font-size:12px!important;
 }
 .nx-home-dashboard .nx-home-empty-visual{
  min-height:0!important;padding:10px 12px!important;
  gap:10px!important;justify-content:flex-start!important;
 }
 .nx-home-dashboard .nx-home-empty-icon{
  flex:0 0 39px!important;width:39px!important;font-size:32px!important;
 }
 .nx-home-dashboard .nx-home-empty-visual>span:last-child{
  gap:3px!important;
 }
 .nx-home-dashboard .nx-home-empty-visual strong{
  font-size:13px!important;line-height:1.22!important;
 }
 .nx-home-dashboard .nx-home-empty-visual small{
  font-size:11px!important;line-height:1.2!important;
 }
 .nx-home-dashboard .nx-home-panel-title{
  min-height:46px!important;padding:9px 12px!important;
 }
 .nx-home-dashboard .nx-home-panel-title h2{
  font-size:18px!important;
 }
 .nx-home-dashboard .nx-home-section-icon{
  font-size:23px!important;width:27px!important;height:27px!important;
 }
 .nx-home-dashboard .nx-home-panel-body{
  padding:8px!important;gap:7px!important;
 }
 .nx-home-dashboard .nx-home-main{
  gap:11px!important;
 }
}
@media(max-width:360px){
 .nx-home-dashboard .nx-home-available-row{
  grid-template-columns:33px minmax(0,1fr) max-content!important;
  gap:6px!important;padding:8px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-name strong{
  font-size:13px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-stat strong{
  font-size:13px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-event-date strong{
  font-size:10px!important;
 }
 .nx-home-dashboard .nx-home-available-row > .nx-home-status{
  font-size:9px!important;padding:5px 7px!important;
 }
}

/* Mi perfil: un rótulo nunca puede desbordarse de su tarjeta. */
.nx-my-predictions-page .nx-profile-dashboard,
.nx-my-predictions-page .nx-profile-left,
.nx-my-predictions-page .nx-profile-rank,
.nx-my-predictions-page .nx-profile-performance,
.nx-my-predictions-page .nx-profile-accuracy{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
}
.nx-my-predictions-page .nx-profile-performance{
 width:100%!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.nx-my-predictions-page .nx-profile-stat{
 box-sizing:border-box!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 overflow:hidden!important;
 gap:7px!important;
}
.nx-my-predictions-page .nx-profile-stat > div{
 box-sizing:border-box!important;
 flex:1 1 0!important;min-width:0!important;
 max-width:100%!important;
}
.nx-my-predictions-page .nx-profile-stat small{
 display:block!important;
 max-width:100%!important;
 white-space:normal!important;
 overflow-wrap:break-word!important;
 word-break:normal!important;
 line-height:1.18!important;
 font-size:10px!important;
 margin-top:3px!important;
}
.nx-my-predictions-page .nx-profile-stat strong{
 font-size:clamp(19px,2vw,28px)!important;
 line-height:1.05!important;
}
.nx-my-predictions-page .nx-stat-icon{
 flex:0 0 30px!important;
 width:30px!important;height:30px!important;
}
.nx-my-predictions-page .nx-profile-rank-info,
.nx-my-predictions-page .nx-profile-accuracy-copy{
 min-width:0!important;max-width:100%!important;
}
.nx-my-predictions-page .nx-profile-rank-info small,
.nx-my-predictions-page .nx-profile-accuracy-copy small{
 white-space:normal!important;overflow-wrap:break-word!important;
}

/* Gran pantalla: repartir más anchura a las cuatro estadísticas. */
@media(min-width:1351px){
 .nx-my-predictions-page .nx-profile-dashboard{
  grid-template-columns:minmax(195px,1fr) minmax(145px,.62fr) minmax(0,3.4fr) minmax(145px,.78fr)!important;
  gap:11px!important;
 }
 .nx-my-predictions-page .nx-profile-performance{
  grid-column:3!important;grid-row:1!important;
 }
 .nx-my-predictions-page .nx-profile-accuracy{
  grid-column:4!important;grid-row:1!important;
 }
}

/* Pantalla mediana: colocar estadísticas en su propia fila; no comprimirlas. */
@media(min-width:851px) and (max-width:1350px){
 .nx-my-predictions-page .nx-profile-dashboard{
  grid-template-columns:minmax(0,1fr) minmax(150px,auto)!important;
  grid-template-rows:auto auto auto!important;
 }
 .nx-my-predictions-page .nx-profile-left{
  grid-column:1!important;grid-row:1!important;
 }
 .nx-my-predictions-page .nx-profile-rank{
  grid-column:2!important;grid-row:1!important;
 }
 .nx-my-predictions-page .nx-profile-performance{
  grid-column:1 / -1!important;grid-row:2!important;
  padding-top:8px!important;
 }
 .nx-my-predictions-page .nx-profile-accuracy{
  grid-column:1 / -1!important;grid-row:3!important;
  justify-content:flex-start!important;
  border-left:0!important;border-top:1px solid #3d675c!important;
  padding:8px 0 0!important;
 }
}

/* Teléfono: cuatro contadores alineados, etiquetas en 2–3 líneas dentro. */
@media(max-width:850px){
 .nx-my-predictions-page .nx-profile-stat{
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  padding:7px 3px!important;
  gap:1px!important;
  min-height:60px!important;
 }
 .nx-my-predictions-page .nx-profile-stat > div{
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  width:100%!important;
 }
 .nx-my-predictions-page .nx-profile-stat small{
  text-align:center!important;
  line-height:1.15!important;
  font-size:clamp(8px,2.2vw,10px)!important;
  hyphens:auto!important;
 }
 .nx-my-predictions-page .nx-profile-stat strong{
  font-size:21px!important;
 }
 .nx-my-predictions-page .nx-stat-icon{
  display:none!important;
 }
}
