.thespl-player.thespl-cover-flow {
	--thespl-cf-buffer-alpha: 0.22;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--thespl-bg, #050816);
	color: var(--thespl-text, #f9fafb);
	border-radius: 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	overflow: visible;
	text-align: center;
}

.thespl-player.thespl-cover-flow *,
.thespl-player.thespl-cover-flow *::before,
.thespl-player.thespl-cover-flow *::after {
	box-sizing: border-box;
	text-align: inherit;
}

.thespl-player.thespl-cover-flow .thespl-cf-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 14px 16px 6px;
	gap: 12px;
	position: relative;
}

.thespl-player.thespl-cover-flow .thespl-cf-track-info {
	flex: 1;
	min-width: 0;
	text-align: left;
	padding-right: 92px;
}

.thespl-player.thespl-cover-flow .thespl-cf-track-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.thespl-player.thespl-cover-flow .thespl-cf-track-artist {
	font-size: 12px;
	opacity: 0.72;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.thespl-player.thespl-cover-flow .thespl-cf-time {
	display: flex;
	gap: 3px;
	font-size: 11px;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	opacity: 0.8;
	white-space: nowrap;
	flex-shrink: 0;
	text-align: right;
	position: absolute;
	top: 14px;
	right: 16px;
}

.thespl-player.thespl-cover-flow .thespl-player__canvas-wrap {
	display: block;
	width: 100%;
	line-height: 0;
	position: relative;
}

.thespl-player.thespl-cover-flow .thespl-player__canvas {
	display: block;
	width: 100%;
	height: auto;
	touch-action: none;
	-webkit-tap-highlight-color: transparent;
	cursor: crosshair;
}

.thespl-player.thespl-cover-flow .thespl-player__status {
	padding: 4px 16px 0;
	font-size: 13px;
	opacity: 0.8;
	min-height: 20px;
	text-align: center;
}

.thespl-player.thespl-cover-flow .thespl-player__infotext {
	padding: 0 16px;
	font-size: 13px;
	opacity: 0.85;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
}

.thespl-player.thespl-cover-flow .thespl-cf-controls-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px 16px 4px;
	justify-content: flex-start;
}

.thespl-player.thespl-cover-flow .thespl-player__controls {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-left: auto;
}

.thespl-player.thespl-cover-flow .thespl-player__btn {
	appearance: none;
	border: 1px solid var(--thespl-chip-br, rgba(255, 255, 255, 0.16));
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 48%, rgba(0, 0, 0, 0.2) 100%),
		var(--thespl-button-bg, rgba(255, 255, 255, 0.08));
	color: var(--thespl-button-text, #f9fafb);
	border-radius: 50%;
	padding: 0;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
	height: 42px;
	width: 42px;
	min-width: 42px;
	aspect-ratio: 1 / 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -2px 4px rgba(0, 0, 0, 0.38), 0 7px 16px rgba(0, 0, 0, 0.44);
	transition: transform 120ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.thespl-player.thespl-cover-flow .thespl-player__btn:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.34), 0 9px 18px rgba(0, 0, 0, 0.5);
}

.thespl-player.thespl-cover-flow .thespl-player__btn:active {
	transform: translateY(0);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.16), 0 3px 10px rgba(0, 0, 0, 0.4);
}

.thespl-player.thespl-cover-flow .thespl-player__btn--legacy {
	display: none !important;
}

.thespl-player.thespl-cover-flow .thespl-player__btn-label {
	display: none;
}

.thespl-player.thespl-cover-flow .thespl-player__btn[aria-pressed="true"] {
	background: var(--thespl-button-active-bg, var(--thespl-accent, #22d3ee));
	color: var(--thespl-button-active-text, #050816);
}

.thespl-player.thespl-cover-flow .thespl-player__btn--toggle[aria-pressed="true"] {
	background: var(--thespl-button-bg, rgba(255, 255, 255, 0.08));
	color: var(--thespl-button-text, #f9fafb);
	border-color: var(--thespl-accent, #22d3ee);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.52), inset 0 -1px 0 rgba(255, 255, 255, 0.16), 0 4px 10px rgba(0, 0, 0, 0.45);
}

.thespl-player.thespl-cover-flow .thespl-player__variants {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-left: 0;
	margin-right: auto;
}

.thespl-player.thespl-cover-flow .thespl-player__variant {
	appearance: none;
	border: 1px solid var(--thespl-chip-br, rgba(255, 255, 255, 0.16));
	background: var(--thespl-chip-bg, rgba(255, 255, 255, 0.06));
	color: inherit;
	border-radius: 999px;
	padding: 0 13px;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 37px;
}

.thespl-player.thespl-cover-flow .thespl-player__btn-icon {
	display: block;
	width: 15px;
	height: 15px;
	line-height: 0;
	position: relative;
	flex: 0 0 15px;
}

.thespl-player.thespl-cover-flow .thespl-player__btn--toggle .thespl-player__btn-icon::before,
.thespl-player.thespl-cover-flow .thespl-player__btn--toggle .thespl-player__btn-icon::after,
.thespl-player.thespl-cover-flow .thespl-player__btn--stop .thespl-player__btn-icon::before {
	content: "";
	position: absolute;
	display: block;
}

.thespl-player.thespl-cover-flow .thespl-player__btn--toggle[data-state="play"] .thespl-player__btn-icon::before {
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid currentColor;
}

.thespl-player.thespl-cover-flow .thespl-player__btn--toggle[data-state="pause"] .thespl-player__btn-icon::before,
.thespl-player.thespl-cover-flow .thespl-player__btn--toggle[data-state="pause"] .thespl-player__btn-icon::after {
	top: 50%;
	width: 4px;
	height: 11px;
	background: currentColor;
	border-radius: 1px;
	transform: translateY(-50%);
}

.thespl-player.thespl-cover-flow .thespl-player__btn--toggle[data-state="pause"] .thespl-player__btn-icon::before {
	left: 1px;
}

.thespl-player.thespl-cover-flow .thespl-player__btn--toggle[data-state="pause"] .thespl-player__btn-icon::after {
	right: 1px;
}

.thespl-player.thespl-cover-flow .thespl-player__btn--stop .thespl-player__btn-icon::before {
	top: 50%;
	left: 50%;
	width: 11px;
	height: 11px;
	background: currentColor;
	border-radius: 1px;
	transform: translate(-50%, -50%);
}

.thespl-player.thespl-cover-flow .thespl-player__variant[aria-selected="true"] {
	border-color: var(--thespl-accent, #22d3ee);
	background: var(--thespl-accent, #22d3ee);
	color: var(--thespl-button-active-text, #050816);
}

.thespl-player.thespl-cover-flow .thespl-cf-coverflow-shell {
	position: relative;
	display: flex;
	align-items: center;
	padding: 16px 0 20px;
	overflow: visible;
}

.thespl-player.thespl-cover-flow .thespl-cf-stage {
	flex: 1;
	position: relative;
	height: 200px;
	perspective: 900px;
	perspective-origin: 50% 50%;
	overflow: visible;
}

.thespl-player.thespl-cover-flow .thespl-player__playlist {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	list-style: none;
	margin: 0;
	padding: 0;
}

.thespl-player.thespl-cover-flow .thespl-cf-item {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -90px;
	margin-left: -90px;
	width: 180px;
	height: 180px;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	transform-style: preserve-3d;
	transform-origin: center center;
	transition: transform 230ms cubic-bezier(.22,.61,.36,1), opacity 210ms ease;
	will-change: transform, opacity;
	-webkit-tap-highlight-color: transparent;
}

.thespl-player.thespl-cover-flow .thespl-cf-item:focus-visible {
	outline: 2px solid var(--thespl-accent, #22d3ee);
	outline-offset: 3px;
}

.thespl-player.thespl-cover-flow .thespl-cf-img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	pointer-events: none;
	box-shadow: 0 18px 44px var(--thespl-shadow, rgba(0, 0, 0, 0.55)), 0 2px 6px var(--thespl-shadow, rgba(0, 0, 0, 0.55));
	transition: box-shadow 230ms ease;
}

.thespl-player.thespl-cover-flow .thespl-cf-item[aria-selected="true"] .thespl-cf-img {
	box-shadow: 0 0 0 2px var(--thespl-accent, #22d3ee), 0 8px 32px var(--thespl-shadow, rgba(0, 0, 0, 0.55));
}

.thespl-player.thespl-cover-flow .thespl-cf-arrow {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--thespl-text, #f9fafb);
	font-size: 36px;
	line-height: 1;
	padding: 0 10px;
	cursor: pointer;
	opacity: 0.5;
	flex-shrink: 0;
	position: relative;
	z-index: 10;
	transition: opacity 150ms;
	text-align: center;
}

.thespl-player.thespl-cover-flow .thespl-cf-arrow:hover {
	opacity: 1;
}

.thespl-player.thespl-cover-flow .thespl-cf-vignette {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 72px;
	pointer-events: none;
	z-index: 5;
}

.thespl-player.thespl-cover-flow .thespl-cf-vignette--left {
	left: 46px;
	background: linear-gradient(to right, var(--thespl-bg, #050816), transparent);
}

.thespl-player.thespl-cover-flow .thespl-cf-vignette--right {
	right: 46px;
	background: linear-gradient(to left, var(--thespl-bg, #050816), transparent);
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle-wrap {
	display: flex;
	justify-content: flex-end;
	padding: 2px 16px 0;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 0;
	background: transparent;
	color: color-mix(in srgb, var(--thespl-text, #f9fafb) 78%, transparent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 2px 0;
	cursor: pointer;
	transition: color 140ms ease;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle:hover {
	color: var(--thespl-text, #f9fafb);
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle:focus-visible {
	outline: 1px solid color-mix(in srgb, var(--thespl-accent, #22d3ee) 70%, transparent);
	outline-offset: 3px;
	border-radius: 2px;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle-arrow {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 180ms ease;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle[aria-expanded="true"] .thespl-player__audio-info-toggle-arrow {
	transform: rotate(-135deg) translateY(-1px);
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-panel {
	overflow: hidden;
	max-height: 520px;
	opacity: 1;
	transition: max-height 220ms ease, opacity 170ms ease;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-panel.is-collapsed {
	max-height: 0;
	opacity: 0;
	pointer-events: none;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info {
	margin: 12px 16px 0;
	border: 1px solid var(--thespl-panel-br, rgba(255, 255, 255, 0.12));
	border-radius: 12px;
	padding: 10px;
	background: var(--thespl-bg, #050816);
	font-size: 12px;
	line-height: 1.25;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	opacity: 0.9;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-build {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	opacity: 0.85;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-build-item {
	white-space: nowrap;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-item {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-key {
	opacity: 0.7;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-val {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	white-space: nowrap;
	text-align: right;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-levels {
	margin-top: 10px;
	border-top: 1px solid var(--thespl-panel-br, rgba(255, 255, 255, 0.1));
	padding-top: 10px;
	display: grid;
	gap: 6px;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content max-content;
	row-gap: 10px;
	column-gap: 20px;
	align-items: center;
	border: 1px solid var(--thespl-panel-br, rgba(255, 255, 255, 0.09));
	border-radius: 10px;
	padding: 7px 9px;
	background: var(--thespl-bg, #050816);
	box-sizing: border-box;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-row[data-active="1"] {
	border-color: var(--thespl-accent, rgba(34, 211, 238, 0.7));
	background: var(--thespl-bg, #050816);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--thespl-accent, #22d3ee) 38%, transparent);
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-label {
	opacity: 0.9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-val {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	white-space: nowrap;
	opacity: 0.9;
	text-align: left;
	width: auto;
	min-width: 0;
	display: inline-flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 6px;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-key {
	flex: 0 0 auto;
	opacity: 0.9;
	white-space: nowrap;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-num {
	flex: 0 0 auto;
	text-align: right;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	font-size: clamp(11px, 1.5vw + 8px, 14px);
	width: 6ch;
	min-width: 6ch;
}

.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-unit {
	flex: 0 0 auto;
	white-space: nowrap;
	opacity: 0.9;
}

.thespl-player.thespl-cover-flow .thespl-player__metafoot {
	padding: 6px 16px 12px;
	font-size: 10px;
	opacity: 0.7;
	display: block;
}

.thespl-player.thespl-cover-flow .thespl-player__audio {
	display: none;
}

.thespl-hide-playlist .thespl-player__playlist,
.thespl-hide-playlist .thespl-cf-coverflow-shell {
	display: none;
}

.thespl-player.thespl-cover-flow.thespl-hide-audio-info .thespl-player__audio-info-toggle-wrap,
.thespl-player.thespl-cover-flow.thespl-hide-audio-info .thespl-player__audio-info-panel,
.thespl-player.thespl-cover-flow.thespl-hide-audio-info .thespl-player__audio-info,
.thespl-hide-audio-info .thespl-player.thespl-cover-flow .thespl-player__audio-info-toggle-wrap,
.thespl-hide-audio-info .thespl-player.thespl-cover-flow .thespl-player__audio-info-panel,
.thespl-hide-audio-info .thespl-player.thespl-cover-flow .thespl-player__audio-info {
	display: none;
}

@media (max-width: 600px) {
	.thespl-player.thespl-cover-flow .thespl-cf-stage {
		height: 150px;
	}
	.thespl-player.thespl-cover-flow .thespl-cf-item {
		width: 130px;
		height: 130px;
		margin-top: -65px;
		margin-left: -65px;
	}
	.thespl-player.thespl-cover-flow .thespl-cf-arrow {
		font-size: 28px;
		padding: 0 6px;
	}
	.thespl-player.thespl-cover-flow .thespl-cf-controls-row {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
	}
	.thespl-player.thespl-cover-flow .thespl-player__variants {
		margin: 0;
		width: 100%;
		justify-content: center;
	}
	.thespl-player.thespl-cover-flow .thespl-player__controls {
		margin: 0;
		width: 100%;
		justify-content: center;
	}
	.thespl-player.thespl-cover-flow .thespl-cf-vignette {
		width: 44px;
	}
	.thespl-player.thespl-cover-flow .thespl-cf-vignette--left  { left: 36px; }
	.thespl-player.thespl-cover-flow .thespl-cf-vignette--right { right: 36px; }
	.thespl-player.thespl-cover-flow .thespl-player__audio-info-grid {
		grid-template-columns: 1fr;
	}
	.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-row {
		grid-template-columns: minmax(0, 1fr) max-content max-content;
		grid-auto-rows: auto;
		column-gap: clamp(10px, 4.5vw, 24px);
	}
	.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-val {
		width: auto;
		min-width: 0;
	}
	.thespl-player.thespl-cover-flow .thespl-player__audio-info-level-num {
		font-size: clamp(10px, 1.7vw + 7px, 13px);
		width: 6ch;
		min-width: 6ch;
	}
}

@media (max-width: 380px) {
	.thespl-player.thespl-cover-flow .thespl-cf-stage {
		height: 108px;
	}
	.thespl-player.thespl-cover-flow .thespl-cf-item {
		width: 94px;
		height: 94px;
		margin-top: -47px;
		margin-left: -47px;
	}
}
