/* SPIELWERK – Minispiele */
.pz .modal-body { line-height: 1.4; }
.pz-msg, .wb-msg { flex: 1; text-align: center; color: var(--acc); min-height: 1.4em; }

/* Wortbrunnen */
.pz-brunnen { background: radial-gradient(ellipse at 50% 0%, #3a2c4a, #1a1224 70%); }
.wb-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.wb-quassel svg { width: 100px; height: 130px; }
.wb-bubble { flex: 1; background: #fff6e0; color: #3b2410; border-radius: 20px; padding: 12px 18px; position: relative; }
.wb-bubble::before { content: ""; position: absolute; left: -14px; top: 40%; border: 10px solid transparent; border-right: 14px solid #fff6e0; }
.wb-bubble small { color: #8a6a3a; text-transform: uppercase; letter-spacing: .12em; font-size: .7em; }
.wb-clue { font-family: var(--serif); font-size: 2em; font-weight: bold; }
.wb-sub { font-size: .9em; }
.wb-runes { display: flex; flex-direction: column; gap: 6px; }
.wb-runes i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-weight: bold; background: #2a1f30; border: 2px solid #5a4a6a; color: #8a7b9c; }
.wb-runes i.on { background: radial-gradient(#fff3c4, #f2b660); color: #3b2410; border-color: #fff; box-shadow: 0 0 14px #f2b660; }
.wb-runes i.cur { border-color: var(--acc); animation: hsPulse 1.4s infinite; }
.wb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; border-radius: 50% / 18%; background: radial-gradient(ellipse, #3c3430 40%, #8b7f78 41%, #5c524c 100%); }
.wb-tile { min-height: 64px; border-radius: 10px; border: 2px solid #6c625c; background: linear-gradient(#c9bdb4, #a3978f); color: #2e2216; font-family: var(--serif); font-size: 1.15em; font-weight: bold; cursor: pointer; box-shadow: 0 4px 0 #5c524c; transition: transform .1s, background .2s; }
.wb-tile:hover { transform: translateY(-2px); }
.wb-tile.sel { background: linear-gradient(#fff3c4, #f2b660); border-color: #fff; box-shadow: 0 0 16px #f2b660, 0 4px 0 #a07030; }
.wb-tile.solved { background: linear-gradient(#a8e0ff, #5fa8d8); color: #0c2a40; opacity: .75; cursor: default; box-shadow: none; }
.wb-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.wb-list { margin-top: 12px; background: var(--parch); color: #3a2a1a; border-radius: 10px; padding: 12px 16px; font-family: var(--serif); }
.wb-list table { width: 100%; border-collapse: collapse; } .wb-list td { border-bottom: 1px dashed #b89a6a; padding: 3px 6px; }

.pz-intro { margin-top: 0; }
.pz-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.muted { color: var(--muted); }

/* Lichtzeichen */
.sig-sea { height: 220px; border-radius: 14px; background: linear-gradient(#0a1828, #123a52 60%, #0a2030); position: relative; overflow: hidden; }
.sig-ship { position: absolute; left: 50%; bottom: 60px; width: 220px; height: 60px; margin-left: -110px; background: #1a2430; clip-path: polygon(0 40%, 100% 40%, 85% 100%, 15% 100%); }
.sig-ship::before { content: ""; position: absolute; left: 90px; top: 0; width: 40px; height: 26px; background: #1a2430; }
.sig-lamp { position: absolute; left: 50%; bottom: 112px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: #111; transition: background .1s; }
.sig-note { color: var(--muted); }

/* Funk-Schloss */
.lock-sep { align-self: center; font-size: 46px; font-weight: 800; color: var(--acc); margin: 0 -4px; line-height: 1; padding-bottom: 8px; }
.lock-suffix { font-size: 26px; margin-left: 6px; color: var(--muted); }
.radio-lock .modal-body { max-width: 640px; }
.sig-fibel { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 6px 0 4px; }
.sig-fibel span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 6px 10px; font-weight: 700; white-space: nowrap; }
.sig-fibel i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; border: 1px solid rgba(0,0,0,.5); }
.sig-slots { display: flex; gap: 14px; justify-content: center; align-items: center; margin: 14px 0 4px; }
.sig-slot { width: 74px; text-align: center; font-size: 13px; color: var(--muted); }
.sig-slot b { display: block; width: 46px; height: 46px; margin: 0 auto 4px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.25); background: #0b0f16; transition: background .15s, box-shadow .15s; }
.sig-slot.lit b { border-style: solid; border-color: rgba(255,255,255,.7); }
.sig-slot.now b { transform: scale(1.12); }
.sig-start { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--acc); text-transform: uppercase; }
.sig-pause { font-size: 13px; color: var(--muted); text-align: center; min-height: 1.4em; }

/* Sturmplan */
.pz-sturm { background: radial-gradient(ellipse at 50% 0%, #163048, #0c1622 70%); }
.sp-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.sp-card { text-align: left; border: 2px solid var(--c); background: #0006; border-radius: 12px; padding: 10px 12px; cursor: pointer; min-height: 70px; }
.sp-card > b { display: block; color: var(--c); }
.sp-card span { font-size: .9em; color: var(--muted); }
.sp-card.open { background: color-mix(in srgb, var(--c) 18%, #0a1018); cursor: default; }
.sp-card.open span { color: #fff; }
.sp-board { display: grid; grid-template-columns: 170px repeat(4, 1fr); gap: 6px; }
.sp-h { text-align: center; font-weight: bold; color: var(--muted); font-size: .9em; }
.sp-role { display: flex; align-items: center; padding: 0 10px; border-left: 5px solid var(--c); background: #ffffff0a; border-radius: 6px; font-weight: bold; font-size: .9em; }
.sp-cell { min-height: 58px; border: 2px dashed #ffffff22; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 4px; cursor: pointer; transition: background .2s, border-color .2s; }
.sp-cell.target { border-color: var(--acc); background: #ffffff10; }
.sp-cell.run { background: #ffffff12; }
.sp-cell.ok { border-color: var(--ok); border-style: solid; }
.sp-cell.bad { border-color: var(--danger); border-style: solid; background: #e0605b33; }
.sp-pool { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 44px; }
.sp-task { border: 0; border-left: 6px solid var(--c); background: #f4ead8; color: #2a1d14; border-radius: 8px; padding: 8px 12px; font-weight: 600; cursor: pointer; font-size: .9em; }
.sp-task.sel { outline: 3px solid var(--acc); transform: translateY(-2px); }
.sp-task.in { cursor: default; width: 100%; text-align: center; padding: 6px; }
.sp-done { color: var(--muted); font-style: italic; }

/* Mustermaschine */
.pz-muster { background: radial-gradient(ellipse at 50% 0%, #0f3a3a, #071818 70%); }
.mm-rule { display: flex; gap: 12px; align-items: center; }
.mm-knobel svg { width: 80px; height: 104px; }
.mm-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 10px 0; }
.mm-card { border: 3px solid transparent; background: none; padding: 0; border-radius: 12px; cursor: pointer; transition: transform .12s; }
.mm-card svg { width: 100%; display: block; }
.mm-card:hover { transform: translateY(-3px); }
.mm-card.sel { border-color: var(--acc); box-shadow: 0 0 18px var(--acc); transform: translateY(-5px); }
.mm-found { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }
.mm-trio { display: flex; gap: 2px; background: #45d6b422; padding: 3px; border-radius: 8px; }
.mm-trio svg { width: 26px; }
.disp-big { font-family: monospace; font-size: 2.4em; text-align: center; background: #071311; color: #9fffe0; padding: 24px; border-radius: 12px; border: 4px solid #5a7a7c; letter-spacing: .05em; }

/* Geschichtenwerkstatt */
.pz-story { background: radial-gradient(ellipse at 50% 0%, #3a1440, #1a0a1e 70%); }
.gs-head { display: flex; gap: 12px; align-items: center; }
.gs-fantasia svg { width: 80px; height: 104px; }
.gs-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0; }
.gs-slot { border: 2px dashed #ffffff33; border-radius: 12px; padding: 8px; min-height: 160px; text-align: center; cursor: pointer; background: #0004; }
.gs-slot small { display: block; color: var(--acc); font-weight: bold; text-transform: uppercase; letter-spacing: .1em; }
.gs-slot.target { border-color: var(--acc); background: #ffffff0c; }
.gs-empty { color: var(--muted); font-size: .85em; display: block; margin-top: 40px; }
.gs-hand { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; min-height: 140px; }
.gs-card { width: 110px; background: #f4e9d0; color: #3b2410; border: 3px solid #c9a45c; border-radius: 10px; padding: 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: transform .12s; }
.gs-card svg { width: 80px; height: 80px; }
.gs-card b { font-family: var(--serif); }
.gs-card.sel { outline: 4px solid var(--acc); transform: translateY(-6px) rotate(-2deg); }
.gs-card.in { margin: 6px auto 0; cursor: default; }
.gs-card.big { width: 160px; margin: 0 auto; cursor: default; } .gs-card.big svg { width: 130px; height: 130px; }
.gs-story { background: var(--parch); color: #3b2410; font-family: var(--serif); font-size: 1.1em; padding: 12px 16px; border-radius: 10px; margin-top: 12px; min-height: 3em; line-height: 1.5; }
.gs-odd { color: #b0302a; font-style: italic; }
.card-found .modal-body { text-align: center; }

/* Lagerfeuerrat */
.pz-rat { background: radial-gradient(ellipse at 50% 100%, #4a2a10, #121a14 70%); }
.rat-head { display: flex; gap: 12px; align-items: center; }
.rat-herz svg { width: 90px; height: 117px; }
.rat-grid { display: grid; gap: 8px; }
.rat-task { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #ffffff0a; border-radius: 12px; padding: 8px 12px; }
.rat-task small { display: block; color: var(--muted); }
.rat-who { display: flex; gap: 8px; }
.rat-tok { width: 78px; border: 2px solid #ffffff22; border-radius: 12px; background: #0004; cursor: pointer; padding: 2px; display: flex; flex-direction: column; align-items: center; font-size: .8em; }
.rat-tok svg { width: 50px; height: 65px; }
.rat-tok.on { border-color: var(--acc); background: #9ee06f22; box-shadow: 0 0 12px #9ee06f66; }
.rat-rules { display: flex; flex-direction: column; gap: 10px; }

/* Stadtrat */
.pz-stadt { background: radial-gradient(ellipse at 50% 0%, #4a2418, #1a0e12 70%); }
.sr-head { display: flex; gap: 14px; align-items: center; }
.sr-knister svg { width: 80px; height: 104px; }
.sr-ev { flex: 1; background: #ffffff0c; padding: 10px 14px; border-radius: 10px; border-left: 4px solid var(--acc); margin: 0; }
.sr-stats { display: flex; gap: 14px; }
.sr-pool, .sr-um { text-align: center; min-width: 120px; }
.sr-pool small, .sr-um small { display: block; color: var(--muted); font-size: .75em; text-transform: uppercase; }
.sr-pool b { font-size: 2.2em; color: var(--acc); }
.sr-bar { position: relative; height: 12px; background: #0006; border-radius: 6px; overflow: hidden; margin: 4px 0; }
.sr-bar.big { height: 18px; }
.sr-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c, #7fd36a); transition: width .3s; }
.sr-bar .goal { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: .8; }
.sr-d { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.sr-card { background: #0005; border-top: 5px solid var(--c); border-radius: 10px; padding: 10px; }
.sr-card small { display: block; color: var(--muted); font-size: .8em; }
.sr-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.sr-ctrl button { width: 44px; height: 40px; border-radius: 10px; border: 1px solid #ffffff33; background: #ffffff14; font-size: 1.4em; cursor: pointer; }
.sr-ctrl button:hover { background: #ffffff2a; }
.sr-ctrl span { font-size: 1.4em; font-weight: bold; } .sr-ctrl em { font-size: .6em; color: var(--ok); font-style: normal; }
.sr-opt { display: flex; gap: 10px; align-items: center; background: #ffffff08; padding: 8px 12px; border-radius: 10px; margin: 6px 0; cursor: pointer; }
.sr-opt input { width: 22px; height: 22px; accent-color: var(--acc); }
.sr-opt.done { color: #ffe08a; } .sr-opt.off { color: var(--muted); font-style: italic; cursor: default; }

/* Mos Visionen */
.vision { background: radial-gradient(circle, #3a3010, #120e04 70%); border-color: #dfff7a; }
.vis-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vis-row figure { margin: 0; animation: popIn .6s both; }
.vis-row svg { width: 100%; border-radius: 10px; border: 3px solid #dfff7a55; box-shadow: 0 0 30px #dfff7a33; }
.vis-row figcaption { font-size: .9em; text-align: center; margin-top: 6px; }

/* Letzte Frage */
.pz-word { text-align: center; background: radial-gradient(circle at 50% 30%, #2a1a4a, #0a0614 70%); border-color: #fff; }
.lw-q { font-family: var(--serif); font-size: 1.6em; color: #fff; }
.lw-slots, .lw-tiles { display: flex; gap: 10px; justify-content: center; margin: 14px 0; }
.lw-slot { width: 62px; height: 72px; border-radius: 10px; border: 2px dashed #ffffff55; background: #0006; font-family: var(--serif); font-size: 2.2em; font-weight: bold; cursor: pointer; }
.lw-tile { width: 62px; height: 72px; border-radius: 10px; border: 0; background: linear-gradient(135deg, #fff, var(--c)); color: #1b1424; font-family: var(--serif); font-size: 2.2em; font-weight: bold; cursor: pointer; display: inline-grid; place-items: center; box-shadow: 0 0 16px var(--c); }
.lw-tile.used { opacity: .15; box-shadow: none; background: #555; }
.pz-word.solved .lw-slot { border-style: solid; border-color: #ffe08a; color: #ffe08a; box-shadow: 0 0 20px #ffe08a; }
.lw-hint { color: var(--muted); }

/* Epilog */
.epilog { border-color: #ffe08a; background: radial-gradient(ellipse at 50% 0%, #3a2a4a, #120c1a 70%); }
.ep-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.ep-crys { display: flex; gap: 6px; } .ep-crys span { width: 44px; filter: drop-shadow(0 0 10px var(--c)); } .ep-crys svg { width: 100%; }
.ep-stats { display: flex; gap: 16px; } .ep-stats div { text-align: center; } .ep-stats b { display: block; font-size: 1.6em; color: #ffe08a; } .ep-stats small { color: var(--muted); }
.ep-q li { margin: 6px 0; }
.ep-credit { color: var(--muted); font-size: .85em; text-align: center; }

@media (max-width: 760px) {
  .mm-grid { grid-template-columns: repeat(4, 1fr); }
  .sp-board { grid-template-columns: 90px repeat(4, 1fr); font-size: .8em; }
  .gs-slots, .sr-d, .vis-row { grid-template-columns: repeat(2, 1fr); }
  .rat-task { flex-direction: column; align-items: flex-start; }
}
.sig-mast { position: absolute; left: 50%; bottom: 96px; width: 8px; height: 30px; margin-left: -4px; background: #1a2430; }

/* ---------- Inselfamilie (v0.6.5): Señoritas Klapper-Rhythmus und Familienfoto ---------- */
.rh-stage { width: 170px; height: 222px; margin: 6px auto 0; transition: transform .12s; }
.rh-stage svg { width: 100%; height: 100%; }
.rh-stage.bh { animation: rhHigh .25s ease-out; }
.rh-stage.bt { animation: rhLow .25s ease-out; }
@keyframes rhHigh { 40% { transform: translateY(-14px) rotate(-6deg); } }
@keyframes rhLow { 40% { transform: translateY(8px) scale(1.06, .94); } }
.rh-dots { display: flex; justify-content: center; gap: 10px; margin: 8px 0 14px; }
.rh-dots i { width: 26px; height: 26px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.3); background: #0b0f16; transition: background .15s; }
.rh-dots i.show.H, .rh-dots i.ok.H { background: #ffd166; border-style: solid; border-color: #fff; }
.rh-dots i.show.T, .rh-dots i.ok.T { background: #e85a3a; border-style: solid; border-color: #fff; }
.rh-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.rh-btns .rh-h { background: #ffd166; color: #2a1a0a; }
.rh-btns .rh-t { background: #e85a3a; color: #fff; }
.rh-msg { min-height: 1.6em; text-align: center; font-weight: bold; margin-top: 10px; }
@media (max-height: 520px) { .rh-stage { width: 84px; height: 110px; } .rh-dots { margin: 4px 0 8px; } .rh-dots i { width: 20px; height: 20px; } .rh-msg { margin-top: 4px; } .fam-photo { max-width: 520px; } }
.fam-photo { display: block; width: 100%; max-width: 760px; margin: 0 auto 10px; border-radius: 6px; box-shadow: 0 10px 30px #0008; transform: rotate(-1.2deg); }

/* ---------- Level 2 (0.7) ---------- */
.l2-ho { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.l2-ho li { border-left: 6px solid var(--c); padding: 6px 10px; background: #ffffff10; border-radius: 6px; }
.l2-ho li span { display: block; font-style: italic; }
.l2-ho li i { display: block; opacity: .7; }
.l2-letters { font: bold 30px Georgia, serif; letter-spacing: .3em; text-align: center; }
.l2-box { display: flex; gap: 16px; align-items: center; }
.l2-box svg { width: 140px; flex: none; }
.l2-note { opacity: .8; font-style: italic; }
.srt-parts, .srt-games, .chr-cards, .tt-pieces { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.srt-part, .chr-card, .tt-piece { padding: 8px 12px; border-radius: 10px; border: 2px solid #c9a45c; background: #2a2236; color: inherit; cursor: pointer; font: inherit; }
.srt-part.sel { background: #c9a45c; color: #1a1220; }
.srt-part.used, .chr-card.used, .tt-piece.used { opacity: .35; }
.srt-games { display: grid; grid-template-columns: repeat(2, 1fr); }
.srt-game { text-align: left; padding: 10px; border-radius: 12px; border: 2px dashed #8a7a9a; background: #ffffff08; color: inherit; cursor: pointer; font: inherit; min-height: 90px; }
.srt-game small { display: block; opacity: .8; margin: 4px 0; }
.srt-game span { font-size: 24px; }
.srt-msg, .chr-msg, .mh-msg, .ls-msg, .tt-msg, .ht-msg { min-height: 1.5em; font-weight: bold; }
.chr-card small { display: block; opacity: .7; }
.chr-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; border-radius: 8px; background: #ffffff10; min-height: 40px; }
.chr-line span { opacity: .6; font-size: .85em; }
.chr-line i { font-style: normal; padding: 4px 8px; background: #c9a45c33; border-radius: 6px; }
.mh-wrap { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.mh-board { width: min(400px, 70vw); height: auto; }
.mh-pt { cursor: pointer; }
.mh-side { flex: 1; min-width: 160px; }
.ls-state { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0; }
.ls-drawn { display: flex; flex-wrap: wrap; gap: 8px; min-height: 52px; align-items: center; }
.ls-drawn i { font: bold 24px Georgia, serif; font-style: normal; width: 46px; height: 46px; display: grid; place-items: center; background: #f4e9d0; color: #3a2414; border-radius: 8px; box-shadow: 0 2px 0 #7a5a2a; }
.tt-hints { margin: 6px 0 10px 1.2em; }
.tt-wrap { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.tt-pieces { flex-direction: column; }
.tt-piece { border-color: var(--c); border-left-width: 14px; }
.tt-cake { width: 220px; height: 240px; }
.ht-stage { position: relative; height: 170px; max-width: 480px; margin: 10px auto; }
.ht-hat { position: absolute; top: 20px; left: calc(var(--x) * 33.3%); width: 33%; background: none; border: 0; cursor: pointer; transition: left .3s ease-in-out, transform .3s; padding: 0; }
.ht-hat svg { width: 100%; max-width: 120px; position: relative; z-index: 2; transition: transform .3s; }
.ht-frog { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 40px; opacity: 0; z-index: 1; }
.ht-hat.lift svg { transform: translateY(-50px); }
.ht-hat.lift .ht-frog { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ht-hat { transition-duration: .5s; } }
@media (max-height: 520px) {
  .mh-board { width: auto; height: min(250px, 58vh); }
  .mh-wrap { flex-wrap: nowrap; }
  .pz-muehle .modal-body > p, .pz-sort .modal-body > p, .pz-torte .modal-body > p, .pz-lose .modal-body > p { font-size: .88em; }
  .srt-game { min-height: 0; padding: 6px 8px; }
  .tt-cake { width: 150px; height: 164px; }
  .ht-stage { height: 130px; }
  .ht-hat svg { max-width: 84px; }
}

/* ---------- Level 2, Teil 2 (0.8) ---------- */
.eco-rules { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; }
.eco-rules li { padding: 4px 8px; border-radius: 6px; background: #ffffff10; }
.eco-rules li.ok { background: #5ad07a33; } .eco-rules li.no { background: #e05a5a33; }
.eco-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.eco-board { width: min(320px, 60vw); height: auto; } .eco-slot { cursor: pointer; }
.eco-tiles { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 200px; }
.eco-tile { padding: 8px 12px; border-radius: 10px; border: 3px solid var(--c); background: #2a2236; color: inherit; font: inherit; cursor: pointer; }
.eco-tile.sel { background: var(--c); color: #1a1220; font-weight: bold; } .eco-tile.used { opacity: .4; }
.eco-msg, .kb-msg, .cd-msg, .hy-msg, .bau-msg, .rat-msg { min-height: 1.5em; font-weight: bold; }
.kb-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kb-cable { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; background: #ffffff10; }
.kb-cable span { width: 18px; height: 70px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 3px #00000044; }
.kb-cable .btn[aria-pressed="true"] { outline: 3px solid #f2c14e; }
.kb-log { max-height: 130px; overflow: auto; margin: 8px 0; padding: 6px 10px; background: #00000033; border-radius: 8px; font-size: .95em; }
.cd-pick { display: flex; gap: 10px; margin: 8px 0; }
.cd-sym { font-size: 30px; width: 60px; height: 60px; border-radius: 12px; border: 2px solid #c9a45c; background: #2a2236; cursor: pointer; }
.cd-sym:disabled { opacity: .35; cursor: default; }
.cd-cur { display: flex; gap: 8px; margin: 6px 0; } .cd-cur span { width: 50px; height: 50px; display: grid; place-items: center; font-size: 26px; border-radius: 10px; background: #ffffff14; }
.cd-tries { display: grid; gap: 4px; max-height: 160px; overflow: auto; } .cd-tries div { display: flex; gap: 14px; align-items: center; } .cd-tries span { font-size: 22px; } .cd-tries b { letter-spacing: .2em; color: #f2c14e; }
.hy-list { display: grid; gap: 8px; } .hy-item { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #ffffff0c; }
.bau-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bau-grid fieldset { border: 1px solid #ffffff33; border-radius: 10px; padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.bau-grid legend { font-weight: bold; padding: 0 6px; } .bau-regeln { grid-column: 1 / -1; }
.bau-opt { padding: 6px 10px; border-radius: 8px; border: 2px solid #8a7a9a; background: #2a2236; color: inherit; font: inherit; cursor: pointer; }
.bau-opt.sel { border-color: #f2c14e; background: #f2c14e33; font-weight: bold; }
.rat-ampel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.rat-guest { padding: 8px; border-radius: 10px; background: #ffffff10; text-align: center; } .rat-guest i { display: block; width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 4px; background: #f2c14e; }
.rat-guest.gruen i { background: #5ad07a; } .rat-guest.rot i { background: #e05a5a; } .rat-guest small { display: block; opacity: .8; font-size: .85em; }
.rat-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.rat-card { text-align: left; padding: 8px 10px; border-radius: 8px; border: 2px solid #8a7a9a; background: #2a2236; color: inherit; font: inherit; cursor: pointer; }
.rat-card.sel { border-color: #5ad07a; background: #5ad07a22; }
.vb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.vb-card { text-align: center; padding: 6px; border-radius: 10px; background: #ffffff10; } .vb-card.unk { opacity: .55; }
.vb-fig { height: 100px; display: grid; place-items: center; } .vb-fig svg { height: 100px; width: auto; } .vb-fig span { font: bold 40px Georgia, serif; opacity: .6; }
.vb-card b { display: block; overflow-wrap: anywhere; } .vb-card small { display: block; font-size: .8em; opacity: .8; }
@media (max-height: 520px) {
  .eco-board { width: auto; height: min(220px, 52vh); }
  .kb-cable span { height: 40px; } .cd-sym { width: 46px; height: 46px; font-size: 24px; }
  .rat-ampel, .kb-row { grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: .85em; }
  .bau-grid, .rat-cards { grid-template-columns: 1fr 1fr; font-size: .88em; }
}
@media (max-width: 700px) { .hy-item { grid-template-columns: 1fr 1fr; } .hy-item span { grid-column: 1 / -1; } .bau-grid, .rat-cards { grid-template-columns: 1fr; } }

/* ---------- Genre-Regal (seit 0.8.1) ---------- */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 6px; margin: 10px 0; }
.genre-fach { display: flex; align-items: center; gap: 6px; text-align: left; padding: 7px 9px; border-radius: 10px; border: 1px solid #ffffff2a; background: #ffffff0d; color: inherit; font: inherit; font-size: .9em; cursor: pointer; line-height: 1.15; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.genre-fach span { font-size: 1.3em; flex: none; }
.genre-fach:hover, .genre-fach.on { background: #e7bd6230; border-color: #e7bd62; }
.genre-box:empty { display: none; }
.genre-detail { background: #ffffff10; border-radius: 12px; padding: 10px 14px; }
.genre-detail h4 { margin: 0 0 6px; color: #e7bd62; }
.genre-detail p { margin: 4px 0; }
.gq-stand { color: #a99bbd; margin: 0; }
.gq-frage { font-size: 1.15em; font-style: italic; }
.gq-opts { display: flex; flex-direction: column; gap: 8px; }
.gq-opt { text-align: left; }
.gq-opt.richtig { background: #2f9e4455; border-color: #6fd39a; }
.gq-opt.falsch { background: #e0605b44; border-color: #e0605b; }
.gq-fb { min-height: 2.6em; }
@media (max-width: 760px), (max-height: 500px) { .genre-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } }
/* ---------- Sebos Kneipenquiz (seit 0.8.1) ---------- */
.kq-kats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.kq-kat { display: flex; align-items: center; gap: 8px; justify-content: flex-start; text-align: left; overflow-wrap: anywhere; }
.kq-kat span { font-size: 1.4em; }
.kq-kat[disabled] { opacity: .35; }
.kq-diplom { margin: 6px auto 12px; max-width: 420px; text-align: center; background: radial-gradient(circle, #f6efe0, #e9dcc0); color: #3b2a1c; border: 6px double #b5835a; border-radius: 50%; aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: center; padding: 14px 24px; }
.kq-diplom h3 { margin: 4px 0; font-family: Georgia, serif; color: #8a3b12; }
.kq-diplom p { margin: 4px 0; }
@media (max-width: 760px), (max-height: 500px) { .kq-kats { grid-template-columns: repeat(2, 1fr); } .kq-diplom { border-radius: 18px; aspect-ratio: auto; } }
/* Weiter-Knopf in den Quizzen (Nachtrag 0.8.1) */
.kq-weiter, .gq-weiter { margin-top: 6px; }
.gq-opt[disabled]:not(.richtig):not(.falsch) { opacity: .5; }

/* TillyBox (Nachtrag 29.11.2026) */
.tb-wrap { display: flex; gap: 16px; align-items: center; }
.tb-box { flex: 0 0 170px; } .tb-box svg { width: 170px; height: auto; }
.tb-knoepfe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.tb-knopf.ok { background: #2f7a4a; border-color: #5ad07a; }
.tb-fb { margin-top: 12px; min-height: 3em; padding: 10px 12px; border-radius: 10px; background: #ffffff0d; line-height: 1.45; }

/* Rollenspiel-Ecke (Nachtrag 29.11.2026) */
.pp-buehne { margin-top: 12px; }
.pp-bogen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp-bogen { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 10px; border-radius: 10px; border: 2px dashed #c9b48a; background: #f4ead2; color: #3a2a18; font: inherit; cursor: pointer; text-align: center; }
.pp-bogen:hover { background: #fff4d8; } .pp-icon { font-size: 2em; } .pp-bonus { color: #7a3ea8; font-weight: 700; }
.pp-taten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pp-wurf { display: flex; align-items: center; gap: 18px; justify-content: center; }
.pp-w20 { width: 84px; height: 84px; display: grid; place-items: center; font: 700 2em Georgia, serif; color: #fff; background: #e85a5a; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.pp-w20.ok { background: #2f9a5a; } .pp-w20.no { background: #8a8a9a; }
.larp-teile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.larp-teil.ok { background: #7a3ea8; border-color: #c9a2ff; }
.larp-regeln { margin-top: 12px; }
.larp-regel-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.larp-regel { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 10px; border-radius: 10px; border: 1px solid #ffffff2a; background: #ffffff0d; color: inherit; font: inherit; font-size: .92em; cursor: pointer; line-height: 1.35; }
.larp-regel.ok { border-color: #5ad07a; background: #2f7a4a55; }
.larp-ende { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #e7bd6222; }
@media (max-width: 760px) { .tb-wrap { flex-direction: column; } .tb-knoepfe, .pp-bogen-reihe, .larp-teile, .larp-regel-reihe { grid-template-columns: 1fr 1fr; } .pp-taten { grid-template-columns: 1fr; } }

/* Zungen raus – Lolli-Möpse (Nachtrag 29.11.2026) */
.zr-intro { margin: 0 0 8px; }
.zr-oben { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zr-wuerfel { display: flex; gap: 10px; min-height: 40px; align-items: center; }
.zr-lolli { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #ffffff14; font-weight: 700; }
.zr-lolli i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset -3px -3px 0 #0003; }
.zr-feld { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 12px 0; }
.zr-mops, .zr-platz { display: flex; flex-direction: column; align-items: center; padding: 4px; border-radius: 12px; border: 2px solid #ffffff22; background: #7ec26a33; color: inherit; font: inherit; cursor: pointer; min-height: 96px; }
.zr-mops small { font-size: .72em; opacity: .85; } .zr-mops:not([disabled]):hover { transform: translateY(-2px); border-color: #ff8fc8; }
.zr-mops[disabled] { cursor: default; } .zr-mops.offen { border-color: #ffd54a; background: #ffd54a22; }
.zr-platz.leer { background: #ffffff06; border-style: dashed; }
.mops-svg { width: 88px; height: 88px; } .mops-svg.klein { width: 38px; height: 38px; }
.zr-garten-box { padding: 8px 10px; border-radius: 10px; background: #4cc46a22; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 50px; }
.zr-fb { margin-top: 10px; min-height: 2.6em; line-height: 1.4; }
@media (max-width: 760px) { .zr-feld { grid-template-columns: repeat(4, 1fr); } .mops-svg { width: 54px; height: 54px; } }

/* Geheime Welt 7 – Das Schlüsselloch (0.8.2) */
.w7-eingabe { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.w7-eingabe input { flex: 1 1 220px; font-size: 18px; padding: 10px 12px; border-radius: 10px; border: 2px solid #e7bd62; background: #1a1424; color: inherit; text-transform: uppercase; letter-spacing: .08em; }
.w7-fb { margin-top: 12px; min-height: 2.4em; line-height: 1.45; }
.w7-mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; }
.w7-gross { font-size: 1.5em; }
.w7-hilfe { font-size: .9em; opacity: .85; padding: 8px 10px; border-radius: 8px; background: #ffffff10; }
.w7-zitat { font-style: italic; padding: 8px 12px; border-left: 4px solid #e7bd62; background: #e7bd6214; }
.w7-bst { width: 96px; height: 96px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 16px; background: var(--c); color: #1a1008; font: 700 56px Georgia, serif; box-shadow: 0 6px 0 #0004; }
.w7-split svg { width: 90px; height: 90px; display: block; margin: 0 auto; }
.w7-uv { display: flex; gap: 10px; justify-content: center; padding: 18px; border-radius: 12px; background: #1a0a2a; font: 700 44px Georgia, serif; }
.w7-uv span { color: #c8a2ff; text-shadow: 0 0 14px #b78cff; } .w7-uv span.d { opacity: .18; text-shadow: none; }
.w7-rad { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.w7-rad-zeige { text-align: center; min-width: 200px; padding: 12px; border-radius: 50%; border: 4px dashed #5fc4e8; }
.w7-hinweise { line-height: 1.6; }
.w7-gitter { display: grid; gap: 8px; margin: 10px 0; } .w7-gitter label { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #ffffff0d; }
.w7-gitter select { font-size: 16px; padding: 6px 8px; border-radius: 8px; }
.w7-glocken { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.w7-glocke { padding: 14px 6px; border-radius: 14px; border: 3px solid var(--c); background: #ffffff0a; color: inherit; font-size: 2em; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.w7-glocke small { font-size: .45em; } .w7-glocke.an { background: var(--c); transform: scale(1.06); }
.w7-spiegel { transform: scaleX(-1); text-align: center; font: 700 46px Georgia, serif; padding: 14px; border-radius: 12px; background: #2a1a2a; color: #ffd0e8; }
.w7-zahn { display: flex; gap: 18px; justify-content: center; margin: 14px 0; }
.w7-rad-knopf { width: 104px; height: 104px; border-radius: 50%; border: 6px dashed #f39a2b; background: #6a4a2a; color: #fff; font-size: 44px; cursor: pointer; }
.w7-rad-knopf span { display: inline-block; transition: transform .25s; }
.w7-seiten { display: flex; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
.w7-seite { min-height: 120px; padding: 12px; border-radius: 12px; background: #22183a; }
.w7-lampen { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.w7-lampe { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; border: 3px solid #a993f0; background: #1a1428; filter: grayscale(1) brightness(.6); cursor: pointer; color: inherit; }
.w7-lampe.an { filter: none; background: #a993f055; box-shadow: 0 0 16px #cbb8ff; }
.w7-knoepfe { display: flex; gap: 30px; justify-content: center; margin: 16px 0; }
.w7-knopf { width: 130px; height: 130px; border-radius: 50%; border: 0; color: #fff; font: 700 20px Arial, sans-serif; cursor: pointer; box-shadow: 0 8px 0 #0006; }
.w7-knopf.rot { background: #e85a5a; } .w7-knopf.blau { background: #3f8de8; } .w7-knopf.an { transform: translateY(5px); box-shadow: 0 3px 0 #0006; }
.w7-gesch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w7-g, .w7-b { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 10px; border: 2px solid #ffffff22; background: #ffffff0a; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.w7-g span { font-size: 1.8em; } .w7-g.an, .w7-b.an { border-color: #e7bd62; background: #e7bd6222; } .w7-b[disabled] { opacity: .4; cursor: default; }
.w7-bausteine { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 12px 0; }
.w7-b small { opacity: .7; font-size: .8em; }
.w7-plan { padding: 10px 12px; border-radius: 10px; background: #e7bd6214; margin-bottom: 10px; line-height: 1.5; }
.w7-karten-reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.w7-karte { padding: 12px; border-radius: 10px; background: #fff4d8; color: #3a2a18; border: 2px dashed #c9a24a; }
.w7-urk { text-align: center; padding: 24px; border-radius: 14px; background: #fff8e4; color: #3a2a18; border: 6px double #c9a24a; }
.w7-urk-titel { font: 700 44px Georgia, serif; color: #8a5a10; margin-bottom: 10px; }
.w7-urk-sig { margin-top: 16px; font-style: italic; }
@keyframes w7swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.a-swing { transform-origin: 30px 76px; animation: w7swing 1.6s ease-in-out infinite; }
@media (max-width: 760px) { .w7-gesch { grid-template-columns: 1fr; } .w7-glocken { grid-template-columns: repeat(2, 1fr); } .w7-rad-knopf { width: 80px; height: 80px; } }

/* Johanna, Jenny & Franzi (0.8.3) */
.jh-buecher { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.jh-buch { min-height: 54px; padding: 8px 12px; border-radius: 6px; border: 0; border-left: 8px solid #0003; background: var(--c); color: #fff; font: 700 15px Georgia, serif; cursor: pointer; }
.jh-regal { padding: 10px; border-radius: 8px; background: #3a2418; min-height: 46px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.jh-steht { padding: 6px 8px; border-radius: 4px; background: #f4e9d0; color: #3a2418; font: 13px Georgia, serif; }
.jf-wahl { display: flex; gap: 14px; justify-content: center; margin: 14px 0; }
.jf-ding { width: 90px; height: 90px; border-radius: 18px; border: 3px solid #ffffff33; background: #ffffff10; font-size: 46px; cursor: pointer; }
.jf-ding:hover { transform: scale(1.06); border-color: #e7bd62; }
/* Omas Spielchronik: Hinweise auf den Karten (seit 0.9.2) */
.chr-card { display: flex; flex-direction: column; gap: 3px; max-width: 230px; text-align: left; }
.chr-card .chr-tipp { font-style: italic; opacity: .85; font-size: .82em; line-height: 1.25; }
/* Wer hat den Würfel geklaut? (0.9.3) */
.ws-modal .ws-intro{margin:0 0 8px}
.ws-nacht{background:#1e1838;border-radius:10px;padding:8px 12px;margin-bottom:8px}
.ws-tisch{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.ws-person{display:flex;flex-direction:column;align-items:center;gap:4px;background:rgba(255,255,255,.06);border:2px solid rgba(255,255,255,.12);border-radius:12px;padding:8px;color:inherit;font:inherit;cursor:pointer;text-align:center}
.ws-person:hover,.ws-person:focus-visible{border-color:#c9b8ff;background:rgba(169,147,240,.15)}
.ws-person svg{width:70px;height:91px}
.ws-person.raus{opacity:.5;cursor:default}
.ws-sprech{font-size:.82em;background:#fff;color:#2a2a3a;border-radius:10px;padding:6px 8px;position:relative}
.ws-helfer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0}
.ws-lucien{display:flex;align-items:center;gap:8px;flex:1;min-width:260px;background:rgba(95,184,255,.12);border-radius:10px;padding:6px 10px}
.ws-lucien svg,.ws-flu svg{width:48px;height:62px}
.ws-flu{display:flex;align-items:center;gap:6px}
.ws-info{min-height:1.5em;text-align:center}
.ez-gross,.ez-rolle{font-size:1.4em;text-align:center}
.ez-rolle{font-size:2em}
.ez-schritt{font-size:1.25em;line-height:1.5;text-align:center;min-height:4em}
.ez-uhr{font-size:2.4em;text-align:center;font-variant-numeric:tabular-nums}
.ez-knoepfe{text-align:center}
/* Maskottchen-Rennen (0.9.3) */
.mr-kopf{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;background:#1e1838;border-radius:10px;padding:6px}
.mr-bahn{position:relative;margin:10px 0;background:#c8643a;border-radius:12px;padding:6px 40px 6px 6px}
.mr-spur{display:flex;align-items:center;gap:8px;height:64px;border-bottom:2px dashed rgba(255,255,255,.6)}
.mr-spur:last-of-type{border-bottom:0}
.mr-name{width:52px;font-weight:bold;color:#fff;text-shadow:0 1px 2px #0008}
.mr-strecke{position:relative;flex:1;height:100%}
.mr-figur{position:absolute;top:0;transform:translateX(-50%);transition:left .35s ease}
.mr-figur svg{width:48px;height:62px}
.mr-figur.mr-zuck svg{animation:kinoZittern .12s linear 3}
.mr-pos{width:26px;text-align:right;color:#fff;font-weight:bold}
.mr-ziel{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:28px}
.mr-karte{min-height:58px;display:flex;justify-content:center}
.mr-k{background:#fbf8f0;color:#2a2a3a;border-radius:10px;padding:10px 16px;font-weight:bold;box-shadow:0 4px 12px #0006;animation:popIn .25s}
.mr-k.geheim{background:#ffe9a8;border:3px dashed #c9a24a}
.mr-k small{display:block;font-weight:normal;font-size:.8em}
.mr-schritt{margin:6px 0}
.mr-knoepfe{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.mr-knoepfe .btn.gewaehlt{background:#f5b83a;color:#2a1a0a;border-color:#f5b83a}
.mr-wahl{text-align:center}
.mr-info{text-align:center;min-height:1.5em}
@keyframes popIn{from{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}
/* Wimmelbild (0.9.3) */
.wb-modal .modal{max-width:min(1300px,96vw)}
.wb-auftrag{margin:0 0 6px}
.wb-such{display:inline-block;background:rgba(255,255,255,.08);border-radius:8px;padding:2px 8px;margin:2px;font-size:.9em}
.wb-such.ok{background:#5ad07a;color:#0a2a0a}
.wb-zoom{display:flex;gap:6px;justify-content:center;margin-bottom:6px}
.wb-zoom .btn.gewaehlt{background:#f5b83a;color:#2a1a0a}
.wb-rahmen{max-height:62vh;overflow:auto;border-radius:12px;border:3px solid #8a5a2a;cursor:crosshair}
.wb-svg{display:block;width:100%;height:auto}
.wb-ziel{cursor:crosshair}
.wb-ziel.gefunden{filter:drop-shadow(0 0 6px #ffe66a) drop-shadow(0 0 12px #ffe66a)}
.wb-ziel.wb-tipp{animation:wbTipp 1.2s ease-in-out infinite}
@keyframes wbTipp{50%{filter:drop-shadow(0 0 14px #fff) brightness(1.4)}}
.wb-info{text-align:center;min-height:1.4em}
/* Doppelt gesehen (0.9.3) */
.dp-stand{display:flex;gap:18px;justify-content:center;background:#1e1838;border-radius:10px;padding:6px}
.dp-tisch{display:flex;gap:4%;justify-content:center;margin:12px 0}
.dp-karte{position:relative;width:min(300px,42vw);aspect-ratio:1;border-radius:50%;background:#fbf8f0;border:6px solid #e8485a;box-shadow:0 6px 18px #0006}
#dp-b{border-color:#3f8de8}
.dp-sym{position:absolute;background:none;border:0;padding:0;cursor:pointer;line-height:1;transition:filter .15s}
.dp-sym:hover{filter:drop-shadow(0 0 6px #f5b83a)}
.dp-sym.dp-ok{filter:drop-shadow(0 0 10px #5ad07a) drop-shadow(0 0 4px #5ad07a)}
.dp-sym.dp-falsch{animation:kinoZittern .1s linear 3}
.dp-info{text-align:center;min-height:1.4em}
/* Gaiagames (0.9.3) */
.gg-dinge{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:8px 0}
.gg-ding{background:#fbf8f0;color:#2a2a3a;border:3px solid #c8b890;border-radius:10px;padding:8px 10px;cursor:pointer;font:inherit}
.gg-ding.drin{border-color:#3a9a3a;background:#dff5d8;transform:translateY(-2px)}
.gg-schachtel{background:#3a5a2a;border-radius:10px;padding:8px 12px;margin:8px 0;min-height:2.2em}
.gg-info{text-align:center;min-height:1.4em}
#gg-pruef{display:block;margin:0 auto}
/* Serious-Games-Werkstatt (0.9.3) */
.sg-ziel{background:#1e1838;border-radius:10px;padding:8px 12px;margin-bottom:8px}
.sg-spalten{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sg-spalten h4{margin:4px 0;color:#f5b83a}
.sg-opt{display:block;width:100%;margin:4px 0;text-align:left}
.sg-opt.gewaehlt{background:#f5b83a;color:#2a1a0a;border-color:#f5b83a}
#sg-bauen{display:block;margin:10px auto 0}
.sg-info{text-align:center;min-height:1.4em}
@media (max-width:640px){.sg-spalten{grid-template-columns:1fr}}
.pp-ergebnis{text-align:center}.pp-ergebnis h3{color:#e86a8a;margin:8px 0 4px}#pp-ok{display:block;margin:10px auto 0}
.st-modal .st-info{text-align:center;min-height:1.4em}#rg-ok{display:block;margin:6px auto 0}
/* Ferienfreizeit (0.9.3) */
.sc-stand,.mw-stand{display:flex;gap:16px;justify-content:center;background:#1e1838;border-radius:10px;padding:6px;flex-wrap:wrap}
.sc-karte{display:flex;justify-content:center;margin:10px 0}
.sc-k{background:#fbf8f0;color:#2a2a3a;border-radius:12px;padding:8px 18px;text-align:center;box-shadow:0 4px 12px #0006}
.sc-k small{display:block;font-weight:bold;margin-bottom:4px}
.sc-bilder{display:flex;gap:10px;font-size:2.2em;justify-content:center}
.sc-bilder.stapel{flex-direction:column-reverse;gap:0;line-height:1.15}
.sc-reihe{display:flex;gap:4px;justify-content:center;min-height:64px;align-items:flex-end}
.sc-reihe.stapel{flex-direction:column-reverse;align-items:center;gap:0}
.sc-reihe svg.sc-klein{width:44px;height:52px}
.sc-reihe.stapel svg.sc-klein{margin-top:-18px}
.sc-leer{opacity:.6;font-size:.9em;align-self:center}
.sc-becher{display:flex;gap:10px;justify-content:center;margin:8px 0}
.sc-b{background:none;border:2px solid transparent;border-radius:10px;cursor:pointer;color:inherit;font:inherit;display:flex;flex-direction:column;align-items:center}
.sc-b:hover{border-color:#f5b83a}.sc-b:disabled{opacity:.3}
.sc-b svg{width:54px;height:64px}
.sc-knoepfe,.sc-info,.mw-info,.mw-mitte,.mw-ende{text-align:center}
.sc-info,.mw-info{min-height:1.4em}
.mw-bots{display:flex;gap:20px;justify-content:center;margin:8px 0;flex-wrap:wrap}
.mw-k{width:52px;height:72px;border-radius:8px;border:3px solid #e8c8a8;background:#8a5a3a;color:#2a2a3a;margin:2px;cursor:pointer;font:inherit;vertical-align:middle}
.mw-k.offen{background:#fff6ec}
.mw-k b{display:block;font-size:1.3em}
.mw-bots .mw-k{width:36px;height:50px;cursor:default}
.mw-hand{display:flex;gap:6px;justify-content:center;margin-top:8px}
.mw-hand .mw-k{width:64px;height:88px}
.mw-mitte{margin:8px 0}
.ff-idee{display:flex;align-items:center;gap:10px;width:100%;margin:6px 0;text-align:left}
.ff-idee svg{width:46px;height:60px;flex-shrink:0}
/* Spiele-Schule (0.9.3) */
.ps-spalten{display:grid;grid-template-columns:1fr 1.4fr;gap:12px}
.ps-ag,.ps-be{display:block;width:100%;margin:4px 0;text-align:left}
.ps-ag small{display:block;opacity:.7;font-size:.8em}
.ps-ag.gewaehlt{background:#f5b83a;color:#2a1a0a}
.ps-ok{background:#5ad07a !important;color:#0a2a0a !important;opacity:.75}
.ko-zeile{display:flex;gap:16px;align-items:center}
.ko-fig{display:flex;flex-direction:column;align-items:center;min-width:150px}
.ko-fig svg{width:140px;height:182px}
.sk-tische{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:8px 0}
.sk-tisch{display:flex;flex-direction:column;align-items:center;background:rgba(255,255,255,.06);border-radius:8px;padding:4px;font-size:.85em;text-align:center}
.sk-tisch svg{width:50px;height:65px}
.sk-tisch small{opacity:.8}
@media (max-width:700px){.ps-spalten{grid-template-columns:1fr}.sk-tische{grid-template-columns:repeat(3,1fr)}.ko-zeile{flex-direction:column}}

/* ===== Level 4: Retro-Museum (0.10) ===== */
.l4-modal .st-info { min-height: 1.4em; font-weight: bold; }
.l4-k { text-align: center; margin: 6px 0; }
.l4-tv { position: relative; width: 280px; height: 190px; margin: 10px auto; border-radius: 30px; background: #2a3a3a; border: 12px solid #8a5a3a; overflow: hidden; }
.l4-bild { position: absolute; inset: 0; display: grid; place-items: center; font-size: 70px; background: #1a4a2a; }
.l4-schnee { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 30% 40%, #fff 0 1px, #333 1px 3px), repeating-linear-gradient(90deg, #ddd 0 2px, #222 2px 4px); animation: l4rausch .12s steps(2) infinite; }
@keyframes l4rausch { 0% { background-position: 0 0, 0 0; } 100% { background-position: 3px 5px, 2px 0; } }
#l4-knopf { display: block; width: 80%; margin: 8px auto; }
.l4-pwzeile { font-family: 'Courier New', monospace; font-size: 1.7em; letter-spacing: .15em; text-align: center; background: #0a0a18; color: #7cff9a; padding: 10px; border-radius: 8px; min-height: 1.6em; margin: 8px 0; }
.l4-pwtasten { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; }
.l4-pwtasten .btn { font-size: 1.4em; min-width: 52px; }
.l4-sprite { display: flex; justify-content: center; background: #8ac8e8; border-radius: 10px; padding: 10px; margin: 8px auto; width: 230px; }
.l4-palette { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.l4-farbe { width: 46px; height: 46px; border-radius: 8px; border: 3px solid #fff8; cursor: pointer; }
.l4-farbe.an { outline: 4px solid #ffd23a; transform: scale(1.12); }
.l4-anl { background: #fff8e8; color: #3a2a1a; border-left: 6px solid #c8843a; padding: 10px 14px; font-family: Georgia, serif; border-radius: 6px; }
.l4-pad { display: flex; justify-content: center; gap: 40px; align-items: center; margin: 10px 0; }
.l4-kreuz { display: grid; grid-template: 'a u b' 'l c r' 'd o e' / 52px 52px 52px; gap: 3px; }
.l4-kreuz [data-t="↑"] { grid-area: u; } .l4-kreuz [data-t="←"] { grid-area: l; } .l4-kreuz [data-t="→"] { grid-area: r; } .l4-kreuz [data-t="↓"] { grid-area: o; }
.l4-ab { display: flex; gap: 12px; } .l4-ab .btn { border-radius: 50%; width: 60px; height: 60px; font-weight: bold; background: #c8485a; color: #fff; }
.l4-gb { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 6px 0; }
.l4-gbs { background: #b8b8a8; border-radius: 10px 10px 30px 10px; padding: 18px 14px; color: #2a3a1a; font-weight: bold; box-shadow: inset 0 0 0 6px #8a9a6a; }
.l4-kabel { font-size: 1.4em; color: #4a4a5a; }
.l4-mon { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.l4-saves { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.l4-saves .drin { background: #3f8de8; color: #fff; }
.l4-bloecke { display: flex; gap: 3px; align-items: center; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
.l4-bloecke span { width: 22px; height: 28px; border-radius: 3px; background: #3a3a4a; border: 2px solid #6a6a8a; }
.l4-bloecke span.voll { background: #5ad07a; }
.l4-zuviel { color: #ff6a6a; }
.l4-feld { position: relative; width: min(600px, 90vw); aspect-ratio: 600 / 360; margin: 8px auto; background: #0a1a12; border: 8px solid #8a5a3a; border-radius: 16px; overflow: hidden; touch-action: none; cursor: none; }
.l4-netz { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 4px dashed #e8fff066; }
.l4-sch { position: absolute; left: 3%; width: 1.6%; height: 19.4%; background: #e8fff0; }
.l4-sch.r { left: auto; right: 3%; }
.l4-ball { position: absolute; width: 2%; aspect-ratio: 1; background: #e8fff0; transform: translate(-50%, -50%); }
.l4-score { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font: bold 30px 'Courier New', monospace; color: #e8fff0; }
.l4-kab { display: flex; justify-content: center; gap: 60px; margin: 8px 0; }
.l4-kspalte { display: flex; flex-direction: column; gap: 6px; min-width: 170px; }
.l4-kspalte .btn { display: flex; align-items: center; gap: 8px; text-align: left; }
.l4-kspalte i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #0006; flex: none; }
.l4-kspalte small { opacity: .7; margin-left: auto; }
.l4-kspalte .an { outline: 3px solid #ffd23a; }
.l4-kspalte .drin { opacity: .45; }
.l4-fach { display: flex; flex-direction: column; gap: 8px; align-items: center; background: #3a3a40; padding: 14px; border-radius: 12px; width: max-content; margin: 8px auto; }
.l4-slot { display: flex; align-items: center; gap: 8px; }
.l4-mark { width: 26px; text-align: center; color: #ffd23a; font-weight: bold; font-size: 1.3em; }
.l4-batterie { display: flex; align-items: center; width: 200px; height: 44px; border-radius: 10px; border: 0; background: linear-gradient(#e8c040, #a88020); cursor: pointer; padding: 0 10px; font-size: 1.3em; color: #2a1a00; }
.l4-batterie span { flex: 1; }
.l4-c64scr { background: #3a32a8; color: #a8a0ff; font-family: 'Courier New', monospace; padding: 14px; border: 18px solid #a8a0ff; border-radius: 6px; min-height: 160px; }
.l4-c64scr input { background: #2a2290; border: 0; border-bottom: 2px solid #a8a0ff; color: #fff; caret-color: #fff; font: inherit; text-transform: uppercase; width: 80%; min-width: 260px; outline: none; padding: 2px 4px; }
.l4-zeile { display: flex; gap: 6px; align-items: center; }
.l4-ladebalken { height: 14px; margin: 4px 0; background: repeating-linear-gradient(0deg, #e8485a 0 3px, #f5c842 3px 6px, #4ab04a 6px 9px, #3f8de8 9px 12px); animation: l4lade 1s linear; }
@keyframes l4lade { from { width: 0; } to { width: 100%; } }
.l4-heftbox { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; }
.l4-seite { width: 340px; min-height: 150px; background: #fffaf0; color: #3a2a1a; border-radius: 4px 12px 12px 4px; box-shadow: inset 10px 0 12px -8px #0005, 0 3px 8px #0006; padding: 12px 16px; font-family: Georgia, serif; }
.l4-seite span:hover { background: #ffe9a8; }
.l4-frage { color: #ffd23a; }
#l4-wort { padding: 8px; font-size: 1.1em; border-radius: 6px; border: 2px solid #c9a45c; }
.l4-mfeld { aspect-ratio: 600 / 400; }
.l4-msch { position: absolute; bottom: 5%; height: 3%; background: #e8fff0; border-radius: 4px; }
.l4-stein { position: absolute; border-radius: 3px; box-shadow: inset 0 -4px 0 #0004; transition: opacity .25s, transform .25s; }
.l4-stein.weg { opacity: 0; transform: scale(.4); }
.l4-ans { display: inline-flex; gap: 10px; }
.l4-an { display: inline-flex; flex-direction: column; align-items: center; font-size: .8em; }

/* ===== Level 5: Filmstudio (0.10) ===== */
.l5-modal .st-info { min-height: 1.4em; font-weight: bold; }
.l5-genre, .l5-anw { text-align: center; font-size: 1.08em; }
.l5-reihe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 6px 0; }
.l5-reihe > b { min-width: 90px; }
.l5-reihe .an, .l5-clips .an { background: #e8485a; color: #fff; }
.l5-sucherbild { position: relative; width: 400px; max-width: 90%; aspect-ratio: 400 / 240; margin: 8px auto; overflow: hidden; border-radius: 6px; background: #000; }
.l5-szene { width: 100%; height: 100%; transition: transform .15s; }
.l5-szene svg { width: 100%; height: 100%; display: block; }
.l5-rahmen { position: absolute; inset: 0; border: 3px dashed #fff8; pointer-events: none; box-shadow: inset 0 0 0 2px #0008; }
.l5-rahmen::before { content: '● REC'; position: absolute; top: 6px; left: 10px; color: #ff4a4a; font: bold 12px Arial; }
#l5-zoom { display: block; width: 70%; margin: 6px auto; }
.l5-kamwahl { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.l5-kampos { display: inline-block; margin-right: 6px; }
.l5-kampos.oben { transform: rotate(45deg); } .l5-kampos.unten { transform: rotate(-45deg); }
.l5-vorschau { height: 170px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #8ac8e8; border-radius: 8px; margin: 8px auto; width: 260px; }
.l5-vfig svg { width: 110px; height: 143px; display: block; transition: transform .3s; }
.l5-vfig.oben svg { transform: perspective(300px) rotateX(35deg) scale(.6); }
.l5-vfig.unten svg { transform: perspective(300px) rotateX(-35deg) scale(1.35); }
.l5-streifen, .l5-daumenreihe { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; background: #1a1a1a; padding: 10px; border-radius: 6px; border-top: 8px dashed #444; border-bottom: 8px dashed #444; }
.l5-bild { width: 120px; height: 120px; border: 3px solid #fff3; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: #3a2a1a; }
.l5-bild span { font-size: 40px; } .l5-bild small { font-size: .7em; padding: 0 4px; }
.l5-bild.an, .l5-db.an { outline: 4px solid #ffd23a; }
.l5-db { width: 96px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; }
.l5-db svg, .l5-kino svg { display: block; width: 100%; }
.l5-kino { width: 200px; margin: 8px auto; border: 4px solid #3a2a1a; border-radius: 6px; min-height: 40px; }
.l5-rbliste { display: flex; flex-direction: column; gap: 6px; max-width: 560px; margin: 8px auto; }
.l5-rbliste .l5-alt { filter: grayscale(1) sepia(.5); font-style: italic; }
.l5-zaehl { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 8px 0; }
.l5-zaehl b { font-size: 2em; min-width: 80px; text-align: center; }
.l5-fotos { text-align: center; min-height: 1.4em; letter-spacing: -2px; word-break: break-all; max-width: 520px; margin: 0 auto 8px; }
.l5-fskreihe { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.l5-fsk { width: 86px; height: 86px; border-radius: 10px; border: 3px solid #2a2a2a; font: bold 28px Arial; color: #1a1a1a; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.l5-fsk small { font-size: 10px; font-weight: normal; }
.l5-clips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.l5-timeline { display: flex; gap: 6px; margin: 10px 0; }
.l5-timeline span { flex: 1; min-height: 60px; background: #1a1a1a; color: #ffe9a8; border: 2px dashed #ffe9a8; border-radius: 6px; padding: 6px; font-size: .85em; display: flex; align-items: center; justify-content: center; text-align: center; }

/* ===== Frau Mandy, der Schulhund (0.10.0) ===== */
.mandy-wedel { transform-origin: 150px 196px; animation: mandyWedel .35s ease-in-out infinite alternate; }
@keyframes mandyWedel { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }
.mandy-tisch { position: relative; height: 170px; background: #c8925a; border-radius: 14px; margin: 10px auto; max-width: 520px; box-shadow: inset 0 -10px 0 #a8723a; }
.mandy-becher { position: absolute; top: 20px; width: 24%; height: 130px; background: none; border: 0; cursor: pointer; transition: left .3s ease; font-size: 70px; }
.mandy-becher:disabled { cursor: default; }
.mandy-becher .md-ball { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 34px; opacity: 0; }
.mandy-becher .md-becher { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); transition: bottom .3s; line-height: 0; }
.mandy-becher.offen .md-ball { opacity: 1; }
.mandy-becher.offen .md-becher { bottom: 60px; }
.mandy-becher.schnupper { filter: drop-shadow(0 0 10px #ffd23a); }
