/* Immersive forest layout. The controls stay semantic and keyboard accessible. */
:root{--accent:#58754a;--accent-dark:#354f32;--accent-soft:#e7edda;--line:#6f825c28}
body.forest-edition{height:100svh;overflow:hidden;background:#53694b;color:#34432f;--stage:transparent}
.portrait-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:28px;color:#78915e}.portrait-placeholder[hidden]{display:none}
#forest-backdrop{position:fixed;inset:0;z-index:0;overflow:hidden;background:#53694b}.forest-painting{position:absolute;inset:-2%;background:url('/media/static-c9c24cb25fb5c794/forest-glade-v1.png') center center/cover no-repeat;transition:filter 1.5s}#forest-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.forest-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#0c271e50 0%,transparent 19%,transparent 74%,#253a2719 100%);pointer-events:none}
.forest-edition .site-header{height:88px;border:0;margin:0 38px;position:relative;z-index:8;gap:20px}.forest-edition .brand{color:#fffde7;text-shadow:0 2px 15px #17312040;font-size:43px}.forest-edition .brand-mark,.forest-edition .brand-period{color:#e6edc2}.forest-edition .brand-mark{font-size:37px;animation:flower-turn 40s linear infinite}.forest-edition .brand-caption{color:#f9f9dfcc;border-color:#f6f8d84a;font-size:11px;letter-spacing:1.5px;padding-left:20px}.forest-edition .local-time{display:none}.forest-edition .header-tools{gap:10px}.forest-edition .header-tools .icon-button{width:40px;height:40px;background:#f9f9e8df;border:1px solid #fffbe88c;color:#5a7150;box-shadow:0 2px 12px #20311d09;backdrop-filter:blur(15px)}
.forest-edition .workspace{position:absolute;inset:94px 32px 24px;margin:0;max-width:none;padding:0;display:grid;grid-template-columns:115px minmax(300px,1fr) 288px;gap:30px;pointer-events:none}.forest-edition .workspace button,.forest-edition .workspace a,.forest-edition .workspace canvas,.forest-edition .workspace input{pointer-events:auto}.forest-edition .companions{padding:50px 0 0;display:flex;flex-direction:column;min-width:0;align-self:start;align-items:center;pointer-events:none}.forest-edition .companions>.section-kicker,.forest-edition .companions>h1,.forest-edition .sidebar-note{display:none}.forest-edition .character-list{display:flex;flex-direction:column;gap:20px;align-items:center;width:100%}.forest-edition .character-card{width:91px;background:transparent;border:0;box-shadow:none;overflow:visible;display:flex;flex-direction:column;align-items:center;transition:transform .25s}.forest-edition .character-card:hover{transform:translateY(-4px);filter:none}.forest-edition .character-card[aria-pressed=true]{border:0;box-shadow:none}.forest-edition .character-portrait{border-radius:50%;height:69px;width:69px;border:3px solid #fbfbe6bb;background:#e5e4d4;box-shadow:0 5px 14px #19362720;overflow:hidden;flex-shrink:0;position:relative;transition:border-color .25s,box-shadow .25s}.forest-edition .character-portrait img{width:170%;height:auto;left:-35%;top:-3%;mix-blend-mode:multiply}.forest-edition .character-card[data-character^=wakunyan] .character-portrait{background:#f7edce}.forest-edition .character-card[data-character^=wakunyan] .character-portrait img{width:129%;left:-15%;top:-1%}.forest-edition .character-card[aria-pressed=true] .character-portrait{border-color:#fff9ce;box-shadow:0 0 0 3px #73854cc7,0 7px 20px #1e42112a}.forest-edition .selected-mark{width:17px;height:17px;right:2px;top:4px;background:#6a8550}.forest-edition .character-number,.forest-edition .character-detail small,.forest-edition .character-detail>span{display:none}.forest-edition .character-detail{padding:9px 0 0;display:block;text-align:center;width:100%;color:#fefce8;text-shadow:0 2px 5px #15371d99}.forest-edition .character-detail strong{font-size:11px;font-weight:400}.forest-edition .character-card[aria-pressed=true] .character-detail strong{font-weight:500}.forest-edition .about-button{position:fixed;left:38px;bottom:25px;font-size:0;width:33px;height:33px;padding:0;background:#f9f9e4bc;border:1px solid #fff8d2b0;border-radius:50%;justify-content:center;color:#55714f}.forest-edition .about-button svg{height:16px;width:16px}
.forest-edition .playground{position:relative;max-height:none;height:100%;min-height:0;display:flex;align-items:center;z-index:3}.forest-edition .stage-heading{position:absolute;top:-17px;left:50%;transform:translateX(-50%);width:max-content;max-width:100%;text-align:center;padding:0;display:block;pointer-events:none}.forest-edition .stage-heading .section-kicker{display:none}.forest-edition .stage-heading h2{font-size:16px;font-weight:400;letter-spacing:4px;line-height:2;color:#455f3c;text-shadow:0 1px 6px #feffe3c9}.forest-edition .stage-heading h2 span{color:inherit}.forest-edition .stage-heading .icon-button{position:fixed;right:-35px;top:0;display:none}.forest-edition .world-slot{position:relative;width:100%;flex:1;min-height:240px;margin-top:10px;pointer-events:none}.forest-edition .world-slot>.world{height:100%;min-height:0;width:100%;overflow:visible;border:0;box-shadow:none;background:none!important;border-radius:0;isolation:auto;pointer-events:none}.forest-edition .scene-decoration,.forest-edition .world-topline,.forest-edition .world-bottomline{display:none}.forest-edition .model-wrap{height:100%;top:50%;max-height:800px;max-width:none;filter:drop-shadow(0 14px 10px #435a322b)}.forest-edition .world.closeup{overflow:hidden}.forest-edition .world.closeup .model-wrap{transform:translate(-50%,-24%) scale(1.65)}.forest-edition[data-character^=wakunyan] .model-wrap{height:94%;max-height:720px}.forest-edition[data-character^=wakunyan] .world.closeup .model-wrap{transform:translate(-50%,-21%) scale(1.6)}.forest-edition .model-wrap canvas{cursor:pointer}.forest-edition .loading,.forest-edition .load-error{inset:20% 10%;border-radius:50%;backdrop-filter:blur(9px);background:#f1f1d3a1;color:#526b3f;gap:12px;pointer-events:auto}.forest-edition .loading>span:last-child{color:#637557}.forest-edition .loading-flower{color:#7f914f;font-size:43px}.forest-edition .loading strong{font-size:13px}.forest-edition .load-error h3{font-size:17px}.forest-edition .load-error p{font-size:11px}.forest-edition .load-error{border-radius:24px}
.forest-edition .stage-actions{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;width:max-content;max-width:100%;background:#fafbe8e6;border:1px solid #fffde5d4;border-radius:60px;backdrop-filter:blur(20px);box-shadow:0 8px 32px #28422a1c;flex-shrink:0;pointer-events:auto}.forest-edition .stage-actions>button,.forest-edition .stage-actions .scene-dot{border:0;width:36px;height:36px;border-radius:50%;padding:0;box-shadow:none;display:flex;align-items:center;justify-content:center;background:transparent;font-size:0;color:#6e835b;transition:transform .18s,background .18s}.forest-edition .stage-actions>button:hover,.forest-edition .stage-actions .scene-dot:hover{transform:translateY(-3px);background:#e0e8cbb5;filter:none}.forest-edition .stage-actions>button>span:last-child:not([data-icon]){display:none}.forest-edition .stage-actions button svg{width:20px;height:20px}.forest-edition .stage-actions .pet-button{background:#e3ad8852;color:#b17a59;width:44px;height:44px;margin:-3px 1px -3px -3px}.forest-edition .stage-actions .pet-button:hover{background:#e8b29380}.forest-edition .stage-actions .pet-button svg{width:24px;height:24px}.forest-edition .tool-divider{border-color:#7d875d2b;height:20px;margin:0 1px}.forest-edition .scene-picker{margin:0;padding:0;gap:6px;border-left:1px solid #7d875d2b;padding-left:9px}.forest-edition .stage-actions .scene-dot[aria-pressed=true]{background:#dfe8ca;color:#516c3f}.forest-edition #forest-menu{background:#5f7950;color:#f8f9df;width:38px;height:38px;margin-left:2px}.forest-edition #forest-menu:hover{background:#4c663e}.forest-edition .speech-card{margin-top:14px;width:min(480px,100%);min-height:65px;max-height:124px;overflow-y:auto;padding:13px 14px;gap:10px;background:#fcfbeaeb;border:1px solid #fffeecd1;border-radius:19px;box-shadow:0 8px 25px #344d2a15;backdrop-filter:blur(18px);pointer-events:auto}.forest-edition .speech-avatar{width:31px;height:31px;background:#e6e7d6}.forest-edition .speaker-line{margin-bottom:3px}.forest-edition .speaker-line strong{font-size:10px}.forest-edition .speaker-line>span:not(.audio-wave){display:none}.forest-edition .speech-content p{font-size:11px;line-height:1.7;color:#5c6e51}.forest-edition .speech-card>.icon-button{width:25px;height:25px;color:#859172;margin-top:1px}.forest-edition .stage-footnote{display:none}.forest-edition .speech-content p[lang=ja]{font-size:9px;color:#7c8770}
.forest-edition .control-panel{align-self:center;position:relative;margin:0 0 35px;padding:18px 17px 0;min-height:0;width:288px;background:#fbfbece8;border:1px solid #ffffe8b0;border-radius:26px;backdrop-filter:blur(24px);box-shadow:0 15px 45px #213c2421;pointer-events:auto;transition:opacity .25s,transform .25s;z-index:9}.forest-edition .panel-intro{display:flex;align-items:center;gap:8px;margin-bottom:17px;position:relative}.forest-edition .panel-intro .eyebrow-pill{position:static;font-size:21px;line-height:1;border:0;padding:0;color:#899760;letter-spacing:0}.forest-edition .panel-intro h2{font-size:14px;letter-spacing:1px;margin:0;font-weight:400}.forest-edition .panel-intro p{display:none}.forest-edition #forest-panel-close{margin-left:auto;width:26px;height:26px;color:#91987e}.forest-edition #forest-panel-close svg{width:15px;height:15px}.forest-edition .control-tabs{background:#e7eddaac;padding:3px;margin-bottom:12px;border-radius:13px}.forest-edition .control-tabs>button{font-size:11px;gap:6px;padding:8px 3px;border-radius:10px}.forest-edition .control-tabs>button[aria-selected=true]{background:#ffffefa8;box-shadow:none}.forest-edition .control-tabs>button small{display:none}.forest-edition .control-tabs svg{width:17px;height:17px}.forest-edition .expression-grid{gap:7px}.forest-edition .expression-grid>button{height:64px;border:1px solid #88926426;border-radius:15px;background:#fffef240;font-size:9px;gap:7px;color:#778061}.forest-edition .expression-grid>button svg{width:27px;height:23px;transition:transform .25s}.forest-edition .expression-grid>button:hover svg{transform:rotate(-9deg) scale(1.15)}.forest-edition .expression-grid>button[aria-pressed=true]{background:#dfe8caa6;border-color:#879b6795;color:#566e40}.forest-edition .control-hint{display:none}.forest-edition .motion-grid{gap:6px}.forest-edition .motion-grid>button{font-size:10px;border-color:#88926426;border-radius:10px;padding:8px}.forest-edition .conversation-section{padding-top:14px;margin-top:16px;border-color:#7d8a5f26}.forest-edition .section-title{margin-bottom:10px}.forest-edition .section-title h3{font-size:11px;letter-spacing:.7px;font-weight:400;color:#748064}.forest-edition .section-title>span{font-size:8px;color:#969c86}.forest-edition .dialogue-grid{gap:6px}.forest-edition .dialogue-grid>button{padding:10px 8px;gap:6px;font-size:10px;background:#eaf0dca1;border-radius:12px;justify-content:center}.forest-edition .dialogue-grid>button svg{height:15px;width:15px}.forest-edition .demo-card{margin:13px 0 9px;padding:9px 11px;gap:9px;border-radius:13px;background:#dde7c98f}.forest-edition .demo-art{font-size:24px;color:#94a074}.forest-edition .demo-card strong{font-size:10px;font-weight:400}.forest-edition .demo-card .icon-button{height:28px;width:28px;background:#76915c}.forest-edition .demo-card .icon-button svg{width:12px;height:12px}.forest-edition .panel-footer{min-height:35px;color:#969d84;font-size:8px;border-color:#7d8a5f22}.forest-edition .panel-footer .quiet-button{padding:6px}.forest-edition .panel-footer .quiet-button svg{width:15px;height:15px}.forest-edition.panel-closed .control-panel{opacity:0;pointer-events:none;transform:translateX(15px);visibility:hidden}.forest-edition .site-footer{position:fixed;bottom:22px;right:34px;margin:0;padding:0;z-index:5;color:#f8fbe0bc;text-shadow:0 1px 3px #28442170;font-size:9px;letter-spacing:1px}.forest-edition .site-footer>span{display:none}.forest-edition #about-mobile{display:inline-block;font-size:10px;color:#fcfce1cc}
.forest-friend{position:fixed;z-index:4;transform:translate(-50%,-50%);border:0;background:transparent;border-radius:50%;cursor:pointer}.forest-friend>span{position:absolute;left:50%;top:-3px;transform:translateX(-50%);display:block;opacity:0;transition:opacity .2s,transform .2s;color:#ffffda;text-shadow:0 2px 4px #364d32;font-size:23px}.forest-friend:hover>span,.forest-friend:focus-visible>span{opacity:1;transform:translate(-50%,-10px)}.forest-friend:focus-visible{outline-color:#fbf1ba}.forest-particle{position:fixed;font-size:39px;color:#fbe5bd;text-shadow:0 2px 10px #5d552c73;z-index:25;opacity:0;pointer-events:none;transform:translate(-50%,-50%)}.forest-particle.active{animation:forest-heart 1.4s ease-out}.forest-edition #pip-return,.forest-edition #mobile-play{display:none!important}.forest-edition .toast{background:#3e573cdf;color:#fffde0;backdrop-filter:blur(20px);font-size:11px;border:1px solid #fcffe94d;bottom:28px}.forest-edition dialog{background:#f7f8eafa;border-color:#fffceacc;box-shadow:0 25px 90px #17351f55;backdrop-filter:blur(20px)}.forest-edition dialog::backdrop{background:#233b364d;backdrop-filter:blur(4px)}
.forest-edition[data-character^=wakunyan]{--accent:#927244;--accent-dark:#795e35;--accent-soft:#eeead7;--stage:transparent}.forest-edition[data-character^=wakunyan] .control-panel{background:#fcf9e7e8}.forest-edition[data-scene=night] .forest-painting{filter:brightness(.45) saturate(.55) hue-rotate(35deg)}.forest-edition[data-scene=night] .stage-heading h2{color:#fcfbe0;text-shadow:0 1px 10px #22373baa}.forest-edition[data-scene=night] .forest-vignette{background:linear-gradient(180deg,#132b4945,transparent 70%,#16253c35)}.forest-edition[data-scene=night] .model-wrap{filter:drop-shadow(0 10px 15px #20374944) brightness(.92)}.forest-edition[data-scene=garden] .forest-painting{filter:saturate(.8) hue-rotate(6deg)}
.forest-edition.focus-mode .workspace{inset:82px 15% 24px;display:flex;max-width:none;margin:0}.forest-edition.focus-mode .playground{height:100%;min-height:0;width:100%}.forest-edition.focus-mode .world-slot{min-height:180px}.forest-edition.focus-mode .stage-heading{display:none}.forest-edition.focus-mode .site-header{opacity:.65}.forest-edition.focus-mode #forest-menu{display:flex}.forest-edition.focus-mode .speech-card{max-width:440px}.forest-edition.focus-mode .stage-actions{margin-top:0}
@keyframes forest-heart{0%{opacity:0;transform:translate(-50%,0) scale(.5)}20%{opacity:1;transform:translate(-50%,-12px) scale(1)}100%{opacity:0;transform:translate(-50%,-100px) scale(1.25)}}@keyframes flower-turn{to{transform:rotate(360deg)}}
@media(min-width:1750px){.forest-edition .workspace{inset:100px 55px 38px;grid-template-columns:150px minmax(360px,1fr) 320px;gap:50px}.forest-edition .control-panel{width:320px;padding:22px 21px 0}.forest-edition .expression-grid>button{height:75px;font-size:10px}.forest-edition .expression-grid>button svg{width:30px;height:26px}.forest-edition .dialogue-grid>button{padding:12px 10px;font-size:11px}.forest-edition .character-portrait{width:80px;height:80px}.forest-edition .character-detail strong{font-size:12px}.forest-edition .stage-actions{gap:11px;padding:12px 18px}.forest-edition .stage-actions>button,.forest-edition .stage-actions .scene-dot{width:38px;height:38px}.forest-edition .speech-card{width:500px;padding:15px 16px}.forest-edition .speech-content p{font-size:12px}}
@media(max-width:1150px){.forest-edition .workspace{inset:87px 23px 25px;grid-template-columns:85px minmax(250px,1fr) 258px;gap:12px}.forest-edition .control-panel{width:258px;padding:17px 13px 0}.forest-edition .character-portrait{width:61px;height:61px}.forest-edition .stage-heading h2{font-size:13px;letter-spacing:2px}.forest-edition .stage-actions{gap:4px;padding:8px 9px}.forest-edition .stage-actions>button,.forest-edition .stage-actions .scene-dot{width:31px;height:31px}.forest-edition .stage-actions .pet-button{width:38px;height:38px}.forest-edition .scene-picker{gap:3px;padding-left:5px}.forest-edition #forest-menu{width:33px;height:33px}.forest-edition .expression-grid>button{height:61px}.forest-edition .speech-card{min-height:63px;padding:10px 11px;margin-top:10px}.forest-edition .speech-content p{font-size:10px}.forest-edition .site-header{margin:0 25px;height:77px}}
@media(max-width:850px){.forest-edition .workspace{grid-template-columns:75px minmax(235px,1fr) 230px;gap:8px;inset:90px 15px 22px}.forest-edition .control-panel{width:230px;padding:15px 12px 0}.forest-edition .expression-grid{gap:5px}.forest-edition .expression-grid>button{height:59px;font-size:8px}.forest-edition .expression-grid>button svg{width:24px;height:21px}.forest-edition .dialogue-grid>button{font-size:9px;padding:9px 5px;gap:4px}.forest-edition .world-slot{min-height:150px}.forest-edition .stage-actions{gap:3px;padding:7px}.forest-edition .stage-actions>button,.forest-edition .stage-actions .scene-dot{width:27px;height:30px}.forest-edition .scene-picker{gap:2px;padding-left:4px}.forest-edition .stage-actions button svg{width:18px;height:18px}.forest-edition .stage-actions .pet-button{width:33px;height:33px}.forest-edition #forest-menu{width:30px;height:30px}.forest-edition .speech-avatar{width:25px;height:25px}.forest-edition .speech-card{gap:8px}.forest-edition .companions{grid-column:auto;display:flex}.forest-edition .character-list{grid-column:auto;grid-row:auto}}
@media(max-width:740px){
 .forest-edition .site-header{height:72px;margin:0 19px;gap:14px}.forest-edition .brand{font-size:35px;gap:8px}.forest-edition .brand-mark{font-size:30px}.forest-edition .brand-caption{font-size:8px;padding-left:12px;letter-spacing:.8px}.forest-edition .header-tools{gap:7px}.forest-edition .header-tools .icon-button{height:32px;width:32px}.forest-edition .header-tools .icon-button svg{height:16px;width:16px}
 .forest-edition .workspace{inset:74px 13px max(25px,env(safe-area-inset-bottom));display:block}.forest-edition .companions{position:absolute;top:12px;left:0;padding:0;z-index:5;width:65px;align-items:center}.forest-edition .character-list{flex-direction:column;gap:14px}.forest-edition .character-card{width:62px;min-height:0;display:flex;flex-direction:column;gap:0}.forest-edition .character-portrait{width:49px;height:49px;border-width:2px}.forest-edition .character-detail{padding:7px 0 0}.forest-edition .character-detail strong{font-size:9px}.forest-edition .selected-mark{width:12px;height:12px;right:2px;top:3px}.forest-edition .selected-mark svg{height:8px;width:8px}.forest-edition .about-button{display:none}
 .forest-edition .playground{height:100%;min-height:0;max-height:none;align-items:center;width:100%;display:flex}.forest-edition .stage-heading{top:8px;left:59%;width:78%;max-width:78%;padding:0}.forest-edition .stage-heading h2{font-size:12px;letter-spacing:2px}.forest-edition .world-slot{height:auto;min-height:150px;flex:1;margin-top:40px;width:100%}.forest-edition .world-slot>.world{height:100%;min-height:0;overflow:visible;position:relative;inset:auto;width:100%;border:0;box-shadow:none}.forest-edition .model-wrap{height:84%;max-height:590px;top:48%}.forest-edition[data-character^=wakunyan] .model-wrap{height:79%;max-height:530px}.forest-edition .world.closeup{overflow:hidden}.forest-edition .world.closeup .model-wrap{transform:translate(-50%,-21%) scale(1.55)}.forest-edition[data-character^=wakunyan] .world.closeup .model-wrap{transform:translate(-50%,-20%) scale(1.45)}
 .forest-edition .stage-actions{gap:6px;padding:9px 11px;max-width:100%;z-index:12}.forest-edition .stage-actions>button,.forest-edition .stage-actions .scene-dot{width:29px;height:32px}.forest-edition .stage-actions button svg{width:19px;height:19px}.forest-edition .stage-actions .pet-button{width:38px;height:38px;margin-left:-2px}.forest-edition .stage-actions .pet-button svg{width:22px;height:22px}.forest-edition .scene-picker{gap:4px;padding-left:6px}.forest-edition .tool-divider{height:17px;margin:0}.forest-edition #forest-menu{width:34px;height:34px;margin-left:2px}.forest-edition .speech-card{width:calc(100% - 6px);margin-top:11px;min-height:60px;max-height:100px;padding:11px 12px;gap:9px;border-radius:17px;z-index:11}.forest-edition .speech-avatar{width:29px;height:29px}.forest-edition .speech-content p{font-size:10px}.forest-edition .speaker-line strong{font-size:9px}.forest-edition .speech-card>.icon-button{width:22px;height:22px}.forest-edition .loading{inset:25% 10%;backdrop-filter:blur(7px)}.forest-edition .load-error{inset:20% 5%;padding:20px}.forest-edition .site-footer{bottom:5px;right:18px;text-shadow:0 1px 5px #234a26;margin:0}.forest-edition #about-mobile{font-size:8px}
 .forest-edition .control-panel{position:fixed;right:12px;left:auto;top:auto;bottom:170px;width:236px;max-height:min(460px,calc(100svh - 245px));overflow-y:auto;border-radius:23px;padding:14px 13px 0;margin:0;z-index:14;box-shadow:0 12px 50px #213b314d;opacity:0;transform:translateY(18px) scale(.97);transform-origin:bottom right;visibility:hidden;pointer-events:none;transition:transform .25s,opacity .25s,visibility .25s;background:#fafbeaed}.forest-edition.mobile-panel-open .control-panel{opacity:1;visibility:visible;pointer-events:auto;transform:none}.forest-edition .panel-intro{margin-bottom:11px;gap:6px}.forest-edition .panel-intro h2{font-size:12px;letter-spacing:.5px}.forest-edition .panel-intro .eyebrow-pill{font-size:19px}.forest-edition #forest-panel-close{height:24px;width:24px}.forest-edition .control-tabs{margin-bottom:10px}.forest-edition .control-tabs>button{font-size:10px;padding:6px 2px}.forest-edition .expression-grid{gap:5px}.forest-edition .expression-grid>button{height:55px;font-size:8px;gap:5px;border-radius:12px}.forest-edition .expression-grid>button svg{height:22px;width:25px}.forest-edition .control-panel .motion-grid{grid-template-columns:1fr 1fr;gap:5px}.forest-edition .motion-grid>button{font-size:9px;padding:8px}.forest-edition .conversation-section{padding-top:11px;margin-top:12px}.forest-edition .section-title{margin-bottom:7px}.forest-edition .section-title h3{font-size:10px}.forest-edition .section-title>span{font-size:7px}.forest-edition .dialogue-grid{gap:5px}.forest-edition .dialogue-grid>button{font-size:9px;padding:9px 5px;gap:5px}.forest-edition .dialogue-grid>button svg{width:13px;height:13px}.forest-edition .demo-card{margin:11px 0 7px;padding:8px 9px}.forest-edition .demo-card strong{font-size:9px}.forest-edition .demo-card .icon-button{height:26px;width:26px}.forest-edition .panel-footer{font-size:7px;min-height:31px}
 .forest-edition.mobile-panel-open .model-wrap{transform:translate(-68%,-50%) scale(.83);transition:transform .35s}.forest-edition.mobile-panel-open .world.closeup .model-wrap{transform:translate(-65%,-23%) scale(1.12)}.forest-edition .world.pip{position:relative;inset:auto;width:100%;height:100%;border:0;box-shadow:none}.forest-edition .world.pip .model-wrap{height:84%;top:48%}
 .forest-edition.focus-mode .workspace{inset:73px 13px 24px;display:block;margin:0}.forest-edition.focus-mode .playground{height:100%;min-height:0}.forest-edition.focus-mode .world-slot{min-height:150px}.forest-edition.focus-mode .model-wrap{height:92%}
}
@media(max-width:380px){.forest-edition .brand-caption{display:none}.forest-edition .workspace{inset:69px 10px 24px}.forest-edition .stage-actions{gap:4px;padding:8px 9px}.forest-edition .scene-picker{gap:3px;padding-left:5px}.forest-edition .stage-actions>button,.forest-edition .stage-actions .scene-dot{width:28px}.forest-edition .control-panel{bottom:168px}.forest-edition .stage-heading h2{font-size:11px;letter-spacing:1.5px}}
@media(max-height:700px) and (min-width:741px){.forest-edition .workspace{inset:75px 20px 15px}.forest-edition .site-header{height:65px}.forest-edition .control-panel{transform:scale(.92);transform-origin:right center;margin-bottom:0}.forest-edition .world-slot{min-height:180px}.forest-edition .stage-heading{display:none}.forest-edition .speech-card{max-height:65px;margin-top:8px}.forest-edition .companions{padding-top:20px}}
.forest-edition .companions{position:relative;z-index:5}
@media(max-width:740px){.forest-edition .companions{position:absolute}.forest-edition .control-panel{width:calc(100% - 26px);left:13px;right:13px;max-height:min(325px,calc(100svh - 330px));bottom:169px}.forest-edition.mobile-panel-open .model-wrap{height:44%;top:13%;transform:translate(-50%,-35%)}.forest-edition[data-character^=wakunyan].mobile-panel-open .model-wrap{height:43%;top:12%}.forest-edition.mobile-panel-open .world.closeup .model-wrap{height:48%;top:14%;transform:translate(-50%,-30%)}.forest-edition .control-panel .expression-grid{grid-template-columns:repeat(4,1fr);gap:6px}.forest-edition .control-panel .expression-grid>button{height:52px}.forest-edition .panel-intro{margin-bottom:10px}.forest-edition .dialogue-grid{grid-template-columns:repeat(4,1fr)}.forest-edition .dialogue-grid>button{flex-direction:column;gap:5px;font-size:8px;padding:8px 4px}.forest-edition .demo-card{margin-top:10px}.forest-edition .conversation-section{padding-top:10px;margin-top:10px}.forest-edition .control-panel .motion-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:740px){.forest-edition .panel-intro{padding-right:69px}.forest-edition .panel-intro #forest-panel-close{position:absolute;right:0;top:-1px}.forest-edition .demo-card{position:absolute;right:45px;top:13px;margin:0;padding:0;background:transparent;overflow:visible}.forest-edition .demo-card .demo-art,.forest-edition .demo-card>div:not(.demo-progress){display:none}.forest-edition .demo-card .demo-progress{bottom:-5px}.forest-edition .panel-footer{position:absolute;right:80px;top:13px;border:0;margin:0;min-height:26px;height:26px;width:26px}.forest-edition .panel-footer .live-dot,.forest-edition #panel-status{display:none}.forest-edition .panel-footer .quiet-button{padding:5px}.forest-edition .conversation-section{padding-bottom:15px}}
.forest-edition .world-slot{overflow:hidden}
@media(prefers-reduced-motion:reduce){.forest-edition *, .forest-edition *:before,.forest-edition *:after{animation:none!important;transition:none!important}}

.forest-edition .character-card[data-character=wakunyan-v2] .character-portrait::after{content:"v2";position:absolute;bottom:1px;right:1px;padding:2px 5px;border-radius:8px;background:#846538;color:#fffbea;font:600 9px/1.2 sans-serif;box-shadow:0 1px 4px #253b3826}
.forest-edition .character-list{max-height:calc(100svh - 230px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;pointer-events:auto;padding:5px 0 10px}
.forest-edition .character-list::-webkit-scrollbar{display:none}
.forest-edition .character-card{flex-shrink:0}
.forest-edition .character-card[data-character^=lola] .character-portrait{background:#e6e8db}
.forest-edition .character-card[data-character^=lola] .character-portrait img{width:100%;left:0;top:0;mix-blend-mode:normal}
.forest-edition .character-card[data-character=lola-v2] .character-portrait::after{content:"v2";position:absolute;bottom:1px;right:1px;padding:2px 5px;border-radius:8px;background:#5c7369;color:#fffbea;font:600 9px/1.2 sans-serif}
@media(max-width:760px){.forest-edition .character-list{max-height:calc(100svh - 250px);gap:10px}}
@media(min-width:741px) and (max-height:540px){.forest-edition .control-panel{max-height:calc(100svh - 90px);overflow-y:auto;overscroll-behavior:contain;transform:none;align-self:start;margin-top:0}.forest-edition .character-list{max-height:calc(100svh - 155px)}}
@media(max-width:740px){.forest-edition[data-character=wakunyan-v2] .model-wrap{max-height:min(530px,calc(100vw + 20px))}}
/* Explicit renderer choice; retained on desktop and narrow screens. */
.engine-picker{display:flex;align-items:center;gap:5px;margin-left:auto;border:1px solid #7c96785c;border-radius:20px;background:#fffff3d9;padding:4px 9px;color:#36523e;pointer-events:auto}
.engine-picker select{font:inherit;font-size:12px;color:inherit;max-width:130px;border:0;background:transparent;cursor:pointer;padding:3px}
.engine-picker:focus-within{outline:2px solid #547257;outline-offset:3px}
@media(max-width:480px){.world-topline{gap:8px}.world-topline .scene-label{display:none}.engine-picker{padding:3px 6px}.engine-picker select{font-size:11px;max-width:110px}}

@media(max-width:480px){
 .forest-edition .site-header{margin:0 12px;gap:8px}
 .forest-edition .brand-caption{display:none}
 .forest-edition .brand{font-size:32px;gap:6px}
 .forest-edition .brand-mark{font-size:26px}
 .forest-edition .header-tools{gap:5px}
 .forest-edition .header-tools .icon-button{width:30px;height:32px}
 .forest-edition .engine-picker{padding:3px 5px;gap:0}
 .forest-edition .engine-picker>span{display:none}
 .forest-edition .engine-picker select{max-width:101px;font-size:11px}
}
