/* NEXO PLAY · Pronósticos comunidad: ranking lateral en escritorio.
   Mantiene tarjetas blancas y ranking ya compartido con Inicio.
   En móvil/tablet: flujo apilado y navegación inferior sin cambios. */
@media (min-width: 1080px) {
 body.nexo-user-mode .nx-main .nx-predictions-page,
 body.nx-public .nx-main .nx-predictions-page,
 .nx-shell .nx-main .nx-predictions-page {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(310px,340px)!important;
  gap:16px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
 }
 .nx-shell .nx-main .nx-predictions-page>.nx-community-first {
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
 }
 .nx-shell .nx-main .nx-predictions-page>.nx-community-ranking {
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  align-self:start!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  position:sticky!important;
  top:16px!important;
  max-height:calc(100vh - 32px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
 }
 .nx-shell .nx-main .nx-community-first>.nx-community-filter {
  min-width:0!important;
 }
 .nx-shell .nx-main .nx-community-ranking .nx-rank-board {
  max-width:100%!important;
  width:100%!important;
 }
}
@media (max-width:1079px) {
 .nx-shell .nx-main .nx-predictions-page {
  display:block!important;
 }
 .nx-shell .nx-main .nx-predictions-page>.nx-community-first,
 .nx-shell .nx-main .nx-predictions-page>.nx-community-ranking {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
 }
 .nx-shell .nx-main .nx-predictions-page>.nx-community-ranking {
  position:static!important;
  max-height:none!important;
  overflow:visible!important;
  margin:14px 0 18px!important;
 }
}
