:root{font-family:Inter,Helvetica Neue,PingFang SC,Microsoft YaHei,sans-serif;color:#263d35;background:#eef1eb;font-synthesis:none;font-size:14px;--ink: #263d35;--muted: #839087;--line: #e2e6df;--green: #547460;--mint: #c4d7b8;--paper: #fafbf7;--sidebar: 320px}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent}button:focus-visible,select:focus-visible{outline:2px solid #659065;outline-offset:3px}button:disabled{opacity:.4;cursor:wait}button{min-height:44px}button:hover{color:#385c42}button:active{transform:translateY(1px)}[hidden]{display:none!important}.topbar{height:82px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:10;padding-top:env(safe-area-inset-top)}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-icon{width:39px;height:39px;background:#dbe8c9;border-radius:12px;display:grid;place-items:center;color:#406844}.brand-icon svg{width:24px;height:24px}.wordmark{font-family:Georgia,serif;font-size:35px;font-weight:700;font-style:italic;letter-spacing:-2px;line-height:1}.brand-dot{color:#688b51}.brand-subtitle{font-size:9px;line-height:1.55;letter-spacing:1.6px;border-left:1px solid #d9dfd7;padding-left:15px;margin-left:7px;color:#69796c;font-weight:600}.top-center{position:absolute;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:9px;font-size:12px;color:#657666}.live-dot,.pulse-dot{background:#77a46a;width:6px;height:6px;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #77a46a13}.header-metrics{display:flex;align-items:center;gap:22px}.time-metric{display:flex;align-items:center;gap:11px;font-variant-numeric:tabular-nums;font-size:13px}.metric-caption{font-size:10px;letter-spacing:.6px;color:#8b958a}.fps-metric{display:flex;gap:6px;align-items:baseline;padding-left:20px;border-left:1px solid var(--line)}#fps{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:12px}.icon-button:hover{background:#edf1e8}.console-toggle{display:none}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--sidebar);height:calc(100% - 82px)}.world-stage{position:relative;overflow:hidden;background:#a7c0b0}#world{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;touch-action:none;outline:none}.scene-heading{position:absolute;top:31px;left:32px;pointer-events:none;color:#1f3c33}.location-tag{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1px}.location-tag svg{width:16px;height:16px}.location-sep{height:9px;width:1px;background:#47614e70;margin:0 2px}.season{font-size:8px;letter-spacing:1.5px}.scene-heading h1{font-weight:500;font-size:30px;letter-spacing:2px;margin:20px 0 10px;text-shadow:0 1px 15px #ffffff65}.scene-heading p{font-size:12px;letter-spacing:2px;margin:0;color:#4d6657}.scene-weather{position:absolute;right:28px;top:32px;display:flex;align-items:center;gap:9px;color:#365342;font-size:12px;pointer-events:none}.sun-icon{font-size:25px;line-height:1}.weather-sep{opacity:.35;margin:0 5px}.weather-label{position:absolute;right:0;top:26px;font-size:9px;color:#647c68}.map-card{position:absolute;left:24px;bottom:55px;width:176px;border:1px solid #ffffff99;background:#f8fbefdc;box-shadow:0 4px 18px #23392a0d;border-radius:12px;overflow:hidden;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.map-caption{display:flex;justify-content:space-between;font-size:9px;padding:10px 12px 4px;color:#60705b;letter-spacing:1px}.map-caption span:last-child{font-size:10px;font-weight:600}#minimap{display:block;width:100%;height:130px}.map-legend{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;font-size:8px;letter-spacing:.5px;color:#7a8671;border-top:1px solid #d9e3d5}.map-legend>span:first-child{display:flex;gap:5px;align-items:center}.map-ai{width:5px;height:5px;background:#62865c;border-radius:50%}.scene-hint{position:absolute;right:25px;bottom:61px;display:flex;align-items:center;gap:7px;color:#f6fbef;font-size:10px;text-shadow:0 1px 3px #26403780;pointer-events:none}.mouse-mark{width:10px;height:14px;border:1px solid currentColor;border-radius:6px;display:block}.mouse-mark:before{content:"";display:block;width:1px;height:4px;background:currentColor;margin:2px auto}.world-toolbar{position:absolute;left:50%;transform:translate(-50%);bottom:55px;background:#fbfcf6e8;border:1px solid #ffffffc0;box-shadow:0 5px 30px #1f352623;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:6px;display:flex;align-items:center;gap:2px;border-radius:14px;white-space:nowrap}.tool-button{display:flex;gap:8px;align-items:center;justify-content:center;font-size:11px;min-height:41px;padding:0 14px;border-radius:9px}.tool-button:hover{background:#e9efe1}.tool-button svg{width:17px;height:17px}.pause-button{background:#e6eddf}.compact{width:42px;padding:0}.toolbar-separator{height:18px;width:1px;background:#d8dfd3;margin:0 5px}.world-footer{height:34px;position:absolute;bottom:0;width:100%;padding:0 25px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(transparent,#273e3820);color:#f1f7e9;font-size:8px;letter-spacing:1.5px;text-shadow:0 1px 2px #2b472d70;pointer-events:none}.world-footer b{font-weight:400;margin:0 7px;opacity:.7}.world-footer>span:last-child{letter-spacing:1px;font-size:9px}.console{background:var(--paper);border-left:1px solid #e1e7dc;overflow:auto;padding:23px 23px 18px;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:#d4ddcf transparent}.console-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:1.5px;color:#788775;margin-bottom:24px}.console-badge{font-size:8px;letter-spacing:1.2px;color:#7b956c;border:1px solid #d8e5cc;padding:3px 6px;border-radius:4px}.agent-card{display:flex;align-items:center;gap:12px;margin-bottom:22px}.agent-avatar{width:48px;height:48px;position:relative}.agent-avatar>svg{width:48px;height:48px;border-radius:14px}.agent-online{position:absolute;right:-2px;bottom:1px;width:10px;height:10px;border-radius:50%;background:#7e9d67;border:2px solid var(--paper)}.agent-name>div{font-size:17px;font-weight:650;letter-spacing:1.5px}.agent-name>div span{color:#a6b09e;font-weight:400;font-size:9px;vertical-align:top;margin-left:4px;letter-spacing:0}.agent-name p{font-size:10px;margin:5px 0 0;color:#87917f;letter-spacing:.7px}.agent-menu{margin-left:auto;color:#a3af9a;letter-spacing:2px;font-size:10px}.activity-card{padding:18px 17px 15px;background:#edf2e5;border:1px solid #e2ead8;border-radius:12px}.section-eyebrow{display:flex;align-items:center;gap:7px;color:#809270;font-size:9px;letter-spacing:1px}.pulse-dot{width:5px;height:5px;box-shadow:none}.activity-card h2{font-weight:550;font-size:20px;letter-spacing:.8px;margin:11px 0}.target-row{display:flex;gap:6px;align-items:center;color:#7d8b70;font-size:10px}.target-row svg{width:12px;height:12px}.reason-block{border-top:1px solid #dce5d2;margin-top:15px;padding-top:12px}.reason-block>span{font-size:9px;color:#8e9b82}.reason-block p{font-size:11px;line-height:1.8;color:#64745b;margin:6px 0 0}.curiosity-section{margin-top:24px}.section-title{display:flex;align-items:center;justify-content:space-between}.section-title h3{font-size:11px;letter-spacing:.6px;font-weight:550;margin:0}.section-note{font-size:8px;letter-spacing:1.2px;color:#9da691}.curiosity-value{display:flex;align-items:baseline;gap:6px;margin-top:11px}#curiosity{font-size:32px;font-weight:450;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.curiosity-unit{font-size:10px;color:#a4ad9c}.curiosity-spark{margin-left:auto;width:107px;height:30px;color:#8ca779;opacity:.8}.subtle-note{color:#9aa58f;font-size:9px;letter-spacing:.3px;margin:5px 0 0}.preferences-section{margin-top:24px}.preference-list{display:flex;flex-direction:column;gap:12px;margin-top:17px}.preference-row{display:flex;align-items:center;gap:13px;font-size:10px;color:#7e8a76}.preference-row>span:first-child{width:58px;flex-shrink:0}.preference-track{height:4px;border-radius:4px;background:#e8ece3;flex:1;overflow:hidden}.preference-track i{height:100%;background:#9eb38d;border-radius:4px;display:block;transition:width .8s}.preference-row:nth-child(2) .preference-track i{background:#9ab4b2}.preference-row:nth-child(3) .preference-track i{background:#c7b891}.preference-row:nth-child(4) .preference-track i{background:#b6b5cc}.preference-row strong{font-size:10px;min-width:25px;text-align:right;color:#8c9981;font-weight:400;font-variant-numeric:tabular-nums}.journal-section{margin-top:25px;flex:1;min-height:145px}.journal-tabs{display:flex;align-items:center;gap:19px;border-bottom:1px solid var(--line)}.journal-tabs button{font-size:11px;min-height:34px;padding:0 0 11px;color:#a5ad9c;position:relative;letter-spacing:.5px}.journal-tabs button.selected{color:#4e6744}.journal-tabs button.selected:after{content:"";position:absolute;height:2px;bottom:-1px;left:0;right:0;background:#7c986b}.entry-count{margin-left:auto;font-size:9px;color:#a5b09a;border:1px solid #e0e6d9;border-radius:4px;padding:2px 5px;margin-top:-10px}.journal-list{padding-top:14px;max-height:210px;overflow:auto;scrollbar-width:thin;font-size:10px;line-height:1.7;color:#7b8b72}.empty-state{font-size:10px;color:#a1ac96;padding:15px 0}.history-item,.log-entry,.history-row{margin:0 0 12px;padding-left:13px;border-left:1px solid #dae3d1;font-size:10px;line-height:1.8}.history-item time,.log-entry time,.history-row time{color:#a3af99;font-size:9px;display:block}.history-item strong,.history-row strong{color:#617455;font-weight:500}.memory-footer{border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.save-line{display:flex;gap:6px;align-items:center;font-size:9px;color:#a0ac95}.save-icon{width:5px;height:5px;background:#a4b794;border-radius:50%}.memory-actions{display:flex;justify-content:space-between;margin-top:5px}.memory-actions button{font-size:9px;display:flex;align-items:center;gap:6px;color:#8b9880;min-height:32px;padding:0}.memory-actions svg{width:12px;height:12px}.settings-panel{position:absolute;z-index:30;right:22px;top:72px;width:320px;background:#fafbf8;border:1px solid #e2e8dc;border-radius:17px;padding:19px 23px;box-shadow:0 18px 60px #253b3433}.settings-heading{display:flex;align-items:center;justify-content:space-between}.settings-heading h2{font-size:17px;font-weight:550;margin:0}.settings-panel>p{font-size:11px;line-height:1.7;color:#8b9782}.setting-row{display:flex;align-items:center;justify-content:space-between;min-height:53px;font-size:12px;border-bottom:1px solid #e8ede3}.setting-row select{border:1px solid #e0e7d9;border-radius:7px;background:#f0f4ea;color:#5c7153;padding:8px 27px 8px 11px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%237d8d71'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;min-height:42px}.setting-row input{accent-color:#7a9568;width:19px;height:19px}.setting-row output{font-size:11px;color:#7c8c71}.settings-note{font-size:10px;line-height:1.8;color:#8c9980;margin-top:17px}.loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e5ecdff5;color:#46633c;z-index:20}.loading-emblem{width:64px;height:64px;background:#d1dfc4;border-radius:20px;display:grid;place-items:center;margin-bottom:8px}.loading-emblem svg{width:32px;height:32px}.loading-overlay h2{font-size:22px;letter-spacing:2px;font-weight:500}.loading-overlay p{font-size:12px;color:#8d9c81}.loading-line{margin-top:20px;width:140px;height:3px;background:linear-gradient(90deg,#bdcfab,#6d8f5d,#bdcfab);background-size:200% 100%;border-radius:5px;animation:loading 1.5s infinite}@keyframes loading{to{background-position:-200% 0}}#toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);max-width:min(90vw,520px);background:#263e35ed;color:#f6f8ee;z-index:50;border-radius:11px;padding:13px 19px;font-size:12px;box-shadow:0 5px 30px #263e3525;line-height:1.7;pointer-events:none}.joystick{display:none;position:absolute;bottom:70px;left:30px;width:112px;height:112px;border-radius:50%;border:1px solid #ffffff90;background:#fafdf229;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);touch-action:none;box-shadow:inset 0 0 20px #fff2}.joystick-cross{position:absolute;background:#ffffff35}.joystick-cross.horizontal{top:55px;left:12px;right:12px;height:1px}.joystick-cross.vertical{left:55px;top:12px;bottom:12px;width:1px}#joystick-knob{position:absolute;left:35px;top:35px;width:40px;height:40px;border-radius:50%;background:#f5f9ebaf;border:1px solid #ffffffc0;box-shadow:0 3px 12px #243f3a22}.interaction-button{position:absolute;right:25px;bottom:125px;border:1px solid #eef6e9a0;background:#f4f8ede8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:0 20px;border-radius:14px;box-shadow:0 5px 20px #25423820;font-size:12px;min-height:48px}.manual .joystick{display:block}.manual .map-card{display:none}.manual #mode{background:#dfeacf;color:#4a6b39}.manual .scene-hint{display:none}@media(min-width:1500px){:root{--sidebar: 350px}.console{padding-left:28px;padding-right:28px}.scene-heading{top:42px;left:42px}.scene-heading h1{font-size:38px}.console-heading{margin-bottom:29px}.activity-card{padding:21px}.curiosity-section,.preferences-section{margin-top:29px}.journal-section{margin-top:30px}.preference-list{gap:16px}}@media(max-width:1150px){:root{--sidebar: 290px}.topbar{padding-left:20px;padding-right:14px}.brand-subtitle{font-size:8px;letter-spacing:1px;padding-left:10px}.top-center{font-size:10px}.header-metrics{gap:12px}.console{padding:20px 19px}.scene-heading h1{font-size:26px}.scene-heading{left:24px}.scene-weather{right:20px;top:34px}.world-toolbar{left:auto;right:18px;transform:none}.scene-hint{bottom:115px}.map-card{left:19px;width:150px}#minimap{height:112px}.world-footer{font-size:7px;padding:0 20px}.world-footer>span:last-child{display:none}.tool-button{padding:0 10px;font-size:10px}.compact{width:35px;padding:0}}@media(max-width:900px){.brand-subtitle{display:none}.top-center{left:43%}.time-metric .metric-caption{display:none}.scene-heading h1{font-size:24px;letter-spacing:1px}.scene-weather{display:none}.map-card{width:125px}.map-caption{font-size:8px;padding:8px}#minimap{height:96px}.map-legend{font-size:7px;padding:6px}.world-toolbar{right:13px;padding:4px}.tool-button{padding:0 8px;gap:5px}.toolbar-separator{margin:0 2px}.compact{width:30px;padding:0}.scene-hint{right:15px}}@media(max-width:700px){:root{--sidebar: 300px}.topbar{height:68px;padding:0 12px}.brand{gap:8px}.brand-icon{width:32px;height:32px;border-radius:10px}.brand-icon svg{width:20px;height:20px}.wordmark{font-size:29px}.top-center{display:none}.header-metrics{gap:6px}.time-metric{font-size:11px}.fps-metric{padding-left:11px;margin-left:5px}#fps{font-size:15px}.icon-button{width:40px;height:44px}.console-toggle{display:grid}.game-layout{display:block;height:calc(100% - 68px)}.world-stage{height:100%}.console{position:absolute;z-index:15;right:0;top:68px;bottom:0;width:min(320px,88vw);transform:translate(100%);transition:transform .25s;box-shadow:-10px 0 30px #273e3422;padding:22px}.console-open .console{transform:translate(0)}.scene-heading{top:25px;left:23px}.scene-heading h1{font-size:26px;margin-top:17px}.scene-heading p{font-size:11px}.scene-weather{display:none}.world-toolbar{bottom:max(58px,calc(env(safe-area-inset-bottom) + 45px));left:50%;right:auto;transform:translate(-50%);padding:6px}.tool-button{font-size:11px;min-height:44px;padding:0 11px}.compact{width:40px;padding:0}.map-card{bottom:132px;width:125px;left:18px}.scene-hint{bottom:132px;font-size:9px}.world-footer{height:35px;padding-bottom:env(safe-area-inset-bottom)}.manual .joystick{bottom:140px;left:24px}.interaction-button{bottom:155px;right:23px}.settings-panel{right:12px;top:62px;width:min(320px,calc(100vw - 24px))}#toast{bottom:115px;font-size:11px}.scene-hint{display:none}.journal-list{max-height:230px}}@media(max-height:760px)and (min-width:701px){.topbar{height:68px}.game-layout{height:calc(100% - 68px)}.console{padding-top:17px}.console-heading{margin-bottom:17px}.agent-card{margin-bottom:16px}.activity-card{padding:13px 15px}.activity-card h2{font-size:18px;margin-top:8px}.reason-block{margin-top:10px;padding-top:9px}.curiosity-section,.preferences-section{margin-top:18px}.preference-list{gap:10px;margin-top:12px}.journal-section{margin-top:18px}.memory-footer{margin-top:15px}#curiosity{font-size:27px}.scene-heading{top:25px}.scene-heading h1{margin-top:15px}}.console-heading,.section-title h3,.journal-tabs button,.preference-row,.target-row,.tool-button,.setting-row{font-size:14px}.reason-block p{font-size:13px}.section-eyebrow,.reason-block>span,.section-note,.agent-name p,.save-line,.memory-actions button,.subtle-note,.empty-state,.settings-note,.settings-panel>p,.location-tag,.scene-heading p,.top-center{font-size:12px}.preference-row>span:first-child{width:63px}.preference-row{gap:8px}.preference-row strong,.journal-list,.history-item,.log-entry,.history-row{font-size:12px}.history-item time,.log-entry time,.history-row time{font-size:11px}.memory-actions button{min-height:44px}.console-heading{letter-spacing:1px}.section-note{letter-spacing:.2px}.journal-tabs{gap:18px}.journal-tabs button{min-height:44px}.scene-heading p{letter-spacing:1px}.tool-button{font-size:12px}.setting-row{min-height:56px}.settings-note{line-height:1.8}.activity-card h2{font-size:21px}.scene-weather{font-size:13px}.top-center{font-size:12px}@media(max-width:1150px)and (min-width:701px){.top-center{left:45%;font-size:11px}.tool-button{font-size:11px}.preference-row,.console-heading{font-size:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
