/* TGP Producer Page 1.0.0: header trust row, style chips, buyer quotes, similar producers.
   Flat surfaces, hairline borders, no glow. Accent #7c5cff. */

/* ── header: shorter banner so the first tracks sit higher ── */
@media (min-width: 769px) {
	.tgp-store-hero .tgp-hero-banner { height: 320px; }
}
@media (min-width: 501px) and (max-width: 768px) {
	.tgp-store-hero .tgp-hero-banner { height: 280px; }
}

/* ── header: stat cells ── */
.tgp-store-hero .tgp-stat--link { cursor: pointer; }
.tgp-store-hero .tgp-stat--link:focus-visible { outline: 2px solid #7c5cff; outline-offset: -2px; }

/* ── header: Follow hint ── */
.tgp-store-hero .tgp-hero-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
.tgp-follow-hint {
	display: block;
	max-width: 176px;
	font-size: 11px;
	line-height: 1.35;
	text-align: right;
	color: rgba(255, 255, 255, 0.6);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}
@media (max-width: 768px) {
	.tgp-follow-hint { display: none; }
}

/* ── header: trust row ── */
.tgp-pp-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 36px 4px;
}
.tgp-pp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.68);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
}
.tgp-pp-chip svg { flex: none; opacity: 0.8; }
.tgp-pp-chip--badge { color: #f1c75b; border-color: rgba(241, 199, 91, 0.26); background: rgba(241, 199, 91, 0.06); }
.tgp-pp-chip--badge svg { opacity: 1; }
.tgp-pp-chip--link { color: #b9a8ff; border-color: rgba(124, 92, 255, 0.38); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.tgp-pp-chip--link:hover { background: rgba(124, 92, 255, 0.14); color: #fff; }
.tgp-pp-chip--link:focus-visible { outline: 2px solid #7c5cff; outline-offset: 2px; }
@media (max-width: 768px) {
	.tgp-pp-trust {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 14px 20px 2px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.tgp-pp-trust::-webkit-scrollbar { display: none; }
}
@media (max-width: 500px) {
	.tgp-pp-trust { padding: 12px 16px 2px; }
}

/* ── under the header: "Sounds like" style links ── */
.tgp-pp-styles {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 2px 36px 18px;
}
.tgp-pp-styles__lbl {
	margin-right: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.34);
}
a.tgp-pp-style {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.8) !important;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none !important;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
a.tgp-pp-style:hover { border-color: rgba(124, 92, 255, 0.6); background: rgba(124, 92, 255, 0.1); color: #fff !important; }
@media (max-width: 768px) {
	.tgp-pp-styles { padding: 2px 20px 16px; }
}
@media (max-width: 500px) {
	.tgp-pp-styles { padding: 2px 16px 14px; gap: 7px; }
}

/* ── tracks tab: buyer quotes ── */
.tgp-pp-quotes { margin: 38px 0 0; }
.tgp-pp-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
}
.tgp-pp-quotes h3.tgp-pp-head__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	color: #fff !important;
}
.tgp-pp-head__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-size: 13px;
	font-weight: 500;
	color: #a795ff;
	cursor: pointer;
	transition: color 0.15s ease;
}
.tgp-pp-head__link:hover { color: #fff; }
.tgp-pp-head__link:focus-visible { outline: 2px solid #7c5cff; outline-offset: 3px; border-radius: 4px; }
.tgp-pp-quotes__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.tgp-pp-quotes__list > .tgp-pp-quote:only-child,
.tgp-pp-quotes__list > .tgp-pp-quote:first-child:nth-last-child(2),
.tgp-pp-quotes__list > .tgp-pp-quote:first-child:nth-last-child(2) ~ .tgp-pp-quote { grid-column: span 1; }
figure.tgp-pp-quote {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 18px 20px 17px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	min-width: 0;
}
.tgp-pp-quote__stars { display: flex; gap: 2px; }
.tgp-pp-quote__stars i { display: inline-flex; color: rgba(255, 255, 255, 0.18); font-style: normal; }
.tgp-pp-quote__stars i.is-on { color: #fbbf24; }
figure.tgp-pp-quote blockquote.tgp-pp-quote__txt {
	flex: 1;
	margin: 11px 0 14px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 13.5px !important;
	font-style: normal !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
	color: rgba(255, 255, 255, 0.74) !important;
	quotes: none;
}
figure.tgp-pp-quote blockquote.tgp-pp-quote__txt::before,
figure.tgp-pp-quote blockquote.tgp-pp-quote__txt::after { content: none !important; }
.tgp-pp-quote__by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 9px;
	font-size: 12px;
	font-style: normal;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.45);
}
.tgp-pp-quote__by b { font-weight: 600; color: #fff; }
.tgp-pp-quote__by span { color: #4ade80; }
@media (max-width: 768px) {
	.tgp-pp-quotes { margin-top: 30px; }
	.tgp-pp-quotes__list {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		margin: 0 -16px;
		padding: 0 16px 2px;
	}
	.tgp-pp-quotes__list::-webkit-scrollbar { display: none; }
	figure.tgp-pp-quote { flex: 0 0 84%; scroll-snap-align: center; }
}

/* ── tracks tab: empty store ── */
.tgp-pp-empty { padding: 34px 20px 6px; text-align: left; }
.tgp-pp-empty h3.tgp-pp-empty__title {
	margin: 0 0 8px !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
	color: #fff !important;
}
.tgp-pp-empty__txt { margin: 0 !important; max-width: 58ch; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.62); }

/* ── tracks tab: lazy "more like this" block ── */
.tgp-pp-more { position: relative; }
.tgp-pp-more.is-loading { min-height: 96px; }
.tgp-pp-more.is-loading::before {
	content: '';
	position: absolute;
	top: 36px;
	left: 50%;
	width: 22px;
	height: 22px;
	margin-left: -11px;
	border: 2px solid rgba(255, 255, 255, 0.16);
	border-top-color: #a795ff;
	border-radius: 50%;
	animation: tgpPpSpin 0.8s linear infinite;
}
@keyframes tgpPpSpin { to { transform: rotate(360deg); } }
.tgp-pp-more > .tgp-sim-section { animation: tgpPpIn 0.3s ease both; }
@keyframes tgpPpIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.tgp-pp-more > .tgp-sim-section, .tgp-pp-more.is-loading::before { animation: none; }
}

/* ── similar producers ── */
.tgp-pp-prods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}
.tgp-pp-prod {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 12px 12px 12px 13px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
	transition: border-color 0.15s ease, background 0.15s ease;
}
@media (hover: hover) {
	.tgp-pp-prod:hover { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.045); }
}
.tgp-pp-prod .tgpsim-row.tgp-pp-prod__play {
	display: block;
	flex: none;
	padding: 0;
	border-radius: 50%;
	background: none !important;
	line-height: 0;
}
.tgp-pp-prod button.tgpsim-play {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}
.tgp-pp-prod .tgpsim-play-ic--play { display: flex; background: rgba(10, 10, 12, 0.38); }
.tgp-pp-prod .tgpsim-row.is-playing .tgpsim-play-ic--play { display: none !important; }
.tgp-pp-prod .tgpsim-play-ic svg { width: 18px; height: 18px; }
@media (hover: hover) {
	.tgp-pp-prod .tgpsim-row:hover .tgpsim-play-ic--play { background: rgba(10, 10, 12, 0.6); }
}
.tgp-pp-prod button.tgpsim-play:focus-visible { outline: 2px solid #7c5cff; outline-offset: 2px; }
a.tgp-pp-prod__play--plain {
	display: block;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: #222;
}
a.tgp-pp-prod__play--plain img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgp-pp-prod__main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.tgp-sim-section a.tgp-pp-prod__name {
	overflow: hidden;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #fff !important;
	text-decoration: none !important;
}
.tgp-sim-section a.tgp-pp-prod__name:hover { color: #c4b5fd !important; }
.tgp-pp-prod__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 12px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.6);
}
.tgp-pp-prod__rate { display: inline-flex; align-items: center; gap: 4px; flex: none; font-weight: 600; color: #fbbf24; }
.tgp-pp-prod__rate em { font-style: normal; font-weight: 400; color: rgba(255, 255, 255, 0.4); }
.tgp-pp-prod__gen { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tgp-pp-prod__sub { font-size: 11.5px; line-height: 1.3; color: rgba(255, 255, 255, 0.4); }
.tgp-sim-section a.tgp-pp-prod__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.45) !important;
	text-decoration: none !important;
	transition: color 0.15s ease, background 0.15s ease;
}
.tgp-sim-section a.tgp-pp-prod__go:hover { color: #fff !important; background: rgba(255, 255, 255, 0.08); }
.tgp-sim-section a.tgp-pp-allprods { color: #a795ff !important; font-size: 13px; text-decoration: none !important; }
.tgp-sim-section a.tgp-pp-allprods:hover { color: #fff !important; }
.tgp-pp-noplay .tgp-pp-prod .tgpsim-play-ic { display: none !important; }
@media (max-width: 900px) {
	.tgp-pp-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tgp-pp-prods { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.tgp-pp-prod { padding: 10px 10px 10px 11px; }
	.tgp-pp-prod button.tgpsim-play, a.tgp-pp-prod__play--plain { width: 50px; height: 50px; }
}

/* ── services tab: four stat cells when the on-time share is not shown ── */
.tgpco2 .tgpco2-ppanel__stats.tgpco2-ppanel__stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) {
	.tgpco2 .tgpco2-ppanel__stats.tgpco2-ppanel__stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
