.player-hero {
  margin-top: var(--evi-content-gap, 1rem);
}

.player-profile-identity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.player-profile-photo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.player-profile-copy,
.player-page > *,
.player-profile-team > span {
  min-width: 0;
}

.player-title {
  font-family: 'Causten', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  overflow-wrap: anywhere;
}

.player-profile-team {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  gap: .5rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.player-profile-team:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.player-profile-team-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.player-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.player-profile-meta .badge {
  max-width: 100%;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.player-profile-nav a {
  min-height: 44px;
}

.player-page {
  overflow-wrap: anywhere;
}

.player-anchor {
  scroll-margin-top: calc(var(--header-h, 72px) + 14px);
}

@media (max-width: 575.98px) {
  .player-profile-identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: .75rem;
  }

  .player-profile-photo {
    width: 64px;
    height: 64px;
  }

  .player-title {
    font-size: 1.5rem;
  }

  .player-profile-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .375rem;
    overflow: visible;
  }

  .player-profile-nav a {
    padding-inline: .375rem;
    font-size: .82rem;
  }

  .player-summary-table .roster-card-player {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
