.performance-player.is-mvp {
  border-color: #b89b4e;
  background: linear-gradient(105deg, #3b3e25, #1e3225 50%);
  box-shadow: inset 3px 0 #d7b55f;
}
.performance-player.is-mvp .performance-score > b,
.performance-player.is-mvp .performance-score > strong {
  color: #efcb71;
}
.performance-mvp {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  margin-left: 9px;
  border: 1px solid #c6a657;
  border-radius: 4px;
  background: linear-gradient(130deg, #efd07f, #c49b42);
  color: #3b2b0c;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px #fff6;
}
.performance-mvp svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.performance-bars > .is-metric-leader b,
.performance-bars > .is-metric-leader em {
  color: #e7c773;
}
.performance-bars > .is-metric-leader i {
  background: #d6b464;
}

/* Compact scoreboard: visual hierarchy stays consistent across all twelve players. */
.desk-workspace .performance-player {
  margin: 7px 0;
  border-radius: 8px;
}
.desk-workspace .performance-player > summary {
  grid-template-columns: 42px minmax(170px, 1.1fr) minmax(280px, 2fr) 68px 12px;
  gap: 12px;
  padding: 8px 13px;
  min-height: 76px;
}
.desk-workspace .performance-portrait img {
  width: 42px;
  height: 48px;
  border-radius: 5px;
  object-position: top;
}
.desk-workspace .performance-portrait > small {
  font-size: 8px;
  padding: 0 4px;
  line-height: 15px;
}
.desk-workspace .performance-identity > strong {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 4px;
  color: #eef4e8;
}
.desk-workspace .performance-identity > small {
  font-size: 14px;
  color: #7d947f;
  font-variant-numeric: tabular-nums;
}
.desk-workspace .performance-identity em {
  display: none;
}
.combat-kills {
  color: #e7efde;
  font-weight: 600;
}
.combat-deaths {
  color: #f1a291;
  font-weight: 600;
}
.combat-assists {
  color: #a8ceec;
  font-weight: 600;
}
.desk-workspace .performance-badges {
  gap: 4px;
  margin-top: 4px;
}
.desk-workspace .performance-badges:empty {
  display: none;
}
.desk-workspace .performance-badges i {
  font-size: 8px;
  line-height: 1.4;
  padding: 1px 4px;
}
.desk-workspace .performance-mvp {
  font-size: 8px;
  line-height: 1.3;
  padding: 2px 5px;
  margin-left: 7px;
  gap: 3px;
}
.desk-workspace .performance-mvp svg {
  width: 10px;
  height: 10px;
}
.desk-workspace .performance-bars {
  gap: 14px;
}
.desk-workspace .performance-bars > span {
  --metric-color: #d8e4d0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 6px;
  padding-bottom: 6px;
  border-bottom-width: 2px;
  line-height: 1.3;
}
.desk-workspace .performance-bars small {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 600;
  color: #c5d4bc;
}
.desk-workspace .performance-bars b {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--metric-color);
}
.desk-workspace .performance-bars em {
  font-size: 12px;
  align-self: center;
  color: #abc09c;
}
.desk-workspace .performance-bars i {
  height: 2px;
  bottom: -2px;
  background: var(--metric-color);
}
.desk-workspace .performance-bars > [data-metric="heroDamage"] {
  --metric-color: #f0b18b;
}
.desk-workspace .performance-bars > [data-metric="teamHealing"] {
  --metric-color: #99dbb7;
}
.desk-workspace .performance-bars > [data-metric="souls"] {
  --metric-color: #e8cd7d;
}
.desk-workspace .performance-bars > [data-metric="damageTaken"] {
  --metric-color: #a9c8f0;
}
.desk-workspace .performance-bars > .is-metric-leader b,
.desk-workspace .performance-bars > .is-metric-leader em {
  color: var(--metric-color);
}
.desk-workspace .performance-bars > .is-metric-leader i {
  background: var(--metric-color);
}
.desk-workspace .performance-score {
  gap: 2px;
  line-height: 1.25;
}
.desk-workspace .performance-score > b {
  justify-self: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 13px;
  color: #c4d7b1;
}
.desk-workspace .performance-score > strong {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.desk-workspace .performance-score > small {
  font-size: 8px;
  color: #8ea581;
}
.desk-workspace .performance-player.podium-1 {
  --podium-color: #f4cf73;
  --podium-fill: #d0aa4126;
}
.desk-workspace .performance-player.podium-2 {
  --podium-color: #d8dde2;
  --podium-fill: #cbd1d920;
}
.desk-workspace .performance-player.podium-3 {
  --podium-color: #dca476;
  --podium-fill: #bd845126;
}
.desk-workspace .performance-player:is(.podium-1, .podium-2, .podium-3) {
  border-color: #3b533b;
  box-shadow: none;
  background: #1c3024;
}
.desk-workspace
  .performance-player:is(.podium-1, .podium-2, .podium-3)
  .performance-score
  > b {
  color: var(--podium-color);
  background: var(--podium-fill);
  border: 1px solid color-mix(in srgb, var(--podium-color) 45%, transparent);
  font-weight: 800;
}
.desk-workspace
  .performance-player:is(.podium-1, .podium-2, .podium-3)
  .performance-score
  > strong {
  color: var(--podium-color);
}
.desk-workspace .performance-expanded {
  padding: 0 13px 14px;
}
.desk-workspace .performance-player.is-you {
  border: 2px solid #64e6cd;
  box-shadow:
    inset 5px 0 #64e6cd,
    0 0 0 1px #64e6cd22;
  background: linear-gradient(100deg, #174e45, #173b32 60%, #19382c);
}
.desk-workspace .performance-player.is-you .performance-identity > strong {
  color: #b1fff0;
}
.desk-workspace .performance-player.is-you .performance-portrait > small {
  background: #73f0d9;
  color: #10382c;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
}
.performance-you-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 9px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #72edd7;
  color: #10382e;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 6px #07251b55;
}
@media (max-width: 1050px) {
  .desk-workspace .performance-player > summary {
    grid-template-columns:
      38px minmax(140px, 1fr) minmax(220px, 1.7fr)
      56px 10px;
    gap: 9px;
  }
  .desk-workspace .performance-portrait img {
    width: 38px;
    height: 46px;
  }
  .desk-workspace .performance-bars {
    grid-row: auto;
    grid-column: auto;
    gap: 9px;
  }
  .desk-workspace .performance-bars b {
    font-size: 14px;
  }
  .desk-workspace .performance-identity > strong {
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  .desk-workspace .performance-player > summary {
    grid-template-columns: 36px minmax(0, 1fr) 55px 10px;
    gap: 9px;
    padding: 9px 10px;
  }
  .desk-workspace .performance-portrait img {
    width: 36px;
    height: 44px;
  }
  .desk-workspace .performance-bars {
    grid-row: 2;
    grid-column: 1 / -1;
    gap: 12px;
  }
  .desk-workspace .performance-score > strong {
    font-size: 21px;
  }
  .desk-workspace .performance-badges {
    display: none;
  }
}

.player-dialog.desk-workspace .performance-controls .performance-self {margin-left:auto;border:1px solid #64e6cd;background:#164d41;color:#aaffeb;font-size:12px;font-weight:700;padding:8px 12px;}
.desk-workspace .performance-player.is-you {scroll-margin-top:16px;}
