

#music-view {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--bg);
}

.mz-app {
	display: grid;
	flex: 1;
	grid-template-columns: 260px 1fr;
	min-height: 0;
}

.mz-sidebar {
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: var(--bg-deep);
	border-right: 1px solid var(--border);
}

.mz-sidebar-head {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 16px 14px 18px;
}

.mz-wordmark {
	font-family: var(--font-script);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text);
}

.mz-nav-item {
	display: flex;
	gap: 10px;
	align-items: center;
	width: calc(100% - 20px);
	padding: 9px 10px;
	margin: 0 10px 2px;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-dim);
	text-align: left;
	cursor: pointer;
	background: none;
	border: none;
	border-radius: 7px;
	transition: background var(--ease), color var(--ease);
}

.mz-nav-item svg {
	width: 17px;
	height: 17px;
}

.mz-nav-item:hover {
	color: var(--text);
	background: var(--surface-2);
}

.mz-nav-item.active {
	color: var(--accent);
	background: var(--accent-soft);
}

.mz-sidebar-scroll {
	flex: 1;
	min-height: 0;
	padding: 12px 10px 16px;
	overflow-y: auto;
}

.mz-liked-row {
	display: flex;
	gap: 12px;
	align-items: center;
	width: 100%;
	padding: 10px;
	margin: 0 0 14px;
	text-align: left;
	cursor: pointer;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	border: none;
	border-radius: 10px;
	box-shadow: var(--shadow);
	transition: transform var(--ease), box-shadow var(--ease);
}

.mz-liked-row:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-1px);
}

.mz-liked-row.active {
	box-shadow: 0 0 0 2px var(--accent-line), var(--shadow-lg);
}

.mz-liked-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--accent-contrast);
	background: rgba(255, 255, 255, 0.22);
	border-radius: 8px;
}

.mz-liked-icon svg {
	width: 17px;
	height: 17px;
}

.mz-liked-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.mz-liked-title {
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--accent-contrast);
}

.mz-liked-count {
	font-size: 0.72rem;
	color: var(--accent-contrast);
	opacity: 0.75;
}

.mz-section-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 6px 8px;
}

.mz-section-row .dc-section-label {
	margin-bottom: 0;
}

.mz-sidebar .dc-section-label {
	color: var(--text-faint);
}

.mz-sidebar .dc-list {
	gap: 4px;
}

.mz-playlist-row {
	display: flex;
	gap: 10px;
	align-items: center;
	width: 100%;
	padding: 8px 10px;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	background: var(--surface);
	border: 1px solid transparent;
	border-radius: 8px;
	transition: background var(--ease), border-color var(--ease);
}

.mz-playlist-row:hover {
	background: var(--surface-2);
	border-color: var(--border);
}

.mz-playlist-row.active {
	background: var(--accent-soft);
	border-color: var(--accent-line);
}

.mz-playlist-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.mz-playlist-name {
	overflow: hidden;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mz-playlist-count {
	font-size: 0.7rem;
	color: var(--text-faint);
}

.mz-main {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.mz-search-bar {
	flex-shrink: 0;
	padding: 22px 26px 16px;
}

.mz-search-wrap {
	position: relative;
	width: 100%;
}

.mz-search-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 17px;
	height: 17px;
	color: var(--text-faint);
	pointer-events: none;
	transform: translateY(-50%);
}

.mz-search-input {
	width: 100%;
	padding: 13px 16px 13px 42px;
	font-size: 0.95rem;
	background: var(--surface-2);
	border-color: var(--border);
	color: var(--text);
}

.mz-search-input::placeholder {
	color: var(--text-faint);
}

.mz-track-list {
	flex: 1;
	min-height: 0;
	padding: 4px 20px 24px;
	overflow-y: auto;
}

.mz-track-row {
	display: grid;
	grid-template-columns: 40px 1fr auto auto auto;
	gap: 14px;
	align-items: center;
	padding: 8px 10px;
	cursor: pointer;
	border-radius: 8px;
	transition: background var(--ease);
}

.mz-track-row:hover {
	background: var(--surface-2);
}

.mz-track-row.playing {
	background: var(--accent-soft);
}

.mz-track-cover {
	width: 40px;
	height: 40px;
	object-fit: cover;
	background: var(--surface-2);
	border-radius: 5px;
}

.mz-track-text {
	min-width: 0;
}

.mz-track-title {
	overflow: hidden;
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mz-track-artist {
	overflow: hidden;
	font-size: 0.78rem;
	color: var(--text-faint);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mz-track-duration {
	font-size: 0.78rem;
	color: var(--text-faint);
}

.mz-track-like,
.mz-track-add {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: var(--text-faint);
	background: none;
	border: none;
	border-radius: 50%;
	opacity: 0;
	transition: opacity var(--ease), background var(--ease), color var(--ease), transform var(--ease);
}

.mz-track-row:hover .mz-track-like,
.mz-track-row:hover .mz-track-add {
	opacity: 1;
}

.mz-track-like.liked {
	color: var(--accent);
	opacity: 1;
}

.mz-track-like:hover,
.mz-track-add:hover {
	color: var(--text);
	background: var(--surface-3);
	transform: scale(1.08);
}

.mz-track-like.liked:hover {
	color: var(--accent);
}

.mz-track-empty {
	padding: 40px 20px;
	font-size: 0.85rem;
	color: var(--text-faint);
	text-align: center;
}

.mz-player-bar {
	display: grid;
	flex-shrink: 0;
	grid-template-columns: 260px 1fr 180px;
	gap: 20px;
	align-items: center;
	height: 84px;
	padding: 0 20px;
	background: var(--bg-deep);
	border-top: 1px solid var(--border);
}

.mz-player-track {
	display: flex;
	gap: 12px;
	align-items: center;
	min-width: 0;
}

.mz-player-cover {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	background: var(--surface-2) center/cover no-repeat;
	border-radius: 6px;
}

.mz-player-info {
	min-width: 0;
}

.mz-player-title {
	overflow: hidden;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mz-player-artist {
	overflow: hidden;
	font-size: 0.76rem;
	color: var(--text-faint);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mz-player-controls {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	max-width: 560px;
	margin: 0 auto;
}

.mz-player-buttons {
	display: flex;
	gap: 14px;
	align-items: center;
}

.mz-player-buttons .icon-btn {
	color: var(--text-dim);
}

.mz-player-buttons .icon-btn:hover {
	color: var(--text);
}

.mz-toggle-btn.on {
	color: var(--accent);
}

.mz-toggle-btn.on:hover {
	color: var(--accent);
}

.mz-toggle-btn.on::after {
	content: "";
	display: block;
	width: 4px;
	height: 4px;
	margin: 2px auto 0;
	background: var(--accent);
	border-radius: 50%;
}

.mz-smart-btn.loading {
	animation: mz-spin 0.9s linear infinite;
}

@keyframes mz-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.mz-player-play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--accent-contrast);
	cursor: pointer;
	background: var(--accent);
	border: none;
	border-radius: 50%;
	transition: transform var(--ease);
}

.mz-player-play:hover {
	transform: scale(1.06);
}

.mz-player-play svg {
	width: 15px;
	height: 15px;
}

.mz-seek-row {
	display: flex;
	gap: 8px;
	align-items: center;
	width: 100%;
}

.mz-time {
	flex-shrink: 0;
	width: 34px;
	font-size: 0.7rem;
	color: var(--text-faint);
}

.mz-time:last-child {
	text-align: right;
}

.mz-seek,
.mz-volume {
	appearance: none;
	flex: 1;
	height: 5px;
	cursor: pointer;
	background: linear-gradient(
		to right,
		var(--accent) 0%,
		var(--accent) var(--mz-fill, 0%),
		var(--surface-3) var(--mz-fill, 0%),
		var(--surface-3) 100%
	);
	border-radius: 99px;
	transition: height var(--ease);
}

.mz-seek::-webkit-slider-thumb,
.mz-volume::-webkit-slider-thumb {
	appearance: none;
	width: 12px;
	height: 12px;
	background: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--accent-line), 0 1px 4px rgba(0, 0, 0, 0.35);
	transition: transform var(--ease);
}

.mz-seek:hover::-webkit-slider-thumb,
.mz-volume:hover::-webkit-slider-thumb {
	transform: scale(1.15);
}

.mz-seek::-moz-range-thumb,
.mz-volume::-moz-range-thumb {
	width: 12px;
	height: 12px;
	background: #fff;
	border: none;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--accent-line), 0 1px 4px rgba(0, 0, 0, 0.35);
}

.mz-seek::-moz-range-progress,
.mz-volume::-moz-range-progress {
	height: 5px;
	background: var(--accent);
	border-radius: 99px;
}

.mz-player-volume {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--text-faint);
}

.mz-player-volume svg {
	flex-shrink: 0;
	width: 17px;
	height: 17px;
}

.mz-volume {
	width: 90px;
}

#launcher-view {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.launcher-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 760px;
	text-align: center;
}

.launcher-sub {
	margin-bottom: 30px;
	font-size: 0.92rem;
	color: var(--text-dim);
}

.launcher-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	width: 100%;
}

.launcher-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 30px 26px;
	text-align: left;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	cursor: pointer;
	transition: border-color var(--ease), transform var(--ease), background var(--ease);
}

.launcher-card:hover {
	border-color: var(--accent-line);
	background: var(--surface-2);
	transform: translateY(-3px);
}

.launcher-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	color: var(--accent);
	background: var(--accent-soft);
	border-radius: var(--radius-sm);
}

.launcher-card-title {
	font-size: 1.14rem;
	font-weight: 600;
	color: var(--text);
}

.launcher-card-desc {
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--text-dim);
}

.launcher-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent);
}

.launcher-card-experimental {
	background: linear-gradient(160deg, var(--surface), var(--surface-2));
}

.launcher-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 3px 9px;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--accent-contrast);
	background: var(--accent);
	border-radius: 99px;
}

@media (max-width: 640px) {
	.launcher-cards {
		grid-template-columns: 1fr;
	}
}

