@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:Manrope,Arial,sans-serif;color:#223044;background:#f4f8f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 90% 5%,#d6f4e9 0,transparent 26%),radial-gradient(circle at 5% 65%,#e0ebfb 0,transparent 25%),#f4f8f7}header{height:82px;max-width:1240px;width:100%;margin:auto;padding:0 28px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:23px;letter-spacing:-1px}.brand-icon{background:#17bb91;color:#fff;width:36px;height:36px;border-radius:11px;text-align:center;line-height:36px;font-size:26px}.accent{color:#16af87}.tag{font-size:12px;color:#678078;border-left:1px solid #d6e6e1;padding-left:24px;font-weight:700;letter-spacing:.04em}header .text-button{margin-left:auto}main{max-width:1240px;width:100%;margin:0 auto;flex:1;padding:66px 28px 80px}.eyebrow,.card-kicker{font-size:11px;font-weight:800;color:#12a780;letter-spacing:.16em}h1{font-size:clamp(36px,5vw,60px);line-height:1.12;letter-spacing:-.055em;max-width:820px;margin:20px 0 18px}h2{font-size:25px;letter-spacing:-.04em;margin:12px 0 10px}h3{font-size:24px;letter-spacing:-.035em;margin:12px 0}p{line-height:1.65}.lead{font-size:17px;max-width:660px;color:#66788a;margin:0 0 42px}.card{background:#fff;border:1px solid #e2ebe8;border-radius:22px;box-shadow:0 18px 55px #244e3e0d}.auth-card{max-width:455px;padding:38px 42px}.auth-card form{margin-top:25px}label{display:block;font-weight:700;font-size:13px;margin-bottom:18px}input:not([type=radio]),textarea{width:100%;display:block;margin-top:9px;border:1px solid #d8e4e0;border-radius:11px;padding:14px 16px;font:inherit;font-size:14px;outline:none;background:#fbfdfc;color:#223044}input:focus,textarea:focus{border-color:#16b88c;box-shadow:0 0 0 3px #16b88c1c}button{font:inherit;cursor:pointer}.primary{border:0;background:#16b88c;color:#fff;border-radius:11px;padding:14px 19px;font-size:13px;font-weight:800;display:inline-flex;justify-content:space-between;align-items:center;gap:30px;min-width:190px}.primary:hover{background:#0d9c75}.primary:disabled{opacity:.5;cursor:not-allowed}.primary span{font-size:18px}.auth-card .primary{width:100%;margin-top:4px}.switch,.text-button{border:0;background:none;color:#158d70;font-weight:800;font-size:13px;padding:8px 0}.switch{margin-top:17px}.notice{background:#e4f7f0;border:1px solid #c0eadc;color:#22634e;padding:14px 18px;border-radius:11px;margin-bottom:24px;max-width:620px}.course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,420px));gap:22px}.course-card{padding:20px 28px 28px}.course-art{height:150px;background:linear-gradient(125deg,#bcebdc,#54d3ae);border-radius:16px;margin-bottom:28px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:78px;position:relative}.course-art span{position:absolute;bottom:14px;left:17px;font-size:11px;font-weight:800;letter-spacing:.15em}.course-card p,.game-card p{color:#748497;font-size:14px}.course-card .primary{margin-top:14px}.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:24px;align-items:start}.lesson-card,.game-card{padding:34px}.lesson-top{display:flex;justify-content:space-between;align-items:start}.progress-label{display:flex;justify-content:space-between;margin-top:30px;font-size:12px;color:#738493;font-weight:700}.progress-label strong{color:#16a67f}.progress-track{height:9px;border-radius:99px;background:#e9f0ee;margin:10px 0 20px;overflow:hidden}.progress-track div{height:100%;background:#19c496;border-radius:99px;transition:width .25s}.task-dots{display:flex;gap:9px;flex-wrap:wrap}.task-dots span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;font-size:11px;font-weight:800}.task-dots .done{background:#dcf7eb;color:#10a77d}.task-dots .active{background:#15b98d;color:#fff}.task-dots .locked{background:#f0f3f5;color:#aeb9bf}.task{border-top:1px solid #e9efed;margin-top:30px;padding-top:30px}.task p{font-size:14px;color:#687d8b}.task form{margin-top:22px}.choices{display:flex;gap:10px;flex-wrap:wrap}.choices label{border:1px solid #dce8e4;border-radius:10px;padding:12px 18px;margin:0;cursor:pointer;background:#fbfdfc}.choices label.selected{border-color:#17b88d;background:#e6f8f0;color:#078d68}.choices input{margin-right:9px}.actions{display:flex;gap:12px;align-items:center;margin-top:20px;flex-wrap:wrap}.secondary{border:1px solid #d7e9e2;background:#fff;border-radius:10px;color:#159c78;padding:13px 17px;font-size:13px;font-weight:800}.hint{margin-top:18px;background:#e8f7f2;border-radius:10px;padding:14px 17px;font-size:13px;color:#316d58}.game-card{text-align:center}.game-card .card-kicker{text-align:left}.game-icon{width:75px;height:75px;background:#e2f7ed;color:#13af83;border-radius:20px;margin:28px auto 10px;display:grid;place-items:center;font-size:44px}.game-card pre{text-align:left;background:#18352e;color:#b8f5d9;border-radius:12px;padding:18px;min-height:140px;overflow:auto;font-size:12px;line-height:1.6}.game-card small{color:#92a2a9;font-size:11px}.finished{text-align:center;padding:42px 0}.finished span{font-size:48px;color:#17bb91}.finished p{color:#738493}footer{text-align:center;padding:22px;color:#9aabb1;font-size:11px}@media(max-width:800px){main{padding-top:35px}.workspace{grid-template-columns:1fr}.tag{display:none}.auth-card,.lesson-card,.game-card{padding:27px}h1{font-size:38px}}.task-dots button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;font-size:12px;font-weight:800;transition:transform .15s,box-shadow .15s}.task-dots button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 5px 12px #1b9d782c}.task-dots button.done{background:#dcf7eb;color:#10a77d}.task-dots button.active{background:#15b98d;color:#fff}.task-dots button.locked{background:#f0f3f5;color:#aeb9bf;cursor:not-allowed}.task-dots button.selected{outline:2px solid #168e70;outline-offset:3px}.nav-help{font-size:12px;color:#84959a;margin:13px 0 0}.answer-feedback{border-radius:12px;padding:14px 16px;margin-top:18px;font-size:13px;font-weight:700;line-height:1.55}.answer-feedback.error{background:#fff0ee;border:1px solid #f4c4bd;color:#a33f35}.answer-feedback.success{background:#e6f8ef;border:1px solid #bcead5;color:#15845f}.review-answer{background:#f5faf8;border:1px solid #dbece5;border-radius:14px;padding:20px;margin-top:23px}.review-answer span{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;color:#7d928b}.review-answer strong{display:block;font-size:16px;overflow-wrap:anywhere;margin:9px 0 12px}.review-status{color:#159a72;font-size:13px;font-weight:800;margin-bottom:17px}.step-nav{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e9efed;margin-top:28px;padding-top:16px}.text-button:disabled{color:#adbdb8;cursor:not-allowed}.task-instructions{margin:14px 0 0;padding-left:22px;color:#667d88;font-size:13px;line-height:1.65}.task-instructions li{margin:5px 0}.builder-fields{display:grid;gap:15px}.block-group{border:1px solid #e1ebe7;border-radius:12px;padding:13px 15px;margin:0}.block-group legend{font-size:12px;font-weight:800;color:#4b7770;padding:0 6px}.prompt-preview{background:#f3f9f7;border:1px solid #dbece6;border-radius:12px;padding:16px;margin-top:18px;text-align:left}.prompt-preview span{display:block;font-size:10px;font-weight:800;color:#73958a;letter-spacing:.14em;margin-bottom:7px}.prompt-preview strong{font-size:14px;line-height:1.5}.example-prompt{margin-top:16px;font-size:12px;color:#618077}.example-prompt summary,.game-json summary{cursor:pointer;font-weight:800;color:#159c78}.example-prompt p{background:#f7fbfa;border-radius:9px;padding:12px;margin:8px 0 0}.mini-game{height:190px;overflow:hidden;position:relative;border-radius:14px;background:linear-gradient(#a5c6f2 0,#a5c6f2 70%,#dceae6 70%);margin:22px 0 15px}.mini-game.forest{background:linear-gradient(#9bdff5 0,#9bdff5 70%,#c9e6bc 70%)}.mini-sky{position:absolute;top:12px;left:20px;font-size:26px}.mini-hero{position:absolute;left:22%;bottom:38px;font-size:34px;z-index:2}.mini-hero span{position:absolute;top:-20px;left:8px;font-size:20px}.mini-coins{position:absolute;left:47%;top:77px;font-size:21px}.mini-platform{position:absolute;bottom:23px;left:10%;width:52%;height:15px;border-radius:5px;background:#6bc58b;border-bottom:4px solid #459767}.mini-platform.short{left:65%;bottom:52px;width:26%}.mini-enemy{position:absolute;right:17%;bottom:66px;font-size:29px}.mini-bonus{position:absolute;right:26%;top:43px;font-size:27px}.game-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left;font-size:11px;color:#4f6c66;margin-bottom:17px}.game-summary span{background:#eef7f2;padding:9px;border-radius:8px}.game-json{text-align:left;margin:16px 0}.game-json pre{max-height:340px;min-height:0}.game-card small{display:block;margin-top:14px}.drag-builder{display:grid;gap:13px}.drag-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:8px}.drag-heading span{font-size:11px;letter-spacing:.14em;font-weight:800;color:#47716a}.drag-heading small{font-size:11px;color:#8999a6}.drag-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.drag-option{min-height:63px;border:1px solid #d6e4e8;border-radius:13px;background:#fbfdff;color:#30495c;text-align:left;padding:12px;display:flex;align-items:center;gap:10px;box-shadow:0 3px #dce7ed;font-size:13px;font-weight:700;line-height:1.35;transition:transform .15s,border-color .15s,background .15s;cursor:grab}.drag-option:hover:not(:disabled){transform:translateY(-2px);border-color:#58a9c5;background:#f3fbff}.drag-option:active{cursor:grabbing}.drag-option.used{background:#e8f7f3;border-color:#8dd9bf}.drag-option:disabled{opacity:.52;cursor:default;box-shadow:none}.drag-option small{margin-left:auto;align-self:flex-start;color:#9dafbb;font-size:10px}.drag-handle{font-size:20px;color:#60a9c0;line-height:1}.drop-zone{min-height:102px;border:2px dashed #a8cbd0;border-radius:17px;background:linear-gradient(135deg,#f4fbfa,#f1f8ff);padding:14px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;transition:background .15s,border-color .15s,box-shadow .15s}.drop-zone.drop-active{border-color:#15b98d;background:#e4fbf1;box-shadow:0 0 0 4px #17b88d1d}.drop-zone.has-blocks{align-content:center}.drop-placeholder{width:100%;text-align:center;color:#799aa0;font-size:13px;font-weight:700}.answer-block{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #9bd1c3;border-radius:10px;padding:8px 9px;color:#285c57;font-size:13px;font-weight:800;box-shadow:0 3px 8px #256d5a13;cursor:grab}.answer-block button{border:0;background:#e6f4ef;color:#437f71;border-radius:6px;width:23px;height:23px;font-size:18px;line-height:18px;padding:0;cursor:pointer}.answer-block button:hover{background:#fbe4df;color:#bd604e}.block-number{display:grid;place-items:center;min-width:20px;height:20px;background:#15b98d;color:#fff;border-radius:6px;font-size:11px}.drag-result{background:#eff9f5;border-radius:12px;padding:13px 15px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.drag-result span{font-size:10px;letter-spacing:.12em;font-weight:800;color:#6a9989}.drag-result strong{flex:1 1 180px;font-size:13px;color:#225d4e}.drag-result button{border:0;background:none;color:#168a6c;font-size:12px;font-weight:800}.drag-result button:hover{text-decoration:underline}@media(max-width:600px){.drag-palette{grid-template-columns:1fr}.drag-heading{align-items:start;flex-direction:column;gap:3px}}.hero-portrait{display:block;width:52px;height:52px;flex:none;object-fit:contain;image-rendering:pixelated}.hero-portrait:not(.hero-portrait-robot){transform:scale(1.3)}.hero-portrait-robot{background-image:url(/assets/game-atlas.png);background-size:400% 200%;background-position:left top;background-repeat:no-repeat}.task-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.chosen-avatar{display:flex;align-items:center;gap:12px;flex:none;background:#edf8f4;border:1px solid #d5eee4;border-radius:12px;padding:5px 10px 5px 5px;text-align:left;color:#4b7669;font-size:10px;line-height:1.3}.chosen-avatar strong{color:#245d4d;font-size:12px}.chosen-avatar .hero-portrait{width:44px;height:44px}@media(max-width:600px){.task-heading{align-items:flex-start;flex-direction:column}.chosen-avatar{align-self:flex-start}}.character-options{margin:22px 0 24px;padding:18px 20px 20px;background:#f4faf8;border:1px solid #d9ebe3;border-radius:16px}.character-options figcaption{margin-bottom:14px;color:#326e5d;font-size:13px;font-weight:800}.character-options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.character-option{min-width:0;padding:8px;text-align:center;background:#fff;border:1px solid #e1ece7;border-radius:12px}.character-option-art{height:132px;display:flex;align-items:center;justify-content:center;overflow:hidden}.character-option-art .hero-portrait{width:190px;height:190px;transform:none}.character-option-art .hero-portrait-robot{width:142px;height:142px}@media(max-width:600px){.character-options{padding:14px}.character-options-grid{gap:6px}.character-option{padding:4px}.character-option-art{height:92px}.character-option-art .hero-portrait{width:140px;height:140px}.character-option-art .hero-portrait-robot{width:102px;height:102px}}.enemy-options{margin:22px 0 24px;padding:18px 20px 20px;background:#f4faf8;border:1px solid #d9ebe3;border-radius:16px}.enemy-options figcaption{color:#326e5d;font-size:13px;font-weight:800}.enemy-options-row{margin-top:16px}.enemy-options-row h4{margin:0 0 8px;color:#326e5d;font-size:12px}.enemy-options-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.enemy-option{min-width:0;min-height:82px;padding:7px 3px;background:#fff;border:1px solid #e1ece7;border-radius:12px;display:flex;align-items:center;justify-content:center}.enemy-option img{display:block;width:min(100%,66px);height:66px;object-fit:contain}@media(max-width:600px){.enemy-options{padding:14px 9px}.enemy-options-grid{gap:4px}.enemy-option{min-height:64px;padding:4px 1px}.enemy-option img{height:50px}}.world-options{width:100%;table-layout:fixed;border-spacing:9px 7px;margin:18px 0 22px}.world-options caption{text-align:left;padding:0 9px 5px;color:#326e5d;font-size:13px;font-weight:800}.world-options .world-options-heading th{text-align:left;padding:6px 9px 0;color:#47716a;font-size:12px;font-weight:800}.world-options td{padding:0;overflow:hidden;text-align:center;vertical-align:top;background:#f7fbfa;border:1px solid #dce9e5;border-radius:12px}.world-option-art{display:block;width:100%;height:105px}@media(max-width:600px){.world-options{border-spacing:4px 5px}.world-options caption,.world-options .world-options-heading th{padding-left:4px}.world-option-art{height:76px}}.inline-prompt{background:#f5faf8;border:1px solid #d6e9e1;border-radius:17px;padding:20px 22px 23px;box-shadow:inset 0 1px #fff}.inline-prompt-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;color:#4d8273;font-size:11px;letter-spacing:.12em;font-weight:800;margin-bottom:17px}.inline-prompt-heading span{color:#8aa49a;font-size:11px;font-weight:600;letter-spacing:0}.inline-prompt-text{color:#284a43;font-size:17px;font-weight:700;line-height:2.8;white-space:pre-wrap;overflow-wrap:anywhere}.inline-prompt input:not([type=radio]){display:inline-block;vertical-align:baseline;max-width:100%;min-width:8ch;margin:0 4px;border:1px solid #8acbb4;border-bottom:2px solid #19af83;border-radius:8px;background:#fff;color:#184b3e;padding:8px 10px;font-size:15px;font-weight:700;line-height:1.25;box-shadow:0 2px 8px #1c8a6812}.inline-prompt input::placeholder{color:#85a79a;font-weight:500}.inline-prompt input:focus{border-color:#0da97b;box-shadow:0 0 0 3px #16b88c2b}@media(max-width:600px){.inline-prompt{padding:16px}.inline-prompt-heading{flex-direction:column;gap:3px}.inline-prompt-text{font-size:15px;line-height:3.2}.inline-prompt input:not([type=radio]){font-size:14px}}.game-card{min-width:0}.game-locked{margin:22px 0;padding:28px 16px;border:2px dashed #bdd8ce;border-radius:14px;background:#f4faf7;color:#356c5a}.game-locked p{margin-bottom:0}.play-area{margin-top:18px}.game-toolbar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;font-weight:800;color:#386b5d;margin-bottom:8px}.phaser-host{width:100%;aspect-ratio:16/9;background:#abc9f3;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;outline:2px solid #dcece5}.phaser-host canvas{display:block;max-width:100%;max-height:100%}.game-status{min-height:28px;margin:10px 0 5px;color:#486f64!important;font-size:12px!important;font-weight:700}.game-controls{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:10px 0}.game-controls .secondary{padding:9px 11px;font-size:11px}.play-area small{color:#72888a!important}.game-summary{margin-top:16px;grid-template-columns:repeat(3,1fr)}.game-workshop{margin-top:18px;border-top:1px solid #e2ece7;padding-top:15px;text-align:left}.game-workshop summary{cursor:pointer;color:#11896d;font-size:13px;font-weight:800}.game-workshop p{font-size:12px!important;margin:10px 0}.workshop-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0}.workshop-tabs button{border:1px solid #d5e7df;background:#f5faf7;border-radius:8px;padding:7px 9px;color:#426c60;font-size:11px;font-weight:700}.workshop-tabs button.active{background:#168e70;color:#fff}.workshop-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workshop-fields label{margin:0;font-size:11px;color:#55766d}.workshop-fields input,.workshop-fields select{width:100%;margin-top:5px;border:1px solid #ccdfd7;border-radius:8px;background:#fff;padding:8px;color:#29483e;font:inherit;font-size:12px}.workshop-fields p{grid-column:1/-1}.workshop-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.workshop-actions .primary{min-width:0;padding:10px;font-size:11px}.workshop-actions .text-button{font-size:11px}.workshop-message{color:#237b62!important;font-weight:700}.play-area:fullscreen{background:#112640;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center}.play-area:fullscreen .game-viewport{width:min(94vw,1400px)}.play-area:fullscreen .phaser-host{width:100%;height:min(74vh,788px)}.play-area:fullscreen .game-status,.play-area:fullscreen small{color:#fff!important;width:min(94vw,1400px)}.game-viewport{position:relative;width:100%}.game-hud{position:absolute;z-index:5;top:10px;left:10px;right:10px;display:flex;align-items:center;gap:6px;pointer-events:none;color:#fff;font-family:Manrope,Arial,sans-serif;font-weight:800;font-size:clamp(10px,1.2vw,14px);text-shadow:0 1px 2px #172a4a88}.game-hud>span{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:27px;padding:4px 8px;border-radius:8px;background:#183147d9;border:1px solid #ffffff42;box-shadow:0 2px 5px #15283935;white-space:nowrap}.game-hud .hud-health{color:#ffe1e5}.game-hud .hud-health>span{color:#ff647d;font-size:17px;line-height:1}.game-hud .hud-health.critical{background:#a92d45e8}.game-hud .hud-health.critical>span{color:#fff}.game-hud .hud-score{color:#fff0bc}.game-hud .hud-score>span{color:#ffd54f;font-size:16px;line-height:1}.play-area:fullscreen .game-hud{top:18px;left:18px;gap:10px;font-size:17px}.play-area:fullscreen .game-hud>span{min-height:38px;padding:7px 13px}.intro-step-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px}.intro-step-actions .review-status{margin:0}.intro-step-actions .answer-feedback{width:100%}.debug-panel{margin-top:28px;padding:16px 18px;border:2px dashed #d99a30;border-radius:12px;background:#17232d;color:#dbe7e8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;box-shadow:0 8px 22px #17232d1f}.debug-panel-heading{display:flex;align-items:center;gap:10px;font-size:12px}.debug-panel-heading span{padding:4px 8px;border-radius:4px;background:#e8a13d;color:#241b10;font-weight:900;letter-spacing:.12em}.debug-panel-heading strong{font-weight:700}.debug-panel-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.debug-panel-actions button{padding:9px 12px;border:1px solid;border-radius:6px;background:#253541;font:700 12px ui-monospace,SFMono-Regular,Consolas,monospace}.debug-panel-actions .debug-pass{border-color:#69cda2;color:#a4efd0}.debug-panel-actions .debug-invalidate{border-color:#e89191;color:#ffc0c0}.debug-panel-actions button:hover:not(:disabled){background:#344a58}.debug-panel-actions button:disabled{opacity:.42;cursor:not-allowed}.debug-panel p{margin:12px 0 0;color:#afc0c5;font-size:11px;line-height:1.5}.debug-panel-message{margin-top:12px;padding:9px 11px;border-left:3px solid #e8a13d;background:#253541;color:#f5e0b7;font-size:12px;line-height:1.45}.auth-card{margin-bottom:56px}.catalog-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.catalog-heading h2{font-size:31px;margin:9px 0 0}.catalog-count{color:#708579;font-size:12px;font-weight:800;background:#e8f4ee;border:1px solid #d8e9df;border-radius:99px;padding:9px 14px;white-space:nowrap}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{min-width:0;padding:0;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 13px 35px #244e3e0b;transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-4px);box-shadow:0 22px 46px #244e3e16}.course-card-live{border-color:#e8b794;box-shadow:0 15px 40px #e5a16c21}.course-card .course-art{height:132px;margin:0;border-radius:0;overflow:hidden;background:var(--art-background);color:var(--art-color)}.course-card-mint{--art-background:linear-gradient(135deg,#c8f5df,#7fdcbe);--art-color:#158d71}.course-card-blue{--art-background:linear-gradient(135deg,#d5ecff,#9ec9f5);--art-color:#4579bf}.course-card-violet{--art-background:linear-gradient(135deg,#e7ddff,#bea9ef);--art-color:#7653b6}.course-card-peach{--art-background:linear-gradient(135deg,#ffe3bf,#f5aa80);--art-color:#bd633f}.course-card-lime{--art-background:linear-gradient(135deg,#e6f5c4,#bedc82);--art-color:#698d33}.course-card-yellow{--art-background:linear-gradient(135deg,#fff0ba,#f9d476);--art-color:#ad8124}.course-card .course-art .course-art-number{position:absolute;top:15px;bottom:auto;left:20px;font-size:14px;font-weight:800;letter-spacing:.03em;opacity:.75}.course-card .course-art .course-art-symbol{position:relative;bottom:auto;left:auto;z-index:1;font-size:65px;font-weight:700;line-height:1;text-shadow:0 4px 14px #ffffff80}.course-card .course-art .course-art-orbit{position:absolute;width:190px;height:190px;right:-20px;left:auto;top:-95px;bottom:auto;border:2px solid #ffffff75;border-radius:50%;box-shadow:0 0 0 27px #ffffff24,0 0 0 56px #ffffff1d}.course-card-body{padding:22px 24px 24px;display:flex;flex-direction:column;flex:1}.course-card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8b9a9e;font-size:10px;font-weight:800;letter-spacing:.12em}.course-status{background:#f1f4f3;color:#748681;border-radius:99px;padding:7px 10px;letter-spacing:0;white-space:nowrap}.course-status-live{background:#e7f8ed;color:#19845b}.course-card h3{font-size:21px;line-height:1.25;min-height:53px;margin:18px 0 9px;letter-spacing:-.04em}.course-card p{font-size:13px;line-height:1.6;margin:0;color:#697b88}.course-card-footer{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.course-result{font-size:11px;font-weight:800;color:#558276;line-height:1.45}.course-card .primary{margin:0;min-width:0;padding:11px 13px;font-size:11px;gap:12px}.course-card .primary:disabled{opacity:.65}@media(max-width:1000px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.catalog-heading{align-items:start;flex-direction:column}.course-grid{grid-template-columns:1fr}.course-card h3{min-height:0}.course-card .course-art{height:116px}.catalog-count{white-space:normal}}.chat-panel{display:flex;flex-direction:column;height:720px;margin-top:24px;border:1px solid #dceae5;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 28px #244e3e0a}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-header{display:flex;align-items:center;gap:11px;padding:13px 17px;background:#fff;border-bottom:1px solid #e4eeea}.chat-avatar{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:11px;background:#16b88c;color:#fff;font-size:22px}.chat-header strong,.chat-header span:last-child{display:block}.chat-header strong{font-size:13px;color:#25453b}.chat-header div span{font-size:11px;color:#78958b;margin-top:2px}.chat-messages{display:flex;flex:1 1 auto;flex-direction:column;gap:14px;min-height:0;overflow-y:auto;padding:20px 17px;background:#f8fbfa;scrollbar-color:#c1d9d0 transparent}.chat-empty{margin:auto;color:#8aa198;text-align:center;font-size:13px;line-height:1.5}.chat-row{display:flex;flex:none;width:100%}.chat-row.student{justify-content:flex-end}.chat-row.assistant,.chat-row.system{justify-content:flex-start}.chat-bubble{max-width:min(88%,560px);padding:12px 15px;border-radius:15px;overflow-wrap:anywhere;box-shadow:0 2px 9px #1c463b0a}.chat-bubble.student{background:#18b98d;color:#fff;border-bottom-right-radius:5px}.chat-bubble.assistant{background:#fff;border:1px solid #dce9e4;color:#304b45;border-bottom-left-radius:5px}.chat-bubble.assistant.success{border-color:#addfc7;background:#f5fcf8}.chat-bubble.assistant.correction{border-color:#ecd3bc;background:#fffbf5}.chat-bubble.assistant.hint{background:#f5fafc;border-color:#d5e7ed}.chat-bubble.system{background:#fff1ee;border:1px solid #f1c7c0;color:#a34a3d;font-size:12px}.chat-bubble-label{display:flex;align-items:center;gap:7px;margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.04em;opacity:.78}.chat-result-icon{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#daf4e7;color:#188258;font-size:12px;font-weight:800;opacity:1}.chat-bubble.correction .chat-result-icon{background:#fff0dc;color:#ae7440}.chat-text{font-size:13px;line-height:1.6;white-space:pre-wrap}.chat-cursor{display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-2px;background:currentColor;animation:chat-caret .7s steps(1) infinite}.chat-bubble.pending{min-width:55px;padding:14px 16px}.typing-dots{display:flex;gap:4px}.typing-dots i{width:6px;height:6px;background:#8eb5a5;border-radius:50%;animation:chat-dot .9s infinite alternate}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}.chat-panel .chat-composer{display:flex;flex:0 0 430px;flex-direction:column;min-height:0;margin:0;padding:18px;border:0;border-top:1px solid #e1ece7;border-radius:0;background:#fff}.chat-composer textarea{margin-top:0;resize:none}.chat-composer .actions{flex:none;justify-content:flex-end;margin-top:12px}.chat-panel .chat-complete{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:16px 18px;border-top:1px solid #dceae5;background:#eef9f2;color:#17845f;font-size:13px;font-weight:800}.chat-panel .chat-composer .drag-builder{flex:0 0 116px;min-height:0;margin:0 0 12px;overflow:hidden}.chat-composer .drag-heading{margin:0 0 8px}.chat-composer .drag-palette{display:flex;height:80px;gap:8px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 6px;scrollbar-color:#b9d9cd transparent;scrollbar-width:thin}.chat-composer .drag-option{flex:0 0 218px;height:70px;min-height:0;padding:8px 9px;border-radius:10px;box-shadow:none;font-size:12px;line-height:1.3}.chat-composer .drag-option small{display:none}.lesson-card{min-width:0}.message-input{display:flex;flex:1 1 auto;flex-direction:column;width:100%;min-width:0;min-height:0;overflow-y:auto;padding:16px 18px;border:1px solid #cddfd8;border-radius:15px;background:#fbfdfc;transition:border-color .15s,box-shadow .15s;scrollbar-color:#b9d9cd transparent;scrollbar-width:thin}.message-input:focus-within,.message-input.drop-active{border-color:#16b88c;box-shadow:0 0 0 3px #16b88c1c}.message-input-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:12px;color:#578075;font-size:10px;font-weight:800;letter-spacing:.12em}.message-input-heading small{color:#8a9e98;font-size:11px;font-weight:600;letter-spacing:0}.message-input .drop-zone{flex:1;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;align-content:flex-start}.message-input .drop-placeholder{align-self:center;text-align:left;color:#8a9e98;font-size:13px;font-weight:500}.message-input .inline-prompt{flex:1;min-height:110px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.message-input .inline-prompt-heading{margin-bottom:7px;color:#77968b;font-size:11px;letter-spacing:0;font-weight:600}.message-input .inline-prompt-text{color:#314b45;font-size:14px;font-weight:500;line-height:2.6}.message-input .inline-prompt input:not([type=radio]){padding:5px 2px;border:0;border-bottom:2px solid #8acbb4;border-radius:0;background:transparent;box-shadow:none;color:#254c40;font-size:14px;font-weight:700}.message-input .inline-prompt input:not([type=radio]):focus{border-color:#16b88c;box-shadow:0 2px #16b88c33}.message-input textarea{flex:1;min-height:110px;width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;resize:none;font-size:14px}.message-input textarea:focus{border:0;box-shadow:none}.message-input textarea::placeholder{color:#8a9e98}.message-input .builder-fields{flex:1}.message-input .builder-fields label{margin-bottom:0}.message-input .prompt-preview{margin-top:14px}.message-input .choices{align-content:flex-start}.chat-composer .example-prompt{flex:none;max-height:90px;overflow-y:auto}.chat-panel{border:2px solid #aeb8e2;background:#f5f6fd;box-shadow:0 14px 34px #333f8524,0 0 0 5px #7788cb12}.chat-header{background:#2d3768;border-bottom-color:#455187}.chat-avatar{background:#7569de;box-shadow:0 0 0 2px #ffffff2b}.chat-header strong{color:#fff}.chat-header div span{color:#cbd2f4}.chat-messages{background:linear-gradient(155deg,#f0f2fc,#f8f8fd 70%);scrollbar-color:#b4bce1 transparent}.chat-empty{color:#717ba7}.chat-bubble{box-shadow:0 3px 12px #2c397412}.chat-bubble.student{background:#6456cc}.chat-bubble.assistant{border-color:#d7dcf0;color:#303b60}.chat-bubble.assistant.hint{background:#f3f1ff;border-color:#d8d1f5}.typing-dots i{background:#9186cd}.chat-panel .chat-composer{border-top-color:#d7dcf0;background:#f7f8ff}.chat-panel .chat-complete{border-top-color:#d7dcf0;background:#eff7f3}.chat-composer .drag-heading span{color:#535e97}.chat-composer .drag-heading small{color:#8289a8}.chat-composer .drag-palette{scrollbar-color:#b8bce0 transparent}.chat-composer .drag-option{border-color:#cdd3eb;background:#fff;color:#35416b}.chat-composer .drag-option:hover:not(:disabled){border-color:#8175db;background:#f5f3ff}.chat-composer .drag-option.used{border-color:#b8afea;background:#f0edff}.chat-composer .drag-handle{color:#7c70ce}.message-input{border-color:#c9d0ec;background:#fff;scrollbar-color:#b8bce0 transparent}.message-input:focus-within,.message-input.drop-active{border-color:#7165d8;box-shadow:0 0 0 3px #7165d82b}.message-input-heading{color:#59659c}.message-input-heading small,.message-input .drop-placeholder,.message-input textarea::placeholder{color:#858db0}.message-input .inline-prompt-heading{color:#737eaa}.message-input .inline-prompt-text,.message-input textarea{color:#303b60}.message-input .inline-prompt input:not([type=radio]){border-bottom-color:#a79ce5;color:#303b60}.message-input .inline-prompt input:not([type=radio]):focus{border-color:#7165d8;box-shadow:0 2px #7165d833}.chat-panel .answer-block{border-color:#b5ace8;background:#f6f4ff;color:#3f3b79}.chat-panel .answer-block button{background:#e5e1fa;color:#6458af}.chat-panel .block-number{background:#7165d8}.chat-panel .primary{background:#6456cc}.chat-panel .primary:hover:not(:disabled){background:#5142b7}.chat-panel .secondary{border-color:#c9c5eb;color:#5c50af;background:#fff}.chat-panel .secondary:hover{background:#f0edff}.chat-panel .example-prompt,.chat-panel .example-prompt summary{color:#5d6192}.chat-panel .example-prompt p{background:#eeeffa;color:#3d466d}.enemy-options .enemy-route-demo{position:relative;height:156px;margin-top:12px;overflow:hidden;border:1px solid #c8dbea;border-radius:14px;background:linear-gradient(#dceefb,#ecf7fb 72%,#e1f1e6 72%)}.enemy-route-runner{position:absolute;z-index:2;top:53px;left:10%;width:58px;height:58px;transform:translate(-50%);animation:enemy-patrol 3.2s ease-in-out infinite alternate}.enemy-route-runner img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #263d3b33)}.enemy-route-platform{position:absolute;z-index:1;height:17px;border-top:5px solid #67ca85;border-bottom:4px solid #78583e;border-radius:5px;background:repeating-linear-gradient(90deg,#a97d55 0,#a97d55 15px,#956a48 15px,#956a48 17px);box-shadow:0 5px #3d956025}.enemy-route-platform-main{right:8%;bottom:24px;left:8%}.enemy-route-platform-upper-left{top:18px;left:16%;width:23%}.enemy-route-platform-upper-right{top:31px;right:13%;width:19%}.enemy-route-caption{margin:10px 0 18px!important;color:#466d70!important;font-size:12px!important}.enemy-options-title{color:#326e5d;font-size:13px;font-weight:800}.enemy-option{cursor:pointer}.enemy-option:hover:not(:disabled){border-color:#60b793;background:#f0faf5}.enemy-option.selected{border:2px solid #20a879;background:#eaf8f0;box-shadow:0 0 0 2px #20a87918}.enemy-option:disabled{opacity:1;cursor:default}@keyframes enemy-patrol{0%{left:11%}to{left:89%}}@media(prefers-reduced-motion:reduce){.enemy-route-runner{left:50%;animation:none}}.jump-comparison{--jump-cycle:3.2s;margin:22px 0 24px;padding:18px;background:#f4f8fc;border:1px solid #dce7f0;border-radius:16px}.jump-comparison figcaption{margin-bottom:12px;color:#3d6071;font-size:13px;font-weight:800}.jump-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jump-case{min-width:0;overflow:hidden;border:1px solid #d7e3eb;border-radius:13px;background:#fff}.jump-case-title{display:block;padding:10px 13px;font-size:12px;font-weight:800}.jump-case-wrong .jump-case-title{background:#fff0e9;color:#aa543e}.jump-case-right .jump-case-title{background:#e8f7ef;color:#237852}.jump-scene{position:relative;height:230px;overflow:hidden;background:linear-gradient(#d8effd 0,#d8effd 78%,#edf6e8 78%)}.jump-hero{position:absolute;z-index:2;bottom:55px;left:50%;width:52px;height:52px;transform:translate(-50%);animation:jump-wrong var(--jump-cycle) linear infinite}.jump-case-right .jump-hero{animation-name:jump-right}.jump-hero .hero-portrait{width:52px;height:52px}.jump-platform{position:absolute;right:12%;bottom:41px;left:12%;height:14px;border-top:5px solid #63c883;border-bottom:3px solid #77553e;border-radius:5px;background:#a87951;box-shadow:0 4px #567a5140}.jump-keyboard{position:absolute;right:10px;bottom:7px;left:10px;display:flex;justify-content:center;align-items:center;color:#617789;font-size:9px;font-weight:800;letter-spacing:.06em}.jump-keyboard kbd{display:inline-block;min-width:64px;padding:4px 8px;border:1px solid #8196aa;border-bottom:3px solid #71869a;border-radius:6px;background:#fff;color:#354e65;text-align:center;font:inherit;animation:jump-space var(--jump-cycle) linear infinite}@keyframes jump-wrong{0%,8%,57%,to{transform:translate(-50%)}13%{transform:translate(-50%,-37px)}18%{transform:translate(-50%,-56px)}21.5%{transform:translate(-50%,-60px)}26%{transform:translate(-50%,-53px)}31%{transform:translate(-50%,-90px)}36%{transform:translate(-50%,-109px)}39.5%{transform:translate(-50%,-113px)}45%{transform:translate(-50%,-102px)}50%{transform:translate(-50%,-83px)}55%{transform:translate(-50%,-25px)}}@keyframes jump-right{0%,8%,35%,to{transform:translate(-50%)}13%{transform:translate(-50%,-37px)}18%{transform:translate(-50%,-56px)}21.5%{transform:translate(-50%,-60px)}26%{transform:translate(-50%,-53px)}30%{transform:translate(-50%,-35px)}}@keyframes jump-space{0%,7%,10%,25%,28%,to{transform:translateY(0);background:#fff;border-bottom-width:3px}8%,9%,26%,27%{transform:translateY(3px);background:#dfeaff;border-bottom-width:1px}}@media(max-width:600px){.jump-comparison{padding:14px}.jump-comparison-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.jump-hero,.jump-keyboard kbd{animation:none}}.task-dots button.bug-intro-nav{position:relative;margin:0 9px 0 7px;border-radius:50%;font-size:17px;background:#e5eaf8;color:#536eaa}.task-dots button.bug-intro-nav.locked{background:#f0f3f5;color:#aeb9bf}.task-dots button.bug-intro-nav.selected{outline-color:#6479b4}.task-dots button.bug-intro-nav:after{content:"";position:absolute;left:calc(100% + 5px);top:5px;width:1px;height:24px;background:#dce6e3}.task.task-bug-intro{margin-top:28px;padding:28px;border:1px solid #d9e5ee;border-radius:19px;background:linear-gradient(145deg,#f8fbff,#f4faf8)}.task-bug-intro h3{margin:9px 0 12px}.task-bug-intro>p{margin:0;color:#5c7280;font-size:14px}.bug-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.bug-example{min-width:0;overflow:hidden;border:1px solid #dbe6eb;border-radius:13px;background:#fff}.bug-example h4{display:flex;align-items:center;min-height:45px;margin:0;padding:9px 11px;color:#3d5b6b;font-size:12px;line-height:1.3}.bug-scene{position:relative;height:150px;overflow:hidden;background:linear-gradient(#dceffd 0,#dceffd 75%,#edf7ec 75%)}.bug-ground{position:absolute;right:0;bottom:20px;left:0;height:14px;border-top:5px solid #63c883;border-bottom:3px solid #77553e;background:#a87951}.bug-speed-hero,.bug-finish-hero{position:absolute;z-index:2;bottom:34px;left:6%;width:46px;height:46px}.bug-speed-hero{animation:bug-speed-run 1.25s linear infinite}.bug-speed-platform{position:absolute;right:9%;bottom:89px;left:9%;height:12px;border-top:4px solid #68c987;border-bottom:3px solid #77553e;border-radius:4px;background:#a87951}.bug-speed-enemy{position:absolute;z-index:2;bottom:101px;left:18%;width:34px;height:34px;animation:bug-enemy-patrol 3.6s linear infinite alternate}.bug-speed-enemy img{display:block;width:100%;height:100%;object-fit:contain}.bug-finish-hero{animation:bug-finish-run 4s ease-in-out infinite}.bug-speed-hero .hero-portrait,.bug-finish-hero .hero-portrait{width:46px;height:46px}.bug-trap-roof,.bug-trap-wall{position:absolute;z-index:2;border:3px solid #66778b;border-radius:4px;background:#8999ac}.bug-trap-roof{top:59px;right:16%;left:16%;height:15px}.bug-trap-hero{position:absolute;z-index:3;bottom:91px;left:50%;width:46px;height:46px;transform:translate(-50%)}.bug-trap-hero .hero-portrait{width:46px;height:46px}.bug-trap-wall{bottom:34px;width:14px;height:57px}.bug-trap-left{left:16%}.bug-trap-right{right:16%}.bug-trap-enemy{position:absolute;z-index:1;bottom:34px;left:calc(16% + 14px);width:45px;height:45px;animation:bug-trapped 2.2s linear infinite}.bug-trap-enemy img{display:block;width:100%;height:100%;object-fit:contain}.bug-trap-hit{position:absolute;z-index:3;bottom:66px;color:#ffe68a;font-size:22px;line-height:1;text-shadow:0 0 5px #ffb850;opacity:0}.bug-trap-hit-left{left:calc(16% + 9px);animation:bug-hit-left 2.2s linear infinite}.bug-trap-hit-right{right:calc(16% + 9px);animation:bug-hit-right 2.2s linear infinite}.bug-finish-flag{position:absolute;right:8%;bottom:34px;font-size:32px;line-height:1}.bug-finish-result{position:absolute;z-index:3;top:16px;left:50%;padding:7px 9px;border-radius:7px;background:#a6464dee;color:#fff;font-size:11px;letter-spacing:.04em;white-space:nowrap;transform:translate(-50%);animation:bug-finish-loss 4s linear infinite}.task-bug-intro .bug-intro-next{font-weight:700;color:#3f6171}.bug-intro-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:22px}@keyframes bug-speed-run{0%{left:-15%}to{left:100%}}@keyframes bug-enemy-patrol{0%{left:18%}to{left:64%}}@keyframes bug-trapped{0%,8%{left:calc(16% + 14px);transform:translate(-3px)}12%{left:calc(16% + 14px);transform:translate(3px)}42%{left:calc(84% - 59px);transform:translate(-3px)}46%{left:calc(84% - 59px);transform:translate(3px)}50%{left:calc(84% - 59px);transform:translate(-3px)}55%{left:calc(84% - 59px);transform:translate(3px)}60%{left:calc(84% - 59px);transform:translate(-3px)}90%{left:calc(16% + 14px);transform:translate(3px)}95%{left:calc(16% + 14px);transform:translate(-3px)}to{left:calc(16% + 14px);transform:translate(3px)}}@keyframes bug-hit-left{0%,5%,92%,97%{opacity:1;transform:scale(1.2)}10%,88%,to{opacity:0;transform:scale(.7)}}@keyframes bug-hit-right{0%,40%,59%,to{opacity:0;transform:scale(.7)}45%,52%{opacity:1;transform:scale(1.2)}}@keyframes bug-finish-run{0%,12%{left:5%}65%,to{left:67%}}@keyframes bug-finish-loss{0%,60%{opacity:0}68%,90%{opacity:1}to{opacity:0}}@media(max-width:700px){.bug-examples{grid-template-columns:1fr}.bug-example h4{min-height:0}.task.task-bug-intro{padding:21px}}@media(prefers-reduced-motion:reduce){.bug-speed-hero,.bug-speed-enemy,.bug-trap-enemy,.bug-trap-hit,.bug-finish-hero,.bug-finish-result{animation:none}.bug-finish-result{opacity:1}}.bonus-options{margin:22px 0 24px;padding:18px;border:1px solid #dce5ed;border-radius:16px;background:#f7faff}.bonus-options figcaption{margin-bottom:14px;color:#3d6071;font-size:13px;font-weight:800}.bonus-option-section+.bonus-option-section{margin-top:18px}.bonus-option-section h4{margin:0 0 9px;color:#557187;font-size:12px;font-weight:800}.bonus-shapes,.bonus-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:8px}.bonus-shape-card,.bonus-color-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:90px;padding:8px 4px;border:1px solid #dfe8ef;border-radius:11px;background:#fff;color:#3b586d;text-align:center;font-size:11px;font-weight:800}.bonus-shape-art{display:block;width:62px;height:62px;flex:none;background-repeat:no-repeat;image-rendering:pixelated}.bonus-shape-star,.bonus-shape-crystal,.bonus-shape-orb{background-image:url(/assets/game-atlas.png);background-size:400% 200%}.bonus-shape-star{background-position:0 100%}.bonus-shape-crystal{background-position:100% 0}.bonus-shape-orb{background-position:33.333% 100%}.bonus-shape-heart,.bonus-shape-key,.bonus-shape-potion,.bonus-shape-lightning{background-image:url(/assets/bonus-atlas.png);background-size:200% 200%}.bonus-shape-heart{background-position:0 0}.bonus-shape-key{background-position:100% 0}.bonus-shape-potion{background-position:0 100%}.bonus-shape-lightning{background-position:100% 100%}.bonus-color-card{min-height:65px}.bonus-color-swatch{display:block;width:32px;height:32px;border:3px solid #ffffffb8;border-radius:50%;box-shadow:inset -5px -6px #21395426,0 0 0 1px #58728c36,0 4px 8px #263d3b1a}.bonus-effects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bonus-effect-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:9px 5px 10px;border:1px solid #dfe8ef;border-radius:11px;background:#fff;text-align:center}.bonus-effect-card>strong{color:#3b586d;font-size:11px}.bonus-effect-card>small{margin-top:3px;color:#718694;font-size:10px}.bonus-effect-art{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:70px;overflow:hidden}.bonus-effect-art .hero-portrait{width:46px;height:46px}.bonus-effect-art .bonus-shape-art{width:44px;height:44px}.bonus-effect-art strong{color:#e79f28;font-size:16px;text-shadow:0 1px 0 #fff}.bonus-effect-coin{width:42px;height:42px;background:url(/assets/game-atlas.png) 66.667% 0 / 400% 200% no-repeat;image-rendering:pixelated}.bonus-effect-heal .bonus-effect-art strong{color:#df5470}.bonus-speed-lines{color:#62a8db;font-size:37px;font-weight:800;line-height:1;animation:bonus-speed-lines 1s ease-in-out infinite}.bonus-effect-speed .hero-portrait{position:relative;animation:bonus-speed-hero 1s ease-in-out infinite}.bonus-shield-ring,.bonus-invincible-glow{display:grid;place-items:center;width:62px;height:62px;border-radius:50%}.bonus-shield-ring{border:4px solid #5cc7e8;background:#dff8ff;box-shadow:0 0 0 3px #5cc7e84a;animation:bonus-shield 1.8s ease-in-out infinite}.bonus-invincible-glow{background:#fff1b7;box-shadow:0 0 0 3px #ffe083,0 0 17px 7px #f5c9518c;animation:bonus-glow 1.5s ease-in-out infinite}.bonus-jump-arrows{position:absolute;top:0;color:#8369d5;font-size:22px;font-weight:800;letter-spacing:10px}.bonus-jump-hero{position:absolute;bottom:0;animation:bonus-double-jump 2s ease-in-out infinite}@keyframes bonus-speed-lines{50%{transform:translate(-5px);opacity:.4}}@keyframes bonus-speed-hero{0%,to{left:0}50%{left:9px}}@keyframes bonus-shield{50%{box-shadow:0 0 0 6px #5cc7e835}}@keyframes bonus-glow{50%{box-shadow:0 0 0 5px #ffe083,0 0 22px 10px #f5c951b5}}@keyframes bonus-double-jump{0%,8%,95%,to{transform:translateY(0)}25%{transform:translateY(-18px)}43%{transform:translateY(-9px)}61%{transform:translateY(-26px)}80%{transform:translateY(-12px)}}@media(max-width:700px){.bonus-options{padding:14px}.bonus-effects{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.bonus-speed-lines,.bonus-effect-speed .hero-portrait,.bonus-shield-ring,.bonus-invincible-glow,.bonus-jump-hero{animation:none}}@keyframes chat-caret{50%{opacity:0}}@keyframes chat-dot{to{opacity:.25;transform:translateY(-3px)}}@media(max-width:600px){.chat-panel{height:760px}.chat-messages{padding:15px 12px}.chat-bubble{max-width:94%}.chat-panel .chat-composer{flex-basis:490px;padding:14px}.chat-panel .chat-composer .drag-builder{flex-basis:132px}.chat-composer .drag-heading{align-items:flex-start;flex-direction:column;gap:2px}.chat-composer .drag-option{flex-basis:190px}.chat-composer .actions>*{flex:1 1 100%;justify-content:center}}@media(max-width:600px){.message-input{padding:14px}.message-input-heading{align-items:flex-start;flex-direction:column;gap:3px}.message-input .inline-prompt-text{font-size:14px;line-height:1.5}.message-input .inline-prompt input:not([type=radio]){display:block;width:100%!important;min-width:0;margin:4px 0 5px}}@media(prefers-reduced-motion:reduce){.chat-cursor,.typing-dots i{animation:none}}.lesson-card .task-dots{align-items:center;margin-top:25px}.task-dots button.intro-nav{position:relative;margin-right:17px;border-radius:50%;background:#ecf2fa;color:#55749b;font-size:17px}.task-dots button.intro-nav.done{background:#e4f5ee;color:#16845f}.task-dots button.intro-nav.active{background:#567da0;color:#fff}.task-dots button.intro-nav:after{content:"";position:absolute;left:calc(100% + 10px);top:5px;width:1px;height:24px;background:#dce6e3}.task.task-intro{margin-top:28px;padding:28px 30px;border:1px solid #dceae5;border-radius:19px;background:linear-gradient(145deg,#f8fcfa,#f5f9ff)}.task-intro .card-kicker{color:#5a927f}.task-intro h3{margin-bottom:20px}.intro-points{list-style:none;display:grid;gap:14px;padding:0;margin:0}.intro-points li{display:flex;align-items:flex-start;gap:11px;color:#49635c;font-size:14px;line-height:1.55}.intro-points strong{color:#274c41}.intro-point-icon{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:8px;background:#e6f3ed;font-size:14px}.task-intro .intro-step-actions{margin-top:27px}.task-intro .primary{min-width:210px}.compact-progress{margin-bottom:26px;padding:11px 13px 12px;border:1px solid #e3eee9;border-radius:12px;background:#f8fcfa;text-align:left}.compact-progress>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px;color:#68877b;font-size:11px;font-weight:800}.compact-progress strong{color:#16875f;font-size:12px}.compact-progress-track{height:5px;border-radius:20px;background:#e1eee8;overflow:hidden}.compact-progress-track span{display:block;height:100%;border-radius:20px;background:#1ac194;transition:width .25s}@media(max-width:600px){.task.task-intro{padding:22px 19px}.intro-points li{font-size:13px}.compact-progress{margin-bottom:20px}}
