/* Contadores clássicos do perfil: recados, fotos, na foto, vídeos e fãs. */
.profile-counters > .profile-media-counter {
  min-width: 48px;
  margin: 0;
}

.profile-counter-value-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.profile-counter-value-link:hover strong {
  text-decoration: underline;
}

.profile-counter-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

.profile-media-counter strong {
  display: inline-block;
  vertical-align: middle;
}

/* Mantém os cinco contadores juntos na primeira linha no celular. */
@media (max-width: 700px) {
  .profile-counters {
    display: grid !important;
    grid-template-columns: repeat(15, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .profile-counters > .profile-media-counter {
    grid-row: 1 !important;
    grid-column: span 3 !important;
    min-width: 0 !important;
    padding: 8px 1px !important;
    text-align: center;
  }

  .profile-counters > .profile-media-counter .counter-label {
    font-size: 9px;
    white-space: nowrap;
  }

  .profile-counters > .profile-media-counter .profile-counter-value-link {
    justify-content: center;
    gap: 2px;
  }

  .profile-counters > .profile-media-counter .profile-counter-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .profile-counters > .profile-media-counter strong {
    font-size: 14px;
  }

  .profile-counters > .profile-rating-button {
    grid-row: 2 !important;
    grid-column: span 5 !important;
    min-width: 0 !important;
  }
}
