.tp224-mature-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tp224-seedling{opacity:1;filter:drop-shadow(0 1px 1px #45562f25)}
.tp224-picture{position:relative;overflow:hidden;border-radius:14px;background:#e7ebd9;max-height:330px;width:100%;isolation:isolate}
.tp224-picture-world{position:absolute;pointer-events:none}.tp224-picture-world .terrain{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.tp224-picture .vision-landscape{filter:none!important;transition:none}
.tp224-completed{max-width:420px;margin:0 auto 18px;text-align:center}.tp224-completed>p,.tp224-caption{color:var(--muted);font-size:12px;line-height:1.6}
.tp224-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;background:#eef1e5;border-radius:16px;padding:16px;margin-bottom:14px}
.tp224-comparison figure{margin:0;min-width:0}.tp224-comparison figcaption{text-align:center;font-size:12px;margin-top:8px;color:var(--muted)}
.story-card>.tp224-picture{width:130px;max-height:170px;align-self:start}.memory-card>.tp224-picture{margin-bottom:14px}
@media(max-width:600px){.tp224-comparison{gap:7px;padding:10px}.tp224-comparison figcaption{font-size:11px}.story-card>.tp224-picture{width:100px;max-height:140px}}

/* Full RGBA sprites. Never stretch or crop a mature plant. */
.tp225-object{opacity:1;object-fit:contain;transform:translate(-50%,-100%);filter:none;animation:none;max-width:none}
.tp225-ground-shadow{position:absolute;display:block;transform:translate(-50%,-50%);border-radius:50%;background:rgba(43,59,23,.16);pointer-events:none}
.tp224-picture .tp225-object{filter:none!important}

/* Record portraits never crop the live garden or exceed the grid track. */
.tp226-portrait{aspect-ratio:4/3!important;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 72%,#dce5cc,#f2f3e9 75%);height:auto;min-width:0}
.tp226-portrait>img{position:static!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;padding:10px;transform:none!important;filter:none!important;border-radius:0!important}
.memory-list .story-card{grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:start}
.memory-list .story-card>.tp224-picture{width:100%;max-height:none;align-self:start}
.memory-list .story-card>div{min-width:0}
@media(max-width:760px){.memory-list .story-card{grid-template-columns:76px minmax(0,1fr);gap:14px}.tp226-portrait>img{padding:6px}}
/* Isolate memory cards from legacy generic panel:last-child and image rules. */
.memory-list>.story-card,.memory-list>.story-card:last-child{display:grid!important;grid-column:auto!important;width:auto!important;min-width:0;grid-template-columns:110px minmax(0,1fr)}
.memory-list>.memory-month{grid-column:1/-1!important}
.tp226-portrait{display:block!important;position:relative!important}
.tp226-portrait>img{position:absolute!important;inset:0!important;margin:0!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important}
@media(max-width:760px){.memory-list{grid-template-columns:minmax(0,1fr)!important}.memory-list>.story-card,.memory-list>.story-card:last-child{grid-template-columns:76px minmax(0,1fr)!important}}

/* Birdhouse companion: preserve perspective, use painted pose frames. */
.tp204-bird{width:1.8%;aspect-ratio:4/3;transition:filter .2s;image-rendering:auto}
.tp204-bird.greeting{width:2.25%}
.tp204-bird img.tp204-perched{display:block;visibility:visible!important;width:100%;height:100%;object-fit:contain;transform:scaleX(var(--bird-facing,1));image-rendering:auto}
.tp204-flight{display:none!important;animation:none!important}
.tp227-house-hotspot{position:absolute;left:28%;top:36%;width:4.5%;height:15%;transform:translate(-50%,-50%);background:none;border:0;padding:0;z-index:142;cursor:pointer}
.tp227-house-hotspot:focus-visible{outline:2px solid #fff5bf;border-radius:14px}
.world-scene[data-time="night"] .tp204-bird{filter:brightness(.48) saturate(.6)}

/* Registered painting; one lighting transform for the whole living landscape. */
.vision-landscape>.tp2216-painting{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;overflow:hidden}
.tp2216-portrait{aspect-ratio:4/3!important;display:flex!important;align-items:center;justify-content:center;background:#edf0e3;min-width:0;height:auto}
.tp2216-portrait>.tp2216-painting{position:static!important;display:block;width:100%;height:100%;max-width:100%;max-height:100%;filter:none!important;transform:none!important}
.tp227-house-hotspot{left:29.6%;top:30.5%;width:4%;height:12%}
.tp2216-painting:not([data-ready="yes"]){visibility:hidden}
.tp2216-loading>.animal,.tp2216-loading>.tp204-bird{visibility:hidden!important}
.tp2216-load-error{position:absolute;inset:40% 10% auto;text-align:center;color:#536548;font:14px/1.5 system-ui}


/* v2.2.17: registered roots, open cottage, no legacy fake door. */
.tp-cottage-door{display:none!important}
.tp2217-depth{display:none!important}
.tp2216-painting svg{overflow:hidden}
