.plant-home {gap:12px;background:#fffefa}
.plant-home h2 {font-size:clamp(20px,5vw,25px)}
.plant-phase {font-size:12px;font-weight:750;letter-spacing:.12em;color:#6c8060}
.plant-home .pet-supplies .tag {background:#eef4e7;color:#4c6953;font-size:12px}
.plant-scene {position:relative;isolation:isolate;width:min(100%,360px);aspect-ratio:1;overflow:hidden;border-radius:24px;background:#e0eddb}
.plant-art-wrap,.plant-art {display:block;width:100%;height:100%}
.plant-touch {position:absolute;inset:30% 18% 4%;border:0;background:transparent;cursor:pointer;border-radius:40%;z-index:2;padding:0;box-shadow:none}
.plant-touch:focus-visible {outline-offset:-4px}
.plant-home .pet-speech {font-size:15px;min-height:1.55em;max-width:360px;color:#3f6451}
.plant-home .pet-feed {min-width:min(100%,230px);min-height:48px;background:#315e49;border-radius:18px}
.care-choices {display:flex;gap:6px;padding:4px;background:#f0f4e9;border-radius:14px}
.care-choices button {min-height:36px;padding:5px 12px;font-size:13px;background:transparent!important;color:#64785c;box-shadow:none}
.care-choices button[aria-pressed=true] {background:#fffefa!important;color:#24533e;box-shadow:0 2px 6px #24452f0c}
.plant-home .pet-growth {width:min(100%,360px);text-align:left;gap:4px;padding:12px 0;border-top:1px solid #e7ebdf}
.plant-home .pet-growth p {font-size:12px;margin:0}
.plant-home .hint {max-width:360px;font-size:12px;margin:0}
.growth-journey {width:min(100%,360px);text-align:left;border-top:1px solid #e7ebdf;padding-top:12px;color:#536e55}
.growth-journey summary {cursor:pointer;font-size:13px;font-weight:700;padding:4px 0}
.growth-journey ol {padding-left:22px;font-size:13px;margin:14px 0}
.growth-journey li {margin:12px 0}.growth-journey li p {font-size:12px;margin:3px 0 0;color:#71806b}
.plant-seed {transform-origin:200px 260px;animation:seed-breathe 3.5s ease-in-out infinite}
.plant-crown {transform-origin:200px 303px;animation:plant-sway 5s ease-in-out infinite}
.plant-bud {transform-origin:200px 125px;animation:bud-sway 3.8s ease-in-out infinite}
.plant-fruit {transform-box:view-box;transform-origin:0px 0px;animation:fruit-attached-sway 4.8s ease-in-out infinite}
@keyframes fruit-attached-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
.plant-water,.plant-nutrients,.plant-ripple {opacity:0;pointer-events:none}
.nourishing .plant-nutrients {animation:water-fall .85s ease-in both}
.nourishing .plant-ripple {transform-origin:var(--ripple-origin,200px 303px);animation:water-ripple 1s ease-out both}
.growing .leaf-new .leaf-blade {animation:leaf-unfurl 1.3s ease-out both;animation-delay:var(--leaf-delay)}
.growing .plant-roots path.root-new {stroke-dasharray:1;animation:root-unfurl 1.3s ease-out both}
.growing .plant-seed {animation:seed-drink 1.3s ease-out both}
.stage-changing .plant-flower {transform-origin:200px 110px;animation:flower-open 1.5s ease-out both}
.plant-motes {opacity:0}.growing .plant-motes {animation:plant-motes 1.6s ease-out both}
.touched .plant-crown,.touched .plant-seed {animation:plant-touch .7s ease-out}
.pet-free-touch {animation:happy-wiggle .8s ease-out}
.fruit-falling .plant-fruit {animation:none}
.fruit-falling .fruit-body {animation:fruit-fall 1.3s ease-in both;transform-box:view-box;transform-origin:37px 20px}
@keyframes seed-breathe {50%{transform:scale(1.035,1.025)}}
@keyframes plant-sway {25%{transform:rotate(-1.5deg)}75%{transform:rotate(1.5deg)}}
@keyframes bud-sway {25%{transform:rotate(4deg)}75%{transform:rotate(-4deg)}}
@keyframes water-fall {0%{opacity:0;transform:translateY(-25px)}20%{opacity:1}85%{opacity:1;transform:translateY(var(--water-drop,175px))}100%{opacity:0;transform:translateY(var(--water-end,205px))}}
@keyframes water-ripple {0%,50%{opacity:0;transform:scale(.3)}65%{opacity:.8}100%{opacity:0;transform:scale(1.3)}}
@keyframes leaf-unfurl {0%{transform:scale(.15,.05) rotate(-25deg)}65%{transform:scale(1.04,.96) rotate(3deg)}100%{transform:scale(1) rotate(0)}}
@keyframes root-unfurl {from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes seed-drink {30%{transform:scale(1.13,1.08) rotate(-4deg)}60%{transform:scale(1.07,1.06) rotate(3deg)}100%{transform:scale(1.02)}}
@keyframes plant-motes {10%{opacity:1}100%{opacity:0;transform:translateY(-35px)}}
@keyframes plant-touch {25%{transform:rotate(-4deg)}65%{transform:rotate(3deg)}100%{transform:rotate(0)}}
@keyframes flower-open {from{opacity:.3;transform:scale(.35) rotate(-15deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes fruit-fall {0%{transform:translateY(0) rotate(0)}60%{transform:translateY(105px) rotate(-14deg)}78%{transform:translateY(93px) rotate(8deg)}100%{transform:translateY(105px) rotate(0)}}
@media(max-width:520px){
 .plant-home {padding:14px;gap:10px}
 .plant-scene {width:min(100%,340px,calc(100svh - 365px));min-width:180px}
 .plant-home h2 {font-size:21px}
}
@media(prefers-reduced-motion:reduce){
 .plant-art * {animation:none!important}
 .nourishing .plant-nutrients {opacity:1;transform:translateY(150px)}
 .pet-free-touch {animation:none}
}
@media print { .plant-art * {animation:none!important} }
.page-hidden .plant-art * {animation-play-state:paused!important}

.leaf-blade{transform-box:view-box;transform-origin:0 0}.plant-roots path{stroke-linejoin:round}

.seed-embryo{transform-origin:220px 245px}
.growing .seed-embryo{animation:embryo-unfurl 1.35s ease-out both}
.seed-step-1 .plant-seed{transform-origin:200px 260px}
.growing .seed-step-1 .plant-seed{animation:seed-swell 1.6s ease-out both}
.stage-changing .plant-crown{animation:shoot-emerge 1.5s ease-out both;transform-origin:200px 303px}
@keyframes seed-swell{0%{transform:scale(.8,.84)}55%{transform:scale(1.035,1.02)}100%{transform:scale(1)}}
@keyframes embryo-unfurl{from{opacity:.3;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
@keyframes shoot-emerge{from{opacity:.3;transform:translateY(42px) scaleY(.4)}to{opacity:1;transform:translateY(0) scaleY(1)}}
/* Germination: fixed soil level, pale radicle first, then a hooked shoot. */
.plant-seed{transform-origin:215px 307px;animation:none}
.plant-crown{transform-origin:200px 273px}
.seed-reserve{opacity:.92}
.seed-embryo{transform-origin:192px 318px}
.seed-shoot-hook{transform-origin:194px 317px}
.growing .plant-seed{animation:none}
.growing .seed-step-1 .plant-seed{transform-origin:215px 307px;animation:seed-swell 1.9s ease-out both}
.growing .seed-embryo{animation:radicle-show 1.65s ease-out both}
.growing .seed-shoot-hook{stroke-dasharray:1;animation:hook-unfurl 1.8s ease-out both}
.growing .plant-roots path.root-new{stroke-dasharray:1;animation:root-extend 1.9s ease-out both}
.stage-changing .plant-crown{transform-origin:200px 273px;animation:shoot-emerge 1.9s ease-out both}
.stage-changing .plant-hypocotyl{animation:radicle-show 1.5s ease-out both}
@keyframes root-extend{from{stroke-dashoffset:var(--root-reveal,1)}to{stroke-dashoffset:0}}
@keyframes hook-unfurl{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes radicle-show{from{opacity:0}to{opacity:1}}
@keyframes seed-swell{from{transform:scale(.8,.84)}to{transform:scale(1)}}
@keyframes shoot-emerge{0%{transform:translateY(6px) scaleY(.1);opacity:.35}65%{transform:translateY(0) scaleY(.82);opacity:1}100%{transform:translateY(0) scaleY(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.plant-art *{animation:none!important}}

/* One gentle cup pour; droplets are replaced by a connected stream. */
.watering .plant-water{animation:cup-presence 2.2s ease-in-out both}
.watering .watering-cup{transform-origin:138px 75px;animation:cup-tilt 2.2s ease-in-out both}
.pour-stream{stroke-dasharray:1;stroke-dashoffset:1}
.watering .pour-stream{animation:cup-stream 2.2s linear both}
.pour-glints{opacity:0;stroke-dasharray:5 16}
.watering .pour-glints{animation:stream-glints 2.2s linear both}
.pour-splash,.soil-drink{opacity:0;transform-origin:200px 278px}
.watering .pour-splash{animation:gentle-splash 2.2s ease-out both}
.watering .soil-drink{animation:soil-absorb 2.2s ease-out both}
@keyframes cup-presence{0%{opacity:0}12%,88%{opacity:1}100%{opacity:0}}
@keyframes cup-tilt{0%,10%{transform:translateY(-5px) rotate(0deg)}32%,73%{transform:translateY(0) rotate(38deg)}95%,100%{transform:translateY(-4px) rotate(0deg)}}
@keyframes cup-stream{0%,24%{stroke-dashoffset:1;opacity:0}28%{opacity:1}48%,73%{stroke-dashoffset:0;opacity:1}88%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes stream-glints{0%,46%{opacity:0;stroke-dashoffset:0}50%,73%{opacity:.8}86%,100%{opacity:0;stroke-dashoffset:-90}}
@keyframes gentle-splash{0%,47%{opacity:0;transform:scale(.4)}54%,72%{opacity:.65;transform:scale(1)}88%,100%{opacity:0;transform:scale(1.2)}}
@keyframes soil-absorb{0%,47%{opacity:0;transform:scale(.4)}65%{opacity:.2;transform:scale(1)}100%{opacity:0;transform:scale(1.7,2)}}
@media(prefers-reduced-motion:reduce){.watering .plant-water{opacity:1}.watering .watering-cup,.watering .pour-stream,.watering .pour-glints,.watering .pour-splash{display:none}.watering .soil-drink{opacity:.2;transform:none}}
.care-info{width:min(100%,360px);text-align:left;border-top:1px solid #e7ebdf;padding-top:10px;color:#536e55}
.care-info summary{font-size:14px;font-weight:700;cursor:pointer;padding:4px 0}
.care-info[open] summary{margin-bottom:10px}
.care-info .hint{font-size:14px;margin:8px 0;line-height:1.5}
.plant-home .pet-growth>p{font-size:14px}
/* Care feedback is local SVG/CSS: no generated frames or extra network requests. */
.root-wet-soil,.root-absorption{opacity:0;pointer-events:none}
.root-absorption{stroke:#9edee6;stroke-width:3;stroke-dasharray:.045 .16;stroke-dashoffset:1}
.watering .root-wet-soil{animation:wet-root-zone 2.2s ease-out both}
.watering .root-absorption{animation:root-flow 2.2s linear both}
.nourishing .root-absorption{stroke:#f9dc81;animation:root-feed .85s ease-out both}
.growing .plant-roots{filter:drop-shadow(0 0 2px #f4df91);animation:root-settle 2.1s ease-out both}
@keyframes wet-root-zone{0%,40%{opacity:0;transform:translateY(-20px) scaleY(.2);transform-origin:200px 275px}75%{opacity:.23}100%{opacity:0;transform:translateY(0) scaleY(1)}}
@keyframes root-flow{0%,45%{opacity:0;stroke-dashoffset:1}55%,85%{opacity:.8}100%{opacity:0;stroke-dashoffset:0}}
@keyframes root-feed{0%{opacity:0;stroke-dashoffset:1}30%,75%{opacity:.9}100%{opacity:0;stroke-dashoffset:0}}
@keyframes root-settle{0%,40%{filter:drop-shadow(0 0 3px #f4df91)}100%{filter:none}}
.plant-forecast{position:absolute;inset:0;pointer-events:none;opacity:.38;filter:drop-shadow(0 0 3px #fff)}
.plant-forecast[hidden]{display:none}
.plant-forecast .plant-art>*:not(defs):not(.plant-crown):not(.plant-hypocotyl):not(.plant-roots):not(.seed-germination){display:none}
.plant-forecast .plant-art *{animation:none!important}
.plant-forecast .plant-crown,.plant-forecast .seed-body{fill:none!important;stroke:#fcfff4;stroke-width:2}
.growth-preview-button{font-size:13px;padding:8px 14px;margin-top:8px}
.growth-album{width:100%;text-align:left;border-top:1px solid #dce5d5;padding-top:14px;margin-top:16px}
.growth-album summary{cursor:pointer;font-weight:700;padding:6px 0}
.growth-album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.growth-memory{min-width:0;background:#f1f5eb;border-radius:16px;overflow:hidden;padding:10px}
.growth-memory-art{aspect-ratio:1;overflow:hidden;border-radius:10px;margin-bottom:8px}
.growth-memory-art svg,.growth-memory-art img{width:100%;height:100%;display:block;object-fit:cover}
.growth-memory-art *{animation:none!important}
.growth-memory-art .plant-water,.growth-memory-art .plant-nutrients,.growth-memory-art .plant-ripple,.growth-memory-art .plant-motes{display:none}
.growth-memory strong,.growth-memory time{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.growth-memory time{color:#65765c;font-size:12px;margin-top:4px}
.growth-memory .hint{font-size:12px;line-height:1.5;margin:4px 0}
.growth-album-pages{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;font-size:13px}
.growth-album-pages button{font-size:13px;padding:8px 12px}
@media(prefers-reduced-motion:reduce){.watering .root-wet-soil,.watering .root-absorption,.nourishing .root-absorption{animation:none!important;opacity:.2}.growing .plant-roots{animation:none!important;filter:none}}

.plant-forecast>img{width:100%;height:100%;object-fit:cover;border-radius:24px}
.care-guide{width:min(100%,360px);margin:10px 0 8px;padding:10px 14px;border-radius:14px;background:#e7f1e6;color:#214d3e;font-size:15px;font-weight:650;line-height:1.5}
