/* Japanradar Untertitel */
.jr-ut-box {
	position: relative;
}
.jr-ut-zeile {
	position: absolute;
	left: 50%;
	bottom: calc(8% + 12px);
	transform: translateX(-50%);
	max-width: 88%;
	width: max-content;
	z-index: 5;
	padding: 0;
	background: none !important;
	color: #fff !important;
	font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(15px, 2.4vw, 24px);
	/* schwarzer Rand um die Schrift statt Balken */
	text-shadow:
		-2px -2px 0 #000, 0 -2px 0 #000, 2px -2px 0 #000,
		-2px 0 0 #000, 2px 0 0 #000,
		-2px 2px 0 #000, 0 2px 0 #000, 2px 2px 0 #000,
		0 0 6px rgba(0, 0, 0, 0.8);
	line-height: 1.35;
	text-align: center;
	white-space: pre-line;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
}
.jr-ut-box.jr-ut-pausiert .jr-ut-zeile {
	bottom: calc(24% + 12px);
}
.jr-ut-zeile.jr-ut-sichtbar {
	opacity: 1;
}
.jr-ut-box:fullscreen {
	width: 100vw;
	height: 100vh;
	padding: 0 !important;
	background: #000;
}
.jr-ut-box:-webkit-full-screen {
	width: 100vw;
	height: 100vh;
	padding: 0 !important;
	background: #000;
}
.jr-ut-box:fullscreen iframe,
.jr-ut-box:-webkit-full-screen iframe {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}
.jr-ut-box:fullscreen .jr-ut-zeile,
.jr-ut-box:-webkit-full-screen .jr-ut-zeile {
	font-size: clamp(20px, 2.8vw, 38px);
	bottom: 12%;
}
.jr-ut-leiste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 10px 0 6px;
}
.jr-ut-leiste button.jr-ut-knopf.jr-ut-knopf {
	display: inline-block !important;
	width: auto !important;
	margin: 0 !important;
	font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	line-height: 1.2 !important;
	padding: 7px 9px !important;
	border-radius: 6px !important;
	border: 0 none !important;
	box-shadow: inset 0 0 0 1px #c8102e !important;
	background: transparent !important;
	color: #c8102e !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
}
.jr-ut-leiste button.jr-ut-knopf.jr-ut-knopf[aria-pressed="false"] {
	box-shadow: inset 0 0 0 1px #8a8580 !important;
	color: #8a8580 !important;
}
html.wp-dark-mode-active .jr-ut-leiste button.jr-ut-knopf.jr-ut-knopf {
	box-shadow: inset 0 0 0 1px #ff4d5e !important;
	color: #ff4d5e !important;
}
html.wp-dark-mode-active .jr-ut-leiste button.jr-ut-knopf.jr-ut-knopf[aria-pressed="false"] {
	box-shadow: inset 0 0 0 1px #b9b3aa !important;
	color: #b9b3aa !important;
}
@media (max-width: 767px) {
	.jr-ut-leiste button.jr-ut-knopf.jr-ut-knopf {
		font-size: 13px !important;
		padding: 6px 8px !important;
	}
}

/* Vorschau vor dem Laden: erste Untertitelzeile auf dem Platzhalter (04.11.2026) */
html body .embed-privacy-container.jr-ut-vorschau .jr-ut-zeile {
	bottom: 14px;
}
@media (max-width: 600px) {
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-overlay {
		align-items: flex-start !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-inner {
		padding-top: 8px !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-logo {
		height: 36px !important;
		background-size: contain !important;
		margin-bottom: 2px !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-inner p,
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-inner label {
		font-size: 12.5px !important;
		line-height: 1.3 !important;
		margin: 0 0 3px !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .jr-ut-zeile {
		font-size: 13px;
		line-height: 1.25;
		bottom: 8px;
	}
}
@media (max-width: 400px) {
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-logo {
		display: none !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-overlay {
		min-height: 0 !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-inner p,
	html body .embed-privacy-container.jr-ut-vorschau .embed-privacy-inner label {
		font-size: 11px !important;
	}
	html body .embed-privacy-container.jr-ut-vorschau .jr-ut-zeile {
		font-size: 12px;
		max-width: 96%;
	}
}
