/* ============================================
   LEBRONIFY WEB APP - Spotify-style player
   Colors match iOS app exactly
   ============================================ */

:root {
	--bg: rgb(18, 18, 18);
	--bg-elevated: rgb(28, 28, 28);
	--bg-card: rgb(24, 24, 24);
	--bg-hover: rgb(40, 40, 40);
	--sidebar-bg: #000;
	--npb-bg: rgb(24, 24, 24);
	--yellow: #ffd700;
	--yellow-dim: rgba(255, 215, 0, 0.15);
	--yellow-glow: rgba(255, 215, 0, 0.3);
	--orange: #ff8c00;
	--white: #fff;
	--t1: rgba(255, 255, 255, 1);
	--t2: rgba(255, 255, 255, 0.7);
	--t3: rgba(255, 255, 255, 0.5);
	--t4: rgba(255, 255, 255, 0.3);
	--t5: rgba(255, 255, 255, 0.1);
	--t6: rgba(255, 255, 255, 0.06);
	--font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--sidebar-w: 240px;
	--npb-h: 72px;
	--radius: 8px;
	--transition: 0.2s ease;
}

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--white);
	overflow: hidden;
	height: 100vh;
	height: 100dvh;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

img {
	display: block;
	max-width: 100%;
}

button {
	font-family: var(--font);
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

input {
	font-family: var(--font);
}

/* SVG icon base styles */

svg {
	flex-shrink: 0;
}

.nav-icon {
	width: 22px;
	height: 22px;
}

.action-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-bar-icon {
	width: 18px;
	height: 18px;
	color: var(--t3);
	flex-shrink: 0;
}

.empty-icon {
	width: 50px;
	height: 50px;
	opacity: 0.3;
	margin: 0 auto 16px;
	display: block;
}

/* --- Layout --- */

#app {
	display: flex;
	height: 100vh;
	height: 100dvh;
	position: relative;
	overflow: hidden;
}

/* --- Sidebar --- */

.sidebar {
	width: var(--sidebar-w);
	background: var(--sidebar-bg);
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	padding: 16px 12px;
	overflow: hidden;
}

.sidebar-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px 24px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.sidebar-logo:hover { opacity: 0.8; }

.sidebar-logo-img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: contain;
}

.sidebar-logo-text {
	font-size: 16px;
	font-weight: 900;
	color: var(--yellow);
	letter-spacing: 2px;
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 24px;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 12px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 600;
	color: var(--t3);
	transition: all var(--transition);
	width: 100%;
	text-align: left;
}

.nav-item:hover {
	color: var(--t1);
	background: var(--t5);
}

.nav-item.active {
	color: var(--t1);
	background: var(--t5);
}

.sidebar-playlists {
	flex: 1;
	overflow-y: auto;
	border-top: 1px solid var(--t6);
	padding-top: 12px;
	margin-top: 8px;
}

.sidebar-playlists-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 12px 12px;
	font-size: 12px;
	font-weight: 700;
	color: var(--t3);
	letter-spacing: 1px;
}

.sidebar-playlists-title {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sidebar-create-btn {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--t5);
	color: var(--t2);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

.sidebar-create-btn:hover {
	background: var(--t4);
	color: var(--t1);
}

.sidebar-playlists-list {
	display: flex;
	flex-direction: column;
}

.sidebar-pl-item {
	padding: 8px 12px;
	font-size: 13px;
	color: var(--t3);
	border-radius: 4px;
	transition: var(--transition);
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	text-align: left;
}

.sidebar-pl-item:hover {
	color: var(--t1);
	background: var(--t6);
}

/* --- Main Content --- */

.main-content {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding-bottom: var(--npb-h);
}

.view {
	display: none;
	flex: 1;
	overflow: hidden;
	position: relative;
}

.view.active {
	display: flex;
	flex-direction: column;
}

.view-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 24px 32px 40px;
}

.view-title {
	font-size: 28px;
	font-weight: 900;
	margin-bottom: 24px;
}

/* --- Home View --- */

.home-banner {
	position: relative;
	height: 240px;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.banner-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: var(--bg);
}

.banner-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 28px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.banner-title {
	font-size: 40px;
	font-weight: 900;
	letter-spacing: 3px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.banner-sub {
	font-size: 14px;
	color: var(--t2);
	margin-top: 4px;
}

.taco-banner-section {
	margin-bottom: 16px;
}

.taco-gradient {
	background: linear-gradient(135deg, var(--yellow), var(--orange));
	border-radius: 12px;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.taco-title-text {
	font-size: 20px;
	font-weight: 900;
	color: var(--white);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.taco-play-btn {
	background: var(--white);
	color: var(--orange);
	padding: 10px 24px;
	border-radius: 25px;
	font-weight: 700;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: var(--transition);
}

.taco-play-btn:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Taco rain overlay for Tuesdays */

.taco-rain {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 5;
	overflow: hidden;
}

.taco-drop {
	position: absolute;
	top: -40px;
	animation: tacoRain 6s linear infinite;
	opacity: 0;
}

.taco-drop::after {
	content: '\1F32E';
}

@keyframes tacoRain {
	0% {
		transform: translateY(0) translateX(0) rotate(0deg);
		opacity: 0;
	}
	5% {
		opacity: 0.7;
	}
	85% {
		opacity: 0.7;
	}
	100% {
		transform: translateY(calc(100vh + 40px)) translateX(var(--wobble, 0px)) rotate(360deg);
		opacity: 0;
	}
}

.shuffle-btn {
	width: 100%;
	background: var(--yellow);
	color: #000;
	padding: 14px;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 32px;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.shuffle-btn:hover {
	transform: scale(1.01);
	box-shadow: 0 4px 20px var(--yellow-glow);
}

.home-section {
	margin-bottom: 36px;
}

.section-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
}

/* Pick of the Day */

.potd-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--bg-card);
	padding: 14px;
	border-radius: 12px;
	transition: var(--transition);
}

.potd-card:hover {
	background: var(--bg-hover);
}

.potd-art {
	width: 72px;
	height: 72px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.potd-info {
	flex: 1;
	min-width: 0;
}

.potd-title {
	font-size: 16px;
	font-weight: 600;
}

.potd-artist {
	font-size: 13px;
	color: var(--t3);
	margin-top: 2px;
}

.potd-play {
	width: 42px;
	height: 42px;
	background: var(--yellow);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: var(--transition);
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.potd-play:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}

/* Scroll Row */

.scroll-row {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.scroll-row::-webkit-scrollbar {
	height: 4px;
}

.scroll-row::-webkit-scrollbar-thumb {
	background: var(--t4);
	border-radius: 2px;
}

.scroll-card {
	flex-shrink: 0;
	width: 140px;
	cursor: pointer;
	transition: var(--transition);
}

.scroll-card-art {
	width: 140px;
	height: 140px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 8px;
	position: relative;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-card-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.scroll-card-name {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.scroll-card-artist {
	font-size: 11px;
	color: var(--t3);
}

.mvp-badge {
	position: absolute;
	top: 6px;
	left: 6px;
	width: 22px;
	height: 22px;
	background: var(--yellow);
	color: #000;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Song List */

.song-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.song-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 8px;
	border-radius: var(--radius);
	transition: var(--transition);
	cursor: pointer;
}

.song-row:hover {
	background: var(--bg-hover);
}

.song-row.playing {
	background: var(--t5);
}

.song-row-num {
	width: 24px;
	text-align: center;
	font-size: 13px;
	color: var(--t4);
	flex-shrink: 0;
	font-variant-numeric: tabular-nums;
}

.song-row-art {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
	position: relative;
}

.song-row-info {
	flex: 1;
	min-width: 0;
}

.song-row-title {
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.song-row.playing .song-row-title {
	color: var(--yellow);
}

.song-row-artist {
	font-size: 12px;
	color: var(--t3);
}

.song-row-plays {
	font-size: 11px;
	color: var(--t4);
	flex-shrink: 0;
}

.song-row-fav {
	color: var(--t4);
	flex-shrink: 0;
	padding: 4px;
	transition: var(--transition);
	display: flex;
	align-items: center;
}

.song-row-fav:hover {
	color: var(--yellow);
}

.song-row-fav.active {
	color: var(--yellow);
}

.song-row-mvp {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 18px;
	height: 18px;
	background: var(--yellow);
	color: #000;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.song-row-menu {
	color: var(--t4);
	padding: 4px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	transition: var(--transition);
}

.song-row-menu:hover {
	color: var(--t2);
}

/* Context Menu */

.context-menu {
	position: fixed;
	background: var(--bg-elevated);
	border: 1px solid var(--t5);
	border-radius: 10px;
	padding: 6px 0;
	min-width: 180px;
	z-index: 400;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.context-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 13px;
	color: var(--t2);
	cursor: pointer;
	transition: var(--transition);
}

.context-menu-item:hover {
	background: var(--t5);
	color: var(--t1);
}

.context-menu-item svg {
	flex-shrink: 0;
}

/* --- Search --- */

.search-bar-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bg-elevated);
	border-radius: 25px;
	padding: 12px 18px;
	margin-bottom: 24px;
	border: 1px solid var(--t6);
	transition: var(--transition);
}

.search-bar-wrap:focus-within {
	border-color: var(--t4);
}

.search-input {
	flex: 1;
	background: none;
	border: none;
	color: var(--white);
	font-size: 14px;
	outline: none;
}

.search-input::placeholder {
	color: var(--t4);
}

/* Search prefill */

.search-section {
	margin-bottom: 28px;
}

.search-section-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--t1);
	margin-bottom: 14px;
	letter-spacing: 0.2px;
}

.search-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.search-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bg-elevated);
	border-radius: 20px;
	padding: 6px 14px 6px 6px;
	transition: var(--transition);
	border: 1px solid var(--t6);
}

.search-chip:hover {
	background: var(--bg-hover);
	border-color: var(--t5);
}

.search-chip-art {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.search-chip-text {
	font-size: 13px;
	font-weight: 500;
	color: var(--t1);
	white-space: nowrap;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* --- Vault --- */

.vault-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--t6);
}

.vault-tab {
	flex: 1;
	padding: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--t3);
	position: relative;
	transition: var(--transition);
}

.vault-tab:hover {
	color: var(--t2);
}

.vault-tab.active {
	color: var(--t1);
}

.vault-tab.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--yellow);
	border-radius: 2px 2px 0 0;
}

.vault-panel {
	display: none;
}

.vault-panel.active {
	display: block;
}

.vault-section-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--t3);
	margin: 20px 0 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.playlist-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.playlist-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 12px;
	background: var(--t6);
	border-radius: 10px;
	cursor: pointer;
	transition: var(--transition);
}

.playlist-row:hover {
	background: var(--t5);
}

.playlist-art {
	width: 56px;
	height: 56px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}

.playlist-art-placeholder {
	background: var(--t5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--t3);
}

.playlist-info {
	flex: 1;
}

.playlist-name {
	font-size: 14px;
	font-weight: 600;
}

.playlist-count {
	font-size: 12px;
	color: var(--t3);
	margin-top: 2px;
}

.playlist-chevron {
	color: var(--t4);
	display: flex;
	align-items: center;
}

.draft-btn {
	width: 100%;
	background: var(--yellow);
	color: #000;
	padding: 12px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 700;
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: var(--transition);
}

.draft-btn:hover {
	box-shadow: 0 4px 16px var(--yellow-glow);
}

.empty-state {
	text-align: center;
	padding: 60px 20px;
}

.empty-state h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.empty-state p {
	font-size: 14px;
	color: var(--t3);
	max-width: 280px;
	margin: 0 auto;
}

/* Playlist Detail */

.back-btn {
	font-size: 14px;
	color: var(--t2);
	padding: 8px 0;
	margin-bottom: 16px;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 6px;
}

.back-btn:hover {
	color: var(--t1);
}

.playlist-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.playlist-header-art {
	width: 120px;
	height: 120px;
	border-radius: 8px;
	object-fit: cover;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.playlist-header-info {
	flex: 1;
}

.playlist-header-name {
	font-size: 28px;
	font-weight: 900;
	margin-bottom: 4px;
}

.playlist-header-count {
	font-size: 14px;
	color: var(--t3);
}

.playlist-actions {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.play-all-btn,
.shuffle-play-btn {
	padding: 10px 24px;
	border-radius: 25px;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: var(--transition);
}

.play-all-btn {
	background: var(--yellow);
	color: #000;
}

.play-all-btn:hover {
	box-shadow: 0 4px 16px var(--yellow-glow);
}

.shuffle-play-btn {
	background: var(--t5);
	color: var(--t1);
}

.shuffle-play-btn:hover {
	background: var(--t4);
}

/* --- Player View --- */

.player-view-scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: linear-gradient(180deg, rgba(255, 215, 0, 0.35) 0%, var(--bg) 55%);
	transition: background 0.8s ease;
}

.player-back {
	align-self: flex-start;
}

.player-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 400px;
	padding-top: 8px;
}

.player-art-wrap {
	width: 300px;
	height: 300px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	margin-bottom: 28px;
}

.player-art {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.player-song-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 4px;
	text-align: center;
}

.player-song-artist {
	font-size: 16px;
	color: var(--t3);
	margin-bottom: 28px;
	text-align: center;
}

.player-progress-wrap {
	width: 100%;
	margin-bottom: 8px;
	padding: 0 4px;
}

.player-progress-bar {
	width: 100%;
	height: 4px;
	background: var(--t5);
	border-radius: 2px;
	cursor: pointer;
	position: relative;
}

.player-progress-fill {
	height: 100%;
	background: var(--white);
	border-radius: 2px;
	width: 0%;
	transition: none;
}

.player-progress-bar:hover .player-progress-fill {
	background: var(--yellow);
}

.player-progress-thumb {
	position: absolute;
	top: 50%;
	width: 12px;
	height: 12px;
	background: var(--white);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	left: 0%;
	opacity: 0;
	transition: opacity var(--transition);
}

.player-progress-bar:hover .player-progress-thumb {
	opacity: 1;
}

.player-times {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: var(--t3);
	margin-top: 6px;
	font-variant-numeric: tabular-nums;
}

.player-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 20px 0 24px;
}

.ctrl-btn {
	color: var(--t3);
	padding: 8px;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ctrl-btn:hover {
	color: var(--t1);
}

.ctrl-btn.active {
	color: var(--yellow);
}

.ctrl-main {
	color: var(--t1);
}

.ctrl-play {
	width: 64px;
	height: 64px;
	background: var(--white);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

/* Keep play/pause button black on hover - white icon blends with white bg */

.ctrl-play:hover {
	transform: scale(1.06);
	color: #000;
}

.ctrl-play:active {
	transform: scale(0.96);
}

/* Play icon offset like iOS (+2px right) */

.ctrl-play svg {
	margin-left: 2px;
}

.ctrl-play.is-playing svg {
	margin-left: 0;
}

.player-actions {
	display: flex;
	gap: 36px;
	margin-bottom: 28px;
}

.action-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--t3);
	transition: var(--transition);
}

.action-btn:hover {
	color: var(--t1);
}

.action-btn.active {
	color: var(--yellow);
}

.action-label {
	font-size: 10px;
	font-weight: 500;
}

.bench-section {
	width: 100%;
	background: var(--t6);
	border-radius: 12px;
	padding: 14px;
}

.bench-title {
	font-size: 12px;
	font-weight: 700;
	color: var(--t2);
	margin-bottom: 10px;
	letter-spacing: 0.5px;
}

.bench-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bench-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px;
	border-radius: 6px;
	cursor: pointer;
	transition: var(--transition);
}

.bench-item:hover {
	background: var(--t5);
}

.bench-art {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
}

.bench-info {
	flex: 1;
}

.bench-name {
	font-size: 13px;
	font-weight: 500;
}

.bench-artist {
	font-size: 11px;
	color: var(--t4);
}

/* --- Player Empty State --- */

.player-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	text-align: center;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

.player-empty-img {
	width: 180px;
	height: 180px;
	border-radius: 90px;
	object-fit: cover;
	margin-bottom: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.player-empty-title {
	font-size: 28px;
	font-weight: 900;
	color: var(--yellow);
	letter-spacing: 2px;
	margin-bottom: 12px;
}

.player-empty-quote {
	font-size: 13px;
	font-style: italic;
	color: rgba(255, 215, 0, 0.5);
	margin-bottom: 28px;
	font-family: Georgia, 'Times New Roman', serif;
}

.player-empty-btn {
	background: var(--yellow);
	color: #000;
	padding: 14px 32px;
	border-radius: 25px;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: var(--transition);
}

.player-empty-btn:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 20px var(--yellow-glow);
}

/* --- Queue Panel --- */

.queue-panel {
	position: fixed;
	top: 0;
	right: -360px;
	width: 360px;
	height: calc(100vh - var(--npb-h));
	background: rgb(18, 18, 18);
	z-index: 100;
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
	border-left: 1px solid var(--t6);
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
}

.queue-panel.open {
	right: 0;
}

.queue-drag-handle {
	width: 36px;
	height: 5px;
	background: var(--t4);
	border-radius: 3px;
	margin: 10px auto 0;
	flex-shrink: 0;
}

.queue-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
}

.queue-header h2 {
	font-size: 18px;
	font-weight: 700;
}

.queue-close {
	color: var(--t3);
	padding: 4px;
	display: flex;
	align-items: center;
	transition: var(--transition);
}

.queue-close:hover {
	color: var(--t1);
}

/* On The Court - current song */

.queue-court {
	padding: 12px 16px;
	background: rgb(28, 28, 28);
	border-radius: 12px;
	margin: 0 12px 8px;
	flex-shrink: 0;
}

.queue-court-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--yellow);
	letter-spacing: 1.2px;
	margin-bottom: 10px;
}

.queue-court-content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.queue-court-art {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	flex-shrink: 0;
}

.queue-court-info {
	flex: 1;
	min-width: 0;
}

.queue-court-title {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.queue-court-artist {
	font-size: 12px;
	color: var(--t3);
	margin-top: 2px;
}

.queue-court-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.queue-court-btn {
	color: var(--t2);
	padding: 4px;
	display: flex;
	align-items: center;
	transition: var(--transition);
}

.queue-court-btn:hover {
	color: var(--t1);
}

.queue-court-play {
	width: 34px;
	height: 34px;
	background: var(--white);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.queue-court-play:hover {
	color: #000;
	transform: scale(1.08);
}

.queue-court-play:active {
	transform: scale(0.94);
}

/* On The Bench header */

.queue-bench-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px 6px;
	flex-shrink: 0;
}

.queue-bench-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--t3);
	letter-spacing: 1.2px;
}

.queue-bench-count {
	font-size: 10px;
	color: var(--t4);
}

.queue-list {
	flex: 1;
	overflow-y: auto;
	padding: 4px 12px 12px;
}

.queue-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: var(--radius);
	cursor: pointer;
	transition: var(--transition);
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.queue-item:last-child {
	border-bottom: none;
}

.queue-item:hover {
	background: var(--bg-hover);
}

.queue-item-num {
	width: 20px;
	text-align: center;
	font-size: 13px;
	color: var(--t4);
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
}

.queue-art {
	width: 44px;
	height: 44px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
}

.queue-info {
	flex: 1;
	min-width: 0;
}

.queue-name {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.queue-artist {
	font-size: 11px;
	color: var(--t4);
}

.queue-item-play {
	color: var(--t3);
	padding: 4px;
	display: flex;
	align-items: center;
	transition: var(--transition);
	flex-shrink: 0;
}

.queue-item-play:hover {
	color: var(--t1);
}

/* Queue Bottom Controls */

.queue-bottom {
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 12px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
	background: rgb(18, 18, 18);
}

.queue-bottom-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--t3);
	padding: 8px 12px;
	transition: var(--transition);
	font-size: 10px;
	font-weight: 500;
}

.queue-bottom-btn:hover {
	color: var(--t1);
}

.queue-bottom-btn.active {
	color: var(--yellow);
}

.queue-bottom-btn svg {
	opacity: 0.6;
}

.queue-bottom-btn.active svg {
	opacity: 1;
}

/* Queue empty */

.queue-empty {
	text-align: center;
	padding: 40px 20px;
}

.queue-empty-icon {
	color: var(--yellow);
	opacity: 0.3;
	margin-bottom: 12px;
}

.queue-empty-title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}

.queue-empty-text {
	font-size: 12px;
	color: var(--t3);
}

/* --- Now Playing Bar --- */

.now-playing-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--npb-h);
	background: var(--npb-bg);
	border-top: 1px solid var(--t6);
	z-index: 50;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.npb-progress {
	height: 3px;
	background: var(--t6);
}

.npb-progress-fill {
	height: 100%;
	background: var(--yellow);
	width: 0%;
	transition: none;
}

.npb-content {
	display: flex;
	align-items: center;
	padding: 0 16px;
	height: calc(var(--npb-h) - 3px);
}

.npb-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	cursor: pointer;
	min-width: 0;
}

.npb-art {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.npb-info {
	min-width: 0;
}

.npb-title {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.npb-artist {
	font-size: 12px;
	color: var(--t3);
}

.npb-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.npb-btn {
	color: var(--t2);
	padding: 8px;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
}

.npb-btn:hover {
	color: var(--t1);
}

.npb-play {
	width: 36px;
	height: 36px;
	background: var(--white);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.npb-play:hover {
	color: #000;
	transform: scale(1.08);
}

.npb-play:active {
	transform: scale(0.94);
}

.npb-fav {
	display: flex;
	align-items: center;
}

.npb-fav.active {
	color: var(--yellow);
}

.npb-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	justify-content: flex-end;
}

.npb-volume {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--t3);
}

.volume-slider {
	width: 100px;
	height: 4px;
	-webkit-appearance: none;
	background: var(--t5);
	border-radius: 2px;
	outline: none;
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	background: var(--white);
	border-radius: 50%;
	cursor: pointer;
}

/* --- AD Overlay --- */

.ad-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 200;
}

.ad-card {
	background: var(--bg-elevated);
	border-radius: 20px;
	padding: 36px;
	text-align: center;
	max-width: 360px;
	width: 90%;
	border: 1px solid var(--t5);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ad-header {
	font-size: 22px;
	font-weight: 900;
	margin-bottom: 20px;
	letter-spacing: 1px;
}

.ad-img {
	width: 160px;
	height: 200px;
	border-radius: 12px;
	object-fit: cover;
	margin: 0 auto 16px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.ad-msg {
	font-size: 14px;
	color: var(--t2);
	font-style: italic;
	margin-bottom: 24px;
	line-height: 1.5;
}

.ad-dismiss-btn {
	background: var(--yellow);
	color: #000;
	padding: 12px 28px;
	border-radius: 25px;
	font-size: 13px;
	font-weight: 700;
	transition: var(--transition);
}

.ad-dismiss-btn:hover {
	box-shadow: 0 4px 16px var(--yellow-glow);
}

/* --- Modals --- */

.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 300;
}

.modal-card {
	background: var(--bg-elevated);
	border-radius: 16px;
	padding: 28px;
	max-width: 380px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-card h2 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
}

.modal-input {
	width: 100%;
	padding: 12px 16px;
	background: var(--t5);
	border: 1px solid var(--t5);
	border-radius: var(--radius);
	color: var(--white);
	font-size: 14px;
	outline: none;
	margin-bottom: 16px;
	transition: var(--transition);
}

.modal-input:focus {
	border-color: var(--yellow);
}

.modal-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.modal-cancel {
	padding: 10px 20px;
	border-radius: 25px;
	color: var(--t2);
	font-size: 13px;
	font-weight: 600;
}

.modal-cancel:hover {
	color: var(--t1);
}

.modal-confirm {
	padding: 10px 20px;
	border-radius: 25px;
	background: var(--yellow);
	color: #000;
	font-size: 13px;
	font-weight: 700;
}

.modal-playlist-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 300px;
	overflow-y: auto;
	margin-bottom: 16px;
}

.modal-pl-item {
	padding: 10px 12px;
	border-radius: var(--radius);
	font-size: 14px;
	color: var(--t2);
	cursor: pointer;
	transition: var(--transition);
}

.modal-pl-item:hover {
	background: var(--t5);
	color: var(--t1);
}

/* --- Mobile Tab Bar --- */

.mobile-tabs {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgb(10, 10, 10);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 60;
	padding: 4px 0 env(safe-area-inset-bottom);
	padding-bottom: max(4px, env(safe-area-inset-bottom));
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.mobile-tab {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 0 6px;
	font-size: 10px;
	font-weight: 500;
	color: var(--t4);
	transition:
		color 0.25s ease,
		transform 0.15s ease;
	position: relative;
	letter-spacing: 0.2px;
}

.mobile-tab svg {
	transition: transform 0.2s ease;
}

.mobile-tab.active {
	color: var(--yellow);
}

.mobile-tab.active svg {
	transform: scale(1.1);
}

.mobile-tab::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 20px;
	height: 2px;
	border-radius: 1px;
	background: var(--yellow);
	transition: transform 0.25s ease;
}

.mobile-tab.active::before {
	transform: translateX(-50%) scaleX(1);
}

.mobile-tab:active {
	transform: scale(0.92);
}

/* --- Scrollbar --- */

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: var(--t4);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--t3);
}

/* --- Chalk Toss Animation --- */

.chalk-toss-overlay {
	position: fixed; inset: 0; pointer-events: none;
	z-index: 500; overflow: hidden; contain: strict;
}
.chalk-center {
	position: absolute; top: 50%; left: 50%; width: 0; height: 0;
}

/* ---- Hands: start cupped together, toss upward & separate ---- */
.chalk-hand {
	position: absolute; width: 48px; height: 48px;
	top: -24px; opacity: 0; z-index: 2;
	will-change: transform, opacity;
}
.chalk-hand span { display: block; text-align: center; }

/* Left hand: starts near center, sweeps up-left */
.chalk-hand-left {
	right: 2px;
	transform: scaleX(-1) rotate(0deg);
	animation: tossLeft 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
/* Right hand: starts near center, sweeps up-right */
.chalk-hand-right {
	left: 2px;
	transform: rotate(0deg);
	animation: tossRight 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes tossLeft {
	0%   { transform: scaleX(-1) rotate(0deg) translate(0, 0); opacity: 0.9; }
	10%  { opacity: 0.95; }
	60%  { opacity: 0.9; }
	100% { transform: scaleX(-1) rotate(-25deg) translate(-50px, -60px); opacity: 0; }
}
@keyframes tossRight {
	0%   { transform: rotate(0deg) translate(0, 0); opacity: 0.9; }
	10%  { opacity: 0.95; }
	60%  { opacity: 0.9; }
	100% { transform: rotate(25deg) translate(50px, -60px); opacity: 0; }
}

/* ---- Flash where chalk releases ---- */
.chalk-flash {
	position: absolute; top: -70px; left: -70px;
	width: 140px; height: 140px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 50%, transparent 70%);
	opacity: 0; will-change: transform, opacity;
	animation: chalkFlash 0.5s ease-out 0.08s forwards;
}
@keyframes chalkFlash {
	0%   { opacity: 0; transform: scale(0.2) translateY(0); }
	20%  { opacity: 0.9; transform: scale(1) translateY(-10px); }
	100% { opacity: 0; transform: scale(1.8) translateY(-30px); }
}

/* ---- Chalk cloud puffs: billow upward ---- */
.chalk-cloud {
	position: absolute; border-radius: 50%;
	top: 0; left: 0;
	transform: translate(-50%, -50%) scale(0.2);
	background: radial-gradient(circle, rgba(255,255,255,0.45), transparent 70%);
	filter: blur(14px);
	opacity: 0; will-change: transform, opacity;
	animation: chalkCloud var(--dur, 1.2s) ease-out 0.1s forwards;
}
@keyframes chalkCloud {
	0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
	15%  { opacity: 0.6; }
	50%  { opacity: 0.35; }
	100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(1.6); }
}

/* ---- Dust particles: fan upward ---- */
.chalk-dot {
	position: absolute; border-radius: 50%;
	top: 0; left: 0;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.9);
	opacity: 0; will-change: transform, opacity;
	animation: chalkBurst var(--dur, 0.9s) ease-out var(--delay, 0.15s) forwards;
}
@keyframes chalkBurst {
	0%   { transform: translate(-50%, -50%) scale(1); opacity: 0; }
	10%  { opacity: 1; }
	40%  { opacity: 0.6; }
	100% { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(0); opacity: 0; }
}

/* --- Toast Notification --- */

.toast {
	position: fixed;
	bottom: 100px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--bg-elevated);
	color: var(--t1);
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	z-index: 500;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
	border: 1px solid var(--t5);
	animation:
		toastIn 0.3s ease,
		toastOut 0.3s ease 1.7s forwards;
}

@keyframes toastIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes toastOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

/* --- LeBron Quote Card --- */

.lebron-quote-card {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 140, 0, 0.06));
	border: 1px solid rgba(255, 215, 0, 0.12);
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	animation: quoteSlideIn 0.6s ease-out;
}

@keyframes quoteSlideIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
	width: 36px;
	height: 36px;
	background: var(--yellow-dim);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--yellow);
}

.quote-text {
	font-size: 14px;
	font-style: italic;
	color: var(--t2);
	line-height: 1.6;
	font-family: Georgia, 'Times New Roman', serif;
	flex: 1;
}

.quote-attr {
	display: none;
}

/* --- LeBron Streak Counter --- */

.streak-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--bg-card);
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 20px;
	border: 1px solid var(--t6);
}

.streak-icon {
	width: 32px;
	height: 32px;
	color: var(--yellow);
	flex-shrink: 0;
}

.streak-info {
	flex: 1;
}

.streak-label {
	font-size: 11px;
	font-weight: 700;
	color: var(--t3);
	letter-spacing: 1px;
	text-transform: uppercase;
}

.streak-count {
	font-size: 18px;
	font-weight: 900;
	color: var(--yellow);
}

.streak-count span {
	font-size: 12px;
	color: var(--t3);
	font-weight: 500;
	margin-left: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
	:root {
		--mobile-tab-h: calc(56px + env(safe-area-inset-bottom));
	}
	.sidebar {
		display: none;
	}
	.mobile-tabs {
		display: flex;
	}
	/* Main content needs room for both NPB and mobile tabs */
	.main-content {
		padding-bottom: calc(var(--npb-h) + var(--mobile-tab-h));
	}
	/* Now Playing Bar sits above mobile tabs */
	.now-playing-bar {
		bottom: var(--mobile-tab-h);
		left: 0;
		right: 0;
	}
	.npb-right {
		display: none;
	}
	.npb-controls {
		gap: 14px;
	}
	.view-scroll {
		padding: 16px 16px 32px;
		-webkit-overflow-scrolling: touch;
	}
	.player-art-wrap {
		width: 260px;
		height: 260px;
	}
	.home-banner {
		height: 180px;
	}
	.banner-title {
		font-size: 28px;
	}
	.banner-sub {
		font-size: 12px;
	}
	/* Queue panel accounts for both bars */
	.queue-panel {
		width: 100%;
		right: -100%;
		height: calc(100vh - var(--npb-h) - var(--mobile-tab-h));
		height: calc(100dvh - var(--npb-h) - var(--mobile-tab-h));
		top: 0;
	}
	/* Player view needs no back button on mobile (tabs handle navigation) */
	.player-back {
		display: none;
	}
	.player-view-scroll {
		padding-top: 16px;
	}
	.player-content {
		padding-top: 0;
	}
	/* Action buttons smaller on mobile */
	.player-actions {
		gap: 24px;
	}
	/* Context menu positioning */
	.context-menu {
		max-width: calc(100vw - 32px);
	}
	/* Toast above both bars */
	.toast {
		bottom: calc(var(--npb-h) + var(--mobile-tab-h) + 16px);
	}
	/* Bench section full width */
	.bench-section {
		margin: 0 -16px;
		border-radius: 0;
		padding: 14px 16px;
	}
	/* Shuffle button full width on mobile */
	.shuffle-btn {
		font-size: 14px;
		padding: 12px;
	}
	/* Modals need safe positioning on mobile */
	.modal-overlay {
		-webkit-overflow-scrolling: touch;
	}
	.modal-card {
		max-width: calc(100vw - 32px);
		max-height: calc(100vh - 40px);
		max-height: calc(100dvh - 40px);
	}
	/* Scroll rows need momentum scrolling on mobile */
	.scroll-row {
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		padding-left: 4px;
	}
	.scroll-card {
		scroll-snap-align: start;
	}
	/* Better touch targets for mobile */
	.song-row {
		min-height: 56px;
	}
	.song-row-menu {
		padding: 8px;
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.song-row-fav {
		padding: 8px;
		min-width: 44px;
		min-height: 44px;
	}
	/* Search input larger on mobile for easier tapping */
	.search-input {
		font-size: 16px; /* Prevents iOS zoom on focus */
	}
	/* AD overlay safer on mobile */
	.ad-overlay {
		padding: 16px;
		-webkit-overflow-scrolling: touch;
	}
	.ad-card {
		max-height: calc(100vh - 32px);
		max-height: calc(100dvh - 32px);
		overflow-y: auto;
	}
	/* LeBron quote card compact on mobile */
	.lebron-quote-card {
		padding: 14px 16px;
		gap: 12px;
	}
	.quote-icon {
		width: 32px;
		height: 32px;
	}
	.quote-text {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.player-art-wrap {
		width: min(240px, calc(100vw - 80px));
		height: min(240px, calc(100vw - 80px));
	}
	.player-song-title {
		font-size: 18px;
		max-width: calc(100vw - 48px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.player-song-artist {
		font-size: 14px;
		margin-bottom: 20px;
	}
	.player-controls {
		gap: 14px;
		margin: 16px 0 20px;
	}
	.ctrl-play {
		width: 56px;
		height: 56px;
	}
	.ctrl-btn {
		padding: 8px;
		min-width: 44px;
		min-height: 44px;
	}
	.scroll-card {
		width: 120px;
	}
	.scroll-card-art {
		width: 120px;
		height: 120px;
	}
	.player-actions {
		gap: 20px;
		margin-bottom: 20px;
	}
	/* Now Playing bar more compact but still tappable */
	.npb-art {
		width: 40px;
		height: 40px;
	}
	.npb-title {
		font-size: 13px;
	}
	.npb-controls {
		gap: 8px;
	}
	.npb-btn {
		min-width: 36px;
		min-height: 36px;
	}
	.npb-play {
		width: 34px;
		height: 34px;
	}
	/* Song rows tighter but still tappable */
	.song-row {
		padding: 8px 4px;
		gap: 10px;
	}
	.song-row-art {
		width: 40px;
		height: 40px;
	}
	.song-row-plays {
		display: none;
	}
	/* Player empty state */
	.player-empty-img {
		width: 140px;
		height: 140px;
		border-radius: 70px;
	}
	.player-empty-title {
		font-size: 24px;
	}
	/* Home banner smaller on small phones */
	.home-banner {
		height: 160px;
		border-radius: 12px;
	}
	.banner-title {
		font-size: 24px;
	}
	.banner-overlay {
		padding: 16px;
	}
	/* Section titles slightly smaller */
	.section-title {
		font-size: 18px;
		margin-bottom: 12px;
	}
	.view-title {
		font-size: 24px;
		margin-bottom: 16px;
	}
	/* Vault tabs full width */
	.vault-tab {
		padding: 10px 8px;
		font-size: 13px;
	}
	/* Taco banner stacked on mobile */
	.taco-gradient {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	.taco-title-text {
		font-size: 18px;
	}
}

@media (max-width: 360px) {
	.player-art-wrap {
		width: min(200px, calc(100vw - 60px));
		height: min(200px, calc(100vw - 60px));
	}
	.player-controls {
		gap: 10px;
	}
	.ctrl-play {
		width: 50px;
		height: 50px;
	}
	.player-actions {
		gap: 16px;
	}
	.action-label {
		font-size: 9px;
	}
	/* Extra compact for very small screens */
	.shuffle-btn {
		font-size: 13px;
		padding: 10px;
	}
	.potd-card {
		padding: 10px;
		gap: 10px;
	}
	.potd-art {
		width: 56px;
		height: 56px;
	}
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
	/* Fix Safari overscroll bounce showing bg */
	body {
		background: var(--bg);
	}
	/* Fix Safari backdrop-filter performance */
	.now-playing-bar {
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}
	.mobile-tabs {
		-webkit-transform: translateZ(0);
		transform: translateZ(0);
	}
	/* Progress bar thumb always visible on touch devices */
	.player-progress-thumb {
		opacity: 1;
	}
}
