.popular-artists {
  max-width: 1440px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.popular-artists__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.popular-artists__header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.popular-artists__header a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}

.popular-artists__header a:hover {
  color: var(--color-primary-text);
}

.popular-artists__wrap {
  position: relative;
}

.artist-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.artist-slider::-webkit-scrollbar {
  display: none;
}

.artist-card {
  flex: 0 0 160px;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}



.artist-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  background: #e5e7eb;
  border-radius: 50%;
  transition: box-shadow .25s;
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}



.artist-card.is-active .artist-avatar {
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 5px var(--color-primary);
}

.artist-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  line-height: 1.2;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artists-arrow {
  position: absolute;
  top: 65px;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: #aab5c3;
  background: #142333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .2s, opacity .2s;
  opacity: 1;
  pointer-events: auto;
}

.artists-arrow--prev {
  left: -6px;
}

.artists-arrow--next {
  right: -6px;
}

.artists-arrow svg {
  width: 24px;
  height: 24px;
  color: currentColor;
}

.artists-arrow:hover,
.artists-arrow:focus-visible {
  color: #111;
  background: #ffa200;
  border-color: #ffa200;
  outline: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.artists-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.artist-empty {
  display: none;
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}

.artist-slider:empty + .artist-empty {
  display: block;
}

/* ---- Skeleton loading ---- */
.artist-slider.is-loading .artist-card {
  pointer-events: none;
}

.artist-skeleton {
  flex: 0 0 160px;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.artist-skeleton .skeleton-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #e5e7eb;
  animation: skeleton-loading 1.4s ease-in-out infinite;
}

.artist-skeleton .skeleton-line {
  width: 80px;
  height: 14px;
  border-radius: 6px;
  background: #e5e7eb;
  animation: skeleton-loading 1.4s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% { opacity: .6; }
  50% { opacity: 1; }
  100% { opacity: .6; }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .popular-artists {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .popular-artists__header h2 {
    font-size: 19px;
  }

  .artist-card {
    flex: 0 0 130px;
    width: 130px;
    gap: 8px;
  }

  .artist-avatar {
    width: 110px;
    height: 110px;
  }

  .artist-name {
    font-size: 14px;
    max-width: 130px;
  }

  .artists-arrow {
    width: 40px;
    height: 40px;
    top: 55px;
  }

  .artists-arrow--prev {
    left: -4px;
  }

  .artists-arrow--next {
    right: -4px;
  }

  .artists-arrow svg {
    width: 20px;
    height: 20px;
  }

  .artist-skeleton {
    flex: 0 0 130px;
    width: 130px;
  }

  .artist-skeleton .skeleton-circle {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .popular-artists__header h2 {
    font-size: 19px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .artists-arrow {
    display: none;
  }
}
