/* NEXO PLAY | Canonical ranking layout
   Shared by Inicio, Pronósticos, and Ranking. Keep changes here instead of
   appending competing rank overrides to home-v2.css.
   Loaded AFTER home-v2.css; every rule is scoped to .nx-rank-board. */
.nx-shell .nx-main .nx-rank-board{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 margin:0!important;border-radius:12px!important;overflow:hidden!important;
 border:1px solid #dce5f0!important;background:#fff!important;
 box-shadow:0 3px 14px #0f30500b!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-board-header{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:center!important;justify-content:space-between!important;
 gap:9px!important;padding:10px 13px!important;min-height:46px!important;
 background:#1b2b5d!important;border:0!important;border-left:5px solid #a2f82c!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-titleline{
 display:flex!important;align-items:center!important;flex:1 1 180px!important;
 min-width:0!important;width:auto!important;margin:0!important;padding:0!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-titleline h2{
 font-size:clamp(15px,1.4vw,20px)!important;line-height:1.2!important;
 margin:0!important;padding:0!important;font-weight:900!important;
 color:#fff!important;letter-spacing:0!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-list{
 display:flex!important;flex-direction:column!important;gap:5px!important;
 padding:9px!important;margin:0!important;width:100%!important;
 box-sizing:border-box!important;background:#fff!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-entry,
.nx-shell .nx-main .nx-rank-board .nx-rank-entry.nx-rank-gold,
.nx-shell .nx-main .nx-rank-board .nx-rank-entry.nx-rank-silver,
.nx-shell .nx-main .nx-rank-board .nx-rank-entry.nx-rank-bronze{
 box-sizing:border-box!important;display:grid!important;
 grid-template-rows:auto!important;
 grid-template-areas:"place user stats"!important;
 align-items:center!important;gap:8px!important;
 padding:6px 10px!important;margin:0!important;min-height:58px!important;
 width:100%!important;background:#f7f9fd!important;
 border:1px solid #e4ebf4!important;border-radius:9px!important;
 box-shadow:none!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-place{
 box-sizing:border-box!important;grid-area:place!important;
 align-self:center!important;justify-self:center!important;
 display:grid!important;place-items:center!important;
 padding:0!important;margin:0!important;overflow:visible!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-place.nx-rank-podium{
 position:relative!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;background:transparent!important;
 width:49px!important;height:49px!important;min-width:49px!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-place.nx-rank-podium .nx-podium-wreath{
 position:absolute!important;inset:0!important;width:100%!important;
 height:100%!important;display:block!important;overflow:visible!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-place.nx-rank-podium strong{
 z-index:2!important;position:relative!important;font-size:19px!important;
 line-height:1!important;color:#142347!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-place:not(.nx-rank-podium){
 background:#e4ebf3!important;border:1px solid #dae3eb!important;
 border-radius:50%!important;width:35px!important;height:35px!important;
 min-width:35px!important;min-height:35px!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-place:not(.nx-rank-podium) strong{
 font-size:19px!important;line-height:1!important;color:#183059!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-person{
 grid-area:user!important;display:flex!important;flex-direction:row!important;
 gap:9px!important;align-items:center!important;justify-content:flex-start!important;
 min-width:0!important;width:100%!important;height:auto!important;
 padding:0!important;margin:0!important;cursor:pointer!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-person .nx-rank-photo{
 width:36px!important;height:36px!important;min-width:36px!important;
 flex:0 0 36px!important;display:block!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-identity{
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 min-width:0!important;max-width:100%!important;gap:2px!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-identity b{
 color:#12254a!important;font-size:13px!important;line-height:1.2!important;
 max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;
 text-overflow:ellipsis!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-identity small{
 color:#5d7190!important;font-size:10px!important;line-height:1.15!important;
 overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-metrics{
 box-sizing:border-box!important;grid-area:stats!important;min-width:0!important;
 width:100%!important;margin:0!important;padding:0!important;
 display:grid!important;align-items:center!important;justify-items:stretch!important;
 grid-template-rows:auto!important;gap:4px!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric{
 min-width:0!important;margin:0!important;padding:0!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;text-align:center!important;gap:2px!important;
 background:transparent!important;border:0!important;box-shadow:none!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric b{
 line-height:1.15!important;font-variant-numeric:tabular-nums!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric small{
 font-size:9px!important;line-height:1.15!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric.points b{color:#7344ca!important;font-weight:900!important}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric.accuracy b{color:#008d4f!important}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric.wins b{color:#009b54!important}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric.losses b{color:#d55255!important}
.nx-shell .nx-main .nx-rank-board .nx-rank-metric.total b{color:#132b53!important}
/* Compact: same three aligned columns in Inicio and Pronósticos; TOP 10. */
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-entry{
 grid-template-columns:48px minmax(0,1fr) 74px!important;
 min-height:52px!important;padding:4px 8px!important;gap:7px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-place.nx-rank-podium{
 width:43px!important;height:43px!important;min-width:43px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-place.nx-rank-podium strong{font-size:17px!important}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-place:not(.nx-rank-podium){
 width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-place:not(.nx-rank-podium) strong{font-size:17px!important}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-person .nx-rank-photo{
 width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-identity b{font-size:11px!important}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-identity small{font-size:9px!important}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-metrics{
 grid-template-columns:74px!important;width:74px!important;min-width:74px!important;
 justify-self:end!important;justify-items:center!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-metric.accuracy{width:100%!important}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-metric.accuracy b{
 width:100%!important;box-sizing:border-box!important;min-width:0!important;
 color:#143c27!important;background:#c9ff99!important;border-radius:10px!important;
 font-size:12px!important;padding:3px 2px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-metric.accuracy small{font-size:8px!important}
.nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-all{
 display:block!important;width:calc(100% - 18px)!important;
 margin:4px 9px 9px!important;padding:8px!important;
 border-radius:9px!important;font-size:11px!important
}
/* Full ranking: same podium, avatar and percentage positions; four metrics. */
.nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-entry{
 grid-template-columns:65px minmax(190px,1.1fr) minmax(320px,1.7fr)!important;
 min-height:70px!important;padding:5px 11px!important;gap:12px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-place.nx-rank-podium{
 width:60px!important;height:60px!important;min-width:60px!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-metrics{
 grid-template-columns:repeat(5,minmax(0,1fr))!important
}
.nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-metric b{font-size:19px!important}
.nx-shell .nx-main .nx-rank-board .nx-rank-tabs{
 display:flex!important;gap:4px!important;max-width:175px!important;
 background:#0f224a!important;padding:3px!important;margin:0!important
}
.nx-shell .nx-main .nx-rank-board .nx-rank-tabs button{font-size:11px!important;padding:7px 13px!important}
@media(max-width:850px){
 .nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-entry{
  grid-template-columns:55px minmax(0,1fr)!important;
  grid-template-areas:"place user" "stats stats"!important;
  grid-template-rows:auto auto!important;row-gap:6px!important
 }
 .nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-place.nx-rank-podium{
  width:52px!important;height:52px!important;min-width:52px!important
 }
 .nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-metrics{
  padding-top:5px!important;border-top:1px solid #e3ebf3!important
 }
}
@media(max-width:420px){
 .nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-entry{
  grid-template-columns:42px minmax(0,1fr) 68px!important;gap:4px!important;padding:4px 6px!important
 }
 .nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-metrics{
  width:68px!important;min-width:68px!important;grid-template-columns:68px!important
 }
 .nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-place.nx-rank-podium{
  width:39px!important;height:39px!important;min-width:39px!important
 }
 .nx-shell .nx-main .nx-rank-board.nx-rank-compact .nx-rank-identity b{font-size:10px!important}
 .nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-metric b{font-size:16px!important}
 .nx-shell .nx-main .nx-rank-board.nx-rank-full .nx-rank-metric small{font-size:8px!important}
}
