/* Amanis Weg, Look "Schatzkarte": Nachtblau, Gold, Pergament, Rosé. */
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
  --night: #0F1A3A; --night-2: #16244D; --night-3: #1E2F61; --ink: #0B1330;
  --gold: #C9A24A; --gold-soft: rgba(201,162,74,.35); --paper: #F2E8CF; --paper-2: #E7DBBB; --rose: #E39AA0;
  --muted: rgba(242,232,207,.6);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--night); color: var(--paper); font-family: var(--sans); font-size: 16px; overscroll-behavior: none; -webkit-text-size-adjust: 100%; }
body { position: fixed; inset: 0; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#app { position: absolute; left: 0; right: 0; top: 0; height: var(--vh, 100dvh); display: flex; flex-direction: column;
  background: radial-gradient(120% 70% at 50% 0%, #1A2A5C 0%, var(--night) 60%); }

/* ---------- Bühne: Kokon, Einrichtung, Hinweise ---------- */
.stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--safe-t) + 24px) 28px calc(var(--safe-b) + 24px); gap: 18px; overflow-y: auto; }
.stage h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: .01em; margin: 0; color: var(--paper); }
.stage .line { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 25px; line-height: 1.25; margin: 0; color: var(--paper); }
.stage .small { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0; }
.cocoon { width: 132px; height: 190px; filter: drop-shadow(0 0 26px rgba(201,162,74,.28)); animation: breathe 5.2s ease-in-out infinite; }
.cocoon.small-c { width: 96px; height: 138px; }
@keyframes breathe { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 22px rgba(201,162,74,.22)); } 50% { transform: scale(1.035); filter: drop-shadow(0 0 34px rgba(201,162,74,.4)); } }
.shake { animation: shake .42s ease; }
@keyframes shake { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.dots { display: flex; gap: 14px; justify-content: center; min-height: 16px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--gold); transition: background .15s, transform .15s; }
.dots i.on { background: var(--gold); transform: scale(1.08); }
.hint { min-height: 22px; font-size: 15px; color: var(--rose); margin: 0; }
.pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px 22px; justify-content: center; }
.pad button { height: 60px; border-radius: 50%; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--paper); border: 1px solid rgba(201,162,74,.28); background: rgba(255,255,255,.03); }
.pad button:active { background: var(--gold-soft); }
.pad button.ghost { border-color: transparent; background: none; font-family: var(--sans); font-size: 20px; color: var(--muted); }
.pad[aria-busy="true"] { opacity: .45; pointer-events: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 26px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.btn:active { transform: scale(.98); }
.btn.line-btn { background: none; color: var(--paper); border: 1px solid var(--gold-soft); }
.btn[disabled] { opacity: .5; }
.link { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 10px; }
.steps { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 12px; text-align: left; width: 100%; max-width: 330px; }
.steps li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(242,232,207,.06); border: 1px solid rgba(201,162,74,.22); font-size: 15.5px; line-height: 1.35; }
.steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 19px; color: var(--ink); background: var(--gold); }
.steps svg { width: 18px; height: 18px; vertical-align: -3px; }
.info-btn { position: absolute; top: calc(var(--safe-t) + 12px); right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 20px; z-index: 3; }
.field { width: 100%; max-width: 330px; height: 52px; border-radius: 14px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.05); color: var(--paper); font: inherit; padding: 0 16px; }
.field::placeholder { color: var(--muted); }

/* ---------- Chat ---------- */
.top { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-t) + 10px) 14px 10px; background: rgba(15,26,58,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(201,162,74,.22); z-index: 2; }
.top .who { flex: 1; min-width: 0; }
.top .name { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; margin: 0; }
.top .sub { font-size: 12px; color: var(--muted); margin: 2px 0 0; min-height: 15px; }
.top .sub.warn { color: var(--rose); }
.top .info-btn { position: static; flex: none; }
.pill { flex: none; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--gold-soft); color: var(--gold); font-size: 13px; font-weight: 600; }
.bfly { flex: none; width: 34px; height: 34px; }
.list { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.empty { margin: auto; text-align: center; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 21px; padding: 20px; }
.day { align-self: center; margin: 12px 0 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.row { display: flex; flex-direction: column; max-width: 82%; align-self: flex-start; align-items: flex-start; }
.row.me { align-self: flex-end; align-items: flex-end; }
.row + .row.swap { margin-top: 8px; }
.bub { position: relative; padding: 9px 13px 8px; border-radius: 18px 18px 18px 6px; background: var(--paper); color: var(--ink); font-size: 16.5px; line-height: 1.38; white-space: pre-wrap; overflow-wrap: anywhere; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.me .bub { border-radius: 18px 18px 6px 18px; background: var(--night-3); color: var(--paper); border: 1px solid rgba(201,162,74,.3); }
.bub.photo { padding: 4px; }
.bub.photo img { display: block; max-width: min(64vw, 300px); max-height: 46vh; border-radius: 14px; background: rgba(0,0,0,.15); min-width: 120px; min-height: 90px; object-fit: cover; }
.bub.photo .cap { padding: 6px 8px 2px; }
.bub a { color: inherit; text-decoration: underline; }
.quote { display: block; margin: -2px -4px 6px; padding: 6px 9px; border-left: 3px solid var(--gold); border-radius: 8px; background: rgba(15,26,58,.08); font-size: 13.5px; line-height: 1.3; overflow: hidden; opacity: .85; }
.quote .qt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.me .quote { background: rgba(242,232,207,.09); }
.quote b { display: block; font-size: 12px; color: var(--gold); font-weight: 600; }
.bub .quote b { color: #8a6a1f; } .me .bub .quote b { color: var(--gold); }
.meta { display: flex; gap: 6px; align-items: center; margin: 3px 6px 0; font-size: 11px; color: var(--muted); min-height: 14px; }
.meta .fail { color: var(--rose); font-size: 13px; font-weight: 500; }
.reacts { display: flex; gap: 4px; margin: -7px 8px 0; z-index: 1; }
.reacts span { font-size: 15px; line-height: 1; padding: 4px 6px; border-radius: 12px; background: var(--night-2); border: 1px solid rgba(201,162,74,.35); }
.row.pending .bub { opacity: .62; } .row.failed .bub { opacity: .8; border: 1px dashed var(--rose); }

.reply-bar { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 12px; padding: 8px 10px 8px 12px; border-left: 3px solid var(--gold); border-radius: 10px; background: rgba(242,232,207,.08); font-size: 13.5px; }
.reply-bar div { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-bar b { color: var(--gold); font-weight: 600; display: block; font-size: 12px; }
.reply-bar button { width: 30px; height: 30px; font-size: 20px; color: var(--muted); }
.composer { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px calc(var(--safe-b) + 8px); }
.composer textarea { flex: 1; min-height: 44px; max-height: 132px; resize: none; border-radius: 22px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.06); color: var(--paper); font: inherit; font-size: 16.5px; line-height: 1.35; padding: 10px 16px; }
.composer textarea::placeholder { color: var(--muted); }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.send { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.icon-btn.send[disabled] { opacity: .4; }
.banner { flex: none; text-align: center; font-size: 13px; padding: 6px 12px; color: var(--ink); background: var(--rose); }

/* ---------- Blatt von unten, Bildansicht, Toast ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5,9,24,.62); z-index: 20; display: flex; align-items: flex-end; justify-content: center; animation: fade .16s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 520px; background: var(--night-2); border: 1px solid rgba(201,162,74,.3); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 14px 16px calc(var(--safe-b) + 16px); animation: up .2s ease; max-height: 86%; overflow-y: auto; }
@keyframes up { from { transform: translateY(30px); opacity: .4; } }
.sheet h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 6px 4px 8px; }
.sheet p { margin: 6px 4px 12px; font-size: 15.5px; line-height: 1.5; color: var(--paper); }
.sheet p.dim { color: var(--muted); font-size: 14px; }
.emojis { display: flex; justify-content: space-between; padding: 4px 2px 12px; }
.emojis button { width: 46px; height: 46px; font-size: 26px; border-radius: 50%; }
.emojis button.on { background: var(--gold-soft); }
.act { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 52px; padding: 0 8px; font-size: 16.5px; border-top: 1px solid rgba(242,232,207,.08); text-align: left; }
.act.danger { color: var(--rose); }
.sheet .btn { width: 100%; margin-top: 8px; }
.viewer { position: fixed; inset: 0; z-index: 30; background: rgba(4,7,18,.96); display: grid; place-items: center; }
.viewer img { max-width: 100%; max-height: 100%; }
.viewer button { position: absolute; top: calc(var(--safe-t) + 10px); right: 14px; width: 44px; height: 44px; font-size: 28px; color: var(--paper); }
.toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 84px); transform: translateX(-50%); z-index: 40; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 20px; box-shadow: 0 6px 24px rgba(0,0,0,.4); animation: fade .15s ease; max-width: 86%; text-align: center; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 4px 12px; font-size: 14.5px; }
.kv span { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { *:not(.bw):not(.botin):not(.botin *):not(.b-fx):not(.b-heart):not(.b-spark):not(.mini-env):not(.say) { animation: none !important; transition: none !important; } }
@media (min-width: 700px) { #app { max-width: 520px; left: 50%; transform: translateX(-50%); border-left: 1px solid rgba(201,162,74,.15); border-right: 1px solid rgba(201,162,74,.15); } }
[hidden] { display: none !important; }

/* Nichts in der App lässt sich als Text markieren (sonst markiert langes Drücken die Smileys); Eingabefelder bleiben normal. */
body, .sheet, .sheet * { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
textarea, input { user-select: text; -webkit-user-select: text; }
.emojis button { outline: none; }

.sheet input, .sheet textarea { user-select: text; -webkit-user-select: text; }
.scrim { inset: auto; top: 0; left: 0; right: 0; height: var(--vh, 100dvh); }
.bub.held { filter: brightness(1.12); transform: scale(.975); transition: transform .12s; }
.emojis button { font-family: "Apple Color Emoji", "Noto Color Emoji", "Samsung Color Emoji", sans-serif; }
.preview { display: block; max-width: 100%; max-height: 42vh; margin: 4px auto 12px; border-radius: 14px; }
.cap-in { max-width: none; margin-bottom: 4px; font-size: 16.5px; }

/* ---------- Paket 11: erster Abend ---------- */
.home-ic { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 8px 26px rgba(0,0,0,.45); border: 1px solid rgba(201,162,74,.3); }
.sound-ic { font-size: 54px; line-height: 1; filter: drop-shadow(0 0 22px rgba(201,162,74,.5)); }
.spk { font-family: "Apple Color Emoji", "Noto Color Emoji", "Samsung Color Emoji", sans-serif; }
.scene { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; padding: calc(var(--safe-t) + 18px) 22px calc(var(--safe-b) + 18px); gap: 12px; overflow: hidden; }
.botin { flex: none; width: 150px; height: 107px; margin-top: 6px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); animation: hover 3.4s ease-in-out infinite; transition: filter .8s; }
.botin.rose { filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)) sepia(.55) saturate(2.2) hue-rotate(-28deg); }
@keyframes hover { 0%,100% { transform: translateY(0) rotate(-2deg) scaleX(1); } 25% { transform: translateY(-7px) rotate(1.500deg) scaleX(.94); } 50% { transform: translateY(-2px) rotate(2.500deg) scaleX(1); } 75% { transform: translateY(-9px) rotate(-1deg) scaleX(.93); } }
.says { flex: 1 1 auto; min-height: 60px; width: 100%; max-width: 380px; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 4px 2px; scrollbar-width: none; }
.says::-webkit-scrollbar { display: none; }
.says::before { content: ""; flex: 1; }
.say { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.3; padding: 10px 16px; border-radius: 20px 20px 20px 6px; animation: pop .28s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
@keyframes pop { from { transform: translateY(10px) scale(.92); opacity: 0; } }
.foot { flex: none; width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; opacity: 0; min-height: 52px; position: relative; }
.foot.in { opacity: 1; transition: opacity .35s; }
.foot .field { max-width: none; }
.foot .hint:empty { display: none; }
.pair { display: flex; gap: 10px; } .pair .btn { flex: 1; padding: 0 12px; }
.cap-line { margin: 2px 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--paper); }
.voice { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 20px; border-radius: 27px; border: 1px solid var(--gold); color: var(--paper); font-weight: 600; font-size: 16px; background: rgba(201,162,74,.12); }
.voice.on { background: var(--gold-soft); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(201,162,74,.14); } }
/* Video */
.film-scene { justify-content: center; }
.film-wrap { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; display: grid; place-items: center; }
.film { max-width: 100%; max-height: 100%; height: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #050918; border: 1px solid rgba(201,162,74,.3); object-fit: cover; }
.bigplay { position: absolute; width: 78px; height: 78px; border-radius: 50%; background: rgba(15,26,58,.72); border: 1.500px solid var(--gold); color: var(--gold); font-size: 30px; padding-left: 5px; }
/* Goldene Karten und Entwurf */
.cards { display: grid; gap: 9px; }
.gold-card { display: flex; align-items: center; gap: 10px; text-align: left; min-height: 54px; padding: 10px 16px; border-radius: 16px; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--ink); background: linear-gradient(135deg, #F0DFA8, #C9A24A 70%, #B48B34); box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.gold-card.on { outline: 2px solid var(--paper); outline-offset: 2px; }
.gold-card[disabled] { opacity: .5; }
.draft { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 24px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.06); transform-origin: 85% 50%; }
.draft-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.draft-t b { font-weight: 500; font-size: 16.500px; } .draft-t span { font-size: 13px; color: var(--muted); }
.draft.fold { animation: fold .7s ease-in forwards; }
@keyframes fold { 60% { transform: scale(.5, .18) rotate(-8deg); opacity: .9; } 100% { transform: scale(.08) rotate(-20deg); opacity: 0; } }
.fly { position: absolute; right: 18px; bottom: 30px; width: 54px; pointer-events: none; opacity: 0; animation: flyoff 1.500s .55s ease-in forwards; }
@keyframes flyoff { 0% { opacity: 0; transform: translate(0,0) scale(.3); } 15% { opacity: 1; transform: translate(-10px,-20px) scale(1) rotate(-10deg); } 55% { transform: translate(-90px,-180px) scale(.9) rotate(12deg); opacity: 1; } 100% { transform: translate(40px,-520px) scale(.5) rotate(-6deg); opacity: 0; } }
/* Karte */
.map-scene { overflow-y: auto; justify-content: flex-start; }
.map { flex: none; width: min(100%, 300px, 38vh); transform-origin: 50% 0; filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }
.map svg { display: block; width: 100%; height: auto; }
.map.roll { animation: roll 1.100s cubic-bezier(.2,.8,.2,1); }
@keyframes roll { from { transform: scaleY(.04); opacity: .4; } }
.map .lbl { font: 600 13px var(--serif); fill: #0F1A3A; } .map .n780 { font: 600 12px var(--serif); fill: #B5616B; }
.map.lit .here circle { animation: glow 1.800s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow { 50% { transform: scale(1.7); opacity: .12; } }
.map-body { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.map-body .line { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.25; margin: 4px 0 0; }
.map-body .field { max-width: none; }
.map-body .hint:empty { display: none; }
.oath { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--gold); background: rgba(201,162,74,.1); }
.oath b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold); } .oath span { font-size: 13px; color: var(--muted); }
.sticker { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 26px; border-radius: 50% / 46%; background: var(--paper); color: var(--ink); border: 2px dashed #B89B5E; transform: rotate(-3deg); animation: pop .4s cubic-bezier(.2,.9,.3,1.4); }
.sticker b { font-family: var(--serif); font-size: 22px; } .sticker span { font-size: 13px; } .sticker .pin { font-size: 20px; }
/* Umschlag und Brief */
.envelope { position: relative; align-self: center; width: 250px; height: 150px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding-bottom: 18px; color: var(--ink); background: linear-gradient(160deg, #F0DFA8, #C9A24A 75%); box-shadow: 0 10px 26px rgba(0,0,0,.4); overflow: hidden; animation: drop .5s cubic-bezier(.3,1.4,.5,1); }
.envelope::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 78px; background: linear-gradient(180deg, #E6CF8E, #C39A3F); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform .5s; transform-origin: top; }
.envelope b { font-family: var(--serif); font-size: 21px; } .envelope span { font-size: 14px; }
.envelope .seal { position: absolute; left: 50%; top: 56px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4C2, #E2B33C 45%, #9A7420); box-shadow: 0 2px 5px rgba(0,0,0,.35); z-index: 1; transition: transform .45s, opacity .45s; }
.envelope.open .seal { transform: scale(1.6) rotate(40deg); opacity: 0; } .envelope.open::before { transform: rotateX(160deg); }
@keyframes drop { from { transform: translateY(-120px) rotate(-14deg); opacity: 0; } }
.letter { background: linear-gradient(160deg, #FBF2D6, #F0DFA8); border: 1px solid #C9A24A; color: var(--ink); border-radius: 14px; padding: 16px 18px; max-height: 34vh; overflow-y: auto; animation: pop .4s ease; text-align: left; }
.let-h { margin: 0 0 8px; font-size: 11.500px; letter-spacing: .12em; text-transform: uppercase; color: #8A6A1F; font-weight: 600; }
.let-b { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.32; font-weight: 500; white-space: pre-wrap; }
/* Ton-Zeichen, Zeit */
.phone-row { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; } .phone { width: 78px; flex: none; } .phone-row .small { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.field.time { text-align: center; font-size: 22px; font-family: var(--serif); color-scheme: dark; }
.chips { display: flex; gap: 8px; justify-content: center; }
.chips button { height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--gold-soft); font-size: 14.500px; color: var(--paper); }
/* Abendpost-Leiste */
.postbar { flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; margin: 8px 12px 0; border-radius: 23px; background: linear-gradient(135deg, #F0DFA8, #C9A24A); color: var(--ink); font-weight: 600; font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,.35); animation: pop .4s ease; }
.sheet .voice { width: 100%; margin: 6px 0; }
@media (max-height: 640px) { .botin { width: 110px; height: 78px; } .say { font-size: 16px; padding: 8px 14px; } }

/* Paket 12a: Antippen (C04) */
.bub.de .w { border-bottom: 1px dotted rgba(15,26,58,.32); cursor: pointer; padding: 2px 0; -webkit-tap-highlight-color: transparent; }
.bub.de .w.on { background: var(--gold); border-radius: 5px; border-bottom-color: transparent; box-shadow: 0 0 0 3px var(--gold); }
.gloss { flex: none; margin: 4px 12px 6px; padding: 10px 12px; border-radius: 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--gold); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.gloss[hidden] { display: none; }
.g-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.g-say, .g-x { flex: none; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; color: var(--ink); background: rgba(15,26,58,.07); }
.g-x { background: none; font-size: 26px; line-height: 1; opacity: .55; margin-left: auto; }
.g-word { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; }
.g-mean { font-size: 16px; opacity: .8; min-width: 0; overflow-wrap: anywhere; }
.g-more { margin-top: 6px; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(15,26,58,.25); color: var(--ink); font-size: 14px; font-weight: 600; }
.g-more[hidden], .g-sent[hidden] { display: none; }
.g-sent { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(15,26,58,.14); }
.g-sent p { margin: 0; } .g-de { font-size: 14px; opacity: .65; } .g-en { font-family: var(--serif); font-size: 20px; line-height: 1.25; margin-top: 2px !important; }

/* Paket 12b-1: "In German?" */
.ig-row { flex: none; display: flex; justify-content: flex-end; padding: 0 12px; min-height: 0; }
.ig-btn { height: 34px; margin: 4px 0 0; padding: 0 16px; border-radius: 17px; background: linear-gradient(135deg, #F0DFA8, #C9A24A 75%); color: var(--ink); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; box-shadow: 0 2px 10px rgba(0,0,0,.3); animation: pop .25s ease; }
.ig-btn:disabled { opacity: .7; }
.ig { flex: none; margin: 6px 12px 0; padding: 10px 12px 12px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.35); animation: pop .22s ease; max-height: 46vh; overflow-y: auto; }
.ig.done { box-shadow: 0 0 0 2px var(--gold), 0 6px 24px rgba(0,0,0,.35); }
.ig-head { display: flex; align-items: center; gap: 8px; }
.ig-head b { flex: 1; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.ig-peek { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid #B89B5E; color: #6b5215; font-size: 13px; font-weight: 600; }
.ig .g-x { width: 32px; height: 32px; font-size: 22px; color: #6b5215; }
.ig-en { margin: 2px 0 8px; font-size: 13.5px; font-style: italic; opacity: .7; }
.ig-line { display: flex; flex-wrap: wrap; gap: 4px 7px; min-height: 30px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.ig-line .gap { color: #9a8a63; letter-spacing: .04em; font-weight: 500; }
.ig-line .ok { color: #8a6a1f; }
.ig-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ig-chip { display: flex; flex-direction: column; align-items: center; min-height: 44px; padding: 6px 13px; border-radius: 12px; background: #fff8e3; border: 1px solid #B89B5E; color: var(--ink); font-size: 16.5px; font-weight: 600; }
.ig-chip small { font-size: 11.5px; font-weight: 400; opacity: .65; }
.ig-chip.no { animation: igno .3s ease; }
@keyframes igno { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* C08 Korrektur: der richtige Satz unter der Blase */
.corr { max-width: 100%; margin: 3px 4px 0; padding: 7px 11px 6px; border-radius: 12px; border: 1px solid var(--gold-soft); background: rgba(201,162,74,.08); font-size: 14.5px; line-height: 1.4; color: var(--paper); }
.row.me .corr { align-self: flex-end; }
.corr.quiet { border-style: dotted; background: none; opacity: .85; }
.corr-line b.gold { color: var(--gold); font-weight: 600; } .corr-line b.gold.main { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.corr-line .dot { border-bottom: 1.5px dotted rgba(242,232,207,.55); }
.corr-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.corr-by { font-size: 11px; letter-spacing: .08em; opacity: .7; } .corr-done { font-size: 12.5px; color: var(--gold); }
.corr-btn { min-height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--gold-soft); color: var(--gold); font-size: 13px; font-weight: 600; }
.corr-show { font-family: var(--serif); font-size: 21px; color: var(--gold); text-align: center; margin: 0 0 12px; }
.corr-small { margin-top: 4px; font-size: 12px; opacity: .7; }
textarea.corr-edit { height: auto; min-height: 84px; padding: 12px 14px; line-height: 1.35; resize: none; }
.corr-i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold); font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1; }

/* ---------- Paket 13a: Karte, Schlüssel, Keepsakes, Brief ---------- */
.bfly-btn { flex: none; width: 40px; height: 40px; margin: -3px; border-radius: 50%; display: grid; place-items: center; }
.bfly-btn:active { background: var(--gold-soft); }
.pill.keys { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; }
.pill.keys.grew { animation: grew .9s cubic-bezier(.2,.9,.3,1.4); }
@keyframes grew { 30% { transform: scale(1.25); background: var(--gold-soft); } }
.back-btn { position: absolute; top: calc(var(--safe-t) + 12px); left: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold); font-size: 28px; line-height: 1; padding-bottom: 4px; z-index: 3; }
.world { padding-top: calc(var(--safe-t) + 60px); }
.world-map { width: min(100%, 360px, 52vh); }
.map .n780 { cursor: pointer; }
.map .bf { transform-box: fill-box; transform-origin: center; animation: drift 4s ease-in-out infinite; }
.map .bf.salto { animation: salto 1.1s cubic-bezier(.4,0,.2,1) 1, drift 4s 1.1s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(-3px) rotate(3deg); } }
@keyframes salto { 0% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-26px) rotate(-200deg) scale(1.2); } 75% { transform: translateY(-6px) rotate(-360deg); } 100% { transform: translateY(0) rotate(-360deg); } }
.miles { margin: 2px 0 0; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--paper); text-align: center; }
.count-chip { align-self: center; padding: 8px 18px; border-radius: 20px; border: 1px solid var(--gold-soft); color: var(--paper); font-size: 15px; }
.count-chip b { color: var(--gold); font-family: var(--serif); font-size: 22px; }
.letter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.letter-chip { padding: 9px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; }
.letter-chip.new { background: linear-gradient(135deg, #F0DFA8, #C9A24A); animation: pulse 1.6s ease-in-out infinite; }
.world .btn.line-btn { align-self: center; min-width: 200px; }
.mail-line { text-align: center; } .mail-line .link { padding: 4px; font-size: 14px; color: var(--gold); }
.keyring { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0 4px; }
.keyring .spk { font-size: 40px; } .keyring b { font-family: var(--serif); font-size: 54px; color: var(--gold); line-height: 1; }
.sheet p.center { text-align: center; }
.sheet .field.time { max-width: none; margin-top: 4px; }
.sheet .chips { margin: 8px 0; }
.sheet .link { display: block; margin: 6px auto 0; }
.sheet .sticker { margin: 10px auto 16px; }
.ks-scene, .letter-scene { overflow-y: auto; justify-content: flex-start; padding-top: calc(var(--safe-t) + 62px); }
.ks-h { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 32px; }
.ks-list { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; }
.ks-sec { margin: 12px 4px 2px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ks-tile { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 58px; padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(201,162,74,.25); background: rgba(255,255,255,.04); color: var(--paper); }
.ks-tile:active { background: var(--gold-soft); }
.ks-ic { flex: none; width: 34px; font-size: 24px; text-align: center; }
.ks-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-t b { font-weight: 600; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; }
.ks-t span { font-size: 12.5px; color: var(--muted); }
.ks-tile.kept .ks-t b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; white-space: normal; }
.ks-tile.sealed { justify-content: center; height: 96px; background: linear-gradient(160deg, #F0DFA8, #C9A24A 75%); border: 0; position: relative; overflow: hidden; }
.ks-tile.sealed::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 52px; background: linear-gradient(180deg, #E6CF8E, #C39A3F); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ks-tile.sealed .ks-t { display: none; }
.rose-seal { position: relative; z-index: 1; width: 34px; height: 34px; margin-top: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4C2, #E2B33C 45%, #9A7420); box-shadow: 0 2px 5px rgba(0,0,0,.35); }
.botin.small-b { display: block; width: 110px; height: 78px; margin: 4px auto 8px; animation: hover 3.4s ease-in-out infinite; }
.sheet p.say { display: table; margin: 0 0 8px; color: var(--ink); }
.ks-film { display: block; width: 100%; max-height: 60vh; border-radius: 14px; background: #050918; }
.paper { width: 100%; max-width: 420px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 20px 20px 24px; font-family: var(--serif); font-size: 20px; line-height: 1.55; white-space: pre-wrap; box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.lw { background: #1d2440; color: transparent; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lw.on { background: none; color: #9A7424; font-weight: 600; animation: pop .4s ease; }
.sheet .letter p { color: var(--ink); }
.sheet h2.sub-h { font-size: 19px; margin-top: 18px; }

/* ---------- Paket 14: Cockpit ---------- */
.cp-list { max-width: 460px; }
.cp-list .small { font-size: 14px; color: var(--muted); margin: 2px 4px; line-height: 1.5; }
.cp-h { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.cp-kv { margin: 0 4px; }
.cp-row { width: 100%; }
.cp-row .ks-t b { white-space: normal; }
.cp-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.cp-dot.grn { background: #7FBF8E; } .cp-dot.yel { background: #E8C55A; } .cp-dot.red { background: var(--rose); }
.cp-go { flex: none; color: var(--gold); font-size: 22px; line-height: 1; }
.cp-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid rgba(201,162,74,.25); background: rgba(255,255,255,.04); }
.cp-card p { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.cp-card p.dim, .sheet .cp-item .t span { color: var(--muted); font-size: 13px; }
.cp-card p.gold { color: var(--gold); font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.cp-card label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.cp-card .field, .sheet .field { max-width: none; color-scheme: dark; }
.sheet .field { margin-top: 8px; }
.cp-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.cp-btns button { flex: 1 1 0; min-height: 46px; padding: 0 12px; border-radius: 23px; border: 1px solid var(--gold-soft); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.cp-btns button.go { background: var(--gold); color: var(--ink); border: 0; }
.cp-btns button:disabled, .cp-item button:disabled { opacity: .35; }
.cp-foot { text-align: center; margin-top: 14px !important; }
.cp-list > .btn { width: 100%; }
.cp-item { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 6px 4px; border-top: 1px solid rgba(242,232,207,.08); }
.cp-item.used { opacity: .55; }
.cp-item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cp-item .t b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.cp-item button { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--gold); font-size: 16px; }
.cp-file { width: 100%; margin: 8px 0 0; color: var(--paper); font: inherit; font-size: 14px; }

/* Paket 15: Woche 1 (Warum, Late-night thought, Geheimnisse, Zahl, Wochenrückblick), Herzerl, Ruhezeit */
.postbar.ln { background: linear-gradient(135deg, #F3C4C8, #E39AA0); }
.say.me { align-self: flex-end; background: var(--night-3); color: var(--paper); border: 1px solid var(--gold); border-radius: 20px 20px 6px 20px; }
.field.why-in { height: auto; min-height: 64px; padding: 12px 16px; resize: none; line-height: 1.35; }
.why-card { width: 100%; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px; text-align: left; animation: pop .4s ease; }
.why-big { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 600; margin: 0 0 10px; overflow-wrap: anywhere; }
.why-small { margin: 4px 0 0; font-size: 14px; color: #5b5540; overflow-wrap: anywhere; }
.sheet .say { align-self: flex-start; width: fit-content; }
.ln-card { position: relative; background: linear-gradient(160deg, #16244D, #0B1330); border: 1px solid var(--gold); border-radius: 16px; padding: 18px; text-align: center; margin: 8px 0; }
.ln-card .let-h { color: var(--gold); margin: 0; }
.ln-no { font-family: var(--serif); font-style: italic; font-size: 24px; margin: 8px 0 4px; color: var(--paper); }
.ln-foot { display: flex; flex-direction: column; gap: 10px; }
.rx { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rx-row { display: flex; gap: 10px; width: 100%; }
.rx-row .btn { flex: 1; }
.rx-row.big button { flex: 1; height: 56px; font-size: 28px; border-radius: 16px; border: 1px solid var(--gold-soft); }
.sec-env { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 74px; padding: 0 16px 0 62px; border-radius: 14px; color: var(--ink); background: linear-gradient(160deg, #F0DFA8, #C9A24A 75%); text-align: left; box-shadow: 0 6px 16px rgba(0,0,0,.35); overflow: hidden; }
.sec-env .seal { position: absolute; left: 16px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4C2, #E2B33C 45%, #9A7420); box-shadow: 0 2px 5px rgba(0,0,0,.35); transition: transform .45s, opacity .45s; }
.sec-env.open .seal { transform: scale(1.5) rotate(40deg); opacity: .25; }
.sec-env b { flex: 1; font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.sec-env .lock { flex: none; font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 12px; background: rgba(11,19,48,.14); }
.sec-env.locked { filter: saturate(.55) brightness(.82); }
.sec-env[disabled] { opacity: .6; }
.num-big { align-self: center; text-align: center; font-family: var(--serif); font-size: 26px; color: var(--paper); margin: 8px 0; animation: pop .5s cubic-bezier(.2,.9,.3,1.3); }
.num-big b { display: block; font-size: 84px; line-height: 1.22; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; color: var(--gold); }
.num-big span { display: block; margin-top: 6px; font-family: inherit; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scene.rv-scene { overflow-y: auto; justify-content: flex-start; }
.rv-body { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.rv-says { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.rv-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rv-row::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 86%; scroll-snap-align: center; min-height: 210px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.rv-card .let-h { margin: 0 0 4px; }
.rv-then { margin: 0; font-family: var(--serif); font-size: 20px; color: #6b644c; overflow-wrap: anywhere; }
.rv-arrow { margin: 0; text-align: center; color: #8A6A1F; }
.rv-now { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.rv-cap { margin: 0; font-size: 12.5px; color: #8A6A1F; }
.rv-nums { display: flex; justify-content: space-between; gap: 8px; text-align: center; }
.rv-nums div { flex: 1; }
.rv-nums b { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: #8A6A1F; }
.rv-nums span { font-size: 12px; color: #5b5540; }
.rv-rec { margin: 0; text-align: center; font-weight: 600; color: #8A6A1F; }
.rv-line { margin: 0; font-size: 16px; }
.rv-card .voice { color: var(--ink); }
.rv-fb { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rv-fb .btn, .rv-fb .field { align-self: stretch; max-width: none; }
.chips.wrap { flex-wrap: wrap; justify-content: flex-start; }
.chips button.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.herz { position: relative; display: block; align-self: center; width: 200px; height: 180px; margin: 4px auto; animation: pop .45s cubic-bezier(.2,.9,.3,1.3); }
.herz svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(0,0,0,.45)); }
.herz span { position: absolute; left: 22px; right: 22px; top: 50px; text-align: center; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.1; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.herz-more { text-align: center; }
.herz-more p { margin: 2px 0; }
.q-lab { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.cp-item button.on { background: var(--gold); color: var(--ink); }
.dg-day { flex: none; width: 112px; font-size: 12px; color: var(--muted); }
.btn.line-btn.spicy { border-color: var(--rose); color: var(--rose); }
.sheet .why-card p { color: var(--ink); margin: 0 0 8px; }
.sheet .why-card p.why-small { color: #5b5540; }
.sheet .rx { margin: 6px 0; }

/* Paket 1b-1: Staffel 1 "Today" */
.s1-scene { gap: 10px; }
.s1-scene .ks-h { margin-bottom: 0; }
.s1-path { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 4px 18px 0; height: 34px; }
.s1-path::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 2px dotted var(--gold-soft); }
.s1-path i { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); background: var(--night); }
.s1-path i.on { background: var(--gold); }
.s1-path img { position: absolute; top: -6px; width: 26px; transition: left .6s; }
.s1-stop.done { opacity: .72; }
.s1-stop.done .ks-ic { color: var(--gold); font-weight: 700; }
.s1-say { align-self: center; }
.s1-links { display: flex; gap: 8px; } .s1-links .btn { flex: 1; }
.s1-ep .s1-epno { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0; }
.s1-ep .s1-ept { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 2px 0 6px; }
a.btn.s1-dw, a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.s1-task { display: flex; flex-direction: column; gap: 12px; }
.s1-q { margin: 6px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.s1-de { margin: 0; text-align: center; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.25; }
.s1-de.big { font-size: 28px; } .s1-de.dim { opacity: .7; font-size: 20px; }
.s1-opts { display: flex; flex-direction: column; gap: 8px; }
.s1-opt { min-height: 52px; padding: 10px 16px; border-radius: 16px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.04); text-align: left; font-size: 16px; }
.s1-opt.ok { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.s1-opt.no { border-color: var(--rose); color: var(--rose); }
.s1-verdict { margin: 4px 0 0; text-align: center; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.s1-verdict.ok { color: var(--gold); } .s1-verdict.no { color: var(--rose); }
.s1-zgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s1-zgrid > div { display: flex; flex-direction: column; gap: 8px; }
.s1-z { min-height: 50px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.04); font-size: 15px; }
.s1-z.de { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.s1-z.sel { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.s1-z.ok { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.s1-z.no { border-color: var(--rose); animation: shake .4s; }
.s1-line { min-height: 60px; padding: 8px; border-radius: 16px; border: 1px dashed var(--gold-soft); display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.s1-pool { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 48px; }
.s1-chip { height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--gold); background: rgba(201,162,74,.12); font-family: var(--serif); font-size: 19px; font-weight: 600; }
.s1-line .s1-chip { background: var(--gold); color: var(--ink); }
.s1-in { width: 100%; min-height: 70px; resize: none; }
.s1-rec { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; border: 1px solid rgba(201,162,74,.25); background: rgba(255,255,255,.04); }
.s1-rect { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.s1-rect b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.s1-rect span { font-size: 13px; color: var(--muted); }
.s1-ib { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--gold-soft); font-size: 18px; }
.s1-ib.mic.on { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.s1-prompt { margin: 0 4px; font-size: 15px; color: var(--muted); }
.s1-logrow.stamp .ks-ic { color: var(--gold); font-weight: 700; }
.s1-stampbig { width: 150px; height: 150px; border-radius: 50%; border: 3px double var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold); transform: rotate(-8deg); margin-bottom: 18px; }
.s1-stampbig small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.s1-stampbig b { font-family: var(--serif); font-size: 54px; line-height: 1; }
.s1-stampbig span { font-size: 22px; }
.line.center { text-align: center; }
.s1-scene { align-items: stretch; }
.s1-scene > .btn, .s1-scene .s1-say { align-self: center; }
.s1-stampbig b, .s1-path, .s1-ep .s1-epno { font-variant-numeric: lining-nums; }
/* Paket 1b-2: Sprech-Date, My lines */
.s2-pair { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 16px; border: 1px solid rgba(201,162,74,.22); background: rgba(255,255,255,.03); }
.s2-say { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 4px 2px; background: none; border: 0; text-align: left; width: 100%; }
.s2-say b { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; }
.s2-say span { font-size: 13px; color: var(--muted); }
.s2-say.q b { font-size: 16px; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.s2-say.a b { color: var(--paper); }
.s2-say.a b::before { content: "🔊 "; font-size: 13px; }
.s2-k { align-self: flex-start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 10px; padding: 1px 8px; }
.s2-owe { margin: 0; text-align: center; color: var(--rose); font-family: var(--serif); font-size: 19px; font-weight: 600; }
.s2-box { display: flex; flex-direction: column; gap: 10px; }
.s2-days { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }
.s2-day { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--gold-soft); background: none; font-weight: 600; }
.s2-day.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.s2-r { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px solid rgba(201,162,74,.15); }
.s2-r span { font-size: 13px; opacity: .75; }
/* Paket 1b-3: My Book, Sentences I own */
.mb-cover { align-self: center; width: 150px; padding: 16px 10px; border-radius: 6px 16px 16px 6px; border: 1px solid var(--gold); border-left: 6px solid var(--gold); background: var(--night-3); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mb-cover small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mb-cover b { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.mb-cover span { font-size: 13px; color: var(--muted); }
.mb-tile.sealed .ks-ic { filter: none; } .mb-tile.new { border-color: var(--gold); }
.mb-locked { margin: 0 4px 4px; opacity: .7; }
.mb-h { font-size: 26px; line-height: 1.15; }
.mb-ex { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(201,162,74,.25); background: rgba(255,255,255,.04); }
.mb-ex small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mb-bad { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(242,232,207,.35); }
.s1-de.mb-bad { font-size: 22px; }
.mb-ok { text-align: left; padding: 0; border: 0; background: none; color: var(--gold); font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; }
.mb-rule { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--gold); background: rgba(201,162,74,.1); }
.mb-rule[hidden], .mb-foot[hidden] { display: none; }
.mb-r { margin: 0; font-size: 16px; line-height: 1.4; }
.mb-f { display: flex; flex-wrap: wrap; gap: 6px; }
.mb-f span { padding: 4px 10px; border-radius: 12px; background: var(--night); border: 1px solid var(--gold-soft); font-family: var(--serif); font-size: 17px; font-weight: 600; }
.mb-t { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); } .mb-t b { color: var(--paper); font-weight: 600; }
.mb-foot { display: flex; flex-direction: column; gap: 8px; }
.mb-sealbig { font-size: 84px; line-height: 1; animation: pop .5s; }
.own-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: 16px; border: 1px solid var(--gold-soft); background: rgba(201,162,74,.08); text-align: left; }
.own-row.fresh { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.own-de { flex: 1; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.own-row small { font-size: 11px; color: var(--muted); }
.own-almost { margin: 0 4px; font-family: var(--serif); font-size: 19px; color: var(--muted); }
.btn.glow { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }

/* 1b-3b: Botin flattert bei "Something fell out.", der Brief faellt von oben herab; Siegel golden statt rosa */
.botin.flutter { animation: flutter .13s ease-in-out 12 alternate, rise 1.6s ease-in-out; }
@keyframes flutter { from { scale: 1 1; } to { scale: .5 1; } }
@keyframes rise { 0%,100% { translate: 0 0; } 30% { translate: 0 -16px; } 60% { translate: 6px -10px; } }
.envelope.falling { z-index: 2; animation: fall 1.7s cubic-bezier(.35,.1,.45,1) both; }
@keyframes fall { 0% { transform: translate(-10px,-320px) rotate(-22deg); opacity: 0; } 12% { opacity: 1; } 35% { transform: translate(28px,-190px) rotate(14deg); } 58% { transform: translate(-22px,-80px) rotate(-10deg); } 80% { transform: translate(8px,-14px) rotate(5deg); } 92% { transform: translate(0,4px) rotate(-1deg); } 100% { transform: translate(0,0) rotate(0); } }
.envelope .seal, .sec-env .seal, .rose-seal { box-shadow: 0 2px 5px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,240,190,.55), inset 0 -3px 6px rgba(90,60,10,.35); }

/* 1b-3c: Botin redet, errötet, stellt zu, freut sich; Gold neu (zwei Goldtöne + Silbersiegel) */
.bw { position: relative; flex: none; display: flex; justify-content: center; isolation: isolate; }
.scene { position: relative; }
.botin.talk { animation: talk .16s ease-in-out 6 alternate; }
@keyframes talk { from { transform: translateY(0) scale(1, 1) rotate(-1deg); } to { transform: translateY(-5px) scale(1.04, .95) rotate(1.500deg); } }
.bw::after { content: ""; position: absolute; left: 50%; top: 50%; width: 170px; height: 120px; margin: -60px 0 0 -85px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,105,140,.55), rgba(255,105,140,0)); opacity: 0; transition: opacity .6s; pointer-events: none; z-index: -1; }
.bw.blush::after { opacity: 1; }
.bw.blush .botin { filter: drop-shadow(0 0 16px rgba(255,110,150,.85)) sepia(.5) saturate(2.8) hue-rotate(-32deg); }
.bw.shy .botin { animation: shy 1.1s ease-in-out 2; }
@keyframes shy { 0%,100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-9deg) scale(.9); } 45% { transform: rotate(7deg) scale(.92); } 70% { transform: rotate(-4deg) scale(.95); } }
.b-heart { position: absolute; bottom: 40%; font-size: 20px; animation: heartUp 2s ease-out both; pointer-events: none; }
@keyframes heartUp { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-90px) scale(1.15); opacity: 0; } }
.bw.deliver { animation: deliver 2.5s ease-in-out both; z-index: 3; }
.bw.deliver .botin { animation: flutter .12s ease-in-out 20 alternate; }
@keyframes deliver { 0% { transform: none; } 42% { transform: translate(78vw, -40px) rotate(14deg); opacity: 1; } 47% { transform: translate(78vw, -40px); opacity: 0; } 55% { transform: translate(-78vw, -20px); opacity: 0; } 62% { opacity: 1; } 100% { transform: none; } }
.mini-env { position: absolute; left: 50%; bottom: -8px; margin-left: -15px; font-size: 30px; animation: envGo 2.5s linear both; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
@keyframes envGo { 0%,44% { opacity: 1; } 45%,100% { opacity: 0; } }
.got { position: absolute; top: calc(var(--safe-t) + 14px); right: 12px; z-index: 4; padding: 8px 14px; border-radius: 18px; color: var(--ink); font-weight: 600; font-size: 14px; background: linear-gradient(135deg, #FFF3C4, #E9C25A 55%, #C99A2E); box-shadow: 0 6px 18px rgba(0,0,0,.4); animation: pop .45s cubic-bezier(.2,.9,.3,1.4); }
.botin.joy, .bfly.joy { animation: joy .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes joy { 0% { transform: none; } 30% { transform: translateY(-16px) rotate(-8deg) scale(1.1); } 55% { transform: translateY(0) rotate(6deg) scale(.96, 1.04); } 75% { transform: translateY(-6px) rotate(-3deg); } 100% { transform: none; } }
.b-spark { position: absolute; top: 4px; right: 18%; font-size: 20px; animation: heartUp .9s ease-out both; pointer-events: none; }
/* Gold: hell #FFF3C4 / satt #E9C25A / tief #C99A2E; Siegel Silber */
.envelope, .sec-env, .ks-tile.sealed { background: linear-gradient(160deg, #FFF3C4 0%, #E9C25A 42%, #C99A2E 100%); }
.envelope::before, .ks-tile.sealed::before { background: linear-gradient(180deg, #F7DC80, #D4A53A); }
.envelope::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%); background-size: 250% 100%; animation: shine 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { background-position: 120% 0; } 60%,100% { background-position: -120% 0; } }
.envelope .seal, .sec-env .seal, .rose-seal { background: radial-gradient(circle at 35% 30%, #FFFFFF, #D9DEE7 45%, #8B95A7); }
.letter-chip.new, .postbar { background: linear-gradient(135deg, #FFF3C4, #E9C25A 55%, #C99A2E); }
.letter { background: linear-gradient(160deg, #FFFBEA, #F8E8AE); border: 1.500px solid #D9B04A; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.let-h { color: #9A7420; }

/* 1b-3d: Botin sitzt neben der aktuellen Blase; Röte nur im Gesicht */
.says { overflow-x: hidden; }
.say-row { display: flex; align-items: center; gap: 6px; max-width: 100%; }
.say-row .say { flex: 0 1 auto; }
.botin { position: relative; display: block; }
.botin > img, .b-face, .b-face svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.b-face { opacity: 0; transition: opacity .5s; pointer-events: none; }
.bw.blush .b-face { opacity: 1; animation: blushPulse 1.6s ease-in-out infinite; }
@keyframes blushPulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.bw.blush .botin { filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.bw::after { display: none; }
.say-row .botin { width: 118px; height: 84px; margin-top: 0; }
.bw.hop { animation: hopIn .45s cubic-bezier(.3,1.5,.5,1); }
@keyframes hopIn { from { transform: translateY(-22px) scale(.92); opacity: .4; } }
.bw.shy .botin { animation: shy 1.1s ease-in-out 2; transform-origin: 50% 60%; }
@keyframes shy { 0%,100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-9deg) scale(1.18); } 45% { transform: rotate(7deg) scale(1.15); } 70% { transform: rotate(-4deg) scale(1.1); } }
@media (max-height: 640px) { .say-row .botin { width: 92px; height: 66px; } }

/* 1b-3e: echte Flügelschläge (eingebettetes SVG), kleiner und zarter, Flüge durchs Bild */
.botin > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.botin .wg { transform-origin: 200px 165px; animation: flap 1.1s ease-in-out infinite alternate; }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.72); } }
@keyframes flapFast { from { transform: scaleX(1); } to { transform: scaleX(.28); } }
.bw.talk .wg { animation: flapFast .17s ease-in-out infinite alternate; }
.bw.enter .wg, .bw.deliver .wg, .bw.carry .wg, .bw.cheer .wg, .bw.joy .wg, .botin.joy .wg { animation: flapFast .09s ease-in-out infinite alternate; }
.bw.shy .wg { animation: flap .5s ease-in-out infinite alternate; }
.bw.talk .botin { animation: talkBob .34s ease-in-out infinite alternate; }
@keyframes talkBob { from { transform: translateY(1px) rotate(-3deg); } to { transform: translateY(-6px) rotate(3deg); } }
.botin.rose { filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); } .botin.rose .b-face { opacity: 1; }
.say-row .botin { width: 92px; height: 66px; }
.botin.small-b { width: 92px; height: 66px; }
@media (max-height: 640px) { .say-row .botin { width: 78px; height: 56px; } }
.bw.hop { animation: hopIn .5s cubic-bezier(.3,1.5,.5,1); }
@keyframes hopIn { 0% { transform: translate(-6px,-26px) rotate(-8deg); } 60% { transform: translate(2px,3px) rotate(4deg); } 100% { transform: none; } }
.bw.enter { animation: flyIn .9s cubic-bezier(.2,.8,.3,1); }
@keyframes flyIn { 0% { transform: translate(-70vw,-70px) rotate(-16deg); } 55% { transform: translate(14px,-22px) rotate(10deg); } 80% { transform: translate(-4px,6px) rotate(-4deg); } 100% { transform: none; } }
.bw.joy { animation: joyFly .75s ease-in-out; }
@keyframes joyFly { 0%,100% { transform: none; } 30% { transform: translate(6px,-24px) rotate(-10deg) scale(1.08); } 60% { transform: translate(-4px,-8px) rotate(8deg); } 80% { transform: translate(2px,-14px) rotate(-4deg); } }
.bw.cheer { animation: cheer 1s ease-in-out; z-index: 3; }
@keyframes cheer { 0%,100% { transform: none; } 20% { transform: translate(40px,-60px) rotate(-14deg); } 40% { transform: translate(110px,-30px) rotate(12deg); } 60% { transform: translate(150px,-80px) rotate(-10deg) scale(1.1); } 80% { transform: translate(60px,-40px) rotate(8deg); } }
.bw.deliver { animation: deliver 2.5s ease-in-out both; z-index: 3; }
.bw.deliver .botin, .bw.carry .botin, .bw.cheer .botin, .bw.enter .botin, .bw.joy .botin { animation: none; }
@keyframes deliver { 0% { transform: none; } 12% { transform: translate(8vw,-46px) rotate(-8deg); } 26% { transform: translate(34vw,-10px) rotate(12deg); } 42% { transform: translate(90vw,-60px) rotate(16deg); opacity: 1; } 46% { transform: translate(90vw,-60px); opacity: 0; } 54% { transform: translate(-80vw,-50px); opacity: 0; } 60% { transform: translate(-70vw,-50px) rotate(-12deg); opacity: 1; } 85% { transform: translate(10px,-18px) rotate(8deg); } 100% { transform: none; } }
.bw.carry { animation: carry 1.9s ease-in-out both; z-index: 3; }
@keyframes carry { 0% { transform: none; } 18% { transform: translate(8vw,-70px) rotate(-10deg); } 45% { transform: translate(calc(50vw - 110px),-40px) rotate(12deg); } 55% { transform: translate(calc(50vw - 110px),-58px) rotate(-6deg); } 80% { transform: translate(12vw,-50px) rotate(-10deg); } 100% { transform: none; } }
.mini-env.drop { animation: envDrop 1.9s ease-in both; }
@keyframes envDrop { 0%,45% { opacity: 1; transform: none; } 62% { opacity: 1; transform: translateY(110px) rotate(24deg); } 70%,100% { opacity: 0; transform: translateY(150px) rotate(30deg); } }
.envelope.falling { animation: fall 1.5s cubic-bezier(.35,.1,.45,1) both; }

/* 1b-3f: Schmetterling schlüpft beim richtigen Code aus dem Kokon */
.hatchbox { position: relative; display: flex; justify-content: center; }
.hatchbox .hatchling { position: absolute; left: 50%; top: 34%; width: 110px; height: 79px; margin-left: -55px; opacity: 0; animation: none; }
.hatchbox.hatch .cocoon { animation: wobble .11s ease-in-out 7 alternate, crack .7s .8s ease-in forwards; }
@keyframes wobble { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes crack { 0% { transform: none; opacity: 1; } 30% { transform: scale(1.08, .94); filter: brightness(1.6); } 100% { transform: scale(1.25, .4) translateY(70px); opacity: 0; filter: brightness(2) blur(3px); } }
.hatchbox.hatch .hatchling { animation: emerge 1.6s .85s cubic-bezier(.3,1.2,.5,1) forwards; }
.hatchbox.hatch .hatchling .wg { animation: flapFast .09s ease-in-out infinite alternate; }
@keyframes emerge { 0% { opacity: 0; transform: scale(.15) translateY(30px); } 25% { opacity: 1; transform: scale(.55) translateY(0) rotate(-6deg); } 55% { transform: scale(1.2) translateY(-46px) rotate(8deg); } 80% { transform: scale(1.05) translateY(-26px) rotate(-5deg); } 100% { opacity: 1; transform: scale(1) translateY(-30px) rotate(0); } }
.hatchbox.hatch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,236,170,.85), rgba(233,194,90,.3) 55%, rgba(233,194,90,0)); opacity: 0; animation: burst 1.1s .85s ease-out; pointer-events: none; }
@keyframes burst { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }
.stage.hatching .line, .stage.hatching .dots, .stage.hatching .pad, .stage.hatching .hint { opacity: 0; transition: opacity .5s; }

/* 1b-3h: Botin niedlicher (großer Kopf, große Augen, Blinzeln, Fühler wippen) und sie spielt, was sie sagt (Gesten je Zeile) */
.say-row .botin, .botin.small-b { width: 104px; height: 74px; }
@media (max-height: 640px) { .say-row .botin { width: 88px; height: 62px; } }
.botin .hd { transform-box: fill-box; transform-origin: 50% 100%; }
.botin .e, .botin .ey, .botin .mo { transform-box: fill-box; transform-origin: 50% 50%; }
.botin .al { transform-box: fill-box; transform-origin: 100% 100%; animation: anSway 2.6s ease-in-out infinite alternate; }
.botin .ar { transform-box: fill-box; transform-origin: 0% 100%; animation: anSway 2.6s ease-in-out -1.3s infinite alternate-reverse; }
@keyframes anSway { from { transform: rotate(-5deg); } to { transform: rotate(6deg); } }
.botin .e { animation: blink 4.4s ease-in-out infinite; }
.botin .er { animation-delay: .03s; }
@keyframes blink { 0%, 43%, 47%, 91%, 94.5%, 98%, 100% { transform: scaleY(1); } 45%, 92.7%, 96.2% { transform: scaleY(.08); } }
.botin .eh, .botin .es, .botin .mq, .botin .md, .botin .mw, .botin .bl { opacity: 0; }
.botin .ey, .botin .eh, .botin .es, .botin .mo { transition: opacity .12s; }
.botin .bl { transition: opacity .5s; }
.bw.blush .bl, .botin.rose .bl { opacity: 1; }
.bw.blush .ck, .botin.rose .ck { opacity: 0; }
.say-row .ey { transform: translateX(1.2px); }
.bw.talk .ms { animation: chat .26s steps(1) infinite; }
.bw.talk .mq { animation: chat .26s steps(1) -.13s infinite; }
@keyframes chat { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.bw { --md: .3s; }
.bw[class*="m-"] { z-index: 2; }
.bw[class*="m-"] .botin { transform-origin: 50% 62%; }
/* Gesichter je Stimmung: frohe Augen, traurige Augen, Grinsen, staunender Mund, verlegener Mund */
.bw:is(.m-wave, .m-proud, .m-swoon, .m-yay, .m-salto, .m-nod, .m-giggle, .joy, .cheer) :is(.ey), .botin.joy .ey { opacity: 0; }
.bw:is(.m-wave, .m-proud, .m-swoon, .m-yay, .m-salto, .m-nod, .m-giggle, .joy, .cheer) .eh, .botin.joy .eh { opacity: 1; }
.bw:is(.m-sorry, .m-no, .m-faint) .ey { opacity: 0; }
.bw:is(.m-sorry, .m-no, .m-faint) .es { opacity: 1; }
.bw:is(.m-wave, .m-yay, .m-salto, .m-cheeky, .m-giggle, .joy, .cheer) .md, .botin.joy .md { opacity: 1; }
.bw:is(.m-ask, .m-ears, .m-dizzy, .m-drum, .m-think) .mq { opacity: 1; animation: none; }
.bw:is(.m-sorry, .m-no, .m-faint, .m-whisper) .mw { opacity: 1; }
.bw:is(.m-wave, .m-yay, .m-salto, .m-cheeky, .m-giggle, .joy, .cheer, .m-ask, .m-ears, .m-dizzy, .m-drum, .m-think, .m-sorry, .m-no, .m-faint, .m-whisper) .ms, .botin.joy .ms { opacity: 0; animation: none; }
.bw:is(.m-ask, .m-ears) .ey { transform: scale(1.22); }
.bw:is(.m-ask, .m-ears) .e { animation: none; }
.bw.m-calm .e { animation: none; transform: scaleY(.5); }
.bw.m-cheeky .er { animation: wink 1.1s var(--md) both; }
@keyframes wink { 0%, 100% { transform: scaleY(1); } 15%, 80% { transform: scaleY(.08); } }
.bw.m-think .ey { transform: translate(1.5px, -3px); }
.bw:is(.m-peek, .m-whisper) .ey { animation: scan .42s ease-in-out var(--md) 3 alternate; }
@keyframes scan { from { transform: translateX(-2.6px); } to { transform: translateX(3px); } }
.bw.m-dizzy .ey { animation: roll .5s linear var(--md) 2; }
@keyframes roll { 0% { transform: translate(0, -3px); } 25% { transform: translate(3px, 0); } 50% { transform: translate(0, 3px); } 75% { transform: translate(-3px, 0); } 100% { transform: translate(0, -3px); } }
/* Flügel je Stimmung */
.bw:is(.m-swoon, .m-calm, .m-peek, .m-think) .wg { animation: flap .7s ease-in-out infinite alternate; }
.bw:is(.m-sorry, .m-whisper) .wg { animation: flapLow .8s ease-in-out infinite alternate; }
@keyframes flapLow { from { transform: scaleX(.62); } to { transform: scaleX(.5); } }
.bw.m-faint .wg { animation: none; transform: scaleX(.9); }
.bw:is(.m-yay, .m-salto, .m-drum, .m-giggle, .m-dizzy) .wg { animation: flapFast .09s ease-in-out infinite alternate; }
.bw.m-wave .wr { animation: wingWave .19s ease-in-out var(--md) 6 alternate, flap 1.1s calc(var(--md) + 1.15s) ease-in-out infinite alternate; }
.bw.m-wave .wl { animation: flap 1.1s ease-in-out infinite alternate; }
@keyframes wingWave { from { transform: rotate(4deg); } to { transform: rotate(-26deg); } }
/* Fühler je Stimmung */
.bw:is(.m-sorry, .m-faint) .al { animation: none; transform: rotate(-34deg); transition: transform .3s var(--md); }
.bw:is(.m-sorry, .m-faint) .ar { animation: none; transform: rotate(34deg); transition: transform .3s var(--md); }
.bw:is(.m-proud, .m-ask) .al { animation: none; transform: rotate(16deg); transition: transform .25s var(--md); }
.bw:is(.m-proud, .m-ask) .ar { animation: none; transform: rotate(-16deg); transition: transform .25s var(--md); }
.bw.m-ears .al { animation: earL .14s ease-in-out var(--md) 8 alternate both; }
.bw.m-ears .ar { animation: earR .14s ease-in-out var(--md) 8 alternate both; }
@keyframes earL { from { transform: rotate(6deg) scale(1.45); } to { transform: rotate(18deg) scale(1.55); } }
@keyframes earR { from { transform: rotate(-6deg) scale(1.45); } to { transform: rotate(-18deg) scale(1.55); } }
.bw:is(.m-giggle, .m-yay, .m-drum) .an { animation-duration: .16s; }
/* Kopf je Stimmung */
.bw.m-no .hd { animation: headNo .2s ease-in-out var(--md) 6 alternate; }
@keyframes headNo { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.bw.m-nod .hd { animation: headNod .22s ease-in-out var(--md) 4 alternate; }
@keyframes headNod { from { transform: translateY(0) rotate(0); } to { transform: translateY(5px) rotate(5deg); } }
.bw.m-ask .hd { animation: headAsk 1.2s var(--md) both; }
@keyframes headAsk { 0%, 100% { transform: none; } 25%, 80% { transform: rotate(-17deg); } }
.bw.m-think .hd { animation: headThink 1.2s var(--md) both; }
@keyframes headThink { 0%, 100% { transform: none; } 25%, 80% { transform: rotate(13deg); } }
.bw.m-sorry .hd { animation: headBow 1.2s var(--md) both; }
@keyframes headBow { 0%, 100% { transform: none; } 30%, 78% { transform: translateY(5px) rotate(4deg); } }
/* Körper je Stimmung: erst die Geste, danach wieder das ruhige Schweben */
.bw.m-wave .botin { animation: mWave 1.2s var(--md) both, hover 3.4s calc(var(--md) + 1.2s) ease-in-out infinite; }
@keyframes mWave { 0%, 100% { transform: none; } 18%, 82% { transform: translateY(-5px) rotate(9deg); } }
.bw.m-proud .botin { animation: mProud 1.2s var(--md) both, hover 3.4s calc(var(--md) + 1.2s) ease-in-out infinite; }
@keyframes mProud { 0%, 100% { transform: none; } 14% { transform: translateY(4px) scale(1.07, .9); } 34%, 82% { transform: translateY(-8px) scale(1.16) rotate(-4deg); } }
.bw.m-dizzy .botin { animation: mDizzy 1.25s var(--md) ease-in-out both, hover 3.4s calc(var(--md) + 1.25s) ease-in-out infinite; }
@keyframes mDizzy { 0%, 100% { transform: none; } 16% { transform: translate(12px, -12px) rotate(18deg); } 34% { transform: translate(-9px, -4px) rotate(-20deg); } 52% { transform: translate(10px, 7px) rotate(16deg); } 70% { transform: translate(-6px, -9px) rotate(-12deg); } 86% { transform: translate(3px, 2px) rotate(6deg); } }
.bw.m-swoon .botin { animation: mSwoon 1.4s var(--md) ease-in-out both, hover 3.4s calc(var(--md) + 1.4s) ease-in-out infinite; }
@keyframes mSwoon { 0%, 100% { transform: none; } 25% { transform: translate(-5px, -7px) rotate(-12deg); } 60% { transform: translate(5px, -9px) rotate(12deg); } 82% { transform: translate(-2px, -3px) rotate(-5deg); } }
.bw.m-sorry .botin { animation: mSorry 1.2s var(--md) both, hover 3.4s calc(var(--md) + 1.2s) ease-in-out infinite; }
@keyframes mSorry { 0%, 100% { transform: none; } 30%, 78% { transform: translateY(9px) rotate(13deg) scale(.93); } }
.bw.m-peek .botin { animation: mPeek 1.3s var(--md) both, hover 3.4s calc(var(--md) + 1.3s) ease-in-out infinite; }
@keyframes mPeek { 0%, 100% { transform: none; } 12% { transform: translateX(-5px) rotate(-5deg); } 28%, 84% { transform: translate(15px, 3px) rotate(11deg); } }
.bw.m-whisper .botin { animation: mWhisper 1.3s var(--md) both, hover 3.4s calc(var(--md) + 1.3s) ease-in-out infinite; }
@keyframes mWhisper { 0%, 100% { transform: none; } 25%, 84% { transform: translate(17px, 5px) rotate(13deg) scale(.86); } }
.bw.m-ears .botin { animation: mEars 1.2s var(--md) both, hover 3.4s calc(var(--md) + 1.2s) ease-in-out infinite; }
@keyframes mEars { 0%, 100% { transform: none; } 15% { transform: translateY(3px) scale(1.05, .93); } 30%, 85% { transform: translateY(-7px) scale(1.06); } }
.bw.m-no .botin { animation: mNo .2s ease-in-out var(--md) 6 alternate, hover 3.4s calc(var(--md) + 1.2s) ease-in-out infinite; }
@keyframes mNo { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
.bw.m-nod .botin { animation: mNod .44s ease-in-out var(--md) 2, hover 3.4s calc(var(--md) + .9s) ease-in-out infinite; }
@keyframes mNod { 0%, 100% { transform: none; } 50% { transform: translateY(5px) scale(1.04, .95); } }
.bw.m-cheeky .botin { animation: mCheeky .16s ease-in-out calc(var(--md) + .15s) 6 alternate, hover 3.4s calc(var(--md) + 1.15s) ease-in-out infinite; }
@keyframes mCheeky { from { transform: rotate(-9deg) translateX(-2px); } to { transform: rotate(9deg) translateX(2px); } }
.bw.m-ask .botin { animation: mAsk 1.2s var(--md) both, hover 3.4s calc(var(--md) + 1.2s) ease-in-out infinite; }
@keyframes mAsk { 0%, 100% { transform: none; } 25% { transform: translate(5px, -4px) rotate(-7deg); } 62% { transform: translate(5px, -4px) rotate(-7deg); } 72% { transform: translate(5px, -11px) rotate(-7deg); } 82% { transform: translate(5px, -4px) rotate(-7deg); } }
.bw.m-calm .botin { animation: mCalm 1.5s var(--md) ease-in-out both, hover 3.4s calc(var(--md) + 1.5s) ease-in-out infinite; }
@keyframes mCalm { 0%, 100% { transform: none; } 50% { transform: translateY(6px) scale(1.04, .96) rotate(-3deg); } }
.bw.m-point .botin { animation: mPoint 1.1s var(--md) both, hover 3.4s calc(var(--md) + 1.1s) ease-in-out infinite; }
@keyframes mPoint { 0%, 100% { transform: none; } 20% { transform: translateX(-8px) rotate(-8deg) scale(1.04, .97); } 45% { transform: translateX(19px) rotate(9deg) scale(.9, 1.07); } 58% { transform: translateX(9px) rotate(3deg); } 74% { transform: translateX(18px) rotate(8deg) scale(.93, 1.05); } }
.say.nudged { animation: pop .28s cubic-bezier(.2,.9,.3,1.3), nudge .2s ease-out .78s 2 alternate, nudge .16s ease-out 1.1s 2 alternate; }
@keyframes nudge { from { transform: none; } to { transform: translateX(7px) rotate(1.5deg); } }
.bw.m-yay .botin { animation: mYay 1s var(--md) both, hover 3.4s calc(var(--md) + 1s) ease-in-out infinite; }
@keyframes mYay { 0%, 100% { transform: none; } 12% { transform: translateY(5px) scale(1.12, .84); } 32% { transform: translateY(-20px) scale(.93, 1.12); } 50% { transform: translateY(2px) scale(1.1, .88); } 68% { transform: translateY(-11px) scale(.96, 1.06); } 85% { transform: translateY(1px) scale(1.05, .95); } }
.bw.m-salto .botin { animation: mSalto 1.15s var(--md) cubic-bezier(.4,0,.3,1) both, hover 3.4s calc(var(--md) + 1.15s) ease-in-out infinite; }
@keyframes mSalto { 0% { transform: none; } 14% { transform: translateY(6px) scale(1.12, .84); } 40% { transform: translateY(-34px) rotate(-150deg); } 62% { transform: translateY(-36px) rotate(-330deg); } 80% { transform: translateY(3px) rotate(-360deg) scale(1.1, .88); } 100% { transform: rotate(-360deg); } }
.bw.m-drum .botin { animation: mDrum 1.3s var(--md) both, hover 3.4s calc(var(--md) + 1.3s) ease-in-out infinite; }
@keyframes mDrum { 0%, 100% { transform: none; } 6%, 18%, 30%, 42%, 54% { transform: translate(-2px, -3px) rotate(-3deg) scale(1.05); } 12%, 24%, 36%, 48%, 60% { transform: translate(2px, -3px) rotate(3deg) scale(1.05); } 72% { transform: translate(7px, 9px) rotate(38deg); } 84% { transform: translate(-3px, 2px) rotate(-14deg); } 93% { transform: translateY(-4px) rotate(5deg); } }
.bw.m-think .botin { animation: mThink 1.3s var(--md) ease-in-out both, hover 3.4s calc(var(--md) + 1.3s) ease-in-out infinite; }
@keyframes mThink { 0%, 100% { transform: none; } 30%, 80% { transform: translate(-3px, -8px) rotate(5deg); } }
.bw.m-faint .botin { animation: mFaint 1.4s var(--md) both, hover 3.4s calc(var(--md) + 1.4s) ease-in-out infinite; }
@keyframes mFaint { 0%, 100% { transform: none; } 16% { transform: translateY(-9px) rotate(-12deg); } 42%, 76% { transform: translate(5px, 15px) rotate(74deg) scale(.95); } 88% { transform: translateY(-4px) rotate(-6deg); } }
.bw.m-giggle .botin { animation: mGiggle .11s ease-in-out 8 alternate, hover 3.4s .9s ease-in-out infinite; }
@keyframes mGiggle { from { transform: translateY(1px) rotate(-5deg) scale(1.06, .95); } to { transform: translateY(-3px) rotate(5deg) scale(.97, 1.05); } }
.bw.m-giggle .ck { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(1.5); }
.bw.m-tiltl .botin { animation: mTiltL 1.1s var(--md) both, hover 3.4s calc(var(--md) + 1.1s) ease-in-out infinite; }
@keyframes mTiltL { 0%, 100% { transform: none; } 25%, 78% { transform: translateY(-4px) rotate(-10deg); } }
.bw.m-tiltr .botin { animation: mTiltR 1.1s var(--md) both, hover 3.4s calc(var(--md) + 1.1s) ease-in-out infinite; }
@keyframes mTiltR { 0%, 100% { transform: none; } 25%, 78% { transform: translate(4px, -3px) rotate(10deg); } }
.bw.m-bob .botin { animation: mBob .9s var(--md) both, hover 3.4s calc(var(--md) + .9s) ease-in-out infinite; }
@keyframes mBob { 0%, 100% { transform: none; } 20% { transform: translateY(3px) scale(1.06, .92); } 50% { transform: translateY(-11px) scale(.97, 1.05); } 78% { transform: translateY(1px) scale(1.03, .97); } }
/* Kleine Zeichen über dem Kopf: ? ! ✦ 💧 💫 ♪ */
.b-fx { position: absolute; top: -8px; right: 6%; z-index: 3; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 27px; line-height: 1; color: #E9C25A; text-shadow: 0 2px 6px rgba(0,0,0,.45); opacity: 0; pointer-events: none; animation: fxPop 1.15s var(--md) cubic-bezier(.2,.9,.3,1.3) both; }
.b-fx.emo { font-size: 15px; }
.b-fx.two { right: auto; left: 8%; top: 4px; font-size: 19px; animation-delay: calc(var(--md) + .22s); }
.b-fx.drip { top: 14px; right: 16%; animation-name: fxDrip; }
@keyframes fxPop { 0% { opacity: 0; transform: translateY(8px) scale(.3) rotate(-20deg); } 22% { opacity: 1; transform: translateY(-4px) scale(1.15) rotate(8deg); } 40%, 78% { opacity: 1; transform: translateY(-6px) scale(1) rotate(0); } 100% { opacity: 0; transform: translateY(-16px) scale(.9); } }
@keyframes fxDrip { 0% { opacity: 0; transform: translateY(-4px) scale(.5); } 25%, 60% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(22px) scale(.9); } }

/* 1b-3i: goldener Lautsprecher statt Emoji, Wellen solange der Ton läuft */
.spk-w { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.22em; line-height: 1; font-family: inherit; }
.spk-i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.spk-i .sb { fill: currentColor; stroke-width: 1.4; }
.spk-i .w1, .spk-i .w2 { transition: opacity .2s; }
.voice .spk-i, .s1-ib .spk-i, .sound-ic .spk-i, .keyring .spk-i, .ln-card .spk-i, .line-btn .spk-i, .link .spk-i, .small .spk-i, .say .spk-i { color: var(--gold); }
.postbar .spk-i, .rv-card .voice .spk-i { color: var(--ink); }
.sound-ic .spk-w { filter: drop-shadow(0 0 18px rgba(201,162,74,.55)); }
.playing .spk-i .w1 { animation: spkWave 0.9s ease-in-out infinite; }
.playing .spk-i .w2 { animation: spkWave 0.9s ease-in-out .22s infinite; }
.playing .spk-i .sb { animation: spkBeat 0.9s ease-in-out infinite; transform-box: fill-box; transform-origin: 100% 50%; }
@keyframes spkWave { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes spkBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.g-say.playing, .s1-ib.playing { box-shadow: 0 0 0 2px var(--gold-soft); }

/* 1b-3i: Übersetzungskarte schlank */
.gloss { padding: 6px 8px 8px 8px; }
.g-row { min-height: 40px; gap: 6px; }
.g-say, .g-x { width: 40px; height: 40px; }
.g-say { color: #A8842C; background: rgba(201,162,74,.16); font-size: 20px; }
.g-word { font-size: 22px; }
.g-mean { font-size: 15px; }
.g-more { margin: 2px 0 0 46px; min-height: 30px; padding: 0 12px; font-size: 13px; border-radius: 15px; }
.g-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; max-height: 132px; overflow-y: auto; }
.g-chips[hidden], .g-peek[hidden], .g-en[hidden] { display: none; }
.g-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 9px 5px; border-radius: 12px; background: rgba(15,26,58,.06); color: var(--ink); line-height: 1.12; }
.g-chip b { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.g-chip span { font-size: 11.5px; opacity: .62; }
.g-chip.me { background: rgba(201,162,74,.26); box-shadow: inset 0 0 0 1px var(--gold); }
.g-wait { font-size: 14px; opacity: .6; padding: 4px 2px; }
.g-peek { margin-top: 4px; min-height: 30px; padding: 0 2px; background: none; color: var(--ink); font-size: 13px; opacity: .6; text-decoration: underline; text-underline-offset: 3px; }
.gloss .g-en { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.3; opacity: .85; margin: 4px 2px 0 !important; }
