.mradio-schedule-days {
	display: flex;
	align-items: stretch;
	background: #f4f4f4;
	border-radius: 4px;
}

.mradio-schedule-day {
	position: relative;
	flex: 1 1 0;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0.85rem 0.35rem 1rem;
	color: #242424;
	font-family: Roboto, sans-serif;
	text-align: center;
	cursor: pointer;
	border-radius: 4px;
}

.mradio-schedule-day-name,
.mradio-schedule-day-date {
	display: block;
}

.mradio-schedule-day-name {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
}

.mradio-schedule-day-date {
	margin-top: 0.2rem;
	color: var(--mradio-muted, #a2a2a2);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.mradio-schedule-day-month {
	margin-left: 0.28rem;
}

.mradio-schedule-day.is-active {
	background: #242424;
	color: #fff;
}

.mradio-schedule-day.is-active .mradio-schedule-day-name {
	color: var(--mradio-accent, #f12f07);
}

.mradio-schedule-day.is-active .mradio-schedule-day-date {
	color: #fff;
}

.mradio-schedule-day.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8px;
	transform: translateX(-50%);
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 8px solid #242424;
}

.mradio-schedule-panel {
	margin-top: 1.75rem;
}

.mradio-schedule-panel[hidden] {
	display: none;
}

.mradio-schedule-list {
	width: min(100%, 760px);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-top: 1.75rem;
}

.mradio-schedule-empty {
	margin: 0;
	text-align: center;
	color: var(--mradio-text-secondary, #666);
	font-family: Roboto, sans-serif;
}

.mradio-prog-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	height: 76px;
	padding: 0 1.25rem 0 12rem;
	overflow: visible;
	border: 0;
	border-radius: 16px;
	background: #f3f3f3;
	color: inherit;
	font-family: Roboto, sans-serif;
	text-align: left;
	cursor: pointer;
	box-shadow: 0 4px 10px rgb(0 0 0 / 17%);
}

.mradio-prog-item.is-live,
.mradio-prog-item.is-live:hover,
.mradio-prog-item.is-live:focus-visible {
	margin-top: 0.35rem;
	background: #242424;
}

.mradio-prog-item.is-live .mradio-prog-title {
	color: #fff;
}

.mradio-prog-item.is-live .mradio-prog-hosts {
	color: rgba(255, 255, 255, 0.72);
}

.mradio-prog-item.is-live .mradio-prog-time {
	color: rgba(255, 255, 255, 0.55);
}

.mradio-prog-live {
	position: absolute;
	top: -0.65rem;
	right: 0.9rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.22rem 0.55rem 0.22rem 0.4rem;
	border-radius: 999px;
	border: 1px solid #d80e23;
	background: #fff;
	color: #d80e23;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
}

.mradio-prog-live-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #d80e23;
}

.mradio-prog-item:hover,
.mradio-prog-item:focus-visible {
	background: #ececec;
}

.mradio-prog-item .mradio-prog-photo {
	position: absolute;
	bottom: 0;
	left: 10px;
	z-index: 1;
	display: block;
	width: auto;
	height: 108px;
	background: none;
}

.mradio-prog-item .mradio-prog-photo img {
	display: block;
	width: auto;
	height: 108px;
	max-width: none;
}

.mradio-prog-item .mradio-prog-photo:not(:has(img)) {
	display: grid;
	place-items: center;
	bottom: 0.45rem;
	width: 4rem;
	height: 4rem;
	border-radius: 12px;
	background: var(--mradio-accent, #f12f07);
	color: #fff;
}

.mradio-schedule-dialog .mradio-prog-photo {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: auto;
	height: 96px;
	background: none;
}

.mradio-schedule-dialog .mradio-prog-photo img {
	display: block;
	width: auto;
	height: 96px;
	max-width: none;
}

.mradio-schedule-dialog .mradio-prog-photo:not(:has(img)) {
	width: 4rem;
	height: 4rem;
	border-radius: 12px;
	background: var(--mradio-accent, #f12f07);
	color: #fff;
}

.mradio-prog-play {
	width: 1.35rem;
	height: 1.35rem;
}

.mradio-prog-copy {
	flex: 1;
	min-width: 0;
}

.mradio-prog-title {
	display: block;
	color: #242424;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.mradio-prog-hosts {
	display: block;
	margin-top: 0.2rem;
	color: var(--mradio-text-secondary, #666);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.3;
}

.mradio-prog-time {
	flex: 0 0 auto;
	color: #c5c5c5;
	font-size: 1.7rem;
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
}

.mradio-schedule-modal[hidden] {
	display: none;
}

.mradio-schedule-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 1.25rem;
	background: rgba(36, 36, 36, 0.55);
}

.mradio-schedule-dialog {
	position: relative;
	width: min(100%, 520px);
	max-height: min(88vh, 720px);
	overflow: auto;
	padding: 1.35rem 1.35rem 1.5rem;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(36, 36, 36, 0.18);
}

.mradio-schedule-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f3f3f3;
	color: #242424;
	cursor: pointer;
}

.mradio-schedule-close svg {
	width: 0.9rem;
	height: 0.9rem;
}

.mradio-schedule-modal-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-right: 2rem;
}

.mradio-schedule-dialog h2 {
	margin: 0;
	color: #242424;
	font-family: Roboto, sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.mradio-schedule-modal-hosts,
.mradio-schedule-modal-text {
	margin: 0.35rem 0 0;
	color: var(--mradio-text-secondary, #666);
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
	line-height: 1.45;
}

.mradio-schedule-modal-text {
	margin-top: 1rem;
	color: var(--mradio-text, #424242);
}

.mradio-schedule-modal-label {
	margin: 1.15rem 0 0;
	color: #242424;
	font-family: Roboto, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mradio-schedule-hours {
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
}

.mradio-schedule-hours li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0;
	border-top: 1px solid var(--mradio-line, #e7e5e4);
	color: var(--mradio-text, #424242);
	font-family: Roboto, sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
}

.mradio-schedule-hours time {
	color: #242424;
	font-variant-numeric: tabular-nums;
}

@media screen and (max-width: 800px) {

	.mradio-schedule-day-name {
		display: none;
	}

	.mradio-schedule-day-date {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.1rem;
		margin-top: 0;
		color: #242424;
		font-size: 0.78rem;
		font-weight: 700;
	}

	.mradio-schedule-day-month {
		margin-left: 0;
	}

	.mradio-schedule-day.is-active .mradio-schedule-day-date {
		color: #fff;
	}

	.mradio-schedule-list {
		width: 100%;
	}

	.mradio-schedule-list {
		gap: 2rem;
		padding-top: 1.35rem;
	}

	.mradio-prog-item {
		height: 64px;
		gap: 0.75rem;
		padding-right: 0.85rem;
		padding-left: 11rem;
	}

	.mradio-prog-item .mradio-prog-photo,
	.mradio-prog-item .mradio-prog-photo img {
		height: 90px;
	}

	.mradio-prog-item .mradio-prog-photo:not(:has(img)) {
		width: 3.25rem;
		height: 3.25rem;
	}

	.mradio-prog-title {
		font-size: 0.82rem;
	}

	.mradio-prog-hosts {
		font-size: 0.75rem;
	}

	.mradio-prog-time {
		font-size: 1.2rem;
	}
}
