/* Scoped to Market titles and Match Hero. Probability and history layouts are unchanged. */
.rt-market-title .rt-team-logo,.pd-md-hero .rt-team-logo { position:relative; display:inline-flex; flex:0 0 24px; width:24px; height:24px; align-items:center; justify-content:center; overflow:hidden; border-radius:6px; background:var(--rt-surface-2); }
.rt-market-title .rt-team-logo img,.pd-md-hero .rt-team-logo img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; background:var(--rt-surface-1); }
.rt-team-logo img[hidden] { display:none; }
.rt-team-initial { color:var(--rt-muted); font-size:10px; line-height:1; font-weight:600; }
.pd-market-cards .rt-market-title .rt-market-team { display:flex; align-items:center; gap:7px; }
.pd-market-cards .rt-market-title .rt-market-team.is-away { flex-direction:row-reverse; }
.rt-market-title .rt-team-name { min-width:0; overflow-wrap:anywhere; }
html:root .pd-md-v2 .pd-md-hero-team,html:root .pd-md-v2 .pd-md-hero-team.is-away { flex-direction:column; align-items:center; justify-content:flex-start; min-width:0; gap:10px; }
html:root .pd-md-v2 .pd-md-hero-team .pd-md-hero-name,html:root .pd-md-v2 .pd-md-hero-team.is-away .pd-md-hero-name { text-align:center; max-width:100%; overflow-wrap:anywhere; }
.pd-md-hero .rt-team-logo { flex-basis:52px; width:52px; height:52px; border-radius:10px; }
.pd-md-hero .rt-team-initial { font-size:16px; }
@media(max-width:600px) { .pd-md-hero .rt-team-logo { flex-basis:40px; width:40px; height:40px; } .rt-market-title .rt-team-logo { flex-basis:22px; width:22px; height:22px; } }

html:root .pd-md-v2 .pd-md-hero-teams { align-items:stretch; }
html:root .pd-md-v2 .pd-md-hero-vs { align-self:center; }
html:root .pd-md-v4 .pd-md-hero-teams .pd-md-hero-team { justify-content:flex-start; }
