/* Basketball Navojoa V5.0.12
   CAMBIO VISUAL EXCLUSIVO del perfil individual de jugador.
   Sin consultas, sin endpoints, sin cambios en datos, sin JavaScript. */

.player-profile {
  margin-top: 20px;
  padding: clamp(14px, 2.5vw, 26px);
  max-width: 100%;
  min-width: 0;
  border: 3px solid #ff8128;
  border-radius: 24px;
  color: #f9fbff;
  background: linear-gradient(155deg, #061725 0%, #0b263b 48%, #041421 100%);
  box-shadow: 0 15px 34px rgba(2, 12, 23, .35), inset 0 0 0 1px rgba(255, 158, 79, .16);
}

.player-profile .player-profile-top {
  display: grid;
  grid-template-columns: minmax(145px, .9fr) minmax(0, 1.1fr);
  gap: clamp(13px, 2.3vw, 25px);
  align-items: center;
  min-width: 0;
}

.player-profile .player-profile-top .player-photo-frame {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  flex-basis: auto;
  border: 5px solid #ff8128;
  border-radius: 23px;
  overflow: hidden;
  background: #f9f5f0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.player-profile .player-profile-photo { width: 100%; height: 100%; object-fit: cover; }
.player-profile .player-photo-placeholder { font-size: clamp(12px, 1.7vw, 19px); font-weight: 950; }
.player-profile .player-profile-identity { min-width: 0; max-width: 100%; }
.player-profile .roster-eyebrow {
  display: block;
  max-width: 100%;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.35;
  color: #ff9339;
  overflow-wrap: anywhere;
}
.player-profile .player-profile-identity h4.player-profile-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  margin: 10px 0 0;
  color: #ffffff;
  font-size: clamp(25px, 3.25vw, 43px);
  font-weight: 950;
  line-height: 1.07;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}
.player-profile .player-profile-name .player-first-name,
.player-profile .player-profile-name .player-last-name {
  display: block;
  max-width: 100%;
  white-space: normal;
  color: #ffffff;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}
.player-profile .player-profile-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.player-profile .player-profile-number { font-size: clamp(25px, 3vw, 40px); line-height: 1.1; font-weight: 950; color: #ffe1bc; }
.player-profile .player-profile-meta .player-injury-badge { width: 40px; height: 40px; font-size: 24px; border-width: 3px; }

.player-profile .player-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 21px 0 0;
  min-width: 0;
}
.player-profile .player-profile-field {
  min-width: 0;
  margin: 0;
  padding: clamp(13px, 2vw, 20px);
  min-height: 99px;
  border: 1px solid rgba(158, 191, 221, .39);
  border-radius: 16px;
  background: linear-gradient(145deg, #182e40, #21384b);
}
.player-profile .player-profile-label {
  display: block;
  font-size: clamp(13px, 1.55vw, 18px);
  font-weight: 950;
  letter-spacing: .065em;
  line-height: 1.3;
  color: #ffaf70;
  overflow-wrap: anywhere;
}
.player-profile .player-profile-field dd {
  margin: 9px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.15;
  color: #fdfefe;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .player-profile { margin-top: 18px; padding: 13px; border-radius: 22px; }
  .player-profile .player-profile-top {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: 12px;
  }
  .player-profile .player-profile-top .player-photo-frame { border-width: 4px; border-radius: 20px; }
  .player-profile .roster-eyebrow { font-size: clamp(14px, 4.2vw, 19px); letter-spacing: .045em; }
  .player-profile .player-profile-identity h4.player-profile-name { font-size: clamp(20px, 5.4vw, 31px); margin-top: 9px; }
  .player-profile .player-profile-meta { margin-top: 10px; gap: 7px; }
  .player-profile .player-profile-number { font-size: clamp(23px, 6.5vw, 32px); }
  .player-profile .player-profile-meta .player-injury-badge { width: 34px; height: 34px; font-size: 20px; }
  .player-profile .player-profile-grid { gap: 10px; margin-top: 17px; }
  .player-profile .player-profile-field { min-height: 89px; padding: 12px 11px; border-radius: 13px; }
  .player-profile .player-profile-label { font-size: clamp(13px, 3.6vw, 16px); letter-spacing: .045em; }
  .player-profile .player-profile-field dd { font-size: clamp(17px, 4.8vw, 22px); margin-top: 7px; }
}

@media (max-width: 370px) {
  .player-profile { padding: 10px; }
  .player-profile .player-profile-top { gap: 9px; }
  .player-profile .roster-eyebrow { font-size: 13px; }
  .player-profile .player-profile-identity h4.player-profile-name { font-size: clamp(18px, 5.4vw, 22px); }
  .player-profile .player-profile-field { padding: 11px 9px; }
  .player-profile .player-profile-label { font-size: 12.5px; }
  .player-profile .player-profile-field dd { font-size: 16px; }
}
