@charset "UTF-8";
@media(min-width:901px){.lesson-footer{padding-right:220px}}
:root{font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#253e37;background:#f4f2e9;font-synthesis:none;--green:#254d44;--olive:#708264;--cream:#fbfaf5;--orange:#cd8652;--line:#dedfd2;--muted:#7b867b}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fffdf8;color:var(--green);border-radius:10px;padding:10px 15px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#e8eddf;transform:translateY(-1px)}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c5a167;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--green);color:white;border-color:var(--green);font-weight:600}button.primary:hover{background:#356254}button.quiet{background:transparent;border:0;font-size:13px}.icon-button{border:0;background:transparent;font-size:25px;padding:3px 10px;line-height:1.4}.text-button{background:transparent;border:0;padding:6px;font-size:12px}.topbar{height:88px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fbfaf6}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--green);font-size:20px;font-weight:700;letter-spacing:1px}.brand small{display:block;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:2px;margin-top:6px}.brand-stamp{display:grid;place-items:center;width:43px;height:43px;background:var(--green);color:#f4ead3;border-radius:12px 4px 12px 4px;font-family:serif;font-size:29px}.header-actions{display:flex;align-items:center;gap:10px}.save-status{font-size:11px;color:var(--muted);margin-right:6px}.layout{display:grid;grid-template-columns:208px 1fr;min-height:calc(100vh - 88px)}.scene-rail{border-right:1px solid var(--line);padding:38px 20px;display:flex;flex-direction:column}.rail-caption{font-size:10px;letter-spacing:3px;color:#8c947f;margin:0 0 28px 10px}.scene-button{border:1px solid transparent;display:flex;text-align:left;gap:11px;padding:17px 12px;align-items:center;background:transparent;position:relative}.scene-button.active{background:#e3e9db;border-color:#d2dcc6}.scene-number{font-family:Georgia,serif;font-size:21px;color:#819176}.scene-button.active .scene-number{color:#365644}.scene-button strong{display:block;font-size:13px}.scene-button small{font-size:10px;color:var(--muted);display:block;margin-top:6px}.scene-button i{margin-left:auto;font-style:normal;opacity:0}.scene-button.active i{opacity:1}.rail-connector{height:28px;border-left:1px dashed #cbd3c1;margin-left:26px}.rail-bottom{margin-top:auto;padding:60px 10px 0}.rail-bottom p{font-size:11px;line-height:1.9;color:var(--muted)}.tiny-seal{display:grid;place-items:center;width:28px;height:28px;font-family:serif;border:1px solid #acb396;border-radius:5px;color:#82916e}.classroom{padding:32px 34px 28px;min-width:0}.scene-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8a937d}.scene-heading h1{font-family:"Noto Serif SC","Songti SC",SimSun,serif;font-size:30px;font-weight:600;letter-spacing:3px;margin:8px 0 0}.scene-progress{display:flex;flex-direction:column;align-items:end;gap:5px}.scene-progress span{font:24px Georgia,serif;color:#6a8169}.scene-progress small{font-size:10px;color:#959a8a}.learning-space{display:grid;grid-template-columns:minmax(280px,1fr) 360px;gap:20px;min-height:460px;height:min(58vh,590px)}.world-frame{position:relative;border-radius:19px;overflow:hidden;background:linear-gradient(#d7e8da,#e4e8ca);border:1px solid #d6dfcd;min-height:430px}#world{height:100%;width:100%;touch-action:none}#world>canvas{display:block;width:100%;height:100%}.world-badge{position:absolute;top:18px;left:18px;display:flex;align-items:center;gap:7px;padding:8px 13px;background:#ffffffe6;backdrop-filter:blur(12px);border-radius:30px;font-size:10px;letter-spacing:1px}.live-dot{width:6px;height:6px;background:#748b5e;border-radius:50%}.world-bottom{position:absolute;bottom:15px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;color:#476753;font-size:10px;pointer-events:none}.glass-button{pointer-events:auto;background:#ffffffe0;padding:7px 10px;font-size:10px;border:0}.world-loading{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;background:#e5eadb;z-index:3;font-size:12px;color:#677e66}.loader{width:32px;height:32px;border:2px solid #c4d0b8;border-top-color:#3b634c;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.task-panel{background:var(--cream);border:1px solid var(--line);border-radius:18px;padding:25px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c6ceb9 transparent}.task-panel h2{font-size:23px;line-height:1.5;font-weight:600;margin:10px 0 13px}.task-panel p{font-size:12px;line-height:1.9;color:#728070;margin:10px 0}.task-panel .task-tag{font-size:10px;font-weight:600;letter-spacing:1.8px;color:#b0804a}.task-panel .teacher-prompt{color:#3c594d;border-left:2px solid #bdcbaa;padding-left:12px;font-size:12px;margin:19px 0}.task-panel .wide{width:100%;margin-top:12px}.video-thumb{position:relative;border-radius:12px;overflow:hidden;margin-top:20px;display:block;border:0;padding:0;width:100%;aspect-ratio:16/9;background:#dae3ce}.video-thumb img{width:100%;height:100%;object-fit:cover}.video-thumb .play-circle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:43px;height:43px;display:grid;place-items:center;background:#fffdf4e6;border-radius:50%;font-size:15px;color:#426145}.video-thumb .duration{position:absolute;bottom:9px;right:10px;background:#172b2dcc;color:white;border-radius:4px;padding:3px 5px;font-size:9px}.step-nav{display:flex;gap:8px;margin:20px 0;overflow:auto;scrollbar-width:none}.step-button{flex:1;white-space:nowrap;padding:13px 10px;background:transparent;font-size:11px;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:8px}.step-button .step-dot{font:11px Georgia,serif;width:23px;height:23px;border:1px solid #d1d7c3;display:grid;place-items:center;border-radius:50%;color:#879275}.step-button.active{background:#e7ebdf;border-color:#d4ddc7}.step-button.active .step-dot{background:var(--green);color:white;border-color:var(--green)}.step-button.done .step-dot{background:#cfddc5;color:#3d6649}.lesson-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;gap:16px}.lesson-footer>span{font-size:11px;color:var(--muted)}.lesson-footer button{padding:12px 24px;min-width:135px;font-size:12px}.lesson-footer button span{margin-left:20px}.chat-fab{position:fixed;bottom:22px;right:27px;display:flex;align-items:center;gap:13px;background:#254d44;color:white;border:1px solid #6e8773;box-shadow:0 8px 26px #29473326;border-radius:15px;padding:12px 15px;font-size:12px;z-index:9}.chat-fab:hover:not(:disabled){background:#366358}.chat-fab small{display:block;font-size:9px;color:#cbdec6;margin-top:4px}.assistant-symbol{width:32px;height:32px;display:grid;place-items:center;background:#dbe6cf;color:#3c674d;font-size:24px;border-radius:10px}.chat-panel{position:fixed;right:22px;bottom:22px;width:370px;height:min(620px,calc(100vh - 118px));z-index:30;background:#fcfbf7;border:1px solid #d3dacb;border-radius:19px;box-shadow:0 18px 70px #243c3b30;display:flex;flex-direction:column;overflow:hidden}.chat-panel[hidden]{display:none}.chat-header{display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.chat-header strong{font-size:14px}.chat-header small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.chat-header button{margin-left:auto}.chat-messages{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:15px}.chat-message{max-width:96%;font-size:12px;line-height:1.8;background:#e9eddf;border-radius:12px 12px 12px 3px;padding:12px 14px;white-space:pre-wrap;word-break:break-word}.chat-message.user{align-self:end;background:#31594d;color:white;border-radius:12px 12px 3px 12px}.chat-message small{display:block;color:#87917d;font-size:9px;margin-top:6px}.chat-message button{font-size:10px;padding:3px 7px;margin-top:7px}.chat-suggestions{display:flex;flex-wrap:wrap;gap:5px;padding:5px 14px 9px}.chat-suggestions button{font-size:10px;padding:6px 9px;background:#f5f5ed}#chat-form{margin:0 14px;position:relative}#chat-input{width:100%;resize:none;padding:12px 47px 12px 12px;border:1px solid #d4daca;border-radius:12px;background:white;font-size:12px;line-height:1.6;color:var(--green)}#chat-send{position:absolute;right:7px;bottom:11px;background:var(--green);color:white;width:31px;height:31px;padding:0;font-size:20px}.chat-note{font-size:9px;color:#919783;text-align:center;padding:9px}.muted{font-size:11px;color:var(--muted)}dialog{border:1px solid #d0d9c7;border-radius:19px;background:#fbfaf5;color:var(--green);max-width:calc(100vw - 36px);max-height:calc(100dvh - 48px);box-shadow:0 25px 90px #122d3650;padding:26px}dialog::backdrop{background:#1b302d88;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.dialog-heading h2{margin:4px 0;font-size:23px}.media-dialog{width:880px}.media-dialog video{width:100%;max-height:65vh;background:#121e1b;border-radius:12px}.media-dialog p{font-size:12px;color:var(--muted);line-height:1.6}.comic-dialog{width:990px}.comic-controls{display:flex;gap:7px;align-items:center;margin-bottom:12px}.comic-controls span{font-size:11px;color:var(--muted);margin-right:auto}.comic-controls button{padding:6px 10px;font-size:11px}.comic-stage{position:relative;max-width:740px;margin:auto;background:white;border-radius:10px;overflow:hidden}.comic-stage img{display:block;width:100%;height:auto}.comic-stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.comic-stage #comic-reference-overlay{position:absolute;inset:0;pointer-events:none}.reference-ring{position:absolute;border:4px dashed #f1a844;border-radius:50%;transform:rotate(-7deg)}textarea{color:var(--green);border:1px solid #d5dacb;border-radius:8px;padding:10px;background:white;line-height:1.8;resize:vertical}#comic-reason{width:100%;font-size:12px}.field-label{display:block;font-size:11px;color:#62715c;margin:14px 0 7px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.dialog-footer span{font-size:10px;color:var(--muted)}.host-dialog{border:0;background:transparent;box-shadow:none;overflow:visible;max-width:1000px;width:90vw;padding:0;align-items:end;gap:20px;grid-template-columns:34% 1fr}.host-dialog[open]{display:grid}.host-character{height:min(65vh,660px);display:flex;align-items:end;justify-content:center}.host-character canvas{object-fit:contain;max-height:100%;width:auto;max-width:100%;filter:drop-shadow(0 12px 18px #0002);animation:breathe 4s ease-in-out infinite}@keyframes breathe{50%{transform:translateY(-5px)}}.host-bubble{background:#fffcf2;border-radius:22px;padding:30px;margin-bottom:60px;box-shadow:0 15px 45px #142c2830}.host-bubble h2{font-family:serif;font-size:25px;margin:12px 0 18px}.host-bubble p{font-size:17px;line-height:1.95;margin-bottom:25px}.host-progress{height:4px;border-radius:4px;background:#e2e7d7;overflow:hidden}.host-progress i{display:block;width:0;height:100%;background:#678862;transition:width .2s}.host-controls{display:flex;align-items:center;gap:14px;margin-top:15px;font-size:11px;color:var(--muted)}.host-controls button{font-size:11px}.host-controls .text-button{margin-left:auto}.teacher-dialog{width:540px;line-height:1.9}.teacher-dialog p{font-size:12px}.teacher-dialog h3{font-size:14px}.teacher-dialog hr{border:0;border-top:1px solid var(--line);margin:22px 0}.host-status-row{display:flex;justify-content:space-between;font-size:11px;padding:8px 0;border-bottom:1px solid #e9eade}.host-status-row span:last-child{color:#82916a}.toggle-row{display:flex;align-items:center;gap:9px;font-size:12px}.danger-button{border-color:#d9b9a7;color:#99532e;background:#fff6ed}.confirm-inline{background:#f1e9d9;padding:12px;margin-top:15px;border-radius:10px}.confirm-inline button{font-size:11px}.global-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(80px);background:#243f36;color:white;border-radius:10px;padding:13px 22px;font-size:12px;z-index:60;transition:transform .2s;max-width:80vw;text-align:center}.global-toast.show{transform:translateX(-50%) translateY(0)}.scene-toast{position:absolute;bottom:60px;left:18px;right:18px;pointer-events:none;text-align:center;font-size:12px}.scene-toast:not(:empty){padding:12px;border-radius:10px;background:#fbfaf0e8}.question-list{margin:18px 0;display:grid;gap:11px}.question-item{padding:14px;background:#edf0e4;border-radius:11px;font-size:12px;line-height:1.8}.question-item strong{font-size:10px;color:#8b9b76;display:block;margin-bottom:4px}.row-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.row-buttons button{font-size:11px;flex:1}.task-image{width:100%;border-radius:10px;margin-top:12px}.mini-comic{cursor:pointer}.tip-line{font-size:10px!important;color:#8e957e!important}.role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.role-item{background:#edf0e5;border-radius:10px;padding:12px;font-size:11px}.role-item b{font-size:16px;margin-right:5px}.role-item small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.lab-steps{display:flex;gap:3px;margin:14px 0}.lab-step{flex:1;text-align:center;font-size:10px;padding:8px 0;border-bottom:3px solid #dce2d0;color:#8a967d}.lab-step.active{border-color:#647f56;color:#3f6248}.lab-step.done{border-color:#abc098}.water-status{font-size:13px;padding:15px 13px;border-radius:10px;background:#e6edde;margin:16px 0;color:#526d4e}.water-status.balanced{background:#dcebd4;color:#375f30}.water-status.over{background:#f2e4d4;color:#956746}.lab-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.lab-actions button{font-size:11px;padding:11px 6px}.lab-actions .span-2{grid-column:span 2}.record-field{width:100%;font-size:11px;margin-bottom:5px}.conclusion{margin:15px 0;padding:14px;border-radius:10px;background:#e8edde}.conclusion b{font-size:14px;display:block;margin-top:6px}.conclusion span{font-size:10px;color:#809471}.conclusion p{font-size:11px;margin-bottom:0}.select-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.select-row label{font-size:10px;color:#7c8874}.select-row select{display:block;width:100%;border:1px solid #d7ddcb;border-radius:7px;margin-top:7px;background:white;color:var(--green);font-size:12px;padding:8px 7px}.transfer-summary{font-size:11px;margin:12px 0;color:#728362}.relation-line{font-family:Georgia,serif;display:flex;align-items:center;justify-content:center;gap:12px;font-size:34px;background:#edf0e4;padding:15px;border-radius:10px;margin:10px 0}.relation-line small{font-family:inherit;font-size:20px;color:#90a07c}.challenge-answer{display:flex;gap:8px;margin-top:12px}.challenge-answer button{flex:1;font-size:12px}.challenge-feedback{font-size:12px;line-height:1.8;padding:10px 0;color:#65834f}.fruit-equation{background:#edf0e4;border-radius:10px;padding:14px;font-size:19px;text-align:center;margin:10px 0}.fruit-picker{display:flex;align-items:center;justify-content:center;gap:20px;margin:15px 0}.fruit-picker strong{font-size:28px;min-width:30px;text-align:center}.video-list{display:grid;gap:12px}.video-list button{display:flex;text-align:left;align-items:center;gap:13px;padding:9px;border-radius:12px}.video-list img{width:80px;aspect-ratio:16/10;object-fit:cover;border-radius:7px}.video-list strong{display:block;font-size:11px}.video-list small{display:block;font-size:9px;color:var(--muted);margin-top:7px}.completed-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:32px;background:#e1ebd7;margin:20px auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(min-width:1650px){.classroom{padding-left:50px;padding-right:50px}.learning-space{grid-template-columns:minmax(0,1fr) 400px}.task-panel{padding:32px}.task-panel h2{font-size:27px}.task-panel p{font-size:14px}.task-panel button{font-size:13px}.scene-rail{padding-top:48px}}@media(max-width:1180px){.layout{grid-template-columns:165px 1fr}.scene-rail{padding:32px 10px}.scene-button{padding:15px 9px;gap:8px}.scene-button strong{font-size:11px}.scene-button small{font-size:9px}.scene-button i{display:none}.classroom{padding:26px 22px}.learning-space{grid-template-columns:minmax(240px,1fr) 315px;gap:14px}.task-panel{padding:20px}.topbar{padding:0 25px}.save-status{display:none}.brand{font-size:18px}}@media(max-width:900px){.layout{grid-template-columns:1fr}.scene-rail{flex-direction:row;padding:12px 22px;border-right:0;border-bottom:1px solid var(--line);gap:8px}.rail-caption,.rail-connector,.rail-bottom{display:none}.scene-button{flex:1;justify-content:center;padding:10px}.scene-button small{display:none}.scene-number{font-size:17px}.classroom{padding:22px}.learning-space{height:500px;grid-template-columns:1fr 320px}.scene-heading h1{font-size:26px}.header-actions{gap:2px}.topbar{height:78px}.host-bubble p{font-size:14px}.host-bubble{padding:22px}.host-dialog{gap:8px}.host-character{height:52vh}}@media(max-width:680px){.topbar{padding:0 15px;height:73px}.brand{font-size:15px;gap:8px;letter-spacing:0}.brand-stamp{width:34px;height:36px;font-size:24px}.brand small{font-size:8px;letter-spacing:0}.header-actions .quiet span{display:none}.header-actions .quiet{font-size:11px;padding:6px}.scene-rail{padding:10px;gap:4px}.scene-button{gap:6px;padding:9px 6px}.scene-button strong{font-size:10px}.scene-number{font-size:15px}.classroom{padding:20px 15px 95px}.scene-heading{margin-bottom:16px}.learning-space{display:flex;flex-direction:column;height:auto;gap:14px}.world-frame{height:310px;min-height:310px}.task-panel{max-height:none;padding:21px}.task-panel .video-thumb{max-width:340px;margin-left:auto;margin-right:auto}.task-panel h2{font-size:21px}.step-nav{gap:3px;margin:14px 0}.step-button{padding:10px 8px;font-size:10px;gap:5px}.step-button .step-dot{width:20px;height:20px}.lesson-footer{align-items:flex-start}.lesson-footer>span{max-width:50%;line-height:1.8;font-size:10px}.lesson-footer button{min-width:115px;padding:10px 14px}.chat-fab{bottom:15px;right:15px;padding:10px 13px}.chat-panel{right:10px;bottom:10px;width:calc(100vw - 20px);height:calc(100dvh - 90px)}.host-dialog{grid-template-columns:1fr;gap:0;width:95vw;max-height:95dvh;overflow:auto}.host-character{height:220px;margin-bottom:-15px;z-index:1}.host-bubble{margin:0;padding:20px;z-index:2}.host-bubble h2{font-size:20px;margin:8px 0}.host-bubble p{font-size:13px;line-height:1.8;margin:10px 0 15px}.host-character canvas{height:100%;width:auto}.comic-controls{flex-wrap:wrap}.comic-controls span{width:100%}.dialog-heading h2{font-size:18px}dialog{padding:18px}.dialog-footer{align-items:flex-start}.scene-progress span{font-size:20px}.scene-heading .eyebrow{font-size:9px}.global-toast{bottom:85px}.relation-line{font-size:30px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* The lesson is built around an image panorama; tasks sit over its right edge. */
@media(min-width:901px){.layout{grid-template-columns:182px 1fr}.scene-rail{padding:34px 14px}.classroom{padding:26px}.scene-heading{margin-bottom:18px}}
.learning-space{display:block;position:relative;height:clamp(560px,68vh,770px);min-height:560px}
.world-frame{position:absolute;inset:0;min-height:0;border-radius:19px;background:#b5c6b6}
.world-badge{background:#fbfcf2ed;color:#365548;padding:9px 13px;z-index:2;gap:8px;max-width:calc(100% - 180px)}
.panorama-badge{padding-left:8px;border-left:1px solid #cbd7c2;font-size:10px;font-weight:600;white-space:nowrap}
.panorama-toggle{position:absolute;top:17px;right:18px;z-index:4;font-size:11px;background:#fbfcf2ed;box-shadow:0 2px 15px #243a2920;backdrop-filter:blur(10px);padding:9px 13px}
.learning-space>.task-panel{position:absolute;z-index:2;right:18px;top:67px;bottom:64px;width:340px;padding:24px;background:#fbfaf4f2;backdrop-filter:blur(14px);box-shadow:0 10px 40px #213b3020;border-color:#ffffffb3;border-radius:15px}
.world-bottom{bottom:16px;left:18px;right:18px;z-index:2;gap:12px}
.panorama-help{color:#345a4c;background:#fbfcf2ed;padding:8px 12px;border-radius:9px;font-size:10px;line-height:1.6;backdrop-filter:blur(8px)}
.world-bottom .glass-button{white-space:nowrap;color:#345a4c;background:#fbfcf2ed;padding:9px 12px;font-size:11px}
.scene-toast{bottom:67px;right:376px;z-index:2}
.lab-diagram{margin:14px -8px 8px}.lab-diagram svg{display:block;width:100%;height:auto;border:1px solid #d9e1d1;border-radius:12px}.lab-diagram figcaption{font-size:9px;color:#7e8e79;text-align:center;line-height:1.7;margin-top:6px}
body.viewing-panorama{overflow:hidden}
.learning-space.panorama-expanded{position:fixed;inset:12px;height:auto;min-height:0;z-index:40;box-shadow:0 0 0 30px #1b302d}
.panorama-expanded .world-frame{border-radius:14px}
.panorama-expanded .world-badge{top:21px;left:22px}
.panorama-expanded .panorama-toggle{top:20px;right:22px;font-size:13px;padding:11px 18px}
.panorama-expanded .world-bottom{left:22px;right:22px;bottom:22px}
.panorama-expanded .scene-toast{right:18px;bottom:126px}
.panorama-scene-nav{position:absolute;bottom:73px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:8px;padding:7px;border-radius:14px;background:#fbfcf2df;backdrop-filter:blur(12px)}
.panorama-scene-nav button{font-size:12px;white-space:nowrap;border:0;background:transparent;padding:10px 16px}
.panorama-scene-nav button.active{background:#315d4f;color:#fff}

@media(min-width:1650px){.learning-space>.task-panel{width:380px;padding:28px}.scene-toast{right:416px}}
@media(max-width:1180px) and (min-width:681px){.learning-space>.task-panel{width:308px;right:15px;padding:20px}.scene-toast{right:338px}.world-badge{font-size:9px}.panorama-help{max-width:calc(100% - 105px)}}
@media(max-width:680px){.learning-space{display:flex;flex-direction:column;height:auto;min-height:0;gap:14px}.world-frame{position:relative;inset:auto;height:430px;min-height:430px;width:100%}.learning-space>.task-panel{position:relative;inset:auto;width:100%;padding:21px;max-height:none;background:#fbfaf5}.world-badge{top:14px;left:13px;padding:8px 10px;max-width:calc(100% - 133px);font-size:9px;gap:5px}.panorama-badge{font-size:9px;padding-left:5px}.panorama-toggle{top:13px;right:13px;padding:8px 10px;font-size:10px}.world-bottom{left:12px;right:12px;bottom:13px;align-items:end;gap:6px}.panorama-help{max-width:65%;font-size:9px;padding:7px 9px}.world-bottom .glass-button{font-size:10px;padding:8px}.scene-toast{right:13px;left:13px;bottom:64px;font-size:11px}.lab-diagram{max-width:500px;margin-left:auto;margin-right:auto}.learning-space.panorama-expanded{inset:0;display:block;border-radius:0;height:100dvh;min-height:0}.panorama-expanded .world-frame{position:absolute;inset:0;height:100%;min-height:0;border-radius:0}.panorama-expanded .world-badge{top:17px;left:13px}.panorama-expanded .panorama-toggle{top:15px;right:13px;font-size:11px;padding:10px 13px}.panorama-expanded .world-bottom{left:13px;right:13px;bottom:16px}.panorama-scene-nav{bottom:88px;gap:2px;padding:5px;max-width:calc(100% - 22px)}.panorama-scene-nav button{font-size:10px;padding:10px 9px}.panorama-expanded .scene-toast{bottom:140px}}

/* Keep the flat experiment visible while desktop controls scroll independently. */
.lab-visual-overlay{position:absolute;z-index:2;left:22px;bottom:116px;width:calc(100% - 402px);max-width:620px;padding:10px;background:#fbfaf3f2;border:1px solid #fff9;border-radius:16px;box-shadow:0 12px 34px #243c2e26;pointer-events:none}
.lab-visual-overlay .lab-diagram{margin:0}.lab-visual-overlay .lab-diagram svg{border:0;border-radius:9px}.lab-visual-overlay .lab-diagram figcaption{margin-top:8px;font-size:10px;line-height:1.7;color:#526b55}
.panorama-expanded .lab-visual-overlay{display:none}
@media(min-width:681px){.task-panel .lab-diagram{display:none}}
@media(min-width:1650px){.lab-visual-overlay{width:calc(100% - 442px)}}
@media(max-width:1180px) and (min-width:681px){.lab-visual-overlay{left:17px;width:calc(100% - 358px);padding:8px}.lab-visual-overlay .lab-diagram figcaption{font-size:9px}}
@media(max-width:680px){.lab-visual-overlay{display:none}}

/* Desktop and touch panorama: visible character, chat and scene interaction points. */
.browser-mode{font-size:11px;color:#738774;padding:8px 10px;background:#e9eee1;border-radius:8px;white-space:nowrap}
.learning-space{height:clamp(570px,69vh,800px)}
.task-toggle{position:absolute;top:17px;right:136px;z-index:5;font-size:11px;padding:9px 13px;background:#fbfcf2ed;backdrop-filter:blur(10px);box-shadow:0 2px 15px #243a2920}
.task-toggle[aria-expanded=true]{background:#345e50;color:#fff;border-color:#345e50}
.learning-space>.task-panel{z-index:6;top:67px;bottom:108px}
.task-dismiss{position:sticky;top:-13px;float:right;z-index:2;border:0;font-size:24px;line-height:1;padding:3px 7px;background:#e6ecdf;color:#54725d}
.host-entry{position:absolute;left:22px;bottom:78px;z-index:5;width:180px;padding:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;filter:drop-shadow(0 7px 18px #1a3b3830)}
.host-entry:hover:not(:disabled){background:transparent;transform:translateY(-3px)}
.host-entry canvas{display:block;width:148px;height:264px;object-fit:contain;pointer-events:none}
.host-entry-tag{font-size:12px;font-weight:700;letter-spacing:1px;color:#385b47;background:#fffdf2f2;border:1px solid #ffffffa8;border-radius:14px;padding:7px 13px;box-shadow:0 3px 12px #172c251c}
.host-entry-status{display:block;background:#325e50;color:#fff9e8;border:1px solid #96b48e;border-radius:10px;padding:9px 11px;font-size:10px;line-height:1.5;white-space:nowrap}
.host-entry.has-played .host-entry-status{background:#f5f6e9;color:#537448;border-color:#c2d4b5}
.hotspot-directory{position:absolute;left:216px;right:376px;bottom:66px;z-index:5;border-radius:12px;padding:10px 12px;background:#fbfcf0ed;box-shadow:0 5px 20px #173a2920;backdrop-filter:blur(12px)}
.hotspot-directory>span{display:block;font-size:9px;letter-spacing:1px;color:#7c8f71;margin-bottom:7px}
#hotspot-list{display:flex;flex-wrap:wrap;gap:5px}
#hotspot-list button{display:flex;align-items:center;gap:5px;padding:6px 8px;font-size:10px;border-color:#d3dfc9;background:#f5f8ee;border-radius:7px}
#hotspot-list button span{color:#947047;font-size:13px}
.panorama-hotspot{border:1px solid #fffbdc;background:#fffef0ed;color:#315842;box-shadow:0 5px 20px #19372840;font-family:inherit;font-size:12px;padding:10px 14px;border-radius:30px}
.panorama-hotspot .cc-pano-hotspot-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#375f4d;color:#fff7da;font-size:15px}
.panorama-hotspot:hover:not(:disabled){background:#fffbed}
.task-visible .host-entry{top:67px;bottom:auto;width:222px;display:grid;grid-template-columns:48px 1fr;grid-template-rows:35px 36px;gap:2px 7px;align-items:center;text-align:left;border-radius:13px;background:#fffdf2ed;padding:5px 9px;filter:drop-shadow(0 4px 10px #143b2520)}
.task-visible .host-entry canvas{grid-column:1;grid-row:1 / 3;width:44px;height:78px}
.task-visible .host-entry-tag{grid-column:2;grid-row:1;background:none;border:0;box-shadow:none;padding:0;font-size:11px}
.task-visible .host-entry-status{grid-column:2;grid-row:2;font-size:9px;padding:6px 7px;text-align:center}
.task-visible .hotspot-directory{left:22px}
.lab-visual-overlay{max-width:520px;bottom:185px;padding:8px}
.lab-visual-overlay .lab-diagram svg{max-height:240px}
.lab-visual-overlay .lab-diagram figcaption{font-size:9px}
.panorama-expanded.task-visible .lab-visual-overlay{display:block}
.panorama-expanded .task-toggle{top:20px;right:168px;font-size:13px;padding:11px 16px}
.panorama-expanded .hotspot-directory{bottom:130px;max-width:650px;right:376px}
.panorama-expanded .host-entry{bottom:128px}
.panorama-expanded.task-visible .host-entry{top:74px;bottom:auto}
.panorama-expanded .lab-visual-overlay{bottom:250px}
.viewing-panorama .chat-fab,.viewing-panorama .chat-panel{visibility:visible;z-index:50}
.chat-panel{width:335px;height:min(415px,calc(100dvh - 130px));z-index:50;right:24px;bottom:22px;border-color:#bdcdb5;box-shadow:0 14px 46px #263c3029}
.chat-header{padding:13px 15px}.chat-header strong{font-size:13px}.chat-header small{font-size:10px;color:#697e5f}
.chat-connection-note{font-size:10px;line-height:1.5;padding:8px 15px;background:#edf1e6;color:#718564;border-bottom:1px solid #dfe5d7}
.chat-messages{padding:14px;gap:10px;min-height:64px}.chat-message{font-size:11px;padding:10px 12px}.chat-suggestions{padding:3px 12px 7px;max-height:72px;overflow:auto}.chat-suggestions button{font-size:9px;padding:5px 7px}
.chat-fab{z-index:50}.chat-note{font-size:9px;padding:7px}.scene-toast{bottom:157px}
@media(max-width:1180px) and (min-width:681px){.host-entry{width:145px;left:15px}.host-entry canvas{width:125px;height:222px}.host-entry-tag{font-size:11px}.host-entry-status{font-size:9px}.hotspot-directory{left:175px;right:335px;bottom:65px;padding:8px}.task-visible .hotspot-directory{left:17px;right:337px}.chat-panel{width:300px;right:18px;height:390px}.task-visible .host-entry{width:206px;left:17px}.lab-visual-overlay{bottom:196px}.panorama-expanded .hotspot-directory{right:337px}.browser-mode{display:none}}
@media(max-width:680px){.browser-mode{display:none}.learning-space{height:auto;min-height:0}.world-frame{height:520px;min-height:520px}.world-badge{max-width:calc(100% - 200px)}.world-badge .panorama-badge{display:none}.task-toggle{top:13px;right:112px;font-size:10px;padding:8px 10px}.learning-space>.task-panel{position:relative;top:auto;bottom:auto;right:auto;z-index:6;max-height:560px}.host-entry{left:12px;bottom:auto;top:203px;width:130px;gap:5px}.host-entry canvas{width:95px;height:169px}.host-entry-tag{font-size:10px;padding:6px 10px}.host-entry-status{font-size:8px;padding:7px 8px}.hotspot-directory{left:12px;right:12px;top:425px;bottom:auto;padding:8px 10px}.hotspot-directory>span{font-size:8px;margin-bottom:5px}#hotspot-list{gap:4px}#hotspot-list button{font-size:9px;padding:5px 7px}#hotspot-list button span{font-size:10px}.world-bottom{bottom:12px}.panorama-help{font-size:8px;padding:5px 7px;max-width:68%}.world-bottom .glass-button{font-size:9px;padding:6px}.task-visible .host-entry{top:55px;left:12px;width:187px;grid-template-columns:38px 1fr;grid-template-rows:27px 28px;padding:5px 8px}.task-visible .host-entry canvas{width:35px;height:62px}.task-visible .host-entry-tag{font-size:10px}.task-visible .host-entry-status{font-size:8px}.task-visible .hotspot-directory{left:12px;right:12px}.chat-panel{position:fixed;right:10px;bottom:10px;width:calc(100vw - 20px);height:min(330px,43dvh)}.chat-header{padding:10px 12px}.chat-header strong{font-size:12px}.chat-header .assistant-symbol{width:28px;height:28px;font-size:21px}.chat-connection-note{padding:6px 12px;font-size:9px}.chat-messages{min-height:42px;padding:10px}.chat-message{font-size:10px;padding:8px 10px}.chat-suggestions{max-height:40px}.chat-note{font-size:8px;padding:5px}.chat-fab{font-size:11px;bottom:12px;right:12px}.panorama-hotspot{font-size:10px;padding:8px 10px}.panorama-hotspot .cc-pano-hotspot-icon{width:23px;height:23px;font-size:13px}.panorama-expanded .task-toggle{top:15px;right:132px;font-size:11px;padding:10px 12px}.panorama-expanded .host-entry{top:auto;bottom:195px}.panorama-expanded .hotspot-directory{top:auto;bottom:90px;left:12px;right:12px}.panorama-expanded .panorama-scene-nav{bottom:54px}.panorama-expanded .world-bottom{bottom:12px}.panorama-expanded.task-visible>.task-panel{position:absolute;top:140px;left:12px;right:12px;bottom:185px;width:auto;max-height:none;padding:18px}.panorama-expanded.task-visible .host-entry{top:59px;bottom:auto}.panorama-expanded.task-visible .lab-visual-overlay{display:none}.panorama-expanded .task-panel .lab-diagram{display:block}.scene-toast{bottom:102px}.global-toast{z-index:70}}

@media(max-width:680px){.chat-panel:not(.chat-engaged){height:170px}.chat-panel:not(.chat-engaged) .chat-messages,.chat-panel:not(.chat-engaged) .chat-suggestions{display:none}.chat-panel:not(.chat-engaged) #chat-form{margin-top:8px}.host-entry{top:155px}.host-entry canvas{width:80px;height:143px}.host-entry-tag{font-size:9px}.host-entry-status{font-size:8px}.hotspot-directory{top:65px;padding:7px 9px}.hotspot-directory>span{display:none}.panorama-expanded .hotspot-directory{top:65px;bottom:auto}.panorama-expanded .host-entry{top:144px;bottom:auto}.panorama-expanded.task-visible .hotspot-directory{top:auto;bottom:94px}.task-visible .hotspot-directory{top:425px}.task-visible .host-entry{top:55px}.panorama-expanded .chat-panel{z-index:50}}
/* The audition remains separate from the once-per-scene fixed dialogue. */
.voice-preview-button{background:#eef2df;border-color:#d4dfc4;color:#466948;white-space:nowrap}
@media(max-width:680px){.topbar{height:auto;min-height:100px;flex-wrap:wrap;padding:12px 15px;gap:10px}.header-actions{width:100%;justify-content:space-between;gap:7px}.header-actions .voice-preview-button{font-size:11px;padding:7px 10px}}
