/* Artist profile — classic, contained card layout (light + dark safe) */

.pb-artist-page {
	margin-bottom: 2rem;
}

.pb-artist-shell {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

/* ---- Profile header ---- */
.pb-artist-profile {
	padding: 28px 28px 0;
	border-bottom: 1px solid #eef2f6;
}

.pb-artist-profile__main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px;
}

.pb-artist-profile__photo {
	width: 148px;
	height: 148px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12), 0 0 0 1px #e5e7eb;
	flex-shrink: 0;
}

.pb-artist-profile__info {
	flex: 1;
	min-width: 220px;
	padding-top: 4px;
}

.pb-artist-profile__name {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #111827;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.pb-artist-profile__bio {
	margin: 0 0 10px;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #4b5563;
	max-width: 680px;
}

.pb-artist-profile__bio a {
	color: #00A6FF;
	font-weight: 600;
	text-decoration: none;
}

.pb-artist-profile__bio a:hover {
	text-decoration: underline;
}

.pb-artist-profile__meta {
	margin: 0;
	font-size: 0.84rem;
	color: #6b7280;
}

.pb-artist-profile__meta i {
	color: #9ca3af;
	margin-right: 4px;
}

/* Metrics row */
.pb-artist-profile__metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin: 24px -28px 0;
	background: #eef2f6;
	border-top: 1px solid #eef2f6;
}

.pb-artist-metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 16px 12px;
	background: #f9fafb;
	text-align: center;
}

.pb-artist-metric__value {
	font-size: 1.25rem;
	font-weight: 800;
	color: #111827;
	line-height: 1;
}

.pb-artist-metric__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b7280;
}

.pb-artist-metric__label i {
	margin-right: 4px;
	color: #00A6FF;
}

/* ---- Tabs (underline only — no filled pill) ---- */
.pb-artist-panel {
	padding: 0 28px 28px;
}

.pb-artist-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 -28px 20px;
	padding: 0 28px;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.pb-artist-tabs .nav-item {
	margin-bottom: 0;
}

.pb-artist-page .pb-artist-tabs .nav-link {
	border: none !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	margin-bottom: -1px;
	padding: 14px 20px !important;
	font-size: 0.88rem;
	font-weight: 600;
	color: #6b7280 !important;
	background: transparent !important;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.pb-artist-page .pb-artist-tabs .nav-link:hover {
	color: #111827 !important;
	border-bottom-color: #cbd5e1 !important;
	background: transparent !important;
}

.pb-artist-page .pb-artist-tabs .nav-link.active,
.pb-artist-page .pb-artist-tabs .nav-link.active:hover {
	color: #00A6FF !important;
	border-bottom-color: #00A6FF !important;
	background-color: transparent !important;
}

/* ---- Track list ---- */
.pb-artist-tracks-panel {
	border: 1px solid #eef2f6;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.pb-artist-tracks .pb-collection-list {
	margin: 0;
	padding: 0;
}

.pb-artist-tracks .pb-collection-list__item {
	border-radius: 0;
	padding: 11px 14px;
	cursor: pointer;
	border-bottom: 1px solid #f3f4f6;
	transition: background 0.12s ease;
}

.pb-artist-tracks .pb-collection-list__item:last-child {
	border-bottom: none;
}

.pb-artist-tracks .pb-collection-list__item:hover {
	background: #f8fafc;
}

.pb-artist-tracks .pb-collection-list__item__number {
	min-width: 22px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #9ca3af;
}

.pb-artist-tracks .pb-collection-list__cover {
	margin-left: 10px;
}

.pb-artist-tracks .pb-collection-list__cover img {
	width: 44px;
	height: 44px;
	border-radius: 6px;
	object-fit: cover;
}

.pb-artist-tracks .pb-collection-list__cover__title {
	font-weight: 600;
	font-size: 0.9rem;
	color: #111827;
}

.pb-artist-tracks .pb-collection-list__cover__sub-title {
	color: #6b7280;
}

.pb-artist-tracks .pb-collection-list__item .pb-btn-play {
	display: inline-flex !important;
	width: 30px;
	height: 30px;
	min-width: 30px;
	background: #00A6FF;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	opacity: 1;
	flex-shrink: 0;
}

.pb-artist-tracks .pb-collection-list__item .pb-btn-play::before {
	color: #fff;
	left: 54%;
	font-size: 10px;
}

.pb-artist-tracks .pb-collection-list__item .pb-btn-download {
	color: #6b7280;
	font-size: 0.95rem;
	padding: 8px 10px;
	border-radius: 8px;
	transition: color 0.15s, background 0.15s;
}

.pb-artist-tracks .pb-collection-list__item .pb-btn-download:hover {
	color: #00A6FF;
	background: rgba(0, 166, 255, 0.08);
}

.pb-artist-tracks .pb-collection-list__item > .mr-2 {
	font-size: 0.82rem;
	color: #9ca3af;
	font-variant-numeric: tabular-nums;
}

/* Albums grid */
.pb-artist-albums .pb-card--classic {
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pb-artist-albums .pb-card--classic:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pb-artist-empty {
	padding: 2rem 1rem;
	text-align: center;
	color: #6b7280;
	font-size: 0.92rem;
}

/* ===================== DARK THEME ===================== */
.pb-theme-dark .pb-artist-shell {
	background: #1a1f28;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.pb-theme-dark .pb-artist-profile {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pb-theme-dark .pb-artist-profile__photo {
	border-color: #1a1f28;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pb-theme-dark .pb-artist-profile__name {
	color: #f9fafb;
}

.pb-theme-dark .pb-artist-profile__bio {
	color: #9ca3af;
}

.pb-theme-dark .pb-artist-profile__bio a {
	color: #38bdf8;
}

.pb-theme-dark .pb-artist-profile__meta {
	color: #9ca3af;
}

.pb-theme-dark .pb-artist-profile__metrics {
	background: rgba(255, 255, 255, 0.06);
	border-top-color: rgba(255, 255, 255, 0.08);
}

.pb-theme-dark .pb-artist-metric {
	background: #151a22;
}

.pb-theme-dark .pb-artist-metric__value {
	color: #f9fafb;
}

.pb-theme-dark .pb-artist-metric__label {
	color: #9ca3af;
}

.pb-theme-dark .pb-artist-tabs {
	background: #1a1f28;
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Override global nav-tabs active (blue bg + blue text = invisible) */
.pb-theme-dark .pb-artist-page .pb-artist-tabs .nav-link {
	color: #9ca3af !important;
	background-color: transparent !important;
}

.pb-theme-dark .pb-artist-page .pb-artist-tabs .nav-link:hover {
	color: #e5e7eb !important;
	border-bottom-color: rgba(255, 255, 255, 0.2) !important;
	background-color: transparent !important;
}

.pb-theme-dark .pb-artist-page .pb-artist-tabs .nav-link.active,
.pb-theme-dark .pb-artist-page .pb-artist-tabs .nav-link.active:hover {
	color: #fff !important;
	border-bottom-color: #00A6FF !important;
	background-color: transparent !important;
}

.pb-theme-dark .pb-artist-tracks-panel {
	background: #151a22;
	border-color: rgba(255, 255, 255, 0.08);
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__item {
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__item:hover {
	background: rgba(255, 255, 255, 0.04);
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__cover__title {
	color: #f3f4f6 !important;
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__cover__sub-title {
	color: #9ca3af !important;
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__item__number {
	color: #6b7280;
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__item .pb-btn-download {
	color: #9ca3af;
}

.pb-theme-dark .pb-artist-tracks .pb-collection-list__item .pb-btn-download:hover {
	color: #38bdf8;
	background: rgba(0, 166, 255, 0.12);
}

.pb-theme-dark .pb-artist-empty {
	color: #9ca3af;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 767px) {
	.pb-artist-profile,
	.pb-artist-panel {
		padding-left: 18px;
		padding-right: 18px;
	}

	.pb-artist-profile__metrics {
		margin-left: -18px;
		margin-right: -18px;
	}

	.pb-artist-tabs {
		margin-left: -18px;
		margin-right: -18px;
		padding-left: 12px;
		padding-right: 12px;
	}

	.pb-artist-page .pb-artist-tabs .nav-link {
		padding: 12px 14px !important;
		font-size: 0.82rem;
	}

	.pb-artist-profile__main {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.pb-artist-profile__photo {
		width: 120px;
		height: 120px;
	}

	.pb-artist-profile__metrics {
		grid-template-columns: 1fr;
	}
}
