/* Nr. 271: aus css/karoline-eck.css übrig geblieben (Eck gestrichen). Vollbild-Grundlage für Frag Karoline (.vollbild), dazu Probier-Bingo, Wettbuch, Hof-Reise und Frag Karoline. */
.vollbild { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: #e7f0d8; color: #2b2a24; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); overflow: hidden; }
body.vollbild-offen { overflow: hidden; }
.vollbild.frag.tastatur { padding-bottom: 0; }  /* Nr. 209: bei offener Tastatur kein Home-Balken-Abstand */
.vollbild.frag.tastatur .frag-figur, .vollbild.frag.tastatur .frag-chips, .vollbild.frag.tastatur .frag-chips-kopf { display: none; }  /* und Platz für das Gespräch: Figur und Beispiel-Fragen weichen */
html.dark .vollbild { background: #1d2a1f; color: #e8eadf; }
.vollbild-leiste { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,.55); }
html.dark .vollbild-leiste, .vollbild[data-stimmung="schlaeft"] .vollbild-leiste { background: rgba(0,0,0,.3); }
.vollbild-leiste h2 { flex: 1; font-size: 1.05rem; font-weight: 700; margin: 0; }
.vollbild-x { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: inherit; font-size: 1.1rem; }
.vollbild-x { flex: none; }
.vollbild-leiste h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }

/* Nr. 188/390: Probier-Bingo (Dashboard-Karte und Fenster) mit Hof-Stempel & Karoline-Vignette */
.bingo-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.bingo-feld { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 3px; min-height: 92px; padding: 8px 6px; border-radius: 14px; border: 1.5px solid var(--st-rand, rgba(120, 120, 120, .35)); background: var(--st-flaeche); }
.bingo-feld[data-gestempelt="1"] { border-color: var(--st-haupt); background: color-mix(in srgb, var(--st-haupt) 7%, var(--st-flaeche)); }
.bingo-stempel { display: inline-flex; align-items: center; justify-content: center; color: var(--st-haupt); transform: rotate(-8deg); animation: bingo-plopp calc(var(--takt-tipp) * 2) var(--kurve-raus); }
.bingo-titel { font-size: 13px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.bingo-hinweis { font-size: 13px; line-height: 1.2; opacity: .75; overflow-wrap: anywhere; }
.bingo-mitte { border-style: dashed; border-width: 2px; }
.bingo-kommentar { display: flex; align-items: flex-end; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--st-flaeche-gedaempft, rgba(0, 0, 0, .03)); border: 1px solid var(--st-linie); }
.bingo-kommentar-tier { flex: none; line-height: 0; }
.bingo-kommentar p { margin: 0; }
@keyframes bingo-plopp { from { transform: scale(.4) rotate(-14deg); opacity: 0; } to { transform: scale(1) rotate(-8deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bingo-stempel { animation: none; } }
html.tiere-aus .bingo-stempel { animation: none; }

/* Nr. 201: Karolines Wettbuch (Fenster) */
.wettbuch-panel { max-height: 90vh; overflow-y: auto; }
.wettbuch-zeile { border-top: 1px solid var(--st-rand, rgba(120, 120, 120, .35)); padding: 8px 0; }
.wettbuch-zeile[data-zustand="offen"] { border-left: 3px solid var(--st-haupt); padding-left: 8px; }

/* Nr. 190/390: Hof-Reise (Zaunbrett-2.0-Karte, Fenster, Postkarten) */
.reise-kopf { display: block; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; min-height: 48px; }
.reise-linie { display: block; width: 100%; height: auto; margin: 6px 0; border-radius: 12px; }
.reise-grund { fill: #e9f3f8; stroke: #d8ccb2; stroke-width: 1.2; }
.reise-huegel-a { fill: #cfe0bd; }
.reise-huegel-b { fill: #b5ce9c; }
html.dark .reise-grund { fill: #1b2838; stroke: #364558; }
html.dark .reise-huegel-a { fill: #24382c; }
html.dark .reise-huegel-b { fill: #1b2d22; }
.reise-weg { fill: none; stroke: var(--st-haupt); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 5; opacity: .55; }
.reise-fortschritt { fill: none; stroke: var(--st-haupt); stroke-width: 3.5; stroke-linecap: round; }
.reise-punkt { fill: var(--st-flaeche); stroke: var(--st-haupt); stroke-width: 2; }
.reise-punkt.reise-an { fill: var(--st-haupt); }
.reise-ort { font-size: 8.5px; font-weight: 600; fill: currentColor; }
.reise-marke { fill: #fbfaf6; stroke: #2b2622; stroke-width: 1.6; }
.reise-postkarte { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 14px; background: var(--st-flaeche-gedaempft, rgba(0, 0, 0, .03)); border: 1px solid var(--st-linie); }
.reise-postkarte svg { flex: none; }
.reise-panel { max-height: 90vh; overflow-y: auto; }

/* Nr. 198/235: Frag Karoline (Vollbild, z-index 95). Eine Farbwelt aus dem Portal-Thema (--st-*, hell oder Nachtblau), Akzent Karoline-Gelb. Fehler und Limits sind nie rot. */
.vollbild.frag, html.dark .vollbild.frag { z-index: 95; background: var(--st-grund); color: var(--st-text); --frag-gelb: #F0B429; --frag-gelb-text: #2B2622; --frag-schrift-akzent: #8A5A00; --frag-blase: var(--st-flaeche); --frag-rand: var(--st-linie); }
html.dark .vollbild.frag { --frag-schrift-akzent: #F2C14E; --frag-gelb: #F2C14E; }
.vollbild.frag .vollbild-leiste, html.dark .vollbild.frag .vollbild-leiste { background: transparent; }
/* Nr. 266: eigene deckende Fläche über die ganze Seite (fest am Bildschirm, hinter dem Inhalt des Fensters) – auch wenn iOS die Höhe des sichtbaren Bereichs zu spät meldet, scheint die Spielwiese nie durch */
.vollbild.frag::before { content: ""; position: fixed; top: -100vh; bottom: -100vh; left: 0; right: 0; z-index: -1; background: var(--st-grund); pointer-events: auto; }
.frag-info { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px 0 -10px -4px; vertical-align: middle; border: 0; background: transparent; color: var(--st-text-gedaempft); font-size: 1.1rem; }
.frag-figur { flex: none; display: flex; justify-content: center; }
.frag-figur svg { width: 72px; height: auto; display: block; }
.frag-begruessung { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px 4px; }
.frag-begruessung .frag-sie { max-width: none; flex: 1; border-bottom-left-radius: 6px; }
.frag-verlauf { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.frag-verlauf > :first-child { margin-top: auto; }  /* Nr. 266: kurzes Gespräch sitzt unten über der Eingabe (Chat-Reihenfolge); margin statt justify-content, damit lange Gespräche oben nicht abgeschnitten werden */
.frag-du, .frag-sie { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.frag-du { align-self: flex-end; background: var(--st-haupt); color: var(--st-haupt-text); border-bottom-right-radius: 6px; }
.frag-sie { align-self: flex-start; background: var(--frag-blase); color: var(--st-text); border: 1px solid var(--frag-rand); border-bottom-left-radius: 6px; }
.frag-sie-reihe { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.frag-sie-reihe .frag-sie { max-width: calc(100% - 44px); }
.frag-kopf { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--st-flaeche-gedaempft); }
.frag-kopf svg { width: 100%; height: 100%; display: block; }
.frag-du p, .frag-sie p { margin: 0; }
.frag-sie p + p, .frag-sie ul { margin-top: 6px; }
.frag-sie b { color: var(--frag-schrift-akzent); }
.frag-sie p.frag-grund { margin-top: 4px; font-size: 0.8125rem; color: var(--st-text-gedaempft); }  /* Nr. 266: Grund für Admins, klein und grau, nie rot */
.frag-liste { margin: 0; padding-left: 1.2em; list-style: disc; }
.frag-denkt { opacity: .9; }
.frag-punkte { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.frag-punkte i { width: 6px; height: 6px; border-radius: 50%; background: var(--st-text-gedaempft); animation: frag-punkt calc(var(--takt-auftritt) * 2) var(--kurve-weich) infinite; }
.frag-punkte i:nth-child(2) { animation-delay: .2s; }
.frag-punkte i:nth-child(3) { animation-delay: .4s; }
@keyframes frag-punkt { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .frag-punkte i { animation: none; opacity: .6; } }
html.tiere-aus .frag-punkte i { animation: none; opacity: .6; }
.frag-chips-kopf { flex: none; padding: 10px 14px 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-text-gedaempft); }
.frag-chips { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; padding: 0 14px 8px; }  /* Nr. 271: alle Reihen gleich hoch, auch wenn ein Beispiel des Tages länger ist */
@media (min-width: 720px) { .frag-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.frag-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 108px; padding: 12px; border: 1px solid var(--frag-rand); border-radius: 18px; background: var(--frag-blase); color: var(--st-text); text-align: left; }
.frag-chip-symbol { font-size: 1.1rem; color: var(--frag-schrift-akzent); margin-bottom: 2px; }
.frag-chip-bereich { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--frag-schrift-akzent); }
.frag-chip-text { font-size: .95rem; line-height: 1.3; font-weight: 600; }
.frag-weiter { display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.frag-weiter-titel { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-text-gedaempft); }
.frag-folgen { display: flex; flex-wrap: wrap; gap: 8px; }
.frag-folge { min-height: 44px; padding: 6px 14px; border: 1px solid var(--frag-rand); border-radius: 999px; background: transparent; color: var(--st-text); font-size: .9rem; }
.frag-form { flex: none; padding: 8px 14px 10px; border-top: 1px solid var(--frag-rand); background: var(--st-grund); }  /* Nr. 266: Eingabe unten, über der Tastatur */
.frag-etikett { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.frag-zeile { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 16px; border: 1.5px solid var(--frag-gelb); border-radius: 999px; background: var(--st-flaeche); }
.frag-zeile:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--frag-gelb) 40%, transparent); }
.frag-eingabe { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--st-text); font-size: 16px; }
html.dark .vollbild.frag .frag-zeile input.frag-eingabe[id] { background-color: transparent; border-color: transparent; color: var(--st-text); }  /* schlägt die allgemeine Dunkel-Regel für Eingabefelder (dunkel.css) */
.frag-eingabe::placeholder { color: var(--st-text-gedaempft); }
.frag-senden { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--frag-gelb); color: var(--frag-gelb-text); font-size: 1rem; }
.frag-senden[disabled], .frag-eingabe[disabled] { opacity: .5; }
/* Nr. 204: Sprungknopf in der Antwort und „Zurück zu Karoline“ */
.frag-ziel { margin-top: 8px; }
.frag-ziel-knopf { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--st-flaeche-gedaempft); color: var(--frag-schrift-akzent); font-weight: 700; font-size: .9rem; }
.frag-zurueck { position: fixed; z-index: var(--ebene-eingabe-2); left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; white-space: nowrap; border: 0; border-radius: 999px; background: #4d7a2a; color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
html.dark .frag-zurueck { background: #3f6a24; }

/* Nr. 269: Reim-Duell und „Wahr oder geflunkert?“ – Heuboden-Szene im Stil der Heuleiter (Nr. 268: warmes Holz, Lichtstrahl, Heuballen, Karoline mit Sprechblase).
   Bewegung nur transform/opacity und nur ohne „Bewegung reduzieren“ / „Tiere aus“ (data-ruhig). Ergebnisse stehen immer auch als Text, Farbe allein trägt nichts; nie rot. */
.vollbild.kis, html.dark .vollbild.kis { z-index: 95; background: var(--st-grund); color: var(--st-text); --kis-holz: #c9955a; --kis-holz-dunkel: #8a5a2e; --kis-heu: #e3bb4f; --kis-heu-strich: #a8781f; --kis-licht: rgba(255, 236, 170, .55); --kis-blase: #fffaf0; --kis-blase-text: #2b2622; --kis-gut: #2f6b3a; --kis-fast: #8a5a00; }
html.dark .vollbild.kis { --kis-holz: #5a3d22; --kis-holz-dunkel: #3a2614; --kis-heu: #b8912f; --kis-heu-strich: #7a5a18; --kis-licht: rgba(255, 220, 140, .18); --kis-blase: #2b2a24; --kis-blase-text: #f3efe3; --kis-gut: #8fd19e; --kis-fast: #f2c14e; }
.vollbild.kis .vollbild-leiste, html.dark .vollbild.kis .vollbild-leiste { background: transparent; }
.vollbild.kis::before { content: ""; position: fixed; top: -100vh; bottom: -100vh; left: 0; right: 0; z-index: -1; background: var(--st-grund); }
.kis-szene { position: relative; flex: none; min-height: 210px; margin: 0 0 8px; overflow: hidden; background: linear-gradient(180deg, var(--kis-holz-dunkel) 0, var(--kis-holz) 26%, var(--kis-holz) 78%, var(--kis-holz-dunkel) 100%); }
.kis-szene::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(0, 0, 0, .12) 46px 48px); pointer-events: none; }
.kis-balken { position: absolute; left: 0; right: 0; top: 18px; height: 12px; background: var(--kis-holz-dunkel); border-top: 1.5px solid #2b2622; border-bottom: 1.5px solid #2b2622; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.kis-strahl { position: absolute; left: 8%; top: 0; width: 46%; height: 100%; background: linear-gradient(115deg, var(--kis-licht), transparent 70%); clip-path: polygon(10% 0, 40% 0, 100% 100%, 30% 100%); pointer-events: none; }
.kis-ballen { position: absolute; right: 6px; bottom: 4px; width: 120px; height: 40px; }
.kis-ballen rect { fill: var(--kis-heu); stroke: #2b2622; stroke-width: 1.8; }
.kis-ballen path { fill: none; stroke: var(--kis-heu-strich); stroke-width: 1.5; }
.kis-buehne { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 6px; padding: 40px 14px 12px; min-height: 210px; }
.kis-karoline { flex: none; width: 96px; }
.kis-karoline svg { width: 96px; height: auto; display: block; }
.kis-blase { position: relative; flex: 1; min-width: 0; margin-bottom: 40px; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--kis-blase); color: var(--kis-blase-text); font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.kis-blase p { margin: 0; }
.kis-unten { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.kis-rest { margin: 0; font-size: .875rem; color: var(--st-text-gedaempft); text-align: center; }
.kis-schalter { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .9375rem; }
.kis-schalter input { width: 24px; height: 24px; flex: none; accent-color: var(--st-haupt); }
.kis-form { padding: 0; }
.kis-verlauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kis-verlauf li { padding: 8px 12px; border-radius: 14px; font-size: .9375rem; line-height: 1.35; overflow-wrap: anywhere; background: var(--st-flaeche); border: 1px solid var(--st-linie); max-width: 88%; }
.kis-verlauf li.kis-du { align-self: flex-end; }
.kis-verlauf li.kis-sie { align-self: flex-start; }
.kis-urteil { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: .8125rem; font-weight: 700; border: 1px solid currentColor; }
.kis-urteil[data-urteil="reimt"] { color: var(--kis-gut); }
.kis-urteil[data-urteil="fast"], .kis-urteil[data-urteil="nicht"] { color: var(--kis-fast); }
.kis-heu { display: inline-block; margin: 0; font-size: .8125rem; font-weight: 700; color: var(--kis-fast); }
.kis-aussagen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kis-aussage { width: 100%; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--st-linie); background: var(--st-flaeche); color: inherit; text-align: left; font-size: 1rem; line-height: 1.35; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.kis-aussage:disabled { opacity: 1; }
.kis-aussage[data-art="geflunkert"] { border-color: var(--kis-fast); }
.kis-aussage[data-art="wahr"] { border-color: var(--kis-gut); }
.kis-marke { font-size: .8125rem; font-weight: 700; }
.kis-aussage[data-art="geflunkert"] .kis-marke { color: var(--kis-fast); }
.kis-aussage[data-art="wahr"] .kis-marke { color: var(--kis-gut); }
/* Nr. 330: Reim-Duell zu zweit (js/reim-duell.js), gleiche Bühne wie das Reim-Duell gegen Karoline */
.rd-karte { list-style: none; padding: 10px 12px; border-radius: 14px; background: var(--st-flaeche); border: 1px solid var(--st-linie); display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; line-height: 1.35; overflow-wrap: anywhere; }
.rd-karte p { margin: 0; }
.rd-fett { font-weight: 700; }
.rd-karte[data-ergebnis="gewonnen"] { border-color: var(--kis-gut); }
.rd-art { min-height: 56px; padding: 8px 12px; border-radius: 14px; border: 2px solid var(--st-linie); background: var(--st-flaeche); color: inherit; text-align: left; font-size: .9375rem; }
.rd-art[aria-checked="true"] { border-color: var(--st-haupt); }
.rd-wort { margin: 0; text-align: center; font-size: 1.75rem; font-weight: 700; overflow-wrap: anywhere; }
.rd-uhr { margin: 0; text-align: center; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rd-uhr [data-um="1"] { color: var(--kis-fast); }
.rd-wertung { font-size: .875rem; }
.rd-wertung ul { margin: 2px 0 0; padding-left: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .kis-szene[data-ruhig="0"] .kis-karoline { animation: kis-atmen calc(var(--takt-auftritt) * 5) var(--kurve-weich) infinite; transform-origin: 50% 100%; }
  .kis-szene[data-ruhig="0"] .kis-strahl { animation: kis-licht calc(var(--takt-ruhe) * 1.5) var(--kurve-weich) infinite; }
  .vollbild.kis[data-zustand="denkt"] .kis-karoline, .vollbild.kis[data-zustand="laedt"] .kis-karoline { animation-duration: calc(var(--takt-auftritt) * 2); }
}
@keyframes kis-atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes kis-licht { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }

/* Nr. 335/390 (Reim-Duell schöner): Vollbild ohne Rahmen – Zaunbrett-2.0-Stallwand über die ganze Fläche, Laternenlicht und ruhiges Atmen.
   Gilt für #rdVollbild und (Nr. 347) das Reim-Spiel gegen Karoline (#kisVollbild[data-spiel="reim"]); die Bühne der anderen Spiele (.kis-szene) bleibt unverändert. */
#rdVollbild.vollbild.kis, #kisVollbild[data-spiel="reim"].vollbild.kis { background: linear-gradient(180deg, rgba(138, 90, 46, .22) 0, rgba(138, 90, 46, .22) 10px, rgba(43, 38, 34, .22) 10px, rgba(43, 38, 34, .22) 12px, transparent 12px), radial-gradient(ellipse at 22% 0, rgba(255, 244, 205, .9), transparent 62%), repeating-linear-gradient(90deg, transparent 0 46px, rgba(140, 95, 40, .07) 46px 48px), linear-gradient(180deg, #f6e5c0 0, #ecd3a0 100%); }
html.dark #rdVollbild.vollbild.kis, html.dark #kisVollbild[data-spiel="reim"].vollbild.kis { background: linear-gradient(180deg, rgba(25, 16, 8, .5) 0, rgba(25, 16, 8, .5) 10px, rgba(43, 38, 34, .55) 10px, rgba(43, 38, 34, .55) 12px, transparent 12px), radial-gradient(ellipse at 22% 0, rgba(255, 220, 140, .18), transparent 62%), repeating-linear-gradient(90deg, transparent 0 46px, rgba(0, 0, 0, .18) 46px 48px), linear-gradient(180deg, #3d2b1a 0, #2a1d12 100%); }
#rdVollbild.vollbild.kis::before, #kisVollbild[data-spiel="reim"].vollbild.kis::before { display: none; }
#rdVollbild[data-tastatur="1"] { padding-bottom: 0; }
#rdVollbild .vollbild-leiste, #kisVollbild[data-spiel="reim"] .vollbild-leiste { padding-top: 4px; }
.rd-szene { position: relative; flex: none; display: flex; align-items: flex-end; gap: 6px; padding: 0 14px 4px; min-height: 0; }
.rd-szene::before { content: ""; position: absolute; left: 10px; top: -8px; width: 108px; height: 96px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 240, 185, .55), transparent 70%); pointer-events: none; z-index: 0; }
html.dark .rd-szene::before { background: radial-gradient(circle, rgba(255, 224, 140, .2), transparent 70%); }
.rd-szene > * { position: relative; z-index: 1; }
.rd-szene .kis-karoline { flex: none; width: 88px; }
.rd-szene .kis-karoline svg { width: 88px; height: auto; display: block; filter: drop-shadow(0 3px 4px rgba(60, 35, 10, .25)); }
.rd-szene .kis-blase { margin-bottom: 18px; border: 1.5px solid #2b2622; }
.rd-szene .kis-blase::before { content: ""; position: absolute; left: -7px; bottom: 6px; width: 12px; height: 12px; background: inherit; border-left: 1.5px solid #2b2622; border-bottom: 1.5px solid #2b2622; transform: rotate(45deg); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .rd-szene[data-ruhig="0"] .kis-karoline { animation: kis-atmen calc(var(--takt-auftritt) * 5) var(--kurve-weich) infinite; transform-origin: 50% 100%; }
  #kisVollbild[data-spiel="reim"][data-zustand="denkt"] .rd-szene[data-ruhig="0"] .kis-karoline, #rdVollbild[data-sendet="1"] .rd-szene[data-ruhig="0"] .kis-karoline { animation-duration: calc(var(--takt-auftritt) * 2); }
}
html.tiere-aus .rd-szene .kis-karoline { animation: none !important; }
#rdVollbild[data-zustand="ergebnis"] .rd-szene .kis-karoline, #rdVollbild[data-zustand="ergebnis"] .rd-szene .kis-karoline svg, #kisVollbild[data-spiel="reim"][data-zustand="fertig"] .rd-szene .kis-karoline, #kisVollbild[data-spiel="reim"][data-zustand="fertig"] .rd-szene .kis-karoline svg { width: 60px; }
#rdVollbild[data-tastatur="1"] .rd-szene, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene { padding-bottom: 0; align-items: center; }
#rdVollbild[data-tastatur="1"] .rd-szene::before, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene::before { display: none; }
#rdVollbild[data-tastatur="1"] .rd-szene .kis-karoline, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene .kis-karoline { animation: none; }
#rdVollbild[data-tastatur="1"] .rd-szene .kis-karoline, #rdVollbild[data-tastatur="1"] .rd-szene .kis-karoline svg, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene .kis-karoline, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene .kis-karoline svg { width: 44px; }
#rdVollbild[data-tastatur="1"] .rd-szene .kis-blase, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene .kis-blase { margin-bottom: 0; padding: 6px 10px; font-size: .875rem; max-height: 4.2em; overflow-y: auto; }
#rdVollbild[data-tastatur="1"] .rd-szene .kis-blase::before, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-szene .kis-blase::before { display: none; }
#rdVollbild .kis-unten, #kisVollbild[data-spiel="reim"] .kis-unten { padding-top: 6px; scroll-padding-bottom: 12px; }
.rd-spiel { display: flex; flex-direction: column; gap: 10px; }
.rd-kopf { text-align: center; }
.rd-kopf p { margin: 0; }
.rd-zaehler { font-size: .875rem; font-weight: 700; color: var(--st-text-gedaempft); }
.rd-kopf .rd-wort { font-size: 2.25rem; line-height: 1.15; color: var(--kis-gut); }
html.dark .rd-kopf .rd-wort { color: var(--kis-heu); }
.rd-uhr { display: inline-block; margin-top: 4px; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-size: .9375rem; }
html.dark .rd-uhr { background: rgba(0, 0, 0, .3); }
#rdVollbild[data-tastatur="1"] .rd-kopf .rd-wort, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-kopf .rd-wort { font-size: 1.625rem; }
#rdVollbild[data-tastatur="1"] .rd-kopf, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-kopf { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
#rdVollbild[data-tastatur="1"] .rd-kopf .rd-uhr, #kisVollbild[data-spiel="reim"][data-tastatur="1"] .rd-kopf .rd-uhr { margin-top: 0; }
#rdVollbild[data-tastatur="1"] .rd-spiel .kis-verlauf li:not(:last-child) { display: none; }
.rd-form { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 4px 0 6px; }
.rd-feld { min-height: 48px; padding: 8px 14px; border-radius: 14px; border: 2px solid var(--st-linie); background: var(--st-flaeche); color: var(--st-text); font-size: 16px; }
html.dark #rdVollbild .rd-feld { background-color: var(--st-flaeche); border-color: var(--st-linie); color: var(--st-text); }
.rd-feld:focus { outline: 0; border-color: var(--st-haupt); }
.rd-hinweis { margin: 0; font-size: .8125rem; text-align: center; color: var(--st-text-gedaempft); }
.rd-hinweis[data-ok="1"] { color: var(--kis-gut); }
.rd-form [data-rd-senden]:disabled { opacity: .55; }
#rdVollbild[data-sendet="1"] .rd-kopf { opacity: .6; }
/* So zählt Karoline */
.rd-regel { padding: 12px; border-radius: 16px; background: var(--st-flaeche); border: 1px solid var(--st-linie); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 0 rgba(120, 85, 30, .18); }
.rd-regel-titel { margin: 0; font-size: .9375rem; font-weight: 700; color: var(--kis-fast); }
.rd-regel-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rd-regel-raster li { padding: 8px 10px; border-radius: 10px; background: rgba(200, 160, 80, .14); font-size: .8125rem; line-height: 1.3; }
.rd-regel-bsp { margin: 0; font-size: .8125rem; font-style: italic; color: var(--st-text-gedaempft); }
/* Ergebnis: Banner */
.rd-banner { padding: 14px 16px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #3f7452, #2f5a40); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.rd-banner[data-rd-ergebnis="verloren"] { background: linear-gradient(135deg, #8a6a3a, #6b4f26); }
.rd-banner[data-rd-ergebnis="unentschieden"] { background: linear-gradient(135deg, #5d7490, #46586f); }
.rd-banner p { margin: 0; }
.rd-banner-art { font-size: .8125rem; font-weight: 700; opacity: .92; }
.rd-stand { font-size: 2.5rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rd-urteil { font-size: .9375rem; font-weight: 700; letter-spacing: .01em; margin-left: 4px; }
.rd-banner-zeile { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .875rem; font-weight: 700; }
.rd-heu { color: #ffe08a; }
.rd-banner .rd-fazit { margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .8125rem; }
/* Wort-Chips */
.rd-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rd-chip { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 6px; border-radius: 14px; border: 2px solid transparent; background: var(--st-flaeche); color: inherit; font-size: .8125rem; font-weight: 700; box-shadow: 0 2px 0 rgba(120, 85, 30, .15); overflow: hidden; }
.rd-chip span:first-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-chip-stand { font-size: 1rem; font-variant-numeric: tabular-nums; }
.rd-chip[data-sieger="ich"] { border-color: var(--kis-gut); }
.rd-chip[data-sieger="gleich"] { border-color: var(--kis-heu); }
/* Wortkarte */
.rd-wortkarte { padding: 10px 12px 12px; border-radius: 18px; background: var(--st-flaeche); border: 1px solid var(--st-linie); display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 8px; box-shadow: 0 2px 0 rgba(120, 85, 30, .15); }
.rd-wortkarte header { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rd-wortkarte h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; }
.rd-pille { padding: 2px 10px; border-radius: 999px; background: rgba(227, 187, 79, .35); font-size: .8125rem; font-weight: 700; }
.rd-seiten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; padding-top: 6px; }
.rd-seite { position: relative; min-width: 0; padding: 8px; border-radius: 14px; border: 2px solid var(--st-linie); background: rgba(200, 160, 80, .08); display: flex; flex-direction: column; gap: 4px; }
.rd-seite[data-gewinner="1"] { border-color: var(--kis-gut); background: rgba(47, 107, 58, .08); }
.rd-wer { margin: 0; padding-right: 34px; font-size: .75rem; font-weight: 700; color: var(--st-text-gedaempft); overflow-wrap: anywhere; }
.rd-krone { color: var(--kis-heu-strich); }
html.dark .rd-krone { color: var(--kis-heu); }
.rd-kreis { position: absolute; top: -10px; right: -4px; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--kis-heu); color: #2b2622; font-weight: 800; font-size: .9375rem; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); font-variant-numeric: tabular-nums; }
.rd-seite[data-gewinner="0"] .rd-kreis { background: #d9ccae; }
html.dark .rd-seite[data-gewinner="0"] .rd-kreis { background: #6b5a3a; color: #f3efe3; }
.rd-zeile { margin: 0; font-size: .9375rem; font-style: italic; line-height: 1.3; overflow-wrap: anywhere; }
.rd-balken-liste { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rd-balken-liste li { display: grid; grid-template-columns: 46px 1fr 26px; align-items: center; gap: 4px; font-size: .6875rem; color: var(--st-text-gedaempft); }
.rd-balken { display: block; height: 6px; border-radius: 999px; background: rgba(150, 120, 60, .22); overflow: hidden; }
.rd-balken i { display: block; height: 100%; border-radius: 999px; background: var(--kis-heu-strich); }
html.dark .rd-balken i { background: var(--kis-heu); }
.rd-b-zahl { text-align: right; font-variant-numeric: tabular-nums; }
.rd-meta { margin: 0; font-size: .6875rem; color: var(--st-text-gedaempft); }
.rd-kommentar { margin: 0; padding: 8px 10px; border-radius: 12px; background: rgba(200, 160, 80, .16); font-size: .875rem; line-height: 1.35; }
.rd-details summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: .875rem; font-weight: 700; color: var(--kis-gut); }
.rd-details[open] summary { margin-bottom: 4px; }
.rd-grund-seite { margin-bottom: 8px; font-size: .875rem; }
.rd-grund-seite .rd-wer { padding-right: 0; }
.rd-gruende { margin: 2px 0 4px; padding-left: 18px; }
.rd-fuss { margin: 0; font-size: .75rem; text-align: center; color: var(--st-text-gedaempft); }
/* Reim-Kette im Ergebnis */
.rd-zuege { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rd-zug { display: flex; gap: 10px; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--st-flaeche); border: 1px solid var(--st-linie); }
.rd-zug[data-seite="ich"] { border-color: var(--kis-gut); }
.rd-zug .rd-kreis { position: static; flex: none; align-self: flex-start; }
.rd-zug-text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.rd-zug-text .rd-wer { padding-right: 0; }
.rd-neu { margin: 0; font-size: .875rem; font-weight: 700; overflow-wrap: anywhere; }
/* Nr. 336: Betty-Wort (steirisch) – eigene Sprechblase (wie .betty-blase: brauner Rahmen), Abzeichen mit Icon */
.rd-szene[data-sprecher="betty"] .kis-blase { background: #fbf6ee; color: #3b2f25; border: 2px solid #8a6f52; }
html.dark .rd-szene[data-sprecher="betty"] .kis-blase { background: #2f2924; color: #f3ecdc; border-color: #9a8f80; }
.rd-szene[data-sprecher="betty"] .kis-blase::before { border-left: 2px solid #8a6f52; border-bottom: 2px solid #8a6f52; left: -9px; }
html.dark .rd-szene[data-sprecher="betty"] .kis-blase::before { border-color: #9a8f80; }
.rd-betty-abzeichen { display: inline-flex; align-items: center; gap: 6px; margin: 2px auto 0; padding: 2px 10px; border-radius: 999px; background: #8a6f52; color: #fff; font-size: .8125rem; font-weight: 700; }
html.dark .rd-betty-abzeichen { background: #9a8f80; color: #1f1a16; }
.rd-kopf .rd-betty-abzeichen { margin-bottom: 2px; }
.rd-wortkarte[data-betty="1"] { border: 2px solid #8a6f52; }
html.dark .rd-wortkarte[data-betty="1"] { border-color: #9a8f80; }
.rd-kommentar[data-sprecher="betty"] { background: #fbf6ee; color: #3b2f25; border: 1px solid #8a6f52; }
html.dark .rd-kommentar[data-sprecher="betty"] { background: #2f2924; color: #f3ecdc; border-color: #9a8f80; }
/* Nr. 337: Tempo-Bonus – Uhr grün (+2 möglich), gelb (+1), danach wie sonst; im Ergebnis ein Chip und die Zeilensumme */
.rd-uhr { transition: background-color .4s ease, color .4s ease; }
.rd-uhr[data-tempo="2"] { background: #d7ecd9; color: #1f5a2c; }
.rd-uhr[data-tempo="1"] { background: #f6e3a6; color: #6b4a00; }
html.dark .rd-uhr[data-tempo="2"] { background: rgba(143, 209, 158, .22); color: #bfe8c8; }
html.dark .rd-uhr[data-tempo="1"] { background: rgba(242, 193, 78, .22); color: #f6dc9a; }
@media (prefers-reduced-motion: reduce) { .rd-uhr { transition: none; } }
.rd-tempo { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(150, 120, 60, .16); color: var(--st-text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-tempo[data-rd-tempo="2"] { background: #d7ecd9; color: #1f5a2c; }
.rd-tempo[data-rd-tempo="1"] { background: #f6e3a6; color: #6b4a00; }
html.dark .rd-tempo[data-rd-tempo="2"] { background: rgba(143, 209, 158, .22); color: #bfe8c8; }
html.dark .rd-tempo[data-rd-tempo="1"] { background: rgba(242, 193, 78, .22); color: #f6dc9a; }
.rd-zeilensumme { margin: 0; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Nr. 340: Reim-Duell gegen Karoline bei offener Tastatur – Karoline klein, Wort und Feld bleiben sichtbar */
#kisVollbild[data-tastatur="1"] { padding-bottom: 0; }
#kisVollbild[data-tastatur="1"] .kis-szene { min-height: 0; }
#kisVollbild[data-tastatur="1"] .kis-buehne { min-height: 0; padding: 8px 14px; align-items: center; }
#kisVollbild[data-tastatur="1"] .kis-karoline, #kisVollbild[data-tastatur="1"] .kis-karoline svg { width: 44px; }
#kisVollbild[data-tastatur="1"] .kis-blase { margin-bottom: 0; padding: 6px 10px; font-size: .875rem; max-height: 4.2em; overflow-y: auto; }
#kisVollbild[data-tastatur="1"] .kis-ballen { display: none; }
[data-kis-hinweis]:empty { display: none; }
