/* Shared match status appearance for public pages, administration and player app. */
:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge){display:inline-block;box-sizing:border-box;height:18px;min-height:18px;padding:2px 6px;border:0;border-radius:12px;background:#1d2a3e;color:#b9c3d1;font-size:10px;font-weight:650;line-height:14px;white-space:nowrap;vertical-align:middle}
:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge).live:not(.game-score-badge){background:#ddbd7c;color:#0e1522}
:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge).finished:not(.game-score-badge){background:#1d2a3e;color:#ddbd7c}
:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge).pending,:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge).disputed{background:#293346;color:#ddbd7c}

/* Game scores use the same typography and padding as match statuses. */
.game-score-badges{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:4px;vertical-align:middle}


/* In-progress games use subtle yellow; score updates briefly flash blue. */
.game-score-badges .badge.game-score-badge.live{background:#28566a;color:#e4f2f7}

.game-score-badges .badge.game-score-badge.live::before{content:none}

:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge).game-score-badge{font-weight:600}
/* Released matches are upcoming; active matches retain the solid Live badge. */
:is(.badge,.score-match .match-meta .badge,.public-group-matches .score-match .match-meta .badge).coming-up{background:#3b3020;color:#e4c486}
