.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, #e5eefb);
  border: 1px solid #c4d1e5;
  border-radius: var(--tlfl-radius-sm);
  box-shadow: 0 3px 10px rgb(31 85 171 / 0.16);
  color: #12366f;
  cursor: pointer;
  display: flex;
  flex: 0 0 2.35rem;
  font: inherit;
  height: 2.35rem;
  justify-content: center;
  padding: 0;
  transition: background-color 140ms ease, box-shadow 140ms ease, color 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.58rem;
  width: 0.58rem;
}

.scores-week-scroll-button:hover {
  background: var(--tlfl-blue-dark);
  box-shadow: 0 4px 12px rgb(31 85 171 / 0.22);
  color: #ffffff;
}

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

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

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

.scores-week-selector a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: #1f2937;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.78rem;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.scores-week-selector a:visited {
  color: #1f2937;
}

.scores-week-selector a:hover,
.scores-week-selector .scores-week-selected {
  background: var(--tlfl-blue);
  border-color: var(--tlfl-blue);
  color: #ffffff;
}

.scores-week-selector .scores-week-selected:visited {
  color: #ffffff;
}

.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;
}

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

.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-items: center;
  background: #ffffff;
  border-left: 1px solid #d1d5db;
  display: grid;
  gap: 0.65rem;
  grid-template-rows: 1fr auto 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 {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
  border: 1px solid rgb(31 85 171 / 0.62);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.85);
  box-sizing: border-box;
  color: var(--tlfl-blue-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: var(--scores-control-pill-font-size);
  font-weight: 900;
  grid-row: 2;
  height: var(--scores-control-pill-height);
  justify-content: center;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
  width: var(--scores-control-pill-width);
  white-space: nowrap;
}

.scores-editorial-slot {
  align-items: flex-end;
  align-self: stretch;
  display: flex;
  grid-row: 3;
  justify-content: center;
  min-height: var(--scores-control-pill-height);
}

.scores-editorial-action {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
  border: 1px solid rgb(31 85 171 / 0.62);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.85);
  box-sizing: border-box;
  color: var(--tlfl-blue-dark);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: var(--scores-control-pill-font-size);
  font-weight: 900;
  height: var(--scores-control-pill-height);
  justify-content: center;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
  width: var(--scores-control-pill-width);
  white-space: nowrap;
}

.scores-editorial-action:hover {
  background: var(--tlfl-blue);
  border-color: var(--tlfl-blue);
  box-shadow: 0 2px 5px rgb(31 85 171 / 0.24);
  color: #ffffff;
}

.scores-editorial-action:focus-visible {
  outline: 2px solid var(--tlfl-blue);
  outline-offset: 2px;
}

.scores-box-score-toggle:hover {
  background: var(--tlfl-blue);
  border-color: var(--tlfl-blue);
  box-shadow: 0 2px 5px rgb(31 85 171 / 0.24);
  color: #ffffff;
}

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

.scores-game-status strong {
  align-items: center;
  background: transparent;
  border: 1px solid #d5dde7;
  border-radius: 6px;
  box-shadow: none;
  box-sizing: border-box;
  color: #53657d;
  cursor: default;
  display: inline-flex;
  font-size: var(--scores-control-pill-font-size);
  font-weight: 800;
  height: var(--scores-control-pill-height);
  justify-content: center;
  letter-spacing: 0.05em;
  line-height: 1;
  overflow: hidden;
  padding: 0.35rem 0.65rem;
  position: relative;
  user-select: none;
  white-space: nowrap;
  width: var(--scores-control-pill-width);
}

.scores-game-status .scores-game-status-label::after {
  background: currentColor;
  border-radius: 6px 0 0 6px;
  bottom: -1px;
  content: "";
  left: -1px;
  pointer-events: none;
  position: absolute;
  top: -1px;
  width: 0.25rem;
}

.scores-game-status-live .scores-game-status-label {
  color: #9d1d1d;
  gap: 0.25rem;
  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;
  height: 0.48rem;
  width: 0.48rem;
}

@media (min-width: 761px) {
  .scores-game-status-live .scores-game-status-label {
    gap: 0.32rem;
  }

  .scores-game-status-live .scores-game-status-label::before {
    height: 0.62rem;
    width: 0.62rem;
  }
}

@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 {
  outline: 2px solid var(--tlfl-blue);
  outline-offset: 2px;
}

.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;
}

.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: #334155;
  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: #334155;
  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(50% - 9.6rem)) 9.6rem minmax(0, 50%);
  }

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

    gap: 0.78rem;
    grid-template-rows: auto auto auto 1fr;
    padding: 0.605rem 0.75rem;
  }

  .scores-page-scoreboard .scores-editorial-slot {
    align-items: center;
    align-self: auto;
  }

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

  .scores-top-performers-label {
    color: #64748b;
    font-size: 0.6rem;
    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.1rem;
  }

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

  .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%, 20rem);
  }

  .scores-top-performers-team li {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 14rem) 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 img {
    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: 39rem;
}

.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,
.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-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-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) {
  width: 5.4rem;
}

.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(5),
.score-overrides-form .scores-roster td:nth-child(5) {
  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(5),
.score-overrides-form .scores-roster td:nth-child(5) {
  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(5),
.score-overrides-form .scores-roster td:nth-child(6) {
  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(6),
.score-overrides-form .scores-roster td:nth-child(6) {
  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 {
  background: color-mix(in srgb, #f59e0b 7%, #ffffff);
}

.scores-roster tbody tr.scores-roster-row-final {
  background: #f1f5f9;
}

.scores-roster tbody tr.scores-roster-row-final td {
  border-bottom-color: color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 14%, #cbd5e1);
}

.scores-roster tbody tr.scores-roster-row-final .scores-roster-badge {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--score-team-primary-color, var(--tlfl-blue)) 12%, #cbd5e1);
  box-shadow: 0 1px 1px rgb(15 23 42 / 0.05);
}

.scores-roster tbody tr.scores-roster-row-live:hover {
  background: color-mix(in srgb, #f59e0b 10%, #ffffff);
}

.scores-roster tbody tr.scores-roster-row-final:hover {
  background: #e2e8f0;
}

.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;
}

.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-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;
}
