/* Nr. 186 Kammer-Styles: Effekte (Glanz, Funkeln, Leuchten, Aura) und der Reiter „Styles“. Bewegung nur mit prefers-reduced-motion: no-preference; Leuchten strahlt nur im Dunkelmodus. */
.heu-glanz { opacity: .85; }
.heu-funkel { opacity: .9; transform-box: fill-box; transform-origin: center; }
.heu-leuchtpunkt { opacity: .9; }
.heu-leuchten { filter: none; }
html.dark .heu-leuchten, body.nacht .heu-leuchten { filter: drop-shadow(0 0 5px var(--heu-glow, #fff)) drop-shadow(0 0 10px var(--heu-glow, #fff)); }
/* Nr. 233 B: Schichten über der Form. Neon-Kante: heller Rand in --heu-glow (statisch); Sternenstaub rieselt nur über opacity. */
.heu-schicht { pointer-events: none; }
.heu-neon { filter: drop-shadow(0 0 2px var(--heu-glow, #fff)) drop-shadow(0 0 5px var(--heu-glow, #fff)); }
.heu-sternenstaub { opacity: .85; }
html.dark .kst-lichter { filter: drop-shadow(0 0 3px #ffd54f); }  /* Nr. 233 D: leuchtet im Dunkelmodus */
html.dark .kst-licht, body.nacht .kst-licht { filter: drop-shadow(0 0 3px #ffd54f) drop-shadow(0 0 6px rgba(255, 213, 79, .6)); }  /* Nr. 233 C Welle 3: Leuchtstücke leuchten nur im Dunkelmodus */
.heu-aura { filter: drop-shadow(0 0 6px #ffd54f) drop-shadow(0 0 12px rgba(255, 213, 79, .6)); }
@media (prefers-reduced-motion: no-preference) {
  .heu-funkel { animation: kammer-funkel calc(var(--takt-tipp) * 11) var(--kurve-weich) infinite; }
  .heu-leuchtpunkt { animation: kammer-gluehen calc(var(--takt-auftritt) * 4) var(--kurve-weich) infinite; }
  .heu-sternenstaub { animation: kammer-funkel calc(var(--takt-wechsel) * 9) var(--kurve-weich) infinite; }
  .kst-lichter { animation: kammer-gluehen calc(var(--takt-auftritt) * 4) var(--kurve-weich) infinite; }  /* Nr. 233 D: Karolines Lichterkette blinkt warm (nur opacity) */
  .kst-licht { animation: kammer-gluehen calc(var(--takt-auftritt) * 4) var(--kurve-weich) infinite; }  /* Nr. 233 C Welle 3: Leuchtstücke blinken sanft (nur opacity) */
  /* höchstens ein bewegter Effekt je Tier: nur das erste Leuchtstück blinkt, jedes weitere Stück mit Lichtern steht still */
  .heu-deko > g:has(.kst-licht, .kst-lichter) ~ g:has(.kst-licht, .kst-lichter) :is(.kst-licht, .kst-lichter) { animation: none; opacity: 1; }
  .heu-aura { animation: kammer-aura calc(var(--takt-auftritt) * 4) var(--kurve-weich) infinite; }
  .heu-deko { transition: opacity .6s ease; }
}
@keyframes kammer-funkel { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes kammer-gluehen { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes kammer-aura { 0%, 100% { filter: drop-shadow(0 0 4px #ffd54f); } 50% { filter: drop-shadow(0 0 10px #ffd54f) drop-shadow(0 0 16px rgba(255, 213, 79, .7)); } }
.kammer-stil-satz { border: 1px solid rgba(0,0,0,.15); border-radius: 12px; margin: 6px 0; padding: 4px 10px; }
html.dark .kammer-stil-satz { border-color: rgba(255,255,255,.2); }
.kammer-stil-satz summary { display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; flex-wrap: wrap; }
.kammer-stil-farben { display: inline-flex; gap: 2px; }
.kammer-stil-farben i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); display: inline-block; }
.kammer-stil-badge { padding: 1px 8px; border-radius: 999px; font-size: .75rem; background: #e8eadf; color: #2b2a24; }
.kammer-stil-badge[data-stufe="selten"] { background: #cfe0ff; }
.kammer-stil-badge[data-stufe="legendaer"] { background: #ffe9a8; }
.kammer-stil-liste { list-style: none; margin: 6px 0; padding: 0; }
.kammer-stil-zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(0,0,0,.08); flex-wrap: wrap; }
.kammer-stil-knoepfe { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.kammer-stil-sperre { padding: 8px; border-radius: 12px; background: rgba(0,0,0,.05); }
.heu-klein { font-size: .8rem; opacity: .85; }

/* Nr. 186 Rest: Set-Effekt beim Antippen der Anprobe-Figur */
.kammer-stil-figur { position: relative; background: none; border: 0; padding: 0; cursor: pointer; width: 100%; }
.kammer-set-funke { position: absolute; bottom: 20%; font-size: 16px; opacity: 0; animation: kammer-set-auf calc(var(--takt-auftritt) * 2) var(--kurve-raus) forwards; pointer-events: none; }
.kammer-set-blase { position: absolute; top: 4px; right: 8%; background: #fbfaf6; color: #2b2622; border: 2px solid #2b2622; border-radius: 12px; padding: 4px 10px; font-size: 13px; pointer-events: none; }
@keyframes kammer-set-auf { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-70px) scale(1.1); } }
/* Nr. 233 C Welle 3: Spur-Effekt beim Antippen (nur transform und opacity, ca. 1 s, nie über Text oder Knöpfen) */
.kammer-spur-teil { position: absolute; font-size: 18px; opacity: 0; animation: kammer-spur-auf calc(var(--takt-auftritt) * 2) var(--kurve-raus) forwards; pointer-events: none; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .85)); }
@keyframes kammer-spur-auf { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(-14px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .kammer-set-funke, .kammer-spur-teil { animation: none; display: none; } }

/* Nr. 213 Karolines Laden pro Tier (js/laden-tier.js): wischbare Leiste, Tierwahl + Vorschau oben fixiert, Karten in zwei Spalten, Rand unten. Keine neue Animation. */
.laden-leiste { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.laden-leiste > .heu-chip, .laden-reiter > .heu-chip { flex: 0 0 auto; white-space: nowrap; }
.laden-reiter { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.laden-trenner { flex: 0 0 1px; align-self: stretch; min-height: 24px; background: currentColor; opacity: .25; margin: 0 4px; }
.laden-kopf { position: sticky; top: calc(var(--kopf-fest, 0px) + var(--safe-oben, 0px)); z-index: 5; display: grid; gap: 6px; padding: 6px 8px; border-radius: 12px; background: var(--heu-karte, #fff); color: var(--heu-karte-text, inherit); border: 1px solid var(--heu-rand, rgba(0,0,0,.15)); }
.laden-kopf .heu-konto-leiste { position: static; border: 0; padding: 0; background: none; text-align: left; }
.laden-wer { display: flex; align-items: center; gap: 10px; min-width: 0; }
.laden-vorschau { flex: 0 0 56px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.laden-wer-liste { min-width: 0; flex: 1 1 auto; }
.laden-streifen { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: thin; }
.laden-streifen > * { flex: 0 0 auto; white-space: nowrap; }
.laden-streifen.laden-umbruch { flex-wrap: wrap; overflow: visible; }
.laden-streifen.laden-umbruch > * { white-space: normal; }
.laden-farbwahl-chip { padding: 0 .5rem; }  /* Nr. 233 B: Farbwahl einer Form, eine wischbare Reihe */
.laden-farbwahl-chip[data-stufe] { border: 2px dashed #b8860b; }  /* Nr. 233 D: Veredelung/Saison in Karolines Farbwahl (extra kaufen) */
.laden-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.laden-karte-li { border: 1px solid var(--heu-rand, rgba(0,0,0,.15)); border-radius: 12px; overflow: hidden; }
.laden-karte { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-height: 44px; padding: 8px 6px; background: transparent; border: 0; color: inherit; text-align: center; cursor: pointer; }
.laden-karte[aria-pressed="true"] { outline: 3px solid var(--heu-holz, #8a6a3d); outline-offset: -3px; border-radius: 12px; }
.laden-bild { position: relative; display: flex; align-items: center; justify-content: center; height: 76px; width: 100%; }
.laden-bild > svg { height: 100%; width: auto; max-width: 100%; }  /* hohe Figuren (Hase, Pferd) verdecken sonst den Namen darunter */
.laden-spur-vorschau { position: absolute; inset: 0; pointer-events: none; }
.laden-spur-vorschau i { position: absolute; font-size: 13px; opacity: .88; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .9)); }
.laden-spur-vorschau i:nth-child(1) { top: 8px; left: 16%; }
.laden-spur-vorschau i:nth-child(2) { top: 20px; right: 16%; font-size: 15px; }
.laden-spur-vorschau i:nth-child(3) { bottom: 8px; left: 22%; font-size: 11px; }
.laden-name { overflow-wrap: anywhere; }
.laden-meta { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; min-height: 1.2rem; }
.laden-text { font-size: .8rem; opacity: .9; overflow-wrap: anywhere; }
.laden-neu { padding: 1px 8px; border-radius: 999px; font-size: .75rem; background: #c62828; color: #fff; }
.laden-rand { position: sticky; bottom: calc(4.5rem + var(--safe-unten, 0px)); z-index: 5; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--heu-karte, #fff); color: var(--heu-karte-text, inherit); border: 2px solid var(--heu-holz, #8a6a3d); box-shadow: 0 -4px 14px rgba(0,0,0,.18); max-height: 34vh; overflow-y: auto; overscroll-behavior: contain; }
.laden-rand-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.laden-rand-knoepfe { display: flex; gap: 8px; margin-top: 8px; }
.laden-rand-knoepfe > * { flex: 1 1 0; min-height: 48px; }
.laden-rand .heu-aktion { min-height: 44px; }
.laden-rand .kammer-stil-zeile { padding: 3px 0; }
.laden-karte-li { scroll-margin-top: 8rem; scroll-margin-bottom: 14rem; }
.laden-erklaerung > summary { display: inline-flex; align-items: center; cursor: pointer; list-style: none; }
.laden-gutschein { border: 1px dashed var(--heu-holz, #8a6a3d); border-radius: 12px; padding: 8px; }
.laden-gutschein [data-vorschlag="1"] { font-weight: 700; }
html.dark .laden-kopf, html.dark .laden-rand { background: var(--heu-karte, #2b2a24); }
