.draft-pick-modal {
  max-width: 48rem;
  width: min(48rem, calc(100vw - 2rem));
}

.draft-pick-modal table {
  width: 100%;
}

.draft-pick-modal th,
.draft-pick-modal td {
  text-align: left;
}

.draft-pick-modal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.draft-pick-modal-close {
  cursor: pointer;
  font-weight: bold;
}

.player-modal {
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgb(17 24 39 / 0.22);
  max-height: calc(100vh - 2rem);
  max-width: 72rem;
  padding: 0;
  width: min(72rem, calc(100vw - 2rem));
}

.player-modal::backdrop {
  background: rgb(17 24 39 / 0.48);
}

.player-modal-header {
  align-items: center;
  background: linear-gradient(to bottom,
      var(--player-modal-primary-color, #000000) 0%,
      var(--player-modal-primary-color, #000000) 75%,
      var(--player-modal-secondary-color, #000000) 75%,
      var(--player-modal-secondary-color, #000000) 100%);
  border-bottom: 1px solid var(--player-modal-secondary-color, #000000);
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1rem;
}

.player-modal-close {
  background: #000000;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  height: 2rem;
  line-height: 1;
  width: 2rem;
}

.player-modal-content {
  max-height: calc(100vh - 6rem);
  overflow: auto;
  padding: 1rem;
}

.player-modal-content .player-profile-hero {
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr) minmax(19rem, 24rem);
  margin-top: 0;
}

.player-modal-content .player-profile-summary {
  min-width: 0;
  width: auto;
}

.player-modal-content .player-profile-summary h1 {
  font-size: 2rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-modal-content .player-profile-stats-panel {
  min-width: 0;
}

.player-modal-content .player-profile-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.player-modal-content .player-profile-stat {
  min-width: 0;
}

.player-modal-content .player-profile-stat-label,
.player-modal-content .player-profile-stat strong,
.player-modal-content .player-profile-stat-rank {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-modal-content .player-profile-stat strong {
  font-size: 2rem;
}

.player-modal-content .player-profile-actions {
  display: none;
}

.player-modal-loading {
  margin: 0;
}
