.wpmp-player {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
	background: radial-gradient(circle at top left, #eef2ff 0, #f9fafb 32%, #f3f4f6 100%);
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
	max-width: 980px;
	margin: 24px auto;
}

.wpmp-player-inner {
	display: grid;
	grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
	gap: 32px;
	align-items: start;
}

.wpmp-main {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.wpmp-main-body {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
	gap: 26px;
	align-items: center;
}

.wpmp-artwork {
	width: 100%;
	padding-top: 100%;
	border-radius: 24px;
	background: linear-gradient(145deg, #e5e7eb, #f9fafb);
	background-size: cover;
	background-position: center;
	box-shadow: 0 26px 60px rgba(30, 64, 175, 0.30);
}

.wpmp-main-text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.wpmp-title {
	font-size: 30px;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin-bottom: 4px;
}

.wpmp-artist {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #94a3b8;
}

.wpmp-progress-wrap {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.wpmp-time {
	font-size: 11px;
	color: #94a3b8;
}

.wpmp-progress {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.10);
	outline: none;
	cursor: pointer;
}

.wpmp-progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: #0f172a;
	box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.10);
}

.wpmp-progress::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: #0f172a;
	border: none;
	box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.10);
}

.wpmp-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

.wpmp-controls-left,
.wpmp-controls-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wpmp-controls-left {
	justify-content: center;
}

.wpmp-play-button {
	width: 54px;
	height: 54px;
	border-radius: 999px;
	border: none;
	background: #0f172a;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.40);
	transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.wpmp-play-button:hover {
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 22px 48px rgba(15, 23, 42, 0.52);
	background: #020617;
}

.wpmp-play-button.is-playing {
	background: #16a34a;
	box-shadow: 0 18px 40px rgba(22, 163, 74, 0.35);
}

.wpmp-icon-button {
	border-radius: 999px;
	width: 42px;
	height: 42px;
	border: none;
	background: rgba(15, 23, 42, 0.03);
	color: #64748b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.wpmp-icon-button:hover {
	background: rgba(15, 23, 42, 0.09);
	color: #0f172a;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.wpmp-icon-button.is-active {
	background: rgba(37, 99, 235, 0.18);
	color: #1d4ed8;
	box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.wpmp-icon-svg {
	width: 22px;
	height: 22px;
	display: block;
}

.wpmp-sidebar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wpmp-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.wpmp-sidebar-title {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #94a3b8;
}

.wpmp-sidebar-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border-radius: 999px;
	border: none;
	background: rgba(148, 163, 184, 0.14);
	color: #64748b;
	font-size: 11px;
	padding: 4px 10px;
	cursor: pointer;
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.wpmp-sidebar-toggle span {
	white-space: nowrap;
}

.wpmp-sidebar-toggle:hover {
	background: rgba(148, 163, 184, 0.24);
	color: #0f172a;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.wpmp-sidebar-toggle.is-collapsed {
	background: rgba(37, 99, 235, 0.18);
	color: #1d4ed8;
}

.wpmp-chevron-svg {
	width: 18px;
	height: 18px;
	display: block;
}

.wpmp-tracklist {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 420px;
	overflow-y: auto;
	padding-right: 4px;
}

.wpmp-tracklist.is-collapsed {
	max-height: 0;
	overflow: hidden;
	padding-top: 0;
}

.wpmp-tracklist-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	border-radius: 14px;
	padding: 8px 10px;
	background: transparent;
	border: none;
	text-align: left;
	cursor: pointer;
	transition: background 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
	width: 100%;
}

.wpmp-tracklist-item:hover {
	background: rgba(148, 163, 184, 0.18);
	transform: translateY(-1px);
}

.wpmp-tracklist-item.is-active {
	background: #ffffff;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.wpmp-tracklist-thumb {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: #e5e7eb;
	background-size: cover;
	background-position: center;
}

.wpmp-tracklist-text {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.wpmp-tracklist-title {
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wpmp-tracklist-artist {
	font-size: 12px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wpmp-player-empty {
	margin: 0;
	text-align: center;
	color: #64748b;
	padding: 24px;
}

@media (max-width: 900px) {
	.wpmp-player {
		padding: 18px 16px 20px;
		border-radius: 20px;
	}

	.wpmp-player-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.wpmp-main-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.wpmp-title {
		font-size: 22px;
	}

	.wpmp-controls {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.wpmp-controls-right {
		justify-content: center;
	}
}

@media (max-width: 520px) {
	.wpmp-player {
		margin-inline: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.wpmp-artwork {
		border-radius: 18px;
	}

	.wpmp-tracklist {
		max-height: 60vh;
	}

	.wpmp-play-button {
		width: 60px;
		height: 60px;
	}

	.wpmp-icon-button {
		width: 48px;
		height: 48px;
	}

	.wpmp-icon-svg {
		width: 24px;
		height: 24px;
	}
}

