
.pr-pulse-player {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 0;
	color: #fff;
	font-family: inherit;
}

/* Unified playback controls */
.pr-pulse-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #171717;
	color: #fff;
	font: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
	box-sizing: border-box;
}

.pr-pulse-play,
.pr-pulse-next {
	background: #171717;
	color: #fff;
}

.pr-pulse-play {
	position: relative;
	border: 2px solid transparent;
	border-right: 0;
	border-radius: 24px 0 0 24px;
	background:
		linear-gradient(#171717, #171717) padding-box,
		linear-gradient(135deg, #ff8a24 0%, #ff5a36 35%, #a72bba 70%, #5425b5 100%) border-box;
}

.pr-pulse-next {
	position: relative;
	border: 2px solid transparent;
	border-left: 1px solid rgba(255, 255, 255, .18);
	border-radius: 0 24px 24px 0;
	background:
		linear-gradient(#171717, #171717) padding-box,
		linear-gradient(135deg, #ff8a24 0%, #ff5a36 35%, #a72bba 70%, #5425b5 100%) border-box;
}

/* Keep hover feedback subtle and consistent */
.pr-pulse-play:hover,
.pr-pulse-play:focus-visible,
.pr-pulse-next:hover,
.pr-pulse-next:focus-visible {
	background-color: #292929;
	color: #fff;
}

.pr-pulse-control:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	z-index: 1;
}

/* Play/Pause icon */
.pr-pulse-play-icon,
.pr-pulse-next-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.pr-pulse-play-symbol {
	width: 0;
	height: 0;
	margin-left: 3px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid currentColor;
}

.pr-pulse-pause-symbol {
	display: flex;
	gap: 4px;
	width: 12px;
	height: 16px;
}

.pr-pulse-pause-symbol::before,
.pr-pulse-pause-symbol::after {
	content: "";
	display: block;
	width: 4px;
	height: 16px;
	background: currentColor;
}

/* Next-track icon */
.pr-pulse-next-symbol {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
}

.pr-pulse-next-symbol::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 4px;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid currentColor;
}

.pr-pulse-next-symbol::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 4px;
	width: 2px;
	height: 10px;
	background: currentColor;
}

/* Info control */
.pr-pulse-info-wrap {
	position: relative;
	display: flex;
}

.pr-pulse-info {
	border: 1px solid #F59E0B;
	border-radius: 0;
	background: #303030;
}

.pr-pulse-info:hover,
.pr-pulse-info:focus-visible {
	background: #F59E0B;
	color: #171717;
}

.pr-pulse-info-panel {
	position: absolute;
	left: 0;
	bottom: calc(100% + 8px);
	width: 220px;
	padding: 12px;
	border: 1px solid #555;
	background: #171717;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.pr-pulse-info-panel[hidden] {
	display: none;
}

.pr-pulse-info-panel a {
	display: block;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

.pr-pulse-info-panel a:hover,
.pr-pulse-info-panel a:focus-visible {
	color: #F59E0B;
	text-decoration: underline;
}

/* Welcome message and playback status */
.pr-pulse-welcome {
	position: absolute;
	left: 0;
	bottom: calc(100% + 8px);
	max-width: 240px;
	padding: 8px 10px;
	background: #171717;
	border: 1px solid #555;
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
}

.pr-pulse-status {
	margin-left: 8px;
	color: #fff;
	font-size: 13px;
}

.pr-pulse-audio {
	display: none;
}

@media (max-width: 600px) {
	.pr-pulse-player {
		left: 12px;
		bottom: 12px;
	}

	.pr-pulse-control {
		width: 40px;
		height: 42px;
	}

	.pr-pulse-welcome {
		max-width: min(240px, calc(100vw - 24px));
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pr-pulse-control {
		transition: none;
	}
}
