/* Approved shared scoreboard. Load after the legacy page-specific styles. */
.cc-scoreboard.cc-scoreboard {
  --score-player-min:190px; --score-cell-width:68px;
  box-sizing:border-box; display:block!important;
  width:calc(var(--score-player-min) + var(--live-column-count) * var(--score-cell-width) + 4px)!important;
  min-width:0!important; max-width:100%!important;
  margin:0!important; padding:0!important; border:2px solid #7fb4cf!important; border-radius:13px!important;
  overflow:hidden!important; background:#edf7fb!important; color:#17343f; box-shadow:none!important;
}
.cc-scoreboard .cc-scoreboard-header {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0; padding:12px 16px;
  min-height:48px; border-bottom:1px solid #7fb4cf; background:#dceee4; color:#235b45;
}
.cc-scoreboard[data-save-state="error"] .cc-scoreboard-header {background:#fbe1e3;color:#a72c39}
.cc-scoreboard:is([data-save-state="saving"],[data-save-state="dirty"]) .cc-scoreboard-header {background:#edf2f4;color:#536b75}
.cc-scoreboard .cc-scoreboard-format {display:flex;align-items:center;min-width:0;gap:8px;flex:1}
.cc-scoreboard .match-format-tab.score-format-info {
  display:inline-flex; align-items:center; gap:8px; flex:none; max-width:100%; width:auto; height:auto; min-height:32px;
  margin:0; padding:0; border:0; border-radius:0; background:transparent; color:inherit; box-shadow:none;
  font:inherit; font-size:14px; font-weight:750; text-align:left;
}
.cc-scoreboard .cc-format-name {font:inherit;overflow-wrap:anywhere}
.cc-scoreboard .score-tab-info {display:inline-grid!important;place-items:center;width:18px!important;height:18px!important;flex:0 0 18px;border:1px solid currentColor;border-radius:50%;font:14px Georgia,serif!important}
.cc-scoreboard .cc-scoreboard-status {display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:44%;font-size:12px;text-align:right}
.cc-scoreboard [data-score-save-status] {color:inherit;line-height:1.35}
.cc-scoreboard [data-score-retry] {font-size:11px;padding:4px 8px;min-height:28px;margin:0}
.cc-scoreboard .cc-format-select {font:inherit;font-size:14px;font-weight:750;color:inherit;background:transparent;border:0;padding:5px 0;min-width:0;width:100%;margin:0}
.cc-scoreboard .live-score-scroll-wrap,.cc-scoreboard .live-score-frame {display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;position:relative;overflow:hidden}
.cc-scoreboard .live-score-grid {display:block!important;box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#dceff8!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain}
.cc-scoreboard .live-score-heading-row,.cc-scoreboard .live-score-row {
  display:grid!important;grid-template-columns:minmax(var(--score-player-min),1fr) repeat(var(--live-column-count),minmax(var(--score-cell-width),.25fr))!important;
  width:100%!important;min-width:calc(var(--score-player-min) + var(--live-column-count) * var(--score-cell-width))!important;gap:0!important;margin:0!important;align-items:stretch!important;
}
.cc-scoreboard .live-score-heading-row {min-height:39px}
.cc-scoreboard .live-score-heading-row>strong {display:grid;place-items:center;min-width:0!important;margin:0;padding:10px 3px;border-left:1px solid #b8d6e4;font-size:12px;color:#466674;white-space:nowrap}
.cc-scoreboard .live-score-heading-row>.tiebreak-heading {color:#075d89;background:#e3f3fa}
.cc-scoreboard .live-score-row {min-height:74px}
.cc-scoreboard .live-score-player {display:flex!important;align-items:center;gap:10px;box-sizing:border-box;min-height:74px!important;min-width:0!important;padding:10px 12px!important;background:#edf7fb;border:0!important;border-bottom:1px solid #b8d6e4!important;overflow:hidden}
.cc-scoreboard .live-score-player::before {display:none!important}
.cc-scoreboard .live-score-player>strong {font-size:17px!important;line-height:1.25;min-width:0;white-space:normal!important;overflow-wrap:anywhere}
.cc-scoreboard .live-score-avatars {display:flex;align-items:center;gap:3px;flex:none}
.cc-scoreboard .score-player-avatar {display:block;flex:none;background:transparent;border:0;padding:0;margin:0;min-height:0;border-radius:50%}
.cc-scoreboard .live-score-player .player-avatar {box-sizing:border-box!important;position:relative!important;display:block!important;flex:none!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;aspect-ratio:1!important;overflow:hidden!important;border-radius:50%!important}
.cc-scoreboard .player-avatar>img {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.cc-scoreboard .live-score-cell {display:flex!important;align-items:stretch!important;min-height:100%;padding:0!important;margin:0!important;min-width:0}
.cc-scoreboard .live-score-cell>input,.cc-scoreboard .live-score-cell>.cc-score-value {
  box-sizing:border-box!important;display:flex;align-items:center;justify-content:center;width:100%!important;min-width:0!important;height:100%!important;min-height:74px!important;margin:0!important;padding:0 3px!important;
  border:0!important;border-left:1px solid #b8d6e4!important;border-bottom:1px solid #b8d6e4!important;border-radius:0!important;box-shadow:none!important;
  background:#f8fcfd!important;color:#17343f!important;font:inherit;font-size:25px!important;font-weight:850!important;text-align:center;opacity:1;
}
.cc-scoreboard .live-score-cell>.set-winner {background:#cde8f4!important;color:#075d89!important}
.cc-scoreboard .live-tiebreak-cell>* {background:#e3f3fa!important}
.cc-scoreboard .live-score-row:last-child .live-score-player,.cc-scoreboard .live-score-row:last-child .live-score-cell>* {border-bottom:0!important}
.cc-scoreboard .live-score-cell>input:focus {position:relative;outline:0!important;box-shadow:inset 0 0 0 2px #2583bc!important}
.cc-scoreboard input::-webkit-inner-spin-button,.cc-scoreboard input::-webkit-outer-spin-button {-webkit-appearance:none;margin:0}
.cc-scoreboard input[type="number"] {-moz-appearance:textfield;appearance:textfield}
.cc-scoreboard .score-scroll-controls {position:absolute;inset:0;pointer-events:none}
.cc-scoreboard .score-scroll-cue {position:absolute;top:50%;transform:translateY(-50%);display:none;pointer-events:auto;width:29px;height:29px;min-height:29px;padding:0;border:1px solid #7fb4cf;border-radius:50%;background:#edf7fb;color:#075d89;font-size:23px;line-height:1}
.cc-scoreboard .score-scroll-cue.visible {display:grid;place-items:center}.cc-scoreboard .score-scroll-cue-left{left:4px}.cc-scoreboard .score-scroll-cue-right{right:4px}
.cc-scoreboard .cc-scoreboard-error {margin:0;padding:10px 14px;background:#fff2f3;color:#9b2937;font-size:12px}
.cc-scoreboard [hidden] {display:none!important}
#activityScoreSlot #currentMatchScoreboard,#currentMatchScoreboard.current-match-scoreboard,#finalizeScoreboard,#activityInlineScore {padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;width:100%!important;max-width:100%!important}
#activityScoreSlot #currentMatchScoreboard {max-width:850px!important}
#guestScore {padding:0;background:transparent;border:0;border-radius:0}
@media(max-width:700px){
  .cc-scoreboard.cc-scoreboard{--score-player-min:145px;--score-cell-width:48px;border-radius:10px!important}
  .cc-scoreboard .cc-scoreboard-header{padding:9px 10px;gap:8px;min-height:42px}
  .cc-scoreboard .match-format-tab.score-format-info,.cc-scoreboard .cc-format-select{font-size:11px}
  .cc-scoreboard .cc-scoreboard-status{font-size:10px;gap:4px}
  .cc-scoreboard .live-score-heading-row>strong{font-size:9px;padding:8px 2px}
  .cc-scoreboard .live-score-player{gap:7px;padding:9px 8px!important}
  .cc-scoreboard .live-score-player>strong{font-size:13px!important}
  .cc-scoreboard .live-score-player .player-avatar{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important}
  .cc-scoreboard .live-score-cell>input,.cc-scoreboard .live-score-cell>.cc-score-value{font-size:22px!important}
}
