.team-tournament-stats{box-sizing:border-box;min-width:0;margin:20px 0;padding:22px;background:linear-gradient(120deg,#0c1d30,#081625);border:1px solid #27495e;border-radius:12px;color:#eef5fc;font-family:Inter,Arial,sans-serif}
.team-tournament-stats .tts-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.team-tournament-stats .tts-head h3{margin:0;min-width:0;color:#48dced;font:700 28px/1.05 'Barlow Condensed',Impact,sans-serif;letter-spacing:0;text-transform:none}
.team-tournament-stats .tts-switch{display:flex;align-items:center;gap:3px;flex:none}.team-tournament-stats .tts-switch button{display:flex;align-items:center;justify-content:center;width:18px;height:34px;padding:0;border:0;background:none;color:#48dced;font:28px/1 Arial;cursor:pointer}.team-tournament-stats .tts-switch span{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #38738a;border-radius:50%;background:#071826}.team-tournament-stats .tts-switch img{width:42px;height:42px;object-fit:contain}
.team-tournament-stats .tts-season{border-top:1px solid #274052;margin:23px 0 17px;padding-top:18px}.team-tournament-stats .tts-season label{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#8c9fb5;font-size:7px;letter-spacing:1.3px}.team-tournament-stats select{box-sizing:border-box;max-width:58%;padding:9px 10px;background:#0c2538;border:1px solid #2a5369;border-radius:5px;color:#caeff8;font:600 10px Inter,Arial,sans-serif;letter-spacing:0}
.team-tournament-stats .tts-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team-tournament-stats .tts-main>div{display:flex;align-items:center;gap:13px;padding:17px 13px;border:1px solid #2c5068;border-radius:7px;background:#102b40;min-width:0}.team-tournament-stats .tts-main strong{display:block;font:700 42px/.95 'Barlow Condensed',Impact,sans-serif;font-variant-numeric:tabular-nums}.team-tournament-stats .tts-main small{display:block;color:#9bb8cd;font-size:6px;letter-spacing:.8px;margin-top:7px}.team-tournament-stats .tts-swords{font-size:27px;color:#48dced}.team-tournament-stats .tts-main>.tts-mvp{background:linear-gradient(120deg,#292a27,#19252c);border-color:#695c37}.team-tournament-stats .tts-mvp img{width:37px;height:31px;object-fit:contain}.team-tournament-stats .tts-mvp strong{color:#f3d287}
.team-tournament-stats .tts-combat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:23px 0 0;text-align:center}.team-tournament-stats .tts-combat>div+div{border-left:1px solid #274052}.team-tournament-stats dt{font-size:8px;letter-spacing:1.5px;color:#8c9fb5}.team-tournament-stats dd{margin:8px 0 4px;font:600 36px/1.1 'Barlow Condensed',Impact,sans-serif;overflow-wrap:anywhere}.team-tournament-stats .tts-combat>div:first-child dd{color:#48dced}.team-tournament-stats .tts-combat small{font-size:8px;color:#718ba3}.team-tournament-stats .tts-note{margin:20px 0 0;font-size:10px;line-height:1.6;color:#718da4}.team-tournament-stats button:focus-visible,.team-tournament-stats select:focus-visible{outline:2px solid #48dced;outline-offset:3px}
@media(max-width:360px){.team-tournament-stats{padding:16px}.team-tournament-stats .tts-head h3{font-size:23px}.team-tournament-stats .tts-switch span{width:44px;height:44px}.team-tournament-stats .tts-switch img{width:34px;height:34px}.team-tournament-stats .tts-main>div{gap:8px;padding:14px 10px}.team-tournament-stats .tts-main strong{font-size:34px}.team-tournament-stats .tts-mvp img{width:29px;height:25px}}
/* The team page fixes the tournament; no cross-tournament controls. */
.team-tournament-stats .tts-main>.tts-winrate{background:linear-gradient(120deg,#133b3a,#102b31);border-color:#316866;color:#78e5cf;justify-content:center;text-align:center}
@media(max-width:700px){
 .team-tournament-stats{margin:9px 0;padding:13px 14px;border-radius:10px}
 .team-tournament-stats .tts-head{gap:9px}.team-tournament-stats .tts-head h3{font-size:23px;line-height:1.04}
 .team-tournament-stats .tts-switch span{width:41px;height:41px}.team-tournament-stats .tts-switch img{width:32px;height:32px}
 .team-tournament-stats .tts-season{margin:10px 0;padding-top:9px}.team-tournament-stats .tts-season label{font-size:6px;letter-spacing:.9px}.team-tournament-stats select{padding:6px 8px;font-size:10px}
 .team-tournament-stats .tts-main{gap:8px}.team-tournament-stats .tts-main>div{padding:10px 12px;gap:9px}.team-tournament-stats .tts-main strong{font-size:29px}.team-tournament-stats .tts-main small{font-size:6px;margin-top:4px}.team-tournament-stats .tts-swords{font-size:22px}
 .team-tournament-stats .tts-combat{margin-top:12px}.team-tournament-stats dt{font-size:7px;letter-spacing:1px}.team-tournament-stats dd{font-size:28px;margin:4px 0 2px}.team-tournament-stats .tts-combat small{font-size:7px}
 .team-tournament-stats .tts-note{font-size:8px;line-height:1.35;margin-top:10px}
 .team-profile-view:has(.team-tournament-stats) .profile-poster-shell{margin:0 auto 8px}
 #profileOverlay:has(.team-tournament-stats){padding:8px 10px 100px}
 #profileOverlay:has(.team-tournament-stats) .profile-card{padding:10px}
 #profileOverlay:has(.team-tournament-stats) .scrim-profile-account{margin-bottom:8px;padding:0}
}
@media(max-width:700px){
 .team-tournament-stats{padding:10px 12px}
 .team-tournament-stats .tts-head h3{font-size:21px;line-height:1}
 .team-tournament-stats .tts-switch span{width:36px;height:36px}.team-tournament-stats .tts-switch img{width:29px;height:29px}
 .team-tournament-stats .tts-season{margin:8px 0;padding-top:7px}.team-tournament-stats .tts-season label{margin:0}
 .team-tournament-stats select{height:27px;min-height:27px;padding:4px 7px;line-height:17px}
 .team-tournament-stats .tts-main>div{padding:8px 10px}.team-tournament-stats .tts-main strong{font-size:25px;line-height:1}.team-tournament-stats .tts-main small{margin-top:3px}
 .team-tournament-stats .tts-combat{margin:8px 0 0}.team-tournament-stats dd{font-size:24px;margin:2px 0 0;line-height:1}
 .team-tournament-stats .tts-note{display:none}
}
@media(max-width:700px) and (max-height:600px){.team-tournament-stats .tts-head h3{font-size:19px}}

@media(max-width:700px){.profile-poster-shell:has(+ .team-tournament-stats){margin:0 auto 8px}}

/* Preserve readable roster artwork regardless of viewport height. */
.profile-poster-shell:has(+ .team-tournament-stats){width:100%!important;max-width:none!important}
.team-tournament-stats .tts-season select{box-sizing:border-box!important;flex:0 0 auto!important;width:112px!important;max-width:45%!important;height:27px!important;min-height:27px!important;margin:0!important;padding:4px 6px!important;font:600 10px/17px Inter,Arial,sans-serif!important;letter-spacing:0!important;border-radius:5px!important}
