/* Mirrored broadcast HUD: club crests at the edges, playing kits next to the score. */
body.match-screen .scoreboard{
 left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;
 top:max(7px,env(safe-area-inset-top))!important;transform:none!important;width:auto!important;
 max-width:none!important;height:auto!important;min-height:58px!important;
 grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr)!important;gap:8px!important;
 padding:5px 7px!important;
}
body.match-screen .scoreboard .team-name{
 grid-template-columns:40px minmax(0,1fr) 18px 26px!important;
 grid-template-rows:18px 16px 5px!important;gap:0 5px!important;
}
body.match-screen .scoreboard .team-name.away{grid-template-columns:26px 18px minmax(0,1fr) 40px!important;text-align:right!important}
body.match-screen .scoreboard .team-name>.score-crest38{grid-column:1!important;grid-row:1/4!important;width:40px!important;height:44px!important;justify-self:start}
body.match-screen .scoreboard .team-name.away>.score-crest38{grid-column:4!important;justify-self:end}
body.match-screen .scoreboard .team-name>strong{grid-column:2/4!important;grid-row:1!important;font-size:11px!important;text-align:left!important}
body.match-screen .scoreboard .team-name.away>strong{text-align:right!important}
body.match-screen .scoreboard .team-name>.score-nick38{grid-column:2!important;grid-row:2!important;text-align:left!important}
body.match-screen .scoreboard .team-name.away>.score-nick38{grid-column:3!important;text-align:right!important}
body.match-screen .scoreboard .team-name>.team-level{grid-column:3!important;grid-row:2!important;justify-self:end!important}
body.match-screen .scoreboard .team-name.away>.team-level{grid-column:2!important;justify-self:start!important}
body.match-screen .scoreboard .team-name>.dismissals{grid-column:2/4!important;grid-row:3!important;justify-content:flex-start}
body.match-screen .scoreboard .team-name.away>.dismissals{justify-content:flex-end}
body.match-screen .scoreboard .team-name>i{display:block!important;grid-column:4!important;grid-row:1/4!important;width:26px!important;height:22px!important;justify-self:end;align-self:center;border-radius:3px!important}
body.match-screen .scoreboard .team-name.away>i{grid-column:1!important;justify-self:start}
body.match-screen .arena-back{top:74px!important;left:max(10px,env(safe-area-inset-left))!important}
body.match-screen .arena-menu{top:74px!important;right:max(10px,env(safe-area-inset-right))!important}
/* Keep the event strip stable between significant events; retain readable type. */
body.match-screen #event-callout{left:max(12px,env(safe-area-inset-left))!important;right:190px!important;bottom:10px!important;width:auto!important;max-width:none!important;min-height:36px!important;padding:5px 9px!important;font-size:12px!important;line-height:1.25!important;border-radius:8px!important}
body.match-screen #event-callout small{font-size:10px!important;line-height:1.2!important;margin-top:2px!important}
#match-plan-panel #match-start-kind{display:block;font-size:clamp(14px,1.9vw,19px)!important;line-height:1.25!important;letter-spacing:.4px!important;font-weight:850;color:#f5e5bc;text-wrap:balance}
@media(max-width:680px){body.match-screen .scoreboard{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr)!important;gap:5px!important}body.match-screen .scoreboard .team-name{grid-template-columns:32px minmax(0,1fr) 14px 22px!important;gap:0 4px!important}body.match-screen .scoreboard .team-name.away{grid-template-columns:22px 14px minmax(0,1fr) 32px!important}body.match-screen .scoreboard .team-name>.score-crest38{width:32px!important;height:39px!important}body.match-screen .scoreboard .team-name>i{width:22px!important;height:20px!important}body.match-screen .scoreboard .team-name>strong{font-size:10px!important}body.match-screen #event-callout{right:180px!important;font-size:11px!important}}
