/* Theme 5.17.293: type only inside club profiles, including lazy tab contents.
   Keep tab names/order, DOM, loaders, card grids, font families and weights. */
body.tessirve-theme .ms-app.ms-team-profile{--ms-team-facts-font-size:13.3px;--ms-team-honors-font-size:11px;--ms-profile-tabs-font-size:15px}
body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;min-width:0!important;gap:4px!important;justify-content:flex-start!important}
body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav>:is(button,a){font-size:15px!important;flex:1 0 auto!important;min-width:max-content!important;white-space:nowrap!important;text-align:center!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-facts small{font-size:12.5px!important;line-height:1.2!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-facts>span:not(.is-title-fact)>strong{font-size:13.3px!important;line-height:1.25!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-identity-copy>p{font-size:17px!important;line-height:1.3!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-title-summary :is(.ms-team-title-latest-label,.ms-team-title-ranking-label){font-size:9.5px!important;line-height:1.15!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-title-latest-season{font-size:10.5px!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-summary-stats .ms-stat>span{font-size:10.2px!important;line-height:1.1!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-summary-stats .ms-stat>strong{font-size:17.5px!important;line-height:1.05!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-form-date{font-size:10.5px!important;line-height:1.15!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-form-score{font-size:12.5px!important;line-height:1.1!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-club-identity .ms-definition-list dt{font-size:14px!important;line-height:1.3!important;overflow-wrap:break-word!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-club-identity .ms-definition-list dd{font-size:17px!important;line-height:1.3!important;overflow-wrap:break-word!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-history-tab .ms-rival-name{font-size:13.5px!important;line-height:1.15!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-history-tab .ms-rival-pj{font-size:12px!important;line-height:1.15!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-history-tab .ms-rival-lead-pill{font-size:10.5px!important;line-height:1.15!important}
body.tessirve-theme .ms-app.ms-team-profile .ms-team-analytics .ms-stat>span{font-size:13px!important;line-height:1.2!important}
body.tessirve-theme .ms-app.ms-team-profile .tv-root :is(.tv-cup-name,.tv-year){font-size:12px!important;line-height:1.2!important}
@media(max-width:680px){
 body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav{width:calc(100% + 24px)!important;max-width:none!important;margin-inline:-12px!important;gap:2px!important;padding:3px!important;justify-content:flex-start!important}
 body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav>:is(button,a){font-size:clamp(11.4px,3.2vw,14px)!important;line-height:1.15!important;padding:8px 1px!important;min-height:36px!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-last-ten .ms-compact-team-name{font-size:13.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-last-ten .ms-compact-team-copy>strong{height:auto!important;min-height:0!important;line-height:1.1!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-club-identity .ms-definition-list dd{font-size:16px!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-last-five-form.ms-team-form-card .ms-team-form-date{font-size:11px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-last-five-form.ms-team-form-card .ms-team-form-score{font-size:13px!important;line-height:1.1!important}
}
/* Small labels in Resumen were still 8–11 px. Increase text, retain card grids. */
@media(max-width:680px){
 body.tessirve-theme .ms-app.ms-team-profile .ms-summary-stats .ms-stat>span{font-size:12px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-summary-stats .ms-stat>strong{font-size:18.5px!important;line-height:1.05!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-next-match-card-head>span,
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-snapshot-v51788>:is(.ms-team-snapshot-last-win,.ms-team-snapshot-last-loss,.ms-team-snapshot-biggest)>span{font-size:11.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-next-match-main.ms-next-match-showcase time{font-size:15px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-next-match-history-line .ms-next-match-h2h strong{font-size:11.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-snapshot-v51788>:is(.ms-team-snapshot-last-win,.ms-team-snapshot-last-loss,.ms-team-snapshot-biggest) a>small strong{font-size:14px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:break-word!important;overflow:visible!important;text-overflow:clip!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-snapshot-v51788>:is(.ms-team-snapshot-last-win,.ms-team-snapshot-last-loss,.ms-team-snapshot-biggest) a>small em{font-size:10.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-last-five-form.ms-team-form-card>span:first-child{font-size:13.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-section-banner h2{font-size:clamp(14.5px,2.5vw,16px)!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-section-banner-action{font-size:11.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-last-ten .ms-compact-goal-item b{font-size:9.5px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-last-ten .ms-compact-goal-item small{font-size:8.8px!important;line-height:1.15!important}
 body.tessirve-theme .ms-app.ms-team-profile .ms-team-last-ten .ms-compact-venue{font-size:10px!important;line-height:1.15!important}
}
@media(max-width:380px){
 body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav{gap:1px!important;padding:2px!important}
 body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav>:is(button,a){padding-inline:1px!important}
}
@media(max-width:340px){
 body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav{width:calc(100% + 36px)!important;max-width:none!important;margin-inline:-18px!important;padding:3px 0!important}
 body.tessirve-theme .ms-app.ms-team-profile>.ms-tabs>.ms-profile-nav>:is(button,a){padding-inline:0!important;font-size:11.3px!important}
}
