/* Radiogroup Podcast Sync — Episode-Overlay (ein Host pro Loop-Item) */

.rg-podcast-player-host[hidden],
.rg-podcast-player-host:not(.is-open) {
	display: none !important;
}

.rg-podcast-player-host.is-open {
	align-items: center;
	box-sizing: border-box;
	display: flex !important;
	inset: 0;
	isolation: isolate;
	justify-content: center;
	min-height: 100%;
	padding: 1.5rem;
	position: fixed;
	width: 100%;
	z-index: 99999;
}

.rg-podcast-player-inner {
	min-width: 0;
	width: 100%;
}

.rg-podcast-player-backdrop {
	background: rgb(0 0 0 / 55%);
	inset: 0;
	position: absolute;
}

.rg-podcast-player-dialog {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 48px rgb(0 0 0 / 35%);
	box-sizing: border-box;
	max-height: min(90vh, 720px);
	max-width: 100%;
	min-width: 0;
	overflow: auto;
	padding: 1rem;
	position: relative;
	width: min(100%, 640px);
	z-index: 1;
}

.rg-podcast-player-inner iframe {
	border: 0;
	flex-shrink: 0;
	max-width: 100%;
	width: 100% !important;
}

.rg-podcast-player-close {
	background: transparent;
	border: 0;
	color: #222;
	cursor: pointer;
	font-size: 1.5rem;
	line-height: 1;
	position: absolute;
	right: 10px;
	top: 8px;
	z-index: 2;
}

body.rg-podcast-player-open {
	overflow: hidden;
}
