:root{font-family:system-ui,sans-serif;color:#e9edf1;background:#0b111a;font-synthesis:none;text-rendering:optimizeLegibility;font-smooth:always;font-optical-sizing:auto;font-weight:400;--bg:#0b111a;--panel:#101923;--panel2:#131e29;--line:#24313e;--muted:#84919e;--soft:#aab5bf;--mint:#75dfc0;--mint-dark:#244d45;--amber:#e2b878}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 40% -25%,#18252e 0,transparent 47%),var(--bg)}button{font:inherit;color:inherit;cursor:pointer}.app-shell{min-height:100vh}.topbar{height:62px;border-bottom:1px solid #1e2a35;background:#0b111aed;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;font-weight:800;font-size:12px;letter-spacing:1.1px;color:#e6edf1}.brand-light{font-weight:500;color:#8b98a3;margin-left:5px}.brand-mark{height:29px;width:29px;border-radius:9px;background:#18332f;color:var(--mint);display:grid;place-items:center}.top-center{display:flex;align-items:center;gap:10px;color:#53616c;font-size:12px}.season-label,.rail-heading,.hero-panel-top,.skills-title,.world-topline,.lesson-label,.editor-tag,.mission-kicker,.breadcrumbs,.chapter-index{font:500 10px ui-monospace,monospace;letter-spacing:1px}.current-region{color:#bac4cc;font-size:12px;letter-spacing:0}.top-actions{display:flex;align-items:center;gap:9px}.stat-pill{height:30px;padding:0 11px;border:1px solid #27333e;border-radius:8px;background:#111a23;display:flex;align-items:center;gap:7px;font-size:11px;color:#bac4cc}.flame{color:#dd9b62}.xp-pill{color:#85d9c1}.avatar{width:30px;height:30px;border-radius:50%;border:1px solid #477567;background:#284d44;color:#a8eed7;font-size:12px;font-weight:800}.game-loading{aspect-ratio:720 / 390;min-height:220px;display:grid;place-items:center;color:#7f978d;font-size:11px;background:#141d29}.workspace{max-width:1600px;margin:auto;display:grid;grid-template-columns:238px minmax(500px,1fr) 250px;min-height:calc(100vh - 62px)}.quest-rail{border-right:1px solid #202c36;padding:24px 15px 18px;display:flex;flex-direction:column;min-width:0}.rail-heading,.hero-panel-top{display:flex;justify-content:space-between;align-items:center;color:#7f8d98;margin:1px 2px 18px}.icon-button{border:0;background:transparent;color:#73818d;padding:4px;display:grid;place-items:center}.chapter-card{height:62px;border:1px solid #2b3b43;background:#15211f;border-radius:10px;display:flex;align-items:center;padding:7px;gap:10px}.chapter-art{height:44px;width:46px;border-radius:7px;background:linear-gradient(150deg,#53665b,#263f3d 64%,#182b2c);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.chapter-art:after{content:"";height:15px;width:50px;background:#1e3d36;position:absolute;bottom:-4px;transform:rotate(-14deg)}.chapter-glyph{font-size:22px;color:#c3b584;z-index:1}.chapter-index{position:absolute;z-index:1;bottom:3px;font-size:6px;color:#c2cec1}.chapter-copy{display:grid;gap:3px;flex:1}.chapter-copy strong{font-size:11px}.chapter-copy span{font-size:9px;color:#819089}.chapter-card>svg{color:#66736f}.path-list{position:relative;margin-top:13px;display:flex;flex-direction:column;gap:3px}.path-list:before{content:"";position:absolute;top:22px;bottom:22px;left:20px;border-left:1px dashed #33414c}.path-node{width:100%;height:57px;border:1px solid transparent;border-radius:8px;background:transparent;display:flex;align-items:center;text-align:left;gap:10px;padding:6px 9px;position:relative;z-index:1}.path-node.selected{border-color:#315448;background:#14231f}.path-node.done .node-marker{background:#244a40;color:#a7edcf;border-color:#4a8e76}.path-node.locked{opacity:.38;cursor:default}.node-marker{width:24px;height:24px;border:1px solid #46535c;border-radius:50%;background:#121b24;display:grid;place-items:center;color:#78858e;font-size:12px;flex:none}.selected .node-marker{border-color:#69c6a8;background:#204237}.node-dot{width:6px;height:6px;border-radius:50%;background:#a6f1d9;box-shadow:0 0 8px #7be3c5}.node-info{display:grid;gap:4px;min-width:0}.node-info strong{font-size:10px;font-weight:700;color:#d3dbe0}.node-info small{font-size:9px;color:#81909a}.active-arrow{margin-left:auto;color:#7bdfbe;font-size:20px}.rail-footer{margin-top:auto;padding:12px 8px 1px;border-top:1px solid #202b34;display:flex;align-items:center;gap:9px}.mini-shield{width:29px;height:29px;border-radius:8px;background:#17231f;color:#85c9ae;display:grid;place-items:center}.rail-footer>div:last-child{display:grid;gap:4px}.rail-footer strong{font-size:9px}.rail-footer small{font-size:8px;color:#82909b}.mission-area{padding:22px 36px 25px;max-width:1000px;width:100%;margin:0 auto;min-width:0}.mission-header{display:flex;justify-content:space-between;align-items:center}.breadcrumbs{color:#8e9aa3;font-size:9px;display:flex;gap:9px}.crumb-sep{color:#4b5964}.text-button{display:flex;align-items:center;gap:6px;background:none;border:0;font-size:10px;color:#85929d;padding:4px}.mission-title-row{display:flex;align-items:flex-end;justify-content:space-between;margin:22px 0 17px}.mission-kicker{display:flex;align-items:center;gap:8px;font-size:9px;color:#81928e}.mission-number{color:#7bd9ba}.tiny-separator{color:#46554f}.mission-title-row h1{font-size:26px;letter-spacing:-.8px;margin:7px 0 5px;font-weight:700;color:#edf1f2}.mission-objective{display:flex;align-items:center;gap:7px;margin:0;color:#a7b2bb;font-size:11px}.objective-dot{width:5px;height:5px;background:#dfb67d;border-radius:50%}.world-frame{border:1px solid #293743;background:#141d27;border-radius:10px;overflow:hidden;box-shadow:0 13px 40px #0002}.world-topline{height:31px;padding:0 13px;display:flex;justify-content:space-between;align-items:center;color:#94a1aa;font-size:8px;background:#121a23;border-bottom:1px solid #29343e}.world-topline>span:first-child{display:flex;align-items:center;gap:7px}.live-dot{height:5px;width:5px;border-radius:50%;background:#72d7b5;box-shadow:0 0 7px #72d7b5}.world-coords{color:#66747e;font-size:8px}.game-canvas{aspect-ratio:16 / 9;max-height:420px;min-height:260px;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#182d36}.game-canvas canvas{max-width:100%;max-height:100%;object-fit:contain}.world-caption{min-height:38px;display:flex;align-items:center;gap:9px;border-top:1px solid #25313b;padding:7px 13px;font-size:10px;color:#bdc7cd;background:#121a23}.caption-icon{color:#80d8b8;display:grid}.lesson-strip{display:flex;align-items:center;gap:11px;padding:12px 13px;margin:13px 0 17px;border:1px solid #27363b;border-radius:8px;background:linear-gradient(100deg,#14201f,#131b23 55%)}.lesson-symbol{height:29px;width:29px;display:grid;place-items:center;border-radius:7px;background:#1e3832;color:#7edabd;flex:none}.lesson-label{font-size:8px;color:#83bca8}.lesson-strip p{font-size:10px;color:#aab7bd;margin:4px 0 0;line-height:1.55}.editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.editor-title{display:flex;align-items:center;gap:8px;color:#b7c1c8}.editor-title>svg{color:#78d6b7}.editor-title strong{font-size:11px}.editor-tag{font-size:7px;color:#697780;border-left:1px solid #39454d;padding-left:8px}.editor-tools{display:flex;align-items:center;gap:8px}.language-switch{height:25px;display:flex;align-items:center;border:1px solid #27333e;border-radius:6px;padding:2px;background:#111922}.language-switch button{height:19px;padding:0 8px;border:0;background:transparent;border-radius:4px;color:#75838d;font-size:9px}.language-switch button.active{background:#263932;color:#a4e3cc}.reset-button{height:25px;width:26px;border:1px solid #27333e;border-radius:6px;background:#111922;color:#85929a;display:grid;place-items:center}.editor-box{overflow:hidden;border:1px solid #293642;border-radius:8px;background:#101720}.editor-box .monaco-editor,.editor-box .monaco-editor-background,.editor-box .monaco-editor .margin{background:#101720!important}.editor-bottom{height:34px;display:flex;align-items:center;justify-content:space-between}.hint-button{display:flex;align-items:center;gap:6px;border:0;background:none;color:#d7b777;padding:3px;font-size:9px}.hint-cost{font:500 7px ui-monospace,monospace;color:#849185;border:1px solid #3b493e;border-radius:4px;padding:2px 4px;margin-left:2px}.editor-note{display:flex;align-items:center;gap:5px;color:#63717c;font-size:8px}.hint-card{padding:10px 11px;display:flex;gap:9px;align-items:flex-start;border:1px solid #564c37;border-radius:7px;background:#25231c;color:#dfc38a;font-size:10px;line-height:1.5;margin:5px 0 9px}.hint-card svg{flex:none}.result-card{display:flex;gap:10px;padding:10px 11px;border-radius:8px;margin:4px 0 9px}.result-card.success{border:1px solid #315b4e;background:#14271f;color:#b4e7d0}.result-card.error{border:1px solid #5b403b;background:#261c1c;color:#e9b5a5}.result-symbol{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#25483b;color:#a5e5cb;flex:none}.error .result-symbol{background:#4a302c;color:#efb3a2}.result-card strong{font-size:10px}.result-card p{margin:3px 0;font-size:9px;line-height:1.5;color:#c2ccc9}.result-card small{font-size:8px;color:#81938a}.run-row{display:flex;align-items:center;justify-content:space-between;padding:3px 0 1px}.run-tip{display:flex;align-items:center;gap:4px;color:#76828b;font-size:8px}.keycap{height:17px;min-width:17px;border:1px solid #37434c;border-radius:4px;display:grid;place-items:center;color:#a9b4bb;font:9px ui-monospace,monospace}.run-button{height:35px;padding:0 17px;border-radius:7px;border:1px solid #80dfbf;background:#79d8b9;color:#10221c;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;box-shadow:0 5px 16px #58bd9a20;transition:transform .15s,filter .15s}.run-button:hover{transform:translateY(-1px);filter:brightness(1.06)}.mission-navigation{margin-top:19px;padding-top:12px;border-top:1px solid #202c35;display:flex;justify-content:space-between}.previous-link,.next-link{display:flex;align-items:center;gap:4px;background:none;border:0;color:#83909a;font-size:9px;padding:2px}.next-link{color:#89d5ba}.previous-link:disabled,.next-link:disabled{opacity:.35;cursor:default}.hero-panel{border-left:1px solid #202c36;padding:24px 15px 18px}.hero-panel-top{margin-bottom:13px}.hero-card{border:1px solid #293741;border-radius:10px;background:#111a23;overflow:hidden;padding:0 12px 13px}.hero-portrait{height:150px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 83%,#355349 0,#223b38 25%,#172932 61%,#15202a);border-bottom:1px solid #2a393d;margin:0 -12px}.hero-portrait:before,.hero-portrait:after{content:"";position:absolute;bottom:-25px;width:120px;height:83px;background:#172827;border-radius:50% 50% 0 0}.hero-portrait:before{left:-25px;transform:rotate(-8deg)}.hero-portrait:after{right:-23px;background:#203734;transform:rotate(9deg)}.portrait-glow{position:absolute;width:88px;height:88px;border:1px solid #97e7c533;border-radius:50%;left:calc(50% - 44px);top:24px;box-shadow:0 0 30px #6fe0bd13}.portrait-orbit{position:absolute;border:1px solid #83d4b82e;border-radius:50%;width:128px;height:128px;left:calc(50% - 64px);top:5px}.orbit-two{width:110px;height:110px;left:calc(50% - 55px);top:14px;transform:rotateX(62deg)}.portrait-character{position:absolute;left:calc(50% - 28px);bottom:16px;width:56px;height:94px;z-index:1}.portrait-cape{position:absolute;left:4px;top:31px;width:47px;height:59px;background:#397d70;clip-path:polygon(29% 0,75% 0,100% 100%,0 100%);filter:drop-shadow(0 2px 4px #101c1b)}.portrait-body{position:absolute;left:13px;top:36px;width:30px;height:49px;background:linear-gradient(90deg,#657a80,#94a7a7 48%,#526c70);border-radius:10px 10px 7px 7px}.portrait-hood{position:absolute;width:43px;height:43px;left:7px;top:0;border-radius:48% 48% 43% 43%;background:linear-gradient(135deg,#a6b2a6,#5d7775 80%);clip-path:polygon(50% 0,100% 35%,87% 100%,13% 100%,0 35%);box-shadow:0 0 12px #91e2c545}.portrait-hood span{position:absolute;left:12px;top:20px;width:22px;height:10px;border-radius:50%;background:#243c3b}.portrait-hood i{position:absolute;left:25px;top:22px;width:3px;height:3px;border-radius:50%;background:#bbf0d5}.portrait-star{position:absolute;color:#c8d7a0;z-index:2}.star-a{top:28px;right:35px;font-size:12px}.star-b{top:63px;left:34px;font-size:25px;color:#74cdb0}.hero-name{text-align:center;margin-top:11px;font-size:14px;font-weight:800;letter-spacing:.1px}.edit-name{display:inline-flex;color:#74818a;margin-left:5px;vertical-align:middle}.hero-class{text-align:center;margin-top:4px;color:#86ae9c;font:8px ui-monospace,monospace;letter-spacing:1.2px}.level-progress{margin-top:14px}.level-line{display:flex;justify-content:space-between;color:#829098;font:7px ui-monospace,monospace}.progress-track{height:5px;background:#26333b;border-radius:5px;margin:6px 0 4px;overflow:hidden}.progress-track>span{height:100%;display:block;background:linear-gradient(90deg,#4b9e80,#8be2be);border-radius:5px;transition:width .3s}.level-progress>small{display:block;text-align:right;color:#8a999f;font:7px ui-monospace,monospace}.skills-card{border:1px solid #293741;border-radius:9px;background:#111a23;padding:12px 11px;margin-top:11px}.skills-title{display:flex;align-items:center;justify-content:space-between;color:#8b979f;font-size:8px;margin-bottom:8px}.subtle-link{display:flex;align-items:center;gap:2px;background:none;border:0;padding:0;color:#77858d;font-size:8px}.skill-row{height:39px;display:flex;align-items:center;gap:8px;border-top:1px solid #23303a}.skill-icon{height:24px;width:24px;border-radius:6px;display:grid;place-items:center}.skill-python{color:#95d9c0;background:#203a34}.skill-sword{color:#d8a17f;background:#392d2c}.skill-wisdom{color:#b4a3d1;background:#302d3b}.skill-copy{display:grid;gap:3px;flex:1}.skill-copy strong{font-size:9px;font-weight:700}.skill-copy small{font-size:8px;color:#7c8a94}.skill-level{color:#c9d9ce;font:10px ui-monospace,monospace}.skill-level.muted{color:#58656e}.daily-card{display:flex;align-items:center;gap:8px;margin-top:11px;padding:10px 9px;border:1px solid #363637;border-radius:8px;background:#191d22}.daily-emblem{height:27px;width:27px;border-radius:7px;background:#383326;color:#e0bc7c;display:grid;place-items:center}.daily-card>div:nth-child(2){display:grid;gap:3px;flex:1}.daily-card strong{font-size:9px}.daily-card small{font-size:8px;color:#8c979b}.daily-reward{font:8px ui-monospace,monospace;color:#dabb7d}.privacy-note{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:13px;color:#5f6e78;font-size:8px}.completion-toast{position:fixed;right:22px;bottom:20px;z-index:10;display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #376451;border-radius:9px;background:#172720;box-shadow:0 12px 40px #0006;animation:toast-in .24s ease-out}.toast-gem{height:30px;width:30px;border-radius:8px;background:#244b3c;color:#90e1bc;display:grid;place-items:center}.completion-toast>div:nth-child(2){display:grid;gap:3px}.completion-toast strong{font-size:10px;color:#d0eddf}.completion-toast span{font-size:9px;color:#91bba6}.completion-toast button{margin-left:13px;background:none;border:0;color:#7f9789;display:grid;place-items:center}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1400px){.workspace{grid-template-columns:250px minmax(600px,1fr) 270px}.mission-area{padding-left:46px;padding-right:46px}.quest-rail{padding-left:18px;padding-right:18px}.hero-panel{padding-left:17px;padding-right:17px}}@media(max-width:1050px){.workspace{grid-template-columns:205px minmax(430px,1fr)}.hero-panel{display:none}.mission-area{padding-left:28px;padding-right:28px}.quest-rail{padding-left:12px;padding-right:12px}}@media(max-width:700px){.topbar{height:54px;padding:0 14px}.brand{font-size:10px}.brand-mark{width:26px;height:26px}.top-center{display:none}.top-actions{gap:6px}.stat-pill{height:27px;padding:0 8px;font-size:9px}.avatar{height:27px;width:27px}.workspace{display:block;min-height:calc(100vh - 54px)}.quest-rail{height:66px;border-right:0;border-bottom:1px solid #202c36;padding:9px 13px;display:block;overflow:hidden}.rail-heading,.rail-footer,.chapter-card{display:none}.path-list{margin:0;flex-direction:row;overflow-x:auto;gap:7px;padding-bottom:3px;scrollbar-width:none}.path-list:before{left:17px;right:17px;top:17px;bottom:auto;border-left:0;border-top:1px dashed #33414c}.path-node{height:43px;width:auto;min-width:39px;padding:5px 7px;justify-content:center;background:#121b24;border-color:#2a3740;border-radius:22px}.node-marker{height:24px;width:24px}.node-info,.active-arrow{display:none}.path-node.selected{min-width:105px;justify-content:flex-start;padding-left:7px;border-radius:22px}.path-node.selected .node-info{display:grid}.mission-area{padding:17px 14px 24px;max-width:620px}.mission-title-row{margin:16px 0 13px}.mission-title-row h1{font-size:22px}.mission-objective{font-size:10px}.world-topline{height:28px}.game-canvas{min-height:205px;max-height:330px}.world-caption{font-size:9px;line-height:1.4}.lesson-strip{align-items:flex-start;padding:10px;margin:10px 0 14px}.lesson-strip p{font-size:9px}.editor-tag{display:none}.editor-note{font-size:7px}.run-button{height:34px;padding:0 13px}.mission-navigation{margin-top:14px}.completion-toast{right:12px;bottom:12px;left:12px;justify-content:flex-start}.completion-toast button{margin-left:auto}}@media(max-width:380px){.brand-light{display:none}.mission-title-row h1{font-size:20px}.editor-note{max-width:136px;line-height:1.35}.world-coords{font-size:7px}}.world-catalog{position:relative;margin-top:9px;border:1px solid #293640;border-radius:8px;background:#101821;overflow:visible}.world-catalog>summary{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;list-style:none;cursor:pointer;color:#8c9aa0;font:500 8px ui-monospace,monospace;letter-spacing:.7px}.world-catalog>summary::-webkit-details-marker{display:none}.world-catalog>summary span+span{color:#65747d;letter-spacing:0}.world-catalog-list{max-height:35vh;overflow:auto;border-top:1px solid #26333b;padding:4px}.world-catalog-item{width:100%;min-height:42px;display:flex;align-items:center;gap:8px;padding:5px 6px;border:1px solid transparent;border-radius:6px;text-align:left;background:transparent}.world-catalog-item.active{border-color:#315146;background:#182922}.world-catalog-item:disabled{cursor:default;opacity:.63}.world-number{width:23px;height:23px;flex:none;display:grid;place-items:center;border:1px solid #35434a;border-radius:50%;color:#a1b0b2;font:9px ui-monospace,monospace}.world-catalog-item.active .world-number{border-color:#4d927a;background:#234a3c;color:#b4f0d8}.world-catalog-copy{min-width:0;flex:1;display:grid;gap:3px}.world-catalog-copy strong{font-size:9px;color:#d5dfe0}.world-catalog-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#78878d;font-size:7px;line-height:1.35}.world-status{color:#84d8ba;font:7px ui-monospace,monospace;letter-spacing:.5px}.world-catalog-item.planned .world-number{color:#627079;border-style:dashed}.world-catalog-item.planned .world-catalog-copy strong{color:#89959a}@media(max-width:700px){.quest-rail{height:82px;overflow:visible}.world-catalog{z-index:4;margin:0 0 5px}.world-catalog>summary{height:31px}.world-catalog-list{position:absolute;top:100%;left:0;right:0;max-height:55vh;border:1px solid #293640;border-radius:0 0 8px 8px;background:#101821;box-shadow:0 14px 25px #0008}.path-list{margin-top:5px}}.tutorial-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#04090ec7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.tutorial-card{width:min(460px,100%);overflow:hidden;border:1px solid #3b5e56;border-radius:18px;background:radial-gradient(ellipse at 85% 0%,#203a36 0,transparent 48%),#101a23;box-shadow:0 28px 100px #0009;animation:tutorial-enter .24s ease-out}.tutorial-top{height:48px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #293a40;color:#80d9bd;font:10px ui-monospace,monospace;letter-spacing:.9px}.tutorial-top>span{display:flex;align-items:center;gap:8px}.tutorial-top button{display:grid;place-items:center;border:0;background:none;color:#82938f}.tutorial-content{padding:24px}.tutorial-emblem{height:46px;width:46px;border-radius:13px;display:grid;place-items:center;background:#23463e;color:#8be5c8}.tutorial-eyebrow{margin:16px 0 5px;color:#79cdb2;font:9px ui-monospace,monospace;letter-spacing:1.1px}.tutorial-content h2{margin:0;color:#eef4f2;font-size:25px;letter-spacing:-.7px}.tutorial-content>p:not(.tutorial-eyebrow){margin:10px 0 17px;color:#aab9bf;font-size:13px;line-height:1.65}.tutorial-code{padding:12px 14px;border:1px solid #2d3d47;border-radius:10px;background:#0c141c}.tutorial-code>span{color:#6f8788;font:8px ui-monospace,monospace;letter-spacing:1px}.tutorial-code pre{margin:9px 0 0;white-space:pre-wrap;color:#b9e5cf;font:12px/1.7 ui-monospace,monospace}.tutorial-feedback{margin-top:11px;color:#95ddbe;font-size:11px;line-height:1.5}.tutorial-actions{display:flex;gap:9px;margin-top:18px}.tutorial-actions button{min-height:38px;padding:0 13px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;font-weight:700}.tutorial-run{border:1px solid #36594f;background:#1a302b;color:#9ce6ca}.tutorial-start{flex:1;border:1px solid #74cfb1;background:#76d9b9;color:#10231e}.tutorial-foot{padding:12px 24px;border-top:1px solid #27363d;color:#687d83;font-size:9px}@keyframes tutorial-enter{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:520px){.tutorial-overlay{padding:12px}.tutorial-content{padding:19px}.tutorial-content h2{font-size:22px}.tutorial-actions{flex-direction:column}.tutorial-actions button{width:100%}}.path-group{position:relative;display:flex;flex-direction:column;gap:3px}.path-group-title{display:flex;align-items:baseline;gap:7px;padding:10px 9px 3px;color:#71817f;font:500 8px ui-monospace,monospace;letter-spacing:.9px}.path-group-title small{color:#52626a;font:500 8px system-ui,sans-serif;letter-spacing:0}.path-group+.path-group{margin-top:4px}.chapter-index{font-size:5px}.chapter-card{min-height:62px}.chapter-copy strong{text-transform:uppercase;letter-spacing:.3px}@media(max-width:700px){.path-group{display:contents}.path-group-title{display:none}}:root{--parchment:#e7d5ad;--wood:#49301f;--wood-edge:#24180f;--gold:#efbd58;--hero-accent:#73d8b8}.map-toggle{height:30px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid #735a38;border-radius:7px;background:linear-gradient(#3d3428,#29241f);color:#f0d49b;font-size:10px;font-weight:700;box-shadow:inset 0 1px #ffffff12}.map-toggle:hover{border-color:#c09b58;color:#ffe6ae}.avatar{color:var(--hero-accent);border-color:color-mix(in srgb,var(--hero-accent),#344 45%);background:color-mix(in srgb,var(--hero-accent),#17211f 79%)}.atlas-screen{max-width:1580px;min-height:calc(100vh - 62px);margin:0 auto;padding:34px clamp(18px,4vw,64px) 22px;background:radial-gradient(ellipse at 19% 22%,#172f33 0,transparent 34%),radial-gradient(ellipse at 85% 64%,#26301f 0,transparent 35%)}.atlas-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:2px 0 27px}.atlas-kicker,.journey-kicker,.journey-missions-head,.modal-kicker{display:flex;align-items:center;gap:7px;color:#d6b66e;font:600 9px ui-monospace,monospace;letter-spacing:1.2px}.atlas-kicker svg,.modal-kicker svg{color:#8edfc1}.atlas-heading h1{margin:11px 0 5px;color:#f2ead9;font-size:clamp(25px,3vw,39px);letter-spacing:-1.3px}.atlas-heading p{margin:0;color:#abb5ac;font-size:12px}.atlas-progress{display:grid;grid-template-columns:22px auto;align-items:center;column-gap:8px;min-width:130px;padding:11px 13px;border:1px solid #4a503f;border-radius:9px;background:#171f1c}.atlas-progress svg{grid-row:span 2;color:#84d9bf}.atlas-progress strong{font:600 12px ui-monospace,monospace;color:#e8cf91}.atlas-progress span{font-size:9px;color:#8e9e98}.atlas-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);gap:18px;align-items:start}.world-atlas,.world-journey{overflow:hidden;border:1px solid #4c493d;border-radius:13px;background:#111a1c;box-shadow:0 18px 50px #0004}.atlas-map-sky{position:relative;min-height:650px;overflow:hidden;padding:23px 17px 30px;background:radial-gradient(ellipse at 48% 8%,#284955 0,#182f39 45%,#172627)}.atlas-map-sky:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";opacity:.16;background-image:radial-gradient(#adc9b6 1px,transparent 1px);background-size:38px 38px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 75%);mask-image:linear-gradient(180deg,#000,transparent 75%)}.map-route-line{position:absolute;top:60px;bottom:50px;left:50%;width:2px;transform:translate(-50%);background:repeating-linear-gradient(180deg,#d5c58b99 0 5px,transparent 5px 13px);filter:drop-shadow(0 0 5px #dbbd6866)}.map-moon{position:absolute;right:14%;top:38px;color:#eee2b7;font-size:46px;text-shadow:0 0 28px #c7e0dc66}.map-star{position:absolute;color:#eff0c6}.star-one{top:95px;left:19%;font-size:20px}.star-two{right:31%;top:255px;font-size:25px}.atlas-world{--world-color:#7ec8b2;position:relative;z-index:1;width:min(76%,520px);min-height:105px;display:flex;align-items:center;gap:14px;margin:0 auto 8px;padding:10px 13px;border:1px solid #637166;border-radius:12px;background:linear-gradient(115deg,#344a43ef,#202e2fee 65%,#172427ef);text-align:left;box-shadow:0 10px 18px #07101290,inset 0 1px #ffffff12;transition:transform .18s,border-color .18s,filter .18s}.atlas-world:hover{transform:translateY(-2px);border-color:var(--world-color)}.atlas-world.active{border:2px solid var(--world-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--world-color),transparent 83%),0 13px 24px #0007}.atlas-world.locked{filter:saturate(.48);opacity:.77}.atlas-world.planned{opacity:.55}.atlas-world:nth-of-type(2n){transform:translate(7%)}.atlas-world:nth-of-type(2n):hover{transform:translate(7%,-2px)}.atlas-world:nth-of-type(odd){transform:translate(-5%)}.atlas-world:nth-of-type(odd):hover{transform:translate(-5%,-2px)}.atlas-world:nth-of-type(2){--world-color:#e3a974}.atlas-world:nth-of-type(3){--world-color:#9ac7b6}.atlas-world:nth-of-type(4){--world-color:#e4c073}.atlas-world:nth-of-type(5){--world-color:#85d9e0}.atlas-world:nth-of-type(6){--world-color:#b3a0d8}.atlas-world:nth-of-type(7){--world-color:#81b9dc}.atlas-world:nth-of-type(8){--world-color:#e88d68}.world-island{position:relative;isolation:isolate;flex:none;width:77px;height:68px;display:grid;place-items:center;border-radius:44% 56% 45% 55%/52% 42% 58% 48%;background:linear-gradient(155deg,color-mix(in srgb,var(--world-color),#fff 16%),color-mix(in srgb,var(--world-color),#18312e 48%) 44%,#43513e 45%,#43513e 70%,#2c3833 71%);box-shadow:0 8px #17211f,0 12px 14px #0007,inset 0 3px #ffffff28;transform:rotate(-7deg)}.world-island:before{content:"";position:absolute;z-index:-1;left:7px;right:5px;bottom:-9px;height:16px;border-radius:50%;background:#514a3d;clip-path:polygon(5% 0,100% 0,78% 65%,24% 100%,0 44%)}.island-glow{position:absolute;top:10px;right:14px;bottom:10px;left:14px;border-radius:50%;background:radial-gradient(circle,var(--world-color),transparent 72%);opacity:.34}.island-emblem{color:#f7dda1;font:30px Georgia,serif;text-shadow:0 2px 4px #101914,0 0 12px var(--world-color);transform:rotate(7deg)}.island-detail{position:absolute;bottom:14px;width:11px;height:8px;border-radius:50%;background:#d8c18a;box-shadow:0 1px 2px #111}.detail-a{left:14px}.detail-b{right:15px;width:7px;height:12px;border-radius:60% 5% 60% 10%;background:#486d52;transform:rotate(28deg)}.atlas-world-copy{display:grid;gap:4px;min-width:0;flex:1}.atlas-world-copy small{color:var(--world-color);font:600 7px ui-monospace,monospace;letter-spacing:1px}.atlas-world-copy strong{color:#f2ead8;font-size:14px}.atlas-world-copy>span{color:#b2b9ad;font-size:9px}.atlas-world-state{display:grid;place-items:center;width:29px;height:29px;border:1px solid #ffffff20;border-radius:50%;color:var(--world-color)}.atlas-legend{min-height:38px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;border-top:1px solid #ffffff12;background:#111a1c;color:#9da8a0;font-size:8px}.atlas-legend>span{display:flex;align-items:center;gap:6px}.atlas-legend i{width:8px;height:8px;border:1px solid #79cbb0;border-radius:50%}.atlas-legend .legend-locked{border-style:dashed;border-color:#86918b}.atlas-legend .legend-done{display:grid;place-items:center;color:#b5edd1;font-style:normal;font-size:8px;background:#2c6651;border:0}.world-journey{position:sticky;top:80px;background:#1a1c19;border-color:#66583e}.journey-art{--journey-glow:#99d2b4;position:relative;height:190px;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 95%,color-mix(in srgb,var(--journey-glow),transparent 50%),transparent 60%),linear-gradient(150deg,#334a4a,#1e3132 58%,#17201e)}.journey-art:before,.journey-art:after{position:absolute;content:"";bottom:-35px;width:80%;height:100px;background:#34483b;border-radius:50% 50% 0 0}.journey-art:before{left:-20%;transform:rotate(-12deg);background:#263d35}.journey-art:after{right:-22%;transform:rotate(14deg);background:#43503d}.journey-art-2{--journey-glow:#e3a974;background:radial-gradient(ellipse at 50% 90%,#885942,#342e30 57%,#212431)}.journey-art-3{--journey-glow:#a1d4bf;background:radial-gradient(ellipse at 50% 90%,#548279,#28393b 57%,#1e2933)}.journey-art-4{--journey-glow:#e2bf6c;background:radial-gradient(ellipse at 50% 90%,#a47642,#4a3d32 57%,#242630)}.journey-art-5{--journey-glow:#72d9e4;background:radial-gradient(ellipse at 50% 90%,#427b83,#293948 57%,#222738)}.journey-art-6{--journey-glow:#ac92dd;background:radial-gradient(ellipse at 50% 90%,#625478,#30303e 57%,#1c202b)}.journey-art-7{--journey-glow:#79c2e2;background:radial-gradient(ellipse at 50% 90%,#477b8d,#283841 57%,#1d2731)}.journey-art-8{--journey-glow:#e88662;background:radial-gradient(ellipse at 50% 90%,#824c39,#402b2f 57%,#211f2b)}.journey-art-orbit{position:absolute;width:112px;height:112px;top:20px;border:1px solid color-mix(in srgb,var(--journey-glow),transparent 65%);border-radius:50%;box-shadow:0 0 42px color-mix(in srgb,var(--journey-glow),transparent 77%)}.journey-art-mark{position:relative;z-index:1;margin-top:-10px;color:#f6daa0;font:72px Georgia,serif;text-shadow:0 4px 15px #000b,0 0 34px var(--journey-glow);animation:world-mark-float 4s ease-in-out infinite}.journey-art-ground{position:absolute;bottom:16px;z-index:1;width:44%;height:12px;border-radius:50%;background:#101a17;box-shadow:0 0 25px var(--journey-glow)}.journey-art-title{position:absolute;z-index:2;bottom:7px;color:#f2e5c6;font:600 8px ui-monospace,monospace;letter-spacing:1.3px;text-shadow:0 2px 4px #000}.journey-content{padding:16px}.journey-kicker{color:#dbb86e;font-size:8px}.journey-content h2{margin:8px 0 12px;color:#f3ead8;font-size:20px;line-height:1.2}.journey-focus{display:flex;align-items:flex-start;gap:8px;margin:0;color:#e5cf9f;font-size:10px;line-height:1.5}.journey-focus svg{flex:none;color:#91d6b8}.journey-style{margin:7px 0 15px;color:#a6afa5;font-size:9px;line-height:1.5}.journey-missions{border:1px solid #4c4638;border-radius:8px;overflow:hidden;background:#22221d}.journey-missions-head{height:34px;justify-content:space-between;padding:0 10px;color:#b9ae8f;border-bottom:1px solid #514a3b;font-size:8px}.journey-missions-head span{color:#82897c;font:9px system-ui,sans-serif;letter-spacing:0}.journey-mission{width:100%;min-height:49px;display:flex;align-items:center;gap:9px;padding:6px 10px;border:0;border-bottom:1px solid #ffffff0b;background:transparent;text-align:left;color:#e8e1d2}.journey-mission:last-child{border-bottom:0}.journey-mission:not(:disabled):hover{background:#393629}.journey-mission.locked{opacity:.42;cursor:not-allowed}.journey-mission.done .journey-node{border-color:#629778;background:#24483b;color:#b4ebcd}.journey-node{width:24px;height:24px;display:grid;place-items:center;flex:none;border:1px solid #71664e;border-radius:50%;color:#e6c77b;font:8px ui-monospace,monospace}.journey-mission>span:nth-child(2){display:grid;gap:3px;flex:1}.journey-mission strong{font-size:9px}.journey-mission small{color:#9a9f92;font-size:8px}.journey-mission>svg{color:#867c64}.journey-continue{width:100%;height:42px;margin-top:12px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #fae093;border-radius:7px;background:linear-gradient(#f1c86e,#c9953d);color:#302417;font-size:11px;font-weight:800;box-shadow:inset 0 1px #fff7,0 4px 12px #0004}.journey-continue svg:last-child{margin-left:auto}.journey-locked-note{display:flex;align-items:center;gap:8px;margin-top:12px;padding:11px;border:1px dashed #685e4b;border-radius:7px;color:#b6aa8b;font-size:9px;line-height:1.45}.atlas-footer{display:flex;align-items:center;gap:7px;padding:15px 3px;color:#84918b;font-size:9px}.atlas-footer svg{color:#83c9ae}.atlas-footer-sep{color:#d8b771}.hero-card-button{width:100%;color:inherit;text-align:inherit;cursor:pointer}.hero-card-button:hover{border-color:#967845}.hero-portrait{--hero-accent:#73d8b8;background:radial-gradient(ellipse at 50% 83%,color-mix(in srgb,var(--hero-accent),#14202a 64%) 0,#1b3334 37%,#15202a)}.portrait-cape{background:linear-gradient(90deg,color-mix(in srgb,var(--hero-accent),#172225 40%),var(--hero-accent))}.portrait-glow{border-color:color-mix(in srgb,var(--hero-accent),transparent 60%);box-shadow:0 0 30px color-mix(in srgb,var(--hero-accent),transparent 80%)}.hero-edit-hint{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:9px;color:#a9b58e;font-size:8px}.hero-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:22px;background:#080b10c9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.hero-modal{width:min(790px,100%);max-height:min(90vh,900px);overflow:auto;border:2px solid #735433;border-radius:13px;background:linear-gradient(120deg,#543923 0,#543923 10px,#382619 10px,#382619 calc(100% - 10px),#543923 calc(100% - 10px));box-shadow:0 26px 100px #000b,inset 0 0 0 1px #edc37c26}.hero-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:21px 24px 15px;border-bottom:1px solid #7b5d3b;background:repeating-linear-gradient(0deg,#49311f 0,#49311f 12px,#4e3523 12px,#4e3523 14px)}.hero-modal-header h2{margin:7px 0 0;color:#f0c86b;font-size:23px;letter-spacing:-.5px}.hero-modal-close{width:34px;height:34px;display:grid;place-items:center;border:1px solid #9e6a53;border-radius:6px;background:#8a3c30;color:#ffe2c6}.hero-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:17px 19px 20px}.hero-choice{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:0 0 10px;border:1px solid #77644a;border-radius:8px;background:#e4d4b2;color:#302719;text-align:left}.hero-choice.selected{outline:2px solid var(--hero-accent);outline-offset:1px;border-color:#f4d985}.hero-choice-art{position:relative;width:100%;height:108px;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 85%,color-mix(in srgb,var(--hero-accent),#453425 48%),#47382d 58%,#302a28)}.hero-choice-halo{position:absolute;width:76px;height:76px;top:13px;border:1px solid color-mix(in srgb,var(--hero-accent),transparent 45%);border-radius:50%;box-shadow:0 0 24px color-mix(in srgb,var(--hero-accent),transparent 70%)}.hero-choice-figure{position:absolute;bottom:-11px;width:48px;height:89px;display:block;border-radius:23px 23px 8px 8px;background:linear-gradient(90deg,#273338,#687a78 50%,#394744);clip-path:polygon(50% 0,82% 10%,100% 28%,86% 58%,100% 100%,0 100%,14% 58%,0 28%,22% 10%)}.hero-choice-figure:before{position:absolute;content:"";width:29px;height:31px;top:4px;left:9px;border-radius:48% 48% 38% 38%;background:linear-gradient(120deg,#e6c49a,#a97652)}.hero-choice-figure:after{position:absolute;content:"";width:39px;height:38px;left:4px;top:0;border-radius:50% 50% 18% 18%;border-top:10px solid var(--hero-accent);border-left:6px solid var(--hero-accent);border-right:6px solid var(--hero-accent)}.hero-choice-figure i,.hero-choice-figure b{position:absolute;z-index:2;top:20px;width:4px;height:2px;border-radius:50%;background:#30261e}.hero-choice-figure i{left:16px}.hero-choice-figure b{right:15px}.hero-choice-mark{position:absolute;right:8px;top:6px;color:#f1d78a;font:16px Georgia,serif}.hero-choice>strong{margin:9px 10px 2px;font-size:12px}.hero-choice>small{margin:0 10px;color:#786547;font-size:9px}.hero-choice-description{min-height:30px;margin:7px 10px 0;color:#645a48;font-size:8px;line-height:1.45}.choice-check{position:absolute;right:7px;bottom:8px;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#27674e;color:#d6f4df}.wardrobe-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:13px 22px 10px;border-top:1px solid #755632}.wardrobe-heading h3{margin:5px 0 0;color:#f0e1c4;font-size:15px}.wardrobe-note{color:#c3ad88;font-size:8px}.outfit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 19px 16px}.outfit-choice{min-width:0;display:flex;align-items:center;gap:9px;padding:9px;border:1px solid #75644b;border-radius:7px;background:#e7d9bc;color:#322819;text-align:left}.outfit-choice.selected{border:2px solid var(--outfit-accent);padding:8px;background:#f0e3c8}.outfit-figure{position:relative;width:38px;height:48px;display:grid;place-items:center;flex:none;border-radius:14px 14px 8px 8px;background:linear-gradient(90deg,#3a4038,var(--outfit-accent),#39433c);clip-path:polygon(50% 0,85% 18%,100% 100%,0 100%,15% 18%)}.outfit-figure:before{position:absolute;content:"";top:-3px;width:19px;height:18px;border-radius:50%;background:#d5a87c}.outfit-figure i,.outfit-figure b{position:absolute;top:2px;width:25px;height:8px;border-radius:70% 70% 20% 20%;background:var(--outfit-accent)}.outfit-figure i{transform:translate(-2px) rotate(-13deg)}.outfit-figure b{transform:translate(3px) rotate(13deg);filter:brightness(.8)}.outfit-figure-2{filter:hue-rotate(18deg)}.outfit-figure-3{filter:saturate(.8)}.outfit-copy{display:grid;gap:4px;flex:1;min-width:0}.outfit-copy strong{font-size:9px}.outfit-copy small{color:#70634d;font-size:7px;line-height:1.35}.outfit-select{display:grid;place-items:center;color:#5e7252}.hero-modal-footer{min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 21px;border-top:1px solid #795d3b;background:#302218;color:#c1b08c;font-size:8px}.hero-modal-footer>span,.hero-modal-footer>button{display:flex;align-items:center;gap:6px}.hero-modal-footer>span svg{color:#87d3b2}.hero-modal-footer>button{height:32px;padding:0 11px;border:1px solid #f0d28a;border-radius:5px;background:linear-gradient(#f1c86e,#c8953b);color:#332417;font-size:9px;font-weight:800}.world-frame{border-color:#5b4d38;border-radius:9px;background:#251d17;box-shadow:0 12px 30px #0005}.world-topline{background:#2b2119;border-color:#5c4730;color:#dfc58c}.world-caption{background:#211b16;border-color:#564432;color:#d1c5ae}.lesson-strip{border-color:#69563c;background:linear-gradient(100deg,#30261c,#211e1a 60%)}.lesson-symbol{background:#403226;color:#e4bd69}.lesson-label{color:#e3c375}.lesson-strip p{color:#c5baa4}.editor-box{border-color:#594a39;background:#171718}.run-button{border-color:#ffe49a;background:linear-gradient(#f4d37e,#cda14d);color:#302519;box-shadow:0 5px 16px #c5974427}.run-button:hover{filter:brightness(1.08)}@media(min-width:1600px){.mission-area{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);grid-template-areas:"header header" "title title" "scene editor" "lesson editor" "nav nav";align-content:start;column-gap:16px;max-width:1400px}.mission-header{grid-area:header}.mission-title-row{grid-area:title}.world-frame{grid-area:scene;align-self:start}.lesson-strip{grid-area:lesson;align-self:start;margin-top:12px}.editor-section{grid-area:editor;align-self:start;padding:13px;border:1px solid #4e4334;border-radius:10px;background:linear-gradient(145deg,#29231c,#171a1c)}.mission-navigation{grid-area:nav}.world-frame .game-canvas{aspect-ratio:1.38;max-height:520px}}@keyframes world-mark-float{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@media(max-width:1050px){.atlas-layout{grid-template-columns:minmax(0,1fr) minmax(285px,.72fr);gap:12px}.atlas-map-sky{min-height:590px;padding-left:8px;padding-right:8px}.atlas-world{width:86%;min-height:92px}.world-island{width:64px;height:59px}.journey-art{height:160px}}@media(max-width:700px){.topbar{padding:0 11px}.top-actions{gap:5px}.map-toggle{height:27px;padding:0 7px;font-size:8px}.map-toggle svg{width:12px}.atlas-screen{min-height:calc(100vh - 54px);padding:21px 12px 18px}.atlas-heading{align-items:flex-start;margin-bottom:15px}.atlas-heading h1{font-size:25px}.atlas-heading p{max-width:290px;font-size:10px;line-height:1.5}.atlas-kicker{font-size:7px}.atlas-progress{min-width:0;padding:8px;grid-template-columns:17px auto}.atlas-progress svg{width:15px}.atlas-progress strong{font-size:9px}.atlas-progress span{font-size:7px}.atlas-layout{grid-template-columns:1fr}.atlas-map-sky{min-height:570px;padding:20px 5px}.map-route-line{left:50%}.atlas-world{width:min(89%,410px);min-height:75px;margin-bottom:7px;gap:9px;padding:7px 9px}.atlas-world:nth-of-type(2n){transform:translate(4%)}.atlas-world:nth-of-type(odd){transform:translate(-3%)}.atlas-world:nth-of-type(2n):hover{transform:translate(4%,-2px)}.atlas-world:nth-of-type(odd):hover{transform:translate(-3%,-2px)}.world-island{width:50px;height:48px}.island-emblem{font-size:22px}.atlas-world-copy small{font-size:6px}.atlas-world-copy strong{font-size:11px}.atlas-world-copy>span{font-size:8px}.atlas-world-state{width:24px;height:24px}.atlas-legend{gap:9px;font-size:7px}.world-journey{position:static}.journey-art{height:130px}.journey-art-mark{font-size:52px}.journey-content{padding:12px}.journey-content h2{font-size:18px}.journey-mission{min-height:45px}.atlas-footer{font-size:8px;flex-wrap:wrap}.hero-overlay{padding:10px}.hero-modal{max-height:94vh}.hero-modal-header{padding:15px}.hero-modal-header h2{font-size:20px}.hero-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.hero-choice-art{height:90px}.hero-choice-description{min-height:0}.wardrobe-heading{align-items:flex-start;flex-direction:column;padding:12px}.wardrobe-note{font-size:8px}.outfit-grid{grid-template-columns:1fr;padding:0 12px 13px}.outfit-choice{min-height:56px}.hero-modal-footer{padding:9px 12px}.hero-modal-footer>span{max-width:160px;line-height:1.4}.hero-modal-footer>button{font-size:8px}.world-journey{top:auto}}@media(max-width:390px){.top-actions .stat-pill:first-of-type{display:none}.atlas-heading{gap:7px}.atlas-progress{padding:7px}.atlas-world{width:94%}.journey-focus,.journey-style{font-size:9px}}.tutorial-overlay{background:radial-gradient(ellipse at center,#202016aa,#07090de8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tutorial-card{width:min(560px,100%);border:3px solid #8b6740;border-radius:8px;background:linear-gradient(135deg,#51371f,#302218);box-shadow:0 26px 90px #000b,inset 0 0 0 2px #d6ac6b22}.tutorial-top{height:48px;padding:0 17px;border-bottom:2px solid #8b6740;background:repeating-linear-gradient(0deg,#4d321d 0,#4d321d 10px,#563a23 10px,#563a23 12px);color:#e3c37e;font-size:9px}.tutorial-top button{color:#ead8b8}.tutorial-content{margin:8px;padding:20px 23px 22px;border:1px solid #ba9f72;background:radial-gradient(ellipse at 85% 15%,#fff8df 0,transparent 45%),linear-gradient(130deg,#eadfbe,#d9c79e);color:#34291d}.tutorial-emblem{width:40px;height:40px;border-radius:8px;background:#546e57;color:#f3d88d;box-shadow:0 3px #354738}.tutorial-eyebrow{margin:13px 0 5px;color:#796236;font-size:8px}.tutorial-content h2{color:#332516;font-size:24px}.tutorial-content>p:not(.tutorial-eyebrow){color:#5c503c;font-size:12px}.tutorial-code{border:1px solid #706149;border-radius:5px;background:#292823;box-shadow:inset 0 1px #ffffff16}.tutorial-code>span{color:#d3b76e}.tutorial-code pre{color:#c8e6b6}.tutorial-feedback{padding:9px 10px;border-radius:5px;background:#d4e4c2;color:#34553d}.tutorial-actions{margin-top:15px}.tutorial-actions button{border-radius:5px;min-height:40px;font-size:9px}.tutorial-run{border:1px solid #705934;background:#f3ead4;color:#534329}.tutorial-start{border:1px solid #ffe19a;background:linear-gradient(#f3d27e,#c79642);color:#382919;box-shadow:inset 0 1px #fff7,0 3px #82602c}.tutorial-foot{padding:11px 20px;border-top:1px solid #785432;color:#ceb98e;font-size:8px}@media(min-width:1600px){.tutorial-card{width:min(600px,100%)}.tutorial-content{padding:24px 27px}.tutorial-content h2{font-size:27px}}.path-node.optional-node{border-style:dashed;border-color:#927b4e;background:linear-gradient(100deg,#332b1d,#1c1c18)}.path-node.optional-node .node-marker{border-color:#dbb86e;color:#f0cd76}.path-node.optional-node .node-info small{color:#d5b86e}.journey-mission.optional-mission{border-left:2px dashed #d7b45c;background:#27241d}:root{--header-height:76px}.topbar{height:var(--header-height)}.brand{flex:none;align-self:stretch;padding:4px 0}.brand-logo{display:flex;align-items:center;height:100%}.brand-logo img{display:block;width:auto;height:64px;object-fit:contain}.brand:focus-visible{outline:2px solid var(--mint);outline-offset:3px;border-radius:5px}.workspace,.atlas-screen{min-height:calc(100vh - var(--header-height))}@media(max-width:700px){:root{--header-height:68px}.brand-logo img{width:56px;height:56px}}@font-face{font-family:Cormorant Garamond;src:url(/assets/ui/cormorant-garamond.woff2) format("woff2");font-weight:300 700;font-display:swap}.workspace.play-mode{position:fixed;top:0;right:0;bottom:0;left:0;z-index:15;display:block;max-width:none;min-height:0;background:#0b111a;overflow:hidden}.play-mode .hero-panel,.play-mode .rail-heading,.play-mode .chapter-card,.play-mode .world-catalog,.play-mode .rail-footer,.play-mode .mission-header,.play-mode .mission-title-row,.play-mode .world-topline,.play-mode .world-caption,.play-mode .lesson-strip{display:none}.play-mode .mission-area{position:static;display:block;padding:0;margin:0;max-width:none;width:auto}.play-mode .world-frame{position:fixed;top:0;right:0;bottom:0;left:0;border:0;border-radius:0;box-shadow:none;z-index:0;background:#0b111a}.play-mode .world-frame .game-canvas,.play-mode .game-canvas.three-world{width:100%;height:100%;max-height:none!important;min-height:0!important;aspect-ratio:auto!important}.play-mode .game-canvas canvas{max-width:none;max-height:none;object-fit:fill}.play-banner{position:fixed;left:clamp(10px,2vw,26px);top:14px;z-index:3;padding:7px 18px;background:linear-gradient(110deg,#241c16,#392f24);border:1px solid #a68655;border-left:3px solid #d3ae72;color:#f3e8cb;box-shadow:0 6px 24px #0007}.play-banner span{font:500 9px ui-monospace,monospace;letter-spacing:1.4px;color:#d3ae72}.play-banner h2{margin:2px 0 0;font:500 clamp(19px,2.6vw,27px)/1.2 Georgia,serif}.play-mode .quest-rail{position:fixed;left:clamp(10px,2vw,26px);top:84px;bottom:auto;width:min(268px,calc(100vw - 24px));z-index:3;padding:0;border:0;background:transparent;display:block;overflow:visible;height:auto}.journal{position:relative;isolation:isolate;min-height:230px;max-height:calc(100dvh - 190px);padding:46px 30px 44px;color:#32271b;display:flex;overflow:hidden}@media(prefers-reduced-motion:no-preference){.journal{animation:parchment-unroll .9s cubic-bezier(.24,.64,.34,1) both}}@keyframes parchment-unroll{0%{clip-path:inset(49% 0 49% 0)}to{clip-path:inset(0)}}.journal-paper{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1;pointer-events:none}.journal-scroll{display:flex;flex-direction:column;gap:8px;width:100%;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#8b6b3d #0000}.journal-quest{margin:0;font:700 clamp(17px,1.7vw,21px)/1.15 "Cormorant Garamond",Georgia,serif;color:#2b1f12}.journal-label{font:600 8px ui-monospace,monospace;letter-spacing:1px;color:#6b5231;border-top:1px solid #8b6b3d66;padding-top:8px}.play-mode .path-list{margin:0;gap:1px;flex-direction:column;overflow:visible;padding:0}.play-mode .path-list:before{display:none}.play-mode .path-group-title{padding:6px 0 2px;color:#6b5231}.play-mode .path-group-title span,.play-mode .path-group-title small{color:#6b5231;font-size:8px}.play-mode .path-node{height:auto;min-width:0;padding:4px 6px;gap:8px;border:0;border-radius:4px;background:transparent;justify-content:flex-start}.play-mode .path-node:hover:not(.locked){background:#7c5b2f1f}.play-mode .path-node.selected{background:#7c5b2f33;border:0}.play-mode .node-marker{width:20px;height:20px;border-color:#7c5b2f;background:#e9d3a0;color:#4a3820;font-size:11px}.play-mode .path-node.done .node-marker{background:#6b8a52;color:#fff;border-color:#4d6a3a}.play-mode .node-dot{background:#7c5b2f;box-shadow:none}.play-mode .node-info{display:grid}.play-mode .node-info strong{color:#2b1f12;font:700 14px Cormorant Garamond,Georgia,serif}.play-mode .node-info small,.play-mode .active-arrow{display:none}.play-mode .path-node.locked{opacity:.45}.play-nav{display:flex;gap:6px;margin-top:8px}.play-nav button,.editor-toggle{padding:7px 12px;border:1px solid #a68655;border-radius:4px;background:#241c16;color:#f3e8cb;font:600 13px system-ui;box-shadow:0 4px 16px #0006}.play-nav button[aria-pressed=true]{background:#3b2e1f;border-color:#d3ae72}.play-nav button:disabled{opacity:.5}.play-nav button:hover:not(:disabled),.editor-toggle:hover{filter:brightness(1.15)}.editor-toggle{position:fixed;right:clamp(10px,2vw,26px);top:14px;z-index:4;display:flex;align-items:center;gap:7px}.play-mode .editor-section{position:fixed;right:clamp(10px,2vw,26px);top:62px;z-index:4;width:min(440px,calc(100vw - 20px));max-height:calc(100dvh - 120px);overflow:auto;padding:12px;margin:0;border:1px solid #a68655;border-radius:8px;background:#171e20f2;box-shadow:0 14px 40px #000a;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.play-mode .editor-section.closed{display:none}.play-mode .mission-navigation{position:fixed;left:50%;bottom:14px;transform:translate(-50%);z-index:3;margin:0;padding:0;border:0;gap:8px}.play-mode .mission-navigation button{padding:6px 12px;border:1px solid #a68655;border-radius:4px;background:#241c16d9;color:#f3e8cb}.play-mode .completion-toast{z-index:25}@media(max-width:700px){.play-mode .quest-rail{top:76px;width:min(220px,calc(100vw - 20px))}.journal{padding:40px 24px 38px}.play-mode .mission-navigation{bottom:8px}}.chapters-pop{margin-top:8px;max-height:calc(100dvh - 400px);min-height:120px;overflow-y:auto;padding:10px 12px;border:1px solid #a68655;border-radius:6px;background:#171e20f2;box-shadow:0 14px 40px #000a}.play-mode .chapters-pop .journal-label{color:#d3ae72;border-top:0;display:block;padding:0 0 6px}.play-mode .chapters-pop .path-group-title span,.play-mode .chapters-pop .path-group-title small{color:#b9a27a}.play-mode .chapters-pop .node-info strong{color:#f3e8cb}.play-mode .chapters-pop .path-node:hover:not(.locked){background:#d3ae7222}.play-mode .chapters-pop .path-node.selected{background:#d3ae7233}.play-mode .chapters-pop .node-marker{background:#2a2118;border-color:#a68655;color:#f3e8cb}.play-mode .chapters-pop .node-dot{background:#d3ae72}.play-mode .world-frame .game-canvas,.play-mode .game-canvas.three-world{position:absolute!important;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden}.play-mode .game-canvas canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important;max-width:none;max-height:none}.tps-camera-hint{position:absolute;left:10px;bottom:8px;z-index:2;padding:5px 8px;border-radius:6px;background:#081018a0;color:#cfe3ee;font:500 10px ui-monospace,monospace;pointer-events:none}@media(max-width:760px){.tps-camera-hint{display:none}}.tutorial-world-art{display:block;width:100%;height:clamp(70px,16dvh,130px);object-fit:cover;object-position:center 15%;border-radius:6px;margin-bottom:12px}.tutorial-code pre{-webkit-user-select:none;user-select:none}.play-mode .journal{max-height:none}.play-mode .journal-scroll{overflow:visible}.game-audio-toggle{position:absolute;inset:auto 12px 12px auto;z-index:2;border:1px solid #886f49;border-radius:6px;background:#211b15;color:#f3e5c8;padding:7px 12px;font:inherit;cursor:pointer}@media(max-width:760px){.game-audio-toggle{bottom:52px}}.workshop{width:min(100% - 32px,540px);margin:24px auto;color:#f2e7cb}.workshop-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.workshop button{padding:8px 12px;background:#252b2c;border:1px solid #9b825a;border-radius:6px;color:inherit;cursor:pointer}.workshop button[aria-pressed=true]{background:#594427}.workshop-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;max-width:420px;margin:0 0 16px}.workshop-grid button{aspect-ratio:1;min-width:0;padding:0;font-size:1.3rem}.workshop-grid [data-cell=Engel]{background:#5e453d}.workshop-grid [data-route=true]{background:#285747}.workshop textarea{display:block;width:100%;margin-top:8px;color:#e7efe9;background:#131a20;padding:12px;font:inherit;font-family:monospace}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.atlas-footer{flex-wrap:wrap}.game-hazard-status{position:absolute;z-index:2;inset:auto auto 76px 50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 24px);padding:8px 14px;border:1px solid #a68655;border-radius:6px;background:#241c16;color:#f3e8cb;text-align:center;pointer-events:none}.game-hazard-status:empty{padding:0;border:0}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #f6d58d;outline-offset:3px}.local-code-editor{height:240px}@media(min-width:1600px){.local-code-editor{height:400px}}.tutorial-overlay{overflow-y:auto;align-content:safe center;overscroll-behavior:contain}.tutorial-card{max-height:none}@media(max-height:520px){.tutorial-overlay{padding:6px}.tutorial-world-art,.tutorial-emblem,.tutorial-foot{display:none}.tutorial-top{height:36px}.tutorial-content{margin:4px;padding:10px 16px 12px}.tutorial-content h2{font-size:19px}.tutorial-content>p:not(.tutorial-eyebrow){margin:6px 0 8px;line-height:1.4}.tutorial-actions{flex-direction:row;margin-top:8px}.tutorial-actions button{width:auto;flex:1;min-height:36px}}
