/* ===================== OurGarden — Aussehen ===================== */

:root {
  --ink: #33403a;
  --ink-soft: #61716a;
  --card: #faf6ee;
  --cream: #f1ebdd;
  --line: #e3dccc;
  --accent: #6f9e7f;
  --accent-d: #557a63;
  --bg: #cdd9c7;
  --shadow: 0 12px 34px rgba(45, 60, 52, 0.16);
  --radius: 20px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Avenir Next", system-ui, -apple-system, sans-serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bg); color: var(--ink);
  overscroll-behavior: none;
}
#app { height: 100%; width: 100%; position: relative; overflow: hidden; max-width: 540px; margin: 0 auto; }

.screen { position: absolute; inset: 0; display: none; flex-direction: column; }
.screen.active { display: flex; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hidden { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.3px; }

/* ===================== Onboarding ===================== */
#screen-welcome {
  background: linear-gradient(180deg, #c2d4bd 0%, #dde8d6 55%, #f3efe4 100%);
  justify-content: center; align-items: center; text-align: center; padding: 24px;
}
.welcome-inner { max-width: 380px; width: 100%; }
.welcome-figures { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-bottom: 6px; }
.welcome-figures .wf { width: 110px; }
.welcome-figures svg { width: 100%; height: auto; display: block; animation: float 4s ease-in-out infinite; }
.welcome-figures .wf:last-child svg { animation-delay: -2s; }
.brand { font-size: 3rem; margin: 4px 0 4px; color: var(--ink); }
.tagline { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.55; margin-bottom: 28px; }

.form-card {
  margin: auto; background: var(--card); border-radius: var(--radius);
  padding: 24px 22px 28px; width: calc(100% - 36px); max-width: 410px; box-shadow: var(--shadow);
}
#screen-create, #screen-join {
  background: linear-gradient(180deg, #c2d4bd, #e6ecde);
  justify-content: center; padding: 16px; overflow-y: auto;
}
.form-card h2 { margin: 2px 0 10px; font-size: 1.6rem; }
.back { background: none; border: none; color: var(--ink-soft); font-size: 0.95rem; padding: 0; margin-bottom: 6px; cursor: pointer; }
.field-label { display: block; font-size: 0.82rem; color: var(--ink-soft); margin: 16px 0 7px; font-weight: 700; letter-spacing: 0.3px; }
.text-input {
  width: 100%; border: 1.5px solid var(--line); background: var(--cream);
  border-radius: 13px; padding: 13px 14px; font-size: 1rem; color: var(--ink);
  font-family: inherit; outline: none; transition: border-color 0.2s;
}
.text-input:focus { border-color: var(--accent); }
.code-input { letter-spacing: 6px; text-transform: uppercase; font-weight: 700; text-align: center; font-size: 1.3rem; }
textarea.text-input { resize: none; }
.hint { font-size: 0.85rem; color: #b5635f; min-height: 1.1em; margin: 10px 0 0; }

.btn {
  display: block; width: 100%; border: none; border-radius: 14px; padding: 15px;
  font-size: 1.02rem; font-weight: 700; font-family: inherit; cursor: pointer;
  margin-top: 12px; transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: #fff; box-shadow: 0 8px 20px rgba(85, 122, 99, 0.35); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line); }

/* Figurenwahl */
.figure-picker { display: flex; gap: 12px; }
.figure-card {
  flex: 1; border: 2px solid var(--line); background: var(--cream); border-radius: 16px;
  padding: 10px 6px 8px; cursor: pointer; font-family: inherit; transition: all 0.15s;
  display: flex; flex-direction: column; align-items: center;
}
.figure-card.selected { border-color: var(--accent); background: #eaf2ea; transform: translateY(-2px); }
.figure-card-fig { width: 76px; height: 92px; }
.figure-card-fig svg { width: 100%; height: 100%; }
.figure-card-label { font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-top: 2px; }

.color-picker { display: flex; gap: 12px; flex-wrap: wrap; }
.color-dot {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 3px solid transparent;
  box-shadow: inset -3px -4px 7px rgba(0,0,0,0.12); transition: transform 0.15s, border-color 0.15s;
}
.color-dot.selected { border-color: var(--ink); transform: scale(1.12); }

/* ===================== Garten-Szene ===================== */
#screen-garden { background: #b7cdb0; }
.scene { position: relative; flex: 1; overflow: hidden; }

/* Himmel */
/* Gemalter Garten-Hintergrund */
.scene-bg { position: absolute; inset: 0; background: url('assets/garden-bg.png') center center / cover no-repeat; transition: filter 1.2s ease; }
.scene-bg.bg-cloudy { filter: brightness(0.95) saturate(0.9); }
.scene-bg.bg-rainy { filter: brightness(0.86) saturate(0.78); }

/* Himmel = transparente Tönung über dem Bild (Tageszeit/Wetter) */
.sky { position: absolute; inset: 0; pointer-events: none; transition: background 1.2s ease; background: transparent; }
.sky.morning { background: rgba(255, 224, 178, 0.16); }
.sky.day { background: transparent; }
.sky.evening { background: linear-gradient(180deg, rgba(240, 150, 110, 0.28), rgba(180, 140, 180, 0.16)); }
.sky.night { background: linear-gradient(180deg, rgba(20, 28, 60, 0.5), rgba(40, 52, 90, 0.4)); }

.celestial {
  position: absolute; top: 12%; right: 16%; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, #fff7df, #f0d595); box-shadow: 0 0 46px 12px rgba(240, 213, 149, 0.5);
  transition: all 1s ease;
}
.celestial.moon { background: radial-gradient(circle at 38% 38%, #fbf8ee, #d4d9e6); box-shadow: 0 0 28px 6px rgba(212, 217, 230, 0.5); }
.celestial.hidden-sun { opacity: 0.2; }

.clouds { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.clouds.show { opacity: 1; }
.cloud { position: absolute; background: #fbfaf5; border-radius: 50px; opacity: 0.92; box-shadow: 0 6px 14px rgba(0,0,0,0.04); animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fbfaf5; border-radius: 50%; }
.cloud::before { width: 46%; height: 130%; top: -45%; left: 12%; }
.cloud::after { width: 38%; height: 120%; top: -32%; right: 14%; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(120vw); } }

.rain { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s; pointer-events: none; }
.rain.show { opacity: 1; }
.drop { position: absolute; width: 2px; height: 15px; background: linear-gradient(transparent, rgba(170, 200, 215, 0.85)); border-radius: 2px; animation: fall linear infinite; }
@keyframes fall { from { transform: translateY(-20px); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(100vh); opacity: 0.4; } }

.rainbow {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
  width: 360px; max-width: 94%; height: 180px;
  background: radial-gradient(circle at 50% 100%, transparent 39%, #b07ab0 40%, #7fa3cf 47%, #74a07c 54%, #d8be78 61%, #e0a06a 68%, #c5868f 75%, transparent 77%);
  border-radius: 180px 180px 0 0;
  opacity: 0; transition: opacity 1.4s ease; pointer-events: none;
}
.rainbow.show { opacity: 0.5; }

.stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.stars.show { opacity: 1; }
.star { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; animation: twinkle ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Boden */
.ground { display: none; }
.hills { width: 100%; height: 100%; display: block; }
.hills path { fill: #86b88f; }
.hills .hill-back { fill: #74a87f; }

/* Pflanzen */
.garden-objects { position: absolute; inset: 0; pointer-events: none; }
.g-object {
  position: absolute; transform: translate(-50%, -100%); width: 62px; height: 92px;
  cursor: pointer; pointer-events: auto; transform-origin: bottom center;
  animation: sprout 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,0.1));
}
.g-object:active { transform: translate(-50%, -100%) scale(1.15); }
.plant-holder { width: 100%; height: 100%; animation: sway 5s ease-in-out infinite; transform-origin: bottom center; }
.plant-svg { width: 100%; height: 100%; display: block; }
.plant-img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center bottom; -webkit-user-drag: none; user-select: none; }
@keyframes sprout { from { transform: translate(-50%, -100%) scale(0); } to { transform: translate(-50%, -100%) scale(1); } }
@keyframes sway { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }

/* Wassertropfen */
.waterdrops { position: absolute; inset: 0; pointer-events: none; }
.wdrop { position: absolute; width: 4px; height: 7px; background: #8fc3d8; border-radius: 0 60% 60% 60%; transform: rotate(45deg); animation: wfall 1.1s ease-in forwards; }
@keyframes wfall { from { transform: rotate(45deg) translateY(-4px); opacity: 0; } 20% { opacity: 1; } to { transform: rotate(45deg) translateY(26px); opacity: 0; } }

/* ===================== Gärtner:innen ===================== */
.gardeners { position: absolute; inset: 0; pointer-events: none; }
.gardener {
  position: absolute; left: 35%; top: 30%; width: 96px;
  transition: left 1.1s cubic-bezier(0.45, 0, 0.25, 1), top 1.1s cubic-bezier(0.45, 0, 0.25, 1), transform 1.1s cubic-bezier(0.45, 0, 0.25, 1), filter 0.8s ease;
  transform: translate(-50%, -50%) scale(1);
  text-align: center;
  pointer-events: auto;
  cursor: pointer;
}
.g-fig-holder { width: 96px; height: 118px; margin: 0 auto; }
.g-fig { width: 100%; height: 100%; display: block; animation: float 4s ease-in-out infinite; transform-origin: center bottom; }
#g-partner .g-fig { animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.gardener-name {
  font-size: 0.8rem; font-weight: 700; color: var(--ink);
  background: rgba(255,255,255,0.72); display: inline-block; padding: 2px 11px; border-radius: 20px; margin-top: 2px;
}

/* Herzaugen */
.gardener .eyes-heart { display: none; }
.gardener.joy .eyes-heart { display: inline; }
.gardener.joy .eyes-normal { display: none; }
.gardener.joy .g-fig { animation: joyBounce 0.7s ease-in-out infinite; }
@keyframes joyBounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-9px) scale(1.05); } }

/* aufsteigende Herzen bei Freude */
.joy-hearts { position: absolute; top: -4px; left: 0; right: 0; height: 0; pointer-events: none; opacity: 0; }
.gardener.joy .joy-hearts { opacity: 1; }
.joy-hearts span { position: absolute; left: 50%; color: #d4596e; font-size: 16px; opacity: 0; }
.gardener.joy .joy-hearts span { animation: heartRise 1.8s ease-out infinite; }
.joy-hearts span:nth-child(1) { margin-left: -16px; animation-delay: 0s; }
.joy-hearts span:nth-child(2) { margin-left: 2px; animation-delay: 0.5s; }
.joy-hearts span:nth-child(3) { margin-left: 12px; animation-delay: 1s; }
@keyframes heartRise { 0% { transform: translateY(10px) scale(0.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-34px) scale(1); opacity: 0; } }

/* Gärtnern (kleiner, leichtes Wippen) */
.gardener.working .g-fig { animation: workBob 0.8s ease-in-out infinite; }
@keyframes workBob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }

/* Umarmung (Neigung zueinander) */
.gardener.hug-l .g-fig { animation: none; transform: rotate(11deg); }
.gardener.hug-r .g-fig { animation: none; transform: rotate(-11deg); }
.hug-heart {
  position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%) scale(0);
  color: #d4596e; font-size: 30px; opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hug-heart.show { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: heartPulse 1.2s ease-in-out infinite; }
@keyframes heartPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.18); } }

/* ===================== Topbar / Dock ===================== */
.topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); }
.topbar-left { display: flex; align-items: center; gap: 8px; }
.garden-title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.2rem; text-shadow: 0 1px 2px rgba(255,255,255,0.5); }
.code-chip { background: rgba(255,255,255,0.78); border-radius: 20px; padding: 3px 11px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; color: var(--ink-soft); cursor: pointer; }
.weather-label { background: rgba(255,255,255,0.72); border-radius: 20px; padding: 4px 12px; font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; max-width: 58%; text-align: right; }

.notif { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); background: #fffdf8; color: var(--ink); border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow); font-size: 0.92rem; font-weight: 600; max-width: 88%; text-align: center; z-index: 30; border: 1.5px solid var(--line); animation: dropIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes dropIn { from { transform: translateX(-50%) translateY(-20px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }

.dock { display: flex; align-items: stretch; gap: 8px; padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -6px 20px rgba(45, 60, 52, 0.1); }
.dock-btn { flex: 1; border: none; background: var(--cream); border-radius: 14px; padding: 10px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-soft); font-family: inherit; transition: transform 0.12s; }
.dock-btn:active { transform: scale(0.95); }
.dock-icon { font-size: 1.25rem; line-height: 1; }
.dock-text { font-size: 0.72rem; font-weight: 700; }
.dock-main { flex: 1.5; background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: #fff; }
.dock-plus { font-size: 1.4rem; font-weight: 400; line-height: 1; }

/* ===================== Modals ===================== */
.modal { position: fixed; inset: 0; background: rgba(40, 52, 46, 0.45); display: flex; align-items: flex-end; justify-content: center; z-index: 100; animation: fadeIn 0.25s ease; }
.sheet { background: var(--card); width: 100%; max-width: 540px; border-radius: 26px 26px 0 0; padding: 14px 22px 26px; padding-bottom: max(26px, env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.sheet-tall { min-height: 70vh; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle { width: 44px; height: 5px; background: #ddd6c8; border-radius: 4px; margin: 0 auto 14px; }
.sheet h3 { margin: 4px 0 6px; font-size: 1.5rem; }
.sheet-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 16px; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; border: 1.5px solid var(--line); background: var(--cream); border-radius: 30px; padding: 8px 14px; font-size: 0.92rem; font-weight: 600; color: var(--ink); cursor: pointer; font-family: inherit; transition: all 0.15s; }
.chip-icon { display: inline-flex; width: 22px; height: 22px; margin-right: 6px; }
.mini-plant { display: inline-block; width: 22px; height: 22px; }
.mini-plant svg, .mini-plant img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; display: block; }
.chip.selected { background: #eaf2ea; border-color: var(--accent); transform: scale(1.03); }
.chips-filter .chip.selected { background: var(--ink); color: #fff; border-color: var(--ink); }

.credit-toggle { display: flex; gap: 8px; margin: 14px 0 4px; }
.credit-opt { flex: 1; border: 1.5px solid var(--line); background: var(--cream); border-radius: 13px; padding: 11px 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; font-family: inherit; transition: all 0.15s; }
.credit-opt.active { border-color: var(--accent); background: #eaf2ea; color: var(--ink); }

.mood-options { display: flex; flex-direction: column; gap: 10px; }
.mood-opt { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); background: var(--cream); border-radius: 15px; padding: 14px 16px; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; transition: all 0.15s; }
.mood-opt:active { transform: scale(0.98); }
.mood-opt.selected { border-color: var(--accent); background: #eaf2ea; }
.mood-emoji { font-size: 1.5rem; width: 28px; text-align: center; color: var(--accent-d); }
.mood-desc { font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }

.memory-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 16px; }
.memory-item { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 15px; padding: 12px 14px; border: 1px solid var(--line); }
.memory-item-fig { width: 40px; height: 40px; flex-shrink: 0; }
.memory-item-fig .mini-plant { width: 40px; height: 40px; }
.memory-item-body { flex: 1; }
.memory-item-cat { font-weight: 700; font-size: 0.95rem; }
.memory-item-note { color: var(--ink-soft); font-size: 0.88rem; margin: 3px 0; line-height: 1.4; }
.memory-item-meta { color: #9aa89f; font-size: 0.75rem; }
.empty-hint { color: var(--ink-soft); text-align: center; padding: 30px 10px; line-height: 1.5; }

.memory-detail-big { text-align: center; }
.memory-detail-fig { width: 84px; height: 84px; margin: 0 auto; }
.memory-detail-fig .mini-plant { width: 84px; height: 84px; }
.memory-detail-cat { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 6px 0; }
.memory-detail-note { background: var(--cream); border-radius: 15px; padding: 14px; color: var(--ink); font-size: 1rem; line-height: 1.5; margin: 10px 0; font-style: italic; }
.memory-detail-meta { color: var(--ink-soft); font-size: 0.85rem; }

.toast { position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; z-index: 200; box-shadow: var(--shadow); animation: dropIn 0.4s ease; max-width: 90%; text-align: center; }

/* ===================== Status-Balken (beim Antippen) ===================== */
.status-panel {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  width: 156px; background: rgba(255, 253, 248, 0.97); border: 1px solid var(--line);
  border-radius: 14px; padding: 9px 11px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 40;
}
.status-panel.show { opacity: 1; transform: translateX(-50%) translateY(-2px); }
.sbar-row { display: flex; align-items: center; gap: 7px; margin: 5px 0; }
.sbar-label { font-size: 0.6rem; font-weight: 700; color: var(--ink-soft); width: 66px; text-align: right; }
.sbar-track { flex: 1; height: 8px; background: #eae3d4; border-radius: 6px; overflow: hidden; }
.sbar-fill { height: 100%; border-radius: 6px; transition: width 0.5s ease; }
.sbar-stimmung { background: linear-gradient(90deg, #9fb8d6, #f2c879); }
.sbar-geborg { background: linear-gradient(90deg, #c9a7c0, #e39aa6); }
.sbar-energie { background: linear-gradient(90deg, #9ec4a0, #7bbf86); }
.status-empty { font-size: 0.68rem; color: var(--ink-soft); text-align: center; padding: 4px 0; }

/* ===================== Freude-Gesten ===================== */
.gardener.gest-jump .g-fig { animation: jumpJoy 0.7s ease-in-out infinite; }
@keyframes jumpJoy { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-22px); } 55% { transform: translateY(0); } }
.gardener.gest-heart .joy-hearts span { font-size: 19px; }

/* ===================== Gießkanne ===================== */
.wateringcan { position: absolute; width: 9%; max-width: 46px; opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 12; transform-origin: 70% 60%; }
.wateringcan svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15)); }
.wateringcan.show { opacity: 1; animation: pour 1.4s ease-in-out infinite; }
@keyframes pour { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(22deg); } }

/* Wachstums-Puls */
.grow-pulse { animation: growPulse 0.9s ease; }
@keyframes growPulse { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ===================== Klebende Benachrichtigungen ===================== */
.notif-stack { position: absolute; top: 58px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 60; pointer-events: none; padding: 0 10px; }
.notif-card { pointer-events: auto; display: flex; align-items: center; gap: 11px; background: #fffdf8; border: 1.5px solid var(--line); border-radius: 16px; padding: 11px 15px; box-shadow: var(--shadow); max-width: 94%; cursor: pointer; touch-action: pan-y; animation: dropIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.notif-emoji { font-size: 1.4rem; color: #d4596e; flex-shrink: 0; }
.notif-text { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.notif-hint { display: block; font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }

/* ===================== Stimmungs-Regler ===================== */
.mood-sliders { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.slider-head { font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.slider-ends { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--ink-soft); margin: 5px 0 3px; }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; background: #e6ddcb; outline: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-d)); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.slider::-moz-range-thumb { width: 26px; height: 26px; border: none; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }

/* Pflanzen-Erinnerungen im Detail */
.memory-detail-sub { font-size: 0.85rem; color: var(--ink-soft); margin: 6px 0 8px; }
.plant-memory-list { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.pm-item { background: var(--cream); border-radius: 12px; padding: 9px 12px; font-size: 0.9rem; color: var(--ink); line-height: 1.4; }
.pm-meta { display: block; color: #9aa89f; font-size: 0.74rem; margin-top: 2px; }

/* ===================== Gemalte Figuren (Bilder) ===================== */
.g-img { width: 100%; height: 100%; object-fit: contain; display: block; animation: float 4s ease-in-out infinite; }
#g-partner .g-img { animation-delay: -2s; }
.figure-card-fig img.g-img { animation: none; }
.welcome-figures .wf img.g-img { width: 100%; height: auto; animation: float 4s ease-in-out infinite; }
.welcome-figures .wf:last-child img.g-img { animation-delay: -2s; }
.hug-pair { position: absolute; left: 50%; top: 42%; width: 156px; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 14; filter: drop-shadow(0 6px 6px rgba(0,0,0,0.12)); }
.hug-pair.show { opacity: 1; }
