.team-settings-card{max-width:760px;background:#fff;color:#142e4b;border:1px solid #d8e1eb;border-radius:16px;padding:24px;font:400 15px/1.5 Inter,system-ui,sans-serif}.team-settings-card h2{font:700 24px Inter,system-ui,sans-serif;margin:0 0 8px}.team-settings-card h3{font:650 18px Inter,system-ui,sans-serif;margin:24px 0 12px}.team-settings-card p{color:#53677e}.team-settings-card label{display:block;font-weight:600;margin:12px 0}.team-settings-card input:not([type=range]){display:block;width:100%;padding:12px;border:1px solid #b8c8da;border-radius:8px;font:inherit;margin-top:6px;box-sizing:border-box}.team-settings-card button,.team-settings-card .image-choose{display:inline-block;min-height:44px;padding:10px 16px;border-radius:8px;border:1px solid #b8c8da;background:#f1f5f9;color:#142e4b;font:600 14px Inter,system-ui,sans-serif;cursor:pointer;margin:6px 8px 6px 0}.team-settings-card button.primary{background:#102b49;color:#fff}.team-settings-card button:disabled{opacity:.5;cursor:default}.team-settings-card canvas{display:block;width:min(100%,256px);height:auto;border:2px solid #b8c8da;border-radius:16px;background:repeating-conic-gradient(#edf2f7 0% 25%,#fff 0% 50%) 0/20px 20px}.team-settings-card input[type=range]{display:block;width:min(100%,360px)}.team-settings-card .ts-message{min-height:24px;color:#31516a}.team-settings-card .ts-message.error{color:#a52626}.team-settings-card .ts-current{width:88px;height:88px;object-fit:cover;border-radius:16px;border:1px solid #d0dce8}.team-settings-link{display:inline-block;font:600 13px Inter,system-ui,sans-serif;color:inherit;margin-left:12px}.sh-emblem img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.team-identity-photo{display:inline-block!important;width:56px!important;height:56px!important;object-fit:cover;vertical-align:middle;border:2px solid #c5d5e5;border-radius:12px;margin-right:12px}.team-identity-photo[hidden]{display:none!important}@media(max-width:600px){.team-settings-card{padding:18px}.team-identity-photo{width:40px!important;height:40px!important}}

.hub-team-photo{width:32px;height:32px;object-fit:cover;border:1px solid #becddd;border-radius:8px;vertical-align:middle;margin-right:8px}.hub-team-photo[hidden],.sh-emblem img[hidden]{display:none!important;}

/* Team identity stays prominent across roster and matchup surfaces. */
html body.roster-scoreboard .page .team-hero h1.team-name-title{display:flex;align-items:center;gap:18px;font:700 36px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-.025em;}
html body.roster-scoreboard .page .team-hero .team-league-label{font:500 16px/1.5 Inter,system-ui,sans-serif!important;}
html body .team-identity-photo{width:96px!important;height:96px!important;flex-shrink:0;margin-right:0;border-radius:18px;}
html body .hub-team-photo{width:64px;height:64px;border-radius:14px;}
html body .hub-matchup-team-link .hub-team-photo{display:block;margin:0 auto 8px;}
html body #mrb-team-name{font:700 28px/1.3 Inter,system-ui,sans-serif;}
@media(max-width:600px){
 html body.roster-scoreboard .page .team-hero h1.team-name-title{font-size:26px!important;gap:12px;}
 html body.roster-scoreboard .page .team-hero .team-league-label{font-size:14px!important;}
 html body .team-identity-photo{width:64px!important;height:64px!important;border-radius:13px;}
 html body .hub-team-photo{width:48px;height:48px;border-radius:11px;}
 html body #mrb-team-name{font-size:23px;}
}

.team-settings-card select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #b8c8da;border-radius:8px;background:#fff;color:#142e4b;font:inherit;box-sizing:border-box;}
.team-settings-card [hidden]{display:none!important;}

/* Reserve the same photo space before loading, after failure, and without an upload. */
html body .hub-matchup-team-link .hub-team-photo-slot{display:block;width:64px;height:64px;margin:0 auto 8px;}
html body .hub-matchup-team-link .hub-team-photo-slot .hub-team-photo{box-sizing:border-box;width:100%;height:100%;margin:0;}
@media(max-width:600px){html body .hub-matchup-team-link .hub-team-photo-slot{width:48px;height:48px;}}
