#pbm-player {
	position: fixed;
	z-index: 999999;
}

#pbm-player.pbm-pos-bottom-right { bottom: 20px; right: 20px; }
#pbm-player.pbm-pos-bottom-left  { bottom: 20px; left: 20px; }
#pbm-player.pbm-pos-top-right    { top: 20px; right: 20px; }
#pbm-player.pbm-pos-top-left     { top: 20px; left: 20px; }

#pbm-toggle {
	width: var(--pbm-size, 52px);
	height: var(--pbm-size, 52px);
	border-radius: var(--pbm-radius, 50%);
	border: none;
	background: var(--pbm-bg-color, #222);
	color: var(--pbm-icon-color, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease, background 0.2s ease;
	padding: 0;
}

#pbm-toggle:hover {
	transform: scale(1.08);
}

#pbm-toggle.pbm-playing {
	background: var(--pbm-playing-color, #1db954);
}

#pbm-toggle svg {
	pointer-events: none;
	width: 42%;
	height: 42%;
}

@media (max-width: 600px) {
	#pbm-player.pbm-pos-bottom-right,
	#pbm-player.pbm-pos-bottom-left {
		bottom: 14px;
	}
	#pbm-player.pbm-pos-top-right,
	#pbm-player.pbm-pos-top-left {
		top: 14px;
	}
	#pbm-player.pbm-pos-bottom-right,
	#pbm-player.pbm-pos-top-right {
		right: 14px;
	}
	#pbm-player.pbm-pos-bottom-left,
	#pbm-player.pbm-pos-top-left {
		left: 14px;
	}
}

/* Splash / "click to enter" screen */

body.pbm-no-scroll {
	overflow: hidden;
}

#pbm-splash {
	position: fixed;
	inset: 0;
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	opacity: 1;
	transition: opacity 0.5s ease;
}

#pbm-splash.pbm-splash-hidden {
	opacity: 0;
	pointer-events: none;
}

#pbm-splash-inner {
	max-width: 640px;
}

#pbm-splash-text {
	font-size: clamp(24px, 5vw, 42px);
	line-height: 1.3;
	margin: 0 0 32px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

#pbm-splash-enter {
	border: none;
	padding: 14px 36px;
	font-size: 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

#pbm-splash-enter:hover {
	transform: scale(1.05);
	opacity: 0.9;
}
