:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#15343b;background:#122c33;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;min-height:48px;border:1px solid #bdc9c6;background:#fffdf5;color:#15343b;border-radius:10px;padding:12px 18px;font-weight:650}button:hover{background:#eaf1ec}button:disabled{cursor:default;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ab5521;outline-offset:4px}header{height:86px;padding:16px max(24px,env(safe-area-inset-right));display:flex;align-items:center;gap:25px;color:#fff7e7}header a{color:inherit;text-decoration:none}.brand{font-family:Georgia,serif;font-size:27px;font-weight:700;letter-spacing:-1px}.brand span{font-size:12px;letter-spacing:2px;display:block}.edition{font-size:11px;letter-spacing:2px;flex:1;color:#d3e1df}header button{background:transparent;border-color:#6d8588;color:#fff}main{position:relative;min-height:740px;background:#bfd9d8;overflow:hidden}#world{position:absolute;inset:0;touch-action:none}#world canvas{display:block;width:100%;height:100%}.scene-label{position:absolute;top:28px;right:30px;display:flex;align-items:center;gap:9px;background:#fffdf2df;padding:10px 16px;border-radius:30px;font-size:11px;font-weight:750;letter-spacing:1px}.dot{width:7px;height:7px;background:#296b5e;border-radius:50%}.camera{position:absolute;right:24px;bottom:24px;display:flex;gap:8px}.camera button{font-size:12px;background:#fffdf3e8}#panel{position:relative;margin:36px;max-width:530px;padding:34px;background:#fffdf4f2;border:1px solid #ffffff90;border-radius:22px;box-shadow:0 20px 80px #12343c20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}#panel.home{margin-top:88px}.eyebrow{font-size:.67rem;letter-spacing:2px;font-weight:800;color:#42675f;margin:8px 0 18px}h1{font:clamp(38px,4.3vw,66px)/1.06 Georgia,serif;letter-spacing:-2px;margin:0 0 24px}h1 em{color:#2b6b61;font-weight:400}h2{font:32px/1.22 Georgia,serif;margin:16px 0}h3{font-size:18px}.intro{line-height:1.8;font-size:17px;color:#496065}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.chips span{font-size:11px;border:1px solid #cbd9ce;padding:7px 10px;border-radius:20px}.start-actions{display:flex;gap:10px;flex-wrap:wrap}.primary{background:#f1bf65;border-color:#dba948;color:#182e31}.primary:hover{background:#f8ce86}.secondary{display:flex;flex-wrap:wrap;margin-top:18px;gap:5px}.secondary button{background:none;border:0;padding:8px;font-size:12px}.small{font-size:12px;color:#4b6467;line-height:1.6}.lesson-top{display:flex;justify-content:space-between;font-size:12px;font-weight:800}progress{width:100%;height:6px;accent-color:#296b5e;margin:16px 0}.hint{color:#4b6467;font-size:14px;line-height:1.6}.audio-row{display:flex;align-items:center;gap:10px;margin:20px 0}.audio-row button{font-size:13px}.answers{display:grid;gap:9px}.answers button{text-align:left;display:flex;align-items:center;gap:14px}.answers button span{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e7ede4;font-size:12px}.feedback{border-left:3px solid #317569;padding:10px 16px;margin:18px 0;background:#edf3e9}.feedback p{font-size:14px;line-height:1.5}.teacher-caption{min-height:20px}#movement{position:absolute;right:25px;bottom:90px;display:flex;gap:5px}#movement[hidden]{display:none}#movement button{width:48px;padding:8px}.stats{display:flex;gap:28px;margin:28px 0}.stats div{font-size:12px}.stats strong{font:34px Georgia,serif;display:block}.results button{margin:5px}.results p{line-height:1.6}footer{padding:16px 26px;color:#d1dfdc;font-size:12px}dialog{border:0;border-radius:20px;max-width:660px;width:calc(100% - 32px);background:#fffdf4;color:#15343b;padding:30px;max-height:90dvh}dialog::backdrop{background:#102b34a6}dialog p{line-height:1.7}.avatars{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.avatars button{display:flex;align-items:center;flex-direction:column;gap:9px}.avatars button[aria-pressed=true]{outline:3px solid #317569}.portrait{background:var(--avatar);border-radius:50%;color:#fff;font:32px Georgia,serif;display:grid;place-items:center;width:60px;height:60px}.avatars small{font-size:11px}.settings label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #cbd8ce}.settings input{width:24px;height:24px;accent-color:#2b6b61}article{border-bottom:1px solid #ccd8cd;padding:12px 0}.large{font-size:20px}.contrast #panel,.contrast dialog{background:#fff;color:#000}.contrast .small,.contrast .hint,.contrast .eyebrow{color:#162f31}.fallback{position:absolute;right:30px;top:120px;max-width:320px;background:#fff;padding:20px;border-radius:15px}@media(min-width:1500px){main{min-height:850px}#panel{margin-left:8vw}}@media(max-width:800px){header{height:76px;padding:12px 16px}.edition{display:none}header button{margin-left:auto}.brand{font-size:23px}main{padding-top:245px;min-height:100dvh;overflow:visible}#world{position:absolute;height:300px;bottom:auto}.scene-label{top:14px;right:14px;font-size:9px}.camera{top:190px;bottom:auto;right:12px}.camera button{padding:8px;font-size:11px}#panel,#panel.home{margin:0 12px 16px;padding:24px;max-width:none;background:#fffdf4;-webkit-backdrop-filter:none;backdrop-filter:none}h1{font-size:44px}.intro{font-size:15px}#movement{top:130px;bottom:auto;right:12px}.lesson h2{font-size:28px}.answers button{min-height:56px}footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}.fallback{top:60px;left:15px;font-size:12px}.audio-row{flex-wrap:wrap}}@media(max-height:600px)and (min-width:700px){main{min-height:650px}#panel,#panel.home{margin:18px;width:48%;padding:22px}.home h1{font-size:38px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.level-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.level-tabs button[aria-pressed=true]{background:#234f55;color:#fff;border-color:#234f55}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lesson-card{text-align:left;display:flex;flex-direction:column;gap:10px;padding:18px;min-height:160px}.lesson-card>span{font-size:10px;color:#3c655d;letter-spacing:1px}.lesson-card strong{font:21px Georgia,serif;line-height:1.3}.lesson-card small{font-size:12px;line-height:1.5;font-weight:400}.teaching{font-size:19px;line-height:1.85;padding:16px;border-left:3px solid #d5a24d;background:#f1f1e5}.transcript,.model{margin:16px 0;border:1px solid #ccd9ce;padding:14px;border-radius:10px;line-height:1.7}summary{cursor:pointer;font-size:14px;font-weight:650;min-height:28px}blockquote{margin:14px 0;padding:16px;border-left:3px solid #438079;background:#edf2e7;line-height:1.7}#written{display:block;width:100%;font:inherit;color:#15343b;background:#fff;border:1px solid #9ab0a7;border-radius:9px;padding:14px;margin:12px 0;min-height:50px}textarea#written{resize:vertical;line-height:1.6}input:focus-visible,textarea:focus-visible{outline:3px solid #ab5521;outline-offset:3px}#write-form label,.lesson>label{display:block;font-size:14px;font-weight:650;margin-top:16px}.rubric label,.oral-check{display:flex;align-items:start;gap:12px;padding:12px 0;line-height:1.55;font-size:14px}.rubric input,.oral-check input{width:24px;height:24px;flex-shrink:0;accent-color:#2b6b61}.record-actions{display:flex;gap:8px;flex-wrap:wrap}.record-actions button{font-size:12px}audio{width:100%;margin:12px 0}.history{max-height:240px;overflow:auto}.import-label{display:block;margin:16px 0;line-height:1.8}.import-label input{max-width:100%;display:block}.level-progress article{padding:12px 0}.large .lesson-card small,.large .hint,.large .rubric label{font-size:16px}@media(max-width:800px){header{gap:8px}header button{margin-left:0;padding:8px;font-size:12px;min-width:44px}header .brand{margin-right:auto;font-size:21px}.brand span{font-size:9px}.lesson-grid{grid-template-columns:1fr}.level-tabs button{flex:1;padding:10px;font-size:12px}.stats{gap:16px}.stats strong{font-size:28px}.teaching{font-size:17px}}@media(max-width:420px){header{height:auto;min-height:76px;flex-wrap:wrap}.brand{flex:1}header button{flex-shrink:0}}.large .small{font-size:15px}.large h2{font-size:36px}.navigation-menu{display:grid;gap:10px;margin:20px 0}.navigation-menu button{text-align:left}.navigation-menu a{color:#234f55;padding:14px;line-height:1.5}body{height:100dvh;overflow:hidden;display:flex;flex-direction:column}header{height:72px;min-height:72px;flex-shrink:0}main{flex:1;min-height:0;height:auto;overflow:hidden}footer{flex-shrink:0;padding:10px 24px;font-size:11px}#panel,#panel.home{margin:18px 24px;padding:24px;max-height:calc(100% - 36px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}#panel.home h1{font-size:48px;margin-bottom:16px}.intro{font-size:15px;line-height:1.6}.chips{margin:16px 0}.eyebrow{margin:6px 0 12px}.lesson h2{font-size:28px;margin:12px 0}.lesson .hint{margin:8px 0}.audio-row{margin:12px 0}.answers{gap:8px}.answers button{padding:10px 14px;min-height:48px}.teacher-caption{margin-bottom:0}.secondary{margin-top:10px}.camera{bottom:16px}#movement{bottom:78px}@media(min-width:1500px){main{min-height:0}#panel{margin-left:6vw}}@media(max-width:800px){header{height:auto;min-height:64px;padding:8px 12px}main{padding-top:140px;min-height:0}#world{height:170px}.scene-label{top:8px;right:8px}.camera{top:94px;right:8px;bottom:auto}.camera button{min-height:36px;padding:6px;font-size:10px}#movement{top:46px;right:8px;bottom:auto}#movement button{height:40px;min-height:40px;width:40px}#panel,#panel.home{margin:0 10px 8px;padding:18px;max-height:calc(100% - 8px);background:#fffdf4}#panel.home h1{font-size:36px}.intro{font-size:14px}.chips{margin:10px 0}.lesson h2{font-size:23px}.lesson .eyebrow{font-size:10px;letter-spacing:1px;margin:6px 0 10px}.lesson .hint{font-size:12px;line-height:1.4}.audio-row{margin:10px 0}.audio-row button{padding:8px 12px;min-height:42px}.answers button{min-height:48px}.small{font-size:11px}.teacher-caption{font-size:10px}footer{padding:8px 12px max(8px,env(safe-area-inset-bottom));font-size:10px}.home .secondary button{min-height:36px}.home .small{margin:8px 0}}@media(max-height:600px)and (min-width:700px){main{padding-top:0;min-height:0}#world{height:100%}#panel,#panel.home{margin:10px 16px;padding:16px;width:48%;max-height:calc(100% - 20px)}.lesson h2{font-size:22px}.lesson .hint{font-size:12px}.audio-row{margin:8px 0}.answers button{min-height:44px;padding:6px 12px}.scene-label{right:12px}.camera{top:auto;bottom:10px}#movement{top:auto;bottom:60px}#panel.home h1{font-size:32px}}#app{height:100dvh;display:flex;flex-direction:column;min-height:0}
