/* Back to Profile button style (matches Back to Playlists) */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  border: 1.5px solid #ff69b4;
  border-radius: 8px;
  color: #ff69b4;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.back-btn:hover, .back-btn:focus {
  background: #ff69b4;
  color: #000;
}

/* =========================================================
   Showcase card — stacked Most Loved / Most Hated sections
   with horizontal-scrolling tile rows, matching mobile app.
   ========================================================= */

.showcase-card {
  /* transparent so the profile background bleeds through like the mobile app */
  background: transparent;
  padding: 16px;
  border-radius: 10px;
  color: #fff;
}

.showcase-section {
  margin-bottom: 22px;
}
.showcase-section.loved {
  margin-top: 28px;
}
.showcase-section:last-child {
  margin-bottom: 0;
}

.showcase-section-title {
  margin: 0 0 14px 0;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.showcase-section-title.loved {
  color: #ff69b4;
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}
.showcase-section-title.hated {
  color: #ff2a2a;
  text-shadow: 0 0 10px rgba(255, 42, 42, 0.5);
}

.showcase-row {
  margin-bottom: 14px;
}
.showcase-row:last-child {
  margin-bottom: 0;
}

.showcase-row-label {
  color: #ff69b4;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.showcase-section.hated .showcase-row-label {
  color: #ff2a2a;
}

.showcase-row-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 105, 180, 0.3) transparent;
}
.showcase-row-track::-webkit-scrollbar {
  height: 5px;
}
.showcase-row-track::-webkit-scrollbar-track {
  background: transparent;
}
.showcase-row-track::-webkit-scrollbar-thumb {
  background: rgba(255, 105, 180, 0.25);
  border-radius: 3px;
}
.showcase-row-track::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 105, 180, 0.5);
}

.showcase-tile {
  flex: 0 0 auto;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
.showcase-tile:hover {
  transform: translateY(-2px);
}

.showcase-tile-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.showcase-tile:hover .showcase-tile-img {
  border-color: rgba(255, 105, 180, 0.4);
  box-shadow: 0 4px 14px rgba(255, 105, 180, 0.25);
}
.showcase-tile-img.artist {
  border-radius: 50%;
}

.showcase-tile-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  word-break: break-word;
}

.showcase-empty {
  color: #ffd9f7;
  text-shadow: 0 0 8px #ff69b4;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Tablet / narrow desktop: shrink tiles slightly */
@media (max-width: 920px) {
  .showcase-tile,
  .showcase-tile-img {
    width: 88px;
  }
  .showcase-tile-img {
    height: 88px;
  }
}

/* Phone: even smaller so 3-4 tiles peek on a small screen */
@media (max-width: 480px) {
  .showcase-card {
    padding: 12px;
  }
  .showcase-section-title {
    font-size: 1rem;
  }
  .showcase-tile,
  .showcase-tile-img {
    width: 76px;
  }
  .showcase-tile-img {
    height: 76px;
  }
  .showcase-tile-title {
    font-size: 0.78rem;
  }
  .showcase-row-track {
    gap: 10px;
  }
}
