/* Botanical room: a light, quiet interface around a living character. */
.panel,.item,.grid{min-width:0}
h1,h2,h3,.panel p,.item p,.speech #quote,.care strong,.care small{overflow-wrap:anywhere;hyphens:auto}
:root{color-scheme:light;--text:#283c32;--muted:#647267;--line:#dbe2d4;--gold2:#755225}
html,body{background:#f5f3ec;color:var(--text)}
body{background:radial-gradient(ellipse at 90% 0,#e1e9d8,transparent 55%),#f5f3ec}
.app{max-width:620px;padding-top:18px}.top{display:flex;align-items:center;margin-bottom:22px;padding:0 3px}
.brand-title{font-family:Georgia,serif;font-size:1.55rem;font-weight:700;letter-spacing:.03em}.brand-sub{font-size:.72rem;color:#6c776b}
.avatar.art-sprite{background-image:url('/assets/art-frames/eva-chocolate-ghost-emotions/3.png');background-size:100% 100%;background-color:#eee8d5;border:1px solid #d6c69b;box-shadow:none}
.top .coin{background:#fff9e9;color:#765321;border-color:#ddcda7;box-shadow:none;font-size:.8rem}
h1{font-family:Georgia,serif;font-size:1.8rem;font-weight:500;letter-spacing:-.035em;margin:18px 0 6px}h2{font-weight:650}h1+p{margin-top:0;font-size:.8rem}
button{border:1px solid #ccd7c5;background:#e7eddf;color:#304a37;border-radius:14px;font-weight:550;box-shadow:none}
button:hover:enabled{background:#dce6d3}button:disabled{opacity:.58}button:focus-visible,a:focus-visible{outline:3px solid #a46d32}
.muted,small{color:#657264}.panel,.item{background:#fffdf7;border:1px solid #dce2d4;box-shadow:0 5px 18px #3d4e2c04;border-radius:22px}
.panel{padding:20px}.panel h2{color:#324a36}.hint{background:#fff4df;border-color:#b98743;color:#70562d}
.scene{height:auto;min-height:0;background:#fffdf6;border:1px solid #d8dfcc;border-radius:28px;box-shadow:0 12px 35px #3b4a2610;isolation:isolate}
.habitat{position:relative;height:350px;overflow:hidden}
.scene-bg{inset:0;background:url('/assets/art-v3/botanical-room.png') center center / cover no-repeat}
.scene .lamp{display:none}.scene .eva-stage{top:auto;bottom:50px;left:0;right:0;height:270px;z-index:6}
.eva-wrap{aspect-ratio:1;width:min(92%,290px);height:auto;filter:none!important}
.eva-wrap:before{content:'';display:block;padding-top:100%}
.eva-base{filter:drop-shadow(0 7px 5px #52432926);background-repeat:no-repeat;touch-action:manipulation}
.scene .speech{position:relative;top:auto;left:auto;width:auto;max-width:none;margin:0;padding:14px 18px;background:#fffdf5;border:0;box-shadow:none;border-radius:0;backdrop-filter:none;min-height:84px}
.speech b{font-size:.66rem;letter-spacing:.06em;color:#6d7656;font-weight:650;margin-bottom:4px}
.speech b span{font-size:inherit;line-height:inherit}.speech #quote{display:block;font-size:.9rem;line-height:1.4;color:#394731}
.scene .online{top:auto;bottom:10px;right:12px;padding:5px 8px;font-size:.55rem;border:0;color:#556048;background:#fffbedb8;backdrop-filter:none}.dot{width:5px;height:5px;background:#7c9767;box-shadow:none}
.scene .stats{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(3.2rem,1fr));gap:8px;margin:0;padding:15px 12px 17px;left:auto;right:auto;bottom:auto;background:#fffdf7;border:0;border-top:1px solid #e7e4d5;border-radius:0;backdrop-filter:none}
.stat{background:transparent;padding:0 3px;min-width:0}.stat .ico{font-size:1rem;color:#8c9b77}.stats .sname{font-size:.59rem;color:#68725e;white-space:normal;line-height:1.4;margin:3px 0}.stats .sval{font-size:1.03rem;color:#304a36;font-weight:650}.bar{height:4px;background:#eaece0;margin-top:7px}.stat[data-level='low'] .sval{color:#a54b3e}.stat[data-level='warn'] .sval{color:#976b28}
.scene .preview-note{top:86px;right:14px;left:auto;background:#fff2ce;color:#7b5b27;border-color:#ddcfa6;font-size:.55rem}
.scene .dead{background:#f5f2e8e8;backdrop-filter:blur(5px);z-index:22}.dead>div{max-width:90%;color:#344b37}.dead h2{color:#705345}.dead p{color:#59634e}.dead button{background:#486043;color:#fff8ec;border:0}
.action-grid{gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}.care{background:#fffdf7;border:1px solid #dce2d4;padding:15px;position:relative;gap:5px;border-radius:20px;min-height:140px}.care .care-icon{color:#87996c;font-size:1.6rem;line-height:1;margin-bottom:5px}.care strong{font-size:.93rem;font-weight:650}.care small{font-size:.72rem;color:#6c7866}.care [data-timer]{font-size:.66rem;color:#859074;margin-top:5px}.care:disabled{opacity:.65}.care:last-child{grid-column:1/-1;min-height:105px}
.tabs{gap:7px}.tabs button{border:1px solid #d9e0cf;background:#f9faf4;color:#66705b;font-size:.75rem}.tabs button.active{color:#fffaf0;background:#52694a;border-color:#52694a}
.item{padding:14px}.item h2{font-size:1rem;line-height:1.3;margin-top:4px}.item p{font-size:.74rem;line-height:1.5}.item button{font-size:.78rem;min-height:40px}.item-art{max-width:190px}.preview{border-radius:22px;background:radial-gradient(ellipse,#e5ebd8,#f5f1e6);margin:12px 0 18px}
.preview .eva-wrap{width:min(90%,250px)}
.bottom{width:calc(100% - 24px);bottom:10px;padding:6px;max-width:594px;background:#fffdf5f5;border:1px solid #d8dfce;border-radius:22px;box-shadow:0 8px 35px #3d4a2920;backdrop-filter:blur(15px)}
.bottom button{font-size:.64rem;color:#7a816b;padding:8px 1px;border:0;border-radius:16px;font-weight:550;white-space:pre-line;line-height:1.35}.bottom button.active{background:#e7eddd;color:#405b39;box-shadow:none}
dialog{background:#fffdf6;color:#304432;border:1px solid #d6ddc9;border-radius:26px;box-shadow:0 20px 80px #26342430}.close{background:#edf0e2;border:0;color:#677753}.stat-summary{color:#7a8b61;font-weight:600}dialog::backdrop{background:#1a2b2359;backdrop-filter:blur(3px)}
.event{border-color:#e2e7d8}.event time{color:#7a8470}.badge{background:#e4ecd9;color:#566e42}.progress{accent-color:#809b65}a{color:#7c5b27}.danger{background:#f8e5dd;color:#975744;border-color:#e3b7a6}
.form-field input,.form-field select{background:#fffdf6;color:#304432;border-color:#ced9c0}#toast{background:#3e553c;color:#fffaed;border:0;font-size:.85rem}#connection{background:#f3e4c9;color:#725431}.reward-pop{color:#94642b;text-shadow:0 1px 4px #fff}
@media(max-width:380px){.grid{grid-template-columns:1fr}.app{padding:10px 8px 135px}.habitat{height:330px}.scene .eva-stage{height:250px;bottom:52px}.eva-wrap{width:min(92%,260px)}.scene .stats{gap:4px;padding:12px 7px}.stats .sname{font-size:.56rem}.speech #quote{font-size:.8rem}.care{padding:12px}.bottom button{font-size:.6rem}}
@media(min-width:600px){.habitat{height:430px}.scene .eva-stage{height:320px;bottom:30px}.eva-wrap{width:330px}}
