/* Simple Persistent Radio Player - losse webplayer-pagina (pop-up) */

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	margin: 0;
}

body.prp-standalone {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background: var( --prp-bg, #1a1a1a );
	color: var( --prp-text, #fff );
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.prp-standalone-card {
	text-align: center;
	padding: 28px 24px;
	max-width: 320px;
	width: 100%;
}

.prp-standalone-logo {
	width: 88px;
	height: 88px;
	object-fit: contain;
	border-radius: 10px;
	margin-bottom: 16px;
}

.prp-standalone-title {
	font-size: 18px;
	font-weight: 700;
	color: var( --prp-title-color, inherit );
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.prp-standalone-artist {
	font-size: 14px;
	opacity: 0.85;
	margin-bottom: 18px;
	min-height: 1em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.prp-standalone-artist:empty {
	margin-bottom: 6px;
}

.prp-standalone-toggle {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: var( --prp-toggle-color, #e63946 );
	color: var( --prp-toggle-icon, #fff );
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.35 );
	transition: transform 0.15s ease, filter 0.15s ease;
}

.prp-standalone-toggle:hover {
	filter: brightness( 1.1 );
	transform: scale( 1.05 );
}

.prp-standalone-toggle:active {
	transform: scale( 0.96 );
}

.prp-standalone-icon-play,
.prp-standalone-icon-pause {
	display: block;
}

.prp-standalone-icon-play {
	margin-left: 3px;
}

.prp-standalone-status {
	font-size: 12px;
	opacity: 0.7;
	margin-bottom: 18px;
}

.prp-standalone-volume input[type='range'] {
	width: 160px;
	accent-color: var( --prp-volume-color, #e63946 );
}
