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

:root {
	--theme-color: #7c5cff;
	--theme-color-light: #a28bff;
	--page-bg: #1f2227;
	--text-color: #f5f7fa;

	--glass: rgba(255, 255, 255, 0.06);
	--glass-strong: rgba(255, 255, 255, 0.10);
	--glass-border: rgba(255, 255, 255, 0.10);
	--glass-border-strong: rgba(255, 255, 255, 0.16);

	--text-main: var(--text-color);
	--text-soft: rgba(245, 247, 250, 0.82);
	--text-muted: rgba(245, 247, 250, 0.58);

	--shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.20);
	--shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.30);

	--radius-xl: 26px;
	--radius-lg: 20px;
	--radius-md: 16px;
	--radius-sm: 12px;

	--content-width: 980px;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	color: var(--text-main);
	background:
		radial-gradient(circle at top center, rgba(124, 92, 255, 0.15), transparent 34%),
		linear-gradient(180deg, #11141b 0%, var(--page-bg) 52%, #171b24 100%);
	min-width: 320px;
	min-height: 100vh;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.player-page {
	position: relative;
	padding: 18px 14px 34px;
	overflow: hidden;
}

.player-page__glow {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 20% 10%, rgba(124, 92, 255, 0.10), transparent 24%),
		radial-gradient(circle at 85% 12%, rgba(124, 92, 255, 0.08), transparent 24%);
}

.player-layout {
	position: relative;
	z-index: 1;
	width: min(var(--content-width), 100%);
	margin: 0 auto;
	display: grid;
	gap: 18px;
}

.player-topbar,
.hero-player-card,
.history-section,
.network-section {
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.085),
		rgba(255, 255, 255, 0.045)
	);
	border: 1px solid var(--glass-border);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.player-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	position: relative;
	overflow: visible;
	z-index: 20;
}

.player-topbar__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.94rem;
	font-weight: 700;
	color: var(--text-soft);
}

.status-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ff617c;
	box-shadow: 0 0 0 6px rgba(255, 97, 124, 0.14);
	animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
	0% { transform: scale(1); opacity: 1; }
	70% { transform: scale(1.18); opacity: 0.72; }
	100% { transform: scale(1); opacity: 1; }
}

.player-topbar__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.icon-button {
	width: 44px;
	height: 44px;
	border: 1px solid var(--glass-border);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.07);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-main);
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.icon-button:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--glass-border-strong);
}

.icon-button.is-success {
	background: rgba(80, 200, 120, 0.16);
	border-color: rgba(80, 200, 120, 0.28);
}

.menu-wrap {
	position: relative;
}

.hero-player-card {
	display: grid;
	grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
	gap: 24px;
	padding: 22px;
	border-radius: var(--radius-xl);
	position: relative;
	overflow: visible;
	z-index: 2;
}

.hero-player-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(124, 92, 255, 0.08), transparent 28%);
	pointer-events: none;
	border-radius: inherit;
}

.hero-player-card__cover-col,
.hero-player-card__content {
	position: relative;
	z-index: 1;
}

.cover-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 280px;
	margin: 0 auto;
	padding: 9px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.11);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.cover-loader {
	position: absolute;
	inset: 9px;
	border-radius: 16px;
	background: linear-gradient(
		90deg,
		rgba(255,255,255,0.05) 25%,
		rgba(255,255,255,0.14) 50%,
		rgba(255,255,255,0.05) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite linear;
	z-index: 0;
}

@keyframes shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.cover {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	border-radius: 16px;
	background-color: rgba(255, 255, 255, 0.08);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.hero-player-card__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.station-eyebrow {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.station-title {
	margin: 0 0 14px;
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.03em;
	word-break: break-word;
}

.track-block {
	margin-bottom: 14px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.track-block__label {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.track-block__title {
	font-size: 1.04rem;
	line-height: 1.5;
	color: var(--text-main);
	word-break: break-word;
}

.station-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.station-location {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.09);
	color: var(--text-soft);
	font-size: 0.92rem;
}

.genre-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

#station-genres {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.genre-chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 11px;
	border-radius: 999px;
	background: rgba(124, 92, 255, 0.13);
	border: 1px solid rgba(124, 92, 255, 0.18);
	color: #fff;
	font-size: 0.86rem;
	font-weight: 700;
}

.player-action-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.play-button,
.favorite-button,
.timer-button,
.more-toggle-button,
.share-option,
.sleep-option {
	border: 0;
	cursor: pointer;
}

.play-button,
.favorite-button,
.timer-button,
.more-toggle-button,
.icon-button {
	transition:
		transform 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease;
}

.play-button {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--theme-color), #ff0080);
	color: #fff;
	font-size: 1.15rem;
	box-shadow:
		0 12px 24px rgba(124, 92, 255, 0.24),
		0 6px 14px rgba(0, 0, 0, 0.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.play-button:hover {
	transform: translateY(-2px) scale(1.02);
}

.favorite-button,
.timer-button {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: var(--text-main);
	font-size: 1.02rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.favorite-button:hover,
.timer-button:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.16);
}

.favorite-button.is-active,
.timer-button.is-active {
	background: rgba(124, 92, 255, 0.16);
	border-color: rgba(124, 92, 255, 0.28);
	box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.08) inset;
}

.timer-status {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 13px;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.09);
	color: var(--text-soft);
	font-size: 0.91rem;
	line-height: 1;
}

.volume-row {
	width: 100%;
	display: block;
}

.volume-control {
	width: 100%;
	min-width: 0;
	min-height: 54px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.09);
	position: relative;
	z-index: 1;
}

.volume-icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-soft);
	font-size: 0.98rem;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.volume-icon:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.55);
	outline-offset: 2px;
}

#volume-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 32px;
	background: transparent;
	outline: none;
	cursor: pointer;
	touch-action: none;
}

#volume-slider::-webkit-slider-runnable-track {
	height: 6px;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
}

#volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -8px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--theme-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}

#volume-slider::-moz-range-track {
	height: 6px;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
}

#volume-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--theme-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}

.sleep-timer-wrap {
	position: relative;
	z-index: 60;
}

.share-menu,
.sleep-timer-menu {
	position: absolute;
	top: calc(100% + 10px);
	min-width: 190px;
	max-width: calc(100vw - 24px);
	padding: 8px;
	border-radius: 16px;
	background: rgba(20, 24, 34);
	border: 1px solid rgba(255, 255, 255, 0.10);
	box-shadow: var(--shadow-strong);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	gap: 6px;
	z-index: 999;
}

.share-menu {
	right: 0;
	transform: translateX(-10px);
}

.sleep-timer-menu {
	left: 0;
	right: auto;
	min-width: 170px;
}

.share-menu:not([hidden]),
.sleep-timer-menu:not([hidden]) {
	display: grid;
}

.share-option,
.sleep-option {
	min-height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
	transition: background 0.18s ease, transform 0.18s ease;
}

.share-option:hover,
.sleep-option:hover {
	background: rgba(255, 255, 255, 0.11);
	transform: translateY(-1px);
}

.sleep-option--danger {
	color: #ffd1d8;
}

.history-section,
.network-section {
	padding: 22px;
	border-radius: var(--radius-lg);
	position: relative;
	z-index: 1;
}

.section-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}

.section-head h2 {
	margin: 0;
	font-size: 1.22rem;
	line-height: 1.2;
}

.section-head p {
	margin: 0;
	font-size: 0.93rem;
	color: var(--text-muted);
}

.song-history {
	display: grid;
	gap: 12px;
}

.song-history .song {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 14px;
	padding: 13px 15px;
	border-radius: 16px;
	background: rgba(15, 18, 40, 0.55);
	border: 1px solid rgba(255,255,255,0.08);
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.song-history .song:hover {
	transform: translateY(-2px);
	background: rgba(21, 25, 54, 0.72);
	border-color: rgba(255,255,255,0.14);
}

.song-time {
	min-width: 58px;
	padding: 7px 10px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--theme-color), #ff0080);
	text-align: center;
	font-size: 0.84rem;
	font-weight: 700;
	color: #fff;
}

.song_history {
	min-width: 0;
	line-height: 1.45;
	word-break: break-word;
	color: var(--text-soft);
}

.history_artist {
	font-weight: 700;
	color: var(--text-main);
}

.more-toggle-wrap {
	margin-top: 12px;
}

.more-toggle-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 13px;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.10);
	color: var(--text-main);
	font-weight: 700;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
	width: auto;
	max-width: 100%;
	white-space: nowrap;
	line-height: 1;
	margin-bottom: 10px;
}

.more-toggle-button:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,0.11);
	border-color: rgba(255,255,255,0.16);
}

.song-history--extended.invisible {
	display: none;
}

.network-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.network-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px;
	border-radius: 16px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.09);
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
	min-width: 0;
	min-height: 92px;
}

.network-card:hover {
	transform: translateY(-2px);
	background: rgba(255,255,255,0.09);
	border-color: rgba(255,255,255,0.14);
}

.network-card__logo {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	padding: 8px;
	border-radius: 14px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.07);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.network-card__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.network-card__body {
	flex: 1 1 auto;
	min-width: 0;
}

.network-card__name {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	word-break: break-word;
}

.network-card__meta {
	margin-top: 4px;
	font-size: 0.86rem;
	color: var(--text-muted);
	word-break: break-word;
}

.network-card__arrow {
	flex: 0 0 auto;
	color: var(--text-muted);
	font-size: 0.92rem;
	margin-left: auto;
}

.network-hidden {
	display: none;
}

.share-toast {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 1200;
	min-height: 42px;
	padding: 0 15px;
	border-radius: 999px;
	background: rgba(12, 16, 24, 0.96);
	border: 1px solid rgba(255,255,255,0.10);
	box-shadow: var(--shadow-soft);
	align-items: center;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
}

.share-toast:not([hidden]) {
	display: inline-flex;
}

@media (max-width: 980px) {
	.hero-player-card {
		grid-template-columns: 1fr;
	}

	.cover-frame {
		max-width: 280px;
	}

	.volume-row {
		display: block;
	}
}

@media (max-width: 640px) {
	.player-page {
		padding: 10px 10px 24px;
	}

	.player-layout {
		gap: 14px;
	}

	.player-topbar,
	.history-section,
	.network-section {
		padding: 14px;
		border-radius: 16px;
	}

	.player-topbar {
		min-height: 68px;
	}

	.hero-player-card {
		padding: 16px;
		gap: 16px;
		border-radius: 20px;
		grid-template-columns: 1fr;
	}

	.hero-player-card__cover-col {
		display: flex;
		justify-content: center;
	}

	.cover-frame {
		max-width: 210px;
		padding: 7px;
		border-radius: 18px;
		margin: 0 auto;
	}

	.cover-loader {
		inset: 7px;
		border-radius: 14px;
	}

	.cover {
		border-radius: 14px;
	}

	.station-eyebrow {
		margin-bottom: 4px;
		font-size: 0.76rem;
		letter-spacing: 0.11em;
	}

	.station-title {
		margin: 0 0 12px;
		font-size: clamp(1.7rem, 8vw, 2.1rem);
		line-height: 1.02;
	}

	.track-block {
		margin-bottom: 12px;
		padding: 12px 14px;
		border-radius: 14px;
	}

	.track-block__label {
		font-size: 0.76rem;
		margin-bottom: 6px;
	}

	.track-block__title {
		font-size: 0.98rem;
		line-height: 1.4;
	}

	.station-meta {
		gap: 8px;
		margin-bottom: 14px;
	}

	.station-location {
		padding: 8px 11px;
		font-size: 0.86rem;
	}

	.genre-chip {
		min-height: 30px;
		padding: 0 10px;
		font-size: 0.8rem;
	}

	.player-action-row {
		gap: 10px;
		margin-bottom: 10px;
	}

	.play-button {
		width: 56px;
		height: 56px;
		border-radius: 15px;
	}

	.favorite-button,
	.timer-button {
		width: 50px;
		height: 50px;
		border-radius: 15px;
	}

	.timer-status {
		width: 100%;
		min-height: 40px;
		justify-content: center;
		padding: 0 12px;
		font-size: 0.86rem;
		border-radius: 12px;
	}

	.volume-control {
		min-height: 50px;
		padding: 0 12px;
		gap: 10px;
		border-radius: 14px;
	}

	.volume-icon {
		width: 34px;
		height: 34px;
		font-size: 0.92rem;
	}

	#volume-slider {
		height: 34px;
	}

	.share-menu {
		left: auto;
		right: 0;
		transform: none;
		min-width: 180px;
		width: max-content;
		max-width: calc(100vw - 24px);
	}

	.sleep-timer-menu {
		left: 0;
		right: auto;
		transform: none;
		min-width: 180px;
		max-width: calc(100vw - 24px);
	}

	.share-option {
		white-space: nowrap;
	}

	.section-head {
		margin-bottom: 12px;
	}

	.section-head h2 {
		font-size: 1.1rem;
	}

	.section-head p {
		font-size: 0.88rem;
	}

	.song-history {
		gap: 10px;
	}

	.song-history .song {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 12px 13px;
		border-radius: 14px;
	}

	.song-time {
		width: fit-content;
		min-width: 0;
		padding: 6px 10px;
		font-size: 0.8rem;
	}

	.song_history {
		font-size: 0.95rem;
		line-height: 1.35;
	}

	.more-toggle-wrap {
		margin-top: 10px;
		padding-right: 0;
	}

	.more-toggle-button {
		min-height: 42px;
		padding: 0 20px;
		font-size: 0.95rem;
		border-radius: 12px;
	}

	.network-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.network-card {
		padding: 12px;
		border-radius: 14px;
		min-height: 86px;
	}

	.network-card__logo {
		width: 50px;
		height: 50px;
		flex: 0 0 50px;
		border-radius: 12px;
	}

	.network-card__name {
		font-size: 0.92rem;
	}

	.network-card__meta {
		font-size: 0.82rem;
	}

	.share-toast {
		bottom: 14px;
		min-height: 40px;
		padding: 0 14px;
		font-size: 0.86rem;
	}
}

@media (max-width: 600px) {
	
		.volume-row {
		display: none !important;
	}
	
}

/* =========================
   Compact Version
   ========================= */

.player-page--compact {
	padding: 18px 14px 28px;
}

.player-layout--compact {
	width: min(720px, 100%);
	display: block;
}

.compact-player-shell {
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.10),
		rgba(255, 255, 255, 0.05)
	);
	border: 1px solid var(--glass-border);
	border-radius: 26px;
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	overflow: hidden;
	position: relative;
}

.compact-player-shell::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255,255,255,0.10) 0%, transparent 35%),
		radial-gradient(circle at top right, rgba(124,92,255,0.12) 0%, transparent 28%);
	pointer-events: none;
}

.compact-player-header,
.compact-current-song-card,
.compact-history-section {
	position: relative;
	z-index: 1;
}

/* Header */

.compact-player-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.compact-player-title {
	margin: 0;
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text-main);
	word-break: break-word;
}

.compact-station-link {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 12px;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.10);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-main);
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.compact-station-link:hover {
	transform: translateY(-1px);
	background: rgba(255,255,255,0.12);
	border-color: rgba(255,255,255,0.16);
}

/* Player Bereich */

.compact-current-song-card {
	padding: 22px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.compact-cover-wrap {
	margin-bottom: 18px;
}

/* 🔥 FIX: Cover sichtbar machen */

.compact-cover-frame {
	width: 220px;
	height: 220px;
	max-width: 100%;
	position: relative;
	padding: 8px;
	border-radius: 22px;
	margin: 0 auto;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.compact-cover-frame .cover {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	background-color: rgba(255,255,255,0.08);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
}

.compact-cover-frame .cover-loader {
	position: absolute;
	inset: 8px;
	border-radius: 16px;
	background: linear-gradient(
		90deg,
		rgba(255,255,255,0.05) 25%,
		rgba(255,255,255,0.14) 50%,
		rgba(255,255,255,0.05) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite linear;
	z-index: 0;
}

/* Track */

.compact-track-info {
	width: 100%;
	max-width: 560px;
	margin-bottom: 16px;
}

.compact-track-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.compact-track-title {
	font-size: 1.06rem;
	line-height: 1.5;
	color: var(--text-main);
	word-break: break-word;
}

.compact-live-status {
	margin-top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text-soft);
}

/* Controls */

.compact-controls {
	width: 100%;
	max-width: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 14px;
}

.compact-play-button {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.compact-volume {
	flex: 1 1 auto;
	min-width: 0;
}

.compact-volume #volume-slider {
	width: 100%;
}

/* History */

.compact-history-section {
	padding: 0 22px 22px;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.compact-section-head {
	padding: 18px 0 12px;
}

.compact-section-head h2 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
}

.compact-song-history {
	display: grid;
	gap: 10px;
}

.compact-song-history .song {
	margin-bottom: 0;
}

.compact-more-toggle-wrap {
	margin-top: 12px;
}

/* Responsive */

@media (max-width: 640px) {
	.player-page--compact {
		padding: 10px 10px 22px;
	}

	.compact-player-shell {
		border-radius: 20px;
	}

	.compact-player-header {
		padding: 16px;
		gap: 12px;
	}

	.compact-player-title {
		font-size: clamp(1.15rem, 7vw, 1.45rem);
	}

	.compact-station-link {
		width: 40px;
		height: 40px;
	}

	.compact-current-song-card {
		padding: 16px;
	}

	.compact-cover-frame {
		width: 180px;
		height: 180px;
		padding: 6px;
		border-radius: 18px;
	}

	.compact-cover-frame .cover-loader {
		inset: 6px;
		border-radius: 14px;
	}

	.compact-cover-frame .cover {
		border-radius: 14px;
	}

	.compact-track-title {
		font-size: 0.98rem;
	}

	.compact-controls {
		gap: 10px;
	}

	.compact-play-button {
		width: 52px;
		height: 52px;
	}

	.compact-history-section {
		padding: 0 16px 16px;
	}
}