/* =========================================================
   PITCH. / PROFILE HERO — COMPACT HEADER
   Keeps the player identity prominent without turning the
   profile intro into a second full-size hero section.
   ========================================================= */

.profile-hero {
  padding-top: 14px;
}

.profile-card {
  min-height: 112px;
  border-radius: 16px;
}

.profile-content {
  min-height: 112px;
  gap: 14px;
  padding: 14px 20px;
}

.profile-avatar-wrap,
.profile-avatar {
  width: 76px;
  height: 76px;
}

.profile-avatar-wrap {
  flex-basis: 76px;
}

.profile-avatar {
  border-width: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.28);
}

.profile-status-dot {
  right: 0;
  bottom: 6px;
  width: 9px;
  height: 9px;
  border-width: 2px;
}

.profile-name-row {
  gap: 5px;
}

.profile-name-row h1 {
  font-size: clamp(18px, 1.45vw, 20px);
}

.profile-username {
  margin: 3px 0 2px;
}

.profile-presence {
  min-height: 13px;
  margin-bottom: 2px;
  line-height: 13px;
}

.profile-meta {
  min-height: 13px;
  line-height: 13px;
}

.profile-card .profile-hero-actions {
  align-self: center;
}

.profile-card-decoration::before {
  width: 300px;
  height: 300px;
  right: -92px;
  top: -235px;
}

.profile-content-section {
  padding-top: 16px;
}

@media (max-width: 760px) {
  .profile-hero {
    padding-top: 12px;
  }

  .profile-card {
    min-height: 104px;
    border-radius: 14px;
  }

  .profile-content {
    min-height: 104px;
    gap: 12px;
    padding: 14px 16px;
  }

  .profile-avatar-wrap,
  .profile-avatar {
    width: 68px;
    height: 68px;
  }

  .profile-avatar-wrap {
    flex-basis: 68px;
  }

  .profile-status-dot {
    right: -1px;
    bottom: 5px;
    width: 8px;
    height: 8px;
  }

  .profile-name-row {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .profile-name-row h1 {
    font-size: 18px;
  }

  .profile-meta {
    gap: 5px;
  }
}

@media (max-width: 560px) {
  .profile-content {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .profile-avatar-wrap,
  .profile-avatar {
    width: 62px;
    height: 62px;
  }

  .profile-avatar-wrap {
    flex-basis: 62px;
  }

  .profile-identity {
    flex: 1 1 calc(100% - 76px);
    padding-top: 1px;
  }

  .profile-card .profile-hero-actions {
    width: 100%;
    margin-left: 0;
    padding-left: 74px;
  }
}

@media (max-width: 430px) {
  .profile-card .profile-hero-actions {
    padding-left: 0;
  }
}

.profile-avatar-wrap .profile-status-dot {
  right: auto;
  bottom: 5px;
  left: 1px;
}
