.scores-scoreboard {
  --scores-summary-team-column: 20rem;
  display: grid;
  gap: 1rem;
  max-width: 88rem;
  min-width: 0;
  width: 100%;
}

.scores-heading-controls {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
}

.scores-mobile-week-form {
  display: none;
}

.scores-scoreboard:not(.scores-week-scroll-overflowing) {
  max-width: min(100%, var(--scores-week-selector-width, 88rem));
}

.scores-scoreboard>turbo-frame {
  display: block;
  min-width: 0;
  width: 100%;
}

.scores-week-scroll {
  align-items: stretch;
  display: flex;
  gap: 0.45rem;
  margin: -0.35rem 0 0;
  max-width: 100%;
  min-width: 0;
}

.scores-week-selector {
  display: flex;
  gap: 0.5rem;
  margin: -0.35rem 0 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  white-space: nowrap;
}

.scores-week-scroll .scores-week-selector {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  padding-bottom: 0;
  scrollbar-width: none;
}

.scores-scoreboard:not(.scores-week-scroll-overflowing) .scores-week-selector {
  justify-content: space-between;
}

.scores-week-scroll .scores-week-selector::-webkit-scrollbar {
  display: none;
}

.scores-week-scroll-button {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #edf3fc 100%);
  border: 1px solid #c4d1e5;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgb(31 85 171 / 0.14);
  color: #12366f;
  cursor: pointer;
  display: flex;
  flex: 0 0 2.35rem;
  font: inherit;
  height: 2.35rem;
  justify-content: center;
  padding: 0;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease;
  width: 2.35rem;
}

.scores-week-scroll-button[hidden] {
  display: none;
}

.scores-week-scroll-button::before {
  border-left: 0.16rem solid currentColor;
  border-top: 0.16rem solid currentColor;
  content: "";
  height: 0.52rem;
  width: 0.52rem;
}

.scores-week-scroll-button:hover {
  background: linear-gradient(180deg, #2459a9 0%, #12366f 100%);
  border-color: #12366f;
  box-shadow: 0 5px 14px rgb(31 85 171 / 0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

.scores-week-scroll-button:focus-visible {
  outline: 2px solid var(--tlfl-blue);
  outline-offset: 2px;
}

.scores-week-scroll-left::before {
  transform: translateX(0.08rem) rotate(-45deg);
}

.scores-week-scroll-right::before {
  transform: translateX(-0.08rem) rotate(135deg);
}

.scores-week-selector .ui-tab {
  min-height: 2.35rem;
  padding: 0 0.78rem;
}

.scores-scoreboard[aria-busy="true"] .scores-week-selector a[aria-disabled="true"] {
  opacity: 0.58;
  pointer-events: none;
}

.scores-week-selector .scores-week-loading {
  cursor: progress;
}

.scores-matchups {
  display: grid;
  gap: 1rem;
  max-width: 88rem;
  min-width: 0;
  width: 100%;
}

.scores-scoreboard:not(.scores-week-scroll-overflowing) .scores-matchups {
  max-width: none;
}

.scores-scoreboard.scores-week-scroll-overflowing .scores-matchup-card,
.scores-scoreboard.scores-week-scroll-overflowing .scores-rosters,
.scores-scoreboard.scores-week-scroll-overflowing .scores-roster {
  min-width: 0;
}

.scores-scoreboard.scores-week-scroll-overflowing .scores-team-row {
  grid-template-columns: minmax(0, var(--scores-summary-team-column)) minmax(2.25rem, max-content) minmax(8.5rem, 1fr);
}

.scores-scoreboard.scores-week-scroll-overflowing .scores-team-identity {
  min-width: 0;
}

.scores-scoreboard.scores-week-scroll-overflowing .scores-team-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-overrides-form {
  display: grid;
  gap: 1rem;
}

.score-overrides-save-bar {
  z-index: 900;
}

.score-overrides-lock-message {
  color: #374151;
  font-weight: 800;
  margin: 0;
}

.scores-matchup-card {
  background: var(--tlfl-surface);
  border: 1px solid var(--tlfl-border);
  border-radius: var(--tlfl-radius);
  box-shadow: var(--tlfl-shadow-card);
  overflow: hidden;
  scroll-margin-top: calc(var(--tlfl-sticky-action-top) + 0.75rem);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.scores-matchup-card[open] {
  border-color: rgb(31 85 171 / 0.38);
  box-shadow: var(--tlfl-shadow-raised);
}

.scores-matchup-card summary {
  cursor: pointer;
  list-style: none;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchup-card summary {
  cursor: default;
}

.scores-matchup-card summary:focus-visible {
  outline: 2px solid var(--tlfl-blue);
  outline-offset: -2px;
}

.scores-matchup-card summary::-webkit-details-marker {
  display: none;
}

.scores-expand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.scores-expand-button {
  background: #ffffff;
  border: 1px solid var(--tlfl-blue);
  border-radius: 6px;
  color: var(--tlfl-blue);
  cursor: pointer;
  font-weight: 800;
  padding: 0.55rem 0.75rem;
}

.scores-expand-button:hover {
  background: var(--tlfl-blue);
  color: #ffffff;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-expand-button {
  border-color: #dbe3ed;
  box-shadow: none;
  color: #53657d;
  font-size: 0.8rem;
  font-weight: 600;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-expand-button:hover {
  background: #edf3fc;
  border-color: #bacce5;
  color: var(--tlfl-blue-dark);
}

.scores-matchup-summary {
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10.2rem, 12rem);
}

.scores-matchup-teams {
  cursor: pointer;
}

.scores-matchup-card summary:hover .scores-matchup-summary {
  background: #fbfdff;
}

.scores-team-row {
  align-items: center;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 9%, #ffffff) 0%,
      #ffffff 5.5rem);
  border-left: 0.35rem solid var(--score-team-primary-color, var(--tlfl-blue));
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 46ch minmax(2.25rem, max-content) minmax(10rem, 1fr);
  min-height: 3.15rem;
  padding: 0.72rem 0.95rem 0.72rem 0.8rem;
  position: relative;
}

.scores-matchup-card summary:hover .scores-team-row {
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 11%, #fbfdff) 0%,
      #fbfdff 5.5rem);
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchup-card summary:hover .scores-matchup-summary {
  background: #ffffff;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchup-card summary:hover .scores-team-row {
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 9%, #ffffff) 0%,
      #ffffff 5.5rem);
}

.scores-team-row+.scores-team-row {
  border-top: 1px solid #f3f4f6;
}

.scores-game-status {
  --scores-control-pill-font-size: 0.75rem;
  --scores-control-pill-height: 1.85rem;
  --scores-control-pill-width: 5.8rem;

  align-content: stretch;
  align-items: center;
  background: #ffffff;
  border-left: 1px solid #d1d5db;
  display: grid;
  gap: 0;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-items: center;
  padding: 0.75rem;
  text-align: center;
}

.scores-top-performers {
  display: none;
}

.scores-game-status-label {
  align-self: start;
  grid-row: 1;
}

.scores-box-score-toggle,
.scores-win-probability {
  background: #edf3fc;
  border: 1px solid #c5d5eb;
  box-shadow: none;
  color: var(--tlfl-blue-dark);
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.scores-box-score-toggle {
  align-items: center;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: var(--scores-control-pill-font-size);
  font-weight: 700;
  gap: 0.4em;
  grid-row: 2;
  height: var(--scores-control-pill-height);
  justify-content: center;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  width: var(--scores-control-pill-width);
  white-space: nowrap;
}

.scores-box-score-toggle:hover,
.scores-win-probability:hover {
  background: #dfeafb;
  border-color: #9bb8df;
  color: var(--tlfl-blue-dark);
}

.scores-box-score-toggle:focus-visible,
.scores-win-probability:focus-visible {
  outline: 2px solid var(--tlfl-blue);
  outline-offset: 2px;
}

.scores-disclosure-chevron {
  flex: 0 0 auto;
  width: 0.75em;
  height: 0.75em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(.scores-box-score-toggle, .scores-win-probability)[aria-expanded="true"] .scores-disclosure-chevron {
  transform: rotate(180deg);
}

.scores-box-score-toggle[aria-expanded="true"],
.scores-win-probability[aria-expanded="true"] {
  background: var(--tlfl-blue-dark);
  border-color: var(--tlfl-blue-dark);
  color: #ffffff;
}

.scores-game-status strong {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: #53657d;
  cursor: default;
  display: inline-flex;
  font-size: calc(var(--scores-control-pill-font-size) + 0.0625rem);
  font-weight: 600;
  gap: 0.35rem;
  height: var(--scores-control-pill-height);
  justify-content: center;
  justify-self: center;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0;
  position: relative;
  user-select: none;
  white-space: nowrap;
  width: max-content;
}

.scores-game-status-live .scores-game-status-label {
  color: #9d1d1d;
  text-transform: uppercase;
}

.scores-game-status-live .scores-game-status-label::before {
  animation: scores-live-indicator-pulse 1.4s ease-in-out infinite;
  background: #dc2626;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(220 38 38 / 0.35);
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 0.4rem;
  width: 0.4rem;
}

@keyframes scores-live-indicator-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(220 38 38 / 0.35);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 0 0.22rem rgb(220 38 38 / 0);
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scores-game-status-live .scores-game-status-label::before {
    animation: none;
  }
}

.scores-game-status-final strong {
  color: #0f1f37;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-game-status-scheduled strong {
  color: #53657d;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-game-status-final strong {
  color: #0f1f37;
}

.scores-team-identity {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
  min-width: 46ch;
}

.scores-team-link,
.scores-team-link:visited {
  color: inherit;
  justify-self: start;
  text-decoration: none;
  width: fit-content;
}

.scores-team-link:focus-visible .scores-team-name,
.scores-team-logo-link:focus-visible {
  outline: 2px solid var(--tlfl-blue);
  outline-offset: 2px;
}

.scores-team-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.scores-team-identity img {
  flex: 0 0 auto;
  height: 2rem;
  object-fit: contain;
  width: 2rem;
}

.scores-team-identity span {
  color: #111827;
  font-size: 1.18rem;
  font-weight: 800;
  overflow: visible;
  white-space: nowrap;
}

.scores-team-name-record {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.scores-team-record {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.05;
  margin-left: 0;
}

.scores-team-row strong {
  color: #4b5563;
  flex: 0 0 auto;
  font-size: 1.22rem;
  font-weight: 900;
  justify-self: end;
  min-width: 2.25rem;
  text-align: right;
}

.scores-team-score {
  --scores-team-score-offset: -0.5rem;

  align-items: center;
  color: #111827;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.22rem;
  font-weight: 800;
  justify-self: end;
  justify-content: flex-end;
  min-width: 2.25rem;
  position: relative;
  text-align: right;
  transform: translateX(var(--scores-team-score-offset));
}

.scores-team-score-final {
  color: #030712;
}

:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-score.scores-team-spread {
  background: #f1f5f9;
  border: 1px solid #dbe3ed;
  border-radius: 0.35rem;
  color: #475569;
  font-size: 1.2rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.25;
  min-width: 2.75rem;
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
}

.scores-team-row-winner .scores-team-name {
  color: #030712;
  font-weight: 1000;
}

.scores-team-row-winner .scores-team-score {
  color: #030712;
  font-weight: 1000;
}

.scores-team-row-winner .scores-team-score::after {
  border-bottom: 0.39rem solid transparent;
  border-right: 0.52rem solid #000000;
  border-top: 0.39rem solid transparent;
  content: "";
  height: 0;
  left: calc(100% + 0.46rem - var(--scores-team-score-offset));
  opacity: 0.9;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
}

.scores-team-row-loser .scores-team-name {
  color: #475569;
  font-weight: 600;
}

.scores-team-row-loser .scores-team-record,
.scores-team-row-loser .scores-players-remaining,
.scores-team-row-loser .scores-minutes-remaining {
  color: #64748b;
  font-weight: 600;
}

.scores-team-row-loser .scores-team-score {
  color: #475569;
  font-weight: 600;
}

.scores-team-row-tied .scores-team-name,
.scores-team-row-tied .scores-team-score {
  color: #111827;
  font-weight: 800;
}

@media (min-width: 761px) {
  .scores-scoreboard .scores-team-row {
    grid-template-columns: minmax(0, var(--scores-summary-team-column)) minmax(2.25rem, max-content) minmax(10rem, 1fr);
  }

  .scores-scoreboard .scores-team-identity {
    min-width: 0;
  }

  .scores-scoreboard .scores-team-identity span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .scores-scoreboard .scores-team-record {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 700;
  }
}

@media (min-width: 1100px) {
  .scores-scoreboard:is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups {
    --scores-desktop-column-gap: 6rem;
    column-gap: var(--scores-desktop-column-gap);
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
    max-width: calc(72rem + var(--scores-desktop-column-gap));
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchup-card {
    box-sizing: border-box;
    width: calc((100% - var(--scores-desktop-column-gap)) / 2);
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open] {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    width: calc(100% - var(--scores-desktop-column-gap));
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>summary {
    border: 1px solid rgb(31 85 171 / 0.48);
    border-bottom: 0;
    border-radius: var(--tlfl-radius) var(--tlfl-radius) 0 0;
    box-sizing: border-box;
    box-shadow: inset 0 0.2rem 0 rgb(31 85 171 / 0.72);
    margin-bottom: -1px;
    overflow: hidden;
    position: relative;
    width: 50%;
    z-index: 1;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>turbo-frame,
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>.scores-matchup-body {
    border: 1px solid rgb(31 85 171 / 0.48);
    border-radius: 0 var(--tlfl-radius) var(--tlfl-radius) var(--tlfl-radius);
    box-shadow: var(--tlfl-shadow-raised);
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    width: 100%;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open] .scores-rosters,
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open] .scores-roster-loading {
    border-top: 0;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-name-record {
    align-items: baseline;
    display: flex;
    gap: 0.35rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-name {
    min-width: 0;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-record {
    flex: 0 0 auto;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-remaining-summary {
    align-items: center;
    flex-direction: row;
    gap: 0.4rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-remaining-divider {
    color: #94a3b8;
    display: inline;
    line-height: 1;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-expand-actions,
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-byes,
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-empty {
    grid-column: 1 / -1;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchup-summary {
    grid-template-columns: minmax(0, 1fr) minmax(8.4rem, 9.6rem);
  }

  .scores-page-scoreboard .scores-matchup-card {
    width: calc(100% - var(--scores-desktop-column-gap));
  }

  .scores-page-scoreboard .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>summary {
    width: 100%;
  }

  .scores-page-scoreboard .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>turbo-frame {
    border-radius: 0 0 var(--tlfl-radius) var(--tlfl-radius);
  }

  .scores-page-scoreboard .scores-matchup-summary {
    grid-template-columns: minmax(0, calc(60% - 9.6rem)) 9.6rem minmax(0, 40%);
  }

  .scores-page-scoreboard .scores-game-status {
    --scores-control-pill-width: 6.96rem;

    padding: 0.605rem 0.75rem;
  }

  .scores-page-scoreboard .scores-matchup-teams {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .scores-page-scoreboard .scores-top-performers {
    background: #fcfdfe;
    border-left: 1px solid #e8edf3;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-width: 0;
    position: relative;
  }

  .scores-top-performers-label {
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    left: 0.45rem;
    line-height: 1;
    margin: 0;
    pointer-events: none;
    position: absolute;
    text-transform: uppercase;
    top: 0.35rem;
    white-space: nowrap;
  }

  .scores-top-performers-team {
    align-items: center;
    border-left: 0.22rem solid var(--score-team-primary-color, var(--tlfl-blue));
    display: flex;
    min-height: 0;
    min-width: 0;
    padding: 0.25rem 0.55rem 0.25rem 0.45rem;
    position: relative;
  }

  .scores-top-performers-team:first-child {
    padding-top: 1.2rem;
  }

  .scores-top-performers-team+.scores-top-performers-team {
    border-top: 1px solid #e8edf3;
    padding-top: 1.2rem;
  }

  .scores-top-performers-team ol {
    display: grid;
    gap: 0.16rem;
    grid-template-columns: minmax(0, 1fr);
    list-style: none;
    margin: 0;
    min-width: 0;
    padding: 0;
    width: min(100%, 24rem);
  }

  .scores-top-performers-team li {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) max-content;
    min-width: 0;
  }

  .scores-top-performer-player {
    align-items: center;
    display: grid;
    gap: 0.4rem;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    min-width: 0;
  }

  .scores-top-performer-headshot-frame,
  .scores-top-performer-headshot-spacer {
    border-radius: 50%;
    display: block;
    height: 1.5rem;
    width: 1.5rem;
  }

  .scores-top-performer-headshot-frame {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    overflow: hidden;
  }

  .scores-top-performer-headshot-link:focus-visible {
    outline: 2px solid var(--tlfl-blue);
    outline-offset: 2px;
  }

  .scores-top-performer-headshot {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .scores-top-performer-name-line {
    align-items: baseline;
    display: flex;
    gap: 0.3rem;
    min-width: 0;
  }

  .scores-top-performer-name,
  .scores-top-performer-name:visited {
    color: #172033;
    display: block;
    flex: 0 1 auto;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.16;
    min-width: 0;
    text-overflow: clip;
    white-space: nowrap;
  }

  .scores-top-performer-name:hover {
    color: var(--tlfl-blue);
  }

  .scores-top-performer-meta {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 600;
    margin-left: 0;
  }

  .scores-top-performer-injury-designation {
    color: #b91c1c;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
  }

  .scores-top-performers-team strong {
    align-items: baseline;
    color: var(--tlfl-blue-dark);
    column-gap: 0.25rem;
    display: grid;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    grid-template-columns: 2.5rem 1.75rem;
    line-height: 1.16;
    text-align: right;
    white-space: nowrap;
  }

  .scores-top-performers-team strong span {
    color: #64748b;
    font-size: 0.68rem;
    letter-spacing: 0.035em;
    text-align: left;
  }

  .scores-top-performers-team>p {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    margin: 0;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row {
    gap: 0.25rem 0.75rem;
    grid-template-columns: minmax(0, 1fr) minmax(2.25rem, max-content);
    grid-template-rows: auto auto;
  }

  .scores-page-scoreboard .scores-team-row {
    align-content: center;
    min-height: 3.46rem;
    padding: 0.61rem 0.95rem 0.61rem 0.8rem;
    row-gap: 0.15rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-score {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-remaining-summary {
    align-items: center;
    flex-direction: row;
    gap: 0.4rem;
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) {
    grid-template-columns: 2rem minmax(0, 1fr) minmax(2.25rem, max-content);
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) .scores-team-identity {
    display: contents;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) .scores-team-identity :is(img, .scores-team-logo-link) {
    align-self: center;
    grid-column: 1;
    grid-row: 1 / 3;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) .scores-team-name-record,
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) .scores-remaining-summary {
    grid-column: 2;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) .scores-team-name-record {
    grid-row: 1;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-row:has(.scores-team-identity img) .scores-team-score {
    grid-column: 3;
  }
}

.scores-rosters {
  background:
    linear-gradient(90deg, rgb(31 85 171 / 0.06), rgb(31 85 171 / 0.015)),
    #f9fafb;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.15rem 1rem 1rem;
  position: relative;
}

.scores-roster-tablist {
  display: none;
}

.scores-roster-loading {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  color: var(--tlfl-text-muted);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 1rem;
}

.scores-roster {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 18%, var(--tlfl-table-border));
  border-top: 0.35rem solid var(--score-team-primary-color, var(--tlfl-blue));
  border-radius: 8px;
  box-shadow: 0 3px 10px rgb(17 24 39 / 0.05);
  overflow: hidden;
}

.scores-roster-heading {
  align-items: center;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 8%, var(--tlfl-table-header-bg)) 0%,
      var(--tlfl-table-header-bg) 62%);
  color: #111827;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  grid-template-columns: minmax(0, 1fr) max-content;
  margin: 0;
  padding: 0.55rem 0.7rem;
}

.scores-roster-team-name {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  min-width: 0;
}

.scores-roster-team-name img {
  flex: 0 0 auto;
  height: 1.6rem;
  object-fit: contain;
  width: 1.6rem;
}

.scores-roster-team-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scores-remaining-summary {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  justify-self: end;
  min-width: 0;
  text-align: right;
}

.scores-remaining-divider {
  display: none;
}

.scores-players-remaining,
.scores-minutes-remaining {
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.scores-roster table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  table-layout: fixed;
  width: 100%;
}

.score-overrides-form .scores-roster {
  overflow-x: auto;
  overflow-y: hidden;
}

.score-overrides-form .scores-roster table {
  min-width: 58rem;
}

.scores-roster th,
.scores-roster td {
  border-bottom: 1px solid #edf2f7;
  padding: 0.42rem 0.45rem;
  text-align: left;
  white-space: nowrap;
}

.scores-roster .scores-roster-number {
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot td:nth-child(3),
.score-overrides-form .scores-roster tfoot td:nth-child(2) {
  color: #374151;
  font-weight: 500;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tbody td:nth-child(4),
.score-overrides-form .scores-roster tbody td:nth-child(4) {
  color: #374151;
  font-weight: 500;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tbody td:nth-child(4) {
  font-size: var(--scores-roster-player-line-size);
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tbody td.scores-roster-points-live {
  color: #64748b;
  font-weight: 800;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot td.scores-roster-points-live {
  color: var(--tlfl-blue-dark);
  font-weight: 950;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tbody td.scores-roster-points-final,
.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot td.scores-roster-points-final {
  color: #030712;
  font-weight: 1000;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tbody td.scores-roster-points-final {
  font-size: calc(var(--scores-roster-player-line-size) * 1.25);
}

.scores-roster tbody tr {
  --scores-roster-player-line-size: 0.98rem;
}

.scores-roster th:nth-child(2),
.scores-roster td:nth-child(2) {
  min-width: 0;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  width: auto;
}

.scores-roster-player-link {
  color: var(--tlfl-blue-dark);
  display: inline-block;
  flex: 0 1 auto;
  font-weight: 850;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.scores-roster-player-link:visited {
  color: var(--tlfl-blue-dark);
}

.scores-roster-player-link:hover {
  color: var(--tlfl-blue);
}

.scores-roster-player-stack {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  max-width: 100%;
  min-width: 0;
  vertical-align: top;
}

.scores-roster-player-line {
  align-items: baseline;
  display: inline-flex;
  font-size: var(--scores-roster-player-line-size);
  gap: 0;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.scores-roster-player-meta {
  color: #64748b;
  flex: 0 0 auto;
  font-size: 0.79em;
  font-weight: 600;
}

.scores-roster-player-game {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-size: calc(var(--scores-roster-player-line-size) * 0.84);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.scores-roster-player-availability {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: calc(var(--scores-roster-player-line-size) * 0.78);
  line-height: 1;
  margin-left: 0.28rem;
  min-height: 1rem;
}

.scores-roster-availability-indicators {
  flex-wrap: nowrap;
  gap: 0.16rem;
}

.scores-roster-availability-badge {
  font-size: 0.9em;
  min-height: 1rem;
  padding: 0.04rem 0.32rem;
}

.scores-roster-badge.scores-roster-availability-badge-inactive {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.scores-roster-badge.scores-roster-availability-badge-active {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.scores-roster-badge-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;
  min-width: 0;
}

.scores-roster-badge {
  align-items: center;
  background: #eef2f7;
  border: 1px solid #dde5ef;
  border-radius: 999px;
  color: #475569;
  display: inline-flex;
  font-size: 1em;
  font-weight: 750;
  justify-content: center;
  line-height: 1.05;
  max-width: 100%;
  min-height: 1.18rem;
  min-width: 0;
  padding: 0.09rem 0.36rem;
  white-space: nowrap;
}

.scores-roster-game-badge {
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1;
  margin-left: -4px;
  min-height: 0.92rem;
  overflow: hidden;
  padding: 0.05rem 0.28rem 0;
  text-decoration: none;
  text-overflow: ellipsis;
}

a.scores-roster-game-badge {
  cursor: pointer;
}

a.scores-roster-game-badge:visited {
  color: #475569;
}

a.scores-roster-game-badge:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 42%, #94a3b8);
  outline-offset: 2px;
}

.scores-roster-stat-badges {
  gap: 0.08rem 0.14rem;
  justify-content: flex-start;
  line-height: 1;
}

.scores-roster-stat-badge {
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1;
  min-height: 0.92rem;
  padding: 0 0.28rem;
}

.scores-roster-stat-label {
  font-weight: 600;
}

.scores-roster-stat-value {
  color: #1f2937;
}

.scores-roster-stat-label+.scores-roster-stat-value {
  margin-left: 0.12rem;
}

.scores-roster th:nth-child(1),
.scores-roster td:nth-child(1) {
  padding-right: 0.2rem;
  width: 2.45rem;
}

.score-overrides-form .scores-roster th:nth-child(3),
.score-overrides-form .scores-roster td:nth-child(3) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 3.3rem;
}

.score-overrides-form .scores-roster th:nth-child(4),
.score-overrides-form .scores-roster td:nth-child(4) {
  white-space: normal;
  width: 18rem;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster th:nth-child(3),
.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster td:nth-child(3),
.score-overrides-form .scores-roster th:nth-child(6),
.score-overrides-form .scores-roster td:nth-child(6) {
  color: #374151;
  line-height: 1.25;
  padding-left: 0.75rem;
  white-space: normal;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster th:nth-child(3),
.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster td:nth-child(3) {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
  width: clamp(18rem, 56%, 60ch);
}

.score-overrides-form .scores-roster th:nth-child(6),
.score-overrides-form .scores-roster td:nth-child(6) {
  width: clamp(12rem, 34%, 30ch);
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster td:nth-child(3),
.score-overrides-form .scores-roster td:nth-child(3),
.score-overrides-form .scores-roster td:nth-child(6),
.score-overrides-form .scores-roster td:nth-child(7) {
  font-size: 0.84rem;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster th:nth-child(4),
.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster td:nth-child(4) {
  width: 3rem;
}

.score-overrides-form .scores-roster th:nth-child(7),
.score-overrides-form .scores-roster td:nth-child(7) {
  padding-left: 0.8rem;
  width: 5.2rem;
}

.scores-roster th {
  color: var(--tlfl-table-header-text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scores-roster thead th {
  background: var(--tlfl-table-header-bg);
}

.scores-roster tbody tr {
  background: #ffffff;
}

.score-overrides-form .scores-roster tbody tr:nth-child(odd) {
  background: #fbfcfe;
}

.scores-roster tbody tr:hover {
  background: color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 5%, #f8fafc);
}

.scores-roster tbody tr.scores-roster-row-live {
  --scores-roster-state-accent: #dc2626;
}

.scores-roster tbody tr.scores-roster-row-final {
  --scores-roster-state-accent: #475569;
}

.scores-roster tbody tr.scores-roster-row-live,
.scores-roster tbody tr.scores-roster-row-final {
  background: #ffffff;
  background-image: linear-gradient(90deg,
    color-mix(in srgb, var(--scores-roster-state-accent) 9%, transparent) 0%,
    transparent 5.5rem);
  box-shadow: inset 3px 0 0 var(--scores-roster-state-accent);
}

.scores-roster tbody tr.scores-roster-row-live:hover,
.scores-roster tbody tr.scores-roster-row-final:hover {
  background-color: #f8fafc;
}

.score-overrides-manual-row {
  box-shadow: inset 0.25rem 0 0 var(--tlfl-blue);
}

.score-overrides-points-cell {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.score-overrides-points-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
  color: #111827;
  font: inherit;
  font-weight: 800;
  min-height: 2rem;
  padding: 0.25rem 0.35rem;
  text-align: center;
  width: 4.4rem;
}

.score-overrides-points-input:focus {
  border-color: var(--tlfl-blue);
  box-shadow: 0 0 0 3px rgb(31 85 171 / 0.15);
  outline: none;
}

.score-overrides-points-input:disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

.score-overrides-clear-button {
  background: #ffffff;
  border: 1px solid #b91c1c;
  border-radius: 6px;
  box-sizing: border-box;
  color: #991b1b;
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.05;
  max-width: 100%;
  min-height: 2rem;
  padding: 0.25rem 0.45rem;
  white-space: normal;
}

.score-overrides-clear-button:hover {
  background: #fef2f2;
}

.score-overrides-availability-controls {
  display: grid;
  gap: 0.45rem;
}

.score-overrides-availability-control {
  display: grid;
  gap: 0.18rem;
}

.score-overrides-control-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.score-overrides-control-row select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #111827;
  font: inherit;
  font-size: 0.78rem;
  min-height: 2rem;
  max-width: 10rem;
}

.score-overrides-provider-value,
.score-overrides-manual-label {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
}

.score-overrides-manual-label {
  color: #1d4ed8;
}

.score-overrides-availability-button {
  font-size: 0.7rem;
  min-height: 2rem;
  padding: 0.25rem 0.42rem;
}

.scores-roster tfoot td {
  background: #ffffff;
  border-bottom: 0;
  border-top: 2px solid var(--tlfl-table-border-strong);
  font-weight: 900;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot tr.scores-roster-total-row-final {
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 16%, #ffffff) 0%,
      color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 8%, #ffffff) 44%,
      color-mix(in srgb, var(--score-team-secondary-color, var(--score-team-primary-color, var(--tlfl-blue))) 9%, #ffffff) 100%);
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot tr.scores-roster-total-row-final td {
  background: transparent;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot tr.scores-roster-total-row-final td:first-child {
  box-shadow: inset 0.22rem 0 0 var(--score-team-primary-color, var(--tlfl-blue));
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot td:nth-child(3),
.score-overrides-form .scores-roster tfoot td:nth-child(2) {
  font-size: 0.98rem;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot td:nth-child(3) {
  font-size: 1.04rem;
  font-weight: 1000;
}

.scores-scoreboard:not(.score-overrides-scoreboard) .scores-roster tfoot td.scores-roster-points-final {
  background: transparent;
  font-size: 1.16rem;
  font-weight: 1000;
}

.scores-scoreboard.scores-page-scoreboard [data-scores-roster-mode="box-score"] .scores-roster tfoot td {
  line-height: 1.6rem;
  vertical-align: middle;
}

.scores-page-scoreboard [data-scores-roster-mode="box-score"] .scores-roster tfoot td.scores-roster-points-final {
  font-size: 1.35rem;
}

.scores-byes {
  border-top: 1px solid #d1d5db;
  margin-top: 0.25rem;
  padding-top: 0.85rem;
}

.scores-byes h2 {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 900;
  margin: 0 0 0.6rem;
}

.scores-bye-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.scores-bye-team {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  min-width: 0;
}

.scores-bye-team img {
  flex: 0 0 auto;
  height: 1.55rem;
  object-fit: contain;
  width: 1.55rem;
}

.scores-bye-team span {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.scores-empty {
  color: var(--tlfl-text-muted);
  margin: 0;
}

/* Shared desktop polish also applies to the Score Lab Scores Page Preview. */
@media (min-width: 1100px) {
  :is(.scores-page-scoreboard, .score-lab-scoreboard) {
    gap: 0.75rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-expand-actions {
    gap: 0.4rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-expand-button {
    padding: 0.35rem 0.65rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchup-card {
    border-color: #dbe3ed;
    box-shadow: 0 2px 6px rgb(15 23 42 / 0.04);
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-game-status {
    border-left-color: #e8edf3;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-name {
    font-size: clamp(1rem, 1.35vw, 1.18rem);
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-score {
    font-size: 1.75rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
    line-height: 1;
    min-width: 2.75rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-team-record {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) :is(.scores-players-remaining, .scores-minutes-remaining) {
    color: #64748b;
    font-weight: 500;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open] {
    box-shadow: none;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>summary {
    border-color: #bacce5;
    box-shadow: inset 0 2px 0 rgb(31 85 171 / 0.5);
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>turbo-frame,
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-matchups:has(.scores-matchup-card[open]) .scores-matchup-card[open]>.scores-matchup-body {
    border-color: #bacce5;
    box-shadow: 0 2px 6px rgb(15 23 42 / 0.04);
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-rosters {
    background: #f8fafc;
    gap: 0.85rem;
    padding: 0.85rem;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-roster {
    border-color: #e2e8f0;
    border-top: 3px solid var(--score-team-primary-color, var(--tlfl-blue));
    box-shadow: none;
  }

  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-roster-heading {
    background: #ffffff;
    border-bottom: 1px solid #e8edf3;
  }
}
/* The projection disclosure shares the matchup's status column and roster body. */
.scores-layout-preview { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.scores-layout-preview > span { color: #526b87; font-size: 0.8rem; font-weight: 600; margin-right: 4px; }
.scores-layout-preview .ui-tab { font-size: 0.8rem; padding: 6px 12px; }
.scores-game-status:has(.scores-win-probability) {
  grid-template-rows: auto auto auto;
  align-content: start;
  row-gap: 4px;
}
.scores-game-status:has(.scores-win-probability-compact) {
  align-content: start;
  row-gap: 10px;
}
.scores-game-status:has(.scores-win-probability-compact) :is(.scores-box-score-toggle, .scores-win-probability-compact) {
  height: calc(var(--scores-control-pill-height) * 1.1);
  font-size: calc(var(--scores-control-pill-font-size) + 0.0625rem);
}
@media (min-width: 761px) {
  .scores-page-scoreboard .scores-matchup-summary { min-height: 150px; }
}
.scores-box-score-toggle:disabled,
.scores-win-probability:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
  pointer-events: none;
}

.scores-win-probability {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  max-width: 150px;
  margin: 5px auto 0;
  padding: 6px 5px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  line-height: 1.15;
}
.scores-win-probability.scores-win-probability-compact {
  box-sizing: border-box;
  flex-direction: row;
  height: var(--scores-control-pill-height);
  width: var(--scores-control-pill-width);
  padding: 1px 0.35rem;
  border-radius: 8px;
  gap: 0.4em;
  font-size: var(--scores-control-pill-font-size);
  line-height: 1;
  white-space: nowrap;
  margin-block: 0;
  letter-spacing: 0.01em;
}
.scores-win-probability-compact .scores-win-probability-result img { width: 24px; height: 24px; }
.scores-win-probability-compact .scores-win-probability-action { font-size: inherit; }
.scores-win-probability-result { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; }
.scores-win-probability-result:has(.scores-win-probability-coin) { gap: 2px; }
.scores-win-probability-result img { width: 22px; height: 22px; object-fit: contain; }
.scores-win-probability-coin { width: 22px; height: 22px; flex: 0 0 22px; }
.scores-coin-preview .scores-game-status { width: auto; min-height: 0; padding: 8px 12px; border: 0; gap: 6px; }
@media (max-width: 760px) {
  .scores-win-probability-compact:has(.scores-win-probability-coin) { gap: 2px; padding-inline: 2px; }
  .scores-win-probability-result:has(.scores-win-probability-coin) { gap: 1px; }
  .scores-win-probability-coin { width: 18px; height: 18px; flex-basis: 18px; }
}
.scores-win-probability :is(.scores-win-probability-result, .scores-win-probability-pair) img {
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #c5d5eb;
}
.scores-win-probability .scores-win-probability-unavailable {
  font-size: var(--scores-control-pill-font-size);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: inherit;
}
.scores-win-probability-compact .scores-win-probability-unavailable { font-size: inherit; }
.scores-win-probability-caption { font-size: 0.58rem; font-weight: 600; color: #526b87; letter-spacing: 0.025em; white-space: nowrap; }
.scores-win-probability[aria-expanded="true"] .scores-win-probability-caption { color: inherit; }
.scores-win-probability-pair { display: flex; justify-content: space-between; gap: 5px; width: 100%; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.scores-win-probability-pair > span { display: inline-flex; align-items: center; gap: 3px; }
.scores-win-probability-pair img { object-fit: contain; width: 18px; height: 18px; }
.scores-probability-team-fallback { font-size: 0.5rem; font-weight: 600; }
.scores-win-probability-bar { display: flex; width: 100%; height: 4px; border-radius: 3px; overflow: hidden; margin: 1px 0; }
.scores-win-probability-bar > span { height: 100%; }
.scores-win-probability:has(.scores-win-probability-caption) .scores-win-probability-result { font-size: 1rem; font-variant-numeric: tabular-nums; }
.scores-win-probability-placeholder { font-size: 0.65rem; font-weight: 500; max-width: 115px; }
.scores-win-probability-action { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.65rem; font-weight: 650; }
.scores-projections-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: linear-gradient(115deg, #15376b, #244f83);
  border: 2px solid #9bb4d3;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  color: #ffffff;
}
.scores-projections-title { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.015em; }
.scores-matchup-card[data-scores-view="projections"] .scores-roster-stat-badge { column-gap: 0.18rem; }
@media (max-width: 760px) {
  :is(.scores-page-scoreboard, .score-lab-scoreboard) .scores-game-status:has(.scores-win-probability) { row-gap: 2px; }
  .scores-win-probability { padding: 2px; gap: 2px; margin-top: 3px; border-radius: 7px; }
  .scores-page-scoreboard .scores-win-probability { margin-top: 4px; }
  .scores-win-probability-placeholder, .scores-win-probability-action { font-size: 0.56rem; }
  .scores-win-probability-result img { width: 18px; height: 18px; }
  .scores-win-probability-pair { font-size: 0.7rem; gap: 3px; }
  .scores-win-probability-pair > span { gap: 2px; }
  .scores-win-probability-pair img { width: 14px; height: 14px; }
  .scores-projections-heading { padding: 8px 12px; }
}
