/* 👤 MY PROFILE: who you are on Flyaboo — picture, name, rank, the sticker you're wearing and what you've collected. */
.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.profile-picture img {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-cyan);
}

.profile-picture-none {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 2px dashed var(--c-grey-444);
  border-radius: 50%;
  background: var(--c-grey-050505);
  font-size: 2.6rem;
}

.profile-who {
  flex: 1 1 14rem;
  min-width: 0;
}

.profile-name {
  margin: 0;
  color: var(--c-cyan);
  font-size: 1.4rem;
  overflow-wrap: anywhere;
}

.profile-rank {
  margin-top: 2px;
  color: var(--c-gold);
  font-size: 0.85rem;
  font-weight: bold;
}

.profile-who .start-quest-bar {
  margin-top: 8px;
}

.profile-xp {
  margin-top: 4px;
  color: var(--c-grey-aaa);
  font-size: 0.72rem;
}

.profile-sticker {
  margin-top: 8px;
  font-size: 0.8rem;
}

.profile-sticker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.profile-sticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--c-grey-333);
  border-radius: 8px;
  font-size: 0.78rem;
}

.profile-sticker-item--worn {
  border-color: var(--c-gold);
}

.profile-sticker-emoji {
  font-size: 1.4rem;
}

.profile-sticker-worn {
  margin-left: auto;
  color: var(--c-gold);
  font-size: 0.6rem;
  font-weight: bold;
}

.profile-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .profile-head {
    gap: 12px;
  }

  .profile-name {
    font-size: 1.2rem;
  }
}
