.team-identity{display:flex;align-items:center;gap:7px;min-width:0;text-align:left}.team-identity>.team-name{min-width:0;overflow-wrap:anywhere}.team-mark{display:inline-flex;position:relative;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #8887;border-left:4px solid var(--team-color);border-radius:6px;overflow:hidden;background:var(--surface,#fff)}.team-mark img{width:100%;height:100%;object-fit:contain}.team-mark>span{color:var(--ink,#142a38);font:700 10px system-ui}.team-mark:has(>span){background:color-mix(in srgb,var(--team-color) 18%,var(--surface,#fff))}.team-upload{padding:0;border:0;background:none;cursor:pointer;width:36px;height:36px;display:grid;place-items:center}.team-upload .team-mark{width:32px;height:32px;flex-basis:32px}.team-style{grid-column:2/-1;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.team-style label{display:flex;align-items:center;gap:6px;margin:0;font-size:11px;color:var(--muted)}#arena-ui-root .team-style input[type=color]{width:28px;height:28px;min-height:28px;padding:2px;margin:0;border-radius:50%}.team-style .button{min-height:28px;padding:3px 6px;font-size:11px;background:transparent;border:0;box-shadow:none}.team-group-tools{display:flex;gap:6px;flex-wrap:wrap}.team-group-tools .button{font-size:12px}.ui-team{grid-template-columns:36px minmax(0,1fr) 38px repeat(3,32px);border-bottom:1px solid var(--line);padding:5px 0}.visual-team>span .team-identity{height:100%}.visual-team .team-mark{width:24px;height:24px;flex-basis:24px}.visual-team .team-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arena-screen .team-mark{width:44px;height:44px;flex-basis:44px;border-radius:9px;border-left-width:6px}.arena-screen .team-mark>span{font-size:17px}.arena-screen .team-identity{gap:10px}.arena-screen .visual-team .team-mark{width:40px;height:40px;flex-basis:40px}.arena-screen .screen-groups.count-6 .team-mark{width:40px;height:40px;flex-basis:40px}.arena-board .standings .team-identity{font-size:inherit}.ui-scoreline>.team-identity{min-width:0}
@media(max-width:760px){.ui-team{grid-template-columns:36px minmax(0,1fr) 34px repeat(3,36px)}.team-style .button{min-height:36px}.team-style label{min-height:36px}.arena-board .team-mark{width:24px;height:24px;flex-basis:24px}.arena-board .team-identity{gap:5px}.ui-scoreline .team-mark{width:24px;height:24px;flex-basis:24px}}
.arena-screen .public-match>.team-identity{font-size:28px;line-height:1.1}.arena-screen .public-match .team-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.arena-screen .public-match>.team-identity:last-child{flex-direction:row-reverse;text-align:right}.arena-screen .standings .team-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arena-screen .screen-podium .team-identity{justify-content:center;font-size:32px}.arena-screen .visual-team .team-identity{line-height:1.1}.arena-screen .visual-team .team-identity .team-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.visual-team .team-mark{flex-grow:0;flex-shrink:0}.visual-team .team-mark>span{flex:none;text-align:center}.arena-screen .screen-matches{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-place .team-mark{flex:0 0 24px;width:24px;height:24px}.visual-place .team-mark>span{font-size:10px}.visual-place>.team-identity,.visual-place>span{min-width:0}.arena-screen .visual-place .team-mark{flex:0 0 40px;width:40px;height:40px}.arena-screen .visual-place .team-mark>span{font-size:16px}.visual-place .team-name{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* Team colour sits in the row like the group colour; the swatch matches the row height. */
#arena-ui-root .ui-team{grid-template-columns:36px minmax(0,1fr) 38px repeat(3,32px)}
#arena-ui-root .ui-team input[type=color]{width:100%;height:36px;min-height:36px;padding:3px;margin:0}
@media(max-width:760px){#arena-ui-root .ui-team{grid-template-columns:36px minmax(0,1fr) 40px repeat(3,44px);gap:3px}#arena-ui-root .ui-team input[type=color]{height:44px;min-height:44px}}

/* Logo cell: click the logo to replace it, the corner × removes it (organizer-ui.js groups). */
.team-logo-cell{position:relative;display:grid;place-items:center;width:36px;height:36px}
.team-logo-x{position:absolute;top:-6px;right:-6px;width:18px;height:18px;min-height:18px;padding:0;border-radius:50%;border:1px solid var(--surface,#fff);background:var(--error,#c2414b);color:#fff;font:700 12px/1 system-ui;display:grid;place-items:center;cursor:pointer;z-index:1}
.team-logo-x:hover,.team-logo-x:focus-visible{transform:scale(1.15)}
@media(max-width:760px){.team-logo-x{width:24px;height:24px;min-height:24px;top:-8px;right:-8px}}
