









#view-artist .artist-topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#view-artist .topbar-left,
#view-artist .topbar-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#view-artist .back-link-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(109, 71, 112, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

#view-artist .back-link-btn:hover{
  background: var(--bg-card);
  border-color: var(--accent-pink);
  color: var(--accent-pink-deep);
}

#view-artist .status-banner{
  max-width: 520px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(109, 71, 112, 0.08);
  text-align: center;
}

#view-artist .status-banner.error{
  background: #fdf0f5;
  border-color: #f0b8ce;
  color: #9c2754;
}

#view-artist .status-banner h2{
  margin: 0 0 8px;
  font-size: 20px;
}

#view-artist .status-banner p{
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Directory mode (/artist or /artists without artist name) */
#view-artist .directory-stage{
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: 0 14px 40px rgba(109, 71, 112, 0.1);
}

#view-artist .directory-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#view-artist .directory-title{
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

#view-artist .count-badge{
  background: var(--accent-soft);
  color: var(--accent-pink-deep);
  border: 1px solid rgba(220, 126, 227, 0.32);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: bold;
}

#view-artist .directory-controls{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#view-artist .directory-search-input,
#view-artist .directory-sort-select{
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#view-artist .directory-search-input{
  min-width: 210px;
}

#view-artist .directory-search-input::placeholder{
  color: var(--text-muted);
}

#view-artist .directory-search-input:focus,
#view-artist .directory-sort-select:focus{
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(220, 126, 227, 0.22);
}

#view-artist .artist-directory-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

#view-artist .artist-card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 18px 14px 16px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#view-artist .artist-card:hover{
  transform: translateY(-2px);
  border-color: var(--accent-pink);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 24px rgba(109, 71, 112, 0.12);
}

#view-artist .artist-card.is-active-artist{
  border-color: var(--accent-pink);
  background: rgba(220, 126, 227, 0.08);
}

#view-artist .artist-card-avatar{
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F9F8FC 0%, #E9D4F2 100%);
  border: 2.5px solid rgba(220, 126, 227, 0.35);
  box-shadow: 0 8px 20px rgba(109, 71, 112, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
}

#view-artist .artist-card-silhouette{
  width: 78%;
  height: 78%;
  margin-top: 10%;
  display: block;
  color: #6D4770;
}

#view-artist .artist-card-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#view-artist .artist-card-play-btn{
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.9);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#view-artist .artist-card-play-circle{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E2A7EA 0%, #DC7EE3 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(48, 22, 52, 0.34);
  transition: transform 0.18s ease, filter 0.18s ease;
}

#view-artist .artist-card:hover .artist-card-play-btn,
#view-artist .artist-card:focus-within .artist-card-play-btn,
#view-artist .artist-card.is-playing-artist .artist-card-play-btn{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

@media (hover: none) {
  #view-artist .artist-card-play-btn:not(:disabled){
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

#view-artist .artist-card-play-btn:hover .artist-card-play-circle{
  transform: scale(1.07);
  filter: brightness(1.05);
}

#view-artist .artist-card-play-btn:disabled{
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0 !important;
}

#view-artist .artist-card-link{
  width: 100%;
  min-width: 0;
  text-align: start;
  padding-inline-end: 46px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#view-artist .artist-card-name{
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#view-artist .artist-card-meta{
  font-size: 12.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#view-artist .artist-card-sub{
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Artist Container matching host site palette */
#view-artist .artist-stage{
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(109, 71, 112, 0.12);
}

#view-artist .artist-hero{
  position: relative;
  min-height: 290px;
  padding: 36px 28px 28px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #6D4770 0%, #9E63A3 55%, #DC7EE3 100%);
  color: #ffffff;
}

#view-artist .artist-hero-banner-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) saturate(1.08);
  transform: scale(1.03);
  pointer-events: none;
  transition: filter 0.38s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

#view-artist .artist-hero-banner-bg.is-latest-cover{
  filter: blur(7px) brightness(0.68) saturate(1.12);
  transform: scale(1.06);
}

#view-artist .artist-hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(64, 34, 68, 0.18) 0%, rgba(64, 34, 68, 0.56) 60%, rgba(64, 34, 68, 0.88) 100%),
    linear-gradient(90deg, rgba(64, 34, 68, 0.48) 0%, transparent 65%);
  pointer-events: none;
  transition: background 0.35s ease, opacity 0.35s ease;
}

#view-artist .artist-hero.has-latest-cover:hover .artist-hero-banner-bg.is-latest-cover,
#view-artist .artist-hero.has-latest-cover:focus-within .artist-hero-banner-bg.is-latest-cover{
  filter: blur(0px) brightness(0.92) saturate(1.05);
  transform: scale(1.02);
}

#view-artist .artist-hero.has-latest-cover:hover .artist-hero-overlay,
#view-artist .artist-hero.has-latest-cover:focus-within .artist-hero-overlay{
  background:
    linear-gradient(180deg, rgba(64, 34, 68, 0.08) 0%, rgba(64, 34, 68, 0.3) 55%, rgba(64, 34, 68, 0.82) 100%),
    linear-gradient(90deg, rgba(64, 34, 68, 0.28) 0%, transparent 65%);
}

#view-artist .latest-release-spotlight{
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, calc(100% - 48px));
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(249, 248, 252, 0.94);
  border: 1px solid rgba(220, 126, 227, 0.45);
  box-shadow: 0 12px 30px rgba(64, 34, 68, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#view-artist .artist-hero.has-latest-cover:hover .latest-release-spotlight,
#view-artist .artist-hero.has-latest-cover:focus-within .latest-release-spotlight{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (hover: none) {
  #view-artist .artist-hero.has-latest-cover .latest-release-spotlight{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

#view-artist .latest-release-play-btn{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
  background: linear-gradient(135deg, #E2A7EA 0%, #DC7EE3 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px var(--accent-glow);
  transition: transform 0.14s ease, filter 0.14s ease;
}

#view-artist .latest-release-play-btn:hover{
  transform: scale(1.07);
  filter: brightness(1.06);
}

#view-artist .latest-release-info{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#view-artist .latest-release-tag{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: 11px;
  font-weight: bold;
  color: var(--accent-pink-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(220, 126, 227, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
}

#view-artist .latest-release-title{
  font-size: 14px;
  font-weight: bold;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#view-artist .latest-release-date{
  font-size: 11px;
  color: var(--text-secondary);
}

#view-artist .artist-avatar-silhouette{
  width: 82%;
  height: 82%;
  margin-top: 10%;
  display: block;
  color: #6D4770;
}

#view-artist .artist-hero-content{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

#view-artist .artist-avatar-wrap{
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

#view-artist .artist-avatar-frame{
  width: 156px;
  height: 156px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, #F9F8FC 0%, #E9D4F2 100%);
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 36px rgba(64, 34, 68, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6D4770;
}

#view-artist .artist-avatar-edit-btn{
  position: absolute;
  bottom: 4px;
  left: 4px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(135deg, #E2A7EA 0%, #DC7EE3 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(48, 22, 52, 0.38);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

#view-artist .artist-avatar-edit-btn:hover{
  transform: scale(1.08);
  filter: brightness(1.06);
  box-shadow: 0 8px 20px rgba(48, 22, 52, 0.48);
}

#view-artist .artist-avatar-edit-btn:active{
  transform: scale(0.95);
}

#view-artist .artist-avatar-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#view-artist .artist-hero-meta{
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#view-artist .artist-hero-name{
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(48, 22, 52, 0.48);
  word-break: break-word;
}

#view-artist .artist-hero-stats{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

#view-artist .stat-dot{
  opacity: 0.55;
}

/* Action Bar */
#view-artist .artist-actions-bar{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

#view-artist .spotify-play-btn{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #E2A7EA 0%, #DC7EE3 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px var(--accent-glow);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

#view-artist .spotify-play-btn:hover:not(:disabled){
  transform: scale(1.06);
  filter: brightness(1.04);
  box-shadow: 0 10px 26px rgba(220, 126, 227, 0.48);
}

#view-artist .spotify-play-btn:active:not(:disabled){
  transform: scale(0.97);
}

#view-artist .spotify-play-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

#view-artist .action-pill-btn{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

#view-artist .action-pill-btn:hover:not(:disabled){
  background: var(--bg-card-hover);
  border-color: var(--accent-pink);
  color: var(--accent-pink-deep);
}

#view-artist .action-pill-btn.is-active{
  background: var(--accent-soft);
  border-color: var(--accent-pink);
  color: var(--accent-pink-deep);
}

#view-artist .action-pill-btn.is-admin{
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

#view-artist .action-pill-btn.is-admin:hover{
  background: var(--accent-pink-hover);
  border-color: var(--accent-pink-hover);
  color: #ffffff;
}

#view-artist .action-pill-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

/* Content Sections */
#view-artist .artist-body{
  padding: 22px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#view-artist .section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#view-artist .section-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

#view-artist .section-subtitle{
  font-size: 13px;
  color: var(--text-muted);
}

/* Popular Tracks Table/List */
#view-artist .popular-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#view-artist .popular-row{
  display: grid;
  grid-template-columns: 34px 44px minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
  cursor: pointer;
}

#view-artist .popular-row:hover{
  background: var(--bg-card-hover);
}

#view-artist .popular-row.is-current{
  background: var(--accent-soft);
}

#view-artist .row-rank-cell{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  position: relative;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  font-weight: bold;
}

#view-artist .popular-row.is-current .row-rank-num{
  color: var(--accent-pink-deep);
}

#view-artist .row-rank-play{
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--accent-pink-deep);
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
}

#view-artist .popular-row:hover .row-rank-num,
#view-artist .popular-row:focus-within .row-rank-num{
  display: none;
}

#view-artist .popular-row:hover .row-rank-play,
#view-artist .popular-row:focus-within .row-rank-play{
  display: inline-flex;
}

#view-artist .row-thumb{
  width: 44px;
  height: 44px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(135deg, #DC7EE3 0%, #8E5697 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
}

#view-artist .row-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#view-artist .row-main{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#view-artist .row-title-line{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#view-artist .row-title{
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#view-artist .popular-row.is-current .row-title{
  color: var(--accent-pink-deep);
}

#view-artist .chart-badge{
  flex-shrink: 0;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-pink-deep);
  border: 1px solid rgba(220, 126, 227, 0.4);
}

#view-artist .row-sub{
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#view-artist .row-collab-link{
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

#view-artist .row-collab-link:hover{
  color: var(--accent-pink-deep);
  text-decoration: underline;
}

#view-artist .row-plays{
  font-size: 13px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: left;
}

#view-artist .row-like-btn{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

#view-artist .row-like-btn:hover{
  background: rgba(220, 126, 227, 0.12);
  color: var(--text-primary);
}

#view-artist .row-like-btn.is-liked{
  color: var(--heart-color);
}

#view-artist .row-duration{
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  text-align: center;
}

#view-artist .row-queue-btn{
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-deep);
  color: var(--accent-pink-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.14s ease, box-shadow 0.15s ease;
}

#view-artist .row-queue-btn:hover{
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #ffffff;
  transform: scale(1.07);
  box-shadow: 0 4px 12px var(--accent-glow);
}

#view-artist .row-queue-btn:active{
  transform: scale(0.95);
}

#view-artist .row-queue-btn.is-queued{
  background: linear-gradient(135deg, var(--site-orchid) 0%, var(--site-orchid-deep) 100%);
  border-color: var(--site-orchid-deep);
  color: #ffffff;
  box-shadow: 0 3px 10px var(--accent-glow);
}

#view-artist .row-queue-btn.is-queued:hover{
  background: linear-gradient(135deg, var(--site-orchid-hover) 0%, var(--site-orchid-deep) 100%);
  border-color: var(--site-orchid-deep);
  color: #ffffff;
}

#view-artist .show-more-btn{
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 4px;
}

#view-artist .show-more-btn:hover{
  color: var(--accent-pink-deep);
  text-decoration: underline;
}

#view-artist .empty-tracks{
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
}

/* About Section */
#view-artist .about-card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: start;
}

#view-artist .about-bio{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-line;
  word-break: break-word;
}

#view-artist .about-bio.is-empty{
  color: var(--text-muted);
  font-style: italic;
}

#view-artist .about-stats-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

#view-artist .about-stats-grid.is-three-stats .about-stat-box:last-child{
  grid-column: 1 / -1;
}

#view-artist .about-stat-box{
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
}

#view-artist .about-stat-val{
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

#view-artist .about-stat-label{
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Toast */
#view-artist .artist-toast{
  position: fixed;
  bottom: 102px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  background: var(--accent-purple);
  color: #ffffff;
  border: 1px solid rgba(220, 126, 227, 0.45);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 10px 26px rgba(109, 71, 112, 0.3);
}

@media (max-width: 760px) {
  #view-artist .directory-stage{
    padding: 18px 16px;
  }

  #view-artist .directory-controls{
    width: 100%;
  }

  #view-artist .directory-search-input{
    flex: 1;
    min-width: 0;
  }

  #view-artist .artist-directory-grid{
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }

  #view-artist .artist-card-avatar{
    width: 100px;
    height: 100px;
  }

  #view-artist .artist-hero{
    padding: 24px 18px 20px;
    min-height: 230px;
    flex-direction: column;
    align-items: stretch;
  }

  #view-artist .latest-release-spotlight{
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    align-self: flex-start;
  }

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

  #view-artist .artist-avatar-edit-btn{
    width: 32px;
    height: 32px;
    bottom: 2px;
    left: 2px;
  }

  #view-artist .artist-avatar-edit-btn svg{
    width: 14px;
    height: 14px;
  }

  #view-artist .artist-actions-bar,
#view-artist .artist-body{
    padding-left: 16px;
    padding-right: 16px;
  }

  #view-artist .popular-row{
    grid-template-columns: 26px 40px minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 8px 6px;
  }

  #view-artist .row-plays,
#view-artist .row-duration{
    display: none;
  }

  #view-artist .about-card{
    grid-template-columns: 1fr;
  }
}

/* Loading Skeletons */
html[data-loading-view="detail"] #view-artist .skeleton-directory-view,
html[data-loading-view="directory"] #view-artist .skeleton-detail-view,
html:not([data-loading-view]) #view-artist .skeleton-detail-view{
  display: none;
}

#view-artist .skeleton-stage,
#view-artist .skeleton-stage *{
  pointer-events: none;
  user-select: none;
}

#view-artist .skeleton-dir-title{
  width: 98px;
  height: 28px;
  border-radius: 10px;
}

#view-artist .skeleton-dir-badge{
  width: 40px;
  height: 24px;
}

#view-artist .skeleton-search-pill{
  width: 210px;
  height: 35px;
  max-width: 100%;
}

#view-artist .skeleton-sort-pill{
  width: 128px;
  height: 35px;
}

#view-artist .artist-card.is-skeleton{
  cursor: default;
}

#view-artist .artist-card.is-skeleton .artist-card-avatar{
  background: linear-gradient(
    90deg,
    rgba(109, 71, 112, 0.09) 25%,
    rgba(220, 126, 227, 0.16) 50%,
    rgba(109, 71, 112, 0.09) 75%
  );
  background-size: 220% 100%;
  animation: skeletonShimmer 1.55s ease-in-out infinite;
  border-color: rgba(220, 126, 227, 0.2);
  box-shadow: none;
}

#view-artist .skeleton-artist-card-body{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#view-artist .skeleton-artist-name{
  width: 64%;
  height: 16px;
}

#view-artist .skeleton-artist-meta{
  width: 52%;
  height: 12px;
}

#view-artist .skeleton-artist-sub{
  width: 72%;
  height: 11px;
}

#view-artist .artist-hero.is-skeleton .artist-avatar-frame{
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16) 25%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.16) 75%
  );
  background-size: 220% 100%;
  animation: skeletonShimmer 1.55s ease-in-out infinite;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 36px rgba(64, 34, 68, 0.24);
}

#view-artist .skeleton-hero-name{
  width: min(260px, 70%);
  height: 46px;
  border-radius: 12px;
}

#view-artist .skeleton-hero-stats{
  width: 210px;
  height: 14px;
  margin-top: 2px;
}

#view-artist .skeleton-play-circle{
  width: 56px;
  height: 56px;
}

#view-artist .skeleton-action-pill{
  width: 92px;
  height: 36px;
}

#view-artist .skeleton-action-pill.is-wide{
  width: 134px;
}

#view-artist .skeleton-section-title{
  width: 96px;
  height: 24px;
  border-radius: 8px;
}

#view-artist .skeleton-section-sub{
  width: 136px;
  height: 13px;
}

#view-artist .popular-row.is-skeleton{
  cursor: default;
}

#view-artist .popular-row.is-skeleton .row-thumb{
  background: linear-gradient(
    90deg,
    rgba(109, 71, 112, 0.09) 25%,
    rgba(220, 126, 227, 0.16) 50%,
    rgba(109, 71, 112, 0.09) 75%
  );
  background-size: 220% 100%;
  animation: skeletonShimmer 1.55s ease-in-out infinite;
}

#view-artist .skeleton-rank-bar{
  width: 16px;
  height: 13px;
}

#view-artist .skeleton-track-title{
  height: 15px;
  width: 56%;
}

#view-artist .skeleton-track-title.w-sm{
  width: 42%;
}

#view-artist .skeleton-track-title.w-lg{
  width: 70%;
}

#view-artist .skeleton-track-sub{
  height: 12px;
  width: 28%;
}

#view-artist .skeleton-plays-bar{
  width: 44px;
  height: 12px;
}

#view-artist .skeleton-like-pill{
  width: 38px;
  height: 24px;
}

#view-artist .skeleton-duration-bar{
  width: 38px;
  height: 12px;
}

#view-artist .skeleton-queue-pill{
  width: 66px;
  height: 26px;
}

#view-artist .skeleton-bio-lines{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#view-artist .skeleton-bio-line{
  height: 14px;
  width: 94%;
}

#view-artist .skeleton-bio-line.is-med{
  width: 84%;
}

#view-artist .skeleton-bio-line.is-short{
  width: 60%;
}

#view-artist .skeleton-stat-val{
  width: 52px;
  height: 22px;
  border-radius: 7px;
}

#view-artist .skeleton-stat-label{
  width: 76px;
  height: 11px;
  margin-top: 6px;
}

@media (max-width: 760px) {
  #view-artist .skeleton-search-pill{
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #view-artist .skeleton-hero-name{
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #view-artist .artist-card.is-skeleton .artist-card-avatar,
#view-artist .artist-hero.is-skeleton .artist-avatar-frame,
#view-artist .popular-row.is-skeleton .row-thumb{
    animation: none;
  }
}


