@charset "utf-8";
/* CSS Document */
body {
    background-color: #005770;
	overflow: hidden;
}
@media (max-width: 700px) {
  body {
	  overflow: auto;
	}
} 
	
::-webkit-scrollbar {
  	width: 20px;
	height: 20px;
}
::-webkit-scrollbar-track {
  	background: #005770; 
}
::-webkit-scrollbar-thumb {
  	background: #003B4C; 
}
::-webkit-scrollbar-thumb:hover {
  	background: #E2D625; 
}

.loginfields {
    font-family: ccmonstermash;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    color: #E2D625;
    text-shadow: 0px 0px 4px black;
    padding-bottom: 10px;
}

.loginerror {
    font-family: ccmonstermash;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    color: white;
    text-shadow: 0px 0px 4px black;
}

.formfield {
    border-radius: 4px;
	border: 1px solid white;
	height: 40px;
    font-size: 18px;
	color: white;
	width: 310px;
	background: #009FE3;
	padding: 12px 12px;
  	box-sizing: border-box;
}

.formfield:focus{
	box-shadow: 0px 0px 0px 3px #E2D625;
}

.sendbutton{
	background-color: #003B4C;
	border-radius: 10px;
	border: none;
	color: white;
	width: auto;
	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
	text-decoration: none;
	height: auto;
	font-size: 18px;
	cursor: pointer;
}

.sendbutton:hover{
	background-color: #009FE3;
}
	
.maincontainer {
	position: absolute;
	align-items: center;
	display: block;
	top: 0px;
	left: 0px;
	width: 100%;
	height: auto;
	background-color: #005770;
	.background-color: red;
	z-index: 0;
}	
	
	.headercontainer {
		position: relative;
		display: block;
		top: 0px;
		width: 100%;
		height: 200px;
		box-shadow: 0px 0px 15px 0px #003B4C;
		background-color: #005770;
		z-index: 100;
	}
	/* THE HEADER IS AS TALL AS ITS CONTENT, NOT 450px (23.08.2026). The fixed
	   value was too small for the very navigation it was chosen to hold, and it
	   was never visible because .headercontainer has overflow: visible - so the
	   nav simply spilled onto the page. MEASURED at 390px before the change:
	   nav column top 80, bottom 517, i.e. 67px past a container declared 450,
	   and the content below starts at exactly 450 - so the last nav entries sat
	   ON the first dashboard row.
	   A number here can only ever be right for one nav length; the column grows
	   by 49px per entry. Same lesson as the Pi panel's .wall on 12.08.2026,
	   where calc(480px - 96px) stood against a header that measured 88. */
	@media (max-width: 700px) {
  		.headercontainer {
	  		box-shadow: 0px 0px 0px 0px #003B4C;
			height: auto;
		}
	}
			.headerimages {
				position: relative;
				display: block;
				top: 0px;
				width: 100%;
				background-color: #005770;
				z-index: 10;
			}
					.headerbanner {
						position: relative;
						display: block;
						top: 0px;
						margin: 0px;
						padding: 0px;
						border: 0px;
						width: 100%;
						height: 70px;
						.background-color: red;
						object-fit:cover;
					}
					.headerwaveimg {
						position: absolute;
						content: url('https://imageserver.ocis-network.eu/monsterskyline.png');
						display: block;
						visibility: visible;
						top: 70px;
						left: 54%;
						margin-top: 0px;
						padding: 0px;
						border: 0px;
						width: auto;
						height: 120px;
					}
					/* THE SKYLINE IS HIDDEN WHERE IT DOES NOT FIT (23.08.2026). It renders
					   559px wide at its fixed 120px height, so left:54% needs
					   0.54*W + 559 <= W, i.e. a window of at least 559/0.46 = 1215px.
					   Below that it stuck out - measured at 900px it ran to x=1045 and
					   was one of three things pushing the page 145px sideways.
					   PINNING IT TO THE RIGHT EDGE WAS TRIED FIRST AND WAS WRONG, which
					   Roger saw immediately: right:0 moved it from 486..1045 to 341..900
					   at a 900px window, i.e. straight across the navigation buttons
					   (they sit at y136..185, the graphic spans y70..190). At left:54%
					   it only ever sat behind the SEARCH box, which is the design - the
					   nav is on the left, the decoration on the right. Moving it left
					   put decoration under functional controls.
					   So it goes rather than moves. It is the one element in the header
					   that carries no information, and 1240 (not 1215) switches before
					   it touches the edge.
					   The former max-width:700px block that set left:0/width:100% is
					   gone with it - it could never have applied under this rule. */
					@media (max-width: 1240px) {
					  .headerwaveimg {
						  display: none;
						}
					}
			.navigationcontainer {
				position: relative;
				display: flex;
				align-items: flex-end;
				top: 45px;
				margin-top: 0px;
				margin-left: 40px;
				margin-right: 40px;
				padding: 0px;
				border: 0px;
				height: auto;
				z-index: 11;
				.background-color: red;
			}
			/* STATIC, NOT RELATIVE (23.08.2026) - this is the other half of the
			   header's auto height above. A relatively positioned box keeps its
			   ORIGINAL slot in the flow and is only painted offset, so the 10px
			   would move the navigation down visually while contributing nothing
			   to the header's height: the header would come out 10px short and
			   the last nav entry would sit on the content again.
			   As a static box with a margin the offset is part of the flow, and
			   the header measures what is actually there. margin-left/right stay
			   at 40 here and are narrowed in the tier below. */
			@media (max-width: 700px) {
				.navigationcontainer {
					position: static;
					top: auto;
					margin-top: 10px;
					flex-wrap: wrap;
				}
			}
					.headerlogoimg {
						position: relative;
						display: flex;
						top: 0px;
						margin-top: 0px;
						margin-left: 0px;
						padding: 0px;
						border: 0px;
						width: auto;
						height: 70px;
					}
					@media (max-width: 700px) {
  						.headerlogoimg {
                    		display: none;
                		}
					}
					/* width: auto, NOT 100% (23.08.2026) - and this is what pushed the
					   search box off the screen on the DESKTOP, long before any phone
					   was involved. .navigationcontainer is a flex row holding the
					   logo, this nav and #headersearch; a child at width:100% claims
					   the whole row, and the search - which has margin-left:auto -
					   then starts where the row already ended. MEASURED at 1280px
					   before the change: nav ends at x=1001, search runs 1001..1381,
					   i.e. 101px past the viewport, and body{overflow:hidden} cut it
					   off silently. Arithmetically that happens on any window under
					   about 1420px (nav 1001 + search 380 + 40 right margin).
					   >>> IT NEVER AFFECTED ROGER, and the first version of this
					   comment claimed it did. He has never seen the field clipped
					   ("das das suchfeld abgeschnitten ist auf desktop ist mir noch
					   nie aufgefallen"). His screen is a 4K laptop display at 3840px
					   scaled 225%, i.e. 3840/2.25 = 1706 CSS pixels - about 286px of
					   headroom over the ~1420 threshold, and only while the window is
					   maximised. NOT a comfortable margin: at 250% it would be 1536,
					   at 300% exactly 1280, which is the broken case measured above.
					   1280 was the TEST browser's size and nothing more; his own was
					   never measured and cannot be measured from here.
					   The fix is still right - it just was not repairing a symptom
					   anybody actually had.
					   At auto the nav takes what it needs and margin-left:auto does
					   its actual job: push the search to the right EDGE, not past it.
					   min-width: 0 so it may also shrink below its content instead of
					   forcing the row wider - a flex item defaults to min-width:auto,
					   the same footgun documented for .dashcol in section 15.1. */
					.headernavigation {
						position: relative;
						display: flex;
						align-items:flex-end;
						margin-left: 20px;
						padding: 0px;
						border: 0px;
						width: auto;
						min-width: 0;
						height: auto;
					}
					/* BETWEEN 700 AND 1100 THE NAV SCROLLS RATHER THAN BEING CUT OFF.
					   The row is nowrap and its nine buttons need about 630px; with
					   min-width:0 above it now shrinks, which means its children hang
					   out of it instead of the row forcing the page wider - measured at
					   900px: two entries reached x=1005 on a 900px screen and were
					   unreachable, because body{overflow:hidden} clips rather than
					   scrolls. overflow-x:auto turns that clipping into a scroll, so
					   nothing becomes unreachable at any width.
					   SCROLLING IS THE SAFE ANSWER, NOT THE NICE ONE. Wrapping to a
					   second line would read better, but the desktop header is a fixed
					   200px and .contentscroller subtracts exactly that in a calc() -
					   a taller header there moves two more numbers. Below 700 the nav
					   stacks properly and this rule no longer applies.
					   overscroll-behavior-x like .contentrowalternate carries (issue
					   #10): without it, scrolling past the end drags the page. */
					@media (max-width: 1100px) {
						.headernavigation {
							overflow-x: auto;
							overscroll-behavior-x: none;
						}
						.headernavigation::-webkit-scrollbar { height: 0; }
					}
					/* UNTER 700px IST DIE NAVIGATION EINE SCHUBLADE UND STARTET ZU
					   (23.08.2026, Rogers Wahl aus drei Formen: Burger, gestapelte
					   Spalte mit Akkordeon, untere Leiste).
					   Hier steht nur der ZUSTAND ZU. Der Burger, der geoeffnete
					   Zustand, die volle Knopfbreite und die Provider-Logos stehen im
					   <style>-Block von includes/mainnavigation.php, wo die uebrigen
					   Navigationsregeln schon liegen - der Block wird nach dieser Datei
					   geladen und gewinnt daher bei gleicher Spezifitaet.
					   VORHER STAND HIER display: inline-grid, und das war die ganze
					   mobile Navigation: inline-grid ohne Template ergibt genau eine
					   Spalte, also neun Knoepfe à 49px = 437px, mit Banner ein 521px
					   hoher Kopf auf einem 844px-Schirm. Niemand hatte das entworfen. */
					@media (max-width: 700px) {
  						.headernavigation {
                    		display: none;
							margin-left: 0px;
                		}
					}
							.navigationbutton {
								border: 2px solid #005770;
								border-radius: 10px;
								padding: 10px;
								background-color: #003B4C;
								align-content: center;
								margin-left: 5px;
								margin-right: 5px;
								font-size: 21px;
								height: 25px;
								color: #FFFFFF;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
							}
							.navigationbutton:hover {
								background-color:#009FE3;
								color: #FFFFFF;
							}
							.navigationbutton_active {
								border: 2px solid #005770;
								border-radius: 10px;
								padding: 10px;
								background-color: #ffffff;
								align-content: center;
								margin-left: 5px;
								margin-right: 5px;
								font-size: 21px;
								height: 25px;
								color: #000000;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
							}
							.navigationbutton_active:hover {
								background-color:#009FE3;
								color: #FFFFFF;
							}
/* Icons im aktiven Button sichtbar machen (falls nötig) */
.navigationbutton_active i {
   margin-right: 0px; /* Anstatt 5px */
    /* display: inline; falls sie standardmäßig block sind */
}

/* Icons im normalen Button ausblenden (falls nötig) */
.navigationbutton i {
    display: none;
}

/* ---------------------------------------------------------------------------
   INFOCENTER (NEU 20.07.2026) - Glocke links vom Suchfeld, siehe
   includes/mainnavigation.php. Farben bewusst vom Such-Flyout uebernommen,
   damit sich beide Overlays im Header gleich anfuehlen.
   --------------------------------------------------------------------------- */
.infocenter-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background-color: #f3752c;
    color: #ffffff;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
}
.infocenter-flyout {
    position: absolute;
    top: 100%;
    /* right:0 ist nur der Startwert vor dem JS: positionInfoFlyout() in
       mainnavigation.php setzt das Flyout mittig unter den Button und klemmt es
       in den sichtbaren Bereich (die Buttons sitzen rechts im Header -> ohne
       Klemmung liefe es nach rechts aus dem Fenster). */
    right: 0;
    width: 380px;
    max-width: 92vw;
    max-height: 520px;
    overflow-y: auto;
    margin-top: 10px; /* Abstand zum Button = 10px, wie das Nav-Dropdown */
    background-color: rgba(0, 101, 130, 0.95);
    border: 2px solid #ffffff;
    border-radius: 8px;
    z-index: 1000;
    backdrop-filter: blur(4px);
}
/* Kategorie-Block. Die Meldungen selbst sind .fsc-card - dieselben Kacheln wie
   im Such-Flyout (definiert im <style>-Block von mainnavigation.php), damit
   sich beide Overlays gleich anfuehlen. Hier steht daher NUR, was die Karte
   nicht schon mitbringt. */
.infocenter-group {
    padding: 10px 12px 0 12px;
}
/* Werte 1:1 wie columnHeader() im Such-Flyout ("Shows (2)" usw.).
   ACHTUNG doppelter Selektor: die Ueberschrift traegt zusaetzlich .footertext
   (liefert Schriftart + Zentrierung), und die Regel steht weiter unten in
   dieser Datei (~Z. 1300). Bei gleicher Spezifitaet gewinnt die spaetere - mit
   nur .infocenter-group-head wuerde .footertext Farbe und Groesse
   ueberschreiben (weiss/21px). Das Such-Flyout umgeht das, indem es dieselben
   Werte inline setzt. */
.infocenter-group .infocenter-group-head {
    color: #E2D625;
    background-color: #003B4C;
    padding: 5px 8px;
    font-size: 19px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.infocenter-empty {
    padding: 20px;
    text-align: center;
    color: #ffffff;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
}
/* Gelesenes bleibt stehen, tritt aber zurueck. */
.infocenter-item.is-read {
    opacity: 0.55;
}
/* .fsc-card ist position:relative, der Punkt haengt sich in die Kachelecke. */
.infocenter-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f3752c;
}
					/* THESE THREE CAME OUT OF AN INLINE style= ATTRIBUTE (23.08.2026),
					   and moving them here is what makes every rule below reachable.
					   mainnavigation.php carried style="display:flex; align-items:
					   center; margin-left:auto; position:relative" on #headersearch.
					   An inline declaration beats any stylesheet selector short of
					   !important, so the display:none underneath had NEVER once taken
					   effect - measured on the live phone branch at 390px: the box sat
					   at x 215..594, i.e. 204px past the right edge, and it was the
					   sole reason the whole page panned sideways.
					   display:flex was already in this rule, so only three moved.
					   margin-left: auto REPLACES the old 50px and changes nothing -
					   the inline auto is what has actually been in force all along. */
					.headersearch{
						.background-color: yellow;
						display: flex;
						flex-wrap: nowrap;
						align-items: center;
						position: relative;
						margin-right: 10px;
						margin-left: auto;
						width: auto;
						align-content: center;
						white-space: nowrap;
					}
					/* THE FIELD GOES BEFORE THE WHOLE BOX DOES. At 1100 the header row
					   no longer fits (measured: it needs 1264px - nav 784 + 20 + search
					   379 + 2x40 margin), and the 200px input is the largest single
					   item that can leave without taking a function with it: history,
					   bell and magnifier stay, and the magnifier opens search.php,
					   which is the full search. Below 700 the box goes entirely. */
					/* The rule that drops the 200px input below 1100px does NOT sit here.
					   It has to come AFTER the base rule "#headersearch #searchform"
					   near the end of this file: that selector is two IDs, and an
					   earlier block loses to it even at equal specificity. Measured -
					   the first attempt stood here and did nothing at 900px. */
					@media (max-width: 700px) {
  						.headersearch {
                    		display: none;
                		}
					}
							.searchfield {
								border-radius: 4px;
								border: none;
								border: 1px solid #003B4C;
								height: auto;
								font-size: 21px;
								color: white;
								width: 200px;
								background: #005770;
								padding: 10px 10px;
								box-sizing: border-box;
							}

							.searchfield:focus{
								.border: 1px solid white;
								background: #009FE3;
							}

							.searchbutton{
								border-radius: 10px;
								border: none;
								padding: 10px;
								background-color: #003B4C;
								align-content: center;
								margin-left: 5px;
								margin-right: 0px;
								font-size: 21px;
								height: auto;
								width: auto;
								color: #FFFFFF;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
								cursor: pointer;
							}

							.searchbutton:hover{
								background-color: #009FE3;
							}
	
	.contentscroller {
		position:relative;
		display: block;
		height: calc(100vh - 200px);
		align-items: stretch;
		width: 100%;
		overflow-y: auto;
		background-color: #005770;
		.background-color: blue;
		z-index: 2;	
	}
	@media (max-width: 700px) {
  		.contentscroller {
	  		overflow-y: hidden;
			height: 100%;
		}
	}
	
	.contentcontainer {
		position: relative;
		display: block;
		margin-left: 40px;
		margin-right: 40px;
		margin-bottom: 40px;
		height: auto;
		width: auto;
		background-color: #005770;
		.background-color: red;
		z-index: 10;	
	}
			.headlinecontainer {
				position: relative;
				display: flex;
				width: auto;
				height: auto;
				align-items: center;
				background: linear-gradient(90deg, rgb(0,87,112,0.2) 30%, rgba(0,87,112,1) 70%), url('http://imageserver.ocis-network.eu/mountains3.png');
				background-position:bottom;
				background-repeat: repeat-x;
				background-size:contain;
				padding-bottom: 15px;
				padding-top:15px;
				.background-color: red;
			}
					.headline {
						font-family: ccmonstermash;
						font-weight: 400;
						font-style: normal;
						font-size: 48px;
						color:#E2D625;
						text-shadow: 0px 0px 4px black;
						white-space: nowrap;
					}
					@media (max-width: 700px) {
						.headline {
							white-space: pre-wrap;
							font-size: 32px;
						}
					}
					.middlesubnavigation {
						margin-left: 50px;
						white-space: nowrap;
					}
							.importantsubnavigationbutton {
								border-radius: 10px;
								padding: 10px;
								background-color: #f3752c;
								align-content: center;
								margin-left: 2px;
								margin-right: 0px;
								font-size: 21px;
								height: 25px;
								color: #ffffff;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
							}
							.importantsubnavigationbutton:hover {
								background-color: #009FE3;
								color: #ffffff;
							}
							.importantsubnavigationbutton .tooltiptext {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 9px;
								visibility: hidden;
								width: auto;
								background-color:#9A9A9A;
								color: white;
								text-align: center;
								padding: 5px 5px 5px 5px;
								border-radius: 6px;
								position: absolute;
								z-index: 150;
								margin-top: -20px;
								margin-left: -43px;
								box-shadow: 0px 0px 0px 1px #005770;
								text-shadow: 1px 1px 0px black;
								.opacity: 80%;
			}
							.importantsubnavigationbutton:hover .tooltiptext {
							  	.visibility: visible;
							}

							.importantsubnavigationbutton2 {
								border-radius: 10px;
								padding: 10px;
								background-color: #E2D625;
								align-content: center;
								margin-left: 2px;
								margin-right: 0px;
								font-size: 21px;
								height: 25px;
								color: #ffffff;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
							}
							.importantsubnavigationbutton2:hover {
								background-color: #009FE3;
								color: #ffffff;
							}
							.importantsubnavigationbutton2 .tooltiptext {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 9px;
								visibility: hidden;
								width: auto;
								background-color:slategrey;
								color: white;
								text-align: center;
								padding: 5px 5px 5px 5px;
								border-radius: 6px;
								position: absolute;
								z-index: 150;
								margin-top: -20px;
								margin-left: -43px;
								box-shadow: 0px 0px 0px 1px #005770;
								text-shadow: 1px 1px 0px black;
								.opacity: 80%;
			}
							.importantsubnavigationbutton2:hover .tooltiptext {
							  	.visibility: visible;
							}

					.subnavigation {
						padding-left: 50px;
						display: flex;
						flex-flow: wrap;
						margin-left: auto;
						white-space: nowrap;
						.background-color: red;
					}
					@media (max-width: 700px) {
  						.subnavigation {
                    		display: none;
                		}
					}
							.subnavigationbutton {
								border-radius: 10px;
								margin-top: 2px;
								margin-bottom: 2px;
								padding: 10px;
								background-color: #003B4C;
								align-content: center;
								margin-left: 4px;
								margin-right: 0px;
								font-size: 21px;
								height: 25px;
								color: #FFFFFF;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
							}
							.subnavigationbutton:hover {
								background-color:#009FE3;
								color: #FFFFFF;
							}
							.subnavigationbutton_active {
								border-radius: 10px;
								padding: 10px;
								background-color: #ffffff;
								align-content: center;
								margin-top: 2px;
								margin-bottom: 2px;
								margin-left: 4px;
								margin-right: 0px;
								font-size: 21px;
								height: 25px;
								color: #000000;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-style: normal;
								text-decoration: none;
								white-space: nowrap;
							}
							.subnavigationbutton_active:hover {
								background-color:#009FE3;
								color: #FFFFFF;
							}
			.contentrow{
				position: relative;
				display: flex;
				overflow-y: auto;
				border-radius: 0px;
				border-bottom-right-radius: 10px;
				border-top-right-radius: 10px;
				padding: 25px;
				padding-left: 20px;
				border: 0px;
				height: auto;
				background-color: #006582;
				z-index:5;
			}
			/* .dashrow-split / .dashcol / .contentrow-new stood here: the 50/50 first
			   dashboard row with "New in Popular" (08.08.2026, issue #6), removed with
			   that column on 16.09.2026. The min-width:0 lesson it documented is kept
			   in PROJECT_NOTES 15.1. */
			.contentrow-shadow-wrap {
				position: relative;
			}
			.scroll-shadow-right {
				position: absolute;
				top: 0;
				right: 0;
				width: 30px;
				height: calc(100% - 20px); /* 20px = Hoehe der Custom-Scrollbar, soll unterhalb des Schattens sichtbar bleiben */
				background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.45));
				pointer-events: none;
				opacity: 0;
				transition: opacity 0.2s ease;
				z-index: 15;
				border-top-right-radius: 10px;
			}
			.scroll-shadow-left {
				position: absolute;
				top: 0;
				left: 0;
				width: 30px;
				height: calc(100% - 20px);
				background: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.45));
				pointer-events: none;
				opacity: 0;
				transition: opacity 0.2s ease;
				z-index: 15;
			}
			.scroll-shadow-left.show-left-shadow {
				opacity: 1;
			}
			.scroll-shadow-right.show-right-shadow {
				opacity: 1;
			}
			/* HIER STAND EINE MOBILE AUSNAHME, DIE .contentrow UMBRECHEN LIESS
			   (entfernt 23.08.2026, Roger: "auf dem dashboard bitte auch die
			   horizontalen rows verwenden, da kann die extra mobile ausnahme raus").
			   Sie setzte flex-flow: wrap + justify-content: center, machte aus jeder
			   waagerechten Reihe also einen senkrechten Stapel. GEMESSEN auf dem
			   Dashboard bei 390px, kurz bevor sie ging:
			       Ready to Watch    5 Karten   2275px hoch
			       New in Popular    3 Karten   1385px
			       Up Next           9 Karten   3515px
			       Movies to Watch   3 Karten   1235px
			       Last Watched     10 Karten   3900px
			       News                        22070px
			   Eine Reihe, die auf dem Desktop 340px hoch ist, wurde auf dem Telefon
			   also bis zu elf Mal so hoch - und der Sinn einer Kartenreihe, dass man
			   sie ueberfliegt, war genau umgekehrt.
			   DIE BASISREGEL KANN DAS SCHON: .contentrow ist flex ohne flex-wrap,
			   also nowrap, und ihr overflow-y: auto zwingt die zweite Achse
			   ebenfalls auf auto - die Reihe scrollt seitwaerts, auf dem Telefon
			   genau wie auf dem Desktop. Es brauchte keine Ersatzregel, nur das
			   Streichen dieser hier.
			   BETRIFFT SECHS DATEIEN, alle mit derselben Absicht: dashboard.php,
			   showdetail.php, moviedetail.php, actordetail.php, seasondetail.php
			   und api_news.php. Die Gitterseiten haengen an .contentrowgrid und die
			   Entdeckungsseiten an .contentrowalternate - beide unberuehrt. */
			.contentrowalternate{
				position: relative;
				display: flex;
				overflow-y: auto;
				/* KEIN GUMMIBAND AM ENDE DER REIHE (08.08.2026, Issue #10). Roger: "scrollt
				   man nach rechts raus und laesst den Finger auf dem Pad, schiebt sich der
				   inhalt links raus". Die Schatten (.scroll-shadow-left/-right) sind
				   GESCHWISTER des Scrollers und liegen absolut ueber dem Wrapper, nicht
				   ueber dem Inhalt. Beim elastischen Ueberscrollen bleibt scrollLeft am
				   Anschlag stehen - es feuert also kein scroll-Ereignis, die Schatten
				   werden nie neu gesetzt - waehrend der Inhalt sichtbar weiterrutscht und
				   unter dem stehengebliebenen Schatten wegwandert.
				   -x, nicht die Kurzform: die Seite selbst soll ihr normales vertikales
				   Verhalten behalten. Zentral hier und nicht im JS, weil die Schattenlogik
				   in neun Dateien dupliziert ist, dieses Stylesheet aber nur einmal
				   existiert. */
				overscroll-behavior-x: none;
				border-radius: 0px;
				border-bottom-right-radius: 10px;
				border-top-right-radius: 10px;
				padding: 25px;
				padding-left: 25px;
				border: 0px;
				height: auto;
				background-color: #006582;
				z-index:5;
			}
			/* DIESE REIHE BRICHT ABSICHTLICH NICHT UM - anders als die .contentrow
			   daneben, deren Umbruch-Ausnahme am 23.08.2026 entfernt wurde. Das
			   auskommentierte flex-wrap darunter ist kein Rest, es ist die
			   Entscheidung.
			   UND DIE 100px OBEN GEHOEREN ZUM PROVIDER-LOGO (Roger, 23.08.2026:
			   "damit das provider logo obendrueber ist und nicht links platz
			   wegnimmt"). .watchproviderlogorow wird im selben Breitenbereich auf
			   position:absolute / left:25px / top:25px gesetzt (weiter unten in
			   dieser Datei) - auf dem Desktop steht die Logospalte LINKS neben den
			   Karten, auf dem Telefon waere das ein Drittel der Breite. Sie wandert
			   also nach oben, und diese 100px sind der Platz, in den sie wandert.
			   >>> DIE BEIDEN REGELN SIND EIN PAAR. Wer das padding-top hier fuer
			   eine vergessene Ausnahme haelt und streicht, legt die Logos ueber die
			   Poster. Betrifft new.php, popular.php, popular_provider.php und
			   premieres.php. */
			/* DIE BEIDEN RADIUS-ZEILEN SIND HIER RAUS (23.08.2026, Roger sah es auf
			   premieres.php: "oben rechts einen hintergrund hinter der biegung").
			   Sie setzten die rechten Ecken auf 0 - der SCROLL-SCHATTEN darueber
			   behaelt aber seine 10px: .scroll-shadow-right hat border-top-right-
			   radius: 10px und z-index 15, die Reihe darunter z-index 5. Eine runde
			   Ecke ueber einer eckigen laesst genau in der Rundung die Reihe
			   hervorschauen, und das ist der helle Fleck im Bild.
			   GEMESSEN auf premieres.php bei 390px: Reihe oben rechts 0px, Schatten
			   oben rechts 10px. Auf dem Dashboard trat es nicht auf, weil dort die
			   entsprechende .contentrow-Ausnahme kurz vorher gefallen war - dieselbe
			   Ursache, eine Seite spaeter sichtbar.
			   Die Gitterseiten haben den Fleck NICHT: .contentrowgrid bekommt keinen
			   Schatten-Wrapper (0 auf watchlist.php gemessen), dort sind die Ecken
			   nur eckig statt rund. Ihr eigener Radius-Override steht deshalb noch. */
			@media (max-width: 700px) {
  				.contentrowalternate {
                    display: flex;
					/* flex-wrap: wrap; */
					padding-left: 25px;
					padding-top: 100px;
                }
			}
			.contentrowgrid{
				position: relative;
				display: flex;
				flex-flow: wrap;
				.overflow-y: auto;
				border-radius: 0px;
				border-bottom-right-radius: 10px;
				border-top-right-radius: 10px;
				padding: 25px;
				padding-left: 25px;
				border: 0px;
				height: auto;
				background-color: #006582;
				z-index:5;
			}
			@media (max-width: 700px) {
  				.contentrowgrid {
                    justify-content: center;
					border-bottom-right-radius: 0px;
					border-top-right-radius: 0px;
                }
			}
			.contentrowgridcategory{
				position: relative;
				display:flex;
				flex-flow:nowrap;
				.overflow-y: auto;
				border-radius: 0px;
				border-bottom-right-radius: 10px;
				border-top-right-radius: 10px;
				padding: 25px;
				padding-left: 25px;
				border: 0px;
				height: auto;
				background-color: #006582;
				z-index:5;
			}
			.episodeboxcontainer {
				position: relative;
				display:flex;
				flex-flow: wrap;
				.overflow-y: auto;
				border-radius: 0px;
				border-bottom-right-radius: 10px;
				border-top-right-radius: 10px;
				.padding: 25px;
				padding-left: 25px;
				border: 0px;
				height: auto;
				.background-color: red;
				z-index:5;
			}
					.contentrowicon {
						padding: 5px;
						font-size: 40px;
						color: #009FE3;
						text-shadow: 0px 0px 3px black;
					}
					.watchproviderlogorow{
						position:sticky;
						left: 0px;
						box-shadow: 0px 0px 0px 26px #006582;
						display: block;
						border-radius: 10px;
						margin-right: 25px;
						padding: 15px;
						background-color: #005770;
						justify-content: center;
  						align-items: center;
						.background-color: red;
						z-index: 20;
					}
					@media (max-width: 700px) {
						.watchproviderlogorow {
							position:absolute;
							left: 25px;
							top: 25px;
							box-shadow: 0px 0px 0px 0px #006582;
							display: flex;
							margin-right: 0px;
							padding: 0px;
							background-color: transparent;
							justify-content: center;
							align-items: center;
							z-index: 20;
							}
					}
					.watchproviderlogorowlong{
						position:relative;
						top:0px;
						left: 0px;
						.box-shadow: 0px 0px 0px 26px #006582;
						display: block;
						width: auto;
						height: auto;
						border-radius: 10px;
						margin-right: 0px;
						padding: 15px;
						background-color: #005770;
						justify-content: center;
  						align-items: center;
						.background-color: red;
						z-index: 20;
					}
					.episodebox{
						position: relative;
						display: flex;
						flex-direction: column;
						text-align: center;
						border-radius: 10px;
						padding: 15px;
						background-color: white;
						.background: linear-gradient(130deg, #ffffff 0%, #f3752c 0%, #f3752c 10%, #ffffff 10%);  
						.background: linear-gradient(130deg, #ffffff 0%, #E2D625 0%, #E2D625 10%, #ffffff 10%);  
						margin-left: 5px;
						margin-right: 15px;
						font-size: 21px;
						min-width: 200px;
						height: 400px;
					}
					@media (max-width: 700px) {
  						.episodebox {
                    		margin-bottom: 15px;
							margin-left: 10px;
							margin-right: 10px;
                		}
					}
					.episodebox:hover{
						box-shadow: 0px 0px 0px 3px #E2D625;
					}
					.episodebox span{
						display: none;
					}
					.episodebox a:hover span{
						display: block;
						position: absolute;
						cursor: default;
						top: 15px;
					}
					/* ON A PHONE A TAP OPENS THE CARD (23.08.2026, Roger's choice out of
					   three: "tippen klappt auf"). The rule above is the whole reason
					   MDB could not be used on a touch device at all - that span holds
					   the TMDB/Simkl links, the title link into the detail page and
					   EVERY list action (pause, plan-to-watch, completed, dropped), on
					   15 pages, and a finger has no hover.
					   THE CONTENTS WERE NEVER THE PROBLEM: the buttons inside are
					   already onClick divs, i.e. touch-capable since the day they were
					   written. It is one wrapper, not thirty handlers.
					   :hover is switched OFF here rather than left alone, because a tap
					   can leave a sticky hover state on a touch device - the card would
					   then stay open with no way to close it. The class is the only
					   opener below 700px, and modal_confirm.php sets it (one shared
					   handler; that file is included on all 15 pages, verified).
					   SPECIFICITY: both selectors below count (0,2,2), so the later one
					   wins when .tapoffen is present - that is why the hover rule is
					   repeated here as display:none instead of being edited above,
					   where it still does its job on the desktop. */
					@media (max-width: 700px) {
						.episodebox a:hover span{
							display: none;
						}
						.episodebox.tapoffen a span{
							display: block;
							position: absolute;
							cursor: default;
							top: 15px;
						}
					}

							.episodeposterimg {
								border-radius: 5px;
								width: 200px;
								height: 300px;
							}
							.showstatus{
								position: absolute;
								background-color: white;
								display: flex;
								justify-content: center;
								align-items: center;
								.box-shadow: 0px -1px 0px 1px white;
								top: 4px;
								border-radius: 100%;
								left: 104px;
								height: 22px;
								width: 22px;
								font-size: 15px;
								color: #005770;
								z-index: 10;
							}
							.episodemissed {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: #ffffff;
								display: block;
								position: absolute;
								top: 7px;
								right: 7px;
								.background: linear-gradient(160deg, #f3752c 10%, #773914 80%);
								background-color: #f3752c;
								align-content: center;
								height: 30px;
								width: 30px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								z-index: 10;
							}
							.seriesvote {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: #ffffff;
								display: block;
								position: absolute;
								top: 7px;
								left: 7px;
								.background: linear-gradient(160deg, #f3752c 10%, #773914 80%);
								background-color: #009FE3;
								align-content: center;
								height: 30px;
								width: 30px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								z-index: 10;
							}
							.seriesvotepop {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: #ffffff;
								display: block;
								position: absolute;
								top: 7px;
								right: 7px;
								.background: linear-gradient(160deg, #f3752c 10%, #773914 80%);
								background-color: #009FE3;
								align-content: center;
								height: 30px;
								width: 30px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								z-index: 10;
							}
							.episodefinale {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: black;
								display: block;
								position: absolute;
								top: 7px;
								left: 7px;
								.background: linear-gradient(160deg, #43aaff 10%, #1b486d 80%);
								background-color:rgba(226,214,37,1.00);
								align-content: center;
								height: 30px;
								width: 65px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px white;
								font-weight: bold;
								z-index: 10;
							}
							.episodestart {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: #ffffff;
								display: block;
								position: absolute;
								top: 7px;
								left: 7px;
								.background: linear-gradient(160deg, #f3752c 10%, #773914 80%);
								background-color: #f3752c;
								align-content: center;
								height: 30px;
								width: 65px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								z-index: 10;
							}
							.episodeseasonstart {
								font-family: ccmonstermash;
								font-size: 100px;
								color: white;
								opacity: 50%;
								.color: #009FE3;
								display: block;
								position: absolute;
								top: 180px;
								.left: 100px;
								.background: linear-gradient(160deg, #43aaff 10%, #1b486d 80%);
								.background-color:white;
								align-content: center;
								.height: 30px;
								width: 200px;
								border-radius: 5px;
								text-align: center;
								.box-shadow: 0px 0px 0px 2px white;
								text-shadow: 2px 2px 2px black;
								font-weight: bold;
								.z-index: 10;
							}
							.episodepopularrank {
								font-family: ccmonstermash;
								font-size: 60px;
								color: rgba(226,214,37,1.00);
								display: block;
								position: absolute;
								top: 0px;
								left: 7px;
								.background: linear-gradient(160deg, #43aaff 10%, #1b486d 80%);
								.background-color:white;
								align-content: center;
								.height: 30px;
								.width: calc(auto + 60px);
								border-radius: 5px;
								padding-right: 12px;
								text-align: center;
								.box-shadow: 0px 0px 0px 2px white;
								text-shadow: 2px 2px 2px black;
								font-weight: bold;
								z-index: 10;
							}
							.rankchange {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								display: flex;
								align-items: center;
								justify-content: center;
								gap: 3px;
								position: absolute;
								top: 7px;
								left: 50%;
								transform: translateX(-50%);
								height: 30px;
								min-width: 30px;
								padding: 0 6px;
								border-radius: 5px;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								font-size: 13px;
								color: #ffffff;
								z-index: 10;
							}
							.rankchange .arrow {
								display: inline-block;
								font-size: 14px;
								line-height: 1;
							}
							.rankchange.up {
								background-color: #3fb56b;
							}
							.rankchange.down {
								background-color: #f3752c;
							}
							.rankchange.new {
								background-color: rgba(226,214,37,1.00);
								color: #3a3400;
								text-shadow: none;
							}
							.rankchange.same {
								background-color: #9aa0a3;
							}
							/* Sparkline-Popup am Rang-Badge (NEU 22.07.2026, siehe
							   includes/rankspark.php). Haengt an der .episodebox (nicht
							   am schmalen Badge), damit es per left/right die VOLLE
							   Boxbreite nutzt und sich automatisch an jede Boxbreite
							   anpasst. Oeffnet nach unten in die Poster-Flaeche - der
							   Badge sitzt oben, darunter ist Platz; .episodebox hat kein
							   overflow:hidden. Eingeblendet nur beim Badge-Hover via
							   :has() (Chrome/Firefox/Safari aktuell) - ohne :has()-Support
							   bleibt es schlicht aus, kein Fehler. */
							.rankspark {
								display: none;
								position: absolute;
								top: 40px;
								left: 6px;
								right: 6px;
								background: rgba(0, 40, 54, 0.97);
								border: 1px solid rgba(226, 214, 37, 0.55);
								border-radius: 6px;
								padding: 6px 8px 3px 8px;
								box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
								z-index: 40;
								cursor: default;
							}
							.episodebox:has(.rankchange:hover) .rankspark {
								display: block;
							}
							.rankspark-cap {
								font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 12px;
								font-weight: normal;
								color: #8fb3bd;
								text-align: center;
								margin-bottom: 3px;
								white-space: nowrap;
								text-shadow: none;
							}
							.rankspark-empty {
								font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 13px;
								color: #cfe7ee;
								text-align: center;
								padding: 8px 10px 10px 10px;
								text-shadow: none;
							}
							.rankspark svg {
								display: block;
								width: 100%;
								height: auto;
							}
							/* Auch die Chart-Beschriftung (SVG-Text) auf Helvetica -
							   ohne diese Regel erbt <text> den Browser-Default. */
							.rankspark svg text {
								font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
							}
							/* HOT/COLD: both bands sit at the bottom of the box - flames
							   rising, pitch flipped upside down (since 06.10.2026, was at
							   the top edge running down) (popular / popular_provider).

							   STAPELREIHENFOLGE - beide stehen als ERSTE Kinder von
							   .episodebox im DOM. Das ist die ganze Mechanik: sie sind
							   absolut positioniert und liegen damit ueber dem Poster
							   (.episodeposterimg laeuft im normalen Fluss), aber unter
							   allem, was spaeter im DOM kommt und ebenfalls positioniert
							   ist - Rang, Bewertung, .showstatus, Provider-Logo und vor
							   allem dem Hover-Overlay im <a>. Rang und Bewertung haben
							   naemlich gar kein z-index, bei ihnen entscheidet allein die
							   DOM-Reihenfolge. Deshalb NICHT ans Ende der Box verschieben:
							   dann laegen die Baender ueber Overlay und Badges.

							   Die Ecken sind hier gerundet statt per overflow:hidden an
							   .episodebox - das wuerde das Hover-Overlay abschneiden.
							   76px = 200px Boxbreite / 2.64 (Seitenverhaeltnis der Grafik). */
							.hotflames {
								position: absolute;
								left: 0;
								right: 0;
								bottom: 0;
								height: 76px;
								z-index: 0;
								pointer-events: none;
								background: url("https://imageserver.ocis-network.eu/hotflames.png") no-repeat center bottom;
								background-size: 100% 100%;
								border-bottom-left-radius: 10px;
								border-bottom-right-radius: 10px;
							}
							/* 99px = 200px Boxbreite / 2.02 (Seitenverhaeltnis der Grafik),
							   also die native Tropfenlaenge ungestaucht. War kurz mit 70px
							   live, fiel so aber zu wenig auf (20.07.2026).
							   scaleY(-1) flips the whole box, the graphic AND the rounded
							   corners - so the top radii below end up at the bottom. */
							.coldpitch {
								position: absolute;
								left: 0;
								right: 0;
								bottom: 0;
								transform: scaleY(-1);
								height: 99px;
								z-index: 0;
								pointer-events: none;
								background: url("https://imageserver.ocis-network.eu/coldpitch.png") no-repeat center top;
								background-size: 100% 100%;
								border-top-left-radius: 10px;
								border-top-right-radius: 10px;
							}
							.daymodifier {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: #ffffff;
								display: block;
								position: absolute;
								top: 294px;
								right: 7px;
								.background: linear-gradient(160deg, #f3752c 10%, #773914 80%);
								background-color: #9A9A9A;
								align-content: center;
								height: 30px;
								width: 30px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								z-index: 10;
							}
							.daymodifier2 {
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 16px;
								color: #ffffff;
								display: block;
								position: absolute;
								top: 294px;
								right: 44px;
								.background: linear-gradient(160deg, #f3752c 10%, #773914 80%);
								background-color: #9A9A9A;
								align-content: center;
								height: 30px;
								width: 30px;
								border-radius: 5px;
								text-align: center;
								box-shadow: 0px 0px 0px 2px white;
								text-shadow: 1px 1px 0px black;
								font-weight: bold;
								z-index: 10;
							}
							.episodeoverlay {
								position: relative;
								border-radius: 5px;
								top: 0px;
								width: 200px;
								height: 300px;
								background-color: rgba(255,255,255,0.9);
								box-shadow: 0px 1px 3px 0px darkgrey;
								
							}
									.episodeoverlaylinks{
										position: relative;
										display: flex;
										height: 80px;
										width: auto;
										padding-top: 10px;
										margin-left: auto;
										margin-right: auto;
										justify-content:center;
  										align-items: center;
										.background-color: green;
									}
											.image_services_logok {
												border-radius: 10px;
												height: 40px;
												.width: 40px;
												margin-left: 2.5px;
												margin-right: 2.5px;
											}
											.image_services_logok:hover {
												opacity: 50%;
												cursor: pointer;
											}
									.episodeoverlaytext{
										position: relative;
										display: block;
										height: 140px;
										justify-content: center;
										padding-left: 10px;
										padding-right: 10px;
  										align-items: center;
										.background: red;
									}
											.overlaytitel{
												font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
												font-size: 24px;
												color: black;
												margin-bottom: 10px;
											}
											.overlaytext{
												text-align: left;
												margin-left: 10px;
												margin-right: 10px;
												font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
												font-size: 18px;
												color: black;
											}
									.episodeoverlaybuttons{
										position: relative;
										display: flex;
										height: 70px;
										width: 100%;
										justify-content: center;
  										align-items: center;
										.background-color: red;
									}
											.overlaybutton {
												position: relative;
												border-radius: 10px;
												padding: 10px;
												width: auto;
												background-color: #003B4C;
												align-content: center;
												margin-left: 3px;
												margin-right: 3px;
												font-size: 18px;
												height: auto;
												color: #FFFFFF;
												font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
												font-style: normal;
												text-decoration: none;
											}
											.overlaybutton:hover {
												background-color:#009FE3;
												color: #FFFFFF;
												cursor: pointer;
											}

											.overlaybuttonorange {
												position: relative;
												border-radius: 10px;
												padding: 10px;
												width: 50%;
												background-color: #f3752c;
												align-content: center;
												margin-left: 3px;
												margin-right: 3px;
												font-size: 18px;
												height: auto;
												color: #FFFFFF;
												font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
												font-style: normal;
												text-decoration: none;
											}
											.overlaybuttonorange:hover {
												background-color:#009FE3;
												color: #FFFFFF;
												cursor: pointer;
											}

											.overlaybutton .tooltiptext {
												font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
												font-size: 9px;
												visibility: hidden;
												width: auto;
												background-color:slategrey;
												color: white;
												text-align: center;
												padding: 5px 5px 5px 5px;
												border-radius: 6px;
												position: absolute;
												z-index: 150;
												margin-top: -25px;
												margin-left: -20px;
												box-shadow: 0px 0px 0px 1px white;
												text-shadow: 1px 1px 0px black;
												.opacity: 80%;
											}
											.overlaybutton:hover .tooltiptext {
												.visibility: visible;
												
											}
							.episodeboxtext {
								position: relative;
								display: flex;
								justify-content: center;
  								align-items: baseline;
								font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
								font-size: 30px;
								color: black;
								margin-top: 5px;
								margin-bottom: 8px;
								.background-color: red;
							}	
									.episodeboxtextse {
										border-radius: 5px;
										padding: 2px;
										padding-right: 3px;
										padding-left: 3px;
										width: auto;
										background-color: white;
										align-content: center;
										margin-left: 2px;
										margin-right: 2px;
										margin-top: 0px;
										margin-bottom: 0px;
										font-size: 30px;
										height: auto;
										color: black;
										font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
										font-style: normal;
										text-decoration: none;
									}
									.episodeboxtextse:hover {
										background-color:#009FE3;
										color: #FFFFFF;
										.box-shadow: 0px 0px 0px 1px #009FE3;
										cursor: pointer;
									}
							.episodeboxwatchprovider {
								position: relative;
								display: flex;
								width: auto;
								margin-left:auto;
								margin-right:auto;
								justify-content: center;
								align-items: center;
								.background-color: red;
							}
									.image_provider_logok {
										border-radius: 10px;
										margin-left: 5px;
										margin-right: 5px;
									}
									.image_provider_logok:hover {
										opacity: 50%;
										cursor: pointer;
									}
	
	.footercontainer{
		position: relative;
		display: flex;
		flex-direction: column;
		margin-left: 40px;
		margin-right: 40px;
		margin-bottom: 40px;
		justify-content: center;
		align-items: center;
		background-color: #005770;
		.background-color: red;
		z-index: 10;	
	}
			.footertext{
				font-family: "shrunken-head-lt-bb";
				font-size: 21px;
				color: #FFFFFF;	
             	text-align: center;
			}
					.sponsorlogok {
						border-radius: 10px;
						margin-left: 2px;
					}
					.sponsorlogok:hover {
						opacity: 50%;
					}
			.logoutbutton {
				padding: 10px 10px;
				border-radius: 5px;
				background-color: #003B4C;
				align-content: center;
				text-align: center;
				margin-top: 10px;
				font-size: 20px;
				height: auto;
				width: auto;
				color: #005770;
				font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
				font-style: normal;
				text-decoration: none;
			}
			.logoutbutton:hover {
				background-color:#009FE3;
				cursor: pointer;
			}
			.lastupdated {
				align-content: center;
				text-align: center;
				margin-top: -40px;
				.margin-left: auto;
				font-size: 14px;
				height: auto;
				width: auto;
				color: #003B4C;
				font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
				font-style: normal;
				text-decoration: none;
			}


	
.lightbox {
	display: none;
	position: fixed;
	z-index: 300;
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(2px);
}
		.lightboxcontent {
		  position: absolute;
		  top: 50%;
		  left: 50%;
		  transform: translate(-50%, -50%);
		  width: 200px;
		  height: 200px;
		  background: #006582;
		  z-index: 310;
		  border-radius: 10px;
		  box-shadow: 0px 0px 4px 0px black;
		}

.loader {
  width: 54px;
  height: 54px;
  position: relative;
	top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 4px;
}
.loader:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  background: #FF3D00;
  border-radius: 50%;
  transform-origin: 100% 100%;
  animation: move 1s linear infinite;
}
@keyframes move {
    0% , 100%{ transform: translate(0 ,0)}
    25%{ transform: translate(100% ,0)}
    50%{ transform: translate(100% ,100%)}
    75%{ transform: translate(0 ,100%)}
}	

/* videolightbox */

/* Lightbox Overlay */
.lightbox-overlay {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(2px);
}

/* Container für das Video (16:9 Verhältnis wahren) */
.lightbox-content {
	position: relative;
	margin: 5% auto;
	width: 80%;
	max-width: 1800px;
	background: #000;
	box-shadow: 0 5px 20px rgba(0,0,0,0.5);
	border-radius: 8px;
	overflow: hidden;
}

/* Responsive Iframe Container (hält 16:9) */
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Schließen-Button */ 
.close-btn {
	position: absolute;
	top: -40px; /* Außerhalb des schwarzen Rahmens */
	right: 0;
	color: #fff;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
	transition: color 0.3s;
}
.close-btn:hover {
	color: #ff0000;
}
/* Ladeanzeige Spinner */
.loadingSpinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #E2D625;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Zurück-Button am Ende (wie Logout-Button Styling) */
.scroll-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: auto; /* Vertikal mittig zur episodebox */
    background: #005770;
    border: none;
	border-radius: 10px;
    cursor: pointer;
    margin-left: 10px;
    flex-shrink: 0;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
}

.scroll-back-button:hover {
    opacity: 0.7;
}

.scroll-back-button i {
    color: #006582;
    font-size: 24px;
}

/* --- PROGRESS BAR (NEU & KLAR) --- */
#header-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: transparent;
    z-index: 10000;
    display: none; /* Standardmäßig aus */
    pointer-events: none;
}

#header-progress-bar.active {
    display: block;
}

/* Hier wird die Animation definiert - ALLES in einer Regel */
#header-progress-bar.active .progress-fill {
    display: block;
    height: 100%;
    background-color: #003B4C;
    width: 0%;
    opacity: 0.8;
    transition: width 0.2s ease-out;
    
    /* HIER DEN WERT ÄNDERN (z.B. 30s für langsam) */
    animation: loadProgress 600000s infinite linear;  /* wird in header.php per JS gesteuert */
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 50%; }
    100% { width: 95%; }
}

/* ============================================================================
   DEBUG OVERLAY STYLES (Lumo Debug System)
   Aktiviert über ?debug=1 Parameter
   ========================================================================== */

.lumodebug-overlay {
    position: fixed;
    top: 220px;
    right: 35px;
    width: 380px;
    max-height: 70vh;
    overflow-y: auto;
    background: #1a1a1a;
    border: 2px solid #ab47bc;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(171,71,188,0.4);
    z-index: 999999;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8em;
    user-select: none;
}

.lumodebug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(145deg, #2a1a3a, #1a1a2e);
    cursor: move; /* ← Wichtig für Drag & Drop! */
    border-bottom: 1px solid #ab47bc;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.lumodebug-header span {
    color: #ce93d8;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lumodebug-header button {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.5em;
    line-height: 1;
    cursor: pointer;
    padding: 0 5px;
}

.lumodebug-header button:hover {
    color: #f44336;
}

.lumodebug-content {
    padding: 15px;
    color: #eee;
	   user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;  /* Hilft zur Erkennung */
}

.lumodebug-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #333;
}

.lumodebug-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.lumodebug-section strong {
    color: #ab47bc;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85em;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lumodebug-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lumodebug-section li {
    padding: 4px 0;
    border-bottom: 1px dotted #222;
}

.lumodebug-section li:last-child {
    border-bottom: none;
}

.lumodebug-section code {
    color: #ffd54f;
    background: #2a2a2a;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    word-break: break-all;
}

.debug-copy-btn {
    background: #2a1a3a;
    border: 1px solid #ab47bc;
    color: #ce93d8;
    font-size: 1.2em;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.debug-copy-btn:hover {
    background: #ab47bc;
    color: #fff;
}

.season-overlay-title {
    font-family: ccmonstermash;
    font-size: 28px;
    color: #E2D625;
    margin-bottom: 12px;
    text-shadow: 0px 0px 4px black;
}

.season-overlay-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
}

.season-overlay-info i {
    color: #009FE3;
}

.season-overlay-airdate {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 6px;
}

.season-overlay-airdate i {
    color: #f3752c;
    margin-right: 8px;
}

.season-overlay-airdate-final {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 12px;
}

.season-overlay-links {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.image_services_logok:hover {
    transform: scale(1.1);
}

/* --- HERO SECTION STYLES (SHOWDETAIL) - KORRIGIERT --- */

.hero-section {
    /* Punkt 4: Margin-top für Abstand zum Header, kein box-shadow */
    margin-top: 20px;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    background-color: #005770;
    overflow: hidden;
    z-index: 5;
    /* BOX-SHADOW ENTFERNT */
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 30px;
    /* height: 100%; */
}

@media (max-width: 700px) {
    .hero-content { flex-direction: column; }
}

/* Poster (Latest Season) */
.hero-poster {
    flex-shrink: 0;
    width: 200px;
	height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 15px solid #fff;
}
.hero-poster img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Block */
.hero-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

/* Titel (bleibt ccmonstermash!) */
.hero-title {
	font-family: ccmonstermash;
						font-weight: 400;
						font-style: normal;
						font-size: 48px;
						color:#E2D625;
						text-shadow: 0px 0px 4px black;
    margin: 0 0 15px 0;
    line-height: 1;
}

/* Meta-Line: Helvetica */
.hero-meta-line {
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    align-items: center;
}

.hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    padding: 12px 12px;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
}

.hero-rating, .hero-premiere {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Overview: Helvetica */
.hero-overview {
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* Stats Bar: Helvetica */
.hero-stats {
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stats span { margin: 0 8px; }

/* Action Bar: POINT 2! */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* Links ausgerichtet */
    gap: 20px;
}

.hero-left-buttons {
    /* Sorgt dafür, dass Provider immer links bleiben */
    display: flex;
}

/* Punkt 2: Trailer-Button wird durch margin-left: auto automatisch nach rechts geschoben! */
.hero-trailer-btn {
    margin-left: auto;
}

@media (max-width: 700px) {
    .hero-trailer-btn { margin-left: 0; margin-top: 15px; }
}
/* ===========================================================================
   WATCHLIST-FILTER (NEU 24.07.2026) - siehe watchlist.php
   Zentrierter Filter-Button im headlinecontainer + Flyout im MDB-Look
   (Glocke/Dropdown). Chips nutzen .navigationbutton / .navigationbutton_active.
   =========================================================================== */
/* KEIN sticky auf dem Sub-Header: position:sticky liess die halbtransparente
   Headline-Leiste beim Scrollen die Poster-Kacheln durchscheinen (kaputte Optik).
   Der Filter scrollt jetzt normal mit. Das Flyout wird ueber .contentcontainer
   .cc-filter (unten) trotzdem ueber den Footer gehoben. */

/* Button sitzt als normaler Inline-Flex-Punkt rechts neben dem Refresh-Button.
   Das Flyout (position:absolute in .filter-anchor) wird per JS positioniert:
   positionFilterFlyout() in watchlist.php/new.php setzt es mittig unter den
   Button und klemmt es in den sichtbaren Bereich (nie rechts/links raus, ggf.
   schmaler). Das left:0 in .filter-flyout unten ist nur der Startwert vor dem JS. */
.filter-anchor { position: relative; display: inline-flex; align-items: center; margin-left: 5px; } /* +5px -> 10px Abstand zum Refresh, wie die Nav-Icons */

/* .navigationbutton i wird global ausgeblendet - Trichter + Chip-Icons zeigen */
#filterBtn .filter-ico,
#filterReset i { display: inline-block !important; }
.fchip i { display: inline-block !important; margin-right: 8px; font-size: 21px; }

#filterBtn { position: relative; display: inline-flex; align-items: center; }
#filterBtn .fbadge {
    background: #f3752c; color: #fff; font-size: 13px; font-weight: 800;
    min-width: 22px; height: 22px; border-radius: 11px; margin-left: 10px;
    padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
}

.filter-flyout {
    position: absolute; top: calc(100% + 10px); left: 0;
    width: min(450px, 94vw); max-height: 74vh; overflow-y: auto; /* halbe Breite - icon-only Chips (24.07.2026) */
    background: rgba(0, 101, 130, 0.94); backdrop-filter: blur(4px);
    border: 2px solid #ffffff; border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4); padding: 6px 18px 18px; z-index: 600;
}
.filter-flyout::before {
    content: normal; /* Pfeil entfernt: Button links, Flyout mittig - Pfeil zeigte ins Leere */
    position: absolute; top: -9px; left: 50%;
    transform: translateX(-50%) rotate(45deg); width: 16px; height: 16px;
    background: rgba(0, 101, 130, 0.94); border-left: 2px solid #fff; border-top: 2px solid #fff;
}
.filter-flyout .flyhead { padding: 14px 4px 4px; }
.filter-flyout .ftitle { font-family: ccmonstermash, sans-serif; color: #E2D625; font-size: 26px; }
.filter-flyout .filtergroup { margin-top: 16px; }
.filter-flyout .grouplabel {
    display: inline-block; color: #E2D625; background: #003B4C; font-size: 18px; font-family: "shrunken-head-lt-bb";
    font-weight: 700; padding: 5px 12px; border-radius: 6px; margin-bottom: 11px; letter-spacing: 0.3px;
}
.filter-flyout .chiprow { display: flex; flex-wrap: wrap; }
.filter-flyout .fchip { display: inline-flex; align-items: center; cursor: pointer; margin: 3px 6px 3px 0; }
.filter-flyout .fchip-logo {
    width: 25px; height: 25px; border-radius: 4px; margin-right: 8px;
    object-fit: cover; background: #12414f;
}
/* ICON-ONLY Chips (24.07.2026): Status/Streaming/Genre/Progress zeigen nur ihr
   Icon (Name im title-Tooltip). Nur der rechte Abstand faellt weg (kein Text
   dahinter) - die Icon-Groesse kommt bewusst aus der bestehenden .fchip-Regel. */
.filter-flyout .fchip-iconly i { margin-right: 0; font-size: 21px; } /* = Nav-Button-Groesse */
.filter-flyout .fchip-iconly .fchip-logo { margin-right: 0; }
.filter-flyout .flyfoot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14);
}
.filter-flyout .flyfoot .summary { color: #cfe6ee; font-size: 15px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.filter-flyout .flyfoot .summary b { color: #fff; }
#filterReset { display: inline-flex; align-items: center; }

/* Flyout ueber den Footer heben: contentcontainer UND footercontainer sind beide
   z-index:10, der Footer steht spaeter im DOM und deckte das offene Flyout sonst
   zu. Nur auf der Watchlist (Klasse cc-filter), damit sonst nichts beeinflusst wird. */
.contentcontainer.cc-filter { z-index: 20; }

/* ===========================================================================
   HEADER-ABSTAENDE VEREINHEITLICHT (24.07.2026)
   Alle Elemente in #headersearch (Historie, Glocke, Such-Button, Suchfeld) im
   gleichen 10px-Raster wie die Nav-Icons (deren margin 5px+5px = 10px). gap
   steuert den Abstand einheitlich; die Button-Eigenmargins drin werden genullt,
   damit sie nicht doppeln. Such-Button links vom Feld via order (Feld ans Ende).
   =========================================================================== */
#headersearch { gap: 10px; }
#headersearch .navigationbutton { margin: 0; }
/* display and align-items came off an inline style= on the <form> (23.08.2026),
   for the same reason as on #headersearch: inline beats every media query, so the
   rule hiding this form below 1100px was measured having no effect at 900px. */
#headersearch #searchform { order: 1; display: flex; align-items: center; }
/* THE 200px INPUT LEAVES AT 1100px, and the rule sits here rather than up with the
   other .headersearch rules because the line above is two IDs - an earlier block
   loses to it whatever it is written as. Measured: the header row needs 1264px
   (nav 784 + 20 + search 379 + 2x40 margin), so it does not fit even at 1280.
   WHAT STAYS: history, bell and magnifier. The magnifier opens search.php, which
   is the full search page - so nothing becomes unreachable, the typing just moves
   one click away. Below 700 the whole box goes, see .headersearch above. */
@media (max-width: 1100px) {
    #headersearch #searchform { display: none; }
}

/* ===========================================================================
   NEWS-ABSCHNITT auf den Detailseiten (NEU 01.08.2026, Issue #1)
   Die Kachel ist die .episodebox-Bauart - weiss, radius 10, padding 15, gelber
   Rahmen beim Hover - nur breiter und hoeher (340x440 statt 200x400, Rogers Wahl)
   und LINKSBUENDIG: eine Schlagzeile ist kein zentriertes Zahlenbadge.
   DER BILDKASTEN HAT EINE FESTE HOEHE (Roger: "die bilder muessen gleich hoch
   sein, sonst wirds unruhig"). object-fit: cover beschneidet also, statt die
   Kachel wachsen zu lassen; object-position 50% 25% ist derselbe Wert, den das
   News-Portal gemessen hat - bei Pressefotos steht das Motiv im oberen Drittel.
   DIE ZEILENKLEMMUNG haelt alle Kacheln gleich hoch: 3 Zeilen Schlagzeile,
   4 Zeilen Anriss. Ohne sie bestimmt der laengste Text die Zeilenhoehe.
   =========================================================================== */
/* DAS BILD LAEUFT UEBER DIE VOLLE BREITE (Roger, 01.08.2026: "kann das bild ueber
   die volle breite?"). Dafuer hat die KACHEL kein padding mehr - es sitzt an den
   Textzeilen. overflow: hidden laesst den 10px-Radius die Bildecken beschneiden,
   sonst staende das Bild quadratisch in einer runden Kachel.
   UNBEDENKLICH HIER, anders als bei .episodebox: diese Kachel hat kein Hover-Overlay,
   das abgeschnitten werden koennte, und der gelbe Hover-Ring ist ein box-shadow
   AUSSERHALB des Kastens - den beschneidet overflow nicht. */
/* KEIN FLEX (01.08.2026, nach "ist unten noch abgeschnitten"). .episodebox ist
   display:flex column und diese Kachel hatte das uebernommen - aber FLEX-ITEMS WERDEN
   BLOCKIFIZIERT: aus dem display:-webkit-box der Textzeilen wird block, und damit ist
   -webkit-line-clamp wirkungslos. Der Anriss lief dann ueber vier Zeilen hinaus und
   wurde nur noch vom overflow:hidden der Kachel abgeschnitten, mitten in der Zeile.
   Die Kachel ist eine simple Spalte - Bild, Meta, Schlagzeile, Anriss - dafuer
   braucht es kein Flex. WER HIER WIEDER flex EINSETZT, nimmt die Klemmung mit. */
.newsbox {
    position: relative; display: block; text-align: left;
    border-radius: 10px; padding: 0 0 15px; overflow: hidden;
    /* DUNKELBLAU STATT WEISS (Roger, 01.08.2026: "das weiss tut ein wenig weh").
       Die Werte sind MDBs eigene dunkle Karte - derselbe Verlauf und dieselben
       Textfarben wie .sr-card auf der Suchseite und .fsc-card im Suchflyout. Die
       Kachel ist damit die einzige weisse Flaeche weniger in einer Zeile, die sonst
       aus Postern besteht - und die Poster bringen ihr Weiss selbst mit. */
    background: linear-gradient(#003b4c, #004d63); color: #fff;
    /* border-box, sonst kaeme das untere Polster zur Hoehe DAZU und die Kachel waere
       455 statt 440 - gemessen, nachdem Roger den zu grossen Abstand unten sah. */
    box-sizing: border-box;
    margin-left: 5px; margin-right: 15px; min-width: 340px; max-width: 340px;
    height: 440px; text-decoration: none;
}
.newsbox:hover { box-shadow: 0px 0px 0px 3px #E2D625; }
/* 340 breit im 16:9 sind 191 hoch - EINE Zahl, die zur Kachelbreite gehoert. */
.newsimg {
    width: 100%; height: 191px; overflow: hidden;
    background: #dfe6e9; flex: 0 0 auto;
}
.newsimg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.newsmeta { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px; color: #b9d3da; margin-top: 12px; padding: 0 15px; }
/* DIE SCHRIFT KOMMT AUS DEN KLASSEN DES HAUSES, nicht aus Kopien davon (Roger,
   01.08.2026: "nimm bitte episodeboxtextse fuer den titelteil und fuer den text
   overlaytext"). Im Markup stehen deshalb BEIDE Klassen an der Zeile - die des
   Hauses traegt Schrift, Groesse und Farbe, die hiesige nur noch Zeilenbegrenzung
   und Abstand. Aendert jemand .episodeboxtextse oder .overlaytext, zieht diese
   Kachel automatisch mit; genau darum steht hier keine Zahl mehr.
   ZWEI FRUEHERE ANKER, beide falsch und beide hier vermerkt, damit sie nicht
   zurueckkommen: erst eigene 21px/600, dann die .sr-*-Staffel der Suchseite.
   DIE ZEILENBEGRENZUNG MUSS HIER BLEIBEN: sie braucht display:-webkit-box, und die
   Hausklassen setzen ihr eigenes display. Beides in einer Regel ginge nicht.
   NICHT DIE PILLE .episodeboxtextse, sondern .overlaytitel (Roger, im zweiten
   Anlauf): die Pille bringt einen weissen Hintergrund und einen blauen Hover mit -
   auf einer weissen Kachel ist das Erste unsichtbar und das Zweite eine Zusage, die
   die Zeile nicht einloest. .overlaytitel ist der schlichte Titel, 24px schwarz.
   DIE SEITLICHEN ABSTAENDE SIND GERECHNET, nicht geraten: .overlaytext bringt 10px
   Rand mit, .overlaytitel keinen - also 15 bzw. 5 hier, damit beide Zeilen bei 15px
   vom Kachelrand beginnen. */
/* DIE GROESSE WIRD HIER ZURUECKGENOMMEN (Roger, 01.08.2026: "wir muessen die
   fontsize reduzieren, headline 20 text 16"). Die Hausklassen sind fuer eine
   200px-Kachel bzw. ein Overlay gemacht - 24 und 18 sprengen in einer 340er Kachel
   die vier Anrisszeilen ueber den unteren Rand.
   ZWEI KLASSEN IM SELEKTOR, nicht eine: .overlaytitel und .overlaytext haben je
   eine, ein einklassiger Selektor haette also nur gewonnen, weil er zufaellig
   spaeter in der Datei steht. Genau diese Falle hat heute im News-Portal viermal
   Zeit gekostet. Schrift und Farbe kommen weiter aus dem Haus, NUR der Grad steht
   hier - und die Zeilenhoehe, weil die Klemmung sonst mit dem Vorgabewert rechnet.
   GERECHNET fuer die 440er Kachel: Bild 191 + Meta 30 + zwei Titelzeilen 50 + vier
   Anrisszeilen 92 + Abstaende 39 = 402. */
/* KEINE -webkit-line-clamp, SONDERN EINE EXAKTE MAXIMALHOEHE (01.08.2026, nach
   dreimal "noch immer abgeschnitten"). GEMESSEN im Browser, nicht hergeleitet: ein
   frisches <div style="display:-webkit-box"> direkt im <body> - ohne jeden Flex-
   Vater - kommt als flow-root an. Dieser Browser kennt den Wert nicht, damit ist
   -webkit-line-clamp hier grundsaetzlich wirkungslos, und der Anriss stand mit fuenf
   Zeilen da, obwohl clamp: 4 gesetzt war.
   ZWEI FALSCHE ERKLAERUNGEN DAVOR, beide aus dem Stylesheet hergeleitet statt
   gemessen: erst "Flex blockifiziert die Textzeilen", dann "der Browser cached das
   alte Stylesheet". Die Kachel ist seitdem display:block und die Seite haengt einen
   Cache-Buster an - beides richtig und beides nicht die Ursache.
   DIE HOEHE IST EIN GENAUES VIELFACHES DER ZEILENHOEHE, deshalb stehen hier Pixel
   und keine Faktoren: 2 x 25 und 4 x 23. Bei einem krummen Wert bliebe eine halbe
   Zeile stehen, und genau so sah der Fehler aus.
   SECHS ZEILEN, NICHT VIER (Roger: "6 zeilen passen da locker"). Gerechnet: 440
   minus Bild 191, Metazeile 29, zwei Titelzeilen 65 und 15 Innenabstand unten lassen
   140px - also sechs Zeilen zu 23px = 138. */
/* Die Hausklassen .overlaytitel/.overlaytext setzen SCHWARZ - auf dunklem Grund
   muss die Farbe also mit, sonst waere die Zeile unlesbar. Zwei Klassen im
   Selektor, aus demselben Grund wie beim Schriftgrad. Werte wie .sr-card. */
.newsbox .newshl { font-size: 20px; line-height: 25px; max-height: 50px; color: #fff; }
.newsbox .newssn { font-size: 16px; line-height: 23px; max-height: 138px; color: #cfe7ee; }
.newshl   { margin-top: 5px; padding: 0 15px; overflow: hidden; }
/* KEIN UNTERER INNENABSTAND AN DER GEKLEMMTEN ZEILE (01.08.2026, vierter Anlauf).
   overflow: hidden schneidet an der PADDING-Kante ab, nicht an der Content-Kante -
   die max-height begrenzte den Text also korrekt auf vier Zeilen, und die 15px
   Innenabstand darunter zeigten davon trotzdem noch 15 der 23 Pixel der fuenften.
   Der Abstand nach unten sitzt deshalb an der KACHEL. */
.newssn   { margin-top: 9px; padding: 0 5px; overflow: hidden; }
/* HIER STAND .newsall, ein Textlink "alle ansehen" in der .subnavigation (nur am
   01.08.2026). Roger wollte den Zeitungsknopf stattdessen NEBEN der Ueberschrift:
   "den link alles ansehen wuerde ich neben der headline news als button setzen mit
   dem newsicon". Das ist derselbe Knopf, der vorher neben der <h1> stand - er
   braucht keine eigene Klasse, .overlaybutton kann das alles. */

/* PROVIDER SET BY HAND (NEW 06.10.2026, PROJECT_NOTES section 39): its logo URL
   carries the fragment #manual (MDB_MANUAL_PROVIDER_MARK), so this one rule dims it
   on every page and in every logo renderer; footer.php adds the tooltip. */
img[src$="#manual"] {
    opacity: 0.45;
}
