:root{
  --tr-bg:#06111c;--tr-panel:#0b1a28;--tr-panel-2:#0e2031;--tr-line:#243b50;
  --tr-text:#edf5fb;--tr-muted:#8da0b2;--tr-blue:#32c4ff;--tr-gold:#e9b83e;
  --tr-green:#20d99a;--tr-yellow:#e0b747;--tr-red:#ee6670
}
.tournaments-page,.tournament-detail-page{min-height:calc(100vh - 37px);background:radial-gradient(circle at 16% 0,rgba(22,74,108,.23),transparent 34%),linear-gradient(180deg,#030b14,#06121d 58%,#071621);color:var(--tr-text)}
.tournaments-shell,.tournament-detail-shell{padding:10px 0 14px}

/* LISTADO V2 — desktop de una sola ventana */
.tournaments-heading--compact{display:flex;align-items:center;justify-content:space-between;min-height:52px;margin-bottom:7px}
.tournaments-heading-copy{min-width:0}.tournaments-kicker{display:block;margin-bottom:4px;color:var(--tr-blue);font-size:8px;font-weight:900;letter-spacing:.08em}
.tournaments-heading-line{display:flex;align-items:center;gap:14px;min-width:0}.tournaments-heading h1{margin:0;font-size:23px;line-height:1;letter-spacing:.04em}
.tournaments-inline-kpis{display:flex;align-items:center;gap:7px;min-width:0}.tournaments-inline-kpis span{height:25px;display:flex;align-items:center;gap:4px;padding:0 9px;border:1px solid #24425a;border-radius:5px;background:#091824;color:#8399aa;font-size:8px;white-space:nowrap}.tournaments-inline-kpis b{color:#fff;font-size:11px}

.tournaments-filters--compact{display:grid;grid-template-columns:minmax(240px,1.45fr) minmax(145px,.58fr) minmax(135px,.5fr) minmax(155px,.6fr) auto;gap:7px;align-items:end;margin-bottom:7px;padding:7px 8px;border:1px solid #243b50;border-radius:8px;background:#091722}
.tournaments-filters label{display:grid;gap:3px;color:#8598aa;font-size:8px}.tournaments-filters input,.tournaments-filters select{height:32px;width:100%;padding:0 9px;border:1px solid #314b61;border-radius:5px;background:#07131e;color:#e7eef5;font-size:10px}
.tournaments-filter-actions{display:flex;gap:5px}.tournaments-filter-actions a,.tournaments-filter-actions button{height:32px;display:grid;place-items:center;padding:0 11px;border:1px solid #355068;border-radius:5px;background:#0a1724;color:#9eb0c0;font-size:8px;font-weight:850}.tournaments-filter-actions button{border-color:#2a7da1;background:#0b2940;color:#7bdcff}

.tournaments-results--table{overflow:hidden;border:1px solid rgba(130,157,180,.23);border-radius:9px;background:linear-gradient(145deg,#0b1a29,#081520)}
.tournaments-results-head{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-bottom:1px solid #ffffff0f}.tournaments-results-head h2{display:inline;margin:0;font-size:11px;letter-spacing:.06em}.tournaments-results-head span{margin-left:7px;color:var(--tr-muted);font-size:8px}
.tournaments-table{width:100%}.tournaments-table-head,.tournament-row{display:grid;grid-template-columns:78px minmax(230px,1.55fr) 105px minmax(150px,1fr) 46px 50px 55px 95px minmax(150px,1.05fr) 18px;align-items:center;column-gap:7px;padding:0 10px}
.tournaments-table-head{height:27px;background:#07131e;color:#74899b;font-size:7.4px;font-weight:800;text-transform:uppercase}
.tournament-row{height:40px;border-top:1px solid #ffffff0a;color:#cfdbe4;text-decoration:none;background:rgba(8,22,34,.42)}
.tournament-row:nth-child(odd){background:rgba(11,28,42,.52)}.tournament-row:hover{background:#10283a}
.tournament-row time{color:#7f95a7;font-size:8.2px}.tournament-row-name,.tournament-row-location,.tournament-row-winner{min-width:0;overflow:hidden}
.tournament-row-name strong{display:block;overflow:hidden;color:#f5f8fb;font-size:10.2px;white-space:nowrap;text-overflow:ellipsis}
.tournament-row-location{color:#7f95a7;font-size:8.1px;white-space:nowrap;text-overflow:ellipsis}
.tournament-category{display:inline-flex;align-items:center;height:19px;padding:0 7px;border:1px solid #a8862c;border-radius:4px;background:#2b240a;color:#ffd966;font-size:7px;font-weight:900;letter-spacing:.035em;white-space:nowrap}
.tournament-row-number{color:#e3edf4;font-size:10px}.tournament-row-coverage{position:relative;display:grid;grid-template-columns:auto auto 8px;align-items:center;gap:4px;color:#dce6ed;font-size:8.3px}.tournament-row-coverage small{color:#7f93a5;font-size:7.3px}.coverage-dot{width:7px;height:7px;border-radius:50%}.coverage-alta{background:var(--tr-green);box-shadow:0 0 6px #20d99a66}.coverage-media{background:var(--tr-yellow)}.coverage-baja{background:var(--tr-red)}
.tournament-row-winner strong{display:block;overflow:hidden;color:#e8f0f5;font-size:9.1px;white-space:nowrap;text-overflow:ellipsis}.tournament-row-winner small{display:block;margin-top:1px;overflow:hidden;color:#7890a3;font-size:7.2px;white-space:nowrap;text-overflow:ellipsis}.tournament-row-arrow{color:var(--tr-blue);font-size:15px;text-align:right}
.tournaments-empty{padding:24px 12px;color:#8799aa;font-size:10px;text-align:center}.tournaments-pagination{height:32px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 10px;border-top:1px solid #ffffff0f}.tournaments-pagination a{color:#4acbff;font-size:8px;font-weight:800}.tournaments-pagination a:last-child{text-align:right}.tournaments-pagination strong{color:#8397a9;font-size:8px}

/* Detail */
.tournament-back{display:inline-block;margin-bottom:9px;color:#57cfff;font-size:9px;font-weight:850}.tournament-hero{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:10px;padding:13px;border:1px solid #2a4358;border-radius:10px;background:linear-gradient(145deg,#102437,#091722)}.tournament-hero-badges{display:flex;gap:6px;align-items:center}.coverage-badge{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:5px;font-size:7px;font-weight:900}.coverage-badge.coverage-alta{border:1px solid #1c9a6d;background:#0b3327;color:#63e7b6}.coverage-badge.coverage-media{border:1px solid #9a7c24;background:#30280b;color:#f0ce65}.coverage-badge.coverage-baja{border:1px solid #93444c;background:#31131a;color:#f18b95}.tournament-hero h1{margin:8px 0 4px;font-size:23px;line-height:1.08}.tournament-hero p{margin:0;color:#8da0b2;font-size:9px}.tournament-hero-winner{display:flex;justify-content:center;flex-direction:column;padding-left:14px;border-left:1px solid #ffffff10}.tournament-hero-winner span{color:#c69a30;font-size:7px;font-weight:900}.tournament-hero-winner strong{margin-top:4px;color:#fff;font-size:15px}.tournament-hero-winner small{margin-top:3px;color:#98aabd;font-size:9px}
.tournament-detail-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0}.tournament-detail-kpis article{padding:10px 12px;border:1px solid #27445d;border-radius:9px;background:linear-gradient(145deg,#0d2030,#091723)}.tournament-detail-kpis span{display:block;color:#8295a7;font-size:8px;font-weight:750}.tournament-detail-kpis strong{display:block;margin-top:3px;color:#fff;font-size:20px}
.tournament-tabs{display:flex;gap:5px;margin-bottom:8px;padding:5px;border:1px solid #263e53;border-radius:8px;background:#081520}.tournament-tabs a{height:30px;display:grid;place-items:center;padding:0 13px;border-radius:5px;color:#8fa3b4;font-size:8px;font-weight:850}.tournament-tabs a.is-active{background:#0b2d45;color:#6ed7ff;box-shadow:inset 0 0 0 1px #236383}
.tournament-tab-panel{min-width:0}.tournament-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tournament-panel{overflow:hidden;border:1px solid #263e53;border-radius:9px;background:linear-gradient(145deg,#0d1e2e,#081520)}.tournament-panel>header{min-height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #ffffff0d}.tournament-panel h2{margin:0;font-size:10px;letter-spacing:.05em}.tournament-panel header span{color:#8396a8;font-size:8px}
.tournament-summary-list{margin:0}.tournament-summary-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:39px;padding:0 11px;border-top:1px solid #ffffff09}.tournament-summary-list>div:first-child{border-top:0}.tournament-summary-list dt{color:#8093a5;font-size:8px}.tournament-summary-list dd{margin:0;color:#e1e9f0;font-size:9px;font-weight:700;text-align:right}
.tournament-table-wrap{overflow-x:auto}.tournament-standings{width:100%;border-collapse:collapse}.tournament-standings th{height:29px;padding:0 8px;background:#07131e;color:#7f93a5;font-size:7px;text-align:left;text-transform:uppercase}.tournament-standings td{height:36px;padding:0 8px;border-top:1px solid #ffffff0b;color:#d3dde5;font-size:9px}.tournament-standings td:first-child{color:#54ccff;font-weight:900}
.tournament-rounds{display:grid;gap:7px}.tournament-round{overflow:hidden;border:1px solid #263e53;border-radius:9px;background:#0a1825}.tournament-round summary{min-height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;color:#e3ebf2;font-size:10px;font-weight:850;cursor:pointer;list-style:none}.tournament-round summary::-webkit-details-marker{display:none}.tournament-round summary small{color:#8295a7;font-size:8px}.tournament-round-tables{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px;border-top:1px solid #ffffff0e}.tournament-match{min-width:0;padding:8px;border:1px solid #22394d;border-radius:7px;background:#07141f}.tournament-match-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;color:#8ea1b2;font-size:7px}.tournament-match-player{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 6px;padding:5px 0;border-top:1px solid #ffffff08}.tournament-match-player strong{overflow:hidden;color:#fff;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.tournament-match-player span{grid-column:1;color:#8195a7;font-size:7px}.tournament-match-player b{grid-column:2;grid-row:1/3;align-self:center;font-size:8px}.result-win{color:#32df9d}.result-loss{color:#f16d77}.result-draw{color:#e4bd4b}.result-bye{color:#67cfff}.result-unknown{color:#8394a4}.tournament-match-score{margin-top:5px;color:#9aabb9;font-size:7px}.tournament-match-empty{padding:7px;color:#7e91a3;font-size:8px}
.tournament-meta-list{display:grid}.tournament-meta-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 70px;align-items:center;min-height:38px;padding:0 10px;border-top:1px solid #ffffff0b}.tournament-meta-row:first-child{border-top:0}.tournament-meta-row strong{overflow:hidden;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.tournament-meta-row span{color:#8da0b2;font-size:8px}.tournament-meta-row b{color:#57d8ff;font-size:10px;text-align:right}

@media(min-width:1001px){
  .tournaments-page{min-height:0}
}
@media(min-width:1001px) and (max-height:800px){
  .tournaments-shell{padding-top:8px;padding-bottom:12px}
  .tournaments-heading--compact{min-height:48px;margin-bottom:6px}
  .tournaments-heading h1{font-size:22px}
  .tournaments-kicker{margin-bottom:3px}
  .tournaments-filters--compact{margin-bottom:6px;padding-top:6px;padding-bottom:6px}
  .tournaments-results--table{margin-bottom:10px}
  .tournaments-results-head{height:36px}
  .tournaments-table-head{height:25px}
  .tournament-row{height:38px}
  .tournaments-pagination{height:30px}
}
@media(max-width:1000px){
  .tournaments-inline-kpis{flex-wrap:wrap}
  .tournaments-filters--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tournaments-table-head{display:none}
  .tournaments-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
  .tournament-row{height:auto;min-height:172px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto auto auto;gap:7px 10px;padding:10px;border:1px solid #294157;border-radius:8px;background:#0a1a28}
  .tournament-row time{grid-column:2;grid-row:1}
  .tournament-row-name{grid-column:1/3;grid-row:2}.tournament-row-name strong{font-size:12px}
  .tournament-row>span:nth-child(3){grid-column:1;grid-row:1}
  .tournament-row-location{grid-column:1/3;grid-row:3}
  .tournament-row-number{display:none}
  .tournament-row-coverage{grid-column:1;grid-row:4}
  .tournament-row-winner{grid-column:1/3;grid-row:5}
  .tournament-row-arrow{grid-column:2;grid-row:4/6;align-self:end}
}
@media(max-width:768px){
  .tournaments-shell,.tournament-detail-shell{padding:12px 0 18px}
  .tournaments-heading--compact{display:block}.tournaments-heading-line{display:block}.tournaments-heading h1{font-size:24px}
  .tournaments-inline-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:9px}.tournaments-inline-kpis span{height:32px;justify-content:space-between}
  .tournaments-filters--compact{grid-template-columns:1fr;padding:10px}.tournaments-filters input,.tournaments-filters select{height:42px;font-size:12px}.tournaments-filter-actions>*{flex:1;height:40px!important}
  .tournaments-table{grid-template-columns:1fr}.tournament-row{min-height:168px}
  .tournaments-results-head{min-height:48px}.tournaments-results-head>span{display:none}
  .tournament-hero{grid-template-columns:1fr}.tournament-hero h1{font-size:21px}.tournament-hero-winner{padding:10px 0 0;border-top:1px solid #ffffff10;border-left:0}
  .tournament-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.tournament-detail-kpis strong{font-size:18px}
  .tournament-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.tournament-tabs a{padding:0 4px;font-size:8px}
  .tournament-summary-grid{grid-template-columns:1fr}.tournament-round-tables{grid-template-columns:1fr}
  .tournament-standings{min-width:640px}
  .tournament-meta-row{grid-template-columns:minmax(0,1fr) 90px 55px}
}
@media(max-width:430px){
  .tournaments-inline-kpis{grid-template-columns:1fr 1fr}
  .tournament-row{padding:9px}
  .tournament-tabs a{font-size:7.5px}
}

/* TORNEOS DESKTOP READABILITY V3 */
@media(min-width:1001px){
  .tournaments-heading--compact{
    min-height:56px;
    margin-bottom:8px;
  }
  .tournaments-kicker{
    font-size:9px;
    color:#69d9ff;
    text-shadow:0 0 8px rgba(50,196,255,.22);
  }
  .tournaments-heading h1{
    font-size:28px;
    color:#fff;
  }
  .tournaments-inline-kpis{
    gap:8px;
  }
  .tournaments-inline-kpis span{
    height:30px;
    padding:0 11px;
    border-color:#315875;
    background:#0b1d2c;
    color:#b9c9d6;
    font-size:9px;
  }
  .tournaments-inline-kpis b{
    color:#fff;
    font-size:12px;
  }

  .tournaments-filters--compact{
    margin-bottom:8px;
    padding:8px 9px;
    border-color:#31506a;
    background:#0a1b29;
  }
  .tournaments-filters label{
    gap:4px;
    color:#a9bac8;
    font-size:9px;
    font-weight:700;
  }
  .tournaments-filters input,
  .tournaments-filters select{
    height:36px;
    border-color:#3a5a72;
    background:#081723;
    color:#f3f7fa;
    font-size:11px;
  }
  .tournaments-filter-actions a,
  .tournaments-filter-actions button{
    height:36px;
    padding:0 13px;
    font-size:9px;
  }

  .tournaments-results-head{
    height:40px;
    padding:0 12px;
    background:#0b1c2a;
  }
  .tournaments-results-head h2{
    font-size:12px;
    color:#fff;
  }
  .tournaments-results-head span{
    font-size:9px;
    color:#9fb2c1;
  }

  .tournaments-table-head,
  .tournament-row{
    grid-template-columns:82px minmax(250px,1.55fr) 108px minmax(165px,1fr) 52px 54px 60px 104px minmax(165px,1.05fr) 20px;
    column-gap:8px;
    padding:0 12px;
  }
  .tournaments-table-head{
    height:30px;
    background:#0a1824;
    color:#9ab0c2;
    font-size:8px;
    letter-spacing:.02em;
  }
  .tournament-row{
    height:48px;
    border-top-color:#294255;
    background:#0a1a28;
  }
  .tournament-row:nth-child(odd){
    background:#0d2030;
  }
  .tournament-row:hover{
    background:#123149;
  }

  .tournament-row time{
    color:#a7bac8;
    font-size:9px;
    font-weight:700;
  }
  .tournament-row-name strong{
    color:#fff;
    font-size:11.5px;
    font-weight:850;
  }
  .tournament-row-location{
    color:#9fb3c3;
    font-size:9px;
    font-weight:650;
  }
  .tournament-category{
    height:21px;
    padding:0 7px;
    border-color:#d2a822;
    background:#3a2f08;
    color:#ffe36c;
    font-size:7.8px;
  }
  .tournament-row-number{
    color:#fff;
    font-size:11px;
    font-weight:850;
  }
  .tournament-row-coverage{
    color:#fff;
    font-size:9.2px;
    font-weight:800;
  }
  .tournament-row-coverage small{
    color:#aac0cf;
    font-size:8px;
  }
  .coverage-dot{
    width:8px;
    height:8px;
  }
  .tournament-row-winner strong{
    color:#fff;
    font-size:10px;
    font-weight:850;
  }
  .tournament-row-winner small{
    color:#9fb4c4;
    font-size:8px;
  }
  .tournament-row-arrow{
    color:#49d2ff;
    font-size:18px;
    font-weight:900;
  }

  .tournaments-pagination{
    height:34px;
    margin-bottom:12px;
    background:#0a1926;
  }
  .tournaments-pagination a,
  .tournaments-pagination strong{
    font-size:9px;
  }
}

@media(min-width:1001px) and (max-height:800px){
  .tournaments-shell{
    padding-top:8px;
    padding-bottom:14px;
  }
  .tournaments-heading--compact{
    min-height:50px;
    margin-bottom:7px;
  }
  .tournaments-heading h1{
    font-size:26px;
  }
  .tournaments-filters--compact{
    margin-bottom:7px;
    padding-top:7px;
    padding-bottom:7px;
  }
  .tournaments-results--table{
    margin-bottom:12px;
  }
  .tournaments-results-head{
    height:38px;
  }
  .tournaments-table-head{
    height:28px;
  }
  .tournament-row{
    height:46px;
  }
  .tournaments-pagination{
    height:32px;
    margin-bottom:10px;
  }
}

/* TORNEOS DESKTOP READABILITY V4 */
@media(min-width:1001px){
  /* Más letra y menos aire muerto: filas compactas, texto legible. */
  .tournaments-heading--compact{
    min-height:48px !important;
    margin-bottom:6px !important;
  }
  .tournaments-kicker{
    font-size:9px !important;
  }
  .tournaments-heading h1{
    font-size:27px !important;
  }
  .tournaments-inline-kpis span{
    height:27px !important;
    padding:0 10px !important;
    font-size:9px !important;
  }
  .tournaments-inline-kpis b{
    font-size:12px !important;
  }

  .tournaments-filters--compact{
    margin-bottom:6px !important;
    padding:6px 8px !important;
  }
  .tournaments-filters label{
    font-size:9px !important;
  }
  .tournaments-filters input,
  .tournaments-filters select,
  .tournaments-filter-actions a,
  .tournaments-filter-actions button{
    height:32px !important;
    font-size:10px !important;
  }

  .tournaments-results-head{
    height:34px !important;
  }
  .tournaments-results-head h2{
    font-size:12px !important;
  }
  .tournaments-results-head span{
    font-size:8.5px !important;
  }

  .tournaments-table-head,
  .tournament-row{
    grid-template-columns:82px minmax(250px,1.55fr) 108px minmax(165px,1fr) 52px 54px 60px 104px minmax(165px,1.05fr) 20px !important;
    column-gap:8px !important;
    padding:0 12px !important;
  }

  .tournaments-table-head{
    height:25px !important;
    font-size:8px !important;
  }

  .tournament-row{
    height:38px !important;
    min-height:38px !important;
  }

  .tournament-row time{
    font-size:9.3px !important;
    line-height:1 !important;
  }
  .tournament-row-name strong{
    font-size:12px !important;
    line-height:1.05 !important;
  }
  .tournament-row-location{
    font-size:9.4px !important;
    line-height:1 !important;
  }
  .tournament-category{
    height:20px !important;
    font-size:7.8px !important;
  }
  .tournament-row-number{
    font-size:11.5px !important;
    line-height:1 !important;
  }
  .tournament-row-coverage{
    font-size:9.2px !important;
    line-height:1 !important;
  }
  .tournament-row-coverage small{
    font-size:8px !important;
  }
  .tournament-row-winner strong{
    font-size:10.5px !important;
    line-height:1 !important;
  }
  .tournament-row-winner small{
    margin-top:2px !important;
    font-size:7.8px !important;
    line-height:1 !important;
  }
  .tournament-row-arrow{
    font-size:18px !important;
  }

  .tournaments-pagination{
    height:30px !important;
    margin-bottom:18px !important;
  }
  .tournaments-pagination a,
  .tournaments-pagination strong{
    font-size:9px !important;
  }

  /* Evita que el listado quede pegado al pie aun en 1366x768. */
  .tournaments-results--table{
    margin-bottom:18px !important;
  }
}

@media(min-width:1001px) and (max-height:800px){
  .tournaments-shell{
    padding-top:7px !important;
    padding-bottom:16px !important;
  }
  .tournaments-heading--compact{
    min-height:46px !important;
    margin-bottom:5px !important;
  }
  .tournaments-filters--compact{
    margin-bottom:5px !important;
  }
  .tournaments-results-head{
    height:32px !important;
  }
  .tournaments-table-head{
    height:24px !important;
  }
  .tournament-row{
    height:36px !important;
    min-height:36px !important;
  }
  .tournaments-pagination{
    height:28px !important;
    margin-bottom:16px !important;
  }
}

/* TORNEOS DESKTOP FOOTER BELOW FOLD */
@media(min-width:1001px){
  /* La vista de Torneos ocupa toda la ventana inicial.
     El footer queda debajo del fold, como en el resto de LAIREN. */
  .tournaments-page{
    min-height:calc(100dvh - 37px) !important;
  }
  .tournaments-shell{
    min-height:calc(100dvh - 37px) !important;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
  }
  .tournaments-results--table{
    margin-bottom:0 !important;
  }
}

/* TORNEOS DESKTOP FILL VIEWPORT */
@media(min-width:1001px){
  /* La caja de EVENTOS ocupa todo el alto restante de la primera ventana.
     Las filas mantienen su altura compacta; el espacio sobrante queda dentro
     del panel y la paginación se apoya abajo. */
  .tournaments-results--table{
    flex:1 1 auto !important;
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
  }

  .tournaments-table{
    flex:0 0 auto !important;
  }

  .tournaments-pagination{
    margin-top:auto !important;
    margin-bottom:0 !important;
  }
}

/* TORNEOS GANADOR + MAZO EN COLUMNAS */
@media(min-width:1001px){
  .tournaments-table-head,
  .tournament-row{
    grid-template-columns:
      82px
      minmax(235px,1.45fr)
      104px
      minmax(145px,.9fr)
      48px 50px 56px
      96px
      minmax(130px,.78fr)
      minmax(120px,.72fr)
      18px !important;
  }

  .tournament-row-winner{
    min-width:0;
    overflow:hidden;
  }

  .tournament-row-winner strong{
    display:block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }

  .tournament-row-deck{
    min-width:0;
    overflow:hidden;
    color:#b9cbd8;
    font-size:9.4px;
    font-weight:750;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
}

@media(max-width:1000px){
  .tournament-row{
    grid-template-rows:auto auto auto auto auto auto;
  }

  .tournament-row-winner{
    grid-column:1/3;
    grid-row:5;
  }

  .tournament-row-deck{
    grid-column:1/3;
    grid-row:6;
    min-width:0;
    overflow:hidden;
    color:#9fb4c4;
    font-size:9px;
    white-space:nowrap;
    text-overflow:ellipsis;
  }

  .tournament-row-deck::before{
    content:"Mazo · ";
    color:#6ed7ff;
    font-weight:850;
  }

  .tournament-row-arrow{
    grid-column:2;
    grid-row:4/7;
    align-self:end;
  }
}

/* TORNEOS DESKTOP 768 FIT V5 */
@media(min-width:1001px) and (max-height:820px){
  /* Mantiene 10 torneos visibles sin achicar la tipografía. */
  .tournaments-shell{
    padding-top:5px !important;
    padding-bottom:8px !important;
  }

  .tournaments-heading--compact{
    min-height:41px !important;
    margin-bottom:4px !important;
  }

  .tournaments-kicker{
    margin-bottom:1px !important;
  }

  .tournaments-inline-kpis span{
    height:24px !important;
  }

  .tournaments-filters--compact{
    margin-bottom:4px !important;
    padding-top:4px !important;
    padding-bottom:4px !important;
  }

  .tournaments-filters input,
  .tournaments-filters select,
  .tournaments-filter-actions a,
  .tournaments-filter-actions button{
    height:30px !important;
  }

  .tournaments-results-head{
    height:29px !important;
  }

  .tournaments-table-head{
    height:22px !important;
  }

  .tournament-row{
    height:32px !important;
    min-height:32px !important;
  }

  .tournaments-pagination{
    height:25px !important;
    min-height:25px !important;
    margin-bottom:0 !important;
  }

  .tournaments-results--table{
    margin-bottom:6px !important;
  }
}

/* TORNEO DETALLE V2 — COMPACTO Y LEGIBLE */
@media(min-width:1001px){
  .tournament-detail-page{
    min-height:calc(100dvh - 37px) !important;
  }

  .tournament-detail-shell{
    padding-top:6px !important;
    padding-bottom:10px !important;
  }

  .tournament-back{
    margin:0 0 4px !important;
    font-size:10.5px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
  }

  .tournament-hero{
    grid-template-columns:minmax(0,1fr) 245px !important;
    gap:8px !important;
    padding:8px 12px !important;
    border-radius:8px !important;
  }

  .tournament-hero-badges{
    gap:5px !important;
    margin-bottom:3px !important;
  }

  .tournament-hero .tournament-category,
  .tournament-hero .coverage-badge{
    height:19px !important;
    padding:0 7px !important;
    font-size:7.5px !important;
  }

  .tournament-hero h1{
    margin:4px 0 2px !important;
    font-size:22px !important;
    line-height:1 !important;
  }

  .tournament-hero p{
    margin:0 !important;
    color:#a7bac8 !important;
    font-size:10px !important;
    line-height:1.1 !important;
  }

  .tournament-hero-winner{
    padding-left:12px !important;
  }

  .tournament-hero-winner span{
    font-size:8px !important;
  }

  .tournament-hero-winner strong{
    margin-top:2px !important;
    font-size:15px !important;
    line-height:1.05 !important;
  }

  .tournament-hero-winner small{
    margin-top:2px !important;
    color:#b1c3d1 !important;
    font-size:9.5px !important;
    line-height:1 !important;
  }

  .tournament-detail-kpis{
    gap:6px !important;
    margin:6px 0 !important;
  }

  .tournament-detail-kpis article{
    min-height:49px !important;
    padding:7px 11px !important;
    border-radius:7px !important;
  }

  .tournament-detail-kpis span{
    color:#9fb2c1 !important;
    font-size:9px !important;
    line-height:1 !important;
  }

  .tournament-detail-kpis strong{
    margin-top:4px !important;
    font-size:19px !important;
    line-height:1 !important;
  }

  .tournament-tabs{
    gap:3px !important;
    margin-bottom:6px !important;
    padding:3px !important;
    border-radius:7px !important;
  }

  .tournament-tabs a{
    height:28px !important;
    padding:0 14px !important;
    font-size:9.5px !important;
    line-height:1 !important;
  }

  .tournament-summary-grid{
    gap:6px !important;
  }

  .tournament-panel{
    border-radius:7px !important;
  }

  .tournament-panel>header{
    min-height:31px !important;
    padding:0 10px !important;
  }

  .tournament-panel h2{
    font-size:11px !important;
    line-height:1 !important;
  }

  .tournament-panel header span{
    color:#9eb2c2 !important;
    font-size:9px !important;
  }

  .tournament-summary-list>div{
    min-height:32px !important;
    padding:0 10px !important;
  }

  .tournament-summary-list dt{
    color:#96aabb !important;
    font-size:9.5px !important;
    line-height:1 !important;
  }

  .tournament-summary-list dd{
    color:#fff !important;
    font-size:10px !important;
    line-height:1 !important;
  }

  .tournament-standings th{
    height:27px !important;
    padding:0 9px !important;
    color:#99adbd !important;
    font-size:8px !important;
  }

  .tournament-standings td{
    height:31px !important;
    padding:0 9px !important;
    color:#e4edf3 !important;
    font-size:10px !important;
    line-height:1 !important;
  }

  .tournament-rounds{
    gap:5px !important;
  }

  .tournament-round{
    border-radius:7px !important;
  }

  .tournament-round summary{
    min-height:32px !important;
    padding:0 10px !important;
    font-size:11px !important;
    line-height:1 !important;
  }

  .tournament-round summary small{
    color:#9eb2c2 !important;
    font-size:9px !important;
  }

  .tournament-round-tables{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:5px !important;
    padding:5px !important;
  }

  .tournament-match{
    padding:6px 8px !important;
    border-radius:6px !important;
  }

  .tournament-match-head{
    margin-bottom:3px !important;
    color:#9fb4c4 !important;
    font-size:8px !important;
    line-height:1 !important;
  }

  .tournament-match-player{
    gap:1px 6px !important;
    padding:4px 0 !important;
  }

  .tournament-match-player strong{
    font-size:10.5px !important;
    line-height:1 !important;
  }

  .tournament-match-player span{
    color:#98adbd !important;
    font-size:8.5px !important;
    line-height:1 !important;
  }

  .tournament-match-player b{
    font-size:9px !important;
  }

  .tournament-match-score{
    margin-top:3px !important;
    color:#9fb2c1 !important;
    font-size:8.5px !important;
  }

  .tournament-meta-row{
    min-height:32px !important;
    padding:0 10px !important;
    grid-template-columns:minmax(0,1fr) 115px 70px !important;
  }

  .tournament-meta-row strong{
    font-size:10.5px !important;
    line-height:1 !important;
  }

  .tournament-meta-row span{
    color:#9eb2c2 !important;
    font-size:9px !important;
  }

  .tournament-meta-row b{
    font-size:10.5px !important;
  }
}

@media(min-width:1001px) and (max-height:800px){
  .tournament-detail-shell{
    padding-top:4px !important;
    padding-bottom:6px !important;
  }

  .tournament-back{
    margin-bottom:3px !important;
  }

  .tournament-hero{
    padding-top:7px !important;
    padding-bottom:7px !important;
  }

  .tournament-detail-kpis{
    margin:5px 0 !important;
  }

  .tournament-detail-kpis article{
    min-height:45px !important;
  }

  .tournament-tabs{
    margin-bottom:5px !important;
  }
}

/* TORNEO DETALLE V3 — CABECERA Y KPIS COMPACTOS */
@media(min-width:1001px){
  .tournament-detail-shell{
    padding-top:4px !important;
    padding-bottom:8px !important;
  }

  .tournament-back{
    margin:0 0 3px !important;
    font-size:10px !important;
    line-height:1 !important;
  }

  .tournament-hero{
    grid-template-columns:minmax(0,1fr) 225px !important;
    gap:6px !important;
    padding:6px 10px !important;
    min-height:0 !important;
  }

  .tournament-hero-badges{
    gap:4px !important;
    margin-bottom:1px !important;
  }

  .tournament-hero .tournament-category,
  .tournament-hero .coverage-badge{
    height:17px !important;
    padding:0 6px !important;
    font-size:7px !important;
  }

  .tournament-hero h1{
    margin:2px 0 1px !important;
    font-size:20px !important;
    line-height:1 !important;
  }

  .tournament-hero p{
    margin:0 !important;
    font-size:9px !important;
    line-height:1 !important;
  }

  .tournament-hero-winner{
    padding-left:10px !important;
  }

  .tournament-hero-winner span{
    font-size:7px !important;
  }

  .tournament-hero-winner strong{
    margin-top:1px !important;
    font-size:14px !important;
    line-height:1 !important;
  }

  .tournament-hero-winner small{
    margin-top:1px !important;
    font-size:8.5px !important;
    line-height:1 !important;
  }

  /* Los 4 datos pasan a ser una barra compacta: etiqueta + valor en la misma línea. */
  .tournament-detail-kpis{
    gap:5px !important;
    margin:4px 0 !important;
  }

  .tournament-detail-kpis article{
    min-height:34px !important;
    padding:0 10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    border-radius:6px !important;
  }

  .tournament-detail-kpis span{
    margin:0 !important;
    color:#9fb2c1 !important;
    font-size:9px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  .tournament-detail-kpis strong{
    margin:0 !important;
    color:#fff !important;
    font-size:17px !important;
    line-height:1 !important;
  }

  .tournament-tabs{
    margin-bottom:5px !important;
  }
}

@media(min-width:1001px) and (max-height:800px){
  .tournament-detail-shell{
    padding-top:3px !important;
  }

  .tournament-hero{
    padding-top:5px !important;
    padding-bottom:5px !important;
  }

  .tournament-detail-kpis{
    margin:3px 0 !important;
  }

  .tournament-detail-kpis article{
    min-height:32px !important;
  }
}

/* TORNEO DETALLE V4 — DOS VISTAS */
@media(min-width:1001px){
  .tournament-tabs--two{
    width:100% !important;
    display:flex !important;
    gap:4px !important;
    padding:3px !important;
    margin-bottom:5px !important;
  }

  .tournament-tabs--two a{
    min-width:86px !important;
    height:28px !important;
    padding:0 16px !important;
    font-size:9.5px !important;
  }

  .tournament-overview{
    display:grid !important;
    grid-template-columns:minmax(0,1.85fr) minmax(310px,1fr) !important;
    gap:6px !important;
    min-height:0 !important;
  }

  .tournament-overview--full{
    grid-template-columns:1fr !important;
  }

  .tournament-standings-panel,
  .tournament-meta-panel{
    min-width:0 !important;
  }

  .tournament-standings--compact{
    table-layout:fixed !important;
  }

  .tournament-standings--compact th:nth-child(1),
  .tournament-standings--compact td:nth-child(1){
    width:44px !important;
  }

  .tournament-standings--compact th:nth-child(2),
  .tournament-standings--compact td:nth-child(2){
    width:52% !important;
  }

  .tournament-standings--compact th,
  .tournament-standings--compact td{
    height:29px !important;
    padding:0 9px !important;
    font-size:10px !important;
  }

  .tournament-standings--compact th{
    height:25px !important;
    font-size:8px !important;
  }

  .tournament-meta-panel>header span{
    white-space:nowrap !important;
  }

  .tournament-meta-list--compact .tournament-meta-row{
    min-height:29px !important;
    grid-template-columns:minmax(0,1fr) 42px 58px !important;
    padding:0 10px !important;
  }

  .tournament-meta-list--compact .tournament-meta-row strong{
    font-size:10px !important;
  }

  .tournament-meta-list--compact .tournament-meta-row span{
    color:#b5c5d1 !important;
    font-size:9px !important;
    text-align:right !important;
  }

  .tournament-meta-list--compact .tournament-meta-row b{
    font-size:10px !important;
  }

  .tournament-rounds-view{
    min-width:0 !important;
  }

  .tournament-round-selector{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:5px !important;
    margin-bottom:5px !important;
    padding:5px !important;
    border:1px solid #263e53 !important;
    border-radius:7px !important;
    background:#081520 !important;
  }

  .tournament-round-selector a{
    height:28px !important;
    display:grid !important;
    place-items:center !important;
    padding:0 13px !important;
    border:1px solid transparent !important;
    border-radius:5px !important;
    color:#9db0bf !important;
    font-size:9px !important;
    font-weight:850 !important;
    text-decoration:none !important;
  }

  .tournament-round-selector a:hover{
    color:#fff !important;
    background:#0d2233 !important;
  }

  .tournament-round-selector a.is-active{
    border-color:#286a8c !important;
    background:#0b2d45 !important;
    color:#6ed7ff !important;
  }

  .tournament-round-stage{
    overflow:hidden !important;
    border:1px solid #263e53 !important;
    border-radius:7px !important;
    background:#0a1825 !important;
  }

  .tournament-round-stage>header{
    height:31px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:0 10px !important;
    border-bottom:1px solid #ffffff0d !important;
  }

  .tournament-round-stage>header h2{
    margin:0 !important;
    font-size:11px !important;
  }

  .tournament-round-stage>header span{
    color:#9eb2c2 !important;
    font-size:9px !important;
  }

  .tournament-round-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:5px !important;
    padding:5px !important;
  }

  .tournament-match--clean{
    min-height:95px !important;
    padding:6px 8px !important;
  }

  .tournament-match--clean .tournament-match-head{
    min-height:14px !important;
    margin-bottom:2px !important;
  }

  .tournament-match--clean .tournament-match-head strong{
    color:#8fb4ca !important;
    font-size:8px !important;
  }

  .tournament-match--clean .tournament-match-player{
    padding:5px 0 !important;
  }

  .tournament-match--clean .tournament-match-player strong{
    font-size:10.5px !important;
  }

  .tournament-match--clean .tournament-match-player span{
    font-size:8.5px !important;
  }

  .tournament-match--clean .tournament-match-player b{
    font-size:9px !important;
  }

  /* El score se elimina del nuevo diseño. */
  .tournament-match-score{
    display:none !important;
  }
}

@media(max-width:1000px){
  .tournament-tabs--two{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .tournament-overview{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }

  .tournament-round-selector{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-bottom:7px;
    padding:6px;
    border:1px solid #263e53;
    border-radius:7px;
    background:#081520;
  }

  .tournament-round-selector a{
    min-height:34px;
    display:grid;
    place-items:center;
    padding:0 10px;
    border:1px solid #29465d;
    border-radius:5px;
    color:#a8bac7;
    font-size:9px;
    font-weight:850;
    text-decoration:none;
  }

  .tournament-round-selector a.is-active{
    background:#0b2d45;
    border-color:#286a8c;
    color:#6ed7ff;
  }

  .tournament-round-stage{
    overflow:hidden;
    border:1px solid #263e53;
    border-radius:7px;
    background:#0a1825;
  }

  .tournament-round-stage>header{
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 9px;
    border-bottom:1px solid #ffffff0d;
  }

  .tournament-round-stage>header h2{
    margin:0;
    font-size:11px;
  }

  .tournament-round-stage>header span{
    color:#9eb2c2;
    font-size:9px;
  }

  .tournament-round-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    padding:6px;
  }

  .tournament-standings--compact{
    min-width:0 !important;
  }
}

/* TORNEO DETALLE V5 — BREADCRUMB */
@media(min-width:1001px){
  .tournament-detail-shell{
    padding-top:1px !important;
  }

  .tournament-back{
    margin:0 0 2px !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:900 !important;
  }
}

/* TORNEO DETALLE V6 — TITULO Y FECHA EN LINEA */
@media(min-width:1001px){
  .tournament-title-line{
    display:flex !important;
    align-items:flex-end !important;
    gap:10px !important;
    min-width:0 !important;
  }

  .tournament-title-line h1{
    flex:0 1 auto !important;
    margin:2px 0 0 !important;
  }

  .tournament-title-line p{
    flex:0 0 auto !important;
    margin:0 0 1px !important;
    font-size:9.5px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
}

@media(max-width:1000px){
  .tournament-title-line{
    display:block;
  }
}

/* TORNEO DETALLE V7 — JUGADOR Y MAZO EN LINEA */
@media(min-width:1001px){
  .tournament-match--clean .tournament-match-player{
    display:grid !important;
    grid-template-columns:minmax(0,auto) minmax(0,1fr) auto !important;
    align-items:center !important;
    column-gap:8px !important;
    padding:5px 0 !important;
  }

  .tournament-match--clean .tournament-match-player strong{
    grid-column:1 !important;
    grid-row:1 !important;
    min-width:0 !important;
    font-size:10.5px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  .tournament-match--clean .tournament-match-player span{
    grid-column:2 !important;
    grid-row:1 !important;
    min-width:0 !important;
    overflow:hidden !important;
    color:#9fb4c4 !important;
    font-size:8.8px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
  }

  .tournament-match--clean .tournament-match-player b{
    grid-column:3 !important;
    grid-row:1 !important;
    font-size:9px !important;
    line-height:1 !important;
  }
}

/* TORNEO DETALLE V8 — BREADCRUMB EQUILIBRADO */
@media(min-width:1001px){
  .tournament-detail-shell{
    padding-top:3px !important;
  }

  .tournament-back{
    display:inline-flex !important;
    align-items:center !important;
    height:22px !important;
    margin:0 0 3px !important;
    padding:0 !important;
    font-size:12px !important;
    line-height:1 !important;
    font-weight:900 !important;
  }
}

/* TORNEO DETALLE V9 — ANALISIS COMPETITIVO */
@media(min-width:1001px){
  .tournament-overview-pro{
    display:grid !important;
    grid-template-columns:minmax(0,1.62fr) minmax(390px,.88fr) !important;
    gap:6px !important;
    align-items:start !important;
  }

  .tournament-analysis-side{
    display:grid !important;
    gap:6px !important;
    min-width:0 !important;
  }

  .tournament-standings--analysis{
    table-layout:fixed !important;
  }

  .tournament-standings--analysis th:nth-child(1),
  .tournament-standings--analysis td:nth-child(1){
    width:42px !important;
  }

  .tournament-standings--analysis th:nth-child(2),
  .tournament-standings--analysis td:nth-child(2){
    width:30% !important;
  }

  .tournament-standings--analysis th:nth-child(3),
  .tournament-standings--analysis td:nth-child(3){
    width:38% !important;
  }

  .tournament-standings--analysis th:nth-child(4),
  .tournament-standings--analysis td:nth-child(4){
    width:78px !important;
    text-align:center !important;
  }

  .tournament-standings--analysis th:nth-child(5),
  .tournament-standings--analysis td:nth-child(5){
    width:68px !important;
    text-align:right !important;
  }

  .tournament-standings--analysis th{
    height:25px !important;
    padding:0 9px !important;
    font-size:8px !important;
  }

  .tournament-standings--analysis td{
    height:28px !important;
    padding:0 9px !important;
    font-size:9.7px !important;
  }

  .tournament-wr{
    color:#55e7bd !important;
    font-size:9.7px !important;
  }

  .tournament-meta-performance-head,
  .tournament-meta-performance-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 86px 58px 52px 58px !important;
    align-items:center !important;
    column-gap:6px !important;
    padding:0 9px !important;
  }

  .tournament-meta-performance-head{
    height:23px !important;
    background:#07131e !important;
    color:#7f96a9 !important;
    font-size:7px !important;
    font-weight:850 !important;
    text-transform:uppercase !important;
  }

  .tournament-meta-performance-row{
    min-height:27px !important;
    border-top:1px solid #ffffff0a !important;
  }

  .tournament-meta-performance-row strong{
    min-width:0 !important;
    overflow:hidden !important;
    color:#fff !important;
    font-size:9.4px !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
  }

  .tournament-meta-performance-row span{
    color:#aabcc9 !important;
    font-size:8.3px !important;
    white-space:nowrap !important;
  }

  .tournament-meta-performance-row b{
    color:#54dbff !important;
    font-size:9px !important;
    text-align:right !important;
  }

  .tournament-meta-performance-row em{
    color:#e7eef4 !important;
    font-size:8.6px !important;
    font-style:normal !important;
    font-weight:800 !important;
    text-align:right !important;
  }

  .tournament-champion-path{
    display:grid !important;
  }

  .tournament-champion-step{
    min-height:27px !important;
    display:grid !important;
    grid-template-columns:62px minmax(0,1fr) minmax(0,.82fr) 42px !important;
    align-items:center !important;
    gap:6px !important;
    padding:0 9px !important;
    border-top:1px solid #ffffff0a !important;
  }

  .tournament-champion-step:first-child{
    border-top:0 !important;
  }

  .tournament-champion-step.is-current{
    background:#0c2a3c !important;
    box-shadow:inset 2px 0 0 #32c4ff !important;
  }

  .tournament-champion-step span{
    color:#6fd8ff !important;
    font-size:7.7px !important;
    font-weight:850 !important;
    white-space:nowrap !important;
  }

  .tournament-champion-step strong{
    min-width:0 !important;
    overflow:hidden !important;
    color:#fff !important;
    font-size:9px !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
  }

  .tournament-champion-step small{
    min-width:0 !important;
    overflow:hidden !important;
    color:#95aabc !important;
    font-size:7.7px !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
  }

  .tournament-champion-step b{
    font-size:8.3px !important;
    text-align:right !important;
  }

  .tournament-round-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1.75fr) minmax(300px,.65fr) !important;
    gap:6px !important;
    align-items:start !important;
  }

  .tournament-round-side{
    display:grid !important;
    gap:6px !important;
  }

  .tournament-round-summary{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .tournament-round-summary>div{
    min-height:44px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:8px !important;
    padding:0 9px !important;
    border-top:1px solid #ffffff0a !important;
  }

  .tournament-round-summary>div:nth-child(odd){
    border-right:1px solid #ffffff0a !important;
  }

  .tournament-round-summary span{
    color:#94a9b9 !important;
    font-size:8.5px !important;
  }

  .tournament-round-summary strong{
    color:#fff !important;
    font-size:15px !important;
  }

  .tournament-round-layout .tournament-round-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .tournament-round-layout .tournament-match--clean{
    min-height:82px !important;
  }
}

@media(max-width:1000px){
  .tournament-overview-pro,
  .tournament-round-layout{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }

  .tournament-meta-performance-head,
  .tournament-meta-performance-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 78px 54px 46px 52px;
    gap:4px;
    padding:0 7px;
  }

  .tournament-meta-performance-head{
    min-height:24px;
    align-items:center;
    color:#8198aa;
    font-size:7px;
  }

  .tournament-meta-performance-row{
    min-height:30px;
    align-items:center;
    border-top:1px solid #ffffff0a;
  }

  .tournament-champion-step{
    min-height:30px;
    display:grid;
    grid-template-columns:58px minmax(0,1fr) 42px;
    gap:5px;
    align-items:center;
    padding:0 7px;
    border-top:1px solid #ffffff0a;
  }

  .tournament-champion-step small{
    display:none;
  }

  .tournament-round-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* TORNEO DETALLE V10 — TIPOGRAFIA ANALISIS */
@media(min-width:1001px){
  .tournament-overview-pro .tournament-panel>header h2,
  .tournament-analysis-side .tournament-panel>header h2{
    font-size:12px !important;
  }

  .tournament-overview-pro .tournament-panel>header span,
  .tournament-analysis-side .tournament-panel>header span{
    font-size:9.5px !important;
  }

  .tournament-standings--analysis th{
    font-size:9px !important;
  }

  .tournament-standings--analysis td{
    font-size:10.8px !important;
  }

  .tournament-wr{
    font-size:10.8px !important;
  }

  .tournament-meta-performance-head{
    font-size:8px !important;
  }

  .tournament-meta-performance-row strong{
    font-size:10.5px !important;
  }

  .tournament-meta-performance-row span{
    font-size:9.3px !important;
  }

  .tournament-meta-performance-row b{
    font-size:10px !important;
  }

  .tournament-meta-performance-row em{
    font-size:9.6px !important;
  }

  .tournament-champion-step span{
    font-size:8.6px !important;
  }

  .tournament-champion-step strong{
    font-size:10px !important;
  }

  .tournament-champion-step small{
    font-size:8.6px !important;
  }

  .tournament-champion-step b{
    font-size:9.4px !important;
  }
}

/* TORNEO DETALLE V11 — GANADOR EN LINEA */
@media(min-width:1001px){
  .tournament-hero-winner{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:2px !important;
  }

  .tournament-hero-winner-line{
    display:flex !important;
    align-items:baseline !important;
    gap:8px !important;
    min-width:0 !important;
  }

  .tournament-hero-winner-line strong,
  .tournament-hero-winner-line small{
    margin:0 !important;
    white-space:nowrap !important;
  }
}

/* TORNEO DETALLE V12 — TABS + KPIS EN UNA LINEA */
@media(min-width:1001px){
  .tournament-detail-toolbar{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) !important;
    align-items:stretch !important;
    gap:6px !important;
    margin:4px 0 5px !important;
  }

  .tournament-detail-toolbar .tournament-tabs--two{
    width:auto !important;
    margin:0 !important;
    padding:3px !important;
    align-self:stretch !important;
    display:flex !important;
    align-items:center !important;
  }

  .tournament-detail-toolbar .tournament-tabs--two a{
    min-width:84px !important;
    height:30px !important;
    padding:0 14px !important;
    font-size:10px !important;
  }

  .tournament-detail-toolbar .tournament-detail-kpis{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:5px !important;
    margin:0 !important;
  }

  .tournament-detail-toolbar .tournament-detail-kpis article{
    min-height:36px !important;
    height:100% !important;
    padding:0 10px !important;
  }

  .tournament-detail-toolbar .tournament-detail-kpis span{
    font-size:9px !important;
  }

  .tournament-detail-toolbar .tournament-detail-kpis strong{
    font-size:17px !important;
  }
}

@media(max-width:1000px){
  .tournament-detail-toolbar{
    display:grid;
    gap:6px;
    margin:6px 0;
  }

  .tournament-detail-toolbar .tournament-tabs--two{
    margin:0;
  }

  .tournament-detail-toolbar .tournament-detail-kpis{
    margin:0;
  }
}


/* Decklists publicadas dentro del detalle de torneo. */
.tournament-deck-cell{white-space:nowrap}
.tournament-deck-cell>span{display:inline;overflow:visible;white-space:nowrap;text-overflow:clip}
.tournament-deck-cell .tournament-decklist-trigger{margin-left:7px;vertical-align:middle}
.tournament-decklist-trigger{flex:none;padding:2px 6px;border:1px solid #365a72;border-radius:4px;background:#0a1a28;color:#6ddcff;font-size:7px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
.tournament-decklist-trigger:hover{border-color:#54bfe2;background:#0f2638;color:#b6efff}
.tournament-round-deck-line{display:flex!important;align-items:center;gap:6px;min-width:0}
.tournament-round-deck-line>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tournament-decklist-dialog{width:min(1120px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #42566b;border-radius:9px;background:#091622;color:#e1e9f0;box-shadow:0 22px 70px #000c}
.tournament-decklist-dialog::backdrop{background:#02070dc9}
.tournament-decklist-dialog>header{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid #ffffff12}
.tournament-decklist-dialog h2{margin:0;font-size:14px}
.tournament-decklist-dialog header span{display:block;margin-top:3px;color:#8798aa;font-size:10px}
.tournament-decklist-dialog header button{width:34px;height:34px;border:1px solid #405268;border-radius:5px;background:#101e2e;color:#d5dee7;font-size:20px}
.tournament-decklist-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px;overflow:auto;background:#07131e}
.tournament-decklist-zones section{min-width:0}
.tournament-decklist-zones h3{margin:0 0 8px;color:#67d9ff;font-size:11px;letter-spacing:.04em}
.tournament-decklist-zones ul{margin:0;padding:0;list-style:none}
.tournament-decklist-zones li{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:31px;border-top:1px solid #ffffff0b;color:#d1dbe4;font-size:10.5px;line-height:1.25}
.tournament-decklist-zones li span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tournament-decklist-zones li b{flex:none;color:#ecf4fb;font-size:10.5px}
.tournament-decklist-zones p{margin:0;color:#7f91a3;font-size:10px}
@media(max-width:768px){
  .tournament-deck-cell{white-space:nowrap}
  .tournament-decklist-trigger{min-height:25px;padding:0 8px;font-size:8px}
  .tournament-decklist-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  .tournament-decklist-zones{grid-template-columns:1fr}
}


/* Preview de carta al pasar el mouse por una decklist publicada. */
.tournament-decklist-zones li span[data-card-preview]{cursor:zoom-in}
.cards-hover-preview{
  position:fixed;
  z-index:2400;
  width:250px;
  pointer-events:none;
  transform:translate(16px,14px);
  filter:drop-shadow(0 16px 26px rgba(0,0,0,.62));
}
.cards-hover-preview img{
  display:block;
  width:250px;
  height:auto;
  max-height:360px;
  object-fit:contain;
  border:1px solid rgba(93,204,255,.75);
  border-radius:10px;
  background:#040b12;
}
.cards-hover-preview span{
  display:block;
  margin-top:5px;
  padding:6px 8px;
  overflow:hidden;
  border:1px solid rgba(74,151,204,.35);
  border-radius:6px;
  background:#07131fee;
  color:#fff;
  font-size:11px;
  font-weight:850;
  text-align:center;
  white-space:nowrap;
  text-overflow:ellipsis;
}
@media(max-width:768px){
  .cards-hover-preview{display:none!important}
}
