.profile {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: var(--space-4) var(--space-5) var(--space-9);
  min-height: 100vh;
  background-color: var(--color-bg-base);
}

.profile__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.profile__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  color: var(--color-text-base);
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.profile__back:hover {
  background-color: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.profile__title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-base);
  margin: 0;
}

.profile__hero {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background-color: var(--color-bg-surface);
  border-radius: var(--radius-comfortable);
  box-shadow: var(--shadow-medium);
}

.profile__identity {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.profile__name {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-base);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile__email {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile__since {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
}

.profile__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.profile__section-title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-base);
  margin: 0;
}

.profile-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.profile-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background-color: var(--color-bg-surface);
  border-radius: var(--radius-comfortable);
}

.profile-stat__value {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-base);
  line-height: 1;
}

.profile-stat__label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.profile-top-artist {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background-color: var(--color-bg-surface);
  border-radius: var(--radius-comfortable);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.profile-top-artist:hover {
  background-color: var(--color-bg-card);
  text-decoration: none;
}

.profile-top-artist__art {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-circle);
  flex-shrink: 0;
}

.profile-top-artist__art--placeholder {
  background-color: var(--color-bg-elevated);
}

.profile-top-artist__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.profile-top-artist__label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.profile-top-artist__name {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
