/* Hotfix 18.10.2026 (Samsung Tizen 5 = Chromium 63): "inset" kennt Chrome erst ab 87 - vor jedem inset stehen deshalb top/right/bottom/left (sonst hatte z. B. der Player die Hoehe 0: nur Ton, kein Bild). */
:root {
    /* Exakt dieselben Werte wie im Standard-Skin der App (Theme.kt: Skins.NOFLIX). */
    --rot: #e50914;
    --bg: #0b0b0f;
    --flaeche: #16161c;
    --text: #eee;
    --text-dim: #9a9aa6;
    /* Nutzerbericht, 2026-09-23 ("viel zu dunkel", Android UND iPhone,
       besonders auffaellig als installierte App): OHNE dieses Signal
       vermuten Chrome/Safari, die Seite sei fuers helle Systemthema
       gebaut, und legen bei aktivem dunklen Systemthema zusaetzlich noch
       ihre EIGENE automatische Verdunkelung/Kontrastanpassung darueber -
       genau die doppelte Verdunkelung, die im Bericht zu sehen war. Sagt
       dem Browser stattdessen ausdruecklich "diese Seite ist ABSICHTLICH
       dunkel gestaltet", das unterbindet die automatische Nachverdunkelung
       zuverlaessig. */
    color-scheme: dark;
}

* { box-sizing: border-box; }

/* "Übergänge zwischen Bildschirmen" aus, siehe einstellungen.js - spiegelt animationen=false in Settings.kt. */
html.keine-animation *, html.keine-animation *::before, html.keine-animation *::after {
    transition: none !important;
    animation: none !important;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    /* Fernbedienungs-Fokus soll NIE durch einen blauen Browser-Standardring
       ersetzt/ueberdeckt werden - wir zeichnen ihn selbst (siehe .karte:focus). */
    -webkit-tap-highlight-color: transparent;
}

button, input {
    font-family: inherit;
}
/* Oldis-Design (--fs, siehe "Retro- und Oldis-Design"): auch Text ohne eigene Groesse und
   Knoepfe mit Browser-Grundgroesse wachsen mit - bei --fs 1 unveraendert 16 bzw. 13,33 px. */
body { font-size: calc(1rem * var(--fs, 1)); }
button { font-size: calc(13.3333px * var(--fs, 1)); }

a {
    color: inherit;
    text-decoration: none;
}

/* Ohne !important gewinnt Google Fonts' eigenes material-icons-Stylesheet
   (setzt "display: inline-block" auf .material-icons) gegen das
   "hidden"-Attribut - Elemente mit beiden blieben dadurch sichtbar, obwohl
   sie per element.hidden=true versteckt werden sollten (gefunden beim
   Testen: Gesehen-Haken zeigte sich bei JEDER Folge, unabhaengig vom
   echten Status). */
[hidden] { display: none !important; }

/* ---------------------------------------------------------------------
   Login
   --------------------------------------------------------------------- */

.login-buehne {
    min-height: 100vh;
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.login-kopf {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-gross { font-size: calc(2.8rem * var(--fs, 1)); }

.version {
    color: var(--text-dim);
    margin: .3rem 0 0;
    font-size: calc(.9rem * var(--fs, 1));
}

.fehler {
    color: var(--rot);
    font-size: calc(.9rem * var(--fs, 1));
}

.zurueck-hinweis { text-align: center; margin-bottom: 1.2rem; }
.zurueck-hinweis a { color: var(--text-dim); text-decoration: none; font-size: calc(.9rem * var(--fs, 1)); }
.zurueck-hinweis a:hover, .zurueck-hinweis a:focus { color: var(--text); }

.fehler-mittig {
    text-align: center;
    margin-bottom: 1.5rem;
}

.spalten-titel {
    text-align: center;
    font-size: calc(1.2rem * var(--fs, 1));
    font-weight: 500;
    margin: 0 0 1.4rem;
}

/* Zwei Spalten nebeneinander ab Tablet-Breite aufwaerts - genau wie am
   Fernseher/auf dem Tablet in der App. Auf dem Handy stapelt sich das
   (siehe Media Query unten), Passwort unter Quick Connect, mit einem
   waagerechten statt senkrechten Teiler. */
.login-spalten {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.login-spalte {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.login-teiler {
    align-self: stretch;
    width: 1px;
    background: #2a2a2a;
}

/* QR-Code fuehrt direkt zur Bestaetigungsseite auf noflix.app, MIT dem
   Code in der URL - kein Abtippen der 6 Ziffern auf dem Handy noetig
   (siehe quickconnect.js::zeichneQr()). Bewusst IMMER auf weissem Grund,
   unabhaengig vom gewaehlten Skin/Design - ein QR-Code auf dunklem Grund
   waere je nach Kontrast schlechter/gar nicht scannbar. */
.qc-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.2rem;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
}
.qc-qr svg { display: block; width: 100%; height: 100%; }
.qc-qr:empty { display: none; }

.qc-code {
    color: var(--rot);
    font-size: calc(2.2rem * var(--fs, 1));
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 1.2rem;
}
/* Ohne QR-Code (z.B. Bibliothek nicht geladen) darf die Ziffernfolge
   ruhig wieder die grosse, alleinstehende Schrift von vorher haben. */
.qc-qr:empty + .qc-code {
    font-size: calc(3.2rem * var(--fs, 1));
}

.qc-hinweis {
    color: var(--text-dim);
    font-size: calc(.9rem * var(--fs, 1));
    line-height: 1.5;
    margin: 0 0 1rem;
}

/* "Weiter als ..." - Mehrkonten-Reihe auf der Anmeldeseite, spiegelt
   LoginScreen.kt (schlichte benannte Knoepfe, kein Profilbild dort). */
.weiter-als { text-align: center; margin-bottom: 2rem; }
.weiter-als-titel { color: var(--text-dim); font-size: calc(.9rem * var(--fs, 1)); margin: 0 0 .8rem; }
.weiter-als-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.weiter-als-knopf {
    display: inline-block;
    background: rgba(255,255,255,.1);
    color: var(--text);
    border: 1px solid #333;
    border-radius: 8px;
    padding: .6rem 1.3rem;
    font-size: calc(.95rem * var(--fs, 1));
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.weiter-als-knopf:hover, .weiter-als-knopf:focus { border-color: var(--rot); background: var(--rot); outline: none; }

.link-knopf {
    background: none;
    border: none;
    color: var(--text-dim);
    font-weight: 600;
    font-size: calc(.9rem * var(--fs, 1));
    cursor: pointer;
    padding: 0;
}

.link-knopf:focus { outline: 2px solid var(--rot); }

.passwort-form input[type="text"],
.passwort-form input[type="password"] {
    width: 100%;
    padding: .7rem;
    margin-bottom: .8rem;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text);
    font-size: calc(1rem * var(--fs, 1));
}

.passwort-form input:focus {
    outline: 2px solid var(--rot);
    outline-offset: 1px;
}

.passwort-form button {
    width: 100%;
    padding: .8rem;
    background: var(--rot);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: calc(1rem * var(--fs, 1));
    cursor: pointer;
}

.passwort-form button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.merken {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: calc(.85rem * var(--fs, 1));
    color: var(--text-dim);
    margin-bottom: .8rem;
}

.merken input { width: auto; margin: 0; }

@media (max-width: 720px) {
    /* Ohne dieses align-items bleibt "flex-start" von der Zeilen-Ansicht
       aktiv - im Spalten-Modus ist das dann die Querachse (waagerecht),
       jede Spalte schrumpft auf ihre Inhaltsbreite und haengt links, statt
       ueber die volle Breite zentriert zu sein. */
    .login-spalten { flex-direction: column; align-items: stretch; }
    .login-teiler { width: 100%; height: 1px; margin: .5rem 0; }
    .qc-code { font-size: calc(1.9rem * var(--fs, 1)); }
    .qc-qr:empty + .qc-code { font-size: calc(2.6rem * var(--fs, 1)); }
}

/* ---------------------------------------------------------------------
   Logo (ueberall gleich: rotes N, Rest weiss)
   --------------------------------------------------------------------- */

.logo {
    display: inline-flex;
    align-items: center;
    font-size: calc(1.6rem * var(--fs, 1));
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0;
    white-space: nowrap;
    border-radius: 8px;
}

/* Der Schriftzug ist jetzt ein regulaerer Fernbedienungs-Stopp in der
   Kopfzeile (siehe gemeinsam.js Fokus-Navigation) - braucht deshalb einen
   eigenen, klar sichtbaren Fokusring. */
.logo:focus { outline: none; box-shadow: 0 0 0 3px var(--rot); }

.logo span { color: var(--rot); }

/* ---------------------------------------------------------------------
   NOFLIX-Schriftzug als Vektor - siehe noflix_wordmark.xml in der App:
   "Für Text/Compose-Text ist kein System-Font annähernd so eckig wie
   diese handgezeichneten Blockbuchstaben" - deshalb hier dieselben Pfade
   als SVG statt eines Font-Texts (Nutzerwunsch: genauso eckig wie in der
   App). "N" bleibt wie schon vorher separat in der Akzentfarbe, der Rest
   in der normalen Textfarbe - das war schon vor dieser Aenderung so.
   --------------------------------------------------------------------- */
.logo-eckig { height: 1.55rem; width: auto; display: block; flex-shrink: 0; } /* x62/60: Buchstaben gleich gross wie vorher */
.logo-eckig .logo-n { fill: var(--rot); }
/* Fingerdetails der OK-Hand: Akzentfarbe 38 % Richtung Schwarz (bei #E50914 -> #8E0710). */
.logo-eckig .logo-hand-detail { fill: #8E0710; }
@supports (color: color-mix(in srgb, red, red)) { .logo-eckig .logo-hand-detail { fill: color-mix(in srgb, var(--rot) 62%, #000); } }
.logo-eckig .logo-buchstabe { fill: var(--text); }
.logo-gross .logo-eckig { height: 2.69rem; }

/* ---------------------------------------------------------------------
   Grundgeruest: Seitenleiste (Fernseher/Desktop) + Hauptbereich.
   Am Handy verschwindet die Seitenleiste, die gleichen Sprungziele stehen
   dann in der unteren Navigationsleiste - siehe Media Query unten sowie
   LinkeNavigation.kt/TopMenu.kt in der App fuer das Vorbild.
   --------------------------------------------------------------------- */

.app-schale {
    display: flex;
    min-height: 100vh;
    min-height: calc(100vh / var(--nx-zoom, 1)); /* zoom: siehe .seitenleiste */
}

.hauptbereich {
    flex: 1;
    min-width: 0;
    /* Installierte App im Vollbild bzw. iPhone quer (beta29): sitzt die
       Kamera rechts, rueckt der Inhalt um den Sicherheitsabstand ein -
       links tut das die Seitenleiste. Ohne Notch ist env(...) 0. */
    padding-right: env(safe-area-inset-right, 0px);
}

/* !important noetig: .nur-schmal/.nur-breit sind reine Sichtbarkeits-
   Utility-Klassen, die auf Elemente mit EIGENER display-Regel treffen
   (.icon-knopf/.nav-avatar setzen selbst display:flex, stehen im
   Stylesheet aber NACH hier - bei gleicher Spezifitaet gewinnt sonst die
   spaetere Regel und die Utility-Klasse wird wirkungslos ignoriert, genau
   das live gefunden: #fernbedienung-knopf/#profil-knopf-schmal blieben
   trotz .nur-schmal auch am Fernseher/Desktop sichtbar). */
.nur-schmal { display: none !important; }

/* ---------------------------------------------------------------------
   Seitenleiste
   --------------------------------------------------------------------- */

.seitenleiste {
    width: 72px;
    width: calc(72px + env(safe-area-inset-left, 0px));
    flex: 0 0 auto;
    /* Schwarz bei 80% Deckkraft statt voll deckendem var(--bg) - Nutzerwunsch
       (2026-09-19), gilt einheitlich fuer alle drei Leisten (hier, .kopf,
       .untere-nav weiter unten). */
    background: rgba(0,0,0,.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    padding-left: 0px; padding-left: env(safe-area-inset-left, 0px);
    position: sticky;
    top: 0;
    /* 100vh bezieht sich in Safari auf den GROESSTEN moeglichen Sichtbereich
       (eingeklappte Adressleiste) - bei sichtbarer Adressleiste ragt die
       Leiste dadurch ueber den tatsaechlich sichtbaren Bereich hinaus, das
       unterste Element (Profil-Knopf) kann so am iPad im Querformat
       ausserhalb landen (2026-09-20, per Code-Audit gefunden). 100dvh
       (dynamische Sichtbereich-Hoehe) danach als Verbesserung fuer Browser,
       die es kennen - 100vh bleibt als Ausweichwert fuer alle anderen. */
    height: 100vh;
    height: 100dvh;
    /* Vergroesserung per zoom (grosse Bildschirme unten, Anzeigegroesse): Chrome rechnet vh/dvh mal
       zoom - die Leiste wurde hoeher als das Fenster, das Profilbild unten sah man erst am Seitenende
       (beta83, Nutzerbericht 11.10.2026, 21:9-Monitor). --nx-zoom = wirksamer Faktor, setzt
       gemeinsam.js::zoomAusgleich() gemessen, die Werte bei den zoom-Regeln gelten bis dahin.
       Passen die Symbole dann nicht ins Fenster, scrollt nur .nav-oben, das Profilbild bleibt stehen. */
    height: calc(100vh / var(--nx-zoom, 1));
}
@supports (height: 1dvh) { .seitenleiste { height: calc(100dvh / var(--nx-zoom, 1)); } }

.nav-oben {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 10px -> 4px und Symbole 48 -> 42px hoch (2.2.2-beta2, Nutzerwunsch): mehr Symbole passen ins Fenster, auch
       wenn es niedrig ist. 4px = so weit wie der Fokus-Ring (box-shadow 4px) ueber das Symbol hinausragt. */
    gap: 4px;
    overflow-y: auto;
    /* Puffer fuer den Fokus-Ring: .nav-symbol:focus ragt per box-shadow +
       transform:scale() etwas ueber die eigene Boundingbox hinaus - ohne
       diesen Rand schneidet overflow-y:auto (siehe Begruendung direkt
       darunter) genau das oberste/unterste Symbol am Ring ab, sobald es
       ganz an den Rand gescrollt ist (Nutzer-Fund, 2026-09-20, live am
       Fire TV Stick: "der rote Rahmen sieht abgehackt aus"). Seitlich ebenso (2.2.2-beta2): overflow-y:auto macht
       auch overflow-x zu auto, die Spalte war nur so breit wie die Symbole - links/rechts fehlte der Ring. */
    padding: 8px 6px;
    /* .nav-symbol:focus vergroessert das fokussierte Icon per transform:
       scale() - Transforms zaehlen bei modernen Browsern in die "scrollable
       overflow"-Berechnung mit hinein, auch wenn sie das normale Layout gar
       nicht veraendern. Ohne overflow-y:auto waere KEIN Scrollen noetig -
       das hier ist also nie eine echte, gewollte Scroll-Situation (anders
       als bei .reihen, wo bewusst eine duenne sichtbare Leiste bleibt) und
       bekommt deshalb eine komplett unsichtbare Scrollleiste statt der
       haesslichen, unstyled System-Variante, die sonst kurz beim Fokussieren
       aufblitzte.
     */
    scrollbar-width: none;
}
.nav-oben::-webkit-scrollbar { display: none; }

.nav-symbol {
    width: 48px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 14px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-symbol .material-icons { font-size: 24px; }

.nav-symbol:hover,
.nav-symbol:focus {
    background: var(--rot);
    color: #fff;
    outline: none;
}

/* Fokus per Fernbedienung braucht mehr als nur Rot-statt-Rot (aktiv+fokus
   sehen sonst identisch aus) - ein heller Ring als zweites Merkmal.
   KEIN transform:scale() mehr (siehe .karte:focus fuer die ausfuehrliche
   Begruendung - live auf dem Fire TV Stick gefunden, 2026-09-20: liess den
   Ring nur noch an einer Seite erscheinen, ueberall wo gleichzeitig
   skaliert wurde). */
.nav-symbol:focus {
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--rot);
    /* Ring ueber den Nachbarn zeichnen - bei engem Abstand malte sonst ein aktiv hinterlegter Nachbar darueber */
    position: relative;
    z-index: 1;
}

/* Niedrige Fenster (kleiner Monitor, Fernseher mit grosser Anzeige, 2.2.2-beta2): Leiste noch enger, damit alle
   Symbole samt Profilbild ohne Scrollen hineinpassen. */
@media (max-height: 600px) {
    .seitenleiste { padding-top: 8px; padding-bottom: 8px; }
    .nav-oben { gap: 2px; }
    .nav-symbol { height: 36px; }
    .nav-symbol .material-icons { font-size: 22px; }
    .nav-avatar { width: 40px; height: 40px; }
}

.nav-symbol.aktiv { color: var(--rot); background: var(--flaeche); }
.nav-symbol.aktiv:hover, .nav-symbol.aktiv:focus { color: #fff; background: var(--rot); }

.nav-buchstabe { font-size: calc(17px * var(--fs, 1)); font-weight: 900; }

.nav-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--flaeche);
    /* var(--text) statt festem Weiss - sonst unsichtbar im Hell-Design,
       wo --flaeche selbst fast weiss ist (live gefunden beim Testen). */
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: calc(17px * var(--fs, 1));
    cursor: pointer;
    border: none;
    flex: 0 0 auto;
    overflow: hidden;
    text-decoration: none;
}

/* Echtes Profilbild statt nur des Buchstabens, siehe ProfilKnopf()/
   ProfilNavSymbol() in der App. */
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

.nav-avatar:hover, .nav-avatar:focus { background: var(--rot); outline: none; }
/* Kein transform:scale() - siehe .karte:focus fuer die Begruendung. */
.nav-avatar:focus { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--rot); }

/* ---------------------------------------------------------------------
   Kopfzeile
   --------------------------------------------------------------------- */

.kopf {
    padding: 24px 32px 8px;
    /* Zusaetzlich der echte Sicherheitsabstand zur Notch/Dynamic Island,
       falls vorhanden (env(...) faellt sonst auf 0px zurueck - andere
       Geraete bleiben unveraendert). viewport-fit=cover (im <head> jeder
       Seite gesetzt) erlaubt Inhalt ueberhaupt erst bis unter den Rand zu
       reichen - ohne dieses Padding wuerde Logo/Begruessung dort teils
       unter der Notch verschwinden (2026-09-20, per Code-Audit gefunden). */
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    position: sticky;
    top: 0;
    /* Schwarz bei 80% Deckkraft statt voll deckendem var(--bg) (Nutzerwunsch,
       2026-09-19, siehe .seitenleiste) - bleibt trotzdem deckend GENUG, dass
       der Reiheninhalt beim Scrollen nicht klar lesbar unter Logo/Begruessung
       durchscheint (urspruengliche Begruendung fuer "deckend statt
       durchsichtig", siehe Nutzer-Screenshot "Sers, Garage!" ueberlagerte
       eine Karte). */
    background: rgba(0,0,0,.88);
    /* Unschaerfe fuer das, was beim Scrollen durchscheint (Nutzerwunsch
       2026-09-29): vorher schimmerte z.B. das Android-App-Banner als
       lesbarer Text ("App installieren") hinter Logo/Suchfeld durch -
       jetzt nur noch als verschwommene Farbflaeche. .kopf enthaelt keine
       position:fixed-Kinder, der neue Bezugsrahmen stoert also nichts. */
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    z-index: 10;
}

.kopf-oben {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.kopf-symbole {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.begruessung { display: none; }

.such-leiste {
    display: flex;
    align-items: center;
    gap: .6rem;
    /* Steht DIREKT in .kopf-oben (siehe teil_kopf_oben.php) - spiegelt
       TopMenu.kt: SuchLeiste() lebt in derselben Row wie Logo/Symbole,
       ABER rechts buendig direkt VOR Zufall/Feed/Profil, nicht in der
       Mitte auf voller Breite (TopMenu.kt: Logo -> Spacer(weight=1f) ->
       Row(SuchLeiste, Zufall, Feed, Profil) - Nutzerwunsch, 2026-09-20:
       "direkt links neben dem Zufalls Button"). Feste Breite statt
       flex:1 + eigenes margin-left:auto schiebt die Leiste UND alles
       danach zusammen nach rechts, statt die ganze Mitte zu fuellen.
       min-width verhindert ein zu weites Zusammenschrumpfen auf
       mittelbreiten Bildschirmen. */
    flex: 0 1 320px;
    min-width: 180px;
    margin-left: auto;
    padding: .55rem 1rem;
    border-radius: 22px;
    background: var(--flaeche);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--text-dim);
    box-sizing: border-box;
}

.such-leiste:focus-within {
    border-color: var(--rot);
    background: rgba(229,9,20,.2); /* Akzentfarbe statt festem Rot (beta101) */
    color: #fff;
}
@supports (color: color-mix(in srgb, red, red)) { .such-leiste:focus-within { background: color-mix(in srgb, var(--rot) 20%, transparent); } }

.such-leiste .material-icons { font-size: 20px; }

.such-leiste input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    color: inherit;
    font-size: calc(.95rem * var(--fs, 1));
}

.such-leiste input::placeholder { color: var(--text-dim); }

.such-leiste .such-platzhalter {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    color: var(--text-dim);
    font-size: calc(.95rem * var(--fs, 1));
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    padding: 0;
}
/* Sprachsuche (App v5.4.1-beta27, gemeinsam.js): Mikrofon rechts in der Suchleiste, beim Zuhoeren rot pulsierend */
.such-leiste .such-platzhalter, .such-leiste input { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.such-leiste .such-mikro {
    flex: 0 0 auto; width: 32px; height: 32px; margin: -6px -.6rem -6px 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; font: inherit;
    -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, color .15s ease;
}
.such-leiste .such-mikro .material-icons { font-size: 21px; }
/* (2.2.2-beta11, Pruefung 15.10.) Selektorlisten mit :focus-visible/:focus-within/:has
   sind in eigene Regeln mit gleichem Inhalt getrennt ("getrennt"): Engines ohne diese
   Pseudoklasse (Tizen 4/Chromium 56, alte Fire-TV-Webansicht) verwerfen sonst die
   ganze Liste samt html[data-eingabe="taste"]-Ersatz und :hover. */
html[data-eingabe="taste"] .such-leiste .such-mikro:focus { background: #fff; color: #111114; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .such-leiste .such-mikro:focus-visible { background: #fff; color: #111114; outline: none; }
@media (hover: hover) { .such-leiste .such-mikro:hover { background: rgba(255,255,255,.16); color: #fff; } }
html[data-skin="HELL"] .such-leiste .such-mikro:hover { background: rgba(0,0,0,.08); color: #14141a; }
.such-leiste.hoert { border-color: var(--rot); color: #fff; }
html[data-skin="HELL"] .such-leiste.hoert { color: #14141a; }
.such-leiste.hoert .such-mikro { background: var(--rot); color: #fff; animation: such-mikro-puls 1.3s ease-out infinite; }
@keyframes such-mikro-puls {
    0% { box-shadow: 0 0 0 0 rgba(229,9,20,.55); box-shadow: 0 0 0 0 color-mix(in srgb, var(--rot) 55%, transparent); }
    100% { box-shadow: 0 0 0 9px rgba(229,9,20,0); box-shadow: 0 0 0 9px color-mix(in srgb, var(--rot) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .such-leiste.hoert .such-mikro { animation: none; } }
html.keine-animation .such-leiste.hoert .such-mikro { animation: none; }
/* Suche nach Entwurf D (App v5.5.1-beta6): in der Pille ✕ (leeren) und ✨ KI-Suche mit Farbring vor dem Mikrofon.
   Wartet die KI auf eine Beschreibung, leuchtet die Pille lila. Auf der Suchseite etwas breiter. */
.mit-farbschleier .such-leiste.mit-ki { flex-basis: 460px; }
.such-leiste .such-leeren, .such-leiste .such-ki {
    flex: 0 0 auto; width: 32px; height: 32px; margin: -6px 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: none; color: var(--text-dim); cursor: pointer; font: inherit;
    -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, color .15s ease;
}
.such-leiste .such-leeren[hidden] { display: none; }
.such-leiste .such-leeren .material-icons { font-size: 19px; }
html[data-eingabe="taste"] .such-leiste .such-leeren:focus { background: var(--rot); color: #fff; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .such-leiste .such-leeren:focus-visible { background: var(--rot); color: #fff; outline: none; }
@media (hover: hover) { .such-leiste .such-leeren:hover { background: rgba(255,255,255,.14); color: #fff; } }
.such-leiste .such-ki {
    width: 34px; height: 34px; padding: 1.6px;
    background: conic-gradient(#16B86A, #14A8B0, #2F63E8, #7A3FD8, #E0703A, #D9A93A, #16B86A);
}
.such-leiste .such-ki:last-child { margin-right: -.6rem; }
.such-leiste .such-ki-innen {
    width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(16,16,20,.94); color: #C9C2FF; transition: background-color .15s ease, color .15s ease;
}
.such-leiste .such-ki .material-icons { font-size: 17px; }
.such-leiste .such-ki.bereit { padding: 2.5px; }
.such-leiste .such-ki.bereit .such-ki-innen { background: #2A2340; color: #B9AEFF; }
.such-leiste .such-ki.sucht .such-ki-innen { color: #B9AEFF; }
html[data-eingabe="taste"] .such-leiste .such-ki:focus .such-ki-innen { background: var(--rot); color: #fff; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .such-leiste .such-ki:focus-visible .such-ki-innen { background: var(--rot); color: #fff; }
.such-leiste .such-ki:focus { outline: none; }
@media (hover: hover) { .such-leiste .such-ki:hover .such-ki-innen { background: #2A2340; color: #fff; } }
.such-leiste.ki-bereit { border-color: #9C8CFF; box-shadow: 0 0 16px rgba(156,140,255,.45); }
.such-leiste.ki-bereit:focus-within { border-color: #9C8CFF; background: rgba(122,63,216,.22); }
html[data-skin="HELL"] .such-leiste .such-ki-innen { background: #fff; color: #5b4bd6; }

/* KI-Lupe (2.4.1-beta2, Nutzerwunsch 23.10.2026): eigener runder Knopf rechts neben der Suchleiste - Lupe mit "KI" im
   Glas, Farbring wie der ✨-Knopf. Oeffnet das Empfehlungsfenster (ki_lupe.js). */
.kopf-oben .ki-lupe-knopf { flex: 0 0 auto; margin-left: -14px; }
html.ohne-flexgap.ohne-flexgap.ohne-flexgap.ohne-flexgap .kopf-oben > .ki-lupe-knopf { margin-left: 10px; }
.icon-knopf.ki-lupe-knopf, .icon-knopf.ki-lupe-knopf:hover, .icon-knopf.ki-lupe-knopf:focus, .ff-ki-lupe .ki-lupe-rund {
    padding: 2px; border-radius: 50%; -webkit-tap-highlight-color: transparent;
    background: conic-gradient(#16B86A, #14A8B0, #2F63E8, #7A3FD8, #E0703A, #D9A93A, #16B86A);
}
.ki-lupe-innen {
    position: relative; width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(16,16,20,.94); color: #C9C2FF; transition: background-color .15s ease, color .15s ease;
}
.ki-lupe-innen .material-icons { font-size: 26px; }
/* Mitte des Lupenglases im Material-Symbol: 2,6 px links/oberhalb der Symbolmitte (bei 26 px) */
.ki-lupe-kuerzel {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: -2.6px 0 0 -2.6px;
    font: 800 7px/1 Arial, Helvetica, sans-serif; letter-spacing: -.2px; color: #fff; pointer-events: none;
}
.icon-knopf.ki-lupe-knopf:focus { outline: none; box-shadow: none; }
html[data-eingabe="taste"] .ki-lupe-knopf:focus .ki-lupe-innen { background: var(--rot); color: #fff; }
/* getrennt (Chromium 56/69) */ .ki-lupe-knopf:focus-visible .ki-lupe-innen { background: var(--rot); color: #fff; }
@media (hover: hover) { .ki-lupe-knopf:hover .ki-lupe-innen { background: #2A2340; color: #fff; } }
html[data-skin="HELL"] .ki-lupe-innen { background: #fff; color: #5b4bd6; }
html[data-skin="HELL"] .ki-lupe-kuerzel { color: #5b4bd6; }
@media (min-width: 641px) {
    html[data-skin="RETRO"] .kopf-oben .ki-lupe-knopf, html[data-skin="OLDIS"] .kopf-oben .ki-lupe-knopf,
    html.ohne-flexgap.ohne-flexgap.ohne-flexgap.ohne-flexgap[data-skin="RETRO"] .kopf-oben > .ki-lupe-knopf,
    html.ohne-flexgap.ohne-flexgap.ohne-flexgap.ohne-flexgap[data-skin="OLDIS"] .kopf-oben > .ki-lupe-knopf { margin-left: auto; }
}

.glocke-abzeichen {
    position: absolute;
    top: 2px; right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 8px;
    background: var(--rot);
    color: #fff;
    font-size: calc(.62rem * var(--fs, 1));
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.icon-knopf {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.icon-knopf:hover, .icon-knopf:focus { background: var(--rot); color: #fff; outline: none; }
/* Kein transform:scale() - siehe .karte:focus fuer die Begruendung. */
.icon-knopf:focus { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--rot); }

/* ---------------------------------------------------------------------
   Reihen + Karten
   --------------------------------------------------------------------- */

.reihen {
    /* padding-top: ohne den lag der erste Inhalt (Admin-Banner ODER, ist
       der schon weggeklickt/keiner gesetzt, direkt das "Bald im Kino"-Banner)
       mit 0px Abstand DIREKT an der Unterkante der sticky Kopfzeile - im
       Hochformat wirkte das wie ein Verdecken (Nutzer-Fund, 2026-09-19:
       "Banner ist ein bisschen von der Leiste oben verdeckt"). */
    padding: 20px 32px 3rem;
    /* position+z-index noetig, damit dieses Element einen eigenen
       Stapelkontext eroeffnet - sonst "entkommt" das z-index:-1 des
       Hero-Hintergrunds bis zur Wurzel, siehe exakt dieselbe Begruendung
       bei .detail-inhalt weiter unten. */
    position: relative;
    z-index: 0;
}

/* ---------------------------------------------------------------------
   Startbildschirm - Fanart des fokussierten Titels als Hintergrund,
   siehe HeroBackground.kt in der App. Abschaltbar in den Einstellungen
   (Personalisieren -> Hintergrundbild), Dimmung dort ebenfalls einstellbar
   (0-100%, Vorgabe 40%) - beides per app.js/einstellungen.js verdrahtet.
   --------------------------------------------------------------------- */

.hero-hintergrund {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: 72px; /* siehe .detail-hintergrund fuer die Seitenleisten-Begruendung */
    left: calc(72px + env(safe-area-inset-left, 0px));
    overflow: hidden;
    z-index: -1;
}

.hero-hintergrund-bild {
    /* absolut gestapelt: beim Wechsel liegen kurz altes und neues Bild
       uebereinander (app.js heroWechseln). */
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
}

.hero-verlauf {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
}

/* Grundbild ohne gewaehlten Titel (siehe app.js "mit-mosaik"): Cover-Wand
   mit Logo statt Schwarz. ::before liegt im DOM vor dem Fanart-<img> und
   damit darunter; die Dimmung (.hero-verlauf) wirkt auf beides. */
.hero-hintergrund.mit-mosaik::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: #000 url('assets/hintergrund_mosaik.jpg?v=1') center / cover no-repeat;
    animation: hero-mosaik-rein .8s ease both;
}
@media (max-width: 1000px) {
    .hero-hintergrund.mit-mosaik::before { background-image: url('assets/hintergrund_mosaik_klein.jpg?v=1'); }
}
@keyframes hero-mosaik-rein { from { opacity: 0; } to { opacity: 1; } }

.lade-hinweis { color: var(--text-dim); }
/* Platzhalter beim Laden (beta100, Nutzerwunsch): statt "Lade …" unter der Kopfzeile dreht die Hand im Logo
   (gemeinsam.js logoLaden) - der Platzhalter selbst bleibt unsichtbar. Ohne Logo ("Wer schaut gerade?") zeigt er
   die kleine drehende Hand. */
.lade-platzhalter { display: block; height: 0; margin: 0; overflow: visible; }
.lade-platzhalter:not(:empty) { height: auto; display: flex; justify-content: center; padding: 28px 0; }

.reihe {
    margin-bottom: 2rem;
}

/* ---------------------------------------------------------------------
   Filme/Serien-Raster - siehe BrowseScreen.kt.
   --------------------------------------------------------------------- */

.browse-titel { font-size: calc(1.6rem * var(--fs, 1)); margin: .5rem 0 1.2rem; }

.browse-rahmen { display: flex; gap: 1.5rem; align-items: flex-start; }

/* ---- "Deine Watchlists"-Banner (Entdecken) - spiegelt DeinWatchlistBanner() in EntdeckenScreen.kt ---- */
.entdecken-watchlist-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--flaeche);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
    text-decoration: none;
    color: var(--text);
}
.entdecken-watchlist-banner:hover, .entdecken-watchlist-banner:focus { outline: 2px solid var(--rot); }
.entdecken-watchlist-banner > .material-icons:first-child {
    background: rgba(229,9,20,.18);
    color: var(--rot);
    border-radius: 12px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
@supports (color: color-mix(in srgb, red, red)) { .entdecken-watchlist-banner > .material-icons:first-child { background: color-mix(in srgb, var(--rot) 18%, transparent); } }
.entdecken-watchlist-banner strong { display: block; font-size: calc(1.05rem * var(--fs, 1)); }
.entdecken-watchlist-banner small { display: block; color: var(--text-dim); font-size: calc(.85rem * var(--fs, 1)); margin-top: .15rem; }
.entdecken-watchlist-banner > span:nth-child(2) { flex: 1; min-width: 0; }
.entdecken-watchlist-banner > .material-icons:last-child { color: var(--text-dim); flex-shrink: 0; }
.entdecken-watchlist-banner[hidden] { display: none; }

/* Seh-Stände (App v5.4.1-beta9/-beta14, SehstandScreen.kt): Profile je Konto waagerecht, darunter die Reihen;
   fuer Admins unter jeder Kachel "zuletzt geschaut" - die Zeile macht die Kachel nicht breiter */
.seh-profile { margin: 0 0 1.4rem; }
.seh-profil-leiste { display: flex; gap: 28px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: thin; }
.seh-konto { flex: 0 0 auto; }
.seh-konto-titel { color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); font-weight: 600; margin: 0 0 8px; white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.seh-konto-profile { display: flex; gap: 12px; }
.seh-profil { flex: 0 0 auto; }
.seh-kachel { display: flex; flex-direction: column; flex: 0 0 auto; }
.seh-zeit {
    display: flex; align-items: center; gap: 6px; width: 0; min-width: 100%; margin-top: 8px; padding-left: 2px;
    color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); white-space: nowrap; overflow: hidden;
}
.seh-zeit span:last-child { overflow: hidden; text-overflow: ellipsis; }
.seh-zeit .material-icons { font-size: calc(15px * var(--fs, 1)); flex: 0 0 auto; }
.seh-hinweis { color: var(--text-dim); font-size: calc(17px * var(--fs, 1)); }
.seh-hinweis-fehler { color: var(--rot); }
.seh-lader { display: flex; justify-content: center; align-items: center; height: 160px; }
.seh-lader .ok-hand-lader { width: 48px; height: 48px; }

.browse-raster {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(160px * var(--kachel, 1)), 1fr));
    gap: 16px 18px;
}
/* Karten fuellen ihre Rasterspalte. .karte hat sonst eine feste Breite
   (170px, fuer die waagerechten Baender) - in schmaleren Spalten (132px bei
   1920px Breite) ueberlappten sich die Cover dadurch um ~20px und die
   letzte Spalte ragte rechts ueber den Rand (Fund 2026-10-01). */
.browse-raster > .karte { width: auto; min-width: 0; }

.buchstaben-leiste {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Rechts neben dem Raster wie in der App (BrowseScreen.kt) - am Handy
       im Hochformat weiter waagerecht oben (siehe Media Query unten). */
    order: 2;
    width: 48px;
    gap: 3px;
    /* Immer erreichbar bleiben, auch tief unten im Raster gescrollt (Nutzer-
       Fund, 2026-09-20: "die A-Z Leiste soll immer erreichbar sein") -
       bleibt wie die Kopfzeile selbst (.kopf, siehe dort) am oberen Rand
       kleben, sobald man daran vorbeigescrollt ist. Offset entspricht der
       echten Kopfzeilenhoehe (24px oben + 44px Symbolreihe + 8px unten,
       siehe .icon-knopf), damit sie direkt darunter andockt statt darunter
       zu verschwinden. */
    position: sticky;
    /* --kopf-hoehe misst gemeinsam.js live an der echten Kopfzeile. */
    top: var(--kopf-hoehe, calc(88px + env(safe-area-inset-top, 0px)));
    /* Wenn nicht alle Buchstaben auf einen Blick passen, EIGENSTAENDIG
       scrollbar bleiben statt abgeschnitten zu werden. */
    max-height: calc(100vh - var(--kopf-hoehe, 88px) - 24px);
    /* Unter zoom (Fernseher, Anzeigegroesse) rechnet Chrome vh mal zoom - die Leiste ragte unten aus dem Fenster
       (W-Z unsichtbar, beta99). --nx-zoom gleicht aus wie bei .seitenleiste. */
    max-height: calc(100vh / var(--nx-zoom, 1) - var(--kopf-hoehe, 88px) - 24px);
    overflow-y: auto;
    /* Eigener Hintergrund, sonst scheinen die Cover beim Scrollen durch die
       Zwischenraeume der (selbst transparenten) Buchstaben-Knoepfe durch. */
    background: var(--bg);
    z-index: 5;
}

.buchstaben-leiste button {
    width: 38px;
    height: 38px;
    border-radius: 19px;
    border: none;
    background: none;
    color: var(--text-dim);
    font-weight: 600;
    font-size: calc(.95rem * var(--fs, 1));
    cursor: pointer;
}

.buchstaben-leiste button:first-child { width: auto; padding: 0 .55rem; border-radius: 15px; font-size: calc(.85rem * var(--fs, 1)); }
.buchstaben-leiste[hidden] { display: none; }

.buchstaben-leiste button:hover, .buchstaben-leiste button:focus { background: var(--rot); color: #fff; outline: none; }
.buchstaben-leiste button.aktiv { background: var(--flaeche); color: var(--text); }
/* .aktiv (z.B. "Alle" als Standardauswahl) hatte dieselbe Regel-Spezifitaet
   wie :focus und stand im Stylesheet SPAETER - dadurch verschwand der rote
   Fokusring komplett, sobald man per Fernbedienung/Tab genau auf "Alle"
   stand (Nutzer-Fund, 2026-09-20). Gleiche Technik wie schon bei
   .marvel-kachel.gesehen:focus - Fokus muss IMMER gewinnen. */
.buchstaben-leiste button.aktiv:focus { background: var(--rot); color: #fff; }

@media (max-width: 640px) {
    .browse-rahmen { flex-direction: column; }
    .buchstaben-leiste {
        flex-direction: row;
        order: 0;
        align-items: stretch;
        /* Am Handy (Hochformat) ist die Kopfzeile niedriger (14+38+10px,
           siehe .kopf/.icon-knopf weiter oben in dieser Media Query) - der
           Sticky-Versatz von der breiten Ansicht passt hier nicht. */
        top: var(--kopf-hoehe, calc(62px + env(safe-area-inset-top, 0px)));
        max-height: none;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: .4rem;
        background: var(--bg);
        z-index: 5;
    }
    .buchstaben-leiste button { flex: 0 0 auto; }
    .browse-raster { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(104px * var(--kachel, 1)), 1fr)); gap: 12px; width: 100%; }
    /* Platz frei halten, bis die Buchstaben da sind (browse.js, 2.1.1-beta7) - sonst rutscht das Raster nach unten */
    .buchstaben-leiste.laedt:empty { min-height: calc(38px + .4rem); }
}

/* Querformat-Handy/Tablet - eigener Zwischenschritt zwischen der schmalen
   Handy-Ansicht (oben) und echtem Desktop/Fernseher: A-Z-Kacheln UND
   Cover-Abstaende wirkten hier bisher zu klein/eng, da fuer diesen
   Breitenbereich bislang einfach die (fuer sehr breite Bildschirme
   gedachte) Standardregel weitergalt (Nutzer-Fund, 2026-09-20, Screenshot
   im Querformat: "A-Z Leisten ein bisschen zu klein und zu eng
   aneinander", "Cover überlappend und zu eng aneinander"). */
@media (min-width: 641px) and (max-width: 1300px) {
    .buchstaben-leiste { gap: 6px; }
    .buchstaben-leiste button { width: 42px; height: 42px; border-radius: 21px; font-size: calc(1.05rem * var(--fs, 1)); }
    .browse-raster { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(150px * var(--kachel, 1)), 1fr)); gap: 22px 26px; }
}

/* ---------------------------------------------------------------------
   Genre-Raster - bunte Kacheln im Stil "Stoebern" (App v5.5.1-beta5, GenreScreen.kt GenreKachel):
   Verlauf je Genre (genres.js setzt --g1/--g2), Name oben links, unten rechts zwei schraeg gestapelte
   Cover (Breite 0,56 x Kachelhoehe, 2:3), ueber den Rand hinaus abgeschnitten. Fokus: etwas groesser,
   weisser Rahmen, Cover faechern auf (-4/-6 Grad, 6/8 px hoeher, 260 ms). Handy 2 Spalten, 104 px hoch.
   --------------------------------------------------------------------- */

.genres-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding-top: 6px;
}

.genre-kachel {
    --gh: 124px;
    --cb: calc(var(--gh) * .56);
    position: relative;
    display: block;
    height: var(--gh);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--g1, var(--flaeche)), var(--g2, var(--flaeche)));
    box-shadow: inset 0 0 0 3px transparent;
    color: #fff;
    cursor: pointer;
    transition: transform .14s ease, box-shadow .14s ease;
    -webkit-tap-highlight-color: transparent;
}
.genre-kachel-name {
    position: absolute;
    top: 11px;
    left: 12px;
    width: calc(62% - 24px);
    z-index: 2;
    font-size: calc(19px * var(--fs, 1));
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.genre-cover {
    position: absolute;
    right: 0;
    bottom: 0;
    width: var(--cb);
    height: calc(var(--cb) * 1.5);
    object-fit: cover;
    border-radius: 6px;
    opacity: 0;
    transition: transform .26s ease, opacity .3s ease;
}
.genre-cover.da { opacity: 1; }
.genre-cover-hinten {
    z-index: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.4);
    transform: translate(calc(var(--cb) * -.6), calc(var(--cb) * 1.5 * .26)) rotate(8deg);
}
.genre-cover-hinten.da { opacity: .92; }
.genre-cover-vorn {
    z-index: 1;
    box-shadow: 0 6px 14px rgba(0,0,0,.5);
    transform: translate(calc(var(--cb) * .1), calc(var(--cb) * 1.5 * .16)) rotate(18deg);
}
.genre-kachel:hover, .genre-kachel:focus {
    outline: none;
    transform: scale(1.05);
    box-shadow: inset 0 0 0 3px #fff;
}
.genre-kachel:hover .genre-cover-hinten, .genre-kachel:focus .genre-cover-hinten {
    transform: translate(calc(var(--cb) * -.6), calc(var(--cb) * 1.5 * .26 - 6px)) rotate(4deg);
}
.genre-kachel:hover .genre-cover-vorn, .genre-kachel:focus .genre-cover-vorn {
    transform: translate(calc(var(--cb) * .1), calc(var(--cb) * 1.5 * .16 - 8px)) rotate(12deg);
}
@media (hover: none) {
    /* Touch: kein haengenbleibendes Hover nach dem Antippen */
    .genre-kachel:hover:not(:focus) { transform: none; box-shadow: inset 0 0 0 3px transparent; }
}
@media (max-width: 640px) {
    .genres-raster { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    .genre-kachel { --gh: 104px; }
    .genre-kachel-name { font-size: calc(16px * var(--fs, 1)); }
}

.reihe h2 {
    font-size: calc(1.2rem * var(--fs, 1));
    margin: 0 0 .8rem;
    font-weight: 600;
}
/* "✨ Weil du …" neben "Exklusiv für dich" (App v5.5.1-beta3): 15 px, gedimmt, einzeilig */
.reihe h2 .reihe-grund { margin-left: .8rem; font-size: calc(15px * var(--fs, 1)); font-weight: 400; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: baseline; }
.reihe h2:has(.reihe-grund) { display: flex; align-items: baseline; min-width: 0; }
.reihe h2 .reihe-grund:empty { display: none; }
.reihe h2:has(.reihe-grund) .reihe-grund { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
    /* Handy: unter den Titel statt daneben (zu schmal) */
    .reihe h2:has(.reihe-grund) { flex-direction: column; align-items: flex-start; }
    .reihe h2 .reihe-grund { margin: 2px 0 0; font-size: calc(13px * var(--fs, 1)); max-width: 100%; }
}


.karten-band {
    display: flex;
    gap: .8rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    /* Am PC mit der Maus greifen und schieben (siehe gemeinsam.js, ganz
       unten) - "grab" nur als Hinweis, "smooth" wuerde waehrend eines
       echten Zugs jeden einzelnen Frame nachlaufen lassen. */
    cursor: grab;
    /* +.karte:focus/.fokus vergroessert die Karte per transform:scale() -
       overflow-x:auto zwingt overflow-y unweigerlich auch auf "auto"
       (CSS-Spezifikation: beide Achsen laufen zusammen, sobald eine von
       "visible" abweicht) - ohne diesen zusaetzlichen Rand oben/unten
       schneidet genau das ab, was oben bei .nav-oben ausfuehrlicher
       begruendet ist (2026-09-20, gleiche Ursache). */
    padding-top: .5rem;
    padding-bottom: .4rem;
    /* Touch: sichtbare, aber dezente Scrollleiste statt keiner - Nutzer
       muessen erkennen, dass hier mehr kommt. */
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

/* ---- Besetzung (Detailseite) - eigene, schmalere Kachelreihe (runde Fotos statt Poster) ---- */
.besetzung-band {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: .4rem;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
    cursor: grab;
}

/* Greifen/Schieben mit der Maus (siehe gemeinsam.js) - "smooth" wuerde
   waehrend eines echten Zugs jedem Frame animiert hinterherlaufen statt
   der Maus 1:1 zu folgen, deshalb waehrenddessen auf "auto" zurueckgesetzt. */
.karten-band.wird-gezogen, .besetzung-band.wird-gezogen {
    scroll-behavior: auto;
    cursor: grabbing;
    user-select: none;
}
.besetzung-karte { flex: 0 0 auto; width: 90px; text-align: center; text-decoration: none; display: block; cursor: pointer; }
.besetzung-karte:hover .besetzung-name, .besetzung-karte:focus .besetzung-name { color: var(--rot); }
.besetzung-karte:focus { outline: none; }
/* Nur die Namensfarbe reichte per Fernbedienung kaum, um den Fokus auf dem
   runden Foto ueberhaupt zu sehen (Nutzer-Fund, 2026-09-20 - Besetzung war
   bis dahin ohnehin ein per Pfeiltasten unerreichbarer Sackgassen-Punkt). */
.besetzung-karte:focus img { box-shadow: 0 0 0 3px var(--rot); }
.besetzung-karte img {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; background: var(--flaeche); display: block;
}
.besetzung-name { margin: .5rem 0 0; font-size: calc(.85rem * var(--fs, 1)); font-weight: 600; color: var(--text); }
.besetzung-rolle { margin: .1rem 0 0; font-size: calc(.78rem * var(--fs, 1)); color: var(--text-dim); }

.karte {
    flex: 0 0 auto;
    width: 170px;
    width: calc(170px * var(--kachel, 1));   /* Groesse der Kacheln (2.3.2-beta31), 0,7-1,3 */
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    /* KEIN overflow:hidden mehr hier - in Kombination mit dem :focus-
       Rahmen + transform:scale() liess das den Fokus-Rahmen in der
       Fire-TV-App (WebView-Wrapper von beta.noflix.app) nur noch an EINER
       Seite sichtbar werden, live am echten Geraet gefunden (2026-09-20,
       "der rote Rahmen sieht abgehackt aus"). Die Bildrundung uebernehmen
       jetzt einzeln die Kinder (siehe .karte img/.titel-band weiter unten),
       die brauchen dafuer kein overflow:hidden auf DIESEM Element, das den
       eigenen Rahmen sonst mit betraf. */
    position: relative;
    background: #1a1a1a;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s ease, border-color .15s ease;
    /* Kontextmenue jetzt per 2s Halten (siehe kartenMenuKnopfHinzufuegen()
       in gemeinsam.js) statt eines sichtbaren "⋮"-Knopfs - ohne das hier
       wuerde ein langer Touch stattdessen die native Bildauswahl-Anzeige
       (Safari) oder Textmarkierung ausloesen, bevor die eigene Geste
       ueberhaupt zum Zug kommt. */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
    /* Safari: kein Anheben/Ziehen von Link oder Cover bei langem Druck. */
    -webkit-user-drag: none;
}
/* Das Cover-Bild selbst ist nie Ziel einer Geste - sonst startet Safari
   darauf die eigene Bild-Vorschau/Drag-Geste statt unseres Haltens. */
.karte img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

/* iPhone/iPad (beta75, Nutzer-Fund 09.10.2026): bei langem Druck auf Links und Bilder kein
   Apple-Menue und keine Link-Vorschau - die Vorschau laedt die Zielseite sogar (bei "Abmelden"
   oder "Konto wechseln" mit Folgen) und kam in der Web-App z.B. beim Halten des Logos (Spiele)
   zusaetzlich hoch. Wirkt nur auf Touch bei Apple, Rechtsklick am PC bleibt unberuehrt. */
a, img { -webkit-touch-callout: none; }
/* beta96 (Nutzerwunsch 11.10.2026: „überall lange drauf drücken, ohne dass sich eine Vorschau öffnet“): die Eigenschaft
   erbt, deshalb an der Wurzel - kein Apple-Menü und keine Vorschau, egal worauf man hält (Bilder in Hintergründen,
   Video, SVG, Kacheln ohne Link). Textfelder behalten ihr Einfügen-Menü. Bedienelemente markieren beim Halten auch
   keinen Text mehr (Beschreibungen bleiben markierbar). */
html { -webkit-touch-callout: none; }
input, textarea, [contenteditable="true"] { -webkit-touch-callout: default; }
button, [role="button"], a, label, summary, .karte, .nav-symbol, .icon-knopf, .anbieter-badge, .dk-eck-badge { -webkit-user-select: none; user-select: none; }
img { -webkit-user-drag: none; }
/* Ziele eigener Halten-Gesten (keineGeraeteVorschau() in gemeinsam.js): auch nichts markieren/ziehen */
.nx-halten, .nx-halten * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* "Weiterschauen & Als nächstes" - breite 16:9-Karte statt Poster, spiegelt
   WideCard()/breiteKarteBreite (Grundwert 290, siehe DeviceFormFactor.kt) -
   Nutzerwunsch, 2026-09-20. */
.karte.karte-breit { width: 290px; width: calc(290px * var(--kachel, 1)); aspect-ratio: 16 / 9; }

.karte img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Rundung jetzt hier statt am Elternelement .karte (siehe dort) - ein
       <img> rundet seinen eigenen Bildinhalt direkt ab, ganz ohne
       overflow:hidden auf sich selbst noetig. */
    border-radius: 8px;
}
/* Cover weich einblenden (App v5.2.6-beta24: 150 ms, nur wirklich
   nachgeladene Bilder - siehe coverWeichEinblenden() in gemeinsam.js). */
.karte > img { transition: opacity .15s ease; }
.karte > img:not(.geladen) { opacity: 0; }
html.cover-sofort .karte > img:not(.geladen) { opacity: 1; }
/* Einblenden ist keine Bewegung - bleibt auch bei "Bewegung reduzieren" (beta58); "Uebergaenge aus" schaltet es ab */

.karte .titel-band {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: .5rem .5rem .4rem;
    background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,0));
    font-size: calc(.8rem * var(--fs, 1));
    line-height: 1.3;
    /* Untere Ecken passend zu .karte selbst abrunden - vorher erledigte
       das overflow:hidden auf .karte (jetzt entfernt, siehe dort). */
    border-radius: 0 0 8px 8px;
}

.karte .titel-band .untertitel {
    display: block;
    color: var(--text-dim);
    font-size: calc(.72rem * var(--fs, 1));
}

/* Aehnliche Filme/Serien (App v5.5.1-beta2): mit Fokus bzw. unter der Maus der Grund statt des Jahres */
.karte .titel-band .aehnlich-grund { display: none; color: rgba(255,255,255,.85); -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karte:focus .titel-band .aehnlich-grund, .karte:hover .titel-band .aehnlich-grund { display: -webkit-box; }
/* eigene Regeln: ein Browser ohne :has verwirft nur sie (zeigt dann Jahr und Grund) */
.karte:focus .titel-band:has(.aehnlich-grund) .aehnlich-jahr { display: none; }
.karte:hover .titel-band:has(.aehnlich-grund) .aehnlich-jahr { display: none; }
@media (hover: none) { .karte:hover:not(:focus) .titel-band .aehnlich-grund { display: none; } .karte:hover:not(:focus) .titel-band .aehnlich-jahr { display: block; } }

/* "45 % | noch 54 min" auf Weiterschauen-Kacheln (Cards.kt, v5.1.1-beta41) */
.karte .titel-band .restzeit {
    display: block;
    margin-top: .15rem;
    padding-bottom: 3px;
    color: rgba(255,255,255,.8);
    font-size: calc(.7rem * var(--fs, 1));
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.karte .fortschritt {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: rgba(255,255,255,.25);
}

.karte .fortschritt > i {
    display: block;
    height: 100%;
    background: var(--rot);
}

/* Fokus per Fernbedienung/Tastatur UND per Maus/Touch-Hover identisch -
   auf einer TV-Fernbedienung ist Fokus die einzige Rueckmeldung, die es
   gibt, muss also gut sichtbar sein. */
.karte:focus,
.karte.fokus {
    outline: none;
    /* KEIN transform:scale() mehr hier - eindeutig live auf dem Fire TV
       Stick gefunden (2026-09-20, Nutzer-App "webbeta.apk", ein WebView-
       Wrapper von beta.noflix.app): `transform:scale()` GLEICHZEITIG mit
       einem Fokus-Rahmen liess in diesem WebView-Build den Rahmen nur noch
       an EINER Seite (rechts) erscheinen, egal ob per `border` oder
       `box-shadow` umgesetzt - per Diagnose-Test zweifelsfrei auf das
       `transform:scale()` selbst zurueckgefuehrt (mit `transform` ganz weg
       rendert derselbe box-shadow-Ring sofort sauber auf allen vier
       Seiten). Der bisherige "Karte wird beim Fokus etwas groesser"-Effekt
       entfaellt dadurch auf Desktop/TV - der Rahmen selbst ist der
       wichtigere Signalgeber fuer die Fernbedienung, siehe Kommentar oben.
       box-shadow statt border-color, weil box-shadow kein Teil des Box-
       Models ist und robuster mit dem bereits vorhandenen overflow:hidden
       an Vorfahren-Elementen (z.B. .karten-band) zusammenspielt. */
    border-color: var(--rot);
    box-shadow: 0 0 0 2px var(--rot);
    z-index: 5;
}
/* Setzt den Ring gezielt wieder zurueck, wenn ":focus" NUR durch einen
   programmatischen focus()-Aufruf zustande kam, nicht durch echte Tastatur-/
   Fernbedienungs-Navigation (":focus-visible" unterscheidet genau das) -
   Nutzerbericht, 2026-09-23: app.js fokussiert die erste Karte/den Banner
   beim Laden IMMER (fokussiereSicher(), fuer Fernbedienungs-Nutzer gedacht,
   die sofort ein Ziel zum Weiternavigieren brauchen), das loeste auf einem
   Touch-Handy denselben Rahmen aus wie ein echter Fokus, obwohl niemand
   je eine Taste gedrueckt hatte ("sieht komisch/zu dunkel aus"). BEWUSST
   eine EIGENE, zusaetzliche Regel statt ":focus" oben direkt zu ersetzen:
   ":focus-visible" kennen alte TV-/WebView-Browser (siehe Fire-TV-Fund
   oben) nicht - eine ungueltige Selector-Regel wird von denen einfach
   ignoriert, der Ring oben bleibt fuer sie unveraendert bestehen (kein
   Rueckschritt), nur moderne Browser wenden diese Korrektur zusaetzlich an. */
.karte:focus:not(:focus-visible) {
    outline: none;
    border-color: transparent;
    box-shadow: none;
    z-index: auto;
}

/* ---------------------------------------------------------------------
   Suche mit Wunschfunktion - siehe SearchScreen.kt.
   --------------------------------------------------------------------- */

.suche-hinweis {
    color: var(--rot);
    font-size: calc(.95rem * var(--fs, 1));
    margin: 0 0 1rem;
}

/* Zweite Zeile im Titel-Band, wenn die Suche nicht ueber den Titel selbst
   traf, sondern eine Episode ("Folge: S02E05 - Der Anruf"). */
.suche-grund { color: #e6b800; }

/* Hinweis auf einen SCHON EINMAL abgelehnten eigenen Wunsch fuer genau
   diesen Titel, samt der vom Admin hinterlegten Begruendung (Nutzerwunsch,
   2026-09-19) - erneutes Wuenschen bleibt trotzdem moeglich, siehe
   wunsch-abzeichen daneben. */
.suche-abgelehnt { color: #ff6b6b; font-weight: 600; }

/* Wunsch-Stand je Vorschlag (App v5.2.5-beta1/-beta2) - dieselben Farben
   wie App und noflix.app: gruen --success, gelb .status-aufgeschoben,
   orange --warning, rot --danger. Fokus legt den roten Ring aussen herum. */
.karte.wunsch-stand-gruen { --wunsch-farbe: #46D369; }
.karte.wunsch-stand-gelb { --wunsch-farbe: #FFB04D; }
.karte.wunsch-stand-orange { --wunsch-farbe: #F0B429; }
.karte.wunsch-stand-rot { --wunsch-farbe: #FF6B60; }
.karte.wunsch-stand { box-shadow: 0 0 0 2px var(--wunsch-farbe); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .karte.wunsch-stand:focus:not(:focus-visible) { box-shadow: 0 0 0 2px var(--wunsch-farbe); }
.karte.wunsch-stand:focus,
.karte.wunsch-stand.fokus { box-shadow: 0 0 0 2px var(--wunsch-farbe), 0 0 0 5px var(--rot); }
.wunsch-stand-text { color: var(--wunsch-farbe); font-weight: 600; }
.karte.nicht-wuenschbar { cursor: default; }
.karte.nicht-wuenschbar:hover .wunsch-abzeichen,
.karte.nicht-wuenschbar:focus .wunsch-abzeichen { background: rgba(0,0,0,.75); color: var(--wunsch-farbe); }
.karte.nicht-wuenschbar .wunsch-abzeichen { color: var(--wunsch-farbe); }

.wunsch-abzeichen {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(0,0,0,.75);
    color: var(--text);
    font-size: calc(.72rem * var(--fs, 1));
    font-weight: 600;
    padding: .25rem .55rem;
    border-radius: 20px;
}

.karte:hover .wunsch-abzeichen,
.karte:focus .wunsch-abzeichen { background: var(--rot); color: #fff; }

.person-karte, .genre-karte { cursor: pointer; }

.person-karte {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    flex: 0 0 auto;
    text-align: center;
}

.person-bild {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--flaeche);
    border: 2px solid transparent;
}

.person-karte:hover .person-bild,
.person-karte:focus .person-bild { border-color: var(--rot); outline: none; }

.person-bild img { width: 100%; height: 100%; object-fit: cover; }

.person-karte span {
    margin-top: .5rem;
    font-size: calc(.85rem * var(--fs, 1));
    color: var(--text-dim);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.person-karte:hover span, .person-karte:focus span { color: #fff; }

.genre-karte {
    width: 160px;
    height: 90px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--flaeche);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    padding: 0 10px;
    border: 2px solid transparent;
}

.genre-karte:hover, .genre-karte:focus {
    background: var(--rot);
    color: #fff;
    outline: none;
}

/* ---------------------------------------------------------------------
   Entdecken/Streaming Welten/Specials & Events - siehe EntdeckenScreen.kt.
   Reine Farbverlauf-Kacheln statt Coverbildern, sonst dieselbe .karte-
   Groesse/-Fokusoptik wie ueberall.
   --------------------------------------------------------------------- */

.hub-kachel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--f1, var(--flaeche)), var(--f2, var(--flaeche)));
}

.hub-kachel .hub-zeichen {
    font-size: calc(2.6rem * var(--fs, 1));
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* Fanart-Hintergrund eines repraesentativen Titels statt reinem Farbverlauf
   (Nutzerwunsch) - siehe gemeinsam.js::hubKachelHintergrundSetzen(). */
.hub-kachel-bild { background: #1a1a1a; }
.hub-kachel-bild img {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hub-kachel-schleier {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.65) 50%, rgba(0,0,0,.9) 100%);
}
.hub-kachel-titel {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: calc(1.1rem * var(--fs, 1));
    font-weight: 700;
    text-align: center;
    padding: 0 .7rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------------------------------------------------------------------
   Bausteine im Kontextmenue-Stil fuer Seiten (App ui/shared/KartenStil.kt,
   v5.2.6-beta29/30): Pillen-Knoepfe, Auswahl-Chips, runde Knoepfe, Karten
   und leere Zustaende. Folgen dem gewaehlten Design: Fokus = in Schrift-
   farbe gefuellt (im dunklen Design weiss), Schrift darauf in der
   Hintergrundfarbe. Keine color-mix-Farben (alte Fernseher-Browser).
   --------------------------------------------------------------------- */
:root { --stil-flaeche: rgba(255,255,255,.08); --stil-rand: rgba(255,255,255,.09); }
html[data-skin="HELL"] { --stil-flaeche: rgba(20,20,26,.07); --stil-rand: rgba(20,20,26,.12); }
.stil-knopf, .stil-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border: 0; border-radius: 999px;
    background: var(--stil-flaeche); color: var(--text);
    font-size: calc(15px * var(--fs, 1)); font-weight: 600; line-height: 1.2; white-space: nowrap;
    cursor: pointer; text-decoration: none;
    transition: transform .14s ease, background-color .14s ease, color .14s ease;
}
.stil-chip { padding: 11px 18px; }
.stil-knopf .material-icons { font-size: 20px; }
.stil-knopf.stil-primaer, .stil-chip.stil-gewaehlt { background: var(--rot); color: #fff; }
.stil-knopf:hover, .stil-chip:hover, html[data-eingabe="taste"] .stil-knopf:focus, html[data-eingabe="taste"] .stil-chip:focus {
    background: var(--text); color: var(--bg); outline: none; transform: scale(1.05);
}
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .stil-knopf:focus-visible, .stil-chip:focus-visible {
    background: var(--text); color: var(--bg); outline: none; transform: scale(1.05);
}
.stil-knopf:active, .stil-chip:active { background: var(--text); color: var(--bg); }
/* Auf abgedunkeltem Bild (Kopfkarten): feste Kontextmenue-Farben */
.stil-dunkel .stil-knopf:not(.stil-primaer), .stil-dunkel .stil-chip:not(.stil-gewaehlt) { background: rgba(255,255,255,.14); color: #fff; }
.stil-dunkel .stil-knopf:hover, .stil-dunkel .stil-chip:hover, html[data-eingabe="taste"] .stil-dunkel .stil-knopf:focus, html[data-eingabe="taste"] .stil-dunkel .stil-chip:focus,
.stil-dunkel .stil-knopf:active, .stil-dunkel .stil-chip:active { background: #fff; color: #111114; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .stil-dunkel .stil-knopf:focus-visible, .stil-dunkel .stil-chip:focus-visible { background: #fff; color: #111114; }
.stil-karte { background: var(--flaeche); border: 1px solid var(--stil-rand); border-radius: 16px; }
.stil-rund {
    width: 40px; height: 40px; flex: 0 0 auto; border: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--stil-flaeche); color: var(--text); cursor: pointer; text-decoration: none;
}
.stil-rund .material-icons { font-size: 20px; }
.stil-rund:hover, html[data-eingabe="taste"] .stil-rund:focus, .stil-rund:active {
    background: var(--text); color: var(--bg); outline: none;
}
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .stil-rund:focus-visible {
    background: var(--text); color: var(--bg); outline: none;
}
.stil-leer {
    max-width: 520px; margin: 24px auto; padding: 26px 28px; text-align: center;
    background: var(--flaeche); border: 1px solid var(--stil-rand); border-radius: 24px;
}
.stil-leer-symbol { position: relative; width: 56px; height: 56px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.stil-leer-symbol::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; background: var(--rot); opacity: .16; }
.stil-leer-symbol .material-icons { position: relative; color: var(--rot); font-size: 28px; }
.stil-leer h2 { font-size: calc(19px * var(--fs, 1)); font-weight: 600; margin: 14px 0 6px; }
.stil-leer p { color: var(--text-dim); font-size: calc(15px * var(--fs, 1)); line-height: 21px; margin: 0; }
/* Seitentitel mit Zusammenfassung ("3 Einträge · 1 neu") */
.stil-kopf { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: .5rem 0 14px; }
.stil-kopf .browse-titel { margin: 0; }
.stil-kopf-unter { color: var(--text-dim); font-size: calc(14px * var(--fs, 1)); margin: 2px 0 0; }
.stil-kopf-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Feed - siehe FeedScreen.kt (v5.2.6-beta30: Karten, runde Knoepfe,
   "Alles löschen" je Profil, Zeit als Datum).
   --------------------------------------------------------------------- */
.feed-liste { display: flex; flex-direction: column; gap: 10px; }
.feed-karte { display: flex; align-items: center; padding: 16px; gap: 0; }
.feed-streifen { width: 4px; height: 40px; border-radius: 2px; background: var(--rot); flex: 0 0 auto; margin-right: 16px; }
.feed-streifen.feed-streifen-gruen { background: #3ddc84; }
.feed-inhalt { flex: 1; min-width: 0; border-radius: 12px; }
.feed-inhalt.feed-klickbar { padding: 8px; margin: -8px 0; cursor: pointer; outline: none; }
/* Meldungen ohne Ziel: nur per Fernbedienung/Tastatur hervorgehoben, kein Hover (App v5.3.1-beta19) */
.feed-inhalt.feed-anwaehlbar { padding: 8px; margin: -8px 0; outline: none; }
.feed-inhalt.feed-klickbar:hover, html[data-eingabe="taste"] .feed-inhalt.feed-klickbar:focus,
html[data-eingabe="taste"] .feed-inhalt.feed-anwaehlbar:focus { background: var(--text); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .feed-inhalt.feed-klickbar:focus-visible, .feed-inhalt.feed-anwaehlbar:focus-visible { background: var(--text); }
.feed-inhalt.feed-klickbar:hover .feed-titel, html[data-eingabe="taste"] .feed-inhalt.feed-klickbar:focus .feed-titel,
html[data-eingabe="taste"] .feed-inhalt.feed-anwaehlbar:focus .feed-titel { color: var(--bg); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .feed-inhalt.feed-klickbar:focus-visible .feed-titel, .feed-inhalt.feed-anwaehlbar:focus-visible .feed-titel { color: var(--bg); }
.feed-inhalt.feed-klickbar:hover .feed-text, html[data-eingabe="taste"] .feed-inhalt.feed-klickbar:focus .feed-text,
html[data-eingabe="taste"] .feed-inhalt.feed-anwaehlbar:focus .feed-text { color: var(--bg); opacity: .75; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .feed-inhalt.feed-klickbar:focus-visible .feed-text, .feed-inhalt.feed-anwaehlbar:focus-visible .feed-text { color: var(--bg); opacity: .75; }
.feed-titel { font-size: calc(18px * var(--fs, 1)); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-text { color: var(--text-dim); font-size: calc(14px * var(--fs, 1)); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-aktionen { display: flex; gap: 8px; flex: 0 0 auto; margin-left: 12px; }
.feed-zeit { color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); white-space: nowrap; margin-left: 16px; flex: 0 0 auto; }
.stil-knopf.feed-loeschen-frage { background: var(--rot); color: #fff; }
@media (max-width: 700px) {
    .stil-kopf { flex-direction: column; align-items: flex-start; }
    .feed-karte { flex-wrap: wrap; }
    .feed-zeit { margin-left: 20px; flex-basis: 100%; margin-top: 6px; }
}

/* ---------------------------------------------------------------------
   Admin-Banner - siehe AdminBanner.kt, nur auf Home gezeigt.
   --------------------------------------------------------------------- */

.admin-banner {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-size: calc(.9rem * var(--fs, 1));
    font-weight: 600;
    cursor: pointer;
}

.admin-banner .material-icons { font-size: 20px; }
.admin-banner span.hinweis { margin-left: auto; font-weight: 400; font-size: calc(.78rem * var(--fs, 1)); opacity: .8; }

.admin-banner.info { background: #ffc400; color: #1a1a1a; }
.admin-banner.warn { background: #ff9800; color: #1a1a1a; }
.admin-banner.error { background: #e53935; color: #fff; }

/* Jetzt per Fernbedienung erreichbar (siehe gemeinsam.js) - brauchte
   deshalb eine eigene, deutlich sichtbare Fokus-Anzeige (Nutzer-Fund,
   2026-09-20). */
.admin-banner:focus { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--rot); }

/* ---------------------------------------------------------------------
   "Als App installieren"-Hinweis - siehe gemeinsam.js (iOS: nur Anleitung,
   Nutzerwunsch 2026-09-20; Android: echter Installieren-Knopf per
   "beforeinstallprompt", Nutzerwunsch 2026-09-23). Gemeinsame Optik fuer
   beide, deshalb generischer Klassenname statt "ios-..." - bewusst ruhiger/
   neutraler als der gelbe Admin-Banner oben, kein Warnhinweis, nur ein
   Vorschlag.
   --------------------------------------------------------------------- */
.install-hinweis {
    /* z-index:1, NICHT nur 0 (Bugfix, 2026-09-24 - siehe Begruendung
       unten): #hero-hintergrund (voller Bildschirm, position:fixed) steckt
       im HTML INNERHALB von <main class="reihen">, NICHT daneben - dessen
       eigenes z-index:-1 gilt deshalb nur INNERHALB von .reihens eigenem
       Stapelkontext (siehe Kommentar dort). .reihen selbst ist aber AUCH
       positioniert (position:relative, z-index:0) und steht im HTML NACH
       diesem Hinweis hier - zwei GLEICHRANGIGE (z-index:0) positionierte
       Elemente stapeln nach Dokumentreihenfolge, .reihen (und damit sein
       fast bildschirmfuellender Hero-Hintergrund) haette also TROTZ
       z-index:-1 INNEN vor diesem Hinweis gelegen. Live als echter Fehler
       bestaetigt (Nutzerbericht: "kann weder auf Installieren noch auf X
       druecken" - .hero-verlauf lag unsichtbar genau darueber, per
       elementFromPoint() nachgewiesen; erklaert vermutlich auch "wirkt zu
       dunkel", da .hero-verlauf die Abdunkelung des Hintergrundbilds ist).
       z-index:1 statt 0 gewinnt den Vergleich gegen .reihen zuverlaessig. */
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .8rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    background: var(--flaeche);
    border: 1px solid rgba(255,255,255,.08);
}
.install-hinweis .material-icons:first-child { color: var(--rot); font-size: 22px; flex: 0 0 auto; }
.install-hinweis-text { flex: 1; font-size: calc(.85rem * var(--fs, 1)); line-height: 1.4; }
.install-hinweis-text strong { display: block; font-size: calc(.92rem * var(--fs, 1)); margin-bottom: .15rem; }
.install-hinweis-knopf {
    flex: 0 0 auto;
    background: var(--rot); color: #fff; border: none; cursor: pointer;
    font-size: calc(.85rem * var(--fs, 1)); font-weight: 700; padding: .5rem .9rem; border-radius: 6px;
    display: flex; align-items: center; gap: .35rem;
}
.install-hinweis-knopf:hover, .install-hinweis-knopf:focus { filter: brightness(1.1); outline: none; }
.install-hinweis-knopf .material-icons { font-size: 18px; }
.install-hinweis-schliessen {
    background: none; border: none; color: var(--text-dim); cursor: pointer;
    padding: .3rem; flex: 0 0 auto; border-radius: 50%; display: flex;
}
.install-hinweis-schliessen:hover, .install-hinweis-schliessen:focus { color: var(--text); background: rgba(255,255,255,.1); outline: none; }

/* ---------------------------------------------------------------------
   Live TV - siehe LiveTvScreen.kt (16:9 statt 2:3, Logo statt Cover).
   --------------------------------------------------------------------- */

/* Eigene Spaltenbreite statt der 132px-Raster-Spuren von .browse-raster
   (fuer Filmposter gedacht) - 150px statt der anfaenglichen 220px, sonst
   passt selbst auf einem Handquer-Bildschirm (~380px nutzbare Breite nach
   Seitenraendern) nur EINE Spalte rein, obwohl LiveTvScreen.kt dort mit
   minSize=180dp durchaus zwei Kacheln nebeneinander zeigt. */
#livetv-raster { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.karte.sender-kachel {
    /* .karte selbst setzt eine feste Breite (fuer die waagerechten
       Kartenbaender gedacht) - hier IMMER in einem Grid, nie einem Band,
       muss also die Rasterspalte ausfuellen statt bei fester Breite zu
       bleiben. Zwei Klassen, damit das auch die mobile ".karte { width:
       128px }"-Regel weiter unten sicher uebertrumpft. */
    width: auto;
    aspect-ratio: 16 / 9;
    background: var(--flaeche);
}

.sender-laeuft {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sender-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    font-size: calc(2rem * var(--fs, 1));
    font-weight: 700;
    color: var(--text-dim);
}

.sender-logo img { width: 100%; height: 100%; object-fit: contain; }
/* Live TV mit Logo (beta100): nur die laufende Sendung aus dem EPG, ohne den Sendernamen - das Logo bekommt unten
   Platz dafuer, damit die Zeile nicht ueber dem Logo liegt (ein schmaler Verlauf reicht) */
.karte.sender-kachel.mit-logo.mit-epg .sender-logo,
.karte.sender-kachel.mit-logo.mit-name .sender-logo { padding-bottom: calc(8px + 1.5rem * var(--fs, 1)); } /* rem: .sender-logo hat 2rem Schrift */
/* Geteiltes Logo (SWR BW/RLP): Name bleibt, mit Sendung zwei Zeilen */
.karte.sender-kachel.mit-logo.mit-name.mit-epg .sender-logo { padding-bottom: calc(8px + 2.6rem * var(--fs, 1)); }
.karte.sender-kachel.mit-logo .titel-band { padding-top: .9rem; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); }
.karte.sender-kachel.mit-logo:not(.mit-name) .titel-band .untertitel { color: var(--text); opacity: .85; }

/* ---------------------------------------------------------------------
   Marvel-Chronologie - siehe MarvelScreen.kt.
   --------------------------------------------------------------------- */

.marvel-kopf { margin-bottom: .2rem; }
.marvel-zaehler { color: var(--text-dim); margin: -.6rem 0 .5rem; font-size: calc(.9rem * var(--fs, 1)); }

.marvel-epoche {
    color: var(--rot);
    font-weight: 700;
    font-size: calc(1.15rem * var(--fs, 1));
    margin: 0 0 .8rem;
}

.marvel-kachel.gesehen { border-color: #3ddc84; }
/* Fokus muss den gruenen "gesehen"-Rahmen immer uebertrumpfen - siehe
   .karte:focus weiter oben, gleiche Spezifitaet, deshalb hier explizit. */
.marvel-kachel.gesehen:focus, .marvel-kachel.gesehen.fokus { border-color: var(--rot); }

.marvel-kachel.fehlt { opacity: .4; cursor: default; }

.marvel-zeit {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: calc(.68rem * var(--fs, 1));
    font-weight: 600;
    padding: .18rem .45rem;
    border-radius: 5px;
    z-index: 2;
}

.marvel-fehlt-band {
    position: absolute;
    left: 0; right: 0; bottom: 38px;
    background: rgba(0,0,0,.85);
    color: var(--text-dim);
    text-align: center;
    font-size: calc(.7rem * var(--fs, 1));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .25rem 0;
}

.marvel-aktion { margin: 1.5rem 0 2rem; }

.knopf-primaer, .knopf-sekundaer {
    border-radius: 8px;
    padding: .65rem 1.2rem;
    font-size: calc(.9rem * var(--fs, 1));
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.knopf-primaer { background: var(--rot); color: #fff; }
.knopf-sekundaer { background: var(--flaeche); color: var(--text); border: 1px solid rgba(255,255,255,.2); }
.knopf-primaer:hover, .knopf-primaer:focus,
.knopf-sekundaer:hover, .knopf-sekundaer:focus { outline: none; filter: brightness(1.15); }

/* Bestaetigungsdialog - fuer irreversible Sammelaktionen (siehe
   MessageDialog.kt), bisher nur bei Marvel "Alle ungesehen markieren". */
.bestaetigung-overlay {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: rgba(0,0,0,.9);
    display: flex; align-items: center; justify-content: center;
    z-index: 50;
    padding: 20px;
}

.bestaetigung-karte {
    background: var(--flaeche);
    border-radius: 14px;
    padding: 1.6rem;
    max-width: 480px;
    width: 100%;
}

.bestaetigung-karte h3 { color: var(--rot); margin: 0 0 .8rem; font-size: calc(1.05rem * var(--fs, 1)); }
.bestaetigung-karte p { color: var(--text); margin: 0 0 1.4rem; line-height: 1.5; font-size: calc(.95rem * var(--fs, 1)); }
.bestaetigung-knoepfe { display: flex; justify-content: flex-end; gap: .7rem; }

/* ---------------------------------------------------------------------
   Favoriten & Wünsche - siehe FavoritesScreen.kt/WishlistScreen.kt.
   --------------------------------------------------------------------- */

.wunsch-platzhalter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: calc(.82rem * var(--fs, 1));
    color: var(--text-dim);
    background: var(--flaeche);
}

.status-ecke {
    position: absolute;
    top: 8px; right: 8px;
    color: #fff;
    font-size: calc(.68rem * var(--fs, 1));
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 5px;
    z-index: 2;
}

/* Lieblingsszenen (App v5.4.1-beta30, SzenenReihe.kt): Breitbild wie "Weiterschauen", Stelle unten rechts, Strich fuer
   die Stelle im Titel, "geteilt" oben rechts */
.karte.szene-karte .titel-band { padding-right: 4.2rem; padding-bottom: .55rem; }
.szene-zeit {
    position: absolute; right: 8px; bottom: 10px; z-index: 2;
    padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,.8);
    color: #fff; font-size: calc(.72rem * var(--fs, 1)); font-weight: 600; line-height: 1.3;
}
.szene-geteilt {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    padding: 2px 6px; border-radius: 5px; background: rgba(21,101,192,.8);
    color: #fff; font-size: calc(.68rem * var(--fs, 1)); font-weight: 600;
}
.karte.szene-karte .fortschritt { height: 3px; background: rgba(255,255,255,.33); border-radius: 0 0 8px 8px; overflow: hidden; }

/* Infofenster eines Wunsches (App v5.4.1-beta32, WunschInfoFenster.kt): Cover links, Stand gross, Info vom Admin,
   Spruch, Angaben von TMDb - rechts blaettert der Text (hoechstens 60 % der Hoehe) */
.km-karte.km-karte-nur-unter.wunsch-info-fenster { max-width: 860px; display: flex; flex-direction: column; overflow: hidden; }
.wunsch-info-fenster .km-unter-inhalt, .wunsch-info-fenster .km-panel-koerper { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.wi-inhalt { display: flex; gap: 22px; align-items: flex-start; padding: 0 14px; min-height: 0; flex: 0 1 auto; margin-top: 4px; }
.wi-cover { flex: 0 0 150px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; }
.wi-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wi-cover-text { margin: 0; padding: 8px; color: rgba(255,255,255,.55); font-size: calc(13px * var(--fs, 1)); text-align: center; }
.wi-text { flex: 1 1 auto; min-width: 0; max-height: 60vh; max-height: calc(60vh / var(--nx-zoom, 1)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.wi-stand { display: inline-block; margin: 0; padding: 6px 16px; border-radius: 10px; color: #fff; font-size: calc(28px * var(--fs, 1)); font-weight: 700; line-height: 1.2; }
.wi-label { margin: 12px 0 2px; color: rgba(255,255,255,.55); font-size: calc(13px * var(--fs, 1)); }
.wi-notiz { margin: 0; color: #fff; font-size: calc(18px * var(--fs, 1)); line-height: 1.4; white-space: pre-line; }
.wi-spruch { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: calc(16px * var(--fs, 1)); font-style: italic; line-height: 1.38; }
.wi-laedt { margin: 20px 0 0; color: rgba(255,255,255,.55); font-size: calc(15px * var(--fs, 1)); }
.wi-tmdb { margin-top: 20px; }
.wi-ueber { margin: 0; color: #fff; font-size: calc(18px * var(--fs, 1)); font-weight: 600; }
.wi-eckdaten, .wi-tmdb-stand { margin: 4px 0 0; color: rgba(255,255,255,.6); font-size: calc(14px * var(--fs, 1)); }
.wi-tmdb-stand { font-weight: 600; }
.wi-tmdb-stand.wi-erscheint { color: #FFC857; }
.wi-tagline { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: calc(15px * var(--fs, 1)); font-style: italic; }
.wi-beschreibung { margin: 8px 0 0; color: rgba(255,255,255,.84); font-size: calc(16px * var(--fs, 1)); line-height: 1.44; }
.wi-besetzung { margin: 10px 0 0; color: rgba(255,255,255,.6); font-size: calc(14px * var(--fs, 1)); line-height: 1.43; }
.wi-klein { margin: 4px 0 0; color: rgba(255,255,255,.45); font-size: calc(12.5px * var(--fs, 1)); }
.wi-quelle { margin: 10px 0 0; color: rgba(255,255,255,.35); font-size: calc(11px * var(--fs, 1)); }
.wunsch-info-fenster .km-liste { flex: 0 0 auto; margin-top: 12px; }
/* Handy: Cover klein neben dem Stand, alles scrollt gemeinsam */
@media (max-width: 640px) {
    .km-karte.km-karte-nur-unter.wunsch-info-fenster { padding: 22px; }
    .wi-inhalt { display: block; padding: 0 4px; max-height: 60vh; max-height: calc(60vh / var(--nx-zoom, 1)); overflow-y: auto; overscroll-behavior: contain; }
    .wi-cover { float: left; width: 84px; margin: 0 14px 8px 0; }
    .wi-text { max-height: none; overflow: visible; }
    .wi-stand { font-size: calc(22px * var(--fs, 1)); }
    .wi-tmdb { clear: both; }
}

/* ---------------------------------------------------------------------
   Detailseite - siehe DetailScreen.kt in der App: Hintergrundbild,
   links Poster+Abspielen+Herz/Haken, rechts Titel/Pillen/Beschreibung,
   bei Serien darunter Staffel-Reiter + Episodenliste.
   --------------------------------------------------------------------- */

.detail-inhalt {
    position: relative;
    /* z-index (auch nur 0) noetig, damit dieses Element selbst einen
       Stapelkontext eroeffnet - sonst "entkommt" das z-index:-1 des
       Hintergrunds weiter unten bis zur Wurzel und landet HINTER dem
       normalen Seiteninhalt (Seitenleiste/Kopfzeile), der dort ganz
       gewoehnlich mit z-index:auto liegt - live gefunden: das Fanart war
       dadurch komplett unsichtbar, obwohl Bild+CSS korrekt gesetzt waren. */
    z-index: 0;
    min-height: 100vh;
    min-height: calc(100vh / var(--nx-zoom, 1)); /* zoom: siehe .seitenleiste */
    padding: 0 32px 3rem;
    /* Das Fanart im Hintergrund (.detail-hintergrund) bleibt IMMER dunkel
       (blur+brightness+fester Schwarz-Schleier), unabhaengig vom gewaehlten
       Design - genau wie in der App (der Verlauf dort in DetailScreen.kt ist
       ebenfalls fest auf Schwarz verdrahtet, nicht skin-abhaengig). Die
       Schrift darueber MUSS deshalb ebenfalls immer hell bleiben, sonst wird
       sie beim Design "Hell" (--text dort dunkel) auf dem dunklen Fanart
       unlesbar (Nutzer-Fund, 2026-09-19: "Schrift wird dunkel, Hintergrund
       bleibt dunkel"). Ueberschreibt --text/--text-dim NUR innerhalb dieses
       Bereichs - Kopfzeile/Seitenleiste bleiben unangetastet und folgen
       weiterhin normal dem gewaehlten Design. */
    --text: #eee;
    --text-dim: #9a9aa6;
    /* "color" selbst ist eine VERERBTE Eigenschaft - body.color:var(--text)
       wird einmal ganz oben berechnet und dieser FERTIGE Wert vererbt sich
       weiter, auch wenn --text hier weiter unten neu gesetzt wird. Ohne
       diese Zeile aendert die Neudefinition der Variable oben also GAR
       NICHTS an der tatsaechlichen Schriftfarbe (live gefunden: --text stand
       schon korrekt auf #eee, h1 blieb trotzdem bei #14141a stehen) - "color"
       muss hier selbst nochmal MIT var(--text) neu gesetzt werden, damit ab
       hier neu vererbt wird. */
    color: var(--text);
}

.detail-hintergrund {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    /* left:72px statt inset:0 - "position:fixed" bezieht sich immer auf
       den GESAMTEN Sichtbereich, unabhaengig davon, wo im DOM dieses
       Element steckt. Bei inset:0 legte sich das Fanart deshalb auch
       ueber die Seitenleiste (72px breit, live im Querformat gefunden,
       2026-09-19) - hier bewusst erst NACH ihr beginnend, genau wie sie
       selbst bei derselben Bildschirmbreite ausgeblendet wird (siehe
       @media (max-width:640px) weiter unten). */
    left: 72px;
    left: calc(72px + env(safe-area-inset-left, 0px));
    /* WICHTIG: overflow:hidden clippt nur den INHALT dieser Box, nicht die
       Box selbst - ein transform DIREKT auf diesem Element (wie zuvor hier)
       skaliert die ganze fixed-Box samt ihrer eigenen "left:72px"-Position
       um sich selbst und schiebt den linken Rand dadurch wieder IN die
       Seitenleiste hinein (bei 1.05x rechnerisch ca. 48px, live im
       Querformat gefunden - Nutzer-Screenshot zeigte das Fanart deutlich
       hinter den Seitenleisten-Symbolen durchscheinen, 2026-09-19). Deshalb
       jetzt strikt getrennt: DIESE Box bleibt unangetastet exakt bei
       left:72px stehen, das eigentliche Bild samt Zoom/Weichzeichner sitzt
       in einem eigenen Kind-Element (.detail-hintergrund-bild) darunter,
       das overflow:hidden hier zuverlaessig beschneidet. */
    overflow: hidden;
    z-index: -1;
}
.detail-hintergrund-bild {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background-size: cover;
    background-position: center top;
    filter: blur(6px) brightness(.32);
    transform: scale(1.05);
}
/* Zusaetzliche, feste Abdunklung UEBER dem Filter - allein mit
   filter:brightness() blieb ein sehr helles Fanart stellenweise noch zu
   hell, um den Text sicher lesbar zu halten (Nutzer-Fund, 2026-09-19),
   unabhaengig davon, wie hell/dunkel das jeweilige Bild selbst ist. */
.detail-hintergrund::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: rgba(0,0,0,.4);
}

.detail-rahmen {
    display: flex;
    gap: 2.5rem;
    padding-top: 24px;
    align-items: flex-start;
}

.detail-poster-spalte { flex: 0 0 auto; }

.detail-poster {
    position: relative;
    width: 320px;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: var(--flaeche);
}

.detail-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Marvel-Kachel: die Zeitangabe (.marvel-zeit) liegt schon oben links, das
   Abzeichen wandert deshalb - genau wie in MarvelScreen.kt (Alignment.
   TopEnd statt TopStart) - nach oben rechts. */
.karte-badge-aufloesung.karte-badge-aufloesung-rechts {
    top: 6px;
    left: auto;
    right: 6px;
    width: fit-content;
}

.abspielen-kreis {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.abspielen-kreis .material-icons { font-size: 34px; color: #000; }
.abspielen-kreis:hover, .abspielen-kreis:focus { background: #fff; outline: 3px solid var(--rot); }

/* Herz/Haken deutlich hervorgehoben (Nutzerwunsch 2026-10-01: "gehen auf
   dem Cover unter"): runde dunkle Knoepfe mit hellem Rand, aktiv rot
   gefuellt, Fokus/Hover mit weissem Ring. */
.poster-aktion {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10,10,14,.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.55);
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.poster-aktion .material-icons { font-size: 24px; }
.poster-aktion.aktiv { background: var(--rot); border-color: var(--rot); color: #fff; }
.poster-aktion:hover,
.poster-aktion:focus { outline: none; border-color: #fff; transform: scale(1.1); box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 3px 12px rgba(0,0,0,.6); }
.poster-aktion:focus:not(:focus-visible) { transform: none; box-shadow: 0 3px 10px rgba(0,0,0,.55); border-color: rgba(255,255,255,.55); }
html[data-eingabe="taste"] .poster-aktion { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,10,14,.85); }

.detail-info-spalte { flex: 1; min-width: 0; padding-top: 8px; }
.detail-info-spalte h1 { margin: 0 0 .8rem; font-size: calc(2.2rem * var(--fs, 1)); }

/* ---- HDR-/Streaminganbieter-Kennzeichnung - eigene Zeile UEBER den Pillen (Sterne/Jahr/FSK), spiegelt DetailScreen.kt ---- */

.anbieter-badge {
    color: #fff;
    padding: .3rem .7rem;
    border-radius: 6px;
    font-size: calc(.78rem * var(--fs, 1));
    font-weight: 700;
}

.genres-zeile { color: var(--text-dim); margin: 0 0 1rem; }

.overview-text { line-height: 1.6; max-width: 70ch; }

/* Trailer/Von-vorne-abspielen/Empfehlen/Fehler-melden - auf breiten
   Bildschirmen eine Reihe (spiegelt die TV-Fassung von DetailScreen.kt,
   wo alle Knoepfe nebeneinander passen), am Handy zu zweit pro Zeile
   (siehe media query unten, spiegelt DetailSchmalKopf's 2x2-Aufteilung). */
.detail-knopf-reihe {
    /* Alle Knoepfe gleich breit (DetailScreen.kt, v5.1.1-beta11). */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .7rem;
    margin: 1.4rem 0 0;
    max-width: 70ch;
}
.detail-knopf-reihe .detail-knopf { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Youtube-Trailer als eingebettetes iframe in einem zentrierten Overlay
   (oeffneTrailerOverlay() in gemeinsam.js) statt eines neuen Tabs oder
   einer Inline-Einbettung auf der Seite selbst (Nutzerwunsch, 2026-09-20:
   "relativ groß", zentriert). Teilt sich .fern-overlay (Hintergrund/
   Zentrierung/Escape-Taste/Klick-daneben) mit den anderen Dialogen - nur
   die "Karte" selbst ist hier eigens (viel breiter, randlos fuers Video). */
.trailer-video-karte {
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* 2.2.2-beta9: am PC ein Fenster, das auch auf niedrigen Bildschirmen nie bis an den Rand reicht */
    max-width: calc(82vh / var(--nx-zoom, 1) * 16 / 9); /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */
    aspect-ratio: 16 / 9;
}
@supports (width: min(1px, 2px)) { .trailer-video-karte { max-width: min(1100px, calc(82vh / var(--nx-zoom, 1) * 16 / 9)); } }
.trailer-video-karte iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; border: none; }
/* Am Fernseher den ganzen Bildschirm (2.2.1-beta1, Nutzerbericht: rundum ein paar Pixel Rand) */
.fern-overlay.trailer-vollbild { padding: 0; background: #000; }
/* Mauszeiger im Trailer (Hotfix 2.6.1, gemeinsam.js trailerZeigerAusblenden): nach 3 s Ruhe eine durchsichtige Schicht
   ueber dem YouTube-Rahmen, die den Zeiger verbirgt; jede Bewegung macht sie wieder durchlaessig */
.trailer-zeiger-schicht { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; background: transparent; pointer-events: none; }
.trailer-zeiger-schicht.ruhe { pointer-events: auto; cursor: none; }
.fern-overlay.trailer-zeiger-weg, .fern-overlay.trailer-zeiger-weg * { cursor: none !important; }
/* Zurueck-Pfeil oben links im Trailer (2.6.2-beta4) wie .nx-schliessen im Player; blendet mit dem Mauszeiger aus */
.trailer-zurueck {
    position: absolute; z-index: 5; top: 1rem; left: 1rem;
    top: calc(1rem + env(safe-area-inset-top, 0px)); left: calc(1rem + env(safe-area-inset-left, 0px));
    width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.55); color: #fff; cursor: pointer; transition: opacity .25s ease;
}
.trailer-zurueck .material-icons { font-size: 30px; }
.trailer-zurueck:hover, .trailer-zurueck:focus { background: #E50914; outline: none; }
.fern-overlay.trailer-zeiger-weg .trailer-zurueck { opacity: 0; pointer-events: none; }
.fern-overlay.trailer-vollbild .trailer-video-karte { max-width: none; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }

/* Drehung der kleinen OK-Hand als Ladezeichen (.km-lader-hand) */

@keyframes knopf-spinner-dreh { to { transform: rotate(360deg); } }

.detail-knopf {
    background: rgba(255,255,255,.12);
    color: var(--text);
    border: none;
    border-radius: 8px;
    padding: .8rem 1.3rem;
    font-size: calc(.95rem * var(--fs, 1));
    font-weight: 600;
    cursor: pointer;
}
.detail-knopf:hover, .detail-knopf:focus { background: var(--rot); color: #fff; outline: none; }
.detail-knopf:disabled { opacity: .75; cursor: default; }

.episoden-bereich { margin-top: 2.5rem; }

.staffel-reiter {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 1.2rem;
    overflow-x: auto;
}

.staffel-reiter button {
    position: relative;
    background: none;
    border: none;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: .03em;
    padding: .8rem 0;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.staffel-reiter button.aktiv { color: #e6b800; border-color: #e6b800; }

/* Bisher KEINE eigene Fokus-Anzeige (Nutzer-Fund, 2026-09-20: per
   Fernbedienung erreichbar gemacht, aber komplett unsichtbar wo der Fokus
   gerade steht). */
.staffel-reiter button:focus { outline: none; color: var(--text); border-color: var(--rot); }

/* Gesehene Staffel: derselbe dezente Gruenton wie eine gesehene Folge -
   siehe SeasonTab-Kommentar in DetailScreen.kt. */
.staffel-reiter button.gesehen:not(.aktiv) { color: #3ddc84; }

.episode-zeile {
    display: flex;
    gap: 1rem;
    padding: .8rem;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: .6rem;
    background: rgba(255,255,255,.06);
}

.episode-zeile:hover, .episode-zeile:focus { background: rgba(229,9,20,.2); outline: none; }
@supports (color: color-mix(in srgb, red, red)) { .episode-zeile:hover, .episode-zeile:focus { background: color-mix(in srgb, var(--rot) 20%, transparent); } }
/* Fernbedienung: zusaetzlich ein Rahmen in der Designfarbe (der Hintergrund oben ist fest rot) */
html[data-eingabe="taste"] .episode-zeile:focus { box-shadow: inset 0 0 0 2px var(--rot); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .episode-zeile:focus-visible { box-shadow: inset 0 0 0 2px var(--rot); }

/* Gesehene Folge: dezenter gruener Unterton - siehe EpisodeRow in
   DetailScreen.kt (Color(0x331B8F4C) statt des normalen Weiss-Untertons). */
.episode-zeile.gesehen { background: rgba(27,143,76,.2); }
.episode-zeile.gesehen:hover, .episode-zeile.gesehen:focus { background: rgba(229,9,20,.2); }
@supports (color: color-mix(in srgb, red, red)) { .episode-zeile.gesehen:hover, .episode-zeile.gesehen:focus { background: color-mix(in srgb, var(--rot) 20%, transparent); } }

.episode-bild-rahmen { position: relative; width: 160px; flex: 0 0 auto; }
.episode-bild-rahmen img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block;
    /* Ohne das faengt Chromes eigenes "Bild lange gedrueckt"-Menue die
       Geste ab, bevor unser Halten fuers Kontextmenue (1 s) ueberhaupt greift -
       die Beruehrung geht dadurch stattdessen an die Zeile darunter. */
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.episode-info { min-width: 0; }
.episode-kopf { display: flex; align-items: center; gap: .5rem; }
.episode-kopf h3 { margin: 0; font-size: calc(1rem * var(--fs, 1)); }
.episode-haken { color: #3ddc84; font-size: calc(20px * var(--fs, 1)); }
.episode-info p {
    color: var(--text-dim);
    font-size: calc(.85rem * var(--fs, 1));
    margin: .3rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-fortschritt { height: 3px; background: rgba(255,255,255,.25); margin-top: .5rem; border-radius: 2px; }
.episode-fortschritt > i { display: block; height: 100%; background: var(--rot); border-radius: 2px; }

/* ---------------------------------------------------------------------
   Folgen als Cover-Raster (App v5.3.1-beta3, Standard; "Folgen bei Serien"):
   Spalten setzt detail.js (Kacheln ab ~200 px, 2-8), Abstand 18 px bzw. am
   Handy 12/14 px. 16:9 ueber padding-top statt aspect-ratio (alte Fernseher).
   --------------------------------------------------------------------- */
.folgen-raster { display: grid; grid-template-columns: repeat(var(--spalten, 4), minmax(0, 1fr)); column-gap: 18px; row-gap: 18px; }
@media (max-width: 640px) { .folgen-raster { column-gap: 12px; row-gap: 14px; } }
.folgen-kachel { min-width: 0; cursor: pointer; outline: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.fk-bild { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: var(--flaeche); box-shadow: inset 0 0 0 3px transparent; }
.fk-bild img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Fokus: Rahmen in der Designfarbe nur ums Bild (als Ebene darueber, damit das Bild ihn nicht verdeckt) */
.fk-bild::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 10px; border: 3px solid transparent; pointer-events: none; }
.folgen-kachel:hover .fk-bild::after, .folgen-kachel:focus .fk-bild::after { border-color: var(--rot); }
.fk-haken {
    position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(27, 143, 76, .9); color: #fff; font-size: 14px;
}
.fk-schild {
    position: absolute; padding: 3px 7px; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff;
    font-size: calc(11px * var(--fs, 1)); font-weight: 700; line-height: 1.25; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}
.fk-aufloesung { top: 8px; right: 8px; }
.fk-aufloesung.fk-4k { background: rgba(27, 143, 76, .9); }
.fk-dauer { bottom: 8px; right: 8px; }
.fk-fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .5); }
.fk-fortschritt > i { display: block; height: 100%; background: var(--rot); }
.fk-kuerzel { margin-top: 8px; color: #d9a21b; font-size: calc(13px * var(--fs, 1)); font-weight: 700; }
.fk-titel {
    margin-top: 1px; color: var(--text); font-size: calc(15px * var(--fs, 1)); line-height: 1.27; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.folgen-kachel.gesehen:not(:focus):not(:hover) .fk-kuerzel { opacity: .6; }
.folgen-kachel.gesehen:not(:focus):not(:hover) .fk-titel { color: var(--text-dim); }
/* Fehlende/kommende Folge (App LueckenKachel): gestrichelt, fokussierbar ohne Klickwirkung */
.folgen-luecke { min-width: 0; outline: none; cursor: default; }
.fl-flaeche {
    position: relative; padding-top: 56.25%; border-radius: 10px; background: rgba(32, 32, 39, .7);
    border: 1.5px dashed rgba(255, 255, 255, .6); box-sizing: border-box;
}
.fl-flaeche > b, .fl-flaeche > small { position: absolute; left: 10px; right: 10px; text-align: center; }
.fl-flaeche > b { bottom: 50%; color: #fff; font-size: calc(17px * var(--fs, 1)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-flaeche > small { top: 50%; margin-top: 2px; color: rgba(255, 255, 255, .85); font-size: calc(13px * var(--fs, 1)); }
.folgen-luecke:focus .fl-flaeche { border: 3px solid var(--rot); }
.fl-titel {
    margin-top: 8px; color: var(--text-dim); font-size: calc(15px * var(--fs, 1)); line-height: 1.27;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-skin="HELL"] .fl-flaeche { background: rgba(32, 32, 39, .78); }
/* Dasselbe als Zeile der Liste (App LueckenZeile): gedaempft, im Fokus voll mit Rahmen */
.episode-luecke {
    display: flex; align-items: center; gap: 12px; margin-bottom: .6rem; padding: 14px; border-radius: 10px;
    background: rgba(255, 255, 255, .06); opacity: .45; outline: none; box-shadow: inset 0 0 0 2px transparent;
}
.episode-luecke:focus { opacity: 1; box-shadow: inset 0 0 0 2px var(--rot); }
.el-nr { flex: 0 0 56px; color: var(--text-dim); font-size: calc(15px * var(--fs, 1)); font-weight: 600; }
.el-titel { flex: 1; min-width: 0; color: var(--text-dim); font-size: calc(16px * var(--fs, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-zustand { flex: 0 0 auto; color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); }
/* Halten fuers Kontextmenue einer Folge (App HoldRing, Phase OEFFNE_DETAIL): blauer Ring ab 250 ms */
.menue-halte-ring { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.menue-halte-ring svg { width: 46%; max-width: 110px; overflow: visible; }
.mhr-spur, .mhr-fort { fill: none; stroke-width: 4; }
.mhr-spur { stroke: rgba(0, 0, 0, .33); }
.mhr-fort { stroke: #3fa8ff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .04s linear; }
/* Kontextmenue einer Folge (App FolgenKontextMenu) */
.km-buehne.km-folgen-buehne { background: rgba(0, 0, 0, .78); }
.km-dialog-karte.km-folgen-karte { width: calc(100% - 32px); max-width: 520px; padding: 24px; box-sizing: border-box; }
.km-folgen-kuerzel { margin: 0 0 2px; color: #d9a21b; font-size: calc(14px * var(--fs, 1)); font-weight: 700; }
.km-folgen-titel {
    margin: 0 0 14px; color: #fff; font-size: calc(22px * var(--fs, 1)); line-height: 1.25; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------------------------------------------------------------
   Fernbedienung (App v5.3.1-beta13): schwebende Leiste unten, grosse
   Ansicht und Geraete-Auswahl im Stil des Kontextmenues (gemeinsam.js
   oeffneFernsteuerPanel/oeffneFernbedienungsUebersicht).
   --------------------------------------------------------------------- */
.fern-rund {
    flex: 0 0 auto; margin: 0 3px; padding: 0; border: 0; border-radius: 50%; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .10); color: #fff; cursor: pointer; font-family: inherit;
    transition: transform .15s ease, background .15s ease; -webkit-tap-highlight-color: transparent;
}
.fern-rund:hover, .fern-rund:focus { background: #fff; color: #111114; outline: none; }
.fern-rund:focus { transform: scale(1.08); }
.fern-rund.fern-rund-rot, .fern-rund.fern-rund-scharf { background: var(--rot); color: #fff; }
.fern-rund.fern-rund-rot:focus, .fern-rund.fern-rund-scharf:focus { box-shadow: 0 0 0 3px #fff; }
.fern-rund:active { filter: brightness(.85); }
.fern-rund[hidden] { display: none; }
.fern-leiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; box-sizing: border-box;
    padding: 4px 10px 8px; padding: 4px 10px calc(8px + env(safe-area-inset-bottom, 0px));
}
.fl-karte {
    max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: 18px;
    background: rgba(18, 18, 22, .95); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}
.fl-reihe { display: flex; align-items: center; padding: 8px 6px 8px 10px; }
.fl-cover, .fg-cover {
    flex: 0 0 auto; position: relative; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .08);
    display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .7);
}
.fl-cover { width: 34px; height: 51px; margin-right: 12px; }
.fl-cover img, .fg-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.fl-cover .material-icons { font-size: 18px; }
.fl-text { flex: 1; min-width: 0; cursor: pointer; outline: none; }
.fl-titel { margin: 0; color: #fff; font-size: calc(15px * var(--fs, 1)); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-meta { margin: 1px 0 0; color: rgba(255, 255, 255, .6); font-size: calc(12px * var(--fs, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-linie { height: 3px; background: rgba(255, 255, 255, .12); }
.fl-linie > i { display: block; height: 100%; width: 0; background: var(--rot); }
body.mit-fern-leiste { padding-bottom: 90px; }
@media (max-width: 640px) {
    /* Ueber der Handy-Tableiste (.untere-nav, 64 px) statt darunter */
    .fern-leiste { bottom: 64px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: 6px; }
    body.mit-fern-leiste { padding-bottom: 160px; }
}
/* Grosse Fernbedienung */
.km-fern-dunkel { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .85); }
.km-dialog-karte.km-fern-gross { width: calc(100% - 32px); max-width: 860px; padding: 28px; }
.fg-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.fg-kopf .fern-rund { margin: 0; }
.fg-kopf-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fg-ueber { color: rgba(255, 255, 255, .5); font-size: calc(11px * var(--fs, 1)); font-weight: 600; letter-spacing: 1.5px; }
.fg-geraet { display: flex; align-items: center; gap: 6px; color: #fff; font-size: calc(16px * var(--fs, 1)); font-weight: 600; min-width: 0; }
.fg-geraet .material-icons { font-size: 16px; }
.fg-geraet-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-haupt { display: flex; align-items: flex-start; gap: 28px; }
.fg-cover { width: 200px; height: 300px; border-radius: 14px; }
.fg-cover .material-icons { font-size: 36px; }
.fg-rechts { flex: 1; min-width: 0; }
.fg-titel {
    margin: 0; color: #fff; font-size: calc(24px * var(--fs, 1)); line-height: 1.2; font-weight: 700;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fg-unter {
    margin: 4px 0 0; color: rgba(255, 255, 255, .72); font-size: calc(15px * var(--fs, 1));
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fg-laden { margin: 6px 0 0; color: rgba(255, 255, 255, .55); font-size: calc(13px * var(--fs, 1)); }
.fg-zeitleiste, .fg-regler { position: relative; height: 28px; display: flex; align-items: center; cursor: pointer; outline: none; touch-action: none; }
.fg-zeitleiste { margin-top: 18px; }
.fg-schiene { position: relative; display: block; width: 100%; height: 5px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .18); transition: height .12s ease; }
.fg-schiene > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--rot); }
.fg-zeitleiste:focus .fg-schiene, .fg-regler:focus .fg-schiene { height: 8px; }
.fg-zeitleiste:focus .fg-schiene > i, .fg-regler:focus .fg-schiene > i { background: #fff; }
.fg-regler { flex: 1; min-width: 60px; }
.fg-regler .fg-schiene { height: 6px; background: rgba(255, 255, 255, .15); }
.fg-zeiten { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .7); font-size: calc(12px * var(--fs, 1)); font-variant-numeric: tabular-nums; }
.fg-tasten { display: flex; align-items: center; justify-content: space-evenly; margin: 10px 0 18px; }
.fg-unten { display: flex; align-items: center; }
.fg-stopp-text { margin: 0 8px; color: var(--rot); font-size: calc(13px * var(--fs, 1)); font-weight: 600; white-space: nowrap; }
.fg-laut { flex: 1; display: flex; align-items: center; gap: 8px; margin-left: 16px; min-width: 0; }
.fg-prozent { flex: 0 0 48px; text-align: right; color: rgba(255, 255, 255, .7); font-size: calc(13px * var(--fs, 1)); }
.fg-zeitleiste[hidden], .fg-zeiten[hidden], .fg-tasten[hidden], .fg-unten[hidden], .fg-laut[hidden], .fg-unter[hidden], .fg-laden[hidden], .fg-stopp-text[hidden] { display: none; }
@media (max-width: 640px) {
    .km-dialog-karte.km-fern-gross { padding: 20px; }
    .fg-kopf { margin-bottom: 18px; }
    .fg-haupt { flex-direction: column; align-items: center; gap: 16px; }
    .fg-cover { width: 170px; height: 255px; }
    .fg-rechts { width: 100%; }
    .fg-titel, .fg-unter, .fg-laden { text-align: center; }
    .fg-laut { margin-left: 8px; }
}
/* Geraete-Auswahl (App GeraeteDialog) */
.km-buehne.km-fern-buehne { background: rgba(0, 0, 0, .82); }
.km-dialog-karte.km-fern-karte { width: calc(100% - 32px); max-width: 560px; padding: 24px; }
.km-fern-kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.km-fern-kopf-symbol { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .10); display: flex; align-items: center; justify-content: center; }
.km-fern-kopf-symbol .material-icons { font-size: 24px; color: #fff; }
.km-fern-kopf-text { min-width: 0; }
.km-fern-kopf-text h2 { margin: 0; color: #fff; font-size: calc(22px * var(--fs, 1)); font-weight: 700; }
.km-fern-kopf-text p {
    margin: 0; color: rgba(255, 255, 255, .55); font-size: calc(14px * var(--fs, 1));
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.km-fern-inhalt { margin-bottom: 10px; }
.km-fern-hinweis { display: flex; align-items: center; gap: 14px; padding: 6px 14px; color: rgba(255, 255, 255, .7); font-size: calc(15px * var(--fs, 1)); line-height: 1.4; }
.km-fern-hinweis .material-icons { font-size: 24px; flex: 0 0 auto; }
.km-fern-hinweis-fehler { color: var(--rot); }
.km-hinweis.km-fern-tipp { margin: 8px 0 0; padding: 0 14px; color: rgba(255, 255, 255, .55); font-size: calc(13px * var(--fs, 1)); }
.km-fern-karte .km-feld { margin-bottom: 12px; }

/* ---------------------------------------------------------------------
   Player
   --------------------------------------------------------------------- */

.player-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: #000;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-overlay video {
    width: 100%;
    height: 100%;
}

.player-schliessen {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: calc(1.1rem * var(--fs, 1));
    cursor: pointer;
    z-index: 201;
}
/* Live TV Kopf (2.6.2-beta2, Nutzerwunsch): Zurueck-Pfeil oben links wie im Film-Player statt X oben rechts, daneben
   Senderlogo (wie dort das Cover), Name und laufende Sendung; blendet mit der Leiste ein/aus (live-kopf-an) */
.player-schliessen.live-zurueck {
    right: auto; left: 1rem; left: calc(1rem + env(safe-area-inset-left, 0px)); top: 1rem; top: calc(1rem + env(safe-area-inset-top, 0px));
    width: 46px; height: 46px; padding: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.45); z-index: 202; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.player-schliessen.live-zurueck .material-icons { font-size: 30px; }
.player-schliessen.live-zurueck:hover, .player-schliessen.live-zurueck:focus { background: #E50914; outline: none; }
.live-kopf {
    position: absolute; z-index: 201; display: flex; align-items: center; max-width: 75%;
    top: 1rem; top: calc(1rem + env(safe-area-inset-top, 0px));
    left: calc(1rem + 58px); left: calc(1rem + 58px + env(safe-area-inset-left, 0px));
    color: #fff; pointer-events: none; opacity: 0; transition: opacity .25s ease;
}
.player-overlay.live-kopf-an .live-kopf, .player-overlay.live-kopf-an .player-schliessen.live-zurueck { opacity: 1; }
.player-overlay.live-kopf-an .player-schliessen.live-zurueck { pointer-events: auto; }
.player-overlay::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 9rem; z-index: 200; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,0)); opacity: 0; transition: opacity .25s ease;
}
.player-overlay.live-kopf-an::before { opacity: 1; }
.live-kopf-logo { flex: none; height: 56px; max-width: 150px; object-fit: contain; margin-right: .9rem; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.45); }
.live-kopf-logo[hidden] { display: none; }
.live-kopf-text { min-width: 0; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.live-kopf-name { font-size: calc(1.25rem * var(--fs, 1)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-kopf-titel { margin-top: .15rem; font-size: calc(.95rem * var(--fs, 1)); color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-kopf-titel[hidden] { display: none; }
.live-kopf-tasten { margin-top: .3rem; font-size: calc(.8rem * var(--fs, 1)); color: #aaa; }
/* Der alte Namenskasten oben links ist im Kopf aufgegangen */
.player-overlay .live-sender-hinweis { display: none; }
/* Sender hoch/runter ueber/unter Play-Pause (2.6.2-beta2) - Abstaende per margin (aeltere Fernseher-Browser) */
.live-pause-stapel { flex: none; display: flex; flex-direction: column; align-items: center; }
.live-knopf.live-sender-knopf { width: 38px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.1); margin: 3px 0; }
.live-knopf.live-sender-knopf .material-icons { font-size: 28px; }
.live-knopf.live-sender-knopf:hover, .live-knopf.live-sender-knopf:focus-visible { background: rgba(229,9,20,.85); }
/* Live TV: Sendername nach Start/Wechsel (2.3.2-beta30) */
.live-sender-hinweis {
    position: absolute; top: 1rem; left: 1rem; z-index: 201; max-width: 70%;
    padding: .7rem 1rem; border-radius: 10px; background: rgba(0,0,0,.72); color: #fff; pointer-events: none;
}
.live-sender-hinweis[hidden] { display: none; }
.live-sender-name { font-size: calc(1.25rem * var(--fs, 1)); font-weight: 700; }
.live-sender-titel { margin-top: .2rem; font-size: calc(.95rem * var(--fs, 1)); color: #ddd; }
.live-sender-tasten { margin-top: .35rem; font-size: calc(.8rem * var(--fs, 1)); color: #aaa; }
/* Live TV zeitversetzt (2.3.2-beta37): eigene Leiste unten, blendet nach 4 s aus (pausiert bleibt sie) */
.player-overlay:not(.live-zeiger-an) { cursor: none; }
.live-leiste {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 201;
    display: flex; align-items: center; gap: .6rem;
    padding: 2.2rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.live-leiste.live-leiste-sichtbar { opacity: 1; pointer-events: auto; }
.live-knopf {
    flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
}
.live-knopf .material-icons { font-size: 26px; }
.live-knopf:focus-visible, .live-pille:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.live-balken {
    flex: 1 1 auto; min-width: 60px; height: 6px; border-radius: 3px; position: relative; cursor: pointer;
    background: rgba(255,255,255,.25); touch-action: none;
}
.live-balken::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; bottom: -14px; }
.live-balken-fuell { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #E50914; }
.live-balken-fuell::after {
    content: ''; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
    border-radius: 50%; background: #fff;
}
.live-zeit { flex: none; color: #ddd; font-size: calc(.9rem * var(--fs, 1)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-pille {
    flex: none; border: 0; border-radius: 999px; padding: .35rem .8rem; cursor: pointer;
    font-weight: 700; font-size: calc(.85rem * var(--fs, 1)); letter-spacing: .04em;
    background: rgba(255,255,255,.18); color: #fff;
}
.live-pille.live-an { background: #E50914; }
.live-pille.live-an::before { content: '● '; }
.live-ohne-fenster .live-balken, .live-ohne-fenster [aria-label*="30"] { visibility: hidden; }
.live-leiste-tv .nur-zeiger { display: none; }
@media (max-width: 600px) {
    .live-leiste { flex-wrap: wrap; gap: .5rem; }
    .live-balken { order: -1; flex-basis: 100%; margin-bottom: .4rem; }
    .live-zeit { margin-right: auto; }
}

/* ---------------------------------------------------------------------
   Fernbedienung - Geraeteauswahl + Steuer-Panel (spiegelt RemoteControlDialog
   in der App), plus eingehende Nachrichten vom Dashboard/einem anderen
   Geraet (fern-toast).
   --------------------------------------------------------------------- */

.fern-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fern-karte {
    background: var(--flaeche);
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 360px;
    max-height: 80vh;
    max-height: calc(80vh / var(--nx-zoom, 1)); /* zoom: siehe .seitenleiste */
    overflow-y: auto;
    text-align: center;
}

.fern-karte h2 { margin: 0 0 4px; font-size: calc(20px * var(--fs, 1)); }
.fern-untertitel { margin: 0 0 18px; color: var(--text-dim); font-size: calc(14px * var(--fs, 1)); }
.fern-lade, .fern-leer { color: var(--text-dim); }

.fern-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.fern-geraet {
    background: var(--bg);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    font-size: calc(15px * var(--fs, 1));
    text-decoration: none;
    display: block;
}
.fern-geraet:hover, .fern-geraet:focus { border-color: var(--rot); outline: none; }

/* Kontextmenue-Eintraege (oeffneKartenKontextmenue) - dieselbe Karte/Zeile
   wie .fern-geraet, nur mit Icon davor (spiegelt MenuEintrag() in
   ContextMenu.kt). */
.km-eintrag { display: flex; align-items: center; gap: 14px; width: 100%; }
.km-eintrag .material-icons { font-size: 20px; color: var(--text-dim); flex: 0 0 auto; }
.km-eintrag:hover .material-icons, .km-eintrag:focus .material-icons { color: #fff; }

.fern-trennen {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
    display: block;
    text-decoration: none;
    box-sizing: border-box;
}
.fern-trennen:hover, .fern-trennen:focus { border-color: var(--rot); color: var(--text); outline: none; }

/* ---------------------------------------------------------------------
   Fehler-melden/Empfehlen-Dialoge (gemeinsam.js) - teilen sich .fern-
   overlay/.fern-karte/.fern-liste/.fern-geraet/.fern-trennen von oben,
   nur die Textfelder/Knoepfe hier sind eigens.
   --------------------------------------------------------------------- */

.dialog-frage { color: var(--text-dim); font-size: calc(14px * var(--fs, 1)); margin: 4px 0 10px; text-align: left; }

.dialog-eingabe, .dialog-eingabe-einzeilig {
    width: 100%;
    background: var(--bg);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: calc(15px * var(--fs, 1));
    font-family: inherit;
    margin-bottom: 14px;
}
.dialog-eingabe { min-height: 90px; resize: vertical; }
.dialog-eingabe:focus, .dialog-eingabe-einzeilig:focus { border-color: var(--rot); outline: none; }
/* Feld gesperrt bis OK (Fernbedienung, siehe tastaturErstPerOk) - Hinweis, wenn schon ein Text drinsteht */
.feld-ok-hinweis { margin: -8px 0 12px; font-size: calc(13px * var(--fs, 1)); color: var(--text-dim); }

.dialog-knoepfe { display: flex; gap: 10px; margin-top: 4px; }
.dialog-knoepfe .fern-trennen { width: auto; flex: 1; }

.dialog-knopf-primary {
    flex: 1;
    background: var(--rot);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
}
.dialog-knopf-primary:hover, .dialog-knopf-primary:focus { background: #ff1a25; outline: none; }
.dialog-knopf-primary:disabled { opacity: .4; cursor: default; }
/* Unterkonto loeschen (App v5.3.1-beta7): Rueckfrage, "Endgueltig loeschen" erst nach 5 s bedienbar */
.uk-loesch-text { margin: 6px 0 16px; color: var(--text-dim); font-size: calc(15px * var(--fs, 1)); line-height: 1.45; }
.uk-loesch-fehler { margin: -6px 0 14px; color: #ff6b6b; font-size: calc(14px * var(--fs, 1)); }
.uk-loeschen-knopf.uk-wartet, .uk-loeschen-knopf.uk-wartet:hover { opacity: .45; cursor: default; background: var(--rot); }
.uk-loeschen-knopf.uk-wartet:focus { opacity: .6; box-shadow: 0 0 0 2px #fff; }

/* ---------------------------------------------------------------------
   Unterkonten (gemeinsam.js: oeffneUnterkontoAnlegenDialog/
   oeffneUnterkontoWechselDialog) - Avatar-Raster beim Anlegen, Kachelreihe
   beim Wechseln.
   --------------------------------------------------------------------- */

.uk-avatar-raster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.uk-avatar-swatch {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
    background: var(--bg);
    font-size: calc(26px * var(--fs, 1));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.uk-avatar-swatch:hover, .uk-avatar-swatch:focus { border-color: var(--rot); outline: none; }
.uk-avatar-swatch.aktiv { border-color: var(--rot); background: rgba(229,9,20,.15); }
@supports (color: color-mix(in srgb, red, red)) { .uk-avatar-swatch.aktiv { background: color-mix(in srgb, var(--rot) 15%, transparent); } }

.uk-kachel-reihe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 16px 0;
}
.uk-kachel {
    background: var(--bg);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 14px 10px;
    width: 92px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.uk-kachel:hover, .uk-kachel:focus { border-color: var(--rot); outline: none; }
.uk-kachel.aktiv { border-color: var(--rot); background: rgba(229,9,20,.12); }
@supports (color: color-mix(in srgb, red, red)) { .uk-kachel.aktiv { background: color-mix(in srgb, var(--rot) 12%, transparent); } }
.uk-kachel-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--flaeche);
    display: flex; align-items: center; justify-content: center;
    font-size: calc(24px * var(--fs, 1)); font-weight: 700;
    overflow: hidden;
}
/* Echtes hochgeladenes Profilbild statt Smiley/Buchstabe - ohne diese Regel
   rendert der Browser das <img> in seiner vollen Originalgroesse und
   sprengt die Kachel komplett (Nutzer-Fund, 2026-09-19: bei "Alina" riesig
   statt als kleiner Kreis). */
.uk-kachel-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uk-kachel-name { font-size: calc(12px * var(--fs, 1)); text-align: center; color: var(--text-dim); line-height: 1.3; }
.uk-kachel.aktiv .uk-kachel-name { color: var(--text); }
.uk-kachel-hinzufuegen .uk-kachel-avatar { color: var(--rot); font-size: calc(28px * var(--fs, 1)); }

.fern-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: var(--flaeche);
    border-left: 4px solid var(--rot);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 360px; /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */
    max-width: min(360px, calc(100vw - 40px));
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    z-index: 300;
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}
.fern-toast.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.fern-toast strong { font-size: calc(14px * var(--fs, 1)); }
.fern-toast span { color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); }

/* ---------------------------------------------------------------------
   Untere Navigation - nur am Handy, ersetzt die Seitenleiste. Dieselben
   sieben Ziele wie oben (ohne Start, das ist ja schon der Bildschirm hier,
   und ohne Fernbedienung, die steht am Handy stattdessen oben in der
   Kopfzeile) - siehe TopMenu.kt-Kommentar "Tauscht bewusst mit Favoriten".
   --------------------------------------------------------------------- */

.untere-nav {
    display: none;
}

@media (max-width: 640px) {
    /* Muessen hier ebenfalls !important tragen - sonst gewinnt die
       ausserhalb der Media Query stehende !important-Regel oben
       weiterhin (zwei !important-Regeln entscheiden nach Reihenfolge,
       nicht danach, welche in einer Media Query steht). Live gefunden:
       dadurch war das Profilbild im Hochformat komplett verschwunden. */
    .nur-schmal { display: flex !important; }
    .nur-breit { display: none !important; }

    .seitenleiste { display: none; }
    .detail-hintergrund { left: 0; }
    .hero-hintergrund { left: 0; }

    .kopf { padding: 14px 16px 10px; padding-top: 14px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
    .logo { font-size: calc(1.3rem * var(--fs, 1)); }
    .kopf-symbole { gap: 0; }
    .begruessung { display: block; color: var(--text-dim); font-size: calc(.8rem * var(--fs, 1)); margin: 2px 0 0; }

    /* Echte Suchleiste (nur auf suche.php selbst sichtbar, siehe
       teil_kopf_oben.php) passt am Handy nicht mehr NEBEN Logo+Symbolen in
       eine Zeile - rutscht deshalb in eine eigene volle Zeile darunter,
       statt mit allem anderen zu ueberlappen (Nutzer-Fund, 2026-09-19:
       Logo/Symbole/Suchfeld lagen uebereinander). */
    /* Hochformat: Logo + Symbole oben, darunter die Begruessung, darunter
       die Suchleiste - immer direkt sichtbar, auf jeder Seite (wie in der
       Android-App, Nutzerwunsch 2026-09-26). .kopf-oben loest sich dafuer
       per display:contents auf, seine Kinder ordnen sich direkt in .kopf. */
    .kopf { display: flex; flex-wrap: wrap; align-items: center; }
    .kopf-oben { display: contents; }
    .kopf .logo { order: 1; }
    .kopf .kopf-symbole { order: 2; margin-left: auto; }
    .kopf .begruessung { order: 3; flex: 1 1 100%; }
    .kopf .such-leiste { order: 4; flex: 1 1 100%; max-width: none; margin-top: .6rem; }
    /* KI-Lupe (2.4.1-beta2) rechts daneben - die Pille nimmt fast die ganze Zeile, damit sie nie neben das Logo rutscht */
    .kopf .such-leiste { flex: 1 1 calc(100% - 50px); min-width: 0; }
    .kopf .ki-lupe-knopf { order: 5; margin: .6rem 0 0 8px; }
    html.ohne-flexgap.ohne-flexgap.ohne-flexgap.ohne-flexgap .kopf .ki-lupe-knopf { margin: .6rem 0 0 8px; }
    .ki-lupe-innen .material-icons { font-size: 23px; }
    .ki-lupe-kuerzel { margin: -2.3px 0 0 -2.3px; font-size: 6.5px; }
    .icon-knopf { width: 38px; height: 38px; }
    .icon-knopf .material-icons { font-size: 22px; }
    .nav-avatar { width: 36px; height: 36px; font-size: calc(14px * var(--fs, 1)); }

    /* +env(safe-area-inset-bottom) - .untere-nav ist durch denselben
       Sicherheitsabstand (siehe dort) jetzt etwas hoeher, sonst wuerde die
       letzte Kartenreihe knapp dahinter verschwinden (2026-09-20). */
    .reihen { padding: 20px 16px calc(2rem + 64px + 0px); padding: 20px 16px calc(2rem + 64px + env(safe-area-inset-bottom, 0px)); }
    .karte { width: 128px; width: calc(128px * var(--kachel, 1)); }
    .karte.karte-breit { width: 230px; width: calc(230px * var(--kachel, 1)); }
    .karte:focus, .karte.fokus { transform: scale(1.05); }
    /* Siehe .karte:focus:not(:focus-visible) weiter oben - dieselbe
       Begruendung, hier fuer den mobilen Zoom-Effekt. */
    .karte:focus:not(:focus-visible) { transform: none; }

    /* Detailseite: gestapelt statt nebeneinander, Poster zentriert - wie
       in der App im Hochformat (siehe Screenshot Breaking Bad/Manifest). */
    .detail-inhalt { padding: 0 16px calc(2rem + 64px + 0px); padding: 0 16px calc(2rem + 64px + env(safe-area-inset-bottom, 0px)); }
    .detail-rahmen { flex-direction: column; align-items: center; text-align: center; padding-top: 12px; }
    .detail-poster { width: 220px; }
    .overview-text { max-width: none; }
    .episode-bild-rahmen { width: 110px; }

    /* Zu zweit pro Zeile statt frei umbrechend - spiegelt DetailSchmalKopf
       in der App (Trailer/Empfehlen/Fehler melden/Watch Party 2x2). */
    .detail-knopf-reihe { grid-template-columns: 1fr 1fr; max-width: none; }

    .untere-nav {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        /* Schwarz bei 80% Deckkraft statt voll deckendem #000 (Nutzerwunsch,
           2026-09-19, siehe .seitenleiste). */
        background: rgba(0,0,0,.88);
        /* Wie die Kopfzeile (2026-09-29/10-01): Durchscheinendes nur noch
           verschwommen, kein lesbarer Text mehr hinter den Symbolen. */
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        backdrop-filter: blur(14px) saturate(140%);
        border-top: 1px solid #1e1e1e;
        padding: 6px 0;
        /* Sicherheitsabstand zum Home-Indikator (faellt auf 0px zurueck, wo
           es keinen gibt) - sonst liegen die Symbole hier fast auf der
           Wischleiste (2026-09-20, per Code-Audit gefunden). */
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        z-index: 20;
    }

    .untere-nav button,
    .untere-nav a {
        flex: 1;
        border: none;
        background: none;
        color: var(--text-dim);
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .untere-nav button:hover, .untere-nav a:hover,
    .untere-nav button:focus, .untere-nav a:focus { color: #fff; outline: none; }

    .untere-nav .nav-buchstabe { font-size: calc(17px * var(--fs, 1)); font-weight: 900; }
}

/* ---------------------------------------------------------------------
   Große Bildschirme (Desktop-Monitor, v.a. Ultrawide/hochaufloesend) -
   Nutzerwunsch: alles wirkt auf einem 21:9-Monitor mit hoher Aufloesung
   sehr klein, weil Karten/Raster/Detailseite feste Pixelgroessen haben
   und sich nur die Zahl der Spalten erhoeht, nie die Groesse selbst.
   Bewusst per min-width statt eines Geraete-Merkmals abgegrenzt, dafuer
   gibt es keine zuverlaessige CSS-Erkennung - 2000px liegt sicher ueber
   jeder gaengigen TV-Aufloesung (auch 4K-Fernseher/Streaming-Sticks
   melden ihren Browser-Viewport ueblicherweise mit 1920px Breite), trifft
   aber echte Ultrawide-/hochaufloesende PC-Monitore zuverlaessig -
   ausdruecklicher Nutzerwunsch: "am Fernseher und Handy soll sich nichts
   aendern". Falls ein bestimmter Fernseher/Browser sich hier doch breiter
   meldet, bitte Bescheid geben.
   --------------------------------------------------------------------- */
@media (min-width: 2000px) {
    .reihen, .detail-inhalt {
        max-width: 2200px;
        margin: 0 auto;
        padding-left: 56px;
        padding-right: 56px;
    }

    .browse-titel { font-size: calc(1.9rem * var(--fs, 1)); }
    .reihe h2 { font-size: calc(1.45rem * var(--fs, 1)); }

    .karte { width: 220px; width: calc(220px * var(--kachel, 1)); }
    .browse-raster { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(180px * var(--kachel, 1)), 1fr)); gap: 20px 22px; }
    #livetv-raster { grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); }

    /* Detailseite - Poster und Text zusammen groesser statt einer Spalte
       Inhalt in einem Meer aus Leerraum (siehe Nutzer-Screenshot). */
    .detail-rahmen { gap: 3.5rem; }
    .detail-poster { width: 420px; }
    .abspielen-kreis { width: 84px; height: 84px; }
    .abspielen-kreis .material-icons { font-size: 44px; }
    .detail-info-spalte h1 { font-size: calc(2.9rem * var(--fs, 1)); }
    .overview-text { max-width: 85ch; font-size: calc(1.05rem * var(--fs, 1)); }
    .episode-bild-rahmen { width: 200px; }
}

/* =======================================================================
   BETA-FEATURES (siehe CHANGELOG.md "v5.1.0"): Bald im Kino, Saisonale
   Deko, Playlisten. "Exklusiv für dich" braucht keine eigene Regel - nutzt
   dieselbe .reihe/.karten-band/.karte wie jede andere Startseiten-Reihe.
   ======================================================================= */

/* ---- Bald im Kino: Hero-Banner ganz oben auf dem Startbildschirm ---- */
/* pan-y: waagerechtes Wischen (siehe app.js::ladeKinoBald()) bleibt dem
   eigenen JS ueberlassen, statt dass der Browser es als gescheiterte
   native Wischgeste sofort mit "pointercancel" abbricht, bevor das
   pointerup-basierte Wisch-Erkennen unten je zum Zug kommt - senkrechtes
   Scrollen der Seite selbst bleibt trotzdem moeglich. */
#kino-banner-platz { touch-action: pan-y; position: relative; }
/* Maus (2.3.2-beta19): Pfeile am Rand beim Darueberfahren, Punkte anklickbar, beim Ziehen keine Textauswahl */
.kino-banner { -webkit-user-select: none; user-select: none; }
.kino-pfeil {
    position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border: 0; border-radius: 50%;
    display: none; align-items: center; justify-content: center; padding: 0; cursor: pointer; z-index: 2;
    background: rgba(0,0,0,.5); color: #fff; opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.kino-pfeil-links { left: 12px; }
.kino-pfeil-rechts { right: 12px; }
.kino-pfeil .material-icons { font-size: 30px; }
.kino-pfeil:hover { background: rgba(0,0,0,.75); }
@media (hover: hover) and (pointer: fine) {
    .kino-pfeil { display: flex; }
    #kino-banner-platz:hover .kino-pfeil { opacity: 1; }
}
.kino-banner {
    display: block;
    position: relative;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    background-color: var(--flaeche);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
}
.kino-banner::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%);
}
.kino-banner:focus, .kino-banner:hover { outline: none; }
.kino-banner:focus .kino-banner-inhalt { text-decoration: underline; }
/* Nur die Unterstreichung reichte per Fernbedienung kaum aus, um den Fokus
   ueberhaupt zu bemerken (Nutzer-Fund, 2026-09-20: "Das Banner ist nicht
   anwählbar" - unter anderem, weil man ihn selbst fokussiert kaum sah). */
.kino-banner:focus { box-shadow: inset 0 0 0 3px var(--rot); }
/* Setzt Rahmen+Unterstreichung gezielt zurueck, wenn ":focus" NUR durch
   app.js' programmatischen focus()-Aufruf beim Laden zustande kam (fuer
   Fernbedienungs-Nutzer gedacht), nicht durch echte Tastatur-/
   Fernbedienungs-Navigation - Nutzerbericht, 2026-09-23: auf einem Touch-
   Handy loeste das denselben Rahmen samt Unterstreichung aus wie ein
   echter Fokus, obwohl niemand je eine Taste gedrueckt hatte ("sieht
   komisch/zu dunkel aus"). Siehe .karte:focus:not(:focus-visible) weiter
   oben fuer dieselbe Begruendung ausfuehrlicher, inkl. warum das eine
   ZUSAETZLICHE Regel ist statt ":focus" oben direkt zu ersetzen. */
.kino-banner:focus:not(:focus-visible) {
    box-shadow: none;
}
.kino-banner:focus:not(:focus-visible) .kino-banner-inhalt {
    text-decoration: none;
}
.kino-banner-inhalt {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.kino-banner-label {
    font-size: calc(.8rem * var(--fs, 1));
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rot);
}
.kino-banner-inhalt h2 { margin: 0; font-size: calc(1.8rem * var(--fs, 1)); }
.kino-banner-datum { color: #d7d7db; font-size: calc(.9rem * var(--fs, 1)); }
.kino-banner-punkte {
    position: absolute;
    right: 1.4rem;
    bottom: 1.2rem;
    display: flex;
    gap: 6px;
    background: rgba(0,0,0,.45);
    padding: 5px 8px;
    border-radius: 20px;
}
.kino-banner-punkt {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
}
/* groessere unsichtbare Trefferflaeche fuer den Klick (2.3.2-beta19) */
.kino-banner-punkt::before { content: ''; position: absolute; left: -6px; right: -6px; top: -9px; bottom: -9px; }
.kino-banner-punkt.aktiv { background: #fff; }

/* ---- Saisonale Deko: Schneeflocken + Logo-Schmuck ---- */
#schnee-platz {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}
.schneeflocke {
    position: absolute;
    top: -5%;
    color: #fff;
    animation: schnee-fallen linear infinite;
}
@keyframes schnee-fallen {
    0%   { transform: translateY(0) translateX(0); }
    50%  { transform: translateY(55vh) translateX(12px); }
    100% { transform: translateY(115vh) translateX(-8px); }
}
.logo-weihnachten { position: relative; }
.logo-weihnachten::after {
    content: "🎄";
    position: absolute;
    top: -10px;
    right: -14px;
    font-size: calc(16px * var(--fs, 1));
}
/* ---- Halloween (App v5.3.1-beta12/16): Kuerbis statt OK-Hand im Logo, zwei Fledermaeuse ueber "FL",
   auf der Startseite Fledermaeuse und Glut. Dunkle Designs: orange Fledermaeuse, helles Design: dunkle. ---- */
.logo-halloween { position: relative; }
.logo-fledermaeuse { position: absolute; left: 46%; top: -7px; width: 14%; height: auto; overflow: visible; pointer-events: none; }
.logo-fledermaeuse .logo-fm-1 { fill: rgba(255, 154, 60, .95); }
.logo-fledermaeuse .logo-fm-2 { fill: rgba(255, 154, 60, .8); }
html[data-skin="HELL"] .logo-fledermaeuse .logo-fm-1 { fill: rgba(27, 19, 32, .95); }
html[data-skin="HELL"] .logo-fledermaeuse .logo-fm-2 { fill: rgba(27, 19, 32, .8); }
.hw-glut { position: absolute; top: 0; animation: hw-steigen linear infinite; }
.hw-schwanken { display: block; animation-name: hw-schwanken, hw-flackern; animation-timing-function: ease-in-out, ease-in-out; animation-iteration-count: infinite, infinite; animation-direction: normal, alternate; }
.hw-schwanken > i { display: block; border-radius: 50%; }
@keyframes hw-steigen {
    from { transform: translateY(calc(100vh + 20px)); opacity: 1; }
    to   { transform: translateY(-40px); opacity: .3; }
}
@keyframes hw-schwanken {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(22px); }
    75% { transform: translateX(-22px); }
}
@keyframes hw-flackern { from { opacity: .65; } to { opacity: 1; } }
.hw-fledermaus { position: absolute; left: 0; animation: hw-flug-rechts linear infinite; }
.hw-fledermaus.hw-nach-links { animation-name: hw-flug-links; }
@keyframes hw-flug-rechts { from { transform: translateX(-60px); } to { transform: translateX(calc(100vw + 60px)); } }
@keyframes hw-flug-links { from { transform: translateX(calc(100vw + 60px)); } to { transform: translateX(-60px); } }
.hw-wippen { display: block; animation: hw-wippen ease-in-out infinite; }
@keyframes hw-wippen {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-18px); }
    75% { transform: translateY(18px); }
}
.hw-fledermaus svg { display: block; width: 100%; height: auto; overflow: visible; fill: rgba(255, 154, 60, .42); }
html[data-skin="HELL"] .hw-fledermaus svg { fill: rgba(27, 19, 32, .72); }
/* etwa drei Fluegelschlaege pro Sekunde: zwei Stellungen im Wechsel */
.hw-oben { animation: hw-schlag-oben .33s steps(1) infinite; }
.hw-unten { animation: hw-schlag-unten .33s steps(1) infinite; }
@keyframes hw-schlag-oben { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes hw-schlag-unten { 0% { opacity: 0; } 50% { opacity: 1; } }

/* ---- Playlisten-Übersicht (playlisten.php) ---- */
/* ---- Watchlists als Karten (App v5.2.6-beta29, WatchlistKarte.kt/PlaylistScreen.kt) ---- */
.wl-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 30px; }
.wl-raster.wl-raster-leer { display: block; }
.wl-abschnitt { font-size: calc(1.35rem * var(--fs, 1)); font-weight: 700; margin: 0; }
.wl-oeffentlich-kopf { margin-top: 10px; }
.wl-karte {
    display: flex; flex-direction: column; padding: 16px; border-radius: 20px;
    background: var(--flaeche); border: 1px solid var(--stil-rand);
    color: var(--text); text-decoration: none; outline: none;
    transition: transform .14s ease, box-shadow .14s ease;
}
/* Fokus: Rahmen in Schriftfarbe statt Rot, leicht angehoben */
.wl-karte:hover, html[data-eingabe="taste"] .wl-karte:focus {
    transform: scale(1.04); border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text);
    background-image: linear-gradient(var(--stil-flaeche), var(--stil-flaeche));
}
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .wl-karte:focus-visible {
    transform: scale(1.04); border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text);
    background-image: linear-gradient(var(--stil-flaeche), var(--stil-flaeche));
}
.wl-karte-kopf { display: flex; align-items: center; gap: 8px; }
.wl-karte-name { flex: 1; min-width: 0; font-size: calc(18px * var(--fs, 1)); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-karte-globus { font-size: calc(18px * var(--fs, 1)); color: var(--text-dim); }
.wl-karte-unter { color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-cover-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.wl-cover { position: relative; border-radius: 8px; overflow: hidden; background: var(--stil-flaeche); }
.wl-cover::before { content: ''; display: block; padding-top: 150%; }
.wl-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-cover-mehr {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.62); color: #fff; font-size: calc(20px * var(--fs, 1)); font-weight: 700;
}
@media (max-width: 700px) {
    .wl-raster { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* ---- Kopfkarte in der Watchlist (App PlaylistDetailScreen.kt WatchlistKopf) ---- */
.wl-titel-versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.wl-kopf { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid rgba(255,255,255,.09); margin: .5rem 0 22px; color: #fff; background: #0b0b0f; }
.wl-kopf .wl-kopf-hg::after { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.78)); }
.wl-kopf .wl-kopf-hg-leer { background: linear-gradient(135deg, #1a1218, #101014 55%, #0b0b0f); }
.wl-kopf .wl-kopf-hg-leer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 0 0, var(--rot), transparent 65%); opacity: .3; }
.wl-kopf .wl-kopf-hg-leer::after { background: none; }
.wl-kopf-innen { position: relative; display: flex; align-items: center; gap: 26px; padding: 20px 26px; }
.wl-stapel { --b: 80px; position: relative; flex: 0 0 auto; width: calc(var(--b) * 1.4); height: calc(var(--b) * 1.5); }
.wl-stapel-cover { position: absolute; top: 0; left: 0; width: var(--b); height: calc(var(--b) * 1.5); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.1); transform-origin: 100% 50%; }
.wl-stapel-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-stapel-cover::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.wl-p1 { left: calc(var(--b) * .2); transform: scale(.9); }
.wl-p2 { left: calc(var(--b) * .4); transform: scale(.8); }
.wl-p1::after { background: rgba(0,0,0,.4); }
.wl-p2::after { background: rgba(0,0,0,.55); }
.wl-stapel-leer { display: flex; align-items: center; justify-content: center; }
.wl-stapel-leer .material-icons { font-size: calc(var(--b) * .4); color: rgba(255,255,255,.7); }
.wl-kopf-text { flex: 1; min-width: 0; }
.wl-kopf-etikett { font-size: calc(12px * var(--fs, 1)); font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,.6); }
.wl-kopf-name { font-size: calc(28px * var(--fs, 1)); line-height: 32px; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-kopf-unter { color: rgba(255,255,255,.75); font-size: calc(15px * var(--fs, 1)); margin-top: 4px; }
.wl-kopf-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.wl-kopf-hinweis { color: rgba(255,255,255,.55); font-size: calc(13px * var(--fs, 1)); padding-left: 6px; }
@media (max-width: 700px) {
    .wl-kopf-innen { gap: 18px; padding: 18px; align-items: flex-start; }
    .wl-stapel { --b: 60px; }
    .wl-kopf-name { font-size: calc(22px * var(--fs, 1)); line-height: 26px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* "Titel hinzufügen" (Watchlist): Treffer mit grünem Häkchen, wenn schon drin */
.km-dzeile.km-dzeile-treffer { display: flex; align-items: center; gap: 10px; }
.km-dzeile-treffer .km-dzeile-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.km-dzeile-haken { color: #3ddc84; font-size: calc(22px * var(--fs, 1)); flex: 0 0 auto; }
.km-dsuche { margin-top: 14px; }

/* ---- Videoqualitaet-Abzeichen (SD/HD/FHD/4K) - spiegelt ResolutionBadge()
   in Cards.kt: seit beta94 oben rechts wie in der App (Nutzerwunsch), die
   Staffelzahl bleibt oben links. Der "⋮"-Knopf, der frueher oben rechts sass,
   ist laengst durch das Halten ersetzt. */
.karte-badge-aufloesung {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: calc(11px * var(--fs, 1));
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
}
.karte-badge-aufloesung.uhd { background: rgba(27,143,76,.9); }
/* Blaetterpfeile an waagerechten Reihen (2.6.1-beta4, Samsung-Browser - gemeinsam.js bandPfeile): immer sichtbar,
   gross genug fuer den Fernbedienungszeiger; Lage/Hoehe setzt das Skript passend zum Band */
.band-pfeil {
    position: absolute;
    z-index: 6;
    width: 64px;
    padding: 0;
    border: 0;
    margin: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55);
}
.band-pfeil[hidden] { display: none; }
.band-pfeil-links { background: linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,.25)); border-radius: 0 8px 8px 0; }
.band-pfeil-rechts { background: linear-gradient(to left, rgba(0,0,0,.85), rgba(0,0,0,.25)); border-radius: 8px 0 0 8px; }
.band-pfeil .material-icons { font-size: 52px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.band-pfeil:hover, .band-pfeil:focus { background: rgba(229,9,20,.85); outline: none; }
/* HDR neben der Aufloesung (2.6.1-beta2, Farben wie die Pille auf der Detailseite): HDR gold, Dolby Vision blau */
.karte-badge-aufloesung.karte-badge-hdr { background: rgba(138,106,0,.9); }
.karte-badge-aufloesung.karte-badge-hdr.dv { background: rgba(27,42,107,.9); }
/* Kennzeichen oben links nebeneinander: Staffelzahl (App v5.2.6-beta38), dann Aufloesung (beta25).
   Abstaende per margin statt flex-gap (aeltere Fernseher-Browser). */
.karte-ecke-links {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-wrap: wrap;
    max-width: calc(100% - 50px);
    z-index: 2;
    pointer-events: none;
}
.karte-ecke-links > .karte-badge-aufloesung { position: static; margin: 0 4px 4px 0; }
.karte-ecke-rechts {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 50%;
    z-index: 2;
    pointer-events: none;
}
.karte-ecke-rechts > .karte-badge-aufloesung { position: static; margin: 0 0 4px 4px; }
/* Schmale Handy-Kacheln (drei nebeneinander): etwas kleinere Kennzeichen, damit "4 Staffeln" und "FHD" nebeneinander passen */
@media (max-width: 640px) {
    .karte-ecke-links { top: 5px; left: 5px; max-width: calc(100% - 40px); }
    .karte-ecke-rechts { top: 5px; right: 5px; }
    .karte-ecke-links > .karte-badge-aufloesung, .karte-ecke-rechts > .karte-badge-aufloesung { font-size: calc(10px * var(--fs, 1)); padding: 2px 5px; }
    .karte-ecke-links > .karte-badge-aufloesung { margin-right: 3px; }
    .karte-ecke-rechts > .karte-badge-aufloesung { margin-left: 3px; }
}
.karte-badge-staffeln { display: inline-flex; align-items: center; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.karte-badge-haken { color: #46d369; margin-right: 4px; font-weight: 900; }
.karte-badge-staffeln .kb-lang, .karte-badge-staffeln .kb-kurz { white-space: pre; }
.karte-badge-staffeln .kb-kurz { display: none; }
@media (max-width: 640px) {
    .karte-badge-staffeln.lang .kb-lang { display: none; }
    .karte-badge-staffeln.lang .kb-kurz { display: inline; }
}

/* ---- Mini-Spiel bei Verbindungsabbruch (siehe OfflineMiniGame.kt) ---- */
.mini-spiel {
    position: relative;
    width: 100%;
    height: calc(60vh / var(--nx-zoom, 1)); /* Rueckfall ohne min(): sonst hat das Spielfeld keine Hoehe (2.2.2-beta11, Pruefung 15.10.) */
    max-height: 420px; /* Obergrenze wie im min() (2.2.2-beta11, Pruefung 15.10.) */
    height: min(60vh, 420px);
    border-radius: 10px;
    overflow: hidden;
    background: #0a0a0c;
    outline: none;
}
@supports (width: min(1px, 2px)) { .mini-spiel { height: min(calc(60vh / var(--nx-zoom, 1)), 420px); } }
.mini-spiel canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.mini-spiel-score {
    position: absolute;
    top: 14px;
    left: 16px;
    color: #aaaab2;
    font-size: calc(.85rem * var(--fs, 1));
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.mini-spiel-mitte {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    font-size: calc(1rem * var(--fs, 1));
    font-weight: 600;
    white-space: pre-line;
    pointer-events: none;
}
.mini-spiel-server-da {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.6);
    border-radius: 20px;
    padding: 6px 8px 6px 14px;
    color: #3ddc84;
    font-size: calc(.85rem * var(--fs, 1));
    font-weight: 600;
}
.mini-spiel-server-da button {
    background: #3ddc84;
    color: #06210f;
    border: none;
    border-radius: 16px;
    padding: 5px 12px;
    font-weight: 700;
    font-size: calc(.8rem * var(--fs, 1));
    cursor: pointer;
}

/* Text in der schlichten Ja/Nein-Rueckfrage (gemeinsam.js::bestaetigen) */
.fern-karte .dialog-text { color: var(--text-dim); margin: 0 0 1rem; line-height: 1.45; }

/* Profilbild zuschneiden (gemeinsam.js::oeffneAvatarZuschneiden) */
.avatar-zuschnitt-karte { max-width: 420px; }
.avatar-waehlen { display: block; text-align: center; cursor: pointer; margin: .4rem 0 1rem; }
.avatar-zuschnitt canvas {
    display: block;
    width: 280px; /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */
    width: min(280px, 70vw);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto .8rem;
    border-radius: 12px;
    touch-action: none;
    cursor: grab;
    background: #000;
}
.avatar-zuschnitt canvas:focus { outline: 2px solid var(--rot); outline-offset: 3px; }

/* Retro-/Oldis-Design: Kopfzeile nur mit Symbolen - Lupe statt Suchleiste
   (TopMenu.kt, v5.1.1-beta29/35). data-skin setzt das Inline-Script im <head>. */
.icon-knopf.nur-retro-lupe { display: none; }
@media (min-width: 641px) {
    html[data-skin="RETRO"] .such-leiste.such-leiste-platzhalter,
    html[data-skin="OLDIS"] .such-leiste.such-leiste-platzhalter { display: none !important; }
    html[data-skin="RETRO"] .icon-knopf.nur-retro-lupe,
    html[data-skin="OLDIS"] .icon-knopf.nur-retro-lupe { display: flex; }
}

/* Farbschleier hinter der Suche (FarbSchleier.kt, v5.1.1-beta40) - liegt
   unter Kopfzeile/Seitenleiste/Inhalt, die dafuer eine eigene Ebene bekommen. */
.farb-schleier {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 80vh;
    pointer-events: none;
    z-index: 0;
    /* Unten weich auslaufen lassen statt einer harten Kante. */
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.mit-farbschleier .seitenleiste { z-index: 1; } /* bleibt sticky */
.mit-farbschleier .hauptbereich { position: relative; z-index: 1; }

/* Zweiter Knopf im Android-Hinweis ("Web-App" als Ausweich zur nativen App) */
a.install-hinweis-knopf { text-decoration: none; }
.install-hinweis-knopf-zweit { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.35); }
.install-hinweis-knopf[hidden] { display: none; }
@media (max-width: 640px) {
    .install-hinweis { flex-wrap: wrap; }
    .install-hinweis-text { flex: 1 1 calc(100% - 80px); }
}

/* Suchseite: Kopfzeile oben durchsichtig, damit der Farbschleier auch dort
   zu sehen ist (Nutzerwunsch 2026-09-26) - beim Scrollen kommt der
   Hintergrund zurueck (suche.js setzt .gescrollt), sonst liefe der Inhalt
   unleserlich unter Logo/Suchleiste durch. */
.mit-farbschleier .kopf { background: transparent; transition: background .25s; }
/* Ungescrollt keine Unschaerfe - sonst waere das Heldenbild oben verwischt. */
.mit-farbschleier:not(.gescrollt) .kopf { -webkit-backdrop-filter: none; backdrop-filter: none; }
.mit-farbschleier.gescrollt .kopf { background: rgba(0,0,0,.88); }

/* ---------------------------------------------------------------------
   Minimalistisches Design (Settings.aufbau = MINIMAL, MinimalHome.kt).
   Linke Leiste nur Start/Suche/Favoriten + Profilbild (v5.1.1-beta45) -
   im normalen Design bleibt sie unveraendert.
   --------------------------------------------------------------------- */
.nav-symbol.nav-nur-minimal { display: none; }
html[data-aufbau="MINIMAL"] .seitenleiste .nav-oben > .nav-symbol { display: none; }
html[data-aufbau="MINIMAL"] .seitenleiste .nav-oben > .nav-symbol[href="index.php"],
html[data-aufbau="MINIMAL"] .seitenleiste .nav-oben > .nav-symbol[href="favoriten.php"],
html[data-aufbau="MINIMAL"] .seitenleiste .nav-oben > .nav-symbol.nav-nur-minimal { display: flex; }

/* Minimalistischer Startbildschirm (app.js::minimalHomeBauen, MinimalHome.kt) */
html[data-aufbau="MINIMAL"] #kino-banner-platz { display: none; }
@media (min-width: 641px) {
    /* Am Fernseher/Desktop ersetzt die schlanke Leiste die Kopfzeile. */
    html[data-aufbau="MINIMAL"] body.minimal-startseite .kopf { display: none; }
    /* getrennt (2.2.2-beta11, Pruefung 15.10.) */ html[data-aufbau="MINIMAL"] .hauptbereich:has(#hero-hintergrund) .kopf { display: none; }
}
.minimal-verlauf { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; pointer-events: none; }
.minimal-home {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);
    min-height: calc(100vh / var(--nx-zoom, 1) - 150px); /* zoom: siehe .seitenleiste */
    padding-right: 36px;
    touch-action: pan-x;
}
@supports (height: 1dvh) { .minimal-home { min-height: calc(100dvh / var(--nx-zoom, 1) - 150px); } }
.minimal-kopf { display: flex; align-items: center; gap: 1rem; margin: 26px 0 10px; }
.minimal-reihentitel { margin: 0; font-size: calc(1.15rem * var(--fs, 1)); font-weight: 600; color: var(--text); }
.minimal-punkte {
    position: absolute; top: 34px; right: 4px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.minimal-punkte[hidden] { display: none; }
.minimal-punkt {
    width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
    background: rgba(255,255,255,.5); cursor: pointer;
}
.minimal-punkt.aktiv { width: 10px; height: 10px; background: var(--rot); }
.minimal-band { padding-bottom: 8px; }
.minimal-info { margin-top: auto; width: 60%; padding: 8px 0 44px; }
.minimal-info-titel {
    font-size: calc(2.1rem * var(--fs, 1)); line-height: 1.18; font-weight: 700; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.minimal-info-folge {
    margin-top: 4px; color: var(--rot); font-size: calc(.95rem * var(--fs, 1)); font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.minimal-info-text {
    margin: 8px 0 0; color: var(--text); font-size: calc(1.06rem * var(--fs, 1)); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.minimal-info-kennzeichen {
    margin-top: 8px; color: var(--text-dim); font-size: calc(.88rem * var(--fs, 1));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.minimal-marke { position: absolute; right: 16px; bottom: 14px; height: 16px; pointer-events: none; }
.minimal-marke svg { height: 16px; width: auto; display: block; }
/* Touch-Vorschau: erstes Antippen zeigt ein Play-Symbol auf der Kachel */
.karte.minimal-vorschau::after {
    content: "play_arrow";
    font-family: "Material Icons";
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--rot); color: #fff; font-size: calc(34px * var(--fs, 1));
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
}
@media (max-width: 640px) {
    /* Am Handy fliessen die Infos direkt unter der Reihe (untere Leiste). */
    .minimal-home { padding-right: 0; min-height: 0; }
    .minimal-info { margin-top: 1.4rem; }
    .minimal-marke { display: none; }
    .minimal-kopf { margin-top: 8px; }
    /* Punkte am Handy waagerecht neben der Ueberschrift (v5.1.1-beta37) */
    .minimal-punkte { position: static; flex-direction: row; gap: 8px; margin-left: auto; }
    .minimal-info { width: 100%; padding-bottom: 20px; }
    .minimal-info-titel { font-size: calc(1.5rem * var(--fs, 1)); }
    .minimal-info-text { font-size: calc(.88rem * var(--fs, 1)); -webkit-line-clamp: 4; }
}

/* Minimalistische Detailseite (v5.1.1-beta46) */
html[data-aufbau="MINIMAL"] .detail-knopf-reihe { display: none; }

/* Audiomitteilung aus der Adminzentrale (App v5.2.2-beta10) - Banner oben
   mittig, auch ueber dem Player und im Vollbild. */
.audio-mitteilung-banner {
    position: fixed;
    top: 16px; top: calc(16px + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(20, 20, 24, 0.92);
    color: #fff;
    font-size: calc(16px * var(--fs, 1));
    font-weight: 600;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    animation: audio-mitteilung-rein .25s ease;
}
.audio-mitteilung-banner .material-icons { color: #e53935; animation: audio-mitteilung-puls 1.2s ease-in-out infinite; }
.audio-mitteilung-banner.audio-mitteilung-tippen { cursor: pointer; outline: 2px solid var(--rot); }
@keyframes audio-mitteilung-rein { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes audio-mitteilung-puls { 50% { opacity: .45; } }

/* Kein Pinch-Zoom / Doppeltipp-Zoom (Nutzerwunsch 2026-09-27). touch-action
   wirkt als Schnittmenge mit allen Vorfahren - auf <html> gesetzt kann kein
   Element darunter das Zoomen wieder erlauben; Scrollen bleibt erhalten. */
html { touch-action: pan-x pan-y; }

/* Angekuendigte / fehlende Staffeln (App v5.2.2-beta18): abgedunkelte
   Reiter nach den echten, mit Zweitzeile (Starttermin / "fehlt noch"). */
.staffel-reiter button.staffel-angekuendigt { opacity: .55; display: flex; flex-direction: column; align-items: flex-start; padding: .45rem 0 .5rem; }
.staffel-reiter button.staffel-angekuendigt small { font-size: calc(.72rem * var(--fs, 1)); font-weight: 600; letter-spacing: 0; }
.staffel-reiter button.staffel-angekuendigt.aktiv, .staffel-reiter button.staffel-angekuendigt:focus { opacity: 1; }
.staffel-angekuendigt-satz { color: var(--text); font-weight: 600; margin: 0 0 1rem; }

/* Filmfinder (App v5.2.2-beta22, Aussehen wie App v5.4.1-beta10): Buehne aus dem unscharfen Zufallsbild, Karten wie
   das Kontextmenue (#121216 zu 90 %, Ecken 24, 1 px Rand 9 %), sanft eingeblendet; Antwortkarten gewaehlt rot mit
   Haken, fokussiert weiss mit dunkler Schrift und Zoom 1,04; Chips gewaehlt rot; Hauptknopf rot */
.ff-buehne {
    position: fixed; top: -40px; right: -40px; bottom: -40px; left: -40px; inset: -40px; z-index: -1; background: center / cover no-repeat; filter: blur(16px);
    opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.ff-buehne.geladen { opacity: 1; }
.ff-buehne::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(11,11,15,.92)); }
/* html behaelt den Hintergrund; body muss durchsichtig sein, sonst deckt er die Buehne (z-index -1) zu */
body.ff-mit-buehne { background: transparent; }
.filmfinder { position: relative; }
.ff-karte {
    background: rgba(18,18,22,.9); border: 1px solid rgba(255,255,255,.09); border-radius: 24px; padding: 24px; color: #fff;
    box-sizing: border-box; min-width: 0;
}
.ff-rein { animation: ff-rein .24s ease both; }
@keyframes ff-rein { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.ff-fragen { display: flex; gap: 20px; align-items: flex-start; }
.ff-frage-karte { flex: 1; }
.ff-auswahl { flex: 0 0 260px; padding: 20px 14px; }
.ff-kopf { display: flex; align-items: center; gap: 12px; }
.ff-kopf-titel { flex: 1; margin: 0; font-size: calc(20px * var(--fs, 1)); font-weight: 700; color: #fff; }
.ff-kopf-zaehler { color: rgba(255,255,255,.6); font-size: calc(14px * var(--fs, 1)); white-space: nowrap; }
.ff-symbol-kachel { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: rgba(229,9,20,.18); color: var(--rot); display: inline-flex; align-items: center; justify-content: center; }
@supports (color: color-mix(in srgb, red, red)) { .ff-symbol-kachel { background: color-mix(in srgb, var(--rot) 18%, transparent); } }
.ff-symbol-kachel .material-icons { font-size: 26px; }
.ff-symbol-kachel.klein { width: 36px; height: 36px; }
.ff-symbol-kachel.klein .material-icons { font-size: 20px; }
.ff-segmente { display: flex; gap: 6px; margin: 14px 0 20px; }
.ff-segmente i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); transition: background .25s ease; }
.ff-segmente i.erledigt { background: var(--rot); opacity: .55; }
.ff-segmente i.aktuell { background: var(--rot); }
.ff-frage-inhalt.ff-vor { animation: ff-vor .22s ease both; }
.ff-frage-inhalt.ff-zurueck { animation: ff-zurueck .22s ease both; }
@keyframes ff-vor { from { opacity: 0; transform: translateX(12%); } to { opacity: 1; transform: none; } }
@keyframes ff-zurueck { from { opacity: 0; transform: translateX(-12%); } to { opacity: 1; transform: none; } }
.ff-frage { color: #fff; font-size: calc(28px * var(--fs, 1)); font-weight: 700; margin: 0; }
.ff-hinweis { color: rgba(255,255,255,.6); font-size: calc(15px * var(--fs, 1)); margin: 4px 0 0; }
.ff-antworten { display: grid; grid-template-columns: repeat(var(--ff-spalten, 3), minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ff-antwort {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
    padding: 14px 12px; border-radius: 18px; border: 2px solid transparent; background: rgba(255,255,255,.07); color: #fff;
    font-family: inherit; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.ff-antwort.gewaehlt { background: rgba(229,9,20,.22); border-color: var(--rot); }
@supports (color: color-mix(in srgb, red, red)) { .ff-antwort.gewaehlt { background: color-mix(in srgb, var(--rot) 22%, transparent); } }
.ff-antwort-kreis { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ff-antwort.gewaehlt .ff-antwort-kreis { background: var(--rot); }
.ff-antwort-kreis .material-icons { font-size: 24px; color: #fff; }
.ff-antwort-titel { font-size: calc(17px * var(--fs, 1)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ff-antwort-unter { font-size: calc(12px * var(--fs, 1)); line-height: 1.25; opacity: .7; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ff-antwort-haken { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--rot); display: flex; align-items: center; justify-content: center; }
.ff-antwort-haken .material-icons { font-size: 14px; color: #fff; }
.ff-antwort:hover, .ff-antwort:focus { background: #fff; color: #111114; border-color: transparent; transform: scale(1.04); outline: none; }
.ff-antwort:hover .ff-antwort-kreis, .ff-antwort:focus .ff-antwort-kreis { background: rgba(17,17,20,.08); }
.ff-antwort:hover .ff-antwort-kreis .material-icons, .ff-antwort:focus .ff-antwort-kreis .material-icons { color: var(--rot); }
.ff-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ff-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 22px; border: 0;
    background: rgba(255,255,255,.09); color: #fff; font-family: inherit; font-size: calc(15px * var(--fs, 1)); cursor: pointer;
}
.ff-chip .material-icons { font-size: 18px; }
.ff-chip.gewaehlt { background: var(--rot); font-weight: 600; }
.ff-chip:hover, .ff-chip:focus { background: #fff; color: #111114; font-weight: 600; outline: none; }
.ff-leiste { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ff-knopf {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px; border: 3px solid transparent;
    background: rgba(255,255,255,.10); color: #fff; font-family: inherit; font-size: calc(17px * var(--fs, 1)); font-weight: 700; cursor: pointer;
    transition: transform .15s ease;
}
.ff-knopf .material-icons { font-size: 22px; }
/* KI-Lupe im Filmfinder (2.4.1-beta2): Lupe mit "KI" im Farbring, rechts in der Leiste */
.ff-knopf.ff-ki-lupe { margin-left: auto; padding: 9px 20px 9px 10px; }
.ff-ki-lupe .ki-lupe-rund { flex: 0 0 auto; width: 34px; height: 34px; box-sizing: border-box; }
.ff-ki-lupe .ki-lupe-innen .material-icons { font-size: 21px; }
.ff-ki-lupe .ki-lupe-kuerzel { margin: -2.1px 0 0 -2.1px; font-size: 6px; }
.ff-knopf.haupt { background: var(--rot); }
.ff-knopf:hover, .ff-knopf:focus { background: #fff; color: #111114; transform: scale(1.04); outline: none; }
.ff-knopf.haupt:hover, .ff-knopf.haupt:focus { background: var(--rot); color: #fff; border-color: #fff; }
.ff-auswahl-titel { margin: 0 6px 8px; font-size: calc(18px * var(--fs, 1)); font-weight: 700; color: #fff; }
.ff-auswahl-zeile {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 7px 12px; border: 0; border-radius: 12px; background: transparent;
    color: #fff; font-family: inherit; text-align: left; cursor: pointer;
}
.ff-auswahl-zeile + .ff-auswahl-zeile { box-shadow: 0 -1px 0 rgba(255,255,255,.07); }
.ff-auswahl-zeile .material-icons { font-size: 22px; color: rgba(255,255,255,.45); flex: 0 0 auto; }
.ff-auswahl-zeile.aktiv .material-icons, .ff-auswahl-zeile.beantwortet .material-icons { color: var(--rot); }
.ff-auswahl-zeile.aktiv { background: rgba(255,255,255,.10); }
.ff-auswahl-text { display: flex; flex-direction: column; min-width: 0; }
.ff-auswahl-frage { font-size: calc(12px * var(--fs, 1)); opacity: .6; }
.ff-auswahl-wert { font-size: calc(15px * var(--fs, 1)); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-auswahl-zeile.aktiv .ff-auswahl-wert { font-weight: 700; }
.ff-auswahl-zeile:hover, .ff-auswahl-zeile:focus { background: #fff; color: #111114; outline: none; box-shadow: none; }
.ff-auswahl-zeile:hover .material-icons, .ff-auswahl-zeile:focus .material-icons { color: var(--rot); }
.ff-treffer-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ff-treffer-text { flex: 1; min-width: 0; }
.ff-treffer-titel { margin: 0; font-size: calc(24px * var(--fs, 1)); font-weight: 700; color: #fff; }
.ff-treffer-zusammenfassung { margin: 2px 0 0; color: rgba(255,255,255,.65); font-size: calc(14px * var(--fs, 1)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ff-treffer-anzahl { margin: 2px 0 0; color: var(--rot); font-size: calc(13px * var(--fs, 1)); font-weight: 600; }
.ff-treffer-knoepfe { margin-top: 0; flex: 0 0 auto; }
.ff-lader { display: inline-flex; }
.ff-lader .ok-hand-lader { width: 36px; height: 36px; }
.ff-lader-gross { display: flex; justify-content: center; padding: 40px 0; }
.ff-lader-gross .ok-hand-lader { width: 48px; height: 48px; }
.ff-leer { color: rgba(255,255,255,.7); font-size: calc(17px * var(--fs, 1)); }
@media (max-width: 900px) {
    .ff-fragen { flex-direction: column; align-items: stretch; }
    .ff-auswahl { flex: 1 1 auto; }
    .ff-treffer-kopf { flex-wrap: wrap; }
    .ff-treffer-knoepfe { flex: 1 1 100%; }
}
@media (max-width: 640px) {
    .ff-karte { padding: 20px; }
    .ff-frage { font-size: calc(24px * var(--fs, 1)); }
    .ff-antworten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Jahresrueckblick (App v5.2.2-beta20/21, rueckblick.js) */
body.rb-offen { overflow: hidden; }
.rb-overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 9500; background: #0B0B12; color: #fff; user-select: none; touch-action: none; }
.rb-schleier { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; }
.rb-dunkel { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: rgba(0, 0, 0, .25); }
.rb-balken { position: absolute; top: 0; left: 0; right: 0; display: flex; gap: 6px; padding: 18px 24px 0; padding: calc(18px + env(safe-area-inset-top, 0px)) 24px 0; z-index: 2; }
.rb-strich { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.rb-strich > i { display: block; height: 100%; width: 0; background: #fff; }
.rb-zu { position: absolute; top: 30px; top: calc(30px + env(safe-area-inset-top, 0px)); right: 18px; z-index: 3; background: rgba(0,0,0,.35); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: calc(18px * var(--fs, 1)); cursor: pointer; }
.rb-buehne { position: absolute; top: 40px; right: 0; bottom: 0; left: 0; inset: 40px 0 0; display: flex; align-items: center; justify-content: center; padding: 28px; z-index: 1; }
.rb-seite { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 640px; width: 100%; animation: rb-rein .45s ease; }
@keyframes rb-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rb-laden { font-size: calc(18px * var(--fs, 1)); }
.rb-emoji { font-size: calc(64px * var(--fs, 1)); line-height: 1.1; }
.rb-titel { font-size: calc(40px * var(--fs, 1)); font-weight: 900; margin: 10px 0; line-height: 1.1; }
.rb-text { font-size: calc(18px * var(--fs, 1)); line-height: 1.45; color: rgba(255, 255, 255, .85); }
.rb-klein { font-size: calc(18px * var(--fs, 1)); color: rgba(255, 255, 255, .8); margin-bottom: 12px; }
.rb-name { font-size: calc(28px * var(--fs, 1)); font-weight: 700; margin: 12px 0 8px; }
.rb-liste { font-size: calc(15px * var(--fs, 1)); color: rgba(255, 255, 255, .75); }
.rb-cover { border-radius: 10px; object-fit: cover; background: rgba(255, 255, 255, .1); }
.rb-filme { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.rb-film { width: 120px; }
.rb-filmname { font-size: calc(13px * var(--fs, 1)); margin-top: 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rb-genres { width: 100%; max-width: 520px; text-align: left; margin-top: 10px; }
.rb-genre-name { font-size: calc(16px * var(--fs, 1)); }
.rb-genre-balken { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .15); margin: 4px 0 12px; overflow: hidden; }
.rb-genre-balken > i { display: block; height: 100%; background: #FFC857; }
.rb-monate { display: flex; align-items: flex-end; gap: 8px; height: 170px; margin-top: 16px; }
.rb-monat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rb-monat > i { display: block; width: 22px; border-radius: 4px 4px 0 0; background: rgba(255, 255, 255, .55); }
.rb-monat > i.rb-top { background: #FFC857; }
.rb-monat > span { font-size: calc(11px * var(--fs, 1)); color: rgba(255, 255, 255, .7); }
@media (max-width: 520px) {
    .rb-titel { font-size: calc(32px * var(--fs, 1)); }
    .rb-monate { gap: 4px; }
    .rb-monat > i { width: 16px; }
    .rb-film { width: 96px; }
}

/* Lizenzhinweis Logo-Hand, klein und dezent unten auf der Anmeldeseite */
.lizenz-hinweis { margin: 2.2rem 0 0; text-align: center; font-size: calc(.72rem * var(--fs, 1)); color: var(--text-dim); opacity: .6; }

/* Profilbild waehlen: Emoji-Raster (App v5.2.4-beta3) */
.emoji-auswahl-karte { width: 640px; /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */ width: min(640px, 94vw); max-height: 86vh; display: flex; flex-direction: column; }
.emoji-auswahl-kopf { justify-content: flex-start; margin: .2rem 0 .6rem; flex-wrap: wrap; }
.emoji-auswahl-fehler { color: var(--rot); margin: 0 0 .5rem; }
.emoji-auswahl-raster { overflow-y: auto; flex: 1; min-height: 0; padding-right: 4px; }
.emoji-auswahl-gruppe { font-size: calc(.85rem * var(--fs, 1)); font-weight: 600; color: var(--text-dim); margin: .8rem 0 .4rem; }
.emoji-auswahl-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.emoji-auswahl-knopf {
    height: 52px; border-radius: 10px; border: 2px solid transparent; background: rgba(255,255,255,.06);
    font-size: calc(1.7rem * var(--fs, 1)); line-height: 1; cursor: pointer; padding: 0;
}
.emoji-auswahl-knopf.aktiv { border-color: var(--rot); background: rgba(255,255,255,.14); }
.emoji-auswahl-knopf.speichert { opacity: .5; }
.emoji-auswahl-knopf:hover, [data-eingabe="taste"] .emoji-auswahl-knopf:focus { border-color: #fff; background: var(--rot); outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .emoji-auswahl-knopf:focus-visible { border-color: #fff; background: var(--rot); outline: none; }
.lizenz-hinweis a { color: inherit; }

/* ---------------------------------------------------------------------
   Suche: drehende OK-Hand beim Laden + sanftes Einblenden der Treffer
   (Nutzerwunsch 2026-09-30). Drehpunkt = Mitte des Rings zwischen Daumen
   und Zeigefinger = Bildmitte der 48,66er-SVG (G.okHandLader), deshalb
   eiert nichts.
   --------------------------------------------------------------------- */
.suche-reihen { position: relative; }
.suche-lader {
    width: 56px; height: 56px;
    margin: 64px auto;
    transform-origin: 50% 50%;
    animation: suche-lader-drehen 1.1s linear infinite, suche-lader-rein .3s ease .15s both;
}
.suche-lader .ok-hand-lader { width: 100%; height: 100%; display: block; }
.suche-lader .ok-hand-haupt { fill: var(--rot); }
.suche-lader .ok-hand-detail { fill: #8E0710; }
@supports (color: color-mix(in srgb, red, red)) { .suche-lader .ok-hand-detail { fill: color-mix(in srgb, var(--rot) 62%, #000); } }
.suche-lader-klein {
    position: absolute;
    top: 6px; left: 50%;
    width: 36px; height: 36px;
    margin: 0 0 0 -18px;
    z-index: 6;
}
@keyframes suche-lader-drehen { to { transform: rotate(360deg); } }
@keyframes suche-lader-rein { from { opacity: 0; } to { opacity: 1; } }

.suche-reihen > .reihe,
.suche-reihen > .lade-hinweis { transition: opacity .25s ease; }
.suche-veraltet > .reihe { opacity: .45; }

.suche-einblenden > .reihe,
.suche-einblenden > .lade-hinweis {
    animation: suche-rein .4s ease both;
    animation-delay: calc(var(--rein-i, 0) * 70ms);
}
.suche-einblenden .karten-band > * {
    animation: suche-karte-rein .45s cubic-bezier(.2,.7,.3,1) both;
    animation-delay: calc(var(--rein-i, 0) * 70ms + var(--rein-j, 0) * 35ms);
}
@keyframes suche-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes suche-karte-rein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
   Trefferansicht nach Entwurf D + leere Suche nach Entwurf A (App v5.5.1-beta6/9, SearchScreen.kt)
   --------------------------------------------------------------------- */
.st-abschnitt > h2 { font-size: calc(1.25rem * var(--fs, 1)); font-weight: 600; margin: 1.6rem 0 .8rem; }
.st-abschnitt:first-child > h2 { margin-top: .6rem; }
.st-chips-abschnitt, .st-top-abschnitt, .st-ki { margin-top: .8rem; }
/* Filter-Chips mit Anzahl; gewaehlt weiss, mit Fernbedienung roter Rand */
.st-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px 2px; }
.st-chips::-webkit-scrollbar { display: none; }
.st-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px;
    border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.09); color: var(--text);
    font: inherit; font-size: calc(14px * var(--fs, 1)); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.st-chip .material-icons { font-size: 16px; color: var(--rot); }
.st-chip-zahl { font-size: calc(13px * var(--fs, 1)); color: var(--text-dim); }
.st-chip.aktiv { background: #fff; border-color: #fff; color: #111; font-weight: 600; }
.st-chip.aktiv .st-chip-zahl { color: rgba(0,0,0,.55); }
.st-chip:focus { outline: none; }
html[data-eingabe="taste"] .st-chip:focus { border: 2px solid var(--rot); padding: 0 12px; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .st-chip:focus-visible { border: 2px solid var(--rot); padding: 0 12px; }
@media (hover: hover) { .st-chip:not(.aktiv):hover { background: rgba(255,255,255,.16); } }
/* KI: was sie verstanden hat */
.st-ki-karte {
    display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(122,63,216,.22), rgba(20,168,176,.14)); border: 1px solid rgba(156,140,255,.25);
    font-size: calc(15px * var(--fs, 1)); line-height: 1.4;
}
.st-ki-karte .material-icons { color: #B9AEFF; font-size: 20px; }
.st-ki-hinweis { margin: 1rem 6px 0; color: var(--text-dim); font-size: calc(14px * var(--fs, 1)); line-height: 1.45; }
.st-ki-sucht { text-align: center; color: var(--text-dim); margin: -48px 0 0; font-size: calc(15px * var(--fs, 1)); }
/* Top-Treffer */
.st-top {
    position: relative; display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
    background: var(--flaeche); color: #fff; text-decoration: none; box-shadow: inset 0 0 0 3px transparent;
    transition: transform .15s ease, box-shadow .15s ease;
}
.st-top > img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-top-verlauf { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.9) 100%); }
.st-top-unten { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 10px; padding: 14px; }
.st-top-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.st-top-marke { font-size: calc(10.5px * var(--fs, 1)); font-weight: 700; letter-spacing: .8px; padding: 3px 7px; border-radius: 5px; background: rgba(255,255,255,.2); margin-bottom: 4px; }
.st-top-titel { font-size: calc(21px * var(--fs, 1)); font-weight: 700; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-top-meta { font-size: calc(13px * var(--fs, 1)); color: var(--text-dim); color: rgba(255,255,255,.7); }
.st-top-grund { font-size: calc(13px * var(--fs, 1)); color: #B9AEFF; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-top-ansehen {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px 8px 10px; border-radius: 20px;
    background: #fff; color: #111; font-weight: 700; font-size: calc(14px * var(--fs, 1));
}
.st-top-ansehen .material-icons { font-size: 20px; }
.st-top:focus { outline: none; }
html[data-eingabe="taste"] .st-top:focus { transform: scale(1.03); box-shadow: inset 0 0 0 3px var(--rot); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .st-top:focus-visible { transform: scale(1.03); box-shadow: inset 0 0 0 3px var(--rot); }
html[data-eingabe="taste"] .st-top:focus .st-top-ansehen { background: var(--rot); color: #fff; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .st-top:focus-visible .st-top-ansehen { background: var(--rot); color: #fff; }
@media (hover: hover) { .st-top:hover .st-top-ansehen { background: var(--rot); color: #fff; } }
/* Treffer-Raster: Handy 3 Spalten, sonst Kacheln a ~150 px */
.st-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 16px; }
.st-kachel { display: flex; flex-direction: column; min-width: 0; color: var(--text); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-cover {
    position: relative; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden; background: var(--flaeche);
    box-shadow: inset 0 0 0 3px transparent; transition: transform .15s ease;
}
.st-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-titel { margin-top: 6px; font-size: calc(13px * var(--fs, 1)); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-unter { font-size: calc(11.5px * var(--fs, 1)); line-height: 1.25; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-unter.st-lila { color: #B9AEFF; }
.st-warnung { font-size: calc(11px * var(--fs, 1)); font-weight: 600; color: #FF6B6B; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-kachel:focus { outline: none; }
html[data-eingabe="taste"] .st-kachel:focus .st-cover { transform: scale(1.06); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .st-kachel:focus-visible .st-cover { transform: scale(1.06); }
html[data-eingabe="taste"] .st-kachel:focus .st-cover::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; border: 3px solid var(--rot); border-radius: 9px; pointer-events: none;
}
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .st-kachel:focus-visible .st-cover::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; border: 3px solid var(--rot); border-radius: 9px; pointer-events: none;
}
.st-kachel:focus .st-titel { color: #fff; }
@media (hover: hover) { .st-kachel:hover .st-cover { transform: scale(1.04); } }
/* Wunsch-Kacheln: blasser, gestrichelt in der Farbe des Wunsch-Stands, unten "Wünschen" bzw. der Stand */
.st-wunsch .st-cover img { opacity: .72; }
.st-wunsch .st-cover::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; border: 1.5px dashed rgba(255,255,255,.55); border-radius: 9px; pointer-events: none; z-index: 1; }
.st-wunsch.wunsch-stand-gruen .st-cover::before { border-color: #46D369; }
.st-wunsch.wunsch-stand-gelb .st-cover::before { border-color: #FFB04D; }
.st-wunsch.wunsch-stand-orange .st-cover::before { border-color: #F0B429; }
.st-wunsch.wunsch-stand-rot .st-cover::before { border-color: #FF6B60; }
.st-wunsch.wunsch-stand-gruen .st-warnung { color: #46D369; }
.st-wunsch.wunsch-stand-gelb .st-warnung { color: #FFB04D; }
.st-wunsch.wunsch-stand-orange .st-warnung { color: #F0B429; }
.st-wunsch.wunsch-stand-rot .st-warnung { color: #FF6B60; }
.st-wunsch:focus .st-cover::before { display: none; }
.st-badge {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: 6px 4px; background: rgba(0,0,0,.85); color: #fff; font-size: calc(12px * var(--fs, 1)); white-space: nowrap;
}
.st-badge .material-icons { font-size: 15px; color: var(--rot); }
.st-kachel:focus .st-badge, .st-kachel:hover .st-badge { background: var(--rot); }
.st-kachel:focus .st-badge .material-icons, .st-kachel:hover .st-badge .material-icons { color: #fff; }
.st-wunsch.nicht-wuenschbar { cursor: default; }
/* Zuletzt gesucht */
.st-verlauf { display: flex; flex-wrap: wrap; gap: 8px; }
.st-verlauf-chip {
    display: inline-flex; align-items: center; height: 40px; border-radius: 20px; background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.1); max-width: 100%; box-sizing: border-box;
}
.st-verlauf-chip:focus-within { border: 2px solid var(--rot); }
.st-verlauf-begriff {
    display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 4px 0 12px; border: 0; background: none;
    color: var(--text); font: inherit; font-size: calc(14px * var(--fs, 1)); cursor: pointer; min-width: 0;
}
.st-verlauf-begriff span:last-child { max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-verlauf-begriff .material-icons { font-size: 16px; color: var(--text-dim); }
.st-verlauf-begriff:focus { outline: none; }
.st-verlauf-weg {
    flex: 0 0 auto; width: 32px; height: 32px; margin-right: 4px; border: 0; border-radius: 50%; background: none;
    color: var(--text-dim); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.st-verlauf-weg .material-icons { font-size: 16px; }
.st-verlauf-weg:focus { outline: none; background: var(--rot); color: #fff; }
@media (hover: hover) { .st-verlauf-weg:hover { background: rgba(255,255,255,.14); color: #fff; } .st-verlauf-begriff:hover { color: #fff; } }
/* Gerade beliebt */
.st-beliebt { gap: 16px; padding: 6px 2px; }
.st-beliebt > .st-kachel { flex: 0 0 150px; width: 150px; }
.suche-rein-einzeln { animation: suche-rein .4s ease both; }
html[data-skin="HELL"] .st-chip, html[data-skin="HELL"] .st-verlauf-chip { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.1); }
@media (max-width: 640px) {
    .st-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
    .st-top { aspect-ratio: auto; height: 196px; max-width: none; }
    .st-chip, .st-verlauf-chip { height: 36px; }
    .st-verlauf-weg { width: 28px; height: 28px; }
    .st-beliebt { gap: 10px; }
    .st-beliebt > .st-kachel { flex-basis: 104px; width: 104px; }
}
@media (prefers-reduced-motion: reduce) { .suche-rein-einzeln { animation: none; } }

/* Cover erst zeigen, wenn sie geladen sind - kein zeilenweises Aufbauen. */
.suche-reihen img { transition: opacity .35s ease; }
.suche-reihen .karte img:not(.geladen),
.suche-reihen .person-bild img:not(.geladen) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .suche-einblenden > .reihe, .suche-einblenden .karten-band > * { animation: none; }
    .suche-lader { animation-duration: 2.2s, .3s; }
}

/* Fernbedienung (Fire TV & Co.): keine Hintergrund-Unschaerfe - die kostet
   schwache TV-GPUs bei jedem Scrollschritt Bildrate. Stattdessen nahezu
   deckend, dann scheint ohnehin nichts Lesbares durch (2026-10-01). */
html[data-eingabe="taste"] .kopf,
html[data-eingabe="taste"] .untere-nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
html[data-eingabe="taste"] .kopf { background: rgba(0,0,0,.95); }
html[data-eingabe="taste"] .mit-farbschleier:not(.gescrollt) .kopf { background: transparent; }

/* ---------------------------------------------------------------------
   Weicher Seitenwechsel (Nutzerwunsch 2026-10-01): View Transitions
   zwischen den Seiten - die alte Seite bleibt stehen, bis die neue
   gezeichnet ist, dann kurzes Ueberblenden (kein Schwarzblitz, keine
   zusaetzliche Wartezeit). Leiste/Kopf/untere Leiste haben feste Namen
   und bleiben dadurch ruhig stehen, nur der Inhalt blendet. Browser ohne
   Unterstuetzung wechseln wie bisher. "Übergänge" aus -> gemeinsam.js
   ueberspringt den Uebergang.
   --------------------------------------------------------------------- */
@view-transition { navigation: auto; }
.seitenleiste { view-transition-name: nx-leiste; }
.kopf { view-transition-name: nx-kopf; }
.untere-nav { view-transition-name: nx-untere-leiste; }
::view-transition-group(*) { animation-duration: .2s; }
::view-transition-old(root) { animation: nx-seite-raus .16s ease both; }
::view-transition-new(root) { animation: nx-seite-rein .22s ease both; }
@keyframes nx-seite-raus { to { opacity: 0; } }
@keyframes nx-seite-rein { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}

/* ---------------------------------------------------------------------
   Anmeldeseite, moderner und bildschirmfuellend (Nutzerwunsch 2026-10-01):
   Grundschrift waechst fluessig mit dem Bildschirm (Handy ~15px, Full HD
   ~20px, 21:9 ~23px, 4K-Monitor ~34px) - alle Masse unten in rem/em,
   dadurch skaliert die ganze Seite mit. Nur fuer <html class="login-seite">.
   --------------------------------------------------------------------- */
/* Breite UND Hoehe zaehlen (min mit 2.35vh), damit es auf flachen
   Bildschirmen (21:9, Laptop) nie ueber die Hoehe hinauswaechst. */
html.login-seite { font-size: 16px; /* Rueckfall ohne clamp()/min() wie bisher die Browser-Vorgabe (2.2.2-beta11, Pruefung 15.10.) */ font-size: clamp(15px, min(calc(0.5vw + 0.7vh + 5px), 2.35vh), 36px); }
/* Nur auf grossen TV-Flaechen fluessig, dort bleibt die Formel innerhalb
   15px..2.35vh..36px (2.2.2-beta11, Pruefung 15.10.) */
@media (min-width: 1600px) and (max-width: 3000px) and (min-height: 850px) and (max-aspect-ratio: 2/1) {
    html.login-seite { font-size: calc(0.5vw + 0.7vh + 5px); font-size: clamp(15px, min(calc(0.5vw + 0.7vh + 5px), 2.35vh), 36px); }
}
html.login-seite { background: #050507; }
/* body durchsichtig - sonst liegt seine Hintergrundfarbe UEBER dem
   .login-hintergrund (z-index:-1). */
html.login-seite body { min-height: 100vh; min-height: 100dvh; background: transparent; }
.login-hintergrund {
    position: fixed;
    top: -4%; right: -4%; bottom: -4%; left: -4%; inset: -4%;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 65% at 50% 45%, rgba(5,5,7,.05) 0%, rgba(5,5,7,.5) 70%, rgba(5,5,7,.92) 100%),
        url('assets/login_hintergrund.jpg?v=1') center / cover no-repeat;
    animation: login-hg-atmen 24s ease-in-out infinite alternate;
}
@keyframes login-hg-atmen { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, 1%); } }

html.login-seite .login-buehne {
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 62rem;
    padding: 4vh 1.2rem; /* Rueckfall ohne clamp() (2.2.2-beta11, Pruefung 15.10.) */
    padding: clamp(1.2rem, 4vh, 3rem) 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: login-rein .5s ease both;
}
@keyframes login-rein { from { opacity: 0; transform: translateY(.8rem); } }
html.login-seite .login-kopf { margin-bottom: 4vh; /* Rueckfall ohne clamp() (2.2.2-beta11, Pruefung 15.10.) */ margin-bottom: clamp(1.2rem, 4vh, 2.6rem); }
html.login-seite .logo-gross .logo-eckig { height: 3.6rem; margin: 0 auto; filter: drop-shadow(0 .3rem 1.2rem rgba(0,0,0,.6)); }

.login-karte {
    background: rgba(18,18,24,.72);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1.4rem;
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,.55);
    padding: 4vh 3vw; /* Rueckfall ohne clamp() (2.2.2-beta11, Pruefung 15.10.) */
    padding: clamp(1.4rem, 4vh, 2.6rem) clamp(1.2rem, 3vw, 2.8rem);
}
html.login-seite .login-spalten { align-items: center; gap: 2.2rem; }
html.login-seite .spalten-titel { font-size: calc(1.3rem * var(--fs, 1)); font-weight: 700; margin-bottom: 1.2rem; letter-spacing: .01em; }

/* Teiler mit "oder" in der Mitte */
html.login-seite .login-teiler {
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.14) 20%, rgba(255,255,255,.14) 80%, transparent);
}
html.login-seite .login-teiler span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #17171e;
    color: var(--text-dim);
    font-size: calc(.75rem * var(--fs, 1));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .35rem .6rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,.1);
}

html.login-seite .qc-qr {
    width: 11rem; height: 11rem;
    padding: .6rem;
    border-radius: .9rem;
    margin-bottom: 1rem;
    box-shadow: 0 .5rem 1.6rem rgba(0,0,0,.45);
}
html.login-seite .qc-code { font-size: calc(2.3rem * var(--fs, 1)); margin-bottom: .8rem; letter-spacing: .12em; }
html.login-seite .qc-qr:empty + .qc-code { font-size: calc(3.2rem * var(--fs, 1)); }
html.login-seite .qc-hinweis { font-size: calc(.85rem * var(--fs, 1)); margin-bottom: .7rem; }
html.login-seite .link-knopf { font-size: calc(.85rem * var(--fs, 1)); }

html.login-seite .passwort-form input[type="text"],
html.login-seite .passwort-form input[type="password"] {
    padding: .85rem 1rem;
    margin-bottom: .75rem;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .75rem;
    font-size: calc(1rem * var(--fs, 1));
    transition: border-color .15s, box-shadow .15s;
}
html.login-seite .passwort-form input[type="text"]:focus,
html.login-seite .passwort-form input[type="password"]:focus {
    outline: none;
    border-color: var(--rot);
}
@supports (color: color-mix(in srgb, red, red)) { html.login-seite .passwort-form input[type="text"]:focus,
html.login-seite .passwort-form input[type="password"]:focus { box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--rot) 35%, transparent); } }
html.login-seite .passwort-form button {
    padding: .9rem;
    border-radius: .75rem;
    font-size: calc(1.05rem * var(--fs, 1));
    font-weight: 700;
    transition: transform .12s, filter .15s;
}
@supports (color: color-mix(in srgb, red, red)) { html.login-seite .passwort-form button { box-shadow: 0 .5rem 1.4rem color-mix(in srgb, var(--rot) 35%, transparent); } }
html.login-seite .passwort-form button:hover { filter: brightness(1.1); }
html.login-seite .passwort-form button:active { transform: scale(.98); }
html.login-seite .merken { font-size: calc(.85rem * var(--fs, 1)); margin: .2rem 0 1rem; cursor: pointer; }
html.login-seite .merken input { width: 1.1rem; height: 1.1rem; accent-color: var(--rot); }

html.login-seite .weiter-als { margin-bottom: 1.4rem; }
html.login-seite .weiter-als-titel { font-size: calc(.85rem * var(--fs, 1)); }
html.login-seite .weiter-als-knopf { border-radius: 2rem; padding: .55rem 1.3rem; font-size: calc(.95rem * var(--fs, 1)); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
/* Fokus auf "Weiter als …" sichtbar - die Regel darueber ueberstimmte .weiter-als-knopf:focus (Nutzer-Fund 24.10.2026) */
html.login-seite .weiter-als-knopf:hover, html.login-seite .weiter-als-knopf:focus { background: var(--rot); border-color: #fff; color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
html.login-seite .zurueck-hinweis a:focus, html.login-seite .lizenz-hinweis a:focus { outline: 2px solid var(--rot); outline-offset: 2px; color: #fff; }
html.login-seite .fehler-mittig { background: rgba(229,9,20,.12); border: 1px solid rgba(229,9,20,.35); border-radius: .8rem; padding: .7rem 1rem; margin: 0 auto 1.2rem; max-width: 30rem; }
html.login-seite .lizenz-hinweis { margin-top: 1.4rem; font-size: calc(.68rem * var(--fs, 1)); }
html.login-seite .lizenz-hinweis .version { font-size: inherit; margin: 0; }

/* Handy: gestapelt, waagerechter Teiler mit "oder" */
@media (max-width: 720px) {
    html.login-seite .login-spalten { gap: 1.4rem; }
    html.login-seite .login-teiler { width: 100%; height: 1px; margin: .3rem 0;
        background: linear-gradient(to right, transparent, rgba(255,255,255,.14) 20%, rgba(255,255,255,.14) 80%, transparent); }
    html.login-seite .qc-qr { width: 9.5rem; height: 9.5rem; }
    html.login-seite .qc-code { font-size: calc(1.9rem * var(--fs, 1)); }
    html.login-seite .logo-gross .logo-eckig { height: 2.8rem; }
    html.login-seite .login-buehne { justify-content: flex-start; padding-top: 1.6rem; /* Rueckfall ohne max() (2.2.2-beta11, Pruefung 15.10.) */ padding-top: max(1.6rem, env(safe-area-inset-top)); }
}
/* Ohne Flex-gap (Chromium < 84, Tizen bis 6.5; Erkennung in login_tv.js bzw. gemeinsam.js, 2.3.2-beta38/39): Abstaende per margin */
html.ohne-flexgap .karten-band > * + * { margin-left: .8rem; }
html.ohne-flexgap .besetzung-band > * + * { margin-left: 1.1rem; }
/* Kopf, Seitenleiste, Kino-Banner (2.3.2-beta40, am Samsung M5 gemessen) */
html.ohne-flexgap .nav-oben > * + * { margin-top: 4px; }
html.ohne-flexgap .kopf-oben > * + * { margin-left: 1.5rem; }
html.ohne-flexgap .such-leiste > * + * { margin-left: .6rem; }
html.ohne-flexgap .kopf-symbole > * + * { margin-left: 4px; }
html.ohne-flexgap .kino-banner-inhalt > * + * { margin-top: .3rem; }
html.ohne-flexgap .kino-banner-punkte > * + * { margin-left: 6px; }
/* Schieber wiederherstellen: margin-left/-top:auto der Originalregeln, die die Ersatzabstaende sonst ueberschreiben */
html.ohne-flexgap.ohne-flexgap .kopf-symbole,
html.ohne-flexgap.ohne-flexgap .such-leiste,
html.ohne-flexgap.ohne-flexgap .admin-banner span.hinweis,
html.ohne-flexgap.ohne-flexgap .km-zeile .km-pfeil,
html.ohne-flexgap.ohne-flexgap .km-zeile.uk-kind-zeile .uk-kind-kippe,
html.ohne-flexgap.ohne-flexgap .neu2-zaehler,
html.ohne-flexgap.ohne-flexgap .einst-kopf-hinweis,
html.ohne-flexgap.ohne-flexgap .nx-sym-gruppe:last-child,
html.ohne-flexgap.ohne-flexgap .nx-nerd-abschnitt h3 .nx-nerd-chip,
html.ohne-flexgap.ohne-flexgap .wer-schaut-buehne h1 { margin-left: auto; }
html.ohne-flexgap.ohne-flexgap .vab-mitte { margin-top: auto; margin-bottom: auto; }
html.ohne-flexgap.ohne-flexgap .wer-schaut-schalter-hinweis { margin-left: auto; margin-right: auto; }
/* Alle uebrigen Ersatzabstaende: flexgap.css (nur bei Bedarf geladen, 2.3.2-beta41) */
/* Ohne aspect-ratio (erst ab Chromium 88; 2.3.2-beta39): Kachelhoehe ueber padding-top, das Bild liegt darueber */
@supports not (aspect-ratio: 1 / 1) {
    .karte::before { content: ''; display: block; padding-top: 150%; }
    .karte.karte-breit::before, .karte.sender-kachel::before { padding-top: 56.25%; }
    .karte > img { position: absolute; top: 0; left: 0; }
    /* Sender-Kacheln (beta42): Logo-Flaeche ueber die ganze Kachel statt in Bildhoehe zu wachsen - ohne inset (M69) */
    .karte.sender-kachel > .sender-logo { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: auto; height: auto; box-sizing: border-box; }
}
/* Fernseher: Hintergrund der Anmeldeseite nicht dauernd bewegen (schwache TV-Prozessoren, 2.3.2-beta39) */
html.tv-geraet .login-hintergrund { animation: none; }
html.ohne-flexgap .login-spalten > * + * { margin-left: 2.2rem; }
html.ohne-flexgap .weiter-als-reihe > * { margin: .35rem; }
html.ohne-flexgap .merken input { margin-right: .5rem; }
@media (max-width: 720px) {
    html.ohne-flexgap .login-spalten > * + * { margin-left: 0; margin-top: 1.4rem; }
}
/* Fernbedienung: sichtbarer Fokus auf Haekchen und Sprachwahl der Anmeldeseite */
html.login-seite .merken input:focus { outline: 2px solid #fff; outline-offset: 2px; }
html.login-seite .login-sprache:focus { outline: 2px solid var(--rot); outline-offset: 2px; }
/* Fernbedienung: keine Unschaerfe (Leistung schwacher TV-GPUs), dafuer deckender */
html.login-seite[data-eingabe="taste"] .login-karte { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(18,18,24,.92); }
@media (prefers-reduced-motion: reduce) { .login-hintergrund, html.login-seite .login-buehne { animation: none; } }

/* Hub-Kachel: Bild beim ersten Besuch weich ueber den Farbverlauf einblenden (gemeinsam.js hubKachelBildZeigen). */
.hub-kachel-weich img, .hub-kachel-weich .hub-kachel-titel { animation: hub-bild-rein .5s ease both; }
@keyframes hub-bild-rein { from { opacity: 0; } to { opacity: 1; } }
.hub-kachel.hub-kachel-weich { background: linear-gradient(180deg, var(--f1, var(--flaeche)), var(--f2, var(--flaeche))); }

/* ---------------------------------------------------------------------
   Helles Design (data-skin="HELL"), Nutzerwunsch 2026-10-01: Leisten
   waren noch dunkel mit dunkelgrauen Symbolen (kaum sichtbar). Jetzt
   helle Leisten mit dunklen Symbolen; auf der Startseite bleibt der
   Hintergrund dunkel gedimmt (app.js), die Schrift dort wird hell.
   --------------------------------------------------------------------- */
html[data-skin="HELL"] .seitenleiste,
html[data-skin="HELL"] .kopf,
html[data-skin="HELL"] .untere-nav {
    background: rgba(243,243,245,.9);
}
html[data-skin="HELL"] .seitenleiste { border-right: 1px solid rgba(0,0,0,.08); }
html[data-skin="HELL"] .kopf { border-bottom: 1px solid rgba(0,0,0,.06); }
html[data-skin="HELL"] .untere-nav { border-top-color: rgba(0,0,0,.1); }
html[data-skin="HELL"][data-eingabe="taste"] .kopf { background: rgba(243,243,245,.97); }
html[data-skin="HELL"] .mit-farbschleier:not(.gescrollt) .kopf { background: transparent; border-bottom-color: transparent; }
html[data-skin="HELL"] .mit-farbschleier.gescrollt .kopf { background: rgba(243,243,245,.9); }
html[data-skin="HELL"] .nav-symbol,
html[data-skin="HELL"] .icon-knopf,
html[data-skin="HELL"] .untere-nav button,
html[data-skin="HELL"] .untere-nav a { color: #3a3a44; }
html[data-skin="HELL"] .nav-symbol:hover,
html[data-skin="HELL"] .nav-symbol:focus,
html[data-skin="HELL"] .icon-knopf:hover,
html[data-skin="HELL"] .icon-knopf:focus { color: #fff; }
html[data-skin="HELL"] .such-leiste { background: #fff; border-color: rgba(0,0,0,.14); }
html[data-skin="HELL"] .begruessung { color: #5a5a66; }

/* ---------------------------------------------------------------------
   Retro- und Oldis-Design wie in der App (Theme.kt): Retro mit der eckigen
   Pixelschrift "Press Start 2P" (SIL Open Font License, assets/fonts/),
   Oldis mit 1,35-facher Schrift. Alle festen Schriftgroessen rechnen mit
   --fs (Symbole nicht - die bleiben auch in der App gleich gross). In
   beiden Designs lange Woerter mit Silbentrennung statt mitten im Wort
   umbrechen ("Untertitel-/sprache", App v5.2.6-beta62).
   --------------------------------------------------------------------- */
:root { --fs: 1; }
html[data-skin="OLDIS"] { --fs: 1.35; }
@font-face {
    font-family: 'Press Start 2P';
    src: url('assets/fonts/press_start_2p.woff2') format('woff2'), url('assets/fonts/press_start_2p.ttf') format('truetype');
    font-display: swap;
}
html[data-skin="RETRO"], html[data-skin="RETRO"] body,
html[data-skin="RETRO"] .nx-player, html[data-skin="RETRO"] .spiele-overlay, html[data-skin="RETRO"] .nx-schoner {
    font-family: 'Press Start 2P', ui-monospace, monospace;
}
html[data-skin="RETRO"] body, html[data-skin="OLDIS"] body { -webkit-hyphens: auto; hyphens: auto; }
/* Text, den gemeinsam.js (EINPASSEN) bei Platzmangel verkleinert - eine bzw. zwei Zeilen, dort
   ohne Silbentrennung (App v5.2.6-beta62: Kino-Banner, Einstellungsleiste, Profil-Kacheln). */
.kino-banner-inhalt h2 { line-height: 1.08; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kino-banner-datum, .such-platzhalter { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.einst-reiter-knopf > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uk-kachel-name, .uk-kachel-aktiv { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uk-kachel-aktiv { font-size: calc(11px * var(--fs, 1)); line-height: 1.2; color: var(--text-dim); }
.uk-kachel.aktiv .uk-kachel-aktiv { color: var(--text); }

/* ---------------------------------------------------------------------
   Kinderprofil & PIN (App v5.4.1-beta21/22): rotes "Kinder" auf den Profilkacheln, Schalter im Dialog
   "Unterkonto anlegen", PIN-Fenster mit Ziffernfeld wie am Fire TV (gemeinsam.js pinFenster).
   --------------------------------------------------------------------- */
.uk-kachel-kind { display: block; font-size: calc(11px * var(--fs, 1)); font-weight: 700; line-height: 1.2; color: var(--rot); }
.uk-kind-schalter {
    display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box;
    margin: 0 0 14px; padding: 12px 14px;
    background: var(--bg); color: var(--text); font: inherit; text-align: left;
    border: 1px solid rgba(255,255,255,.08); border-radius: 10px; cursor: pointer;
}
.uk-kind-schalter:hover, .uk-kind-schalter:focus { border-color: var(--rot); outline: none; }
.uk-kind-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.uk-kind-text strong { font-size: calc(15px * var(--fs, 1)); }
.uk-kind-text small { color: var(--text-dim); font-size: calc(12.5px * var(--fs, 1)); line-height: 1.35; }
.uk-kind-kippe { position: relative; width: 46px; height: 26px; flex-shrink: 0; border-radius: 999px; background: #3a3a42; transition: background .15s; }
.uk-kind-kippe::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .15s; }
.uk-kind-schalter.an .uk-kind-kippe { background: var(--rot); }
.uk-kind-schalter.an .uk-kind-kippe::before { transform: translateX(20px); }

/* Ueber jedem anderen Dialog (der darunter bleibt stehen), unter den Hinweis-Toasts */
.pin-overlay { z-index: 280; }
.pin-karte { max-width: 340px; }
.pin-karte [hidden] { display: none !important; }
.pin-kopf { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pin-kopf .material-icons { color: var(--rot); font-size: calc(24px * var(--fs, 1)); }
.pin-kopf .pin-titel { margin: 0; }
.pin-text { margin: 8px 0 0; color: var(--text-dim); font-size: calc(14px * var(--fs, 1)); line-height: 1.45; }
.pin-kaesten { display: flex; justify-content: center; gap: 12px; margin: 18px 0 4px; }
.pin-kaesten i {
    position: relative; width: 44px; height: 52px; box-sizing: border-box;
    border: 2px solid rgba(255,255,255,.18); border-radius: 10px; background: var(--bg);
}
.pin-kaesten i.naechstes { border-color: var(--rot); }
.pin-kaesten i.voll::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
    margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text);
}
.pin-fehler { margin: 8px 0 0; color: #ff6b6b; font-size: calc(14px * var(--fs, 1)); }
.pin-feld { display: grid; grid-template-columns: repeat(3, 64px); justify-content: center; gap: 10px; margin: 16px 0 8px; }
.pin-taste {
    height: 52px; border: 2px solid transparent; border-radius: 12px;
    background: var(--bg); color: var(--text);
    font: inherit; font-size: calc(22px * var(--fs, 1)); font-weight: 600; cursor: pointer;
}
.pin-taste-klein { font-size: calc(18px * var(--fs, 1)); color: var(--text-dim); }
.pin-taste:hover { border-color: var(--rot); }
.pin-taste:focus { background: var(--rot); border-color: var(--rot); color: #fff; outline: none; }
.pin-karte.pin-laedt .pin-feld { opacity: .5; pointer-events: none; }
.pin-vergessen {
    background: none; border: 2px solid transparent; border-radius: 8px; padding: 6px 12px;
    color: var(--text-dim); font: inherit; font-size: calc(14px * var(--fs, 1)); text-decoration: underline; cursor: pointer;
}
.pin-vergessen:hover, .pin-vergessen:focus { color: var(--text); border-color: var(--rot); outline: none; }
.pin-passwort { display: grid; gap: 12px; margin-top: 16px; }
.pin-passwort .dialog-eingabe-einzeilig { margin: 0; }
/* beta99: PIN-Fenster im Look der Kontextmenue-Fenster - immer dunkle Karte (auch im hellen Design), Fokus weiss */
.pin-overlay { background: rgba(0,0,0,.82); }
.pin-karte { background: rgba(18,18,22,.96); border: 1px solid rgba(255,255,255,.09); border-radius: 24px; color: #fff; }
.pin-karte .pin-titel { color: #fff; }
.pin-text { color: rgba(255,255,255,.6); }
.pin-kaesten i { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.pin-kaesten i.naechstes { border-color: var(--rot); }
.pin-kaesten i.voll::after { background: #fff; }
.pin-taste { background: rgba(255,255,255,.08); color: #fff; }
.pin-taste-klein { color: rgba(255,255,255,.7); }
.pin-taste:hover { background: rgba(255,255,255,.18); border-color: transparent; }
.pin-taste:focus { background: #fff; border-color: #fff; color: #111114; }
.pin-vergessen { color: rgba(255,255,255,.6); }
.pin-vergessen:hover, .pin-vergessen:focus { color: #111114; background: #fff; border-color: #fff; text-decoration: none; }
.pin-karte .dialog-eingabe-einzeilig { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.uk-kachel-hinzufuegen .uk-kachel-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.kino-banner-inhalt h2, .einst-reiter-knopf > span:last-child, .uk-kachel-name, .uk-kachel-aktiv, .hub-kachel-titel, .dk-rund-text,
.wer-schaut-buehne h1, .wer-schaut-name, .wer-schaut-aktiv, .wer-schaut-kachel-hinzufuegen span { -webkit-hyphens: manual; hyphens: manual; }

/* Detailseite: liegt wie in der App in jedem Design auf Dunkel (Fanart-Verlauf, Texte fest hell).
   Am Handy ist das Fanart dahinter ausgeblendet - im hellen Design stand die helle Schrift dort
   auf hellem Grund. Jetzt darin die dunkle Fassung (App v5.2.6-beta60, AufDunklemGrund:
   Text hell, Dim #9A9AA6, Flaechen #16161C); Kopf- und Seitenleiste bleiben hell. */
html[data-skin="HELL"] .detail-inhalt {
    --text: #eee;
    --text-dim: #9a9aa6;
    --flaeche: #16161c;
    --stil-flaeche: rgba(255,255,255,.07);
    --stil-rand: rgba(255,255,255,.12);
    color: var(--text);
    background: #0b0b0f;
}

/* Startseite mit dunkel gedimmtem Hintergrund: Schrift innen hell. */
html[data-skin="HELL"] body.hero-dunkel .reihen {
    --text: #eee;
    --text-dim: #a8a8b4;
    color: var(--text);
}

/* ---------------------------------------------------------------------
   Responsiv fuer alle Bildschirme (Nutzerwunsch 2026-10-01): Fernseher
   Full HD/4K, Desktop 16:9 und 21:9, Handy hoch und quer.
   --------------------------------------------------------------------- */

/* Grosse Bildschirme: die ganze Oberflaeche proportional vergroessern
   (zoom wirkt auch auf px-Masse). Breite UND Hoehe muessen passen - ein
   21:9-Monitor mit 1080px Hoehe bleibt bei 1, nutzt dafuer die Breite.
   Die Anmeldeseite skaliert eigenstaendig (html.login-seite). */
@media (min-width: 2400px) and (min-height: 1300px) {
    html:not(.login-seite) { zoom: 1.35; --nx-zoom: 1.35; }
}
@media (min-width: 3200px) and (min-height: 1750px) {
    html:not(.login-seite) { zoom: 1.8; --nx-zoom: 1.8; }
}
@media (min-width: 5000px) and (min-height: 2600px) {
    html:not(.login-seite) { zoom: 2.6; --nx-zoom: 2.6; }
}
/* Fernseher mit Full-HD-Browserflaeche (Bedienung per Fernbedienung):
   etwas groesser fuer den Sitzabstand. Fire-TV-Sticks melden 960x540 und
   bleiben unveraendert. html.tv-geraet (2.2.2-beta8, Befund Tizen-Emulator): auf einem erkannten
   Fernseher fest, nicht am Eingabemodus - ein Klick mit Maus/Zeiger-Fernbedienung schaltete auf "zeiger",
   die naechste Pfeiltaste zurueck, die Oberflaeche sprang zwischen 1 und 1,15. Setzt das Inline-Script im
   head vor dem ersten Zeichnen (dieselbe Erkennung wie data-eingabe). */
@media (min-width: 1800px) and (max-width: 2399px) and (min-height: 1000px) {
    /* 2.3.2-beta19 (Nutzerbericht PC): nicht mehr am Eingabemodus - am PC sprang alles bei Pfeiltaste/Maus zwischen 1 und 1,15.
       Fest nur bei erkanntem Fernseher oder der Einstellung "Bedienung: Fernbedienung" (bedienung-fern). */
    html.tv-geraet:not(.login-seite), html.bedienung-fern:not(.login-seite) { zoom: 1.15; --nx-zoom: 1.15; }
}

/* Kameraaussparung (beta79) entfallen (2.2.3-beta1): die installierte App laeuft nicht mehr
   im Vollbild, die Kopfzeile haelt wieder den normalen Abstand zur Statusleiste. */

/* Handy im Querformat (wenig Hoehe): alles kompakter, damit Inhalt statt
   Kopfzeile/Banner den Bildschirm fuellt. */
@media (max-height: 520px) and (orientation: landscape) {
    .kopf { padding: 6px 16px 4px; padding-top: 6px; padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
    .logo-eckig { height: 1.25rem; }
    .icon-knopf { width: 36px; height: 36px; }
    .icon-knopf .material-icons { font-size: 20px; }
    .such-leiste { height: 36px; }
    .seitenleiste { width: 56px; width: calc(56px + env(safe-area-inset-left, 0px)); padding: 8px 0; padding-left: 0px; padding-left: env(safe-area-inset-left, 0px); }
    .nav-oben { gap: 2px; }
    .nav-symbol { width: 40px; height: 34px; }
    .nav-symbol .material-icons { font-size: 20px; }
    .nav-avatar { width: 38px; height: 38px; }
    .hero-hintergrund { left: 56px; left: calc(56px + env(safe-area-inset-left, 0px)); }
    .reihen { padding-left: 16px; padding-right: 16px; }
    .kino-banner { height: 150px; }
    .karte { width: 120px; width: calc(120px * var(--kachel, 1)); }
    .karte.karte-breit { width: 200px; width: calc(200px * var(--kachel, 1)); }
    .reihe { margin-bottom: 1.2rem; }
    .reihe h2 { font-size: calc(1.05rem * var(--fs, 1)); margin-bottom: .5rem; }
    .browse-raster { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(calc(110px * var(--kachel, 1)), 1fr)); gap: 10px; }
}

/* ---------------------------------------------------------------------
   Kontextmenue im neuen Stil (App v5.2.6-beta18, ui/home/ContextMenu.kt):
   Fanart unscharf + Verlauf Schwarz 62 % -> 84 %, Karte #121216 (90 %),
   Ecken 24 px, Rand Weiss 9 %. Querformat zweispaltig, Hochformat
   untereinander. Fokus/Hover = weiss hinterlegt (nicht Akzent), damit er
   sich vom immer roten "Abspielen" abhebt. gemeinsam.js oeffneKartenKontextmenue().
   --------------------------------------------------------------------- */
.km-buehne {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 260;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .24s ease;
    color: #fff;
}
.km-buehne.km-sichtbar { opacity: 1; }
.km-hintergrund { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: #000; overflow: hidden; }
.km-hintergrund img, .km-hintergrund canvas {
    position: absolute; left: -4%; top: -4%; width: 108%; height: 108%;
    object-fit: cover; opacity: 0; transition: opacity .3s ease;
}
.km-hintergrund .geladen { opacity: 1; }
/* Nur ohne Canvas-Weichzeichner (aeltere Safari): CSS-Filter, am Fernseher nicht (schwache GPUs) */
.km-hintergrund .km-css-weich { filter: blur(16px); }
html[data-eingabe="taste"] .km-hintergrund .km-css-weich { filter: none; }
.km-hintergrund::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.84));
}
.km-karte {
    position: relative; box-sizing: border-box;
    width: 86%; max-width: 820px; max-height: calc(100% - 32px); overflow-y: auto; overflow-x: hidden;
    /* Zwei Spalten 1,1 : 1 wie in der App - das Untermenue liegt in der rechten Zelle */
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 28px; align-items: start;
    padding: 28px;
    background: rgba(18,18,22,.9); border: 1px solid rgba(255,255,255,.09); border-radius: 24px;
    transform: scale(.96); transition: transform .24s ease;
    overscroll-behavior: contain; scrollbar-width: thin;
}
.km-buehne.km-sichtbar .km-karte { transform: none; }
.km-links { grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column; transition: opacity .32s cubic-bezier(.4,0,.2,1); }
.km-rechts { grid-column: 2; grid-row: 1; min-width: 0; transition: transform .32s cubic-bezier(.4,0,.2,1); }
/* Untermenue (App v5.2.6-beta28): rechte Zelle, faehrt 48 px von rechts herein */
.km-unter {
    grid-column: 2; grid-row: 1; min-width: 0;
    opacity: 0; transform: translateX(48px); visibility: hidden;
    transition: opacity .32s cubic-bezier(.4,0,.2,1), transform .32s cubic-bezier(.4,0,.2,1), visibility 0s linear .32s;
}
.km-karte.km-unter-offen .km-links { opacity: 0; pointer-events: none; }
/* Die Liste gleitet genau um die linke Spalte + Abstand nach links (1,1 x eigene Breite + 28 px) */
.km-karte.km-unter-offen .km-rechts { transform: translateX(calc(-110% - 28px)); pointer-events: none; }
.km-karte.km-unter-offen .km-unter { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
/* Nur das Untermenue (Empfehlen/Melden/Watchlist von der Detailseite, App-beta32): eine Spalte, max. 560 px */
.km-karte.km-karte-nur-unter { display: block; max-width: 560px; }
/* Maus/Touch im Querformat (beta97, Nutzerwunsch): bei offenem Untermenue bleibt die Liste links antippbar und
   schaltet direkt um (gemeinsam.js listeBleibtBedienbar) - hochkant liegt das Untermenue darueber (s. u.) */
html[data-eingabe="zeiger"] .km-karte.km-unter-offen .km-rechts { pointer-events: auto; }

.km-kopf { display: flex; align-items: center; gap: 20px; }
.km-poster {
    width: 108px; aspect-ratio: 2 / 3; flex: 0 0 auto; object-fit: cover;
    border-radius: 12px; background: rgba(255,255,255,.06);
}
.km-kopf-text { min-width: 0; }
.km-titel {
    margin: 0; font-size: calc(26px * var(--fs, 1)); line-height: 30px; font-weight: 700; color: #fff;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.km-folge {
    margin: 4px 0 0; font-size: calc(16px * var(--fs, 1)); color: rgba(255,255,255,.86);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.km-eckdaten { margin: 6px 0 0; font-size: calc(15px * var(--fs, 1)); color: rgba(255,255,255,.62); white-space: pre-wrap; }
.km-fortschritt { width: 140px; height: 4px; margin-top: 12px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.km-fortschritt i { display: block; height: 100%; background: var(--rot); }

.km-karte button { font-family: inherit; outline: none; -webkit-tap-highlight-color: transparent; }
.km-spielen {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; margin-top: 22px; padding: 12px 0;
    background: var(--rot); color: #fff; border: 3px solid transparent; border-radius: 14px;
    font-size: calc(18px * var(--fs, 1)); font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: transform .15s ease, border-color .15s ease, filter .15s ease;
}
.km-spielen .material-icons { font-size: 28px; }
.km-spielen:hover, .km-spielen:focus { border-color: #fff; transform: scale(1.03); }
.km-spielen:active { filter: brightness(.85); }
/* Weiterschauen + "Von vorne" (App v5.3.1-beta11): untereinander, ab 330 px Spalte nebeneinander */
.km-abspiel-reihe { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.km-abspiel-reihe .km-spielen { margin-top: 0; }
.km-abspiel-reihe.km-nebeneinander { flex-direction: row; align-items: stretch; }
.km-abspiel-reihe.km-nebeneinander .km-spielen { flex: 1 1 auto; width: auto; min-width: 0; gap: 8px; padding-left: 12px; padding-right: 12px; font-size: calc(17px * var(--fs, 1)); letter-spacing: .5px; }
.km-spielen-texte { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.km-spielen-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.km-spielen-unter {
    max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: calc(12px * var(--fs, 1)); font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.85);
}
.km-spielen.km-mit-unter { padding-top: 6px; padding-bottom: 6px; }
.km-von-vorne {
    display: flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto;
    padding: 12px 16px; border: 0; border-radius: 14px; background: rgba(255,255,255,.10); color: #fff;
    font-size: calc(16px * var(--fs, 1)); font-weight: 600; white-space: nowrap; cursor: pointer;
}
.km-von-vorne .material-icons { font-size: 22px; }
.km-von-vorne:hover, .km-von-vorne:focus, .km-von-vorne:active { background: #fff; color: #111114; }

.km-runde { display: flex; justify-content: space-evenly; margin-top: 20px; }
.km-rund {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 6px 10px; background: none; border: 0; border-radius: 16px;
    color: rgba(255,255,255,.72); font-size: calc(14px * var(--fs, 1)); cursor: pointer;
}
.km-rund-kreis {
    width: 64px; height: 64px; border-radius: 50%; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.10); border: 1.5px solid transparent;
    transition: transform .15s ease, background .15s ease;
}
.km-rund .material-icons { font-size: 28px; color: #fff; }
/* Feste Breite der Beschriftung (beta100): Favorit zeigt kurz "Hinzugefügt"/"Entfernt", ohne dass die Knoepfe springen */
.km-rund-label { min-width: 6.4em; text-align: center; }
/* Vier Knoepfe (Film mit Download, beta36): schmaler, damit sie auch am Handy nebeneinander passen */
.km-runde-vier .km-rund { padding: 6px 4px; }
.km-runde-vier .km-rund-label { min-width: 5.2em; }
/* Favorit im Kontextmenue: kurz aufploppen, das Menue bleibt offen */
.km-rund.km-rund-puls .km-rund-kreis { animation: km-rund-puls .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes km-rund-puls { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
html.keine-animation .km-rund.km-rund-puls .km-rund-kreis { animation: none; }
@media (prefers-reduced-motion: reduce) { .km-rund.km-rund-puls .km-rund-kreis { animation: none; } }
.km-rund.km-an-gruen .km-rund-kreis { border-color: rgba(61,220,132,.7); }
.km-rund.km-an-gruen .material-icons { color: #3DDC84; }
.km-rund.km-an-rot .km-rund-kreis { }
@supports (color: color-mix(in srgb, red, red)) { .km-rund.km-an-rot .km-rund-kreis { border-color: color-mix(in srgb, var(--rot) 70%, transparent); } }
.km-rund.km-an-rot .material-icons { color: var(--rot); }
.km-rund:hover, .km-rund:focus, .km-rund:active { color: #fff; font-weight: 600; }
.km-rund:hover .km-rund-kreis, .km-rund:focus .km-rund-kreis, .km-rund:active .km-rund-kreis { background: #fff; border-color: transparent; }
.km-rund:focus .km-rund-kreis { transform: scale(1.08); }
.km-rund:hover .material-icons, .km-rund:focus .material-icons, .km-rund:active .material-icons { color: #111114; }
.km-rund.km-an-gruen:hover .material-icons, .km-rund.km-an-gruen:focus .material-icons { color: #2BB56A; }
.km-rund.km-an-rot:hover .material-icons, .km-rund.km-an-rot:focus .material-icons { color: var(--rot); }

.km-liste { display: flex; flex-direction: column; }
.km-trenner { height: 1px; margin: 0 10px; background: rgba(255,255,255,.07); flex: 0 0 auto; }
.km-zeile {
    display: flex; align-items: center; gap: 16px; width: 100%; box-sizing: border-box;
    padding: 13px 14px; background: transparent; border: 0; border-radius: 12px;
    color: #fff; font-size: calc(17px * var(--fs, 1)); text-align: left; cursor: pointer;
}
.km-zeile .material-icons { font-size: 24px; color: rgba(255,255,255,.8); flex: 0 0 auto; }
.km-zeile-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.km-zeile-unter { font-size: calc(13px * var(--fs, 1)); color: rgba(255,255,255,.6); font-weight: 400; margin-top: 1px; }
.km-zeile .km-pfeil { color: rgba(255,255,255,.5); margin-left: auto; }
/* Eintrag, dessen Untermenue gerade offen ist: dezent hinterlegt */
.km-zeile.km-offen { background: rgba(255,255,255,.12); }
.km-zeile:focus, .km-zeile:active { background: #fff; color: #111114; font-weight: 600; }
.km-zeile:focus .material-icons, .km-zeile:active .material-icons { color: #111114; }
.km-zeile:focus .km-zeile-unter { color: rgba(17,17,20,.7); }
/* Hover nur mit Maus (beta101): am Handy blieb die zuletzt beruehrte Zeile sonst weiss stehen */
@media (hover: hover) {
    .km-zeile:hover { background: #fff; color: #111114; font-weight: 600; }
    .km-zeile:hover .material-icons { color: #111114; }
    .km-zeile:hover .km-zeile-unter { color: rgba(17,17,20,.7); }
}
.km-karte:not(.km-unter-offen) .km-zeile.km-offen { background: transparent; }
/* beta99 - Zeilen der kleinen Fenster (kmFenster): Gefahr (Loeschen) mit rotem Symbol, gesperrt bis die Eingabe passt
   (bleibt fokussierbar, damit man mit der Fernbedienung sieht, wo man ist) */
.km-zeile.km-zeile-gefahr .material-icons { color: #ff6b6b; }
.km-zeile.km-zeile-gefahr:hover .material-icons, .km-zeile.km-zeile-gefahr:focus .material-icons { color: var(--rot); }
.km-zeile.km-zeile-gesperrt { opacity: .45; cursor: default; }
.km-zeile.km-zeile-gesperrt:hover { background: transparent; color: #fff; font-weight: inherit; }
.km-zeile.km-zeile-gesperrt:hover .material-icons { color: rgba(255,255,255,.8); }
.km-zeile.km-zeile-gesperrt:focus { opacity: .65; background: #fff; color: #111114; }
.km-zeile.km-zeile-gesperrt:focus .material-icons { color: #111114; }
/* Kinderprofil-Schalter als Zeile (Unterkonto anlegen) */
.km-zeile.uk-kind-zeile .uk-kind-kippe { margin-left: auto; }
.km-zeile.uk-kind-zeile.an .uk-kind-kippe { background: var(--rot); }
.km-zeile.uk-kind-zeile.an .uk-kind-kippe::before { transform: translateX(20px); }

/* Kopf des Untermenues: runder Zurueck-Pfeil (seit App v5.3.1-beta11 auch per Fernbedienung, fokussiert weiss), Name, Titel */
.km-panel-kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.km-zurueck {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.10); color: #fff; cursor: pointer;
}
.km-zurueck .material-icons { font-size: 22px; }
.km-zurueck:hover, .km-zurueck:active { background: rgba(255,255,255,.3); }
.km-zurueck:focus { background: #fff; color: #111114; }
.km-panel-kopftext { min-width: 0; }
.km-panel-titel { margin: 0; font-size: calc(22px * var(--fs, 1)); line-height: 27px; font-weight: 700; color: #fff; }
.km-panel-unter { margin: 0; font-size: calc(14px * var(--fs, 1)); color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.km-label { margin: 0 0 4px; padding-left: 14px; font-size: calc(14px * var(--fs, 1)); color: rgba(255,255,255,.55); }
.km-label.km-label-abstand { margin-top: 14px; }
.km-hinweis.km-hinweis-hell { color: #fff; font-weight: 600; }
/* beta99 - kleine Fenster ohne Titelbild: abgedunkelte Seite wie bei "Auf Gerät abspielen" */
.km-buehne.km-buehne-schlicht { background: rgba(0, 0, 0, .82); }
/* Langer Inhalt (Profilbild waehlen): Kopf bleibt stehen, nur der Inhalt scrollt */
.km-karte.km-karte-nur-unter.km-fenster-scroll { display: flex; flex-direction: column; overflow: hidden; }
.km-fenster-scroll .km-unter-inhalt { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.km-fenster-scroll .km-panel-koerper { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px; }
/* KI-Lesefenster (App KiTextFenster, v5.4.1-beta29/30): bis 760 px breit, nur der Text scrollt (hoechstens 60 % der
   Hoehe) - Kopf, "Kurz | Ausführlich" und "Schließen" bleiben stehen. Liegt auch ueber dem Player (z-index 500). */
.km-buehne.ki-buehne { z-index: 620; }
.km-karte.km-karte-nur-unter.ki-fenster { max-width: 760px; display: flex; flex-direction: column; overflow: hidden; }
.ki-fenster .km-unter-inhalt, .ki-fenster .km-panel-koerper { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.ki-umschalter { flex: 0 0 auto; margin: 10px 0 10px; padding: 0 14px; }
.ki-umschalter .km-chip { padding: 8px 16px; border-radius: 18px; }
.ki-text {
    flex: 0 1 auto; min-height: 0; max-height: 60vh; max-height: calc(60vh / var(--nx-zoom, 1));
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 14px; margin-top: 4px;
}
.ki-text .ki-hinweis { margin: 0 0 10px; font-size: calc(13px * var(--fs, 1)); color: rgba(255,255,255,.55); }
.ki-abschnitt + .ki-abschnitt { margin-top: 16px; }
.ki-abschnitt-titel { margin: 0 0 4px; font-size: calc(17px * var(--fs, 1)); line-height: 1.3; font-weight: 600; color: #fff; }
.ki-text .ki-abschnitt-text { margin: 0; font-size: calc(16px * var(--fs, 1)); line-height: 1.44; color: rgba(255,255,255,.84); white-space: pre-line; }
.ki-fenster .km-liste { flex: 0 0 auto; margin-top: 10px; }
/* KI-Lupe (2.4.1-beta2): Eingabe mit Bausteinen und Mikrofon, danach Vorschlaege als Kacheln - der Inhalt scrollt */
.km-karte.km-karte-nur-unter.ki-lupe-fenster { align-items: stretch; width: 92%; }
.ki-lupe-fenster .km-panel-koerper > * { flex: 0 0 auto; }
.ki-lupe-feld { margin-top: 10px; }
/* Beschriftung immer oben - das leere Feld zeigt schon den Beispieltext (lag sonst darueber, Nutzerbericht) */
.ki-lupe-feld .km-feld-label { top: -10px; font-size: calc(12px * var(--fs, 1)); background: #141418; }
.ki-lupe-feld textarea { min-height: 84px; resize: vertical; }
.ki-lupe-bausteine { margin-top: 12px; }
.ki-lupe-mikro.hoert .km-zeile-symbol { color: var(--rot); animation: ki-lupe-puls 1.1s ease-in-out infinite; }
@keyframes ki-lupe-puls { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ki-lupe-lader { padding: 26px 0 10px; text-align: center; }
.ki-lupe-lader .st-ki-sucht { margin: -40px 0 0; }
.ki-lupe-erklaerung { margin: 10px 2px 16px; }
.ki-lupe-raster { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); padding: 4px 4px 2px; }
.ki-lupe-zwischentitel { margin: 22px 4px 10px; font-size: calc(16px * var(--fs, 1)); font-weight: 700; color: #fff; }
.ki-lupe-fehler { margin: 14px 4px 4px; }
@media (max-width: 640px) {
    .ki-lupe-raster { grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 14px 10px; }
}
/* Bewerten (App BewertungFenster, v5.4.1-beta26): Sterne gold, Fokus weiss; Reaktionen als Chips, eigene rot umrandet;
   Kommentare fokussierbar, eigene loescht zweimal OK */
.km-karte.km-karte-nur-unter.bewertung-fenster { max-width: 600px; }
.bw-sterne { display: flex; gap: 6px; padding: 0 8px; }
.bw-stern {
    width: 52px; height: 52px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; padding: 0;
    font-size: 32px; line-height: 1; color: rgba(255,255,255,.7); -webkit-tap-highlight-color: transparent;
}
.bw-stern.bw-voll { color: #F5C518; }
html[data-eingabe="taste"] .bw-stern:focus { background: #fff; color: #111114; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .bw-stern:focus-visible { background: #fff; color: #111114; outline: none; }
html[data-eingabe="taste"] .bw-stern.bw-voll:focus { color: #F5C518; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .bw-stern.bw-voll:focus-visible { color: #F5C518; }
@media (hover: hover) { .bw-stern:hover { background: rgba(255,255,255,.12); } }
.bw-schnitt { padding-left: 14px; margin-top: 6px; }
.bw-reaktionen { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.bw-reaktion {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid transparent; border-radius: 22px;
    background: rgba(255,255,255,.07); color: rgba(255,255,255,.85); cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent;
}
.bw-reaktion.bw-gewaehlt { background: rgba(255,255,255,.18); border-color: var(--rot); }
.bw-reaktion .bw-emoji { font-size: 20px; line-height: 1; }
.bw-reaktion .bw-zahl { font-size: calc(15px * var(--fs, 1)); font-weight: 600; }
html[data-eingabe="taste"] .bw-reaktion:focus { background: #fff; color: #111114; border-color: transparent; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .bw-reaktion:focus-visible { background: #fff; color: #111114; border-color: transparent; outline: none; }
@media (hover: hover) { .bw-reaktion:hover { background: rgba(255,255,255,.16); } }
.bewertung-fenster .km-feld { margin: 4px 0 6px; }
.bw-fehler { color: var(--rot); padding-left: 14px; }
.bw-leer { padding-left: 14px; }
.bw-kommentare { display: flex; flex-direction: column; margin-top: 6px; }
.bw-kommentar {
    display: flex; flex-direction: column; gap: 2px; width: 100%; box-sizing: border-box; padding: 10px 14px; border: 0; border-radius: 12px;
    background: transparent; color: #fff; text-align: left; font: inherit; cursor: default; outline: none;
}
button.bw-kommentar { cursor: pointer; }
.bw-meta { font-size: calc(13px * var(--fs, 1)); color: rgba(255,255,255,.55); }
.bw-fragt .bw-meta { color: var(--rot); }
.bw-tipp { display: none; }
.bw-text { font-size: calc(16px * var(--fs, 1)); line-height: 1.38; white-space: pre-wrap; overflow-wrap: anywhere; }
html[data-eingabe="taste"] .bw-kommentar:focus { background: #fff; color: #111114; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .bw-kommentar:focus-visible { background: #fff; color: #111114; }
html[data-eingabe="taste"] .bw-kommentar:focus .bw-meta { color: rgba(17,17,20,.7); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .bw-kommentar:focus-visible .bw-meta { color: rgba(17,17,20,.7); }
.bw-kommentar.bw-fragt:focus .bw-meta { color: var(--rot); }
html[data-eingabe="taste"] button.bw-kommentar:focus .bw-tipp { display: inline; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ button.bw-kommentar:focus-visible .bw-tipp { display: inline; }
@media (hover: hover) { button.bw-kommentar:hover { background: rgba(255,255,255,.07); } button.bw-kommentar:hover .bw-tipp { display: inline; } }
/* Kleines Zeilenmenue (Lieblingsszenen): Unterzeile unter dem Titel */
.km-folgen-titel.km-folgen-titel-mit-unter { margin-bottom: 2px; }
/* Kinderprofil (App v5.4.1-beta24, gemeinsam.js html.nx-kind): kein Live TV, keine Seh-Stände, kein "Bald im Kino" */
html.nx-kind a[href="livetv.php"], html.nx-kind #entdecken-sehstand, html.nx-kind #kino-banner-platz { display: none !important; }
/* "Freigegeben bis" FSK 0 · 6 · 12 · 16 (Anlegen/Bearbeiten eines Kinderprofils) */
.uk-fsk { padding: 4px 0 10px; }
.uk-fsk .km-label { margin-top: 8px; }
.uk-fsk-chips { margin-top: 4px; padding: 0 8px; }
.uk-fsk-hinweis { padding-left: 14px; margin: 8px 0 0; }
/* Bildschirmzeit (App v5.4.1-beta25): Eltern-Auswahl, Sperrfenster, "noch 35 Min." in der Kopfzeile */
.uk-bz { padding: 0 0 10px; }
.uk-bz-verbrauch { margin-top: 12px; }
.bz-sperr-zeile { display: flex; align-items: flex-start; gap: 14px; padding: 4px 14px 12px; color: rgba(255,255,255,.72); }
.bz-sperr-zeile .material-icons { font-size: 22px; }
.bz-sperr-text { margin: 0; font-size: calc(15px * var(--fs, 1)); line-height: 1.4; color: rgba(255,255,255,.72); }
.bz-kopf {
    margin-left: 14px; padding: 4px 10px; border-radius: 12px; white-space: nowrap;
    background: rgba(255,255,255,.12); color: var(--text-dim); font-size: calc(13px * var(--fs, 1)); font-weight: 600;
}
html[data-skin="HELL"] .bz-kopf { background: rgba(0,0,0,.07); }
/* am Handy steht es in der Begruessung (die gibt es nur bis 640 px) */
@media (max-width: 640px) { .bz-kopf { display: none !important; } }
.km-folgen-unter { margin: 0 0 14px; color: rgba(255,255,255,.6); font-size: calc(14px * var(--fs, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (orientation: portrait), (max-width: 640px) {
    .km-karte.km-karte-nur-unter.ki-fenster { padding: 22px; }
    .ki-umschalter, .ki-text { padding-left: 6px; padding-right: 6px; }
}
/* Tier- und Emoji-Auswahl in den Fenstern: Fokus weiss wie die Zeilen, gewaehlt rot umrandet */
.km-fenster .uk-avatar-raster { margin: 6px 0 12px; grid-template-columns: repeat(auto-fill, minmax(56px, 68px)); justify-content: space-between; }
.km-fenster .uk-avatar-swatch { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.km-fenster .uk-avatar-swatch:hover, .km-fenster .uk-avatar-swatch:focus { background: #fff; border-color: #fff; }
.km-fenster .uk-avatar-swatch.aktiv { border-color: var(--rot); background: rgba(229,9,20,.22); }
@supports (color: color-mix(in srgb, red, red)) { .km-fenster .uk-avatar-swatch.aktiv { background: color-mix(in srgb, var(--rot) 22%, transparent); } }
.km-fenster .uk-avatar-swatch.aktiv:focus { background: #fff; border-color: var(--rot); }
.emoji-fenster .emoji-auswahl-knopf:hover, [data-eingabe="taste"] .emoji-fenster .emoji-auswahl-knopf:focus { background: #fff; border-color: #fff; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .emoji-fenster .emoji-auswahl-knopf:focus-visible { background: #fff; border-color: #fff; }
.emoji-fenster .emoji-auswahl-gruppe { color: rgba(255,255,255,.55); }
.km-fenster.uk-wechsel-fenster .uk-kachel-reihe { justify-content: flex-start; margin: 6px 0 4px; }
.km-fenster.uk-wechsel-fenster .uk-kachel { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); }
.km-hinweis { margin: 6px 0; font-size: calc(15px * var(--fs, 1)); color: rgba(255,255,255,.6); }
.km-hinweis-klein { font-size: calc(13px * var(--fs, 1)); color: rgba(255,255,255,.55); margin: 6px 0 10px; }
.km-hinweis-text { font-size: calc(15px * var(--fs, 1)); line-height: 21px; color: rgba(255,255,255,.72); padding: 0 6px; margin: 0 0 12px; }
.km-nachricht { margin-bottom: 6px; }
.km-nachricht .km-feld { margin-bottom: 4px; }
.km-scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.km-scroll-330 { max-height: 330px; } .km-scroll-300 { max-height: 300px; }
.km-scroll-280 { max-height: 280px; } .km-scroll-240 { max-height: 240px; }
.km-bestaetigung { display: flex; align-items: center; gap: 14px; padding: 18px 6px; font-size: calc(18px * var(--fs, 1)); font-weight: 600; color: #fff; outline: none; }
.km-bestaetigung .material-icons { font-size: 30px; }
.km-lader { display: flex; justify-content: center; padding: 14px 0; }
.km-lader-hand { width: 34px; height: 34px; display: block; transform-origin: 50% 50%; animation: knopf-spinner-dreh 1.1s linear infinite; }
.km-lader-hand .ok-hand-lader { width: 100%; height: 100%; display: block; }
.km-lader-hand .ok-hand-haupt { fill: var(--rot); }
.km-lader-hand .ok-hand-detail { fill: #8E0710; }
@supports (color: color-mix(in srgb, red, red)) { .km-lader-hand .ok-hand-detail { fill: color-mix(in srgb, var(--rot) 62%, #000); } }

/* Textfeld wie OutlinedTextField: weiss auf der dunklen Karte, Beschriftung wandert auf den Rand */
.km-feld { position: relative; display: block; margin: 8px 0 0; }
.km-feld input, .km-feld textarea {
    display: block; width: 100%; box-sizing: border-box; margin: 0;
    padding: 16px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
    background: transparent; color: #fff; caret-color: #fff; font: inherit; font-size: calc(16px * var(--fs, 1)); outline: none;
}
.km-feld textarea { min-height: 96px; resize: vertical; }
.km-feld input:focus, .km-feld textarea:focus { border: 2px solid #fff; padding: 15px 13px; }
.km-feld-label {
    position: absolute; left: 10px; top: 16px; padding: 0 4px; pointer-events: none;
    color: rgba(255,255,255,.6); font-size: calc(16px * var(--fs, 1)); line-height: 20px; border-radius: 2px;
    transition: top .15s ease, font-size .15s ease, color .15s ease;
}
.km-feld.km-feld-voll .km-feld-label { top: -10px; font-size: calc(12px * var(--fs, 1)); background: #141418; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .km-feld:focus-within .km-feld-label { top: -10px; font-size: calc(12px * var(--fs, 1)); background: #141418; }
.km-feld:focus-within .km-feld-label { color: #fff; }
.km-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.km-chip {
    border: 0; border-radius: 20px; padding: 9px 18px; cursor: pointer;
    background: rgba(255,255,255,.10); color: #fff; font-size: calc(15px * var(--fs, 1)); font-weight: 600;
}
.km-chip.km-chip-an { background: var(--rot); }
.km-chip.km-chip-eckig { border-radius: 8px; padding: 9px 16px; font-size: calc(14px * var(--fs, 1)); }
.km-chip:focus { background: #fff; color: #111114; outline: none; }
/* Hover nur mit echter Maus - am Handy blieb der angetippte Chip sonst weiss statt rot stehen (2.0.1-beta1, wie die Zeilen) */
@media (hover: hover) { .km-chip:hover { background: #fff; color: #111114; } }

/* ---- Dialoge der Detailseite im selben Look (DetailDialogs.kt DialogRahmen) ---- */
.km-dialog-buehne { background: rgba(0,0,0,.9); }
.km-dialog-karte {
    position: relative; box-sizing: border-box;
    /* Rueckfall ohne min(): Dialog nie hoeher als der Bildschirm (2.2.2-beta11, Pruefung 15.10.) */
    min-width: 480px; max-height: calc(100vh - 32px);
    width: 50%; min-width: min(480px, calc(100% - 32px)); max-width: 760px; max-height: min(620px, calc(100% - 32px));
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    padding: 28px; color: #fff;
    background: rgba(18,18,22,.95); border: 1px solid rgba(255,255,255,.09); border-radius: 24px;
    transform: scale(.96); transition: transform .24s ease;
}
.km-buehne.km-sichtbar .km-dialog-karte { transform: none; }
.km-dialog-karte.km-dialog-schmal { width: 42%; max-height: calc(100vh - 32px); /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */ max-height: min(560px, calc(100% - 32px)); padding: 24px; }
.km-dialog-kopf { margin: 0; font-size: calc(24px * var(--fs, 1)); line-height: 30px; font-weight: 700; color: #fff; }
.km-dialog-schmal .km-dialog-kopf { font-size: calc(20px * var(--fs, 1)); line-height: 26px; }
.km-dialog-fertig .km-dialog-kopf { color: #3DDC84; }
.km-dialog-unter { margin: 4px 0 0; font-size: calc(15px * var(--fs, 1)); color: rgba(255,255,255,.55); }
.km-dialog-inhalt { margin-top: 20px; }
.km-dialog-schmal .km-dialog-inhalt { margin-top: 18px; }
.km-dialog-frage { margin: 0 0 10px; font-size: calc(15px * var(--fs, 1)); color: rgba(255,255,255,.6); }
.km-dialog-frage-klein { font-size: calc(13px * var(--fs, 1)); margin: 16px 0 0; }
.km-dialog-text { margin: 0 0 14px; font-size: calc(16px * var(--fs, 1)); line-height: 1.45; color: rgba(255,255,255,.8); }
.km-dialog-karte button { font-family: inherit; outline: none; -webkit-tap-highlight-color: transparent; }
.km-dzeilen { display: flex; flex-direction: column; gap: 8px; }
.km-dzeile {
    display: block; width: 100%; box-sizing: border-box; text-align: left;
    padding: 14px 16px; border: 0; border-radius: 12px; cursor: pointer;
    background: rgba(255,255,255,.06); color: #fff; font-size: calc(17px * var(--fs, 1));
}
.km-dzeile-betont { color: var(--rot); font-weight: 700; font-size: calc(16px * var(--fs, 1)); margin-bottom: 10px; }
.km-dzeile:hover, .km-dzeile:focus, .km-dzeile:active { background: #fff; color: #111114; font-weight: 600; }
.km-dfrei { margin-top: 18px; }
.km-dempfaenger { margin-top: 16px; }
.km-dknoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.km-dknopf {
    padding: 14px 24px; border-radius: 12px; cursor: pointer;
    background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: calc(17px * var(--fs, 1)); font-weight: 600;
}
.km-dknopf.km-dknopf-an { background: rgba(255,255,255,.12); }
.km-dknopf:hover, .km-dknopf:focus, .km-dknopf:active { background: #fff; color: #111114; border-color: #fff; }
.km-dialog-ok { height: 4px; outline: none; }
.km-dialog-karte .km-feld input, .km-dialog-karte .km-feld textarea { font-size: calc(17px * var(--fs, 1)); }
.km-dialog-karte .km-feld-label { background: transparent; }
.km-dialog-karte .km-feld.km-feld-voll .km-feld-label { background: #111115; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .km-dialog-karte .km-feld:focus-within .km-feld-label { background: #111115; }

/* Hochformat/schmal (Handy): alles untereinander, volle Breite minus 16 px Rand */
@media (orientation: portrait), (max-width: 640px) {
    .km-karte { width: calc(100% - 32px); max-width: 560px; grid-template-columns: minmax(0, 1fr); row-gap: 14px; padding: 24px; }
    .km-poster { width: 92px; }
    .km-titel { font-size: calc(22px * var(--fs, 1)); line-height: 26px; }
    .km-links { grid-row: 1; } .km-rechts { grid-column: 1; grid-row: 2; }
    .km-links, .km-rechts { transition: opacity .32s cubic-bezier(.4,0,.2,1), transform .32s cubic-bezier(.4,0,.2,1); }
    /* Handy: das Untermenue gleitet von rechts ueber das ganze Menue */
    .km-unter { grid-column: 1; grid-row: 1 / span 2; transform: translateX(100%); }
    html[data-eingabe="zeiger"] .km-karte.km-unter-offen .km-rechts { pointer-events: none; }
    /* Das Untermenue fuellt die ganze Karte, Listen darin (Empfaenger, Watchlists) nehmen die Hoehe, die das Menue
       darunter vorgibt, statt nach 300 px zu scrollen (beta97, Nutzerwunsch) */
    /* absolut im Rasterbereich des Menues: zaehlt nicht zur Hoehe, die gibt das Menue vor - darin scrollt nur die Liste */
    .km-karte:not(.km-karte-nur-unter) .km-unter { position: absolute; top: 0; right: 0; bottom: 0; left: 0; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
    .km-karte:not(.km-karte-nur-unter) .km-unter-inhalt,
    .km-karte:not(.km-karte-nur-unter) .km-panel-koerper,
    .km-karte:not(.km-karte-nur-unter) .km-empfaenger { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
    .km-karte:not(.km-karte-nur-unter) .km-panel-koerper .km-scroll { flex: 1 1 auto; min-height: 0; max-height: none; }
    .km-karte.km-unter-offen .km-links, .km-karte.km-unter-offen .km-rechts { opacity: 0; transform: translateX(-25%); transition: opacity .32s, transform .32s; }
    .km-dialog-karte, .km-dialog-karte.km-dialog-schmal { width: calc(100% - 32px); min-width: 0; padding: 24px; }
}
/* Niedrige Querformat-Fenster (z. B. 540 px TV-Hoehe): etwas kompakter */
@media (orientation: landscape) and (max-height: 560px) {
    .km-karte { padding: 22px; gap: 22px; }
    .km-poster { width: 84px; }
    .km-spielen { margin-top: 16px; padding: 9px 0; }
    .km-abspiel-reihe { margin-top: 16px; }
    .km-von-vorne { padding-top: 9px; padding-bottom: 9px; }
    .km-runde { margin-top: 12px; }
    .km-rund-kreis { width: 54px; height: 54px; }
    .km-zeile { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .km-buehne, .km-karte, .km-spielen, .km-rund-kreis, .km-links, .km-rechts, .km-unter, .km-dialog-karte { transition: none; }
}

/* "Reingeguckt!" unter dem Logo der Anmeldeseite (App v5.2.6-beta28, SplashLogo.kt):
   weiss 80 %, Medium, Zeichenabstand 1 - Groesse und Abstand im Verhaeltnis wie in der
   App (Logo 64 dp, Zeile 22 sp, Mitte 62 dp unter der Logo-Mitte); blendet nach dem
   Logo ein und gleitet dabei 10 px nach oben. */
.login-reingeguckt {
    margin: .9rem 0 0; color: rgba(255,255,255,.8);
    font-size: calc(1.2rem * var(--fs, 1)); font-weight: 500; letter-spacing: 1px; line-height: 1.2;
    text-shadow: 0 .15rem .6rem rgba(0,0,0,.55);
    animation: login-reingeguckt-rein .36s cubic-bezier(.4,0,.2,1) .42s both;
}
@keyframes login-reingeguckt-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .login-reingeguckt { font-size: calc(.95rem * var(--fs, 1)); margin-top: .7rem; } }
@media (prefers-reduced-motion: reduce) { .login-reingeguckt { animation: none; } }
/* Sprachwahl auf der Anmeldeseite (App v5.6.1-beta7, SprachChips): drei kleine Pillen unter "Reingeguckt!" - Abstand per
   margin statt gap (Chromium 56 kennt bei Flexbox kein gap) */
.login-sprachen { display: flex; flex-wrap: wrap; justify-content: center; margin: .8rem 0 0; }
.login-sprache {
    margin: .2rem .25rem; padding: .25rem .85rem; border-radius: 2rem; border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); font-size: calc(.85rem * var(--fs, 1)); text-decoration: none;
}
.login-sprache.aktiv { background: var(--rot); border-color: var(--rot); color: #fff; }
.login-sprache:hover, .login-sprache:focus { border-color: var(--rot); color: #fff; outline: none; }
html.keine-animation .login-reingeguckt { animation: none; }

/* Vorspann beim Start (vorspann.js, App v5.2.6-beta28): bis er steht, die Seite
   schwarz abdecken - sonst blitzte sie kurz auf. Das Inline-Script im <head> setzt
   data-vorspann nur beim ersten Start der installierten App je Sitzung. */
html[data-vorspann]::after { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2147483600; background: #000; }
/* Installierte Web-App auf Android (beta15): Android 12+ zeigt beim Start das App-Symbol (240 dp, mittig im
   ganzen Bildschirm) und Chrome blendet es beim ersten Bild der Seite aus - deshalb steht genau dieses Symbol
   schon im ersten Bild an derselben Stelle (Lage --vs-x/--vs-y rechnet das Kopf-Script aus), vorspann.js
   uebernimmt nahtlos. Hand wie in assets/app-*-512-maskable.png, Beschriftung als Umriss (Noto Sans Bold). */
html[data-vorspann="hand"]::after { background: #0b0b0f no-repeat; background-size: 240px 240px; background-position: calc(var(--vs-x, 50vw) - 120px) calc(var(--vs-y, 50vh) - 120px); }
html[data-vorspann="hand"][data-vs-text="beta"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cg transform='translate(150.109 98.169) scale(5.92397)'%3E%3Cpath fill='%238E0710' d='M23.216 20.937l-1.721-6.86-3.947-8.816c-.502-1.297.143-2.756 1.44-3.257 1.296-.506 2.756.143 3.258 1.44l6.203 15.769-5.233 1.724z'/%3E%3Cpath fill='%23E50914' d='M31.565 18.449c-.488-2.581-1.988-6.523-1.988-6.523L23.79 1.437C23.164.195 21.648-.303 20.407.322c-1.242.626-1.742 2.141-1.115 3.383l5.33 9.547c.013.022 1.413 5.491 1.413 5.491-1.078-.995-2.607-2.359-4.015-3.618-3.098-2.772-4.936-3.811-4.936-3.811-.71-.443-1.179-.506-2.132-.059L9.08 13.823c-.157.078-.29.188-.395.329l-2.313 3.086c-.893 1.067-.752 2.655.315 3.547 1.066.893 2.653.75 3.548-.314.048-.058 1.78-2.56 1.936-2.64 1.037-.533 2.965-1.447 3.808-1.42.897.029 6.281 5.957 6.281 5.957.206.259.23.618.06.902l-2.915 5.228c-.079.131-.193.236-.33.303l-2.674 1.5c-.154.075-.328.099-.496.067l-5.27-2.272c-.262-.113-.48-.32-.592-.583-.787-1.85-.898-3.619-.899-3.639-.065-1.39-1.244-2.463-2.634-2.398-1.387.056-2.463 1.243-2.398 2.633.013.263.351 5.64 4.727 9.292 2.528 2.108 5.654 2.924 9.649 2.387 4.612-.619 7.469-1.233 11.506-9.558 1.117-2.305 1.903-6.024 1.571-7.781z'/%3E%3C/g%3E%3Cpath fill='%23EDEDF0' transform='translate(.37 -.53)' d='M216.03 350.37Q222.25 350.37 225.43 352.11Q228.61 353.85 228.61 358.24Q228.61 360.9 227.37 362.73Q226.13 364.55 223.82 364.95V365.16Q225.39 365.47 226.65 366.25Q227.91 367.03 228.65 368.51Q229.39 369.99 229.39 372.43Q229.39 376.65 226.35 379.05Q223.3 381.44 217.99 381.44H206.37V350.37ZM216.77 362.68Q219.64 362.68 220.75 361.77Q221.86 360.86 221.86 359.11Q221.86 357.33 220.56 356.55Q219.25 355.76 216.42 355.76H212.94V362.68ZM212.94 367.91V376H217.25Q220.21 376 221.38 374.85Q222.56 373.69 222.56 371.78Q222.56 370.04 221.36 368.97Q220.17 367.91 217.03 367.91ZM246.61 357.24Q251.53 357.24 254.4 360.05Q257.27 362.86 257.27 368.04V371.17H241.95Q242.04 373.91 243.58 375.48Q245.13 377.04 247.87 377.04Q250.18 377.04 252.05 376.59Q253.92 376.13 255.92 375.17V380.18Q254.18 381.05 252.24 381.46Q250.31 381.88 247.57 381.88Q244 381.88 241.26 380.55Q238.51 379.22 236.95 376.52Q235.38 373.82 235.38 369.73Q235.38 365.56 236.79 362.79Q238.21 360.03 240.73 358.64Q243.26 357.24 246.61 357.24ZM246.65 361.86Q244.78 361.86 243.54 363.07Q242.3 364.29 242.08 366.86H251.18Q251.13 364.68 250.05 363.27Q248.96 361.86 246.65 361.86ZM274.29 376.7Q275.38 376.7 276.38 376.48Q277.38 376.26 278.39 375.96V380.79Q277.34 381.22 275.8 381.55Q274.25 381.88 272.42 381.88Q270.29 381.88 268.62 381.18Q266.94 380.48 265.96 378.76Q264.98 377.04 264.98 374V362.55H261.89V359.81L265.46 357.63L267.33 352.63H271.47V357.68H278.12V362.55H271.47V374Q271.47 375.35 272.25 376.02Q273.03 376.7 274.29 376.7ZM294.66 357.2Q299.45 357.2 301.99 359.27Q304.54 361.33 304.54 365.6V381.44H300.01L298.75 378.22H298.58Q297.05 380.13 295.35 381Q293.66 381.88 290.7 381.88Q287.52 381.88 285.43 380.03Q283.34 378.18 283.34 374.35Q283.34 370.56 286 368.75Q288.65 366.95 293.96 366.77L298.1 366.64V365.6Q298.1 363.73 297.12 362.86Q296.14 361.99 294.4 361.99Q292.66 361.99 291 362.49Q289.35 362.99 287.7 363.73L285.56 359.33Q287.48 358.33 289.81 357.77Q292.13 357.2 294.66 357.2ZM295.57 370.52Q292.44 370.6 291.22 371.65Q290 372.69 290 374.39Q290 375.87 290.87 376.5Q291.74 377.13 293.14 377.13Q295.22 377.13 296.66 375.89Q298.1 374.65 298.1 372.39V370.43Z'/%3E%3C/svg%3E"); }
html[data-vorspann="hand"][data-vs-text="web"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cg transform='translate(150.109 98.169) scale(5.92397)'%3E%3Cpath fill='%238E0710' d='M23.216 20.937l-1.721-6.86-3.947-8.816c-.502-1.297.143-2.756 1.44-3.257 1.296-.506 2.756.143 3.258 1.44l6.203 15.769-5.233 1.724z'/%3E%3Cpath fill='%23E50914' d='M31.565 18.449c-.488-2.581-1.988-6.523-1.988-6.523L23.79 1.437C23.164.195 21.648-.303 20.407.322c-1.242.626-1.742 2.141-1.115 3.383l5.33 9.547c.013.022 1.413 5.491 1.413 5.491-1.078-.995-2.607-2.359-4.015-3.618-3.098-2.772-4.936-3.811-4.936-3.811-.71-.443-1.179-.506-2.132-.059L9.08 13.823c-.157.078-.29.188-.395.329l-2.313 3.086c-.893 1.067-.752 2.655.315 3.547 1.066.893 2.653.75 3.548-.314.048-.058 1.78-2.56 1.936-2.64 1.037-.533 2.965-1.447 3.808-1.42.897.029 6.281 5.957 6.281 5.957.206.259.23.618.06.902l-2.915 5.228c-.079.131-.193.236-.33.303l-2.674 1.5c-.154.075-.328.099-.496.067l-5.27-2.272c-.262-.113-.48-.32-.592-.583-.787-1.85-.898-3.619-.899-3.639-.065-1.39-1.244-2.463-2.634-2.398-1.387.056-2.463 1.243-2.398 2.633.013.263.351 5.64 4.727 9.292 2.528 2.108 5.654 2.924 9.649 2.387 4.612-.619 7.469-1.233 11.506-9.558 1.117-2.305 1.903-6.024 1.571-7.781z'/%3E%3C/g%3E%3Cpath fill='%23EDEDF0' transform='translate(-.1 -.48)' d='M248.23 350.37 240.31 381.44H232.83L228.6 365.12Q228.47 364.64 228.28 363.68Q228.08 362.73 227.84 361.59Q227.6 360.46 227.43 359.44Q227.26 358.42 227.17 357.85Q227.13 358.42 226.93 359.44Q226.73 360.46 226.52 361.57Q226.3 362.68 226.08 363.66Q225.86 364.64 225.73 365.16L221.55 381.44H214.07L206.15 350.37H212.63L216.59 367.34Q216.85 368.34 217.16 369.86Q217.46 371.39 217.72 372.91Q217.99 374.43 218.12 375.48Q218.25 374.39 218.51 372.89Q218.77 371.39 219.05 369.97Q219.33 368.56 219.55 367.77L224.08 350.37H230.3L234.83 367.77Q235.05 368.51 235.33 369.95Q235.61 371.39 235.87 372.91Q236.13 374.43 236.26 375.48Q236.39 374.39 236.66 372.89Q236.92 371.39 237.24 369.86Q237.57 368.34 237.79 367.34L241.75 350.37ZM262.27 357.24Q267.19 357.24 270.06 360.05Q272.93 362.86 272.93 368.04V371.17H257.62Q257.7 373.91 259.25 375.48Q260.79 377.04 263.53 377.04Q265.84 377.04 267.71 376.59Q269.58 376.13 271.59 375.17V380.18Q269.84 381.05 267.91 381.46Q265.97 381.88 263.23 381.88Q259.66 381.88 256.92 380.55Q254.18 379.22 252.61 376.52Q251.04 373.82 251.04 369.73Q251.04 365.56 252.46 362.79Q253.87 360.03 256.4 358.64Q258.92 357.24 262.27 357.24ZM262.32 361.86Q260.44 361.86 259.2 363.07Q257.96 364.29 257.75 366.86H266.84Q266.8 364.68 265.71 363.27Q264.62 361.86 262.32 361.86ZM286.43 356.07Q286.43 357.42 286.35 358.72Q286.26 360.03 286.17 360.77H286.43Q287.39 359.29 289 358.27Q290.61 357.24 293.18 357.24Q297.18 357.24 299.66 360.35Q302.14 363.47 302.14 369.52Q302.14 375.61 299.62 378.74Q297.1 381.88 293.01 381.88Q290.39 381.88 288.89 380.94Q287.39 380 286.43 378.83H286L284.91 381.44H279.95V348.36H286.43ZM291.09 362.42Q288.57 362.42 287.54 363.99Q286.52 365.56 286.43 368.78V369.47Q286.43 372.91 287.46 374.76Q288.48 376.61 291.18 376.61Q293.18 376.61 294.35 374.76Q295.53 372.91 295.53 369.43Q295.53 365.95 294.33 364.18Q293.14 362.42 291.09 362.42Z'/%3E%3C/svg%3E"); }
.nx-vorspann { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2147483600; transition: opacity .18s ease; }
.nx-vorspann svg { display: block; width: 100%; height: 100%; }
.nx-vorspann.nx-vorspann-weg { opacity: 0; pointer-events: none; }

/* =======================================================================
   Detailseite neu (App v5.2.6-beta31, DetailScreen.kt): Cover ohne Knöpfe,
   rechts Kennzeichnung/Titel/Pillen/Genres/Beschreibung, großer roter
   Abspielen-Knopf und runde Aktionen im Kontextmenü-Stil; im Hochformat
   oben das Fanart 16:9 über die volle Breite. Alles liegt auf dem immer
   dunklen Fanart-Verlauf - deshalb fest helle Farben (wie die App).
   ======================================================================= */
.dk-held { display: none; }
/* Cover-Breite nach der Fensterhöhe wie die App (Höhe - 215) / 1,5, zwischen 200 und 260 (App-beta33);
   Info-Leiste und Länder stehen darunter in genau dieser Breite */
.detail-poster.dk-poster { width: 260px; border-radius: 16px; border: 1px solid rgba(255,255,255,.09); }
@supports (width: min(1px, 2px)) { .detail-poster.dk-poster { width: clamp(200px, calc((100vh / var(--nx-zoom, 1) - 215px) / 1.5), 260px); } }
.dk-rahmen .detail-poster-spalte { width: 260px; }
/* Luft zur Reihe darunter (beta43): war nur zufaellig da, wenn die Infospalte laenger als das Poster war */
.detail-rahmen.dk-rahmen { margin-bottom: 24px; }
@supports (width: min(1px, 2px)) { .dk-rahmen .detail-poster-spalte { width: clamp(200px, calc((100vh / var(--nx-zoom, 1) - 215px) / 1.5), 260px); } }
.dk-ecke-links, .dk-ecke-rechts { position: absolute; top: 10px; display: flex; flex-direction: column; z-index: 1; }
.dk-ecke-links { left: 10px; align-items: flex-start; }
.dk-ecke-rechts { right: 10px; align-items: flex-end; }
.dk-ecke-links > * + *, .dk-ecke-rechts > * + * { margin-top: 6px; }
.dk-eck-badge { color: #fff; font-size: calc(12px * var(--fs, 1)); font-weight: 700; line-height: 1.2; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
/* "4K | Dolby Vision" als eine Pille ohne Luecke, nur aussen gerundet (App v5.2.6-beta35) */
.dk-eck-pille { display: inline-flex; border-radius: 6px; overflow: hidden; }
.dk-eck-pille > .dk-eck-badge { border-radius: 0; }
/* Info-Leiste (App-beta32-34): nur Werte, gleich breite Felder mit feinen Trennlinien */
.dk-infoleiste { display: flex; height: 46px; margin-top: 12px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); box-sizing: border-box; }
.dk-infoleiste[hidden], .dk-laender[hidden] { display: none !important; }
.dk-zelle { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.dk-zelle + .dk-zelle { border-left: 1px solid rgba(255,255,255,.10); }
.dk-zelle-innen { display: inline-flex; align-items: center; white-space: nowrap; color: #fff; }
.dk-wert { font-size: calc(17px * var(--fs, 1)); font-weight: 700; }
/* Staffeln zweizeilig: Zahl oben, darunter klein "Staffeln" (App v5.2.6-beta38) */
.dk-zelle-innen.dk-zweizeilig { flex-direction: column; line-height: 1.05; }
.dk-unter { font-size: calc(11px * var(--fs, 1)); font-weight: 600; color: rgba(255,255,255,.7); }
.dk-kompakt .dk-unter { font-size: calc(10px * var(--fs, 1)); }
.dk-stern { font-size: calc(17px * var(--fs, 1)); color: #F5C518; margin-right: 3px; }
.dk-fsk { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; box-sizing: border-box; border-radius: 6px; font-size: calc(13px * var(--fs, 1)); font-weight: 900; }
.dk-infoleiste.dk-kompakt { height: 42px; }
.dk-kompakt .dk-zelle { padding: 0 3px; }
.dk-kompakt .dk-wert { font-size: calc(15px * var(--fs, 1)); }
.dk-kompakt .dk-stern { font-size: calc(15px * var(--fs, 1)); margin-right: 2px; }
.dk-laender { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: calc(13px * var(--fs, 1)); line-height: 1.35; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dk-handy-nur { display: none !important; }
.dk-info { display: flex; flex-direction: column; align-items: flex-start; }
.detail-info-spalte .dk-titel { font-size: calc(36px * var(--fs, 1)); line-height: 42px; font-weight: 700; margin: 0 0 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; outline: none; }
.dk-genres { color: rgba(255,255,255,.8); font-size: calc(15px * var(--fs, 1)); margin: 2px 0 14px; }
/* Anbieter im Querformat unter den Genres (beta96, Nutzerwunsch) - hochkant stehen sie oben links auf dem großen Bild */
.dk-anbieter-zeile { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; }
.dk-anbieter-zeile[hidden] { display: none; }
/* Bei Filmen/Serien von Anfang an freigehalten und weich eingeblendet (App v5.5.1-beta23, detail.js anbieterZeichnen) */
.dk-anbieter-zeile { transition: opacity .25s ease; }
.dk-anbieter-zeile.dk-anbieter-frei { opacity: 0; visibility: hidden; }
.dk-beschreibung { max-width: 70ch; }
/* Fernseher/breit sechs Zeilen, Handy vier (App v5.5.1-beta15); dk-ganz = nur eine Zeile fehlte, dann gleich alles */
.dk-overview { margin: 0; font-size: calc(16px * var(--fs, 1)); line-height: 22px; color: rgba(255,255,255,.9); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.dk-beschreibung.dk-offen .dk-overview, .dk-beschreibung.dk-ganz .dk-overview { display: block; -webkit-line-clamp: unset; }
.dk-beschreibung.dk-ganz .dk-overview { cursor: default; }
/* "Mehr anzeigen" (beta60, Nutzerwunsch): in der Designfarbe mit Pfeil, damit man am Fernseher sofort sieht, dass
   die Beschreibung weitergeht; der Text gleitet weich auf (.dk-gleitet, detail.js) */
.dk-mehr { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; color: var(--rot); font: inherit; font-size: calc(14px * var(--fs, 1)); font-weight: 700; padding: 4px 2px 0; cursor: pointer; border-radius: 6px; }
.dk-mehr[hidden] { display: none; }
.dk-mehr-pfeil { font-size: calc(20px * var(--fs, 1)); transition: transform .3s ease; }
.dk-beschreibung.dk-mehr-offen .dk-mehr-pfeil { transform: rotate(180deg); }
.dk-overview.dk-gleitet { transition: max-height .36s ease; overflow: hidden; }
html[data-eingabe="taste"] .dk-mehr:focus { outline: 2px solid #fff; outline-offset: 2px; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-mehr:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dk-haupt { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dk-abspielen {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 260px; padding: 11px 26px; border: 3px solid transparent; border-radius: 14px;
    background: var(--rot); color: #fff; font: inherit; font-size: calc(17px * var(--fs, 1)); font-weight: 700; letter-spacing: 1px;
    cursor: pointer; white-space: nowrap; transition: transform .14s ease, border-color .14s ease;
}
.dk-abspielen .material-icons { font-size: 28px; }
.dk-haupt-reihe { display: flex; align-items: stretch; }
.dk-haupt-reihe > .dk-plain { margin-left: 10px; flex: 0 0 auto; white-space: nowrap; }
.dk-abspielen { position: relative; overflow: hidden; }
.dk-abspielen-texte { display: flex; flex-direction: column; align-items: center; line-height: 1.2; min-width: 0; }
.dk-abspielen-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dk-abspielen-unter { margin-top: 2px; font-size: calc(12px * var(--fs, 1)); font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.85); white-space: nowrap; }
.dk-abspielen.dk-mit-unter { padding-top: 6px; padding-bottom: 6px; }
.dk-abspielen-balken { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.28); }
.dk-abspielen-balken i { display: block; height: 100%; background: #fff; }
.dk-abspielen:hover, html[data-eingabe="taste"] .dk-abspielen:focus { border-color: #fff; transform: scale(1.03); outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-abspielen:focus-visible { border-color: #fff; transform: scale(1.03); outline: none; }
.dk-abspielen:active { opacity: .85; }
.dk-neben { display: flex; flex-wrap: wrap; gap: 10px; }
.dk-neben[hidden] { display: none; }
.dk-plain {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: 0; border-radius: 14px;
    background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: calc(15px * var(--fs, 1)); font-weight: 600; cursor: pointer;
}
.dk-plain .material-icons { font-size: 20px; }
.dk-plain:hover, html[data-eingabe="taste"] .dk-plain:focus { background: #fff; color: #111114; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-plain:focus-visible { background: #fff; color: #111114; outline: none; }
/* Runde Aktionen: eine Reihe; passen sie nicht nebeneinander, zwei (App v5.4.1-beta30, detail.js aktionenVerteilen) -
   jede Reihe scrollt notfalls seitlich statt umzubrechen */
.dk-aktionen { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; align-self: stretch; max-width: 100%; padding: 4px 0; }
/* Fernseher/breit (App v5.5.1-beta7): eine Reihe unter Cover und Laendern, der erste Kreis buendig mit dem Cover;
   "Fehler melden" als kleine Pille rechts auf Hoehe des Titels */
.dk-aktionen.dk-aktionen-breit { margin: 14px 0 12px; padding: 4px 0; }
.dk-aktionen-breit .dk-aktionen-reihe { margin-left: -12px; padding-left: 0; gap: 6px; }
/* Passt die Reihe in die rechte Spalte (App v5.5.1-beta15): direkt unter Abspielen/Von vorne, Kreise buendig mit
   "Weiterschauen" - der Rand um den Kreis ragt links und rechts ueber die Spalte; eng wie am Handy (72 px, Abstand 2 px) */
.dk-info.dk-mit-rund-rechts > .dk-haupt { margin-top: 14px; }
.dk-aktionen.dk-aktionen-rechts { margin: 8px 0 0; padding: 4px 0; }
.dk-aktionen-rechts .dk-aktionen-reihe { margin-right: -12px; max-width: none; }
.dk-aktionen-eng .dk-aktionen-reihe { margin-left: -11px; margin-right: -11px; gap: 2px; }
.dk-aktionen-eng .dk-rund { width: 72px; }
.dk-aktionen-eng .dk-rund-kreis { width: 50px; height: 50px; }
.detail-info-spalte { position: relative; }
.dk-melden-pille {
    position: absolute; top: 12px; right: 0; display: none; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 11px;
    border-radius: 17px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
    font: inherit; font-size: calc(13px * var(--fs, 1)); cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
}
.dk-melden-pille .material-icons { font-size: 17px; }
.dk-info.dk-mit-melden-pille > .dk-melden-pille { display: inline-flex; }
.dk-info.dk-mit-melden-pille > .dk-titel { padding-right: 170px; }
html[data-eingabe="taste"] .dk-melden-pille:focus { background: #fff; border-color: #fff; color: #111114; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-melden-pille:focus-visible { background: #fff; border-color: #fff; color: #111114; }
@media (hover: hover) { .dk-melden-pille:hover { background: rgba(255,255,255,.16); color: #fff; } }
.dk-aktionen-reihe { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dk-aktionen-reihe::-webkit-scrollbar { display: none; }
.dk-rund {
    flex: 0 0 auto; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 6px 0; border: 0; border-radius: 16px; background: none; color: #fff; font: inherit; cursor: pointer; outline: none;
}
.dk-rund-kreis {
    width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s ease, background-color .15s ease;
}
.dk-rund-kreis .material-icons { font-size: 24px; color: #fff; }
.dk-rund-text { font-size: calc(12px * var(--fs, 1)); color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dk-rund:hover .dk-rund-kreis, html[data-eingabe="taste"] .dk-rund:focus .dk-rund-kreis, .dk-rund:active .dk-rund-kreis { background: #fff; transform: scale(1.08); }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-rund:focus-visible .dk-rund-kreis { background: #fff; transform: scale(1.08); }
.dk-rund:hover .dk-rund-kreis .material-icons, html[data-eingabe="taste"] .dk-rund:focus .dk-rund-kreis .material-icons, .dk-rund:active .dk-rund-kreis .material-icons { color: #111114; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-rund:focus-visible .dk-rund-kreis .material-icons { color: #111114; }
.dk-rund:hover .dk-rund-text, html[data-eingabe="taste"] .dk-rund:focus .dk-rund-text { color: #fff; font-weight: 600; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .dk-rund:focus-visible .dk-rund-text { color: #fff; font-weight: 600; }
/* Aktiv eingefärbt: Favorit rot, Gesehen grün (Symbol bleibt farbig, Ring nur ohne Fokus) */
.dk-rund.dk-rund-rot .dk-rund-kreis { box-shadow: inset 0 0 0 1.5px var(--rot); }
.dk-rund.dk-rund-gruen .dk-rund-kreis { box-shadow: inset 0 0 0 1.5px rgba(61,220,132,.7); }
.dk-rund.dk-rund-rot .dk-rund-kreis .material-icons { color: var(--rot) !important; }
.dk-rund.dk-rund-gruen .dk-rund-kreis .material-icons { color: #3ddc84 !important; }
.dk-rund:disabled { opacity: .7; cursor: default; }
/* "Bewerten" (App v5.4.1-beta26): Schnitt "★ 4,5 (3)" bzw. "💬 2" unter der Beschriftung */
.dk-rund-unter { margin-top: -5px; font-size: calc(11px * var(--fs, 1)); color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* Weicher Titelwechsel ("Zufall") */
.detail-inhalt > .dk-weg { opacity: 0; transition: opacity .13s ease; }
.detail-inhalt > .dk-neu { opacity: 0; }
.detail-inhalt > .dk-neu.dk-neu-ein { opacity: 1; transition: opacity .3s ease .06s, transform .3s ease .06s; }
.detail-hintergrund { transition: opacity .5s ease; }
/* Hintergrund und Cover blenden in 300 ms ein, sobald das Bild da ist (App v5.5.1-beta23, detail.js) */
.detail-hintergrund-bild, .dk-poster img { transition: opacity .3s ease; }
.detail-hintergrund-bild.dk-bild-wartet, .dk-poster img.dk-bild-wartet { opacity: 0; }
.detail-hintergrund.dk-hg-ein, .detail-hintergrund.dk-hg-weg { opacity: 0; }
/* Trailer ueber dem Fanart (beta39/40) - seit beta59 ausserhalb der Handy-Media-Query, weil er am Handy im
   Querformat (breiter als 640px) bildschirmfuellend weiterlaeuft (.dk-trailer-vollbild) */
.dk-held-trailer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; opacity: 0; transition: opacity .35s ease; }
.dk-held.dk-trailer-an .dk-held-trailer { opacity: 1; }
.dk-held.dk-trailer-laeuft .dk-held-links, .dk-held.dk-trailer-laeuft .dk-held-rechts, .dk-held.dk-trailer-laeuft .dk-held-text { opacity: 0; transition: opacity .25s ease; }
/* Eigene Trailer-Bedienung (beta40): liegt ueber dem Video, erst nach einem Tippen sichtbar */
.dk-tb { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; -webkit-tap-highlight-color: transparent; }
.dk-tb::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.dk-tb > * { opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.dk-tb.dk-tb-sichtbar::before, .dk-tb.dk-tb-sichtbar > * { opacity: 1; pointer-events: auto; }
.dk-tb-knopf { display: flex; align-items: center; justify-content: center; border: 0; padding: 0; color: #fff; background: rgba(0,0,0,.45); border-radius: 50%; cursor: pointer; }
.dk-tb-zu { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; }
.dk-tb-zu .material-icons { font-size: 22px; }
.dk-tb-mitte { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(0,0,0,.5); }
.dk-tb-mitte .material-icons { font-size: 38px; }
.dk-tb-unten { position: absolute; left: 12px; right: 8px; bottom: 6px; display: flex; align-items: center; gap: 10px; }
.dk-tb-zeit { color: #fff; font-size: calc(12px * var(--fs, 1)); font-variant-numeric: tabular-nums; text-shadow: 0 0 6px rgba(0,0,0,.8); min-width: 32px; }
.dk-tb-dauer { text-align: right; }
.dk-tb-balken { position: relative; flex: 1; height: 22px; cursor: pointer; }
.dk-tb-balken::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255,255,255,.35); border-radius: 2px; }
.dk-tb-fort { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; width: 0; background: var(--rot, #e50914); border-radius: 2px; }
.dk-tb-ton { width: 34px; height: 34px; background: transparent; }
.dk-tb-ton .material-icons { font-size: 22px; }
/* Querformat am Handy (beta59, Nutzerwunsch): das Fanart mit dem laufenden Trailer fuellt den Bildschirm - dasselbe
   iframe, kein Neustart. Kopfzeile und Leisten treten zurueck (.detail-inhalt hat einen eigenen Stapelkontext). */
.dk-held.dk-trailer-vollbild {
    display: block !important; position: fixed !important; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3000; margin: 0 !important; background: #000; overflow: hidden;
}
.dk-held.dk-trailer-vollbild::before, .dk-held.dk-trailer-vollbild::after { content: none; }
.dk-held.dk-trailer-vollbild > img, .dk-held.dk-trailer-vollbild .dk-held-links,
.dk-held.dk-trailer-vollbild .dk-held-rechts, .dk-held.dk-trailer-vollbild .dk-held-text { display: none; }
.dk-trailer-vollbild .dk-tb-zu { top: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; right: calc(10px + env(safe-area-inset-right, 0px)); }
.dk-trailer-vollbild .dk-tb-unten {
    left: 12px; left: calc(12px + env(safe-area-inset-left, 0px)); right: 8px; right: calc(8px + env(safe-area-inset-right, 0px));
    bottom: 6px; bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
body.dk-trailer-vollbild-an { overflow: hidden; }
body.dk-trailer-vollbild-an .kopf, body.dk-trailer-vollbild-an .seitenleiste, body.dk-trailer-vollbild-an .untere-nav,
body.dk-trailer-vollbild-an .install-hinweis { visibility: hidden; }

@media (max-width: 640px) {
    .detail-inhalt .detail-hintergrund { display: none; }
    .dk-held { display: block; position: relative; margin: 0 -16px; overflow: hidden; }
    .dk-held::before { content: ''; display: block; padding-top: 56.25%; }
    .dk-held img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
    .dk-held::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(0,0,0,.97) 100%); }
    .dk-held.dk-held-ohne::before { padding-top: 0; height: 150px; }
    .dk-held-links, .dk-held-rechts { position: absolute; top: 10px; display: flex; align-items: center; z-index: 1; }
    .dk-held-links { left: 10px; }
    .dk-held-rechts { right: 10px; }
    .dk-held-links > * + *, .dk-held-rechts > * + * { margin-left: 6px; }
    .dk-held-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; text-align: center; z-index: 1; }
    .dk-held-titel { margin: 0; color: #fff; font-size: calc(26px * var(--fs, 1)); line-height: 1.18; font-weight: 700; text-shadow: 0 0 12px rgba(0,0,0,.7); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
    .dk-held-titel.dk-titel-mittel { font-size: calc(23px * var(--fs, 1)); }
    .dk-held-titel.dk-titel-lang { font-size: calc(20px * var(--fs, 1)); }
    .dk-held-genres { margin: 4px 0 0; color: rgba(255,255,255,.85); font-size: calc(13px * var(--fs, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 12px rgba(0,0,0,.7); }
    /* Trailer im Fanart (beta39): liegt genau darueber, blendet nach dem Laden weich ein */
    .dk-info > .dk-titel, .dk-info > .dk-genres, .dk-info > .dk-anbieter-zeile { display: none; }
    .dk-handy-nur.dk-infoleiste { display: flex !important; order: 1; align-self: stretch; margin-top: 8px; }
    .dk-handy-nur.dk-laender { display: -webkit-box !important; order: 2; align-self: stretch; margin-top: 9px; }
    .detail-rahmen.dk-rahmen { display: block; text-align: left; padding-top: 4px; }
    .dk-rahmen .detail-poster-spalte { display: none; }
    .dk-haupt { order: 3; align-self: stretch; align-items: stretch; margin-top: 16px; }
    .dk-beschreibung { order: 4; margin-top: 16px; max-width: none; }
    .dk-aktionen { order: 5; align-self: stretch; margin: 16px 0 0; padding: 4px 0; max-width: none; }
    /* Runde Knoepfe mittig (App v5.5.1-beta3) - safe center: passt eine Reihe nicht, scrollt sie wie bisher von links */
    .dk-aktionen-reihe { margin: 0 -10px; padding: 0 10px; gap: 2px; max-width: none; justify-content: safe center; }
    .dk-haupt-reihe { width: 100%; }
    .dk-abspielen { flex: 1 1 auto; width: auto; min-width: 0; }
    .dk-haupt-reihe.dk-mit-neben .dk-abspielen { padding-left: 14px; padding-right: 14px; font-size: calc(16px * var(--fs, 1)); letter-spacing: .5px; gap: 8px; }
    .dk-overview { font-size: calc(15px * var(--fs, 1)); line-height: 21px; -webkit-line-clamp: 4; }
    .dk-rund { width: 72px; }
    .dk-rund-kreis { width: 50px; height: 50px; }
}
@media (max-width: 400px) {
    /* Schmale Handys (390 px): "Von vorne" etwas enger, damit "WEITERSCHAUEN" ganz passt */
    .dk-haupt-reihe > .dk-plain { padding-left: 14px; padding-right: 14px; gap: 8px; }
}
@media (min-width: 2000px) {
    .detail-poster.dk-poster, .dk-rahmen .detail-poster-spalte { width: 380px; }
    .detail-info-spalte .dk-titel { font-size: calc(2.9rem * var(--fs, 1)); line-height: 1.15; }
}

/* ---------------------------------------------------------------------
   Rundgang "Neu in NOFLIX 2.0" (neu2.js, Nutzerwunsch 12.10.2026) - im Look der Kontextmenue-Fenster: dunkle Karte,
   links das Bild passend zum Geraet, rechts Titel, Text, Punkte und Weiter/Zurueck (hochkant untereinander).
   --------------------------------------------------------------------- */
body.neu2-offen { overflow: hidden; }
.neu2-buehne {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 285;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; /* Rueckfall ohne max()/env() (2.2.2-beta11, Pruefung 15.10.) */
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    box-sizing: border-box;
    background: rgba(0, 0, 0, .86);
    opacity: 0; transition: opacity .25s ease;
}
.neu2-buehne.neu2-sichtbar { opacity: 1; }
.neu2-karte {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: center;
    width: 100%; max-width: 1120px; /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */
    width: min(1120px, 100%); max-height: 100%; box-sizing: border-box; padding: 26px; overflow: hidden;
    background: rgba(18, 18, 22, .97); border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; color: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    touch-action: pan-y;   /* waagerecht wischt der Rundgang selbst (neu2.js) - sonst bricht der Browser die Geste ab */
}
.neu2-bild { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; min-width: 0; min-height: 0; }
.neu2-bild img {
    display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;
    border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); background: #0b0b0f;
}
.neu2-bild.neu2-fehlt img { visibility: hidden; }
/* Rundgang ohne Bilder (NOFLIX 2.4, 2.3.2-beta18): grosses Symbol in einer Flaeche mit Farbverlauf der Akzentfarbe */
.neu2-bild.neu2-symbol {
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .10), transparent 60%), linear-gradient(135deg, var(--rot), #1a0508 85%);
}
.neu2-bild.neu2-symbol img { display: none; }
.neu2-symbol-zeichen { font-size: 140px; color: #fff; text-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.neu2-karte.neu2-von-rechts .neu2-symbol-zeichen { animation: neu2-rein-rechts .3s ease; }
.neu2-karte.neu2-von-links .neu2-symbol-zeichen { animation: neu2-rein-links .3s ease; }
.neu2-buehne[data-geraet="handy"] .neu2-bild.neu2-symbol { height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .neu2-symbol-zeichen { font-size: 96px; } }
.neu2-seite { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.neu2-kopf { display: flex; align-items: center; gap: 12px; }
.neu2-marke { color: var(--rot); font-weight: 700; font-size: calc(13px * var(--fs, 1)); letter-spacing: .05em; text-transform: uppercase; }
.neu2-zaehler { margin-left: auto; color: rgba(255, 255, 255, .55); font-size: calc(13px * var(--fs, 1)); font-variant-numeric: tabular-nums; }
.neu2-zu {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff;
}
.neu2-zu:hover, html[data-eingabe="taste"] .neu2-zu:focus { background: #fff; color: #111114; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .neu2-zu:focus-visible { background: #fff; color: #111114; outline: none; }
.neu2-titel { margin: 4px 0 0; font-size: calc(28px * var(--fs, 1)); line-height: 1.15; color: #fff; }
.neu2-text { margin: 0; color: rgba(255, 255, 255, .78); font-size: calc(16px * var(--fs, 1)); line-height: 1.5; }
.neu2-punkte { display: flex; gap: 8px; margin-top: 4px; }
.neu2-punkte i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .22); transition: width .25s ease, background .25s ease; }
.neu2-punkte i.an { width: 24px; background: var(--rot); }
.neu2-knoepfe { display: flex; gap: 12px; margin-top: 6px; }
.neu2-knoepfe button {
    flex: 1 1 0; border: 0; border-radius: 12px; padding: 13px 18px; cursor: pointer;
    font: inherit; font-weight: 700; font-size: calc(15px * var(--fs, 1));
}
.neu2-zurueck { background: rgba(255, 255, 255, .08); color: #fff; }
.neu2-zurueck:hover, html[data-eingabe="taste"] .neu2-zurueck:focus { background: #fff; color: #111114; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .neu2-zurueck:focus-visible { background: #fff; color: #111114; outline: none; }
.neu2-weiter { background: var(--rot); color: #fff; }
.neu2-weiter:hover { filter: brightness(1.1); }
html[data-eingabe="taste"] .neu2-weiter:focus { box-shadow: 0 0 0 3px rgba(18, 18, 22, .97), 0 0 0 6px #fff; outline: none; }
/* getrennt (2.2.2-beta11, Pruefung 15.10.) */ .neu2-weiter:focus-visible { box-shadow: 0 0 0 3px rgba(18, 18, 22, .97), 0 0 0 6px #fff; outline: none; }
.neu2-karte.neu2-von-rechts .neu2-bild img, .neu2-karte.neu2-von-rechts .neu2-titel, .neu2-karte.neu2-von-rechts .neu2-text { animation: neu2-rein-rechts .3s ease; }
.neu2-karte.neu2-von-links .neu2-bild img, .neu2-karte.neu2-von-links .neu2-titel, .neu2-karte.neu2-von-links .neu2-text { animation: neu2-rein-links .3s ease; }
@keyframes neu2-rein-rechts { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes neu2-rein-links { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
html.keine-animation .neu2-karte *, html.keine-animation .neu2-buehne { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .neu2-karte * { animation: none !important; } }
/* Hochkant bzw. schmal (iPad hochkant): Bild oben, Text darunter */
@media (orientation: portrait), (max-width: 760px) {
    .neu2-karte { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px; width: 100%; /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */ width: min(760px, 100%); }
}
/* Handy: Bildschirmfoto hochkant - hochkant nimmt es den Platz ueber dem Text, quer steht es links neben dem Text */
.neu2-buehne[data-geraet="handy"] .neu2-karte { height: 100%; }
.neu2-buehne[data-geraet="handy"] .neu2-bild { aspect-ratio: auto; height: 100%; }
.neu2-buehne[data-geraet="handy"] .neu2-bild img { border-radius: 18px; }
@media (orientation: portrait) {
    .neu2-buehne[data-geraet="handy"] .neu2-karte { width: 100%; /* Rueckfall ohne min() (2.2.2-beta11, Pruefung 15.10.) */ width: min(480px, 100%); grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding: 16px; align-items: stretch; }
    .neu2-buehne[data-geraet="handy"] .neu2-titel { font-size: calc(22px * var(--fs, 1)); margin: 0; }
    .neu2-buehne[data-geraet="handy"] .neu2-text { font-size: calc(15px * var(--fs, 1)); line-height: 1.45; }
    .neu2-buehne[data-geraet="handy"] .neu2-seite { gap: 10px; }
}
@media (orientation: landscape) {
    .neu2-buehne[data-geraet="handy"] .neu2-karte { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 20px; }
    .neu2-buehne[data-geraet="handy"] .neu2-titel { font-size: calc(20px * var(--fs, 1)); }
    .neu2-buehne[data-geraet="handy"] .neu2-text { font-size: calc(14px * var(--fs, 1)); }
}
/* Niedrige Fenster (Fernseher 540 px, Handy quer): etwas kompakter */
@media (max-height: 560px) {
    .neu2-karte { padding: 20px; gap: 22px; }
    .neu2-titel { font-size: calc(24px * var(--fs, 1)); }
    .neu2-text { font-size: calc(15px * var(--fs, 1)); line-height: 1.45; }
    .neu2-seite { gap: 10px; }
    .neu2-knoepfe button { padding: 11px 16px; }
}

/* Downloads (2.3.2-beta1): Zustand an Folgen und am runden Knopf der Detailseite */
.episode-dl { color: var(--text-dim); font-size: calc(18px * var(--fs, 1)); margin-left: 4px; }
.episode-dl.episode-dl-fertig { color: #3ddc84; }
.dk-rund.dk-rund-laedt .dk-rund-kreis .material-icons { color: #fff; }
/* Fortschrittsring (2.3.2-beta2): ueber eine Variable, damit Fokus/Hover den Kreis weiterhin weiss faerben */
.dk-rund.dk-rund-laedt .dk-rund-kreis { background: conic-gradient(var(--rot) var(--dl-proz, 0%), rgba(255,255,255,.12) 0); }
.dk-rund.dk-rund-laedt:hover .dk-rund-kreis, html[data-eingabe="taste"] .dk-rund.dk-rund-laedt:focus .dk-rund-kreis { background: #fff; box-shadow: 0 0 0 3px var(--rot); }
.dk-rund.dk-rund-laedt:focus-visible .dk-rund-kreis { background: #fff; box-shadow: 0 0 0 3px var(--rot); }
.dk-rund.dk-rund-laedt:hover .dk-rund-kreis .material-icons, html[data-eingabe="taste"] .dk-rund.dk-rund-laedt:focus .dk-rund-kreis .material-icons { color: #111114 !important; }
.dl-kopf { position: relative; }
.dl-kopf .material-icons { color: var(--rot); }
.dl-kopf .dl-kopf-zahl { min-width: 16px; text-align: center; }
.fk-dl { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 20px; padding: 3px; border-radius: 50%; background: rgba(0,0,0,.6); margin: 0; }
.folgen-kachel.gesehen .fk-dl { left: 36px; }

/* Taeglicher NAS-Neustart (2.3.2-beta10): Hinweis oben in der Mitte, auch im Vollbild-Player (gemeinsam.js nasHinweis) */
.oben-hinweise {
    position: fixed; top: 14px; left: 16px; right: 16px; z-index: 2147483400; pointer-events: none;
    display: flex; flex-direction: column; align-items: center;
}
@supports (top: env(safe-area-inset-top)) { .oben-hinweise { top: calc(14px + env(safe-area-inset-top)); } }
.oben-hinweise > * { pointer-events: auto; }
.oben-hinweise > * + * { margin-top: 10px; }
.nas-hinweis, .update-hinweis {
    max-width: 100%; box-sizing: border-box;
    display: flex; align-items: center;
    padding: 10px 16px; border-radius: 14px; cursor: pointer;
    background: rgba(20,20,26,.94); color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.14); font-size: calc(14px * var(--fs, 1)); line-height: 1.35;
}
.nas-hinweis .material-icons { font-size: 22px; flex: none; margin-right: 10px; color: #ffb000; }   /* margin statt gap: flex-gap erst ab Chromium 84 (Tizen) */
.nas-hinweis[data-art="neustart"] .material-icons { color: var(--rot, #e50914); animation: nas-drehen 1.6s linear infinite; }
.nas-hinweis[data-art="fertig"] .material-icons { color: #2ecc71; }
.nas-hinweis-text { min-width: 0; }
@media (min-width: 700px) { .nas-hinweis { max-width: 640px; } }
html.tv-geraet .oben-hinweise { top: 22px; }
html.tv-geraet .nas-hinweis, html.tv-geraet .update-hinweis { max-width: 1100px; font-size: calc(18px * var(--fs, 1)); padding: 14px 22px; }
html.tv-geraet .nas-hinweis .material-icons { font-size: 28px; }
@keyframes nas-drehen { to { transform: rotate(-360deg); } }
html.keine-animation .nas-hinweis .material-icons { animation: none !important; }
/* "Neue Version verfügbar" (2.3.2-beta12, gemeinsam.js updateHinweis) - gleiche Karte wie der NAS-Hinweis */
.update-hinweis { cursor: default; padding: 8px 8px 8px 16px; }
.update-hinweis > .material-icons { font-size: 22px; flex: none; margin-right: 10px; color: var(--rot, #e50914); }
.update-hinweis-text { min-width: 0; margin-right: 14px; font-weight: 600; }
.update-laden {
    flex: none; border: 0; border-radius: 10px; padding: 8px 14px; cursor: pointer;
    background: var(--rot, #e50914); color: #fff; font: inherit; font-weight: 700;
}
.update-spaeter {
    flex: none; margin-left: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
    background: transparent; color: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center;
}
.update-spaeter .material-icons { font-size: 20px; }
.update-laden:hover, .update-laden:focus { outline: 0; box-shadow: 0 0 0 3px #fff; }
.update-spaeter:hover, .update-spaeter:focus { outline: 0; background: rgba(255,255,255,.16); color: #fff; }
html.tv-geraet .update-laden { padding: 10px 18px; }
html.tv-geraet .update-spaeter { width: 44px; height: 44px; }

/* Gesehen (2.3.2-beta22): gruener Rahmen ums Cover und Haken in der Mitte statt durchgehendem Balken */
.karte.karte-gesehen { border-color: #2ecc71; box-shadow: 0 0 0 1px #2ecc71; }
.karte.karte-gesehen:focus, .karte.karte-gesehen.fokus { border-color: var(--rot); box-shadow: 0 0 0 2px var(--rot); }
.karte.karte-gesehen:focus:not(:focus-visible) { border-color: #2ecc71; box-shadow: 0 0 0 1px #2ecc71; }
.karte.karte-gesehen > img { opacity: .8; }
.karte-haken {
    position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; z-index: 2; pointer-events: none;
    border-radius: 50%; background: rgba(46, 204, 113, .92); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
.karte-haken .material-icons { font-size: 30px; font-weight: 700; }
.karte.karte-breit .karte-haken { width: 40px; height: 40px; margin: -20px 0 0 -20px; }

/* Scrollleiste der Seite immer ausgeblendet (2.3.2-beta23, Nutzerwunsch) - scrollen geht weiter (Rad, Wischen, Tasten) */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* "Übergänge aus" / reduzierte Bewegung (2.3.2-beta26, Pruefung): auch Kartenbaender springen statt zu gleiten */
html.keine-animation .karten-band, html.keine-animation .besetzung-band { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { .karten-band, .besetzung-band { scroll-behavior: auto !important; } }
