/* NEXO PLAY · Eventos 2026-11-14.
   White/light project UI; desktop navigation remains above,
   mobile navigation remains below. Scoped strictly to Eventos. */
.nx-shell .nx-main .nx-events-module{
 width:100%;max-width:100%;min-width:0;margin:0 auto 18px;
 padding:0 0 12px;color:#12294c
}
.nx-shell .nx-main .nx-events-module-header{
 background:#1a2b5c;border-left:5px solid #a3f82f;
 color:white;border-radius:11px 11px 0 0;
 min-height:51px;display:flex;align-items:center;
 padding:9px 18px;margin:0 0 12px
}
.nx-shell .nx-main .nx-events-module-header h1{
 color:#fff!important;font-size:clamp(21px,2vw,27px)!important;
 font-weight:900;margin:0!important;line-height:1.2
}
.nx-shell .nx-main .nx-events-tabs{
 display:flex;gap:9px;flex-wrap:wrap;
 padding:0 0 13px;margin:0;border:0
}
.nx-shell .nx-main .nx-events-tabs button{
 border:1px solid #cedae7;border-radius:10px;
 background:#fff;color:#193354;padding:11px 17px;
 font-size:clamp(12px,1.2vw,15px);font-weight:800;
 line-height:1.2;cursor:pointer;min-height:42px;
 transition:background .12s,box-shadow .12s
}
.nx-shell .nx-main .nx-events-tabs button.active{
 background:#b5fb56;color:#14350a;border-color:#67cb32;
 box-shadow:0 2px 0 #52b932
}
.nx-shell .nx-main .nx-events-tabs button:focus-visible,
.nx-shell .nx-main .nx-events-action:focus-visible,
.nx-shell .nx-main .nx-events-filters :focus-visible{
 outline:3px solid #74c932;outline-offset:2px
}
.nx-shell .nx-main .nx-events-rows{
 display:flex;flex-direction:column;gap:9px
}
.nx-shell .nx-main .nx-events-row{
 display:grid;grid-template-columns:44px minmax(170px,1.5fr) minmax(100px,.6fr) minmax(90px,.5fr) auto;
 align-items:center;gap:12px;
 background:#fff;border:1px solid #dce5ef;border-left:4px solid #8de944;
 border-radius:11px;padding:12px 15px;
 box-shadow:0 3px 12px #14305b0a;
 min-width:0;min-height:70px
}
.nx-shell .nx-main .nx-events-symbol{
 width:40px;height:40px;display:grid;place-items:center;
 border-radius:9px;background:#eff8ec;font-size:23px
}
.nx-shell .nx-main .nx-events-name{
 min-width:0;display:flex;flex-direction:column;gap:3px
}
.nx-shell .nx-main .nx-events-name strong{
 color:#182b51;font-size:clamp(14px,1.25vw,17px);line-height:1.22;
 overflow-wrap:anywhere
}
.nx-shell .nx-main .nx-events-name small{
 color:#61748b;font-size:11px;line-height:1.3
}
.nx-shell .nx-main .nx-events-state{
 display:inline-flex;justify-content:center;align-items:center;
 width:max-content;max-width:100%;min-width:0;
 border-radius:999px;padding:6px 9px;font-size:11px;
 font-weight:850;white-space:normal;text-align:center
}
.nx-shell .nx-main .nx-events-open{color:#126a2c;background:#dbf8d5}
.nx-shell .nx-main .nx-events-playing{color:#195b9c;background:#e4f0fb}
.nx-shell .nx-main .nx-events-closed{color:#526177;background:#eef0f4}
.nx-shell .nx-main .nx-events-cell{
 display:flex;flex-direction:column;align-items:center;
 justify-content:center;gap:3px;min-width:0;text-align:center;
 border-left:1px solid #e1e9f0;padding-left:8px
}
.nx-shell .nx-main .nx-events-cell small{color:#5e7288;font-size:10px}
.nx-shell .nx-main .nx-events-cell b{
 color:#152952;font-size:clamp(12px,1.15vw,16px);
 line-height:1.18;overflow-wrap:anywhere;max-width:100%
}
.nx-shell .nx-main .nx-events-action{
 min-width:max-content;min-height:35px;display:inline-flex;
 justify-content:center;align-items:center;gap:4px;
 border:1px solid #74d52f;border-radius:9px;
 color:#14340a;background:#c3ff78;
 font-weight:850;font-size:12px;padding:8px 12px;cursor:pointer
}
.nx-shell .nx-main .nx-events-action:hover{background:#a7f646}
.nx-shell .nx-main .nx-events-empty{
 border:1px dashed #dce5ef;border-radius:11px;background:white;
 padding:20px;text-align:center;color:#536985;font-size:13px
}
.nx-shell .nx-main .nx-events-empty button{
 border:1px solid #6ec936;border-radius:7px;
 background:#dff8c7;padding:6px 12px;
 font-weight:850;cursor:pointer;margin-left:8px;color:#193c16
}
/* Archive table keeps the approved white-and-green app appearance. */
.nx-shell .nx-main .nx-events-history{
 border:1px solid #dce6ef;border-radius:13px;background:#fff;
 padding:14px;box-shadow:0 4px 13px #092a490a
}
.nx-shell .nx-main .nx-events-history h2{
 font-size:clamp(18px,1.8vw,23px)!important;
 font-weight:900;color:#173159;margin:0 0 14px!important
}
.nx-shell .nx-main .nx-events-filters{
 display:grid;grid-template-columns:minmax(150px,.7fr) minmax(150px,.7fr) minmax(200px,1.5fr);
 gap:10px;align-items:end;margin-bottom:12px
}
.nx-shell .nx-main .nx-events-filters label{
 display:flex;flex-direction:column;gap:5px;color:#465b75;
 font-size:11px;font-weight:750;min-width:0
}
.nx-shell .nx-main .nx-events-filters select,
.nx-shell .nx-main .nx-events-filters input{
 width:100%;height:40px;box-sizing:border-box;
 border:1px solid #cdd9e5;border-radius:9px;
 background:#fff;color:#152d50;padding:7px 11px;
 font-size:13px;outline-offset:2px
}
.nx-shell .nx-main .nx-events-summary{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;background:#f6fbf1;
 border:1px solid #cae8b3;border-radius:10px;
 padding:13px;margin-bottom:14px
}
.nx-shell .nx-main .nx-events-summary>div{
 display:flex;flex-direction:column;align-items:center;
 gap:4px;text-align:center;min-width:0
}
.nx-shell .nx-main .nx-events-summary>div+div{border-left:1px solid #cbdcc3}
.nx-shell .nx-main .nx-events-summary small{
 color:#46657e;font-size:11px
}
.nx-shell .nx-main .nx-events-summary b{
 color:#168044;font-size:23px;font-variant-numeric:tabular-nums
}
.nx-shell .nx-main .nx-events-history-head,
.nx-shell .nx-main .nx-events-history-row{
 display:grid;grid-template-columns:minmax(145px,1.65fr) minmax(115px,.85fr) minmax(88px,.75fr) minmax(95px,1fr) 92px 118px;
 align-items:center;gap:8px;padding:10px 12px
}
.nx-shell .nx-main .nx-events-history-head{
 background:#edf2f7;border-radius:9px 9px 0 0;
 color:#243b55;font-size:11px;font-weight:900
}
.nx-shell .nx-main .nx-events-history-row{
 border:1px solid #e6ebf2;background:#fff;
 border-top:0;min-height:53px;box-sizing:border-box;
 color:#364c67;font-size:12px
}
.nx-shell .nx-main .nx-events-history-row:nth-of-type(even){background:#fbfcfe}
.nx-shell .nx-main .nx-events-history-row>*{min-width:0}
.nx-shell .nx-main .nx-events-history-name{
 color:#142c53;font-size:12px;overflow-wrap:anywhere
}
.nx-shell .nx-main .nx-events-history-status{
 display:inline-block;padding:5px 7px;border-radius:14px;
 color:#425672;background:#edf1f5;font-size:10px;font-style:normal;font-weight:850
}
.nx-shell .nx-main .nx-events-history-row .nx-events-action{
 min-width:0;white-space:normal;min-height:32px;
 padding:5px 6px;font-size:10px;text-align:center
}
.nx-shell .nx-main .nx-events-pagination{
 display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;
 padding:14px 0 0;color:#53677f;font-size:12px
}
.nx-shell .nx-main .nx-events-pagination>div{display:flex;gap:5px}
.nx-shell .nx-main .nx-events-pagination button{
 border:1px solid #ccd8e6;background:white;color:#20405e;
 border-radius:7px;min-width:30px;height:33px;cursor:pointer
}
.nx-shell .nx-main .nx-events-pagination button.active{
 background:#b0f66a;border-color:#6dd13b;color:#133c0a;font-weight:900
}
.nx-shell .nx-main .nx-events-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:1150px){
 .nx-shell .nx-main .nx-events-row{
  grid-template-columns:40px minmax(0,1.2fr) minmax(90px,.75fr) minmax(80px,.5fr);
 }
 .nx-shell .nx-main .nx-events-row .nx-events-action{grid-column:2/-1;justify-self:end}
 .nx-shell .nx-main .nx-events-history-head,
 .nx-shell .nx-main .nx-events-history-row{
  grid-template-columns:minmax(115px,1.4fr) minmax(85px,.8fr) minmax(65px,.65fr) minmax(80px,1fr) 70px 95px;
  padding:9px 7px;gap:5px
 }
}
@media(max-width:760px){
 .nx-shell .nx-main .nx-events-module-header{min-height:46px;padding:8px 11px}
 .nx-shell .nx-main .nx-events-module-header h1{font-size:20px!important}
 .nx-shell .nx-main .nx-events-tabs{flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:11px}
 .nx-shell .nx-main .nx-events-tabs button{flex:0 0 auto;min-height:39px;font-size:11px;padding:9px 10px}
 .nx-shell .nx-main .nx-events-row{
  grid-template-columns:39px minmax(0,1fr) auto;
  grid-auto-rows:auto;gap:7px;padding:11px;min-height:0
 }
 .nx-shell .nx-main .nx-events-symbol{width:36px;height:36px;font-size:20px}
 .nx-shell .nx-main .nx-events-name{grid-column:2/4}
 .nx-shell .nx-main .nx-events-state{grid-column:1/3}
 .nx-shell .nx-main .nx-events-cell{border:0;padding:0;grid-column:auto}
 .nx-shell .nx-main .nx-events-action,
 .nx-shell .nx-main .nx-events-row .nx-events-action{
  grid-column:1/-1;justify-self:stretch;text-align:center
 }
 .nx-shell .nx-main .nx-events-history{padding:10px}
 .nx-shell .nx-main .nx-events-filters{grid-template-columns:1fr 1fr}
 .nx-shell .nx-main .nx-events-search{grid-column:1/-1}
 .nx-shell .nx-main .nx-events-summary{padding:9px;gap:4px}
 .nx-shell .nx-main .nx-events-summary b{font-size:18px}
 .nx-shell .nx-main .nx-events-summary small{font-size:9px}
 .nx-shell .nx-main .nx-events-history-head{display:none}
 .nx-shell .nx-main .nx-events-history-row{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;min-height:0;padding:10px;
  border:1px solid #e4e9f0;border-radius:9px;margin-bottom:7px
 }
 .nx-shell .nx-main .nx-events-history-row .nx-events-history-name{grid-column:1/-1;font-size:14px}
 .nx-shell .nx-main .nx-events-history-row .nx-events-action{grid-column:1/-1;justify-self:stretch}
 .nx-shell .nx-main .nx-events-history-row span{font-size:11px}
}


/* Verified historical event detail: real score or explicit pending status. */
.nx-shell .nx-main .nx-events-detail-stats{
 display:flex;flex-wrap:wrap;gap:12px;align-items:center;
 margin:12px 0 18px;color:#4a627c;font-size:13px
}
.nx-shell .nx-main .nx-events-detail-stats span{
 padding:9px 13px;border-radius:9px;background:#f2f8f0;
 border:1px solid #d9e9d2
}
.nx-shell .nx-main .nx-events-detail-stats b{color:#183755}
.nx-shell .nx-main .nx-events-results{
 padding:0!important;margin:0!important;list-style:none;
 display:grid;gap:7px
}
.nx-shell .nx-main .nx-events-result-match{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,auto) minmax(0,1fr);
 align-items:center;gap:12px;border:1px solid #dce5ec;
 border-radius:9px;padding:12px;background:white;color:#233952;
 font-size:13px
}
.nx-shell .nx-main .nx-events-result-match span:last-child{text-align:right}
.nx-shell .nx-main .nx-events-result-match strong{
 color:#173354;text-align:center;font-variant-numeric:tabular-nums
}
@media(max-width:540px){
 .nx-shell .nx-main .nx-events-result-match{gap:5px;padding:9px;font-size:11px}
 .nx-shell .nx-main .nx-events-result-match strong{font-size:11px}
}


/* Enrolled rows have two numeric metrics (points and rank). */
@media(min-width:1151px){
 .nx-shell .nx-main .nx-events-row.nx-events-row-mine{
  grid-template-columns:44px minmax(155px,1.5fr) minmax(95px,.65fr) minmax(65px,.4fr) minmax(65px,.4fr) auto
 }
}
