/* Uploaded logos keep their own alpha channel instead of a team-colour tile. */
.team-badge.has-logo:has(>img),.team-badge:has(>img),.logo-preview:has(>img),#team-profile .profile-emblem:has(>img){background:none;border-color:transparent;box-shadow:none;clip-path:none;border-radius:0;padding:0;overflow:visible}
.team-badge:has(>img)>img,.logo-preview:has(>img)>img,#team-profile .profile-emblem:has(>img)>img{display:block;width:100%;height:100%;object-fit:contain;background:transparent;border-radius:0}
.team-cell:hover .team-badge:has(>img),.leader-line:hover .team-badge:has(>img){box-shadow:none}
