body.uacam-main-page-template .uacam-radio-player {
	position: relative;
	flex: 0 0 auto;
}

body.uacam-main-page-template .uacam-radio-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	min-width: 46px;
	padding: 0 14px;
	border: 1px solid var(--uacam-line);
	border-radius: 7px;
	background: #fff;
	color: var(--uacam-navy);
	font-size: 12px;
	font-weight: 900;
	line-height: 44px;
	white-space: nowrap;
	box-shadow: 0 8px 18px rgba(9, 30, 66, .07);
	transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

body.uacam-main-page-template .uacam-radio-toggle i {
	position: relative;
}

body.uacam-main-page-template .uacam-radio-player.is-playing .uacam-radio-toggle {
	border-color: rgba(255, 196, 0, .55);
	background: #fff9e6;
	color: var(--uacam-navy);
}

body.uacam-main-page-template .uacam-radio-player.is-playing .uacam-radio-toggle i:after {
	content: "";
	position: absolute;
	top: -4px;
	right: -6px;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #e32020;
	box-shadow: 0 0 0 4px rgba(227, 32, 32, .12);
}

body.uacam-main-page-template .uacam-radio-player.is-open .uacam-radio-toggle,
body.uacam-main-page-template .uacam-radio-toggle:hover,
body.uacam-main-page-template .uacam-radio-toggle:focus {
	background: var(--uacam-navy);
	color: #fff;
	box-shadow: 0 10px 22px rgba(0, 31, 70, .18);
	outline: 0;
}

body.uacam-main-page-template .uacam-radio-player.is-playing.is-open .uacam-radio-toggle,
body.uacam-main-page-template .uacam-radio-player.is-playing .uacam-radio-toggle:hover,
body.uacam-main-page-template .uacam-radio-player.is-playing .uacam-radio-toggle:focus {
	background: var(--uacam-navy);
	color: #fff;
}

body.uacam-main-page-template .uacam-radio-panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 50%;
	width: 330px;
	padding: 26px 28px 0;
	background: #fff;
	border: 1px solid var(--uacam-line);
	border-radius: 18px;
	box-shadow: 0 22px 46px rgba(9, 30, 66, .18);
	color: var(--uacam-ink);
	opacity: 0;
	pointer-events: none;
	transform: translate(50%, 8px);
	transition: opacity .16s ease, transform .16s ease;
	z-index: 120;
}

body.uacam-main-page-template .uacam-radio-panel:before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	width: 24px;
	height: 24px;
	background: #fff;
	border-left: 1px solid var(--uacam-line);
	border-top: 1px solid var(--uacam-line);
	transform: translateX(-50%) rotate(45deg);
}

body.uacam-main-page-template .uacam-radio-player.is-open .uacam-radio-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translate(50%, 0);
}

body.uacam-main-page-template .uacam-radio-panel-header {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	z-index: 1;
}

body.uacam-main-page-template .uacam-radio-panel-header strong {
	display: block;
	color: var(--uacam-ink);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.1;
}

body.uacam-main-page-template .uacam-radio-live {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 20px;
	color: var(--uacam-ink);
	font-size: 17px;
	font-weight: 900;
	line-height: 1;
}

body.uacam-main-page-template .uacam-radio-live i {
	display: block;
	width: 13px;
	height: 13px;
	border-radius: 999px;
	background: #ff2929;
	box-shadow: 0 0 0 5px rgba(255, 41, 41, .08);
}

body.uacam-main-page-template .uacam-radio-close {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--uacam-ink);
	font-size: 24px;
	line-height: 36px;
}

body.uacam-main-page-template .uacam-radio-subtitle {
	position: relative;
	margin: 8px 0 28px;
	color: var(--uacam-muted);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	z-index: 1;
}

body.uacam-main-page-template .uacam-radio-controls {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	margin-bottom: 24px;
	z-index: 1;
}

body.uacam-main-page-template .uacam-radio-play,
body.uacam-main-page-template .uacam-radio-mute {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	color: var(--uacam-navy);
}

body.uacam-main-page-template .uacam-radio-play {
	width: 78px;
	height: 78px;
	background: var(--uacam-navy);
	color: #fff;
	font-size: 31px;
	box-shadow: 0 12px 24px rgba(0, 31, 70, .18);
}

body.uacam-main-page-template .uacam-radio-mute {
	width: 66px;
	height: 66px;
	background: #f5f2ee;
	font-size: 24px;
}

body.uacam-main-page-template .uacam-radio-volume {
	position: relative;
	display: grid;
	grid-template-columns: 22px 1fr 22px;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--uacam-navy);
	font-size: 21px;
	z-index: 1;
}

body.uacam-main-page-template .uacam-radio-volume-input {
	width: 100%;
	accent-color: var(--uacam-navy);
	cursor: pointer;
}

body.uacam-main-page-template .uacam-radio-status {
	min-height: 18px;
	margin: 0 0 14px;
	color: #a43a32;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

body.uacam-main-page-template .uacam-radio-status:empty {
	display: none;
}

body.uacam-main-page-template .uacam-radio-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 -28px;
	padding: 18px 28px 20px;
	border-radius: 0 0 18px 18px;
	background: #f8fafc;
	color: #1467ff !important;
	font-size: 16px;
	font-weight: 900;
	text-decoration: none;
}

body.uacam-main-page-template .uacam-radio-link:hover,
body.uacam-main-page-template .uacam-radio-link:focus {
	color: var(--uacam-navy) !important;
	text-decoration: none;
}

body.uacam-main-page-template.uacam-radio-sheet-open:before {
	display: none;
}

@media (max-width: 1080px) {
	body.uacam-main-page-template.uacam-radio-sheet-open #header.header {
		z-index: 1070;
	}

	body.uacam-main-page-template .uacam-radio-player {
		margin: 0;
		width: 100%;
	}

	body.uacam-main-page-template .uacam-radio-toggle {
		width: 100%;
		background: #fff;
	}

	body.uacam-main-page-template .uacam-radio-panel {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 12px;
		top: auto;
		width: auto;
		max-height: calc(100vh - 24px);
		overflow-y: auto;
		padding: 24px 24px 0;
		border-radius: 18px;
		transform: translateY(18px);
		z-index: 1060;
	}

	body.uacam-main-page-template .uacam-radio-panel:before {
		display: none;
	}

	body.uacam-main-page-template .uacam-radio-player.is-open .uacam-radio-panel {
		transform: translateY(0);
	}

	body.uacam-main-page-template.uacam-radio-sheet-open:before {
		content: "";
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(1, 18, 42, .34);
		z-index: 1050;
	}

	body.uacam-main-page-template .uacam-radio-panel-header strong {
		font-size: 20px;
	}

	body.uacam-main-page-template .uacam-radio-subtitle {
		font-size: 16px;
	}

	body.uacam-main-page-template .uacam-radio-play {
		width: 70px;
		height: 70px;
	}
}
