.mp-player-widget {
	text-align: center;
	padding: 10px 0;
}

.mp-icon-container {
	width: 80px;
	height: 80px;
	margin: 0 auto 10px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--themecolor, #5e72e4);
	box-shadow: 0 4px 15px rgba(var(--themecolor-R, 94), var(--themecolor-G, 114), var(--themecolor-B, 228), 0.3);
	transition: box-shadow 0.3s ease;
}

.mp-icon {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

.mp-icon-rotating {
	animation: mp-spin 10s linear infinite;
}

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

.mp-track-info {
	margin-bottom: 8px;
	padding: 0 10px;
}

.mp-track-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-deeper, #32325d);
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.mp-progress-container {
	padding: 0 15px;
	margin-bottom: 8px;
}

.mp-progress {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	background: #d0d4d8;
	border-radius: 3px;
	outline: none;
	cursor: pointer;
}

.mp-progress::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 3px;
}

.mp-progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--themecolor, #5e72e4);
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	margin-top: -5px;
	box-shadow: 0 0 6px rgba(var(--themecolor-R, 94), var(--themecolor-G, 114), var(--themecolor-B, 228), 0.5);
}

.mp-progress::-webkit-slider-thumb:hover {
	transform: scale(1.3);
	box-shadow: 0 0 12px rgba(var(--themecolor-R, 94), var(--themecolor-G, 114), var(--themecolor-B, 228), 0.7);
}

.mp-progress::-moz-range-track {
	height: 6px;
	border-radius: 3px;
	background: #d0d4d8;
}

.mp-progress::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--themecolor, #5e72e4);
	cursor: pointer;
	border: none;
	box-shadow: 0 0 6px rgba(var(--themecolor-R, 94), var(--themecolor-G, 114), var(--themecolor-B, 228), 0.5);
}

.mp-progress::-moz-range-progress {
	height: 6px;
	border-radius: 3px;
	background: var(--themecolor, #5e72e4);
}

html.darkmode .mp-progress {
	background: #555;
}

html.darkmode .mp-progress::-moz-range-track {
	background: #555;
}

.mp-time-display {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: var(--color-text-deeper, #888);
	opacity: 0.7;
	margin-top: 2px;
}

.mp-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 5px 0;
}

.mp-btn {
	background: none;
	border: 2px solid var(--themecolor, #5e72e4);
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--themecolor, #5e72e4);
	font-size: 14px;
	transition: all 0.25s ease;
	outline: none;
	padding: 0;
}

.mp-btn:hover {
	background: var(--themecolor, #5e72e4);
	color: #fff;
	box-shadow: 0 4px 12px rgba(var(--themecolor-R, 94), var(--themecolor-G, 114), var(--themecolor-B, 228), 0.4);
}

.mp-btn:active {
	transform: scale(0.92);
}

.mp-btn-play {
	width: 44px;
	height: 44px;
	font-size: 16px;
}

.mp-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}
