body[data-scene=grove] :is(.scene-caption,#tree-entry,#go-baby,#avatar-settings,#pebble-zone,.bottom-area,#gift-bag,#sample-note,#zones,#pet-bubble,#pet-chat-launcher){display:none!important}body[data-scene=grove] .scene-link{top:100px}body[data-scene=grove] .movement{bottom:42px}body[data-scene=grove] #toast{bottom:165px}#grove-ui{position:absolute;inset:0;pointer-events:none;color:#294b31}#grove-ui>*{pointer-events:auto}.grove-card{position:absolute;left:24px;top:104px;width:300px;background:#fbfff2ed;border:1px solid #fff;border-radius:20px;padding:23px;box-shadow:0 10px 38px #31492b14}.grove-eyebrow{font-size:11px;letter-spacing:.08em;color:#66835a}.grove-card h2{font-size:23px;font-weight:600;letter-spacing:-.05em;margin:10px 0}.grove-card p{font-size:12px;line-height:1.7;margin:8px 0}.grove-card .grove-welcome{margin:20px 0;line-height:2}.grove-picker{display:flex;gap:6px;margin:20px 0 16px}.grove-picker select{width:100%;min-width:0;background:#f5f8ec;border:1px solid #d7e0ca;border-radius:8px;padding:9px;color:#34563a}.grove-picker button{white-space:nowrap;padding:8px;border-radius:8px;background:#e6edda}.grove-growth{display:flex;justify-content:space-between;font-size:12px;margin:10px 0}.grove-card progress{display:block;width:100%;height:7px;accent-color:#76a05c;border:none;border-radius:5px;overflow:hidden}.grove-card progress::-webkit-progress-bar{background:#e3e9d8}.grove-card progress::-webkit-progress-value{background:#78a15e;border-radius:5px}.grove-next{color:#748268;font-size:11px!important}.grove-facts{display:flex;justify-content:space-between;font-size:10px;margin:15px 0 0;color:#738269}.grove-status:empty{display:none}.grove-refresh{font-size:10px;text-decoration:underline;background:transparent;padding:8px 0 0;color:#718167}.grove-care{min-width:270px;position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;gap:7px;padding:10px 12px;border-radius:20px;background:#fbfff2f2;box-shadow:0 6px 30px #30432c21}.grove-care button{min-width:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#edf3e3;border-radius:12px;padding:12px 15px;font-size:12px;white-space:nowrap}.grove-care b{font-size:22px;font-weight:400;line-height:1}.grove-care small{font-size:10px;color:#6b7f60}.grove-care p{position:absolute;bottom:100%;width:100%;left:0;text-align:center;font-size:11px;line-height:1.65;color:#3b5f36;text-shadow:0 1px 4px #ffffff;background:#f6ffebbc;border-radius:9px;padding:6px}.grove-primary{background:#446f45!important;color:#fff!important;padding:14px 22px;border-radius:12px;font-weight:600}.grove-care button:disabled{cursor:default;opacity:.58}.grove-dialog{width:min(400px,calc(100vw - 32px));padding:32px;border:1px solid #d9e5cd;border-radius:22px;color:#305039;background:#fbfff5;box-shadow:0 16px 80px #13290b42}.grove-dialog::backdrop{background:#16351f66;backdrop-filter:blur(4px)}.grove-dialog h2{font-size:22px;letter-spacing:-.04em}.grove-dialog p{font-size:12px;line-height:1.8;color:#6d7e64}.grove-dialog label{display:grid;gap:8px;font-size:12px}.grove-dialog input:not([type=file]){width:100%;padding:12px;border:1px solid #c9d8ba;border-radius:8px;background:white}.grove-dialog input[type=file]{max-width:100%;font-size:12px}.grove-dialog .grove-primary{width:100%;margin-top:18px}.grove-dialog-close{position:absolute;top:10px;right:12px;background:transparent;font-size:25px}.grove-photo-preview{display:block;width:112px;height:140px;object-fit:cover;margin:18px auto;border:6px solid #f3e8cd}.grove-dialog-error{color:#986047!important}
@media(max-width:700px){body[data-scene=grove] .scene-link{top:80px;right:12px}.grove-card{left:12px;top:130px;width:220px;padding:15px;border-radius:15px}.grove-card h2{font-size:20px}.grove-card p{font-size:10px;margin:5px 0}.grove-picker{margin:10px 0}.grove-picker select{font-size:11px;padding:7px}.grove-picker button{font-size:11px}.grove-facts{font-size:9px;margin-top:8px}.grove-care{bottom:18px;gap:5px;padding:7px;width:calc(100vw - 24px);justify-content:center;border-radius:15px}.grove-care button{min-width:0;flex:1;padding:11px 6px;font-size:11px}.grove-care small{font-size:9px}.grove-care b{font-size:19px}.grove-care p{font-size:10px}body[data-scene=grove] .movement{bottom:170px;left:14px;transform:scale(.8);transform-origin:bottom left}body[data-scene=grove] #toast{bottom:135px}.grove-next{font-size:10px!important}}
@media(max-height:650px){.grove-card{top:90px;padding:12px;max-height:calc(100dvh - 230px);overflow:auto}.grove-card>p:not(.grove-status){display:none}.grove-care{bottom:12px}.grove-care p{display:none}}

.grove-care b svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body[data-petting=true] #tree-entry,body[data-tribute-ceremony=true] #tree-entry,.panel-open #tree-entry{display:none}.panel-open #grove-ui{visibility:hidden}

@media(max-width:700px) and (min-height:651px){.grove-card{top:78px;left:12px;right:66px;width:auto;padding:12px}.grove-card .grove-eyebrow,.grove-card>p:not(.grove-status),.grove-facts{display:none}.grove-card h2{font-size:17px;margin:0 50px 9px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grove-picker{margin:5px 0 10px}.grove-growth{font-size:11px;margin:6px 0}.grove-refresh{position:absolute;top:12px;right:12px;font-size:9px;padding:0}.grove-card .grove-status{font-size:10px}.grove-card .grove-next{display:block;font-size:9px!important;margin:6px 0 0}}

#tree-entry{position:absolute;z-index:4;right:12px;top:112px;width:44px;height:44px;padding:0;display:grid;place-items:center;border:0;border-radius:12px;background:var(--hud-surface);color:var(--ink);box-shadow:none}#tree-entry svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#tree-entry>span{display:none}.grove-walk{margin-top:7px;padding:6px 10px;background:#e9efdf;border-radius:8px;font-size:11px}.grove-memory-photo{display:block;width:100%;max-height:55dvh;object-fit:contain}.grove-care button[data-grove-confirm]{min-width:115px}

.grove-card{width:240px;top:84px;left:16px;right:auto;padding:10px 12px;border-radius:13px}.grove-card-head{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#687e5e;height:24px}.grove-card .grove-refresh{position:static;padding:0;width:28px;height:28px;font-size:20px;text-decoration:none}.grove-card .grove-picker{margin:5px 0 7px;gap:4px}.grove-card .grove-picker select{font-size:12px;padding:6px;min-height:34px}.grove-card .grove-picker button{font-size:11px;padding:6px;min-height:34px}.grove-card .grove-growth{font-size:10px;margin:5px 0}.grove-card progress{height:4px}.grove-summary{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:5px;font-size:10px;color:#64795b}.grove-summary .grove-walk{margin:0;padding:6px;font-size:10px;white-space:nowrap}.grove-card .grove-quota{display:block!important;font-size:10px;line-height:1.4;color:#64795b;margin:5px 0 0}.grove-card .grove-status{margin:5px 0 0;font-size:10px}.grove-card button:disabled{opacity:.45;cursor:default}
#tree-rest-action{position:absolute;z-index:4;bottom:170px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;min-height:40px;padding:9px 14px;border:1px solid #cbd7bf;border-radius:20px;background:#fbfff3f0;color:#36553b;box-shadow:0 3px 12px #26442315;font-size:12px;white-space:nowrap}#tree-rest-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#tree-rest-action[hidden],body:not([data-scene=grove]) #tree-rest-action,.panel-open #tree-rest-action,body[data-petting=true] #tree-rest-action{display:none}
@media(max-width:700px){.grove-card{left:10px;right:auto;top:78px;width:210px;max-width:calc(100vw - 84px);padding:8px 10px}.grove-card .grove-picker select{font-size:11px}.grove-card .grove-quota{font-size:9px}.grove-card-head{font-size:9px;height:20px}#tree-rest-action{bottom:172px;min-height:38px;padding:8px 12px;font-size:11px}}
@media(max-height:650px){.grove-card{top:74px;max-height:calc(100dvh - 195px)}#tree-rest-action{bottom:135px}}
.grove-dialog select{width:100%;padding:12px;border:1px solid #c9d8ba;border-radius:8px;background:white;color:#305039;font:inherit}.grove-care button[data-grove-family]{white-space:normal;max-width:130px;line-height:1.5}

/* Keep the tree controls together so the upper meadow remains open. */
#grove-ui{inset:auto;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:340px;max-width:calc(100vw - 24px);display:grid;gap:5px}
#grove-ui .grove-card,#grove-ui .grove-care{position:static;inset:auto;transform:none;width:100%;min-width:0;max-width:none;max-height:none;box-sizing:border-box;border-radius:14px;overflow:visible}
#grove-ui .grove-card{padding:5px 8px}
#grove-ui .grove-picker{margin:0;gap:3px;align-items:center}
#grove-ui .grove-picker select{flex:1;min-width:0;min-height:36px;height:36px;padding:5px;font-size:12px}
#grove-ui .grove-picker button{flex:none;min-width:36px;min-height:36px;height:36px;padding:4px;font-size:11px;line-height:1;border-radius:9px;margin:0}
#grove-ui .grove-picker .grove-refresh{width:36px;font-size:21px}
#grove-ui .grove-walk svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#grove-ui .grove-growth{display:flex;align-items:center;gap:7px;font-size:10px;line-height:15px;margin:3px 3px 1px}
#grove-ui .grove-growth span{white-space:nowrap}#grove-ui .grove-growth span:first-child{max-width:50%;overflow:hidden;text-overflow:ellipsis}
#grove-ui progress{flex:1;min-width:24px;width:auto;height:3px}
#grove-ui .grove-empty,#grove-ui .grove-status{font-size:10px;line-height:1.5;margin:3px}
#grove-ui .grove-empty{display:block}
#grove-ui .grove-care{padding:4px;gap:3px;flex-wrap:wrap;justify-content:center}
#grove-ui .grove-care button{flex:1;min-width:0;min-height:44px;padding:5px 4px;font-size:11px;line-height:1.2;gap:2px;white-space:normal;border-radius:9px}
#grove-ui .grove-care button[data-grove-action]{height:56px;white-space:nowrap}
#grove-ui .grove-care b,#grove-ui .grove-care b svg{width:18px;height:18px;font-size:18px;line-height:1}
#grove-ui .grove-care small{font-size:9px;line-height:11px}#grove-ui .grove-care small:empty{display:none}
#grove-ui .grove-care .grove-hint{position:static;width:100%;margin:0;padding:2px 5px;font-size:10px;line-height:1.5;border:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
body[data-scene=grove] #toast{bottom:176px}body[data-scene=grove] #tree-rest-action{bottom:168px}
@media(max-width:700px){body[data-scene=grove] .seo-content{bottom:calc(172px + env(safe-area-inset-bottom))}body[data-scene=grove] .sns-links{bottom:calc(224px + env(safe-area-inset-bottom))}body[data-scene=grove] #visitor-social .social-say-toggle{bottom:calc(276px + env(safe-area-inset-bottom))}body[data-scene=grove] :is(.social-presets,.social-admin-composer){bottom:calc(328px + env(safe-area-inset-bottom))}}

#grove-ui [data-grove-manage] svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.grove-dialog .grove-remove{display:block;width:100%;margin-top:14px;min-height:40px;padding:9px 12px;background:transparent;color:inherit;border:1px solid currentColor;border-radius:10px;font:inherit;font-size:12px;opacity:.85}
.grove-manage-actions{display:flex;gap:8px;margin-top:18px}.grove-manage-actions button{flex:1;min-height:42px;border-radius:10px}.grove-dialog .grove-manage-actions .grove-remove{width:auto;margin:0}
