/* standing-table.css (resumen clave) */
.st3-wrap{--ts-bg:#1f1f1f; --ts-panel:#222; --ts-border:#2b2b2b; --ts-head:#262626; --ts-text:#e6e6e6; --ts-muted:#bdbdbd; --ts-strong:#fff; --colP:46px; --colTeam:220px;}
.st3-controls{display:flex;align-items:center;gap:8px;margin:8px 0 6px}
.st3-select,.st3-toggle{background:var(--ts-panel);border:1px solid var(--ts-border);color:var(--ts-text);border-radius:8px;padding:6px 8px;font-size:1rem}
.st3-toggle{cursor:pointer;padding:6px 10px}
.st3-toggle[aria-pressed="false"]{background:#323232;color:#e6e6e6}

.st3-scroll{overflow:auto;border:1px solid var(--ts-border);border-radius:10px;background:var(--ts-bg);box-shadow:0 2px 10px rgba(0,0,0,.25);-webkit-overflow-scrolling:touch;position:relative;isolation:isolate}
.st3-table{width:max-content;border-collapse:separate;border-spacing:0;table-layout:fixed;color:var(--ts-text);font-size:.98rem}
.st3-table thead th{position:sticky;top:0;background:var(--ts-head);color:#ddd;font-weight:700;padding:9px 10px;border-bottom:1px solid var(--ts-border);z-index:10;cursor:pointer;white-space:nowrap;font-size:1rem;background-clip:padding-box}
.st3-table tbody td{background:var(--ts-panel);padding:9px 10px;border-bottom:1px solid var(--ts-border);vertical-align:middle;text-align:center;white-space:nowrap;background-clip:padding-box}
.st3-table tbody tr:last-child td{border-bottom:none}

.sticky-col{position:sticky;background-clip:padding-box}
.col-1{left:0;min-width:var(--colP);width:var(--colP);text-align:center;z-index:12}
.col-2{left:var(--colP);min-width:var(--colTeam);width:var(--colTeam);text-align:left;z-index:11}
tbody td.col-1{position:sticky;left:0;z-index:9;box-shadow:2px 0 0 rgba(0,0,0,.15)}
tbody td.col-2{position:sticky;left:var(--colP);z-index:8;box-shadow:2px 0 0 rgba(0,0,0,.15)}

.left{text-align:left}
.mono{font-variant-numeric:tabular-nums}
.team-cell{display:flex;align-items:center;justify-content:flex-start;gap:8px;overflow:hidden}
.badge{height:18px;width:18px;flex:0 0 auto;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}
.team-link{color:var(--ts-text);text-decoration:none}
.team-link:hover{text-decoration:underline}
.team-link.name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(var(--colTeam) - 54px)}
.team-link.abbr{display:none;font-weight:700;letter-spacing:.4px}

th,td{min-width:62px}
th:nth-child(11),td:nth-child(11){min-width:92px}
th:nth-child(14),td:nth-child(14){min-width:86px}

.dots{display:flex;gap:6px;align-items:center;justify-content:center}
.dot{width:9px;height:9px;border-radius:3px;border:1px solid #3a3a3a;background:#2a2a2a;display:inline-block}
.dot.win{background:#1f7a4a;border-color:#2a9b61}
.dot.draw{background:#3a3a3a;border-color:#555}
.dot.loss{background:#7a2a2a;border-color:#9b3a3a}

.st3-footnote{display:flex;gap:12px;margin-top:6px;color:var(--ts-muted);font-size:.92rem}
.st3-footnote small{display:block}
.no-sticky .sticky-col{position:relative;left:auto;z-index:auto}
.no-sticky thead th.col-1,.no-sticky thead th.col-2,.no-sticky tbody td.col-1,.no-sticky tbody td.col-2{will-change:transform;background:var(--ts-panel)}
.no-sticky thead th.col-1,.no-sticky thead th.col-2{background:var(--ts-head)}

@media (max-width:1024px){.st3-wrap{--colTeam:190px}.team-link.name{max-width:calc(var(--colTeam)-54px)}.st3-table{font-size:.96rem}.st3-table thead th{font-size:.98rem}}
@media (max-width:768px){
  .st3-wrap{--colP:42px;--colTeam:140px}
  th,td{min-width:56px;padding:8px 8px}
  .badge{height:16px;width:16px}
  .team-link.name{display:none}.team-link.abbr{display:inline-block}
  .st3-table{font-size:.94rem}.st3-table thead th{font-size:.96rem}
}
@media (max-width:520px){
  .st3-wrap{--colP:40px;--colTeam:120px}
  th,td{min-width:50px;padding:7px 6px}
  .badge{height:14px;width:14px}
  .st3-table{font-size:.92rem}.st3-table thead th{font-size:.94rem}
}
