.player-profile-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.62);
  animation: profileFade 180ms ease-out both;
}
.player-profile-modal {
  position: fixed;
  inset: auto 0 0;
  z-index: 71;
  max-height: min(86dvh, 760px);
  overflow-y: auto;
  color: #132024;
  background: #f4f5f8;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -24px 58px rgba(0, 0, 0, 0.55);
  animation: profileRise 230ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.profile-hero {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 82px 1fr 44px;
  align-items: center;
  gap: 14px;
  min-height: 142px;
  padding: 22px 20px;
  color: var(--text-main);
  background: radial-gradient(circle at 88% 24%, rgba(253, 255, 255, 0.16), transparent 38%), linear-gradient(135deg, #6f0908, #e01822 58%, #230405);
}
.profile-avatar {
  width: 82px; height: 82px; overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.profile-heading h2 { margin: 0; font-family: "Heading Now 26 Bold", Impact, sans-serif; font-size: clamp(30px, 8vw, 42px); line-height: 0.95; }
.profile-heading p { margin: 8px 0 0; color: rgba(253, 255, 255, 0.76); font-size: 15px; }
.profile-hero button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, 0.36); font-size: 28px; cursor: pointer; }

.profile-action-row { display: grid; place-items: center; gap: 8px; padding: 24px 0 22px; border-bottom: 1px solid rgba(19, 32, 36, 0.12); font-size: 16px; }
.profile-action-badge { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: #e01822; font-size: 42px; font-weight: 800; }
.profile-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(19, 32, 36, 0.12); }
.profile-stat-strip div { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; text-align: center; }
.profile-stat-strip small { color: rgba(19, 32, 36, 0.68); font-size: 13px; }
.profile-stat-strip strong { font-size: 24px; }
@keyframes profileFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes profileRise { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
