/* ============================================================
   CINESPASTEN — Oberfläche
   emefka-CI (Space Grotesk + Inter, Signalrot) im Kino-Look:
   Samtvorhang-Schwarz, Scheinwerfer, Glühbirnen-Leiste,
   Ticket-Karten mit Abriss, Plakate, Filmstreifen, Goldakzent.
   ============================================================ */

@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk-var-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-var-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0708; --bg2: #140b0c;
  --panel: rgba(255, 244, 236, 0.05); --panel-stark: rgba(255, 244, 236, 0.09);
  --rand: rgba(255, 236, 220, 0.11);
  --text: #f6f1ea; --muted: #a79d97; --leise: #756c68;
  --rot: #e63329; --rot-dunkel: #a3161a; --rot-glow: rgba(230, 51, 41, .45);
  --gold: #f5c451; --gold-dunkel: #b8862a;
  --gruen: #38d39f; --gelb: #f5b82e; --warn: #ff8b82;
  --radius: 18px; --radius-klein: 12px;
  --display: 'Space Grotesk', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --oben: env(safe-area-inset-top, 0px); --unten: env(safe-area-inset-bottom, 0px);
  --tabbar: calc(66px + max(var(--unten), 14px) + 8px);
  --vorhang: radial-gradient(110% 38% at 50% 24%, rgba(150,25,30,.30), transparent 72%);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4efe8; --bg2: #ebe3d8; --panel: rgba(30, 10, 10, .045); --panel-stark: rgba(30, 10, 10, .08); --rand: rgba(30, 10, 10, .13);
  --text: #1a1112; --muted: #6a5d5a; --leise: #8f827e; --gold: #b8862a; --gold-dunkel: #8a6118; --warn: #c1281f;
  --vorhang: radial-gradient(110% 38% at 50% 24%, rgba(190,60,50,.14), transparent 72%); color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.45; }
body { overflow: hidden; overscroll-behavior: none; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- Bühne: Vorhang, Scheinwerfer, Korn ---------- */
.buehne { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--vorhang), var(--bg); }
.buehne .strahl { position: absolute; top: -10vh; width: 60vmax; height: 120vh; transform-origin: 50% 0; opacity: .5; filter: blur(6px);
  background: conic-gradient(from 168deg at 50% 0%, transparent 0deg, rgba(255,214,150,.20) 12deg, transparent 24deg); }
.buehne .strahl:nth-child(1) { left: -22vmax; animation: schwenk 14s ease-in-out infinite alternate; }
.buehne .strahl:nth-child(2) { right: -22vmax; transform: scaleX(-1); animation: schwenk2 17s ease-in-out infinite alternate; }
:root[data-theme="light"] .buehne .strahl { opacity: .18; }
.buehne::after { content: ''; position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.buehne .vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.55)); }
:root[data-theme="light"] .buehne .vignette { background: none; }
@keyframes schwenk { to { transform: rotate(9deg); } }
@keyframes schwenk2 { from { transform: scaleX(-1) rotate(0); } to { transform: scaleX(-1) rotate(9deg); } }

/* ---------- Wortmarke + Glühbirnenleiste ---------- */
.marke { font-family: var(--display); font-weight: 700; letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: 0; text-decoration: none; text-transform: uppercase; }
.marke b { color: var(--rot); }
.marke .punkt { color: var(--gold); }
.lichter { display: flex; justify-content: space-between; align-items: center; height: 12px; margin: 2px 18px; flex: none; }
.lichter i { display: block; width: 3px; height: 3px; border-radius: 50%; background: #ff4a3d; opacity: .16; box-shadow: 0 0 4px 1px rgba(255,70,55,.9); }

/* ---------- Grundlayout ---------- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.kopf { flex: none; padding: calc(var(--oben) + 10px) 18px 6px; display: flex; align-items: center; justify-content: space-between; }
.kopf .marke { font-size: 22px; }
.kopf-knoepfe { display: flex; gap: 8px; }
.rund { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--rand); cursor: pointer; }
.rund svg { width: 20px; height: 20px; }
.inhalt { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px calc(var(--tabbar) + 22px); scroll-behavior: smooth; }
.spalte { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
svg.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.leise { color: var(--muted); } .klein { font-size: 13.5px; } .mini { font-size: 12px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }
h1 { font-size: 30px; line-height: 1.1; } h2 { font-size: 22px; } h3 { font-size: 17px; }
.kicker { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; }
.kicker::before, .kicker::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-dunkel)); }
.kicker::before { max-width: 26px; } .kicker::after { background: linear-gradient(90deg, var(--gold-dunkel), transparent); }
.abschnitt { display: grid; gap: 12px; }

/* ---------- Tabbar ---------- */
.tabbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, calc(var(--unten) - 12px)); height: 64px; padding: 6px 8px; display: flex; z-index: 20; border-radius: 32px; background: rgba(28,14,15,.72); border: 1px solid rgba(255,236,220,.16); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 12px 34px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); }
:root[data-theme="light"] .tabbar { background: rgba(255,255,255,.78); box-shadow: 0 12px 30px rgba(60,20,20,.22), inset 0 1px 0 rgba(255,255,255,.9); }
.tab { flex: 1; background: none; border: 0; display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--leise); cursor: pointer; position: relative; }
.tab svg { width: 23px; height: 23px; }
.tab.aktiv { color: var(--gold); }
.tab.aktiv::before { content: ''; position: absolute; top: -3px; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.tab .zahl { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--rot); color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 4px; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rand); background: var(--panel-stark); font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf:active { transform: scale(.97); }
.knopf.rot { background: linear-gradient(180deg, #f0453a, var(--rot-dunkel)); border-color: transparent; color: #fff; box-shadow: 0 6px 22px var(--rot-glow); }
.knopf.gold { background: linear-gradient(180deg, #f8d572, var(--gold-dunkel)); border-color: transparent; color: #241705; }
.knopf.klein { min-height: 36px; padding: 0 14px; font-size: 14px; }
.knopf.gross { min-height: 52px; width: 100%; font-size: 17px; }
.knopf[disabled] { opacity: .5; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Karten, Ticket ---------- */
.karte { background: linear-gradient(180deg, rgba(255,244,236,.07), rgba(255,244,236,.025)); border: 1px solid var(--rand); border-radius: var(--radius); padding: 16px; }
.ticket { position: relative; display: grid; grid-template-columns: 92px 1fr; border-radius: var(--radius); cursor: pointer; text-align: left; width: 100%; padding: 0; color: inherit; overflow: visible;
  background: linear-gradient(135deg, rgba(255,240,226,.10), rgba(255,240,226,.035)); border: 1px solid var(--rand);
  --kerbe: 11px;
  -webkit-mask: radial-gradient(circle var(--kerbe) at 92px 0, transparent 98%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle var(--kerbe) at 92px 100%, transparent 98%, #000 100%) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--kerbe) at 92px 0, transparent 98%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle var(--kerbe) at 92px 100%, transparent 98%, #000 100%) bottom / 100% 51% no-repeat; }
.ticket .stub { position: relative; padding: 10px 6px; display: grid; place-items: center; text-align: center; border-right: 2px dashed rgba(245,196,81,.35); background: linear-gradient(180deg, rgba(230,51,41,.30), rgba(230,51,41,.10)); border-radius: var(--radius) 0 0 var(--radius); overflow: hidden; }
.ticket .stub.mitposter { padding: 0; }
.ticket .stub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ticket .stub .datum { position: relative; z-index: 1; }
.ticket .stub.mitposter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
.ticket .stub.mitposter .datum { position: absolute; bottom: 6px; left: 0; right: 0; z-index: 2; }
.datum b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.datum span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.ticket .rumpf { padding: 12px 14px; min-width: 0; display: grid; gap: 5px; align-content: center; }
.ticket .rumpf h3 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket.abgesagt { opacity: .55; } .ticket.abgesagt h3 { text-decoration: line-through; }
.zeile { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.marker { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; background: var(--panel-stark); border: 1px solid var(--rand); }
.marker.rot { background: rgba(230,51,41,.2); border-color: rgba(230,51,41,.5); color: #ff9a92; }
.marker.gold { background: rgba(245,196,81,.15); border-color: rgba(245,196,81,.45); color: var(--gold); }
.marker.gruen { background: rgba(56,211,159,.14); border-color: rgba(56,211,159,.4); color: var(--gruen); }

/* ---------- Held (nächster Termin) mit Filmstreifen ---------- */
.held { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--rand); background: #150a0b; isolation: isolate; }
.held .hg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 25%; filter: saturate(1.15); }
.held::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,7,8,.25), rgba(11,7,8,.92) 70%), radial-gradient(90% 70% at 20% 0%, rgba(230,51,41,.35), transparent); }
.held .streifen { height: 18px; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.75) 9px 19px, transparent 19px 26px) center / 100% 8px no-repeat; opacity: .55; margin: 4px 0; }
.held .innen { padding: 8px 18px 18px; display: grid; gap: 10px; }
.held .zaehler { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.held .zaehler small { font-size: 15px; font-weight: 600; color: var(--gold); margin-left: 6px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Plakate ---------- */
.plakate { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.plakat { position: relative; border-radius: 14px; overflow: hidden; background: #1a0f10; border: 1px solid var(--rand); display: grid; cursor: pointer; text-align: left; padding: 0; color: inherit; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.plakat img.bild { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.plakat .fuss { padding: 9px 10px 11px; display: grid; gap: 4px; }
.plakat .fuss b { font-family: var(--display); font-size: 14.5px; line-height: 1.2; }
.plakat .datumplakette { position: absolute; top: 8px; left: 8px; background: rgba(11,7,8,.82); border: 1px solid rgba(245,196,81,.5); color: var(--gold); border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.plakat .note { position: absolute; top: 8px; right: 8px; background: rgba(11,7,8,.82); border-radius: 8px; padding: 3px 7px; font-size: 12px; font-weight: 700; }
.plakat .mikro { position: absolute; bottom: 62px; right: 8px; }
.ohneposter { aspect-ratio: 2/3; display: grid; place-items: center; background: linear-gradient(160deg, #3a0d0f, #150a0b); font-family: var(--display); font-size: 16px; text-align: center; padding: 12px; color: var(--gold); }

/* ---------- Abstimmung ---------- */
.umfrage { display: grid; gap: 12px; }
.umfrage .kopfzeile { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; }
.umfrage .mini-poster { width: 58px; aspect-ratio: 2/3; border-radius: 8px; object-fit: cover; background: #2a0d0f; }
.option { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-klein); background: var(--panel); border: 1px solid var(--rand); position: relative; overflow: hidden; }
.option.fuehrend { border-color: rgba(245,196,81,.6); box-shadow: 0 0 0 1px rgba(245,196,81,.25), 0 8px 26px rgba(245,196,81,.10); }
.option .balken { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(56,211,159,.16), transparent); z-index: 0; }
.option > * { position: relative; z-index: 1; }
.option .oben { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.option .oben b { font-family: var(--display); font-size: 16px; }
.stimmen { display: flex; gap: 8px; }
.stimme { flex: 1; min-height: 42px; border-radius: 12px; border: 1px solid var(--rand); background: var(--panel); display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 14px; cursor: pointer; }
.stimme svg { width: 18px; height: 18px; }
.stimme.ja.an { background: rgba(56,211,159,.2); border-color: var(--gruen); color: var(--gruen); }
.stimme.vielleicht.an { background: rgba(245,184,46,.2); border-color: var(--gelb); color: var(--gelb); }
.stimme.nein.an { background: rgba(230,51,41,.2); border-color: var(--rot); color: var(--warn); }
.avas { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.ava { --f: #888; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #111; background: var(--f); overflow: hidden; flex: none; border: 2px solid var(--bg); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava.gross { width: 46px; height: 46px; font-size: 16px; }
.ava.vielleicht { opacity: .6; } .ava.nein { opacity: .35; filter: grayscale(1); }

/* ---------- Podcast ---------- */
.folge { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.folge .cover { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #2a0d0f; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.folge h3 { font-size: 16px; }
.folge audio { width: 100%; height: 38px; margin-top: 8px; }
.wellen { display: inline-flex; gap: 2px; align-items: end; height: 14px; }
.wellen i { width: 3px; background: var(--gold); border-radius: 2px; animation: welle 1s ease-in-out infinite; }
.wellen i:nth-child(1) { height: 6px; } .wellen i:nth-child(2) { height: 13px; animation-delay: .2s; } .wellen i:nth-child(3) { height: 9px; animation-delay: .4s; }
@keyframes welle { 50% { transform: scaleY(.4); } }

/* ---------- Sheet ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: ein .2s; }
.sheet { width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #221012, #120809); border: 1px solid var(--rand); border-bottom: 0; padding: 8px 18px calc(var(--unten) + 24px); animation: hoch .28s cubic-bezier(.2,.8,.2,1); }
:root[data-theme="light"] .sheet { background: #f8f3ec; }
.sheet .griff { width: 44px; height: 5px; border-radius: 3px; background: var(--rand); margin: 6px auto 14px; }
.sheet .zu { position: sticky; top: 0; float: right; z-index: 2; }
@keyframes ein { from { opacity: 0; } } @keyframes hoch { from { transform: translateY(40px); opacity: 0; } }
.sheet .poster-gross { width: 120px; float: left; margin: 0 14px 8px 0; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.sheet .stapel { display: grid; gap: 14px; clear: both; }
.infozeile { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.infozeile svg { margin-top: 3px; color: var(--gold); }

/* ---------- Formulare ---------- */
.feld { display: grid; gap: 6px; } .feld > span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--rand); background: var(--panel); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,196,81,.18); }
textarea { min-height: 84px; resize: vertical; }
select option { color: #111; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.treffer { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; max-height: 240px; overflow-y: auto; }
.treffer button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; overflow: hidden; }
.treffer button.an { border-color: var(--gold); }
.treffer img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.umschalter { display: flex; background: var(--panel); border: 1px solid var(--rand); border-radius: 999px; padding: 3px; }
.umschalter button { flex: 1; min-height: 38px; border: 0; border-radius: 999px; background: none; font-weight: 600; cursor: pointer; color: var(--muted); }
.umschalter button.an { background: var(--panel-stark); color: var(--text); box-shadow: inset 0 0 0 1px var(--rand); }
.optzeile { display: grid; gap: 8px; padding: 10px; border-radius: var(--radius-klein); background: var(--panel); border: 1px solid var(--rand); }
.ortreihe { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.ortfeld { display: grid; gap: 8px; min-width: 0; }
input[type="datetime-local"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; text-align: left; }
.optzeile > *, .zwei > * { min-width: 0; }
@media (max-width: 540px) { .zwei { grid-template-columns: 1fr; } }
.hilfe { color: var(--muted); font-size: 13.5px; }

/* ---------- Login / leer / toast ---------- */
.mitte { min-height: 100%; display: grid; place-items: center; padding: calc(var(--oben) + 24px) 20px 30px; }
.login { width: 100%; max-width: 400px; display: grid; gap: 16px; }
.login .marke { font-size: 32px; justify-content: center; }
.leer { text-align: center; padding: 30px 16px; color: var(--muted); display: grid; gap: 8px; justify-items: center; }
.leer .gross { font-size: 44px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 16px); transform: translateX(-50%); z-index: 60; background: #2a1f1f; border: 1px solid var(--gold-dunkel); color: #fff; padding: 12px 18px; border-radius: 14px; max-width: 90vw; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: hoch .25s; }
.toast.fehler { border-color: var(--rot); background: #3a1210; }
.lade { min-height: 100vh; display: grid; place-items: center; }
.banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(245,196,81,.10); border: 1px solid rgba(245,196,81,.35); }
.banner svg { color: var(--gold); width: 22px; height: 22px; }
.pillen { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pille { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rand); background: var(--panel); font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); }
.pille.an { background: var(--gold); color: #241705; border-color: transparent; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; } .tabelle td { padding: 8px 4px; border-bottom: 1px solid var(--rand); vertical-align: top; }
.auftritt { animation: auf .45s cubic-bezier(.2,.8,.2,1) both; } @keyframes auf { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 820px) { .inhalt { padding-bottom: 110px; } .tabbar { left: 50%; right: auto; width: 560px; transform: translateX(-50%); bottom: 18px; } }

/* ---------- Swipe-Stapel ---------- */
.deck { position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; align-items: center; padding: calc(var(--oben) + 10px) 16px calc(var(--unten) + 16px); background: radial-gradient(120% 70% at 50% 0%, #3a0d0f, var(--bg) 70%), var(--bg); animation: ein .2s; touch-action: none; overscroll-behavior: none; }
:root[data-theme="light"] .deck { background: radial-gradient(120% 70% at 50% 0%, #f0d9d3, var(--bg) 70%), var(--bg); }
.dkopf { width: 100%; max-width: 420px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dbuehne { position: relative; flex: 1; width: 100%; max-width: 380px; min-height: 0; margin: 4px 0; }
.dkarte { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #1a0f10; border: 1px solid rgba(255,236,220,.16); box-shadow: 0 18px 50px rgba(0,0,0,.55); user-select: none; -webkit-user-select: none; }
.dkarte.oben { cursor: grab; touch-action: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); z-index: 2; }
.dkarte.hinten { transform: scale(calc(.93 + .07 * (1 - var(--st)))) translateY(calc(14px * var(--st))); opacity: calc(.6 + .4 * (1 - var(--st))); z-index: 1; pointer-events: none; }
.dkarte img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.dkarte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(8,4,5,.94) 88%); pointer-events: none; }
.dinfo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px 18px; display: grid; gap: 8px; color: #fff; }
.dinfo h2 { font-size: 26px; line-height: 1.1; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.dinfo p { margin: 0; font-size: 13.5px; color: #e4dbd4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stempel { position: absolute; top: 28px; z-index: 3; padding: 4px 14px; border: 4px solid; border-radius: 10px; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: .06em; opacity: 0; pointer-events: none; background: rgba(0,0,0,.25); }
.stempel.ja { left: 20px; color: var(--gruen); border-color: var(--gruen); transform: rotate(-14deg); }
.stempel.nein { right: 20px; color: var(--rot); border-color: var(--rot); transform: rotate(14deg); }
.dhinweis { margin: 2px 0 6px; }
.dknoepfe { display: flex; align-items: center; justify-content: center; gap: 18px; }
.dknopf { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--panel-stark); border: 2px solid var(--rand); }
.dknopf svg { width: 30px; height: 30px; }
.dknopf.klein { width: 46px; height: 46px; } .dknopf.klein svg { width: 22px; height: 22px; }
.dknopf.ja { color: var(--gruen); border-color: var(--gruen); box-shadow: 0 0 22px rgba(56,211,159,.25); }
.dknopf.nein { color: var(--rot); border-color: var(--rot); box-shadow: 0 0 22px var(--rot-glow); }
.dknopf:active { transform: scale(.92); } .dknopf[disabled] { opacity: .3; }
.dfertig { flex: 1; display: grid; place-items: center; width: 100%; max-width: 380px; }

/* ---------- Trailer ---------- */
.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--rand); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-knopf { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; font-weight: 700; background: radial-gradient(90% 90% at 50% 40%, rgba(230,51,41,.35), transparent 70%), linear-gradient(160deg, #2a0d0f, #0b0708); }
.playrund { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #f0453a, var(--rot-dunkel)); box-shadow: 0 0 30px var(--rot-glow); }
.playrund svg { width: 28px; height: 28px; margin-left: 3px; }
.dtipp { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--gold); }

/* ---------- MUSS ICH REIN ---------- */
.knopf.muss { letter-spacing: .08em; font-family: var(--display); font-weight: 700; text-transform: uppercase; box-shadow: 0 0 26px rgba(245,196,81,.35); }
.knopf.muss svg { color: #7a1512; }
.dmuss { width: 100%; max-width: 380px; margin: 6px 0 4px; animation: schimmer 2.6s ease-in-out infinite; }
@keyframes schimmer { 50% { box-shadow: 0 0 34px rgba(245,196,81,.6); } }
.stempel.muss { left: 50%; top: 22px; right: auto; transform: translateX(-50%) rotate(-4deg); color: var(--gold); border-color: var(--gold); font-size: 24px; white-space: nowrap; }

/* ---------- Abgelehnte Filme (eingeklappt) ---------- */
details.abgelehnt { border: 1px solid var(--rand); border-radius: var(--radius); padding: 4px 14px 14px; background: var(--panel); }
details.abgelehnt summary { cursor: pointer; min-height: 46px; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); list-style: none; }
details.abgelehnt summary::-webkit-details-marker { display: none; }
details.abgelehnt summary::after { content: '▾'; margin-left: auto; transition: transform .2s; }
details.abgelehnt[open] summary::after { transform: rotate(180deg); }
details.abgelehnt .plakat { opacity: .6; filter: grayscale(.6); }

/* ---------- Spotlight: aktuelle Folge ---------- */
.spot { position: relative; isolation: isolate; text-align: center; padding: 0 12px 20px; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 60% at 50% 0%, #1d0a0c, #0a0506 70%); border: 1px solid var(--rand); }
:root[data-theme="light"] .spot { background: radial-gradient(120% 60% at 50% 0%, #4a1a1a, #1a0b0c 75%); color: #f6f1ea; }
.spot .lampe { position: relative; z-index: 3; width: 64px; height: 20px; margin: 0 auto; background: linear-gradient(180deg, #2a2a2e, #0c0c0e); border-radius: 0 0 14px 14px; box-shadow: 0 6px 24px 4px rgba(255,226,170,.55), inset 0 -3px 6px rgba(255,236,190,.6); }
.spot .kegel { position: absolute; z-index: 0; top: 14px; left: 50%; width: 130%; height: 78%; transform: translateX(-50%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,228,175,.42), rgba(255,228,175,.10) 60%, transparent); filter: blur(3px); animation: atmen 5s ease-in-out infinite; pointer-events: none; }
.spot .kegel.zwei { clip-path: polygon(48% 0, 52% 0, 78% 100%, 22% 100%); background: linear-gradient(180deg, rgba(255,240,205,.5), transparent 85%); animation-delay: -2.5s; }
@keyframes atmen { 50% { opacity: .7; } }
.spot-buehne { position: relative; z-index: 2; width: min(74%, 320px); margin: 26px auto 0; }
.spot-cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,236,200,.35);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 70px 6px rgba(255,214,150,.38), 0 30px 50px -10px rgba(0,0,0,.8); transform: perspective(900px) rotateX(2deg); }
.spot.spielt .spot-cover { animation: cover-puls 1.6s ease-in-out infinite; }
@keyframes cover-puls { 50% { box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 100px 14px rgba(255,214,150,.6), 0 30px 50px -10px rgba(0,0,0,.8); } }
.spot .boden { position: absolute; left: -22%; right: -22%; bottom: -30px; height: 60px; background: radial-gradient(ellipse at 50% 30%, rgba(255,224,170,.55), transparent 68%); z-index: -1; filter: blur(4px); }
.spot-text { position: relative; z-index: 2; display: grid; gap: 10px; justify-items: center; margin-top: 30px; padding: 0 6px; }
.spot-text h2 { font-size: 26px; line-height: 1.1; text-shadow: 0 2px 16px rgba(0,0,0,.7); color: #fff; }
.spot-text .zeile { color: #d9cfc8; }
.spot-text audio { width: 100%; height: 38px; }
.spot .abspiel { max-width: 340px; }
.spot-beschr { width: 100%; text-align: left; color: #d9cfc8; }

/* ---------- It's a Match ---------- */
.matchsplash { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: radial-gradient(90% 60% at 50% 30%, rgba(230,51,41,.55), rgba(8,4,5,.96) 70%); backdrop-filter: blur(8px); animation: ein .25s; overflow: hidden; }
.matchbox { position: relative; z-index: 2; width: 100%; max-width: 360px; display: grid; gap: 12px; justify-items: center; text-align: center; animation: platsch .55s cubic-bezier(.2,1.4,.3,1) both; }
.matchtitel { font-family: var(--display); font-weight: 700; font-size: 54px; line-height: .95; letter-spacing: .02em; color: var(--gold); text-shadow: 0 0 30px rgba(245,196,81,.75), 0 4px 0 #8a5a12; transform: rotate(-4deg); }
.matchbox img { width: 46%; border-radius: 14px; border: 2px solid var(--gold); box-shadow: 0 0 40px rgba(245,196,81,.5), 0 20px 40px rgba(0,0,0,.6); }
.matchbox h2 { font-size: 24px; color: #fff; }
.matchbox .knopf { max-width: 320px; }
@keyframes platsch { from { transform: scale(.5) rotate(-8deg); opacity: 0; } }
.konfetti { position: absolute; inset: 0; pointer-events: none; }
.konfetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 16px; background: var(--c); border-radius: 2px; animation: fallen 2.6s linear var(--d) infinite; opacity: .9; }
@keyframes fallen { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- Als Nächstes: Plakat im Vordergrund ---------- */
.held .hg { filter: blur(14px) saturate(1.2); transform: scale(1.15); opacity: .75; }
.held-kopf { display: grid; gap: 14px; }
.held-kopf.mitposter { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: end; }
.held-poster { padding: 0; border: 2px solid rgba(245,196,81,.75); border-radius: 12px; overflow: hidden; background: #1a0f10; cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 40px rgba(245,196,81,.25), 0 18px 36px rgba(0,0,0,.65); transform: rotate(-2.5deg); display: block; }
.held-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.held-text { display: grid; gap: 8px; min-width: 0; align-content: end; }
.held-kopf.mitposter h1 { font-size: 24px; overflow-wrap: anywhere; }
.held-kopf.mitposter .zaehler { font-size: 36px; }
.held-text .infokurz { flex-wrap: nowrap; align-items: flex-start; color: #e8dfd8; gap: 8px; } .held-text .infokurz svg { margin-top: .2em; color: var(--gold); }

/* ---------- Bewertung (emefkas) & Best Of ---------- */
.emefkas { display: flex; flex-wrap: nowrap; gap: 2px; width: 100%; }
.emefka { position: relative; display: block; flex: 1 1 0; min-width: 0; aspect-ratio: 1; user-select: none; -webkit-user-select: none; transition: transform .15s; }
.emefka .st { display: block; width: 100%; height: 100%; color: rgba(255,244,236,.13); transition: color .2s; }
.emefka .e { position: absolute; left: 50%; top: 57%; width: 76%; height: auto; transform: translate(-50%, -50%); opacity: .5; pointer-events: none; }
.emefka.voll .st { filter: drop-shadow(0 0 3px rgba(255,200,70,.85)); }
.emefka.voll .e { filter: brightness(0); opacity: .72; }
:root[data-theme="light"] .emefka .st { color: rgba(30,10,10,.13); }
:root[data-theme="light"] .emefka.voll .st { filter: drop-shadow(0 0 3px rgba(255,200,70,.85)); }
:root[data-theme="light"] .emefka:not(.voll) .e { filter: invert(1); opacity: .35; }
.emefkas.eingabe .emefka { cursor: pointer; touch-action: manipulation; }
.emefkas.eingabe .emefka:active { transform: scale(.88); }
.bewertung { display: grid; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid rgba(245,196,81,.35); background: rgba(245,196,81,.06); }
.bewertung.offen { border-color: rgba(230,51,41,.55); background: rgba(230,51,41,.07); animation: bewpuls 2.8s ease-in-out infinite; }
.bew-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-size: 15px; }
@keyframes bewpuls { 50% { box-shadow: 0 0 0 3px rgba(230,51,41,.12); } }
.bestof { display: grid; grid-template-columns: 34px 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; }
.bestof .rang { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--leise); text-align: center; }
.bestof.top .rang { color: var(--gold); text-shadow: 0 0 16px rgba(245,196,81,.6); }
.bestof.top { border-color: rgba(245,196,81,.45); background: linear-gradient(180deg, rgba(245,196,81,.10), rgba(255,244,236,.03)); }
.bo-bild { width: 64px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: #2a0d0f; }
.bo-text { display: grid; gap: 6px; min-width: 0; }
.bo-text h3 { font-size: 16px; overflow-wrap: anywhere; }
.bo-note { font-family: var(--display); font-size: 20px; color: var(--gold); }
.bo-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bo-chip .ava { width: 22px; height: 22px; font-size: 9px; }
.bestof .emefkas { gap: 1px; }

/* ---------- Hell/Dunkel-Wechsel: Kreis breitet sich von der Tippstelle aus (wie STREAMEFKA) ---------- */
html.thema-wechsel::view-transition-old(root), html.thema-wechsel::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.thema-wechsel::view-transition-new(root) { z-index: 2; }
#thema { transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }
#thema:hover { transform: rotate(-20deg) scale(1.06); }
#thema svg { color: var(--text); }
:root[data-theme="light"] #thema svg { color: #e08a00; }

/* ---------- Hell-Modus: "Als Nächstes" und Spotlight-Karte ---------- */
:root[data-theme="light"] .held { background: #fffaf4; border-color: var(--rand); box-shadow: 0 10px 30px rgba(60,20,20,.12); }
:root[data-theme="light"] .held::before { background: linear-gradient(180deg, rgba(255,250,244,.30), rgba(255,250,244,.96) 74%), radial-gradient(90% 70% at 20% 0%, rgba(230,51,41,.16), transparent); }
:root[data-theme="light"] .held .hg { opacity: .5; }
:root[data-theme="light"] .held .zaehler { color: var(--fg); text-shadow: none; }
:root[data-theme="light"] .held .streifen { filter: invert(1); opacity: .35; }
:root[data-theme="light"] .held .zeile, :root[data-theme="light"] .held-text .infokurz { color: var(--muted); }
:root[data-theme="light"] .held-poster { box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 24px rgba(184,134,42,.25), 0 14px 28px rgba(60,20,20,.35); border-color: rgba(184,134,42,.8); }
:root[data-theme="light"] .spot { background: radial-gradient(120% 60% at 50% 0%, #fff4df, #efe3d3 78%); color: var(--fg); border-color: var(--rand); box-shadow: 0 10px 30px rgba(60,20,20,.12); }
:root[data-theme="light"] .spot .kegel { background: linear-gradient(180deg, rgba(255,196,105,.55), rgba(255,196,105,.12) 60%, transparent); }
:root[data-theme="light"] .spot .kegel.zwei { background: linear-gradient(180deg, rgba(255,214,140,.6), transparent 85%); }
:root[data-theme="light"] .spot .boden { background: radial-gradient(ellipse at 50% 30%, rgba(255,190,100,.45), transparent 68%); }
:root[data-theme="light"] .spot-cover { box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 0 50px 2px rgba(255,190,100,.5), 0 24px 40px -12px rgba(60,20,20,.5); border-color: rgba(184,134,42,.5); }
:root[data-theme="light"] .spot-text h2 { color: var(--fg); text-shadow: none; }
:root[data-theme="light"] .spot-text .zeile, :root[data-theme="light"] .spot-beschr { color: var(--muted); }

/* Hell-Modus: kräftigere Markerfarben, damit sie auf hellem Grund lesbar sind */
:root[data-theme="light"] { --gruen: #177a55; --gelb: #9a6a00; }
:root[data-theme="light"] .marker.rot { color: #b3261e; background: rgba(200,40,31,.10); border-color: rgba(200,40,31,.4); }
:root[data-theme="light"] .marker.gold { color: #8a6118; background: rgba(184,134,42,.12); border-color: rgba(184,134,42,.5); }
:root[data-theme="light"] .marker.gruen { background: rgba(23,122,85,.10); border-color: rgba(23,122,85,.4); }
:root[data-theme="light"] .stimme.nein.an { color: #b3261e; }

/* ---------- Schon gesehen ---------- */
.stimme.gesehen.an { background: rgba(53,184,232,.2); border-color: #35b8e8; color: #35b8e8; }
:root[data-theme="light"] .stimme.gesehen.an { color: #0d7fa8; border-color: #0d7fa8; }
.stempel.gesehen { left: 50%; bottom: 150px; top: auto; right: auto; transform: translateX(-50%) rotate(4deg); color: #35b8e8; border-color: #35b8e8; font-size: 22px; white-space: nowrap; }
.dgesehen { width: 100%; max-width: 380px; margin-bottom: 2px; }

/* ---------- Goldene Sterne mit Glitzer ---------- */
.emefka.voll::after { content: ''; position: absolute; inset: -22%; pointer-events: none; opacity: 0;
  background:
    radial-gradient(circle at 18% 22%, #fff 0 1.3px, rgba(255,255,255,0) 2.6px),
    radial-gradient(circle at 82% 28%, #fffbe0 0 1.1px, rgba(255,255,255,0) 2.4px),
    radial-gradient(circle at 70% 84%, #fff 0 1.3px, rgba(255,255,255,0) 2.6px),
    radial-gradient(circle at 24% 78%, #fff6c8 0 1px, rgba(255,255,255,0) 2.2px),
    radial-gradient(circle at 50% 8%, #fff 0 1px, rgba(255,255,255,0) 2px);
  animation: glitzer 2s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .21s); }
.emefka.voll::before { content: ''; position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg) scale(0); pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 62%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: blitz 2.6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .33s); z-index: 2; }
@keyframes glitzer { 0%, 100% { opacity: 0; transform: scale(.85); } 40% { opacity: 1; transform: scale(1.08); } 65% { opacity: .2; } }
@keyframes blitz { 0%, 70%, 100% { transform: translate(-50%, -50%) rotate(45deg) scale(0); } 80% { transform: translate(-50%, -50%) rotate(45deg) scale(1.15); } 90% { transform: translate(-50%, -50%) rotate(45deg) scale(.2); } }
.emefka.voll { z-index: 1; }
.bestof { overflow: hidden; }

/* ---------- "Nicht gesehen" bei der Bewertung ---------- */
.bew-nicht { display: flex; justify-content: flex-end; }
.bew-nicht .knopf { min-height: 32px; font-size: 13px; padding: 0 12px; color: var(--muted); }
.bew-nicht .knopf.gold { color: #241705; }
.bewertung.aus { border-color: var(--rand); background: var(--panel); }
.bewertung.aus .emefkas { opacity: .35; }
.bo-chip.nicht { opacity: .6; }

/* Poster in der Abstimmung antippen = Film-Infos */
.poster-knopf { position: relative; padding: 0; border: 0; background: none; cursor: pointer; width: 58px; border-radius: 8px; overflow: hidden; display: block; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.poster-knopf .mini-poster { display: block; width: 100%; }
.poster-hinweis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 3px 0; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.poster-hinweis svg { width: 11px; height: 11px; }

/* ============================================================
   Farbwelt "podcast3r": dunkles Grau mit Lilastich, tiefes Lila (#7c3aed), knalliges Pink (#ff2d8f)
   Werte aus podcast3r/app/styles.css. Umschaltbar unter "Ich" (je Gerät), Standard: podcast3r.
   Gold bleibt nur bei den Bewertungs-Sternen.
   ============================================================ */
:root[data-farbe="p3r"] {
  --bg: #141317; --bg2: #1a1820; --panel: rgba(255,255,255,.05); --panel-stark: rgba(255,255,255,.085); --rand: #37323f;
  --text: #f3f1f7; --muted: #a39cb2; --leise: #7a7390;
  --rot: #ff2d8f; --rot-dunkel: #c4126b; --rot-glow: rgba(255,45,143,.42);
  --gold: #a78bfa; --gold-dunkel: #7c3aed;
  --gruen: #34d399; --warn: #ff4d6d; --gelb: #fbbf24;
  --vorhang: radial-gradient(700px 380px at 12% -8%, rgba(124,58,237,.28), transparent 65%), radial-gradient(560px 320px at 92% 4%, rgba(255,45,143,.16), transparent 62%);
  --grad: linear-gradient(135deg, #7c3aed 0%, #ff2d8f 100%);
}
:root[data-farbe="p3r"][data-theme="light"] {
  --bg: #f5f2fa; --bg2: #ece6f7; --panel: rgba(76,29,149,.05); --panel-stark: rgba(76,29,149,.09); --rand: #ddd5ec;
  --text: #1b1626; --muted: #655c78; --leise: #8a82a0;
  --rot: #e0207f; --rot-dunkel: #b3135f; --rot-glow: rgba(224,32,127,.32);
  --gold: #6d28d9; --gold-dunkel: #5b21b6;
  --gruen: #177a55; --warn: #c1124f; --gelb: #9a6a00;
  --vorhang: radial-gradient(700px 380px at 12% -8%, rgba(124,58,237,.16), transparent 65%), radial-gradient(560px 320px at 92% 4%, rgba(255,45,143,.10), transparent 62%);
}
:root[data-farbe="p3r"] .buehne .strahl { background: conic-gradient(from 168deg at 50% 0%, transparent 0deg, rgba(167,139,250,.22) 12deg, transparent 24deg); }
:root[data-farbe="p3r"] .knopf.rot { background: var(--grad); box-shadow: 0 6px 22px rgba(255,45,143,.32), 0 4px 18px rgba(124,58,237,.3); }
:root[data-farbe="p3r"] .knopf.gold { background: linear-gradient(180deg, #9b6dff, #6d28d9); color: #fff; box-shadow: 0 6px 22px rgba(124,58,237,.38); }
:root[data-farbe="p3r"] .knopf.muss { box-shadow: 0 0 26px rgba(167,139,250,.45); }
:root[data-farbe="p3r"] .knopf.muss svg { color: #fff; }
:root[data-farbe="p3r"] .dmuss { animation: none; }
:root[data-farbe="p3r"] .marker.rot { background: rgba(255,45,143,.16); border-color: rgba(255,45,143,.5); color: #ff7ab8; }
:root[data-farbe="p3r"] .marker.gold { background: rgba(124,58,237,.18); border-color: rgba(167,139,250,.5); color: #c4b5fd; }
:root[data-farbe="p3r"][data-theme="light"] .marker.rot { color: #b3135f; background: rgba(224,32,127,.10); border-color: rgba(224,32,127,.4); }
:root[data-farbe="p3r"][data-theme="light"] .marker.gold { color: #5b21b6; background: rgba(109,40,217,.10); border-color: rgba(109,40,217,.4); }
:root[data-farbe="p3r"] .pille.an { background: #7c3aed; color: #fff; }
:root[data-farbe="p3r"] .lichter i { background: #ff2d8f; box-shadow: 0 0 5px 1px rgba(255,45,143,.9); }
:root[data-farbe="p3r"] .tabbar { background: rgba(26,24,32,.8); border-color: var(--rand); }
:root[data-farbe="p3r"][data-theme="light"] .tabbar { background: rgba(255,255,255,.8); }
:root[data-farbe="p3r"] .sheet { background: linear-gradient(180deg, #252032, #16141b); }
:root[data-farbe="p3r"][data-theme="light"] .sheet { background: #faf8fe; }
:root[data-farbe="p3r"] .deck { background: radial-gradient(120% 70% at 50% 0%, #2d1b55, var(--bg) 70%), var(--bg); }
:root[data-farbe="p3r"][data-theme="light"] .deck { background: radial-gradient(120% 70% at 50% 0%, #e4d9f7, var(--bg) 70%), var(--bg); }
:root[data-farbe="p3r"] .held { background: #1a1820; }
:root[data-farbe="p3r"] .held::before { background: linear-gradient(180deg, rgba(20,19,23,.25), rgba(20,19,23,.92) 70%), radial-gradient(90% 70% at 20% 0%, rgba(124,58,237,.42), transparent); }
:root[data-farbe="p3r"][data-theme="light"] .held { background: #fbf8ff; }
:root[data-farbe="p3r"][data-theme="light"] .held::before { background: linear-gradient(180deg, rgba(251,248,255,.30), rgba(251,248,255,.96) 74%), radial-gradient(90% 70% at 20% 0%, rgba(124,58,237,.16), transparent); }
:root[data-farbe="p3r"] .held-poster { border-color: rgba(167,139,250,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 40px rgba(124,58,237,.35), 0 18px 36px rgba(0,0,0,.65); }
:root[data-farbe="p3r"] .spot { background: radial-gradient(120% 60% at 50% 0%, #2a1c4d, #121014 70%); }
:root[data-farbe="p3r"] .spot .kegel { background: linear-gradient(180deg, rgba(196,181,253,.42), rgba(196,181,253,.10) 60%, transparent); }
:root[data-farbe="p3r"] .spot .kegel.zwei { background: linear-gradient(180deg, rgba(233,225,255,.5), transparent 85%); }
:root[data-farbe="p3r"] .spot .boden { background: radial-gradient(ellipse at 50% 30%, rgba(167,139,250,.55), transparent 68%); }
:root[data-farbe="p3r"] .spot-cover { border-color: rgba(167,139,250,.45); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 70px 6px rgba(124,58,237,.42), 0 30px 50px -10px rgba(0,0,0,.8); }
:root[data-farbe="p3r"][data-theme="light"] .spot { background: radial-gradient(120% 60% at 50% 0%, #efe7ff, #e6dcf6 78%); }
:root[data-farbe="p3r"][data-theme="light"] .spot .kegel { background: linear-gradient(180deg, rgba(167,139,250,.5), rgba(167,139,250,.12) 60%, transparent); }
:root[data-farbe="p3r"][data-theme="light"] .spot .boden { background: radial-gradient(ellipse at 50% 30%, rgba(167,139,250,.5), transparent 68%); }
:root[data-farbe="p3r"] .ticket .stub { background: linear-gradient(180deg, rgba(255,45,143,.30), rgba(124,58,237,.14)); border-right-color: rgba(167,139,250,.4); }
:root[data-farbe="p3r"] .option.fuehrend { border-color: rgba(167,139,250,.75); box-shadow: 0 0 0 1px rgba(124,58,237,.3), 0 8px 26px rgba(124,58,237,.14); }
:root[data-farbe="p3r"] .banner { background: rgba(124,58,237,.10); border-color: rgba(167,139,250,.35); }
:root[data-farbe="p3r"] .bewertung { border-color: rgba(167,139,250,.35); background: rgba(124,58,237,.07); }
:root[data-farbe="p3r"] .bewertung.offen { border-color: rgba(255,45,143,.55); background: rgba(255,45,143,.07); }
:root[data-farbe="p3r"] .bewertung.aus { border-color: var(--rand); background: var(--panel); }
:root[data-farbe="p3r"] input:focus, :root[data-farbe="p3r"] select:focus, :root[data-farbe="p3r"] textarea:focus { box-shadow: 0 0 0 3px rgba(124,58,237,.28); }
:root[data-farbe="p3r"] .bestof.top { border-color: rgba(167,139,250,.5); background: linear-gradient(180deg, rgba(124,58,237,.14), rgba(255,255,255,.03)); }
:root[data-farbe="p3r"] .matchsplash { background: radial-gradient(90% 60% at 50% 30%, rgba(124,58,237,.6), rgba(14,12,18,.96) 70%); }
:root[data-farbe="p3r"] .matchtitel { text-shadow: 0 0 30px rgba(255,45,143,.7), 0 4px 0 #4c1d95; color: #ff7ab8; }
:root[data-farbe="p3r"] .matchbox img { border-color: #a78bfa; box-shadow: 0 0 40px rgba(124,58,237,.55), 0 20px 40px rgba(0,0,0,.6); }

/* Farb-Knopf im Kopf: zeigt die Farbe der anderen Farbwelt als kleinen Punkt */
#farbe { position: relative; }
#farbe::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--bg); background: linear-gradient(135deg, #e63329, #f5c451); }
:root[data-farbe="p3r"] #farbe::after { background: linear-gradient(135deg, #7c3aed, #ff2d8f); }
.kopf-knoepfe { align-items: center; }
.toast { width: max-content; max-width: calc(100vw - 32px); }

/* Lauflicht als Canvas */
.lichter { display: block; height: 14px; margin: 2px 18px; flex: none; }
.lichter canvas { display: block; width: 100%; height: 100%; }
.lichter i { display: none; }

/* ---------- podcast3r eingebettet ---------- */
.p3r-pane { flex: 1; min-height: 0; position: relative; padding-bottom: calc(var(--tabbar) - 6px); }
.p3r-pane iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--bg); }
.p3r-lade { position: absolute; inset: 0; display: grid; place-items: center; }

/* ---------- Kinosaal finden ---------- */
.kinoknopf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; text-align: left; width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--rand); background: var(--panel); cursor: pointer; color: inherit; }
.kinoknopf b { font-family: var(--display); font-size: 16px; flex: 1 1 auto; }
.kinoknopf.an { border-color: var(--gold); background: rgba(124,58,237,.14); box-shadow: 0 0 0 1px var(--gold); }
