/* ═══════════════════════════════════════════════════════════
   Artist Popover — Frosted glass modal with hero + follow
   ═══════════════════════════════════════════════════════════ */

/* Overlay scrim */
.artp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
  padding: 0;
}
.artp-overlay.artp-visible {
  opacity: 1;
}

/* Card — bottom sheet on mobile, centered on desktop */
.artp-card {
  background: rgba(21, 21, 28, 0.55);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 0 0;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(40px) scale(.92);
  opacity: 0;
  transition: transform .4s cubic-bezier(.175, .885, .32, 1.275),
              opacity .25s ease;
  -webkit-overflow-scrolling: touch;
}
.artp-visible .artp-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@media (min-width: 640px) {
  .artp-overlay {
    align-items: center;
    padding: 24px;
  }
  .artp-card {
    max-width: 480px;
    max-height: 80vh;
    border-radius: 18px;
    transform: translateY(30px) scale(.92);
    opacity: 0;
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275),
                opacity .25s ease;
  }
  .artp-visible .artp-card {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Close button */
.artp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(21, 21, 28, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all .15s;
}
.artp-close:hover {
  color: #fff;
  background: rgba(255, 90, 95, 0.4);
  border-color: var(--accent);
}

/* ─── Hero area ─────────────────────────────────────────── */
.artp-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 320px;
  background: linear-gradient(135deg, #1d1d27 0%, #2a2a36 100%);
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
}

.artp-hero--has-image {
  background-size: cover;
  background-position: center center;
}

.artp-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21, 21, 28, 0) 0%,
    rgba(21, 21, 28, 0.15) 50%,
    rgba(21, 21, 28, 0.6) 100%
  );
  z-index: 1;
}

.artp-name {
  position: relative;
  z-index: 2;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.artp-meta {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ─── Body content ──────────────────────────────────────── */
.artp-body {
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  min-height: 60px;
}

/* Genre pills */
.artp-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.artp-genre {
  background: rgba(124, 156, 255, 0.08);
  border: 1px solid rgba(124, 156, 255, 0.15);
  color: rgba(192, 132, 252, 0.9);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

/* Tagline — the hook (most prominent text on the card) */
.artp-tagline {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

/* Bio */
.artp-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
  opacity: .88;
}

/* Track mention (no preview available) */
.artp-track-mention {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── Audio player ──────────────────────────────────────── */
.artp-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.artp-play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .15s, filter .15s;
}
.artp-play-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}
.artp-play-btn:active {
  transform: scale(.95);
}

.artp-player-info {
  flex: 1;
  min-width: 0;
}
.artp-track-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

/* Waveform visualizer */
.artp-waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}
.artp-waveform span {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .3;
  transition: opacity .2s;
}
.artp-waveform span:nth-child(1) { height: 8px; }
.artp-waveform span:nth-child(2) { height: 14px; }
.artp-waveform span:nth-child(3) { height: 10px; }
.artp-waveform span:nth-child(4) { height: 16px; }
.artp-waveform span:nth-child(5) { height: 6px; }

.artp-waveform--playing span {
  opacity: 1;
  animation: artp-wave 0.8s ease-in-out infinite alternate;
}
.artp-waveform--playing span:nth-child(1) { animation-delay: 0s; }
.artp-waveform--playing span:nth-child(2) { animation-delay: 0.15s; }
.artp-waveform--playing span:nth-child(3) { animation-delay: 0.3s; }
.artp-waveform--playing span:nth-child(4) { animation-delay: 0.1s; }
.artp-waveform--playing span:nth-child(5) { animation-delay: 0.25s; }

@keyframes artp-wave {
  0%   { height: 4px; }
  100% { height: 18px; }
}

.artp-player-time {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* No-preview state */
.artp-player--no-preview {
  background: rgba(124, 156, 255, 0.06);
  border-color: rgba(124, 156, 255, 0.1);
}
.artp-play-btn--disabled {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.06);
  cursor: default;
  pointer-events: none;
}
.artp-play-btn--disabled:hover {
  transform: none;
  filter: none;
}
.artp-track-album {
  font-size: 11px;
  color: var(--muted);
  opacity: .6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.artp-spotify-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(30, 215, 96, 0.12);
  color: #1ed760;
  flex-shrink: 0;
  transition: all .15s;
}
.artp-spotify-link:hover {
  background: rgba(30, 215, 96, 0.22);
  transform: scale(1.08);
}

/* ─── Listen on Spotify link ───────────────────────────── */
.artp-listen-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(30, 215, 96, 0.1);
  border: 1px solid rgba(30, 215, 96, 0.2);
  color: #1ed760;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  margin-bottom: 16px;
}
.artp-listen-link:hover {
  background: rgba(30, 215, 96, 0.18);
  border-color: rgba(30, 215, 96, 0.4);
  transform: translateY(-1px);
}

/* ─── SDK Player — progress bar ─────────────────────────── */
.artp-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
  cursor: pointer;
}
.artp-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1DB954, #1ed760);
  border-radius: 2px;
  transition: width .2s linear;
}
.artp-sdk-player .artp-track-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* ─── Connect Spotify Button ──────────────────────────────── */
.artp-connect-spotify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 24px;
  border: 1px solid rgba(30, 215, 96, 0.25);
  background: rgba(30, 215, 96, 0.08);
  color: #1DB954;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  margin-bottom: 16px;
}
.artp-connect-spotify:hover {
  background: rgba(30, 215, 96, 0.15);
  border-color: rgba(30, 215, 96, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 215, 96, 0.15);
}
.artp-connect-spotify:active {
  transform: translateY(0);
}

/* ─── Sources line ──────────────────────────────────────── */
.artp-sources {
  font-size: 11px;
  color: var(--muted);
  opacity: .6;
  margin-bottom: 16px;
  line-height: 1.5;
}
.artp-source-link {
  color: rgba(124, 156, 255, 0.7);
  text-decoration: none;
  transition: color .15s, opacity .15s;
}
.artp-source-link:hover {
  color: rgba(124, 156, 255, 1);
  text-decoration: underline;
}

/* ─── Follow button (compact pill) ─────────────────────── */
.artp-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
  background: rgba(124, 156, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(124, 156, 255, 0.2);
  margin-top: 4px;
}
.artp-follow-btn:hover:not(:disabled) {
  background: rgba(124, 156, 255, 0.18);
  border-color: rgba(124, 156, 255, 0.35);
  transform: translateY(-1px);
}
.artp-follow-btn:active:not(:disabled) {
  transform: scale(.97);
}
.artp-follow-btn:disabled {
  opacity: .4;
  cursor: default;
}

.artp-follow-btn--active {
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.25), rgba(192, 132, 252, 0.2));
  border-color: rgba(192, 132, 252, 0.35);
  color: rgba(192, 132, 252, 0.95);
}
.artp-follow-btn--active:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.3), rgba(192, 132, 252, 0.25));
  border-color: rgba(192, 132, 252, 0.5);
  transform: translateY(-1px);
}

.artp-follow-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ─── Spotify stats ────────────────────────────────────── */
.artp-spotify-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.artp-stat-label {
  font-size: 11px;
  color: var(--muted);
  opacity: .7;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.artp-popularity-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.artp-popularity-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(124, 156, 255, 0.6), rgba(192, 132, 252, 0.8));
  border-radius: 2px;
  transition: width .6s ease;
}

/* ─── No bio / Vote to prioritize ──────────────────────── */
.artp-no-bio {
  text-align: center;
  padding: 12px 0 8px;
}
.artp-no-bio-text {
  font-size: 13px;
  color: var(--muted);
  opacity: .7;
  margin: 0 0 12px;
  line-height: 1.5;
}

.artp-request-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: rgba(192, 132, 252, 0.08);
  color: rgba(192, 132, 252, 0.9);
  border: 1px solid rgba(192, 132, 252, 0.18);
  transition: all .2s ease;
}
.artp-request-btn:hover:not(:disabled) {
  background: rgba(192, 132, 252, 0.16);
  border-color: rgba(192, 132, 252, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(192, 132, 252, 0.12);
}
.artp-request-btn:active:not(:disabled) {
  transform: scale(.97);
}
.artp-request-btn:disabled {
  cursor: default;
}
.artp-request-btn--voted {
  background: rgba(52, 199, 89, 0.85);
  border-color: rgba(52, 199, 89, 0.5);
  color: #fff;
  pointer-events: none;
}
.artp-request-btn--voted:hover {
  transform: none;
  box-shadow: none;
}

/* ─── Empty state ───────────────────────────────────────── */
.artp-empty {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px 0 8px;
}

/* ─── Loading animation ─────────────────────────────────── */
.artp-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}
.artp-loading-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.artp-loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(192, 132, 252, 0.6);
  animation: artp-pulse 1.2s ease-in-out infinite;
}
.artp-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.artp-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes artp-pulse {
  0%, 100% { opacity: .3; transform: scale(.8); }
  50%      { opacity: 1;  transform: scale(1.1); }
}

/* ─── Premium Notice (wrong account / non-Premium) ────── */
.artp-premium-notice {
  text-align: center;
  padding: 8px 0;
}
.artp-premium-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.artp-premium-msg svg {
  flex-shrink: 0;
  color: rgba(255, 179, 71, 0.85);
}
.artp-premium-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.artp-switch-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: rgba(30, 215, 96, 0.1);
  color: #1DB954;
  border: 1px solid rgba(30, 215, 96, 0.25);
  transition: all .2s ease;
}
.artp-switch-account-btn:hover {
  background: rgba(30, 215, 96, 0.18);
  border-color: rgba(30, 215, 96, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(30, 215, 96, 0.12);
}
.artp-switch-account-btn:active {
  transform: scale(.97);
}
.artp-disconnect-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .2s ease;
}
.artp-disconnect-btn:hover {
  background: rgba(255, 90, 95, 0.1);
  border-color: rgba(255, 90, 95, 0.25);
  color: rgba(255, 90, 95, 0.9);
  transform: translateY(-1px);
}
.artp-disconnect-btn:active {
  transform: scale(.97);
}

/* ═══════════════════════════════════════════════════════════
   Phase 2 — Artist pill redesign (shimmer + gradient)
   ═══════════════════════════════════════════════════════════ */
.artp-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.08), rgba(192, 132, 252, 0.06));
  border: 1px solid rgba(124, 156, 255, 0.12);
  padding: 3px 10px 3px 6px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-dim, #a0a8b8);
  cursor: pointer;
  transition: all .2s ease;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}
.artp-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(192, 132, 252, 0.18) 40%,
    rgba(124, 156, 255, 0.25) 50%,
    rgba(192, 132, 252, 0.18) 60%,
    transparent 80%
  );
  background-size: 200% 100%;
  animation: artp-shimmer 7s linear infinite;
  pointer-events: none;
}
.artp-pill:hover {
  border-color: rgba(192, 132, 252, 0.35);
  color: var(--text);
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.14), rgba(192, 132, 252, 0.10));
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(124, 156, 255, 0.1);
}
.artp-pill:active {
  transform: scale(.95);
  transition: transform .1s;
}
.artp-pill svg {
  flex-shrink: 0;
  color: var(--accent);
}

@keyframes artp-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Secondary artist pills — same size, no shimmer, dimmer */
.artp-pill--secondary {
  opacity: 0.6;
  border-color: rgba(124, 156, 255, 0.08);
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.04), rgba(192, 132, 252, 0.03));
}
.artp-pill--secondary::after {
  display: none; /* no shimmer */
}
.artp-pill--secondary:hover {
  opacity: 1;
  border-color: rgba(192, 132, 252, 0.25);
}

/* "+N more" pill — opens event detail */
.artp-pill--more {
  opacity: 0.5;
  border-color: rgba(124, 156, 255, 0.08);
  background: rgba(124, 156, 255, 0.04);
  font-style: italic;
}
.artp-pill--more::after {
  display: none;
}
.artp-pill--more:hover {
  opacity: 0.85;
  border-color: rgba(192, 132, 252, 0.25);
}

/* Unlinked pills — no artist doc yet, not clickable */
.artp-pill--unlinked {
  cursor: default;
  pointer-events: none;
}
.artp-pill--unlinked::after {
  display: none;
}

/* Artist pills container — flex wrap with overflow */
.artp-pills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin: 6px 0;
}

/* Mobile: bigger touch target for artist pills */
@media (max-width: 640px) {
  .artp-pill {
    padding: 6px 12px 6px 8px;
    font-size: 12px;
    min-height: 32px;
    -webkit-tap-highlight-color: rgba(192, 132, 252, 0.15);
  }
}

/* ═══════════════════════════════════════════════════════════
   Global Persistent Mini-Player Bar
   Sits above the dock when music is playing
   ═══════════════════════════════════════════════════════════ */
.movita-mini-player {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0);
  left: 0; right: 0;
  z-index: 8999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}
.movita-mini-player.visible {
  transform: translateY(0);
}

.movita-mini-player-art {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.movita-mini-player-info {
  flex: 1;
  min-width: 0;
}
.movita-mini-player-track {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movita-mini-player-artist {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movita-mini-player-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.movita-mini-player-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.movita-mini-player-progress {
  position: absolute;
  top: -2px;
  left: 0; right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.movita-mini-player-progress-fill {
  height: 100%;
  width: 0%;
  background: #1DB954;
  transition: width .2s linear;
}

/* Push dock up when mini-player is visible */
.movita-mini-player.visible ~ .dock,
.movita-mini-player.visible ~ #dock {
  transform: translateY(-56px);
}

/* Mobile: mini-player above dock */
@media (max-width: 768px) {
  .movita-mini-player {
    bottom: calc(60px + env(safe-area-inset-bottom, 0));
  }
  .movita-mini-player.visible ~ .dock,
  .movita-mini-player.visible ~ #dock {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   Cross-event appearances — horizontal scrollable chips
   ═══════════════════════════════════════════════════════════ */

.artp-appearances {
  margin: 14px 0 6px;
}
.artp-appearances-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.artp-appearances-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.artp-appearances-scroll::-webkit-scrollbar { display: none; }

.artp-appearance-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  max-width: 180px;
  font-family: inherit;
  color: inherit;
}
.artp-appearance-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}
.artp-chip-title {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  color: rgba(255, 255, 255, 0.9);
}
.artp-chip-date {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   Listeners also follow — related artist pills
   ═══════════════════════════════════════════════════════════ */
.artp-related {
  margin: 14px 0 6px;
}
.artp-related-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.artp-related-scroll {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.artp-related-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(29, 185, 84, 0.12);
  border: 1px solid rgba(29, 185, 84, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
  font-family: inherit;
  white-space: nowrap;
}
.artp-related-pill:hover {
  background: rgba(29, 185, 84, 0.22);
  border-color: rgba(29, 185, 84, 0.45);
  transform: translateY(-1px);
}
.artp-related-pill:active {
  transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════════
   Spotify stats — followers + popularity (enhanced)
   ═══════════════════════════════════════════════════════════ */

.artp-spotify-stats {
  margin: 12px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.artp-stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.artp-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  min-width: 70px;
}
.artp-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.artp-popularity-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.artp-popularity-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #1DB954, #1ed760);
  transition: width .4s ease;
}
