.playlist-section { padding: 0 0 clamp(4rem, 9vw, 8rem); }
.playlist-layout { display: grid; grid-template-columns: minmax(20rem, .78fr) minmax(0, 1.22fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.player-column { min-width: 0; }
.player-shell {
	position: sticky;
	top: 6.2rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	color: #fff;
	background: var(--rose-700);
	box-shadow: var(--shadow-soft);
}
.player-topline { display: flex; justify-content: space-between; margin-bottom: 1.2rem; color: color-mix(in srgb, white 61%, transparent); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.player-cover { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; }
.player-cover::before, .player-cover::after { content: ''; position: absolute; border: 1px solid color-mix(in srgb, white 24%, transparent); border-radius: 50%; }
.player-cover::before { inset: 9%; }
.player-cover::after { inset: 19%; }
.vinyl-disc {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at center, var(--rose-600) 0 8%, var(--pearl) 9% 12%, #292622 13% 18%, #161412 19% 35%, #292622 36% 52%, #161412 53% 70%, #292622 71%);
	box-shadow: 0 1.4rem 2.8rem color-mix(in srgb, var(--ink) 32%, transparent);
	animation: spin 7s linear infinite;
	animation-play-state: paused;
}
.vinyl-disc > span { display: grid; place-items: center; width: 18%; aspect-ratio: 1; border-radius: 50%; color: #fff; background: var(--rose-600); font-size: .55rem; }
.player-shell.is-playing .vinyl-disc { animation-play-state: running; }
.player-meta { margin-top: 1.5rem; }
.mood-pill { display: inline-block; margin-bottom: .4rem; color: color-mix(in srgb, white 68%, var(--gold)); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.player-meta h2 { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; line-height: 1; }
.player-meta p { min-height: 1.7rem; margin: .5rem 0 0; color: color-mix(in srgb, white 66%, transparent); font-size: .85rem; }
.progress-wrap { margin-top: 1.4rem; }
.player-time { display: flex; justify-content: space-between; margin-bottom: .45rem; color: color-mix(in srgb, white 58%, transparent); font-size: .65rem; font-variant-numeric: tabular-nums; }
.romantic-progress { height: .22rem; border-radius: 0; cursor: pointer; background: color-mix(in srgb, white 18%, transparent); }
.romantic-progress .progress-bar { width: 0; background: var(--gold); transition: width .2s linear; }
.player-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.control-btn { width: 3rem; height: 3rem; min-height: 3rem; padding: 0; border: 1px solid color-mix(in srgb, white 28%, transparent); border-radius: 50%; color: #fff; background: transparent; font-size: 1.2rem; }
.control-btn:hover, .control-btn:focus-visible { border-color: var(--gold); color: #fff; }
.play-btn { width: 3.8rem; height: 3.8rem; border-color: var(--pearl); color: var(--rose-700); background: var(--pearl); font-size: 1.45rem; }
.play-btn:hover, .play-btn:focus-visible { border-color: var(--gold); color: var(--rose-700); background: var(--pearl); transform: scale(1.03); }
.volume-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; margin-top: 1.25rem; color: color-mix(in srgb, white 62%, transparent); }
.volume-wrap .form-range { height: 1rem; margin: 0; accent-color: var(--gold); }
.playlist-list { min-width: 0; }
.playlist-list-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--surface-border); }
.playlist-list-head .eyebrow { margin-bottom: .5rem; }
.playlist-list-head h2 { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; }
.playlist-count { flex: 0 0 auto; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.track-list { max-height: 43rem; overflow: auto; padding-right: .35rem; }
.track-item {
	width: 100%;
	min-height: 5.5rem;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr) auto 2.6rem;
	gap: 1rem;
	align-items: center;
	padding: .8rem .3rem;
	border: 0;
	border-bottom: 1px solid var(--surface-border);
	color: inherit;
	background: transparent;
	text-align: left;
	transition: background-color .2s ease, padding .2s ease;
}
.track-item:hover { padding-right: .75rem; padding-left: .75rem; background: color-mix(in srgb, var(--gold) 9%, transparent); }
.track-item.active { color: var(--rose-700); background: color-mix(in srgb, var(--gold) 13%, transparent); }
.track-number { color: var(--gold); font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.track-info { display: flex; min-width: 0; flex-direction: column; }
.track-info strong { overflow: hidden; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.track-info small { overflow: hidden; color: var(--muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.track-duration { color: var(--muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.track-action { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--surface-border); border-radius: 50%; color: var(--rose-600); }
.track-item.active .track-action { border-color: var(--rose-600); color: #fff; background: var(--rose-600); }
.playlist-empty { padding: 4rem 1rem; border-bottom: 1px solid var(--surface-border); text-align: center; }
.playlist-empty i { color: var(--gold); font-size: 2.25rem; }
.playlist-empty h3 { margin: 1rem 0 .25rem; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; }
.playlist-empty p { margin: 0; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 991.98px) {
	.playlist-layout { grid-template-columns: 1fr; }
	.player-shell { position: static; width: min(100%, 34rem); margin: auto; }
	.track-list { max-height: none; }
}
@media (max-width: 575.98px) {
	.player-shell { padding: 1rem; }
	.playlist-list-head { align-items: start; }
	.track-item { grid-template-columns: 1.5rem minmax(0, 1fr) 2.5rem; gap: .65rem; }
	.track-duration { display: none; }
	.track-info strong { font-size: 1.2rem; }
	.track-action { grid-column: 3; grid-row: 1; }
}
