/* F-5 Post erstellen: Schritt-Sheet (OV-R1 … OV-R6). Tokens aus shared/tokens.css, Buttons aus shared/buttons.css, Ziele ≥ 56 px. */
.ld-cp[hidden] { display: none; }
body.ld-create-open::after, body.ld-create-open-out::after { content: ''; position: fixed; inset: 0; z-index: 2040; background: rgba(35, 38, 58, .4); pointer-events: none; }
.ld-cp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2050; display: flex; flex-direction: column;
    top: calc(var(--ld-header-h, 70px) + 8px); /* QA #56: unter der Kopfzeile (--ld-header-h inkl. Safe-Area, syncHeaderMetrics) */
    max-width: 640px; margin: 0 auto; color: var(--ld-ink, #23263A);
    background: var(--ld-cream, #FFF8EC); border: 2px solid var(--ld-ink, #23263A); border-bottom: 0; border-radius: 22px 22px 0 0;
    box-shadow: 0 -2px 12px rgba(35, 38, 58, .25); padding-bottom: env(safe-area-inset-bottom, 0px); overflow: hidden; }
.ld-cp-grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--ld-ink-20, #C9CAD1); margin: 8px auto 0; flex: 0 0 auto; }
.ld-cp-head { display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.ld-cp-titles { flex: 1 1 auto; min-width: 0; }
.ld-cp-step { margin: 0; font-size: 13px; font-weight: 700; color: var(--ld-ink-60, #4F5263); }
.ld-cp-step[hidden], .ld-cp-progress[hidden], .ld-cp-iconbtn[hidden] { display: none; }
.ld-cp-title { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.ld-cp-title:focus { outline: none; }
.ld-cp-iconbtn { width: 56px; height: 56px; flex: 0 0 56px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: inherit; padding: 0; }
.ld-cp-iconbtn .ld-icon { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--ld-white, #fff); border: 1.5px solid var(--ld-ink, #23263A); box-sizing: border-box; }
.ld-cp-progress { height: 6px; margin: 4px 20px 0; border-radius: 3px; background: var(--ld-ink-20, #C9CAD1); overflow: hidden; }
.ld-cp-progress span { display: block; height: 100%; background: var(--ld-teal, #1F7A72); transition: width .2s; }
.ld-cp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px; }
.ld-cp-foot { flex: 0 0 auto; display: grid; gap: 10px; padding: 12px 20px 16px; border-top: 1.5px solid var(--ld-ink-20, #C9CAD1); }
.ld-cp-foot .ld-btn, .ld-cp-body > .ld-btn { width: 100%; margin: 0 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ld-cp-foot .ld-btn { margin: 0; }
.ld-btn .ld-icon { width: 22px; height: 22px; }
.ld-cp-choices { display: grid; gap: 10px; margin: 0 0 8px; }
.ld-cp-choices-2 { grid-template-columns: 1fr 1fr; }
.ld-cp-cats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ld-cp-choice { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; text-align: left;
    background: var(--ld-white, #fff); border: 1.75px solid var(--ld-ink, #23263A); color: inherit; font: inherit; font-weight: 700; }
.ld-cp-choices-2 .ld-cp-choice { flex-direction: column; justify-content: center; text-align: center; min-height: 104px; }
.ld-cp-choice .ld-icon { width: 28px; height: 28px; flex: 0 0 28px; }
.ld-cp-choice[aria-pressed="true"] { background: #FCEBC4; box-shadow: inset 0 0 0 2px var(--ld-ink, #23263A), 0 3px 0 var(--ld-ink, #23263A); }
.ld-cp-lost[aria-pressed="true"] { background: #FBE3E1; }
.ld-cp-found[aria-pressed="true"] { background: #DDF1EE; }
.ld-cp-label { display: block; font-weight: 800; font-size: 15px; margin: 14px 0 6px; }
.ld-cp-req { font-weight: 600; color: var(--ld-ink-60, #4F5263); }
.ld-cp-input { width: 100%; min-height: 56px; padding: 12px 14px; font: inherit; font-size: 16px; color: inherit; background: var(--ld-white, #fff); border: 1.75px solid var(--ld-ink, #23263A); border-radius: 14px; }
.ld-cp-input[aria-invalid="true"] { border-color: var(--ld-coral-text, #A3312B); box-shadow: inset 0 0 0 1px var(--ld-coral-text, #A3312B); }
.ld-cp-meta { font-size: 15px; margin: 6px 0 10px; }
.ld-cp-error { color: var(--ld-coral-text, #A3312B); font-weight: 700; margin: 6px 0 0; font-size: 15px; }
.ld-cp-error:empty { display: none; }
.ld-cp-body { display: flex; flex-direction: column; }
.ld-cp-map { height: auto; min-height: 42vh; flex: 1 0 240px; border-radius: 14px; border: 1.75px solid var(--ld-ink, #23263A); margin: 0 0 12px; overflow: hidden; }
/* Hinweis über der Figur: deckender Chip, Schrift bleibt AA. */
.ld-cp-body > .ld-cp-meta,
.ld-cp-body > .ld-cp-lock { align-self: stretch; display: block; box-sizing: border-box; width: 100%; max-width: 100%; background: var(--ld-white, #fff); color: #23263A; border: 1px solid rgba(35, 38, 58, .18); padding: 8px 10px; border-radius: 12px; }
.ld-cp-body > .ld-cp-denied { background: #FCEBC4; color: #23263A; max-width: 100%; }
.ld-cp-lock, .ld-cp-done, .ld-cp-strong, .ld-cp-row { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; margin: 10px 0; }
.ld-cp-lock .ld-icon, .ld-cp-done .ld-icon, .ld-cp-strong .ld-icon, .ld-cp-row .ld-icon { flex: 0 0 22px; width: 22px; height: 22px; }
.ld-cp-strong { font-weight: 800; font-size: 16px; margin-top: 0; }
.ld-cp-done { font-weight: 800; font-size: 17px; align-items: center; }
.ld-cp-money { font-weight: 800; }
.ld-cp-card { padding: 12px 14px; border-radius: 14px; background: var(--ld-white, #fff); border: 1.75px solid var(--ld-ink, #23263A); margin: 12px 0; }
.ld-cp-private { background: #F3F1FA; }
.ld-cp-h { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.ld-cp-quote { margin: 8px 0; padding: 8px 12px; border-left: 4px solid var(--ld-caramel, #A0612A); background: var(--ld-cream, #FFF8EC); border-radius: 8px; overflow-wrap: anywhere; white-space: pre-wrap; }
.ld-cp-tpls { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 4px; }
.ld-cp-tpl { min-height: 56px; padding: 8px 14px; border-radius: 28px; border: 1.5px solid var(--ld-ink, #23263A); background: var(--ld-cream, #FFF8EC); color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-align: left; }
.ld-cp-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.ld-cp-photos:empty { display: none; }
.ld-cp-photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--ld-ink, #23263A); }
.ld-cp-photo img { width: 100%; height: 100%; object-fit: cover; }
.ld-cp-rm { position: absolute; top: 0; right: 0; }
.ld-cp-denied { padding: 12px; border-radius: 14px; background: #FCEBC4; border: 1.75px solid var(--ld-ink, #23263A); }
.ld-cp-entry { width: 100%; margin: 0 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ld-cp-entry[hidden] { display: none; }
/* Punkt 29: Spinner im Veröffentlichen-Knopf, Statuszeile */
.ld-spin { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ld-spin .8s linear infinite; }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ld-spin { animation-duration: 2.4s; } }
.ld-cp-busy-note { margin: 8px 0 0; font-size: 14px; color: var(--ld-ink-70, #4A4D5E); }
.ld-cp-nophotos { margin-top: 8px; width: 100%; }
/* Assistent v5.2 (girl-poses/integration v5 + v5.2): Kopf mit Schritt + Punkten, Unterzeile, 16er-Kategorieauswahl, Figur. */
.ld-cp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; }
.ld-cp-dots { display: flex; gap: 5px; flex: 0 0 auto; }
.ld-cp-dots[hidden], .ld-cp-sub[hidden], .ld-cp-fig[hidden] { display: none; }
.ld-cp-dots span { width: 7px; height: 7px; border-radius: 4px; background: var(--ld-ink-20, #D3D4D8); }
.ld-cp-dots span.on { width: 20px; background: var(--ld-caramel, #A0612A); }
.ld-cp-sub { margin: 1px 0 0; font-size: 14.5px; line-height: 1.3; overflow-wrap: break-word; text-wrap: pretty; } /* 320 px: keine Einzelwort-Zeile am Ende */
html[lang="ja"] .ld-cp-sub { word-break: auto-phrase; } /* Japanisch: Umbruch an Phrasengrenzen statt mitten im Wort */
.ld-cp-catlabel { font-size: 13.5px; margin: 6px 0 4px; }
.ld-cp-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 6px; }
.ld-cp-choice.ld-cp-cat { min-height: 64px; height: auto; min-width: 0; padding: 6px 4px; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
    border-radius: 12px; border-width: 1.5px; font-size: 12px; line-height: 1.15; text-align: center; hyphens: none; word-break: normal; overflow-wrap: normal; }
.ld-cp-choice.ld-cp-cat .ld-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.ld-cp-caticon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.ld-cp-caticon img { width: 28px; height: 28px; }
/* Dunkel: dieselbe helle Platte für Hund und Katze, sonst fällt das transparente Maul des Hunds in die dunkle Kachel. */
:root[data-theme="dark"] .ld-cp-caticon { background: #FFF8EC; border-radius: 8px; }
.ld-cp-caticon-dark { display: none; }
.ld-cp-choice.ld-cp-cat span { display: block; max-width: 100%; }
.ld-cp-choice.ld-cp-cat[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ld-ink, #23263A), 0 2px 0 var(--ld-ink, #23263A); }
@media (max-width: 359px) { .ld-cp-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ld-cp-choice.ld-cp-cat { min-height: 52px; } }
/* Drei Schichten: Figur unten rechts (fest), Inhalt darüber (scrollt), Weiter ganz oben (fest). */
.ld-cp-head { position: relative; z-index: 3; background: var(--ld-cream, #FFF8EC); }
.ld-cp-body { position: relative; z-index: 2; background: transparent; }
.ld-cp-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; grid-template-columns: 1fr; width: 100%; background: var(--ld-cream, #FFF8EC); }
.ld-cp-stage { position: absolute; left: 0; right: 0; bottom: 0; height: 0; overflow: visible; pointer-events: none; z-index: 1; }
.ld-cp-fig { position: absolute; right: 16px; bottom: 0; z-index: 1; width: auto; pointer-events: none; user-select: none; object-fit: contain; object-position: right bottom; }
:root[data-theme="dark"] .ld-cp-choice[aria-pressed="true"],
:root[data-theme="dark"] .ld-mr-tab[aria-selected="true"] { color: #23263A; background: #FCEBC4; }
:root[data-theme="dark"] .ld-cp-lost[aria-pressed="true"] { color: #23263A; background: #FBE3E1; }
:root[data-theme="dark"] .ld-cp-found[aria-pressed="true"] { color: #23263A; background: #DDF1EE; }
.ld-cp-typing .ld-cp-fig, .ld-cp-typing .ld-cp-stage { display: none; }
/* Dunkelmodus (DARK-MODE-SPEC / v5): System und die App-Wahl data-theme=dark.
   „Nur du siehst“ (#F3F1FA) darf nicht mit cremefarbener Schrift stehen bleiben. */
:root[data-theme="dark"] .ld-cp { background: #23263A; color: #FDECD0; border-color: #FDECD0; }
:root[data-theme="dark"] .ld-cp-step,
:root[data-theme="dark"] .ld-cp-req { color: #C9CAD1; }
:root[data-theme="dark"] .ld-cp-choice,
:root[data-theme="dark"] .ld-cp-input,
:root[data-theme="dark"] .ld-cp-card,
:root[data-theme="dark"] .ld-cp-iconbtn .ld-icon,
:root[data-theme="dark"] .ld-cp-tpl { background: #2E3249; color: #FDECD0; border-color: #FDECD0; }
:root[data-theme="dark"] .ld-cp-private { background: #34334D; color: #FDECD0; }
:root[data-theme="dark"] .ld-cp-quote { background: #23263A; color: #FDECD0; }
:root[data-theme="dark"] .ld-cp-denied { background: #5A4A2A; color: #FDECD0; }
:root[data-theme="dark"] .ld-cp-error { color: #FF9A92; }
:root[data-theme="dark"] .ld-cp-foot,
:root[data-theme="dark"] .ld-cp-head { background: #23263A; border-color: #4F5263; }
:root[data-theme="dark"] .ld-cp-body > .ld-cp-meta,
:root[data-theme="dark"] .ld-cp-body > .ld-cp-lock { background: #2C3047; color: #FDECD0 !important; border-color: rgba(253, 236, 208, .28); }
:root[data-theme="dark"] .ld-cp-input::placeholder { color: #B7B8C2; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ld-cp { background: #23263A; color: #FDECD0; border-color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-step,
    :root:not([data-theme="light"]) .ld-cp-req { color: #C9CAD1; }
    :root:not([data-theme="light"]) .ld-cp-choice,
    :root:not([data-theme="light"]) .ld-cp-input,
    :root:not([data-theme="light"]) .ld-cp-card,
    :root:not([data-theme="light"]) .ld-cp-iconbtn .ld-icon,
    :root:not([data-theme="light"]) .ld-cp-tpl { background: #2E3249; color: #FDECD0; border-color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-choice[aria-pressed="true"] { background: #5A4A2A; color: #FDECD0; box-shadow: inset 0 0 0 2px #FDECD0, 0 3px 0 #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-caticon { background: #FFF8EC; border-radius: 8px; }
    :root:not([data-theme="light"]) .ld-cp-caticon-light { display: none; }
    :root:not([data-theme="light"]) .ld-cp-caticon-dark { display: inline; }
    :root:not([data-theme="light"]) .ld-cp-lost[aria-pressed="true"] { background: #5A2E2E; color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-found[aria-pressed="true"] { background: #1F4A47; color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-private { background: #34334D; color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-quote { background: #23263A; color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-progress span { background: #5EC4B8; }
    :root:not([data-theme="light"]) .ld-cp-dots span { background: #4F5263; }
    :root:not([data-theme="light"]) .ld-cp-error { color: #FF9A92; }
    :root:not([data-theme="light"]) .ld-cp-denied { background: #5A4A2A; color: #FDECD0; }
    :root:not([data-theme="light"]) .ld-cp-foot,
    :root:not([data-theme="light"]) .ld-cp-head { background: #23263A; border-color: #4F5263; }
    :root:not([data-theme="light"]) .ld-cp-body > .ld-cp-meta,
    :root:not([data-theme="light"]) .ld-cp-body > .ld-cp-lock { background: #2C3047; color: #FDECD0 !important; border-color: rgba(253, 236, 208, .28); }
    :root:not([data-theme="light"]) .ld-cp-input::placeholder { color: #B7B8C2; }
}

/* ---------- Liste 18.11. Punkt 4/6: Erfolg (Flow A) und Suchalarm gespeichert (Flow B) ----------
   figma-bro/post-success/SPEC.md: Wizard-Chrome bleibt, Illustration ca. 120–140 px (A) / 110–130 px (B),
   Vorschau-/Alarmkarte im Sticker-Stil, CTA-Stapel Primär 56 → Sekundär 56 → Tertiär ≥ 44. */
.ld-cp-hero { display: flex; justify-content: center; margin: 2px 0 6px; }
.ld-cp-hero img { height: 130px; width: auto; max-width: 100%; border-radius: 14px; object-fit: cover; }
[data-flow="alert"] .ld-cp-hero img { height: 120px; }
.ld-cp-hero-dark { display: none; }
.ld-cp-signoff { margin: 4px 0 0; text-align: center; font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 17px; color: var(--ld-caramel, #A0612A); }
.ld-cp-done-body { margin: 6px 0 4px; text-align: center; font-size: 16px; line-height: 1.4; }
.ld-cp-preview { display: flex; gap: 12px; align-items: flex-start; box-shadow: 3px 5px 0 0 var(--ld-ink, #23263A); border-width: 2px; }
.ld-cp-preview-thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--ld-honey, #F2D08F); display: flex; align-items: center; justify-content: center; }
.ld-cp-preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ld-cp-preview-thumb .ld-icon { width: 40px; height: 40px; }
.ld-cp-preview-text { flex: 1 1 auto; min-width: 0; }
.ld-cp-chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1.5px solid currentColor; }
.ld-cp-chip-lost { color: var(--ld-coral, #C2413B); }
.ld-cp-chip-found { color: var(--ld-teal, #1F7A72); }
.ld-cp-preview-desc { margin: 4px 0 2px; font-weight: 700; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ld-cp-preview-meta { margin: 0; font-size: 13px; color: var(--ld-ink-60, #4F5263); }
.ld-cp-alert-sum { box-shadow: 3px 5px 0 0 var(--ld-ink, #23263A); border-width: 2px; }
.ld-cp-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--ld-ink-20, #C9CAD1); }
.ld-cp-sum-row:last-child { border-bottom: 0; }
.ld-cp-sum-row dt { font-weight: 700; color: var(--ld-ink-60, #4F5263); font-size: 14px; }
.ld-cp-sum-row dd { margin: 0; font-weight: 800; font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.ld-cp-offices { margin: 14px 0 4px; }
.ld-cp-offices-title { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 17px; margin: 0 0 2px; }
.ld-cp-offices .ld-cp-meta { margin: 0 0 8px; }
.ld-cp-offices-empty { padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--ld-ink-60, #4F5263); font-size: 14px; }
.ld-cp-offices-empty p { margin: 4px 0 0; }
.ld-cp-foot.ld-cp-foot-done { display: grid; gap: 8px; grid-template-columns: 1fr; }
.ld-cp-textbtn { min-height: 44px; border: 0; background: transparent; color: inherit; font-weight: 800; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; border-radius: 10px; }
.ld-cp-textbtn:focus-visible { outline: 3px solid var(--ld-teal, #1F7A72); outline-offset: 2px; }
:root[data-theme="dark"] .ld-cp-hero-light { display: none; }
:root[data-theme="dark"] .ld-cp-hero-dark { display: inline; }
:root[data-theme="dark"] .ld-cp-signoff { color: #D9904E; }
:root[data-theme="dark"] .ld-cp-preview, :root[data-theme="dark"] .ld-cp-alert-sum { background: #2C3047; border-color: #FFF8EC; box-shadow: 3px 5px 0 0 #12141F; }
:root[data-theme="dark"] .ld-cp-preview-meta, :root[data-theme="dark"] .ld-cp-sum-row dt { color: #B9BBC9; }
:root[data-theme="dark"] .ld-cp-chip-lost { color: #F08A82; }
:root[data-theme="dark"] .ld-cp-chip-found { color: #5EC4B8; }
:root[data-theme="dark"] .ld-cp-offices-empty { border-color: #B9BBC9; }
:root[data-theme="dark"] .ld-cp-textbtn:focus-visible { outline-color: #5EC4B8; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ld-cp-hero-light { display: none; }
    :root:not([data-theme="light"]) .ld-cp-hero-dark { display: inline; }
    :root:not([data-theme="light"]) .ld-cp-signoff { color: #D9904E; }
    :root:not([data-theme="light"]) .ld-cp-preview, :root:not([data-theme="light"]) .ld-cp-alert-sum { background: #2C3047; border-color: #FFF8EC; box-shadow: 3px 5px 0 0 #12141F; }
    :root:not([data-theme="light"]) .ld-cp-preview-meta, :root:not([data-theme="light"]) .ld-cp-sum-row dt { color: #B9BBC9; }
    :root:not([data-theme="light"]) .ld-cp-chip-lost { color: #F08A82; }
    :root:not([data-theme="light"]) .ld-cp-chip-found { color: #5EC4B8; }
    :root:not([data-theme="light"]) .ld-cp-offices-empty { border-color: #B9BBC9; }
}

/* ---------- Liste 18.11. Punkt 3: Hochlade-Overlay (figma-bro/upload-loading/SPEC.md, UI LOCKED 18.11. 14:21) ----------
   Nahezu vollflächig über dem Assistenten, Scrim 0,4, Panel Cream, Radius 22, Kontur 2 px, Sticker-Schatten.
   Illustration 240×160, Stage 18–20 px, Fortschrittszeile 15 px, Balken 8–10 px Caramel, Abbrechen 56 px. */
.ld-up[hidden] { display: none; }
.ld-up { position: fixed; inset: 0; z-index: 2100; background: rgba(35, 38, 58, .4); display: flex; align-items: stretch; justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px calc(env(safe-area-inset-bottom, 0px) + 12px); }
.ld-up-box { width: 100%; max-width: 560px; background: var(--ld-cream, #FFF8EC); color: var(--ld-ink, #23263A); border: 2px solid var(--ld-ink, #23263A); border-radius: 22px;
    box-shadow: 3px 5px 0 0 var(--ld-ink, #23263A); padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; overflow-y: auto; }
.ld-up-hero { align-self: center; width: 240px; height: 160px; max-width: 100%; border-radius: 16px; overflow: hidden; border: 2px solid transparent; }
.ld-up-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-up-art-dark { display: none !important; }
.ld-up-stage { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.25; margin: 4px 0 0; text-align: center; }
.ld-up-stage:focus { outline: none; }
.ld-up-line, .ld-up-body { margin: 0; text-align: center; font-size: 15px; color: #6B6D7C; }
.ld-up-body { color: inherit; }
.ld-up-bar { height: 10px; border-radius: 999px; background: #F2D08F; overflow: hidden; }
.ld-up-fill { display: block; height: 100%; width: 0; background: #A0612A; border-radius: 999px; transition: width .2s linear; }
.ld-up-box .ld-btn { width: 100%; min-height: 56px; }
.ld-up-box .ld-cp-textbtn { align-self: center; }
.ld-up-confirm, .ld-up-error { display: flex; flex-direction: column; gap: 12px; }
.ld-up[data-state^="error"] .ld-up-hero { border-color: #C2413B; animation: ld-up-flash 400ms ease-out 1; }
@keyframes ld-up-flash { 0% { box-shadow: 0 0 0 0 rgba(194, 65, 59, .9); } 100% { box-shadow: 0 0 0 10px rgba(194, 65, 59, 0); } }
@keyframes ld-up-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@keyframes ld-up-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .ld-up.ld-up-enter .ld-up-box { animation: ld-up-in 280ms var(--ld-ease-out, cubic-bezier(.2, .8, .2, 1)); } /* nur beim Öffnen, nicht bei jedem Zustandswechsel */
    .ld-up[data-state="progress"] .ld-up-hero img { animation: ld-up-breathe 3s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .ld-up-fill { transition: none; }
    .ld-up[data-state^="error"] .ld-up-hero { animation: none; }
}
:root[data-theme="dark"] .ld-up { background: rgba(10, 11, 20, .4); }
:root[data-theme="dark"] .ld-up-box { background: #23263A; color: #FFF8EC; border-color: #FFF8EC; box-shadow: 3px 5px 0 0 #12141F; }
:root[data-theme="dark"] .ld-up-line { color: #B9BBC9; }
:root[data-theme="dark"] .ld-up-bar { background: #4E5270; }
:root[data-theme="dark"] .ld-up-fill { background: #D9904E; }
:root[data-theme="dark"] .ld-up-art-light { display: none !important; }
:root[data-theme="dark"] .ld-up-art-dark { display: block !important; }
:root[data-theme="dark"] .ld-up[data-state^="error"] .ld-up-hero { border-color: #F08A82; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ld-up { background: rgba(10, 11, 20, .4); }
    :root:not([data-theme="light"]) .ld-up-box { background: #23263A; color: #FFF8EC; border-color: #FFF8EC; box-shadow: 3px 5px 0 0 #12141F; }
    :root:not([data-theme="light"]) .ld-up-line { color: #B9BBC9; }
    :root:not([data-theme="light"]) .ld-up-bar { background: #4E5270; }
    :root:not([data-theme="light"]) .ld-up-fill { background: #D9904E; }
    :root:not([data-theme="light"]) .ld-up-art-light { display: none !important; }
    :root:not([data-theme="light"]) .ld-up-art-dark { display: block !important; }
    :root:not([data-theme="light"]) .ld-up[data-state^="error"] .ld-up-hero { border-color: #F08A82; }
}
