[data-team-rankings] { margin-top: 18px; }
[data-team-rankings] [hidden] { display:none !important; }
.team-rank-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding:5px; margin-bottom:16px; background:#e8edf6; border:1px solid #e0e7f2; border-radius:15px; }
.team-rank-tabs button { appearance:none; min-height:44px; border:0; border-radius:11px; background:transparent; color:#64748b; font:600 15px/1.3 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; cursor:pointer; }
.team-rank-tabs button[aria-selected="true"] { color:#1d4ed8; background:#fff; box-shadow:0 2px 7px #142b5010; }
.team-rank-tabs button:focus-visible { outline:2px solid #2454e9; outline-offset:2px; }
.team-rank-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.team-rank-heading h2 { margin:0; color:var(--ink,#182235); font-size:17px; line-height:1.45; }
.team-rank-heading>span { flex-shrink:0; color:#64748b; font-size:12px; }
.team-rank-note { color:#64748b; font-size:12px; line-height:1.7; margin:8px 0 14px; }
.team-rank-more { margin-bottom:16px; }
@media(max-width:360px) { .team-rank-heading h2 { font-size:16px; } .team-rank-tabs button { font-size:14px; } }
