.rhyc-show {
	position: relative;
	max-width: 2560px;
	margin: 0 auto;
	padding: 10px;
}

.rhyc-show .box-light {
	padding: 0.3em 0.5em;
	background: var(--rhyc-color-hl);
	color: var(--rhyc-color-dark);
}
.rhyc-video-container .lower-3rd.box-light {
	background: #1F1144 !important;
	color: #fff !important;
	padding: 6px 10px;
}
.rhyc-modal-start {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000d;
	display: flex;
	align-items: center;
	justify-content: center;
}
#rhyc_start {
	font-size: clamp(30px, 4vw, 100px);
	line-height: 1;
	color: var(--rhyc-color-dark);
	font-weight: bold;
	padding: 0.7em;
	background-image: linear-gradient(55deg, var(--rhyc-color-hl2), var(--rhyc-color-hl), var(--rhyc-color-hl2));
	background-size: 250%;
	background-position: left;
	transition: .5s background-position ease-in-out;
	cursor: pointer;
}
#rhyc_start:hover{
	background-position: right;
}

.rhyc-container {
	position: relative;
	width: 100%;
	padding-top: 56.5%;
}
.rhyc-container .sidebar {
	position: absolute;
	width: 30%;
	height: 69%;
	top: 0;
	right: 0;
	line-height: 1.2em;
	font-size: clamp(4px, 1.2vw, 40px);
	padding: 0.5em;
	overflow: hidden;
}
.rhyc-container h2,
.rhyc-container h3,
.rhyc-container h4 {
	display: block;
	text-align: center;
	font-size: 2em;
	line-height: 1.5em;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: var(--rhyc-color-light);
}
.rhyc-container .box-light h2,
.rhyc-container .box-light h3,
.rhyc-container .box-light h4 {
	color: var(--rhyc-color-dark);
}
.rhyc-container .sidebar h3 {
	font-size: 1.5em;
	line-height: 1.5em;
}
.rhyc-container .sidebar h4 {
	font-size: 1.2em;
	line-height: 1.5em;
}

.rhyc-container .sidebar .individual .middle {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 1.5em;
	min-height: 3em;
}
.rhyc-container .sidebar .individual .middle > * {
	flex: 1 1 50%;
	text-align: center;
}
.rhyc-container .sidebar .individual .middle .points {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1em;
	padding-top: 0.45em;
	width: 2em;
	height: 2em;
	border-radius: 1em;
	margin: -1em;
	border: 1px solid var(--rhyc-color-dark);
	color: var(--rhyc-color-dark);
	background: var(--rhyc-color-light);
}
.rhyc-container .sidebar .individual .middle .points ~ *,
.rhyc-container .sidebar .individual .middle p {
	border-radius: 0.2em;
	padding: 0.5em 0.7em;
	margin: 0.3em 0;
	background: var(--rhyc-color-hl);
	color: var(--rhyc-color-dark);
}

.rhyc-container.items-4 {
	margin-bottom: 7vw;
}
.rhyc-video-container {
	position: absolute;
	width: 100%;
	padding-top: 56.25%;
	top: 0;
	left: 0;
	transition: all 0.5s;
	transform-origin: top left;
	background: #0008;
}
.rhyc-video-container.active {
	transform: scale(0.69);
}
 .rhyc-video-container:not(.active) {
	transform: scale(0.3233);
	top: 70.5%;
}
.rhyc-container.items-5 .rhyc-video-container:not(.active) {
	transform: scale(0.2425);
}
.rhyc-container.items-6 .rhyc-video-container:not(.active) {
	transform: scale(0.1925);
}
.rhyc-container.items-7 .rhyc-video-container:not(.active) {
	transform: scale(0.16);
}
.rhyc-container.items-8 .rhyc-video-container:not(.active) {
	transform: scale(0.1375);
}
.rhyc-video-container > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.rhyc-video-container > .lower-3rd {
	position: absolute !important;
	right: 8px !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	min-width: auto !important;
	line-height: 1.2;
	padding: 6px 10px;
	display: inline-block;
	border-radius: 4px;
	z-index: 10;
	pointer-events: none;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	margin: 0;
	box-sizing: border-box;
}

/* Badge für nicht-aktive Videos (unten rechts) */
.rhyc-video-container:not(.active) > .lower-3rd {
	top: auto !important;
	bottom: 8px !important;
	font-size: clamp(56px, 6vw, 88px) !important;
	background: #60E8DA !important;
	color: #1F1144 !important;
}

/* Badge für aktives Video (oben rechts) */
.rhyc-video-container.active > .lower-3rd {
	top: 8px !important;
	bottom: auto !important;
	font-size: clamp(28px, 3vw, 44px) !important;
	background: #1F1144 !important;
	color: #fff !important;
	display: block !important;
}
.rhyc-video-container .lower-3rd > * {
	flex: 1 1 50%;
	text-align: center;
}
.rhyc-video-container .lower-3rd .points {
	font-size: 2em;
	flex: 0 0 2.5em;
	font-weight: bold;
	line-height: 1.3em;
}

.rhyc-video-container .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0);
	cursor: pointer;
}

.rhyc-video-container.active .overlay {
	display: none;
}
.rhyc-show.active-only .rhyc-video-container:not(.active) {
	display: none;
}

.rhyc-loader {
	position: relative;
	width: 250px;
	height: 250px;
}
.rhyc-loader::after,
.rhyc-loader::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 5px solid #fff;
	box-sizing: border-box;
	opacity: 0;
	animation: rhyc-loader-animation 2s ease-out infinite;
}
.rhyc-loader::after {
	animation-delay: 1s;
}

@keyframes rhyc-loader-animation {
	0% {
		transform: scale(0.1);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}


/* Modernes Edit-Formular Design */
.rhyc-edit-wrapper {
	position: relative;
	max-width: 1200px;
	margin: 2em auto;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.rhyc-edit-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 2px solid #e0e0e0;
}

.rhyc-edit-header h2 {
	margin: 0;
	font-size: 1.8em;
	font-weight: 600;
	color: #1a1a1a;
}

.rhyc-toggle-info {
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 0.6em 1.2em;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}

.rhyc-toggle-info:hover {
	background: #e8e8e8;
}

/* Card Design */
.rhyc-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.5em;
	margin-bottom: 1.5em;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	transition: box-shadow 0.2s;
}

.rhyc-card:hover {
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.rhyc-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5em;
}

.rhyc-card-title {
	margin: 0;
	font-size: 1.3em;
	font-weight: 600;
	color: #1a1a1a;
}

/* Form Elements */
.rhyc-form-group {
	margin-bottom: 1.5em;
}

.rhyc-label {
	display: block;
	margin-bottom: 0.5em;
	font-weight: 500;
	font-size: 14px;
	color: #333;
}

.rhyc-input,
.rhyc-textarea,
.rhyc-select {
	width: 100%;
	max-width: 600px;
	padding: 0.7em;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.rhyc-input:focus,
.rhyc-textarea:focus,
.rhyc-select:focus {
	outline: none;
	border-color: #0099cc;
	box-shadow: 0 0 0 3px rgba(0,153,204,0.1);
}

.rhyc-textarea {
	resize: vertical;
	min-height: 120px;
}

.rhyc-hint {
	display: block;
	margin-top: 0.3em;
	font-size: 12px;
	color: #666;
}

/* Buttons */
.rhyc-btn-primary {
	background: #0099cc;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0.7em 1.5em;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.rhyc-btn-primary:hover {
	background: #007aa3;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,153,204,0.3);
}

.rhyc-btn-large {
	padding: 0.9em 2em;
	font-size: 16px;
}

.rhyc-btn-secondary {
	background: #f5f5f5;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 0.6em 1.2em;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}

.rhyc-btn-secondary:hover {
	background: #e8e8e8;
}

.rhyc-btn-danger {
	background: #dc3232;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0.5em 1em;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
}

.rhyc-btn-danger:hover {
	background: #b52727;
}

/* Video Cards */
.rhyc-videos-container {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.rhyc-video-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1.2em;
	margin-bottom: 1em;
	position: relative;
}

.rhyc-video-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1em;
	padding-bottom: 0.8em;
	border-bottom: 1px solid #e0e0e0;
}

.rhyc-video-card-header b {
	font-size: 16px;
	color: #1a1a1a;
}

/* X-Button für Entfernen (oben rechts) */
.rhyc-close-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	border: none;
	background: #dc3232;
	color: #fff;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: all 0.2s;
	z-index: 10;
}

.rhyc-close-btn:hover {
	background: #b52727;
	transform: scale(1.1);
}

.rhyc-close-btn-small {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 24px;
	height: 24px;
	border: none;
	background: rgba(220, 50, 50, 0.9);
	color: #fff;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: all 0.2s;
	z-index: 10;
}

.rhyc-close-btn-small:hover {
	background: rgba(181, 39, 39, 0.9);
	transform: scale(1.1);
}

/* Sponsor Items */
.rhyc-sponsor-item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1.2em;
	margin-bottom: 1em;
	position: relative;
}

/* Image Preview */
.rhyc-image-preview {
	margin-top: 0.5em;
}

.rhyc-preview-img {
	max-width: 200px;
	max-height: 150px;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: block;
}

/* Add Button Container - zentriert */
.rhyc-add-button-container {
	margin-top: 1em;
	text-align: center;
}

/* Form Actions */
.rhyc-form-actions {
	text-align: center;
	margin-top: 2em;
	padding-top: 2em;
	border-top: 2px solid #e0e0e0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
}

/* Info Panel */
.rhyc-info-panel {
	margin-top: 2em;
}

.rhyc-info-content {
	line-height: 1.6;
}

.rhyc-info-content h4 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	color: #0099cc;
	font-size: 1.1em;
}

.rhyc-info-content p {
	margin-bottom: 1em;
	color: #555;
}

/* Snackbar */
.rhyc-snackbar {
	visibility: hidden;
	min-width: 250px;
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 1em 1.5em;
	position: fixed;
	z-index: 10000;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 14px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	transition: visibility 0s, opacity 0.3s, transform 0.3s;
	opacity: 0;
	transform: translateX(-50%) translateY(20px);
}

.rhyc-snackbar.show {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.rhyc-snackbar.success {
	background-color: #4caf50;
}

.rhyc-snackbar.error {
	background-color: #f44336;
}

.rhyc-edit textarea, .rhyc-edit input[type="text"] {
	appearance: none;
	line-height: 1.2em;
	padding: 0.2em;
	background: #fff;
	color: #666;
	border: 1px solid #bbb;
	margin: 1px;
	display: inline-block;
}
.rhyc-edit textarea::placeholder,
.rhyc-edit input::placeholder {
	color: #ccc;
}
.rhyc-edit .rhyc-btn {
	display: inline-block;
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
	line-height: 1.5em;
	color: #fff;
	background: teal;
	padding: 0.3em 1em;
	cursor: pointer;
}

/* Aktiver Titel-Anzeige (ausgeblendet) */
.rhyc-active-title {
	display: none !important;
}

/* Eventbanner Bereich - gleiche Höhe wie aktives Video */
.rhyc-event-banner {
	position: absolute;
	top: 0;
	right: 0;
	width: 31%;
	height: 69%; /* Gleiche Höhe wie aktives Video (scale 0.69) */
	z-index: 50;
	padding: 1em;
	padding-top: 0;
	padding-bottom: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	overflow: hidden;
	max-width: 31%;
}

/* (1) Event-Titel oben volle Breite */
.rhyc-event-banner .rhyc-event-title {
	width: 100%;
	max-width: 100%;
	font-size: clamp(16px, 1.8vw, 32px);
	font-weight: bold;
	color: var(--rhyc-color-light);
	text-align: center;
	padding: 0.4em 0.5em;
	background: rgba(0,0,0,0.3);
	border-radius: 0.3em;
	line-height: 1.2;
	flex-shrink: 0;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* (2) Featured Image */
.rhyc-event-banner .rhyc-event-logo {
	width: 100%;
	max-width: 100%;
	text-align: center;
	padding: 0.4em;
	background: rgba(0,0,0,0.2);
	border-radius: 0.3em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	max-height: 120px;
	overflow: hidden;
	box-sizing: border-box;
}

.rhyc-event-banner .rhyc-event-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* (3) Beschreibungstext - nimmt viel Platz ein */
.rhyc-event-banner .rhyc-event-description {
	width: 100%;
	max-width: 100%;
	font-size: clamp(13px, 1.4vw, 20px);
	color: var(--rhyc-color-light);
	line-height: 1.5;
	padding: 0.8em;
	background: rgba(0,0,0,0.2);
	border-radius: 0.3em;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 0;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.rhyc-event-banner .rhyc-event-description * {
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* YouTube Abo Button */
.rhyc-event-banner .rhyc-youtube-subscribe {
	width: 100%;
	flex-shrink: 0;
	margin-top: 0.5em;
	text-align: center;
}

.rhyc-event-banner .rhyc-youtube-subscribe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.6em 1.2em;
	background: #FF0000;
	color: #fff;
	text-decoration: none;
	border-radius: 0.4em;
	font-size: clamp(12px, 1.2vw, 16px);
	font-weight: bold;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(255,0,0,0.3);
}

.rhyc-event-banner .rhyc-youtube-subscribe-btn:hover {
	background: #CC0000;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255,0,0,0.4);
}

.rhyc-event-banner .rhyc-heart-icon {
	color: #fff;
	font-size: 1.1em;
	display: inline-block;
}

/* (4) Sponsorenlogos Rotator - nur 2 Spalten (4a und 4b), bündig unten */
.rhyc-event-banner .rhyc-sponsor-section {
	width: 100%;
	max-width: 100%;
	flex-shrink: 0;
	margin-top: auto;
	box-sizing: border-box;
}

.rhyc-event-banner .rhyc-sponsor-title {
	font-size: clamp(11px, 1.1vw, 16px);
	color: var(--rhyc-color-light);
	opacity: 0.7;
	margin-bottom: 0.5em;
	text-align: center;
	font-weight: normal;
}

.rhyc-event-banner .rhyc-banner-rotator {
	width: 100%;
	max-width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr; /* Nur eine Zeile - max. 2 Spalten */
	gap: 0.5em;
	max-height: 120px; /* Begrenzung der Höhe */
	box-sizing: border-box;
}

.rhyc-event-banner .rhyc-banner-rotator .rhyc-banner-item {
	position: relative;
	width: 100%;
	max-width: 100%;
	padding-top: 40%; /* Kompakteres Format für mehr Platz für Beschreibungstext */
	background: rgba(0,0,0,0.4);
	border-radius: 0.3em;
	overflow: hidden;
	max-height: 100px; /* Zusätzliche Begrenzung */
	display: none; /* Standardmäßig versteckt, JavaScript zeigt nur 2 */
	box-sizing: border-box;
}

.rhyc-event-banner .rhyc-banner-rotator .rhyc-banner-item:first-child,
.rhyc-event-banner .rhyc-banner-rotator .rhyc-banner-item:nth-child(2) {
	display: block; /* Erste 2 werden standardmäßig angezeigt */
}

.rhyc-event-banner .rhyc-banner-rotator .rhyc-banner-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.3em;
	box-sizing: border-box;
	transition: opacity 0.8s ease-in-out;
}

.rhyc-event-banner .rhyc-banner-rotator .rhyc-banner-item a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* Tab-Navigation */
.rhyc-tab-navigation {
	display: flex;
	gap: 0.5em;
	margin-bottom: 0.8em;
	flex-shrink: 0;
	border-bottom: 2px solid rgba(255,255,255,0.2);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.rhyc-tab-btn {
	flex: 1;
	padding: 0.6em 1em;
	background: rgba(0,0,0,0.2);
	border: none;
	border-bottom: 3px solid transparent;
	color: var(--rhyc-color-light);
	font-size: clamp(12px, 1.2vw, 16px);
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 0.3em 0.3em 0 0;
}

.rhyc-tab-btn:hover {
	background: rgba(0,0,0,0.3);
}

.rhyc-tab-btn.active {
	background: rgba(0,0,0,0.4);
	border-bottom-color: var(--rhyc-color-hl);
	color: var(--rhyc-color-hl);
}

/* Tab-Content */
.rhyc-tab-content {
	display: none;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 0;
	flex-direction: column;
	gap: 0.8em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.rhyc-tab-content.active {
	display: flex;
}

/* Links-Liste */
.rhyc-links-list {
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	box-sizing: border-box;
}

.rhyc-link-item {
	width: 100%;
	max-width: 100%;
	padding: 0.5em 0.8em;
	background: rgba(0,0,0,0.2);
	border-radius: 0.3em;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.6em;
	flex-wrap: wrap;
	box-sizing: border-box;
	overflow: hidden;
}

.rhyc-link-label {
	font-size: clamp(12px, 1.2vw, 16px);
	font-weight: bold;
	color: var(--rhyc-color-light);
	flex-shrink: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 30%;
}

.rhyc-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.4em 0.7em;
	background: rgba(255,255,255,0.1);
	color: var(--rhyc-color-light);
	text-decoration: none;
	border-radius: 0.3em;
	font-size: clamp(11px, 1vw, 14px);
	transition: all 0.3s ease;
	flex-shrink: 0;
	white-space: nowrap;
	box-sizing: border-box;
}

.rhyc-link:hover {
	background: rgba(255,255,255,0.2);
	transform: translateX(3px);
}

.rhyc-link-youtube {
	border-left: 3px solid #FF0000;
}

.rhyc-link-ticker {
	border-left: 3px solid #60E8DA;
}

.rhyc-link-icon {
	font-size: 1.1em;
}

.rhyc-links-empty {
	padding: 2em;
	text-align: center;
	color: var(--rhyc-color-light);
	opacity: 0.6;
	font-size: clamp(12px, 1.2vw, 16px);
}

/* Hilfe-Content im Tab */
.rhyc-tab-content .rhyc-help-content {
	width: 100%;
	max-width: 100%;
	padding: 1em;
	box-sizing: border-box;
	overflow-y: auto;
	overflow-x: hidden;
}

.rhyc-help-title {
	margin: 0 0 1em 0;
	color: var(--rhyc-color-hl);
	font-size: clamp(16px, 1.5vw, 22px);
	font-weight: bold;
}

.rhyc-help-list {
	margin: 0;
	padding-left: 1.5em;
	list-style-type: disc;
}

.rhyc-help-list li {
	margin: 0.8em 0;
	line-height: 1.6;
	font-size: clamp(12px, 1.2vw, 16px);
	color: var(--rhyc-color-light);
}

.rhyc-help-list li strong {
	color: var(--rhyc-color-hl2);
}