/* Liberty Radio player bar. Sits bottom left so it never covers the chat button on the right. */
.uckg-radio[hidden] {
	display: none !important;
}
.uckg-radio {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99990;
	box-sizing: border-box;
	width: 440px;
	max-width: calc(100vw - 120px);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 10px;
	background: #0d1a2d;
	color: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(13, 26, 45, 0.3);
	font-family: var(--uckg-font-family, "JUST Sans", Arial, Helvetica, sans-serif);
	animation: uckg-radio-in 0.25s ease-out;
}
@keyframes uckg-radio-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}
.uckg-radio *,
.uckg-radio *::before,
.uckg-radio *::after {
	box-sizing: border-box;
}
.uckg-radio__art {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	object-fit: cover;
	background: #1d77f1;
}
.uckg-radio__info {
	flex: 1;
	min-width: 0;
}
.uckg-radio .uckg-radio__station,
.uckg-radio .uckg-radio__now {
	margin: 0;
	padding: 0;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.uckg-radio .uckg-radio__station {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}
.uckg-radio__station a,
.uckg-radio__station a:visited {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
	text-decoration: none;
}
.uckg-radio__station a:hover,
.uckg-radio__station a:focus-visible {
	color: #fff;
	text-decoration: underline;
}
.uckg-radio__live {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.uckg-radio__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ff4d4f;
}
.uckg-radio[data-state="playing"] .uckg-radio__dot {
	animation: uckg-radio-pulse 1.6s ease-in-out infinite;
}
@keyframes uckg-radio-pulse {
	50% {
		opacity: 0.35;
	}
}
.uckg-radio .uckg-radio__now {
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.75);
}
.uckg-radio button {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	font: inherit;
	line-height: 1;
	box-shadow: none;
	text-transform: none;
}
.uckg-radio button:focus-visible,
.uckg-radio input:focus-visible,
.uckg-radio a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.uckg-radio .uckg-radio__play {
	position: relative;
	width: 44px;
	height: 44px;
	background: #1d77f1;
	color: #fff;
}
.uckg-radio .uckg-radio__play:hover {
	background: #0e6ae7;
}
.uckg-radio__i-pause,
.uckg-radio__spin,
.uckg-radio[data-state="playing"] .uckg-radio__i-play,
.uckg-radio[data-state="loading"] .uckg-radio__i-play {
	display: none;
}
.uckg-radio[data-state="playing"] .uckg-radio__i-pause {
	display: block;
}
.uckg-radio[data-state="loading"] .uckg-radio__spin {
	display: block;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: uckg-radio-spin 0.8s linear infinite;
}
@keyframes uckg-radio-spin {
	to {
		transform: rotate(360deg);
	}
}
.uckg-radio .uckg-radio__close {
	width: 32px;
	height: 32px;
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
}
.uckg-radio .uckg-radio__close:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.uckg-radio__vol {
	flex: none;
	display: flex;
	align-items: center;
	margin: 0;
}
.uckg-radio__vol input {
	width: 64px;
	margin: 0;
	accent-color: #1d77f1;
	cursor: pointer;
}
.uckg-radio .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* Room at the bottom of the page so the bar doesn't sit over the last lines of the footer. */
html.uckg-radio-open body {
	padding-bottom: 88px;
}
/* Phones and tablets: volume is set on the device, and the bar leaves room for the chat button. */
@media (hover: none), (max-width: 767px) {
	.uckg-radio__vol {
		display: none;
	}
}
@media (max-width: 767px) {
	.uckg-radio {
		left: 12px;
		bottom: 12px;
		width: auto;
		right: 88px;
		max-width: none;
		gap: 10px;
		padding: 8px;
	}
	.uckg-radio__art {
		width: 40px;
		height: 40px;
	}
	.uckg-radio .uckg-radio__live {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.uckg-radio,
	.uckg-radio[data-state="playing"] .uckg-radio__dot {
		animation: none;
	}
}
