@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#fbf7ed;--paper:#fffdf7;--ink:#303642;--muted:#7f8790;--border:#e9dfcf;--emerald:#29876b;--emerald-dark:#1a6952;--mint:#e4f4e8;--gold:#e9a63e;--sand:#ffe7af;--lilac:#efecfc;--shadow:0 14px 42px rgba(66,53,34,.08);font-family:'Nunito','DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 90% 4%,#fbe6c4aa,transparent 31%),linear-gradient(150deg,#fffaf0,#f6f2e6 70%,#f4f4eb);font-size:15px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--emerald)}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a2d1fb;outline-offset:2px}h1,h2,h3,p{margin-top:0}small{font-size:12px}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh;max-width:1600px;margin:auto}.sidebar{border-right:1px solid #e7decf;background:#fffdf8b8;padding:26px 19px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:33px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:18px;font-weight:900;letter-spacing:-.7px}.brand-icon{display:grid;place-items:center;width:49px;height:49px;background:#f1c879;border:3px solid #fff1d4;border-radius:17px;font-size:31px;box-shadow:0 4px 0 #ddb066}.brand strong{display:block;line-height:1.05}.brand small{display:block;color:#a08455;font-size:10px;letter-spacing:2.2px;margin-top:5px;font-weight:900}.sidenav{display:flex;flex-direction:column;gap:10px}.nav-button{display:flex;gap:12px;align-items:center;padding:13px 14px;border:1px solid transparent;border-radius:16px;color:#656b6c;background:none;font-weight:900;text-align:left;width:100%;font-size:14px}.nav-button .navicon{font-size:23px}.nav-button:hover{background:#f9edd7}.nav-button.active{color:var(--emerald-dark);background:#e6f4e8;border-color:#bfe2ca;box-shadow:inset 0 -3px #c6e8ce}.sidebar-story{background:#fbefd8;border:1px solid #e8d7b4;border-radius:20px;padding:20px;margin-top:auto;position:relative;overflow:hidden}.sidebar-story h3{font-size:15px;margin:0 0 7px}.sidebar-story p{font-size:12px;color:#776951;line-height:1.5;margin:0 0 10px}.sidebar-story .story-star{font-size:24px}.sidebar-story::after{content:'🌿';font-size:56px;opacity:.2;position:absolute;right:-10px;bottom:-23px}.story-progress{height:9px;background:#e9d8b2;border-radius:30px;overflow:hidden}.story-progress span{display:block;height:100%;background:#c88d47;border-radius:30px}.sidebar-user{display:flex;align-items:center;gap:11px;font-weight:900;font-size:13px}.user-avatar{width:39px;height:39px;display:grid;place-items:center;background:#e8e1fb;border:2px solid #dbcef5;border-radius:15px;font-size:22px}.main{min-width:0;padding:25px 32px 90px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:1080px;margin:0 auto 26px}.eyebrow{color:#98978b;font-size:10px;font-weight:900;letter-spacing:2.1px;text-transform:uppercase}.topbar h1{font-size:24px;letter-spacing:-1px;margin:3px 0 0;font-weight:900}.stats-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stat-pill{display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid #eee2d2;border-radius:14px;background:#fffdf8;box-shadow:0 3px 10px #ae98701c;font-weight:900;font-size:14px}.stat-pill .si{font-size:21px}.stat-pill.gold{background:#fff7e3;color:#94621c;border-color:#f5db9c}.stat-pill.flame{background:#fff4ed;color:#c77a45}.content{max-width:1080px;margin:auto}.hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:260px;background:linear-gradient(120deg,#1d846b,#46a17a);position:relative;overflow:hidden;border-radius:30px;padding:36px 38px;color:white;box-shadow:0 14px 30px #2b82664d}.hero::before{content:'';position:absolute;width:390px;height:390px;border:1px solid #ffffff2d;border-radius:50%;right:-20px;top:20px;box-shadow:0 0 0 45px #ffffff09,0 0 0 95px #ffffff08}.hero::after{content:'✦   ✧   ✦';font-size:22px;color:#ffde8c;position:absolute;right:25px;top:22px;letter-spacing:26px}.hero-copy{z-index:2;align-self:center}.hero-tag{background:#ffffff32;border:1px solid #ffffff4a;font-size:11px;display:inline-block;padding:6px 12px;border-radius:30px;font-weight:900;letter-spacing:1px;margin-bottom:13px}.hero h2{font-size:clamp(25px,3vw,39px);line-height:1.16;letter-spacing:-1.5px;margin:0 0 12px;max-width:500px}.hero p{line-height:1.55;max-width:460px;color:#e5fae8;margin-bottom:22px;font-size:14px}.hero-illustration{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:center}.donkey-hero{width:205px;max-width:100%;filter:drop-shadow(0 14px 8px #11543b55);z-index:2;animation:float 4s ease-in-out infinite}.dunes{position:absolute;bottom:-50px;left:-70px;right:-80px;background:#f2c879;height:110px;border-radius:50% 50% 0 0;z-index:0}.plant-left{font-size:63px;position:absolute;bottom:8px;left:-11px;z-index:1}.plant-right{font-size:57px;position:absolute;bottom:6px;right:-20px;z-index:1}@keyframes float{50%{transform:translateY(-7px)}}.btn{border:none;display:inline-flex;align-items:center;gap:9px;justify-content:center;border-radius:14px;padding:13px 19px;font-weight:900;font-size:14px;box-shadow:inset 0 -4px #00000018;transition:transform .12s,filter .12s}.btn:hover{filter:brightness(1.045);transform:translateY(-1px)}.btn:active{transform:translateY(2px);box-shadow:none}.btn-primary{background:#f5ba53;color:#4b3a24}.btn-green{background:#2e9877;color:white}.btn-ghost{background:#f5efe4;color:#495447}.btn-white{background:white;color:#216e55}.btn-sm{padding:9px 13px;font-size:12px;border-radius:12px}.btn-wide{width:100%}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:19px 0 30px}.overview-card{background:#fffdf9;border:1px solid var(--border);border-radius:20px;padding:18px;display:flex;align-items:center;gap:13px;box-shadow:0 5px 17px #7861450b}.overview-icon{display:grid;place-items:center;font-size:27px;width:49px;height:49px;border-radius:15px;background:#e8f6ef}.overview-card:nth-child(2) .overview-icon{background:#fff2dd}.overview-card:nth-child(3) .overview-icon{background:#edeafa}.overview strong{display:block;font-size:19px;font-weight:900}.overview small{color:#94918a;font-weight:800}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:22px 0 15px;gap:15px}.section-heading h2{margin:0 0 4px;font-size:22px;letter-spacing:-.5px}.section-heading p{margin:0;color:#899089;font-size:13px}.world-switch{display:flex;gap:9px;overflow:auto;padding:3px 2px 13px;scrollbar-width:thin}.world-chip{flex-shrink:0;display:flex;align-items:center;gap:8px;background:#fffdf9;border:1px solid var(--border);padding:10px 13px;border-radius:14px;color:#6a6962;font-weight:900;font-size:12px}.world-chip.active{background:#e6f3e9;color:#197658;border-color:#b6dec8}.world-chip:hover{border-color:#9ac9ab}.world-chip .world-emoji{font-size:20px}.path-wrapper{display:grid;grid-template-columns:minmax(0,1fr) 267px;gap:19px;align-items:start}.path-list{display:flex;flex-direction:column;gap:25px}.region-card{position:relative;border:1px solid #e9deca;border-radius:26px;background:#fffefa;overflow:hidden;box-shadow:var(--shadow)}.region-head{position:relative;min-height:132px;padding:22px 23px;background:linear-gradient(110deg,var(--region-a),var(--region-b));overflow:hidden}.region-head::after{content:'☀';position:absolute;right:28px;top:12px;color:#ffffff69;font-size:75px}.region-title{color:#fff;font-size:20px;font-weight:900;position:relative;z-index:1}.region-meta{font-size:12px;color:#fffde4;opacity:.92;line-height:1.5;position:relative;z-index:1;max-width:72%}.region-icon{font-size:37px;margin-bottom:5px;position:relative;z-index:1}.region-head .region-complete{font-size:10px;font-weight:900;position:absolute;right:17px;bottom:17px;background:#ffffffb0;border-radius:25px;padding:6px 10px;color:#375546;z-index:2}.steps{position:relative;padding:15px 17px 25px;min-height:600px;background:radial-gradient(ellipse at 50% 20%,#fff7e7 0,transparent 70%)}.path-svg{position:absolute;inset:10px 0;width:100%;height:calc(100% - 20px);pointer-events:none;overflow:visible}.path-svg path{fill:none;stroke:#e9dcc7;stroke-width:6;stroke-dasharray:6 10;stroke-linecap:round}.step{height:90px;position:relative;display:block}.step-node{--x:50%;position:absolute;top:10px;left:var(--x);transform:translateX(-50%);width:67px;height:67px;border:5px solid #fff;box-shadow:0 7px 0 #cbbfaa,0 10px 22px #58482d20;border-radius:50%;display:grid;place-items:center;background:#eee6d8;color:#aaa390;font-size:21px;font-weight:1000;z-index:2}.step-node.completed{background:#72c298;color:#fff;box-shadow:0 6px 0 #388564,0 12px 22px #53966b2c}.step-node.current{background:#ffc86e;color:#81501d;box-shadow:0 6px 0 #c18c3d,0 12px 22px #caa35544;animation:pulseNode 2s infinite}.step-node.locked{background:#ebe6db;color:#a69f94}.step-node .step-num{font-size:18px}.step-node .step-star{position:absolute;font-size:13px;top:-7px;right:-4px;background:#fff3d2;border-radius:50%;padding:3px;border:1px solid white}.step-node .step-lock{font-size:18px}@keyframes pulseNode{50%{box-shadow:0 6px 0 #c18c3d,0 12px 23px #caa35588,0 0 0 12px #ffd27c39}}.step-caption{position:absolute;top:29px;left:calc(var(--x) + 40px);width:125px;color:#6e706c;font-size:11px;font-weight:800;text-align:left}.step-caption.side-left{left:auto;right:calc(100% - var(--x) + 39px);text-align:right}.step-caption.current{color:#a56b2f}.step-caption b{display:block;color:#455e4e;font-size:12px}.map-aside{position:sticky;top:18px;display:flex;flex-direction:column;gap:16px}.side-card{background:#fffdf9;border:1px solid var(--border);border-radius:22px;padding:22px;box-shadow:0 8px 20px #806a4c0c}.side-card .side-title{font-weight:900;font-size:16px;margin-bottom:10px}.donkey-small{width:125px;display:block;margin:0 auto}.speech-bubble{position:relative;border-radius:15px;background:#f2f8ef;padding:13px;color:#3b725b;font-size:13px;line-height:1.55;font-weight:800;margin:8px 0 0}.side-card .mission{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800;border-top:1px solid #eee5d9;padding:11px 0}.side-card .mission:last-child{padding-bottom:0}.mission .mi{font-size:21px}.reward-line{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.reward-line span{font-size:11px;color:#84857c}.reward-line strong{color:#ac7631}.page-intro{border-radius:27px;background:linear-gradient(105deg,#fff4dd,#f8ecd6);border:1px solid #f0dfbd;padding:31px;margin-bottom:20px;display:flex;justify-content:space-between;gap:30px;align-items:center;overflow:hidden}.page-intro h2{font-size:28px;letter-spacing:-1px;margin:3px 0 9px}.page-intro p{color:#8d7451;max-width:600px;line-height:1.55;font-size:14px;margin:0}.page-intro .big-icon{font-size:91px;filter:drop-shadow(0 13px 10px #a37b3e30)}.oasis-scene{border:1px solid #f3dfb0;min-height:270px;border-radius:28px;background:linear-gradient(#c8e9ee 0 55%,#f8d99a 56% 100%);position:relative;overflow:hidden;display:flex;align-items:end;justify-content:center;padding-bottom:36px}.oasis-scene:before{content:'☀️';position:absolute;right:45px;top:22px;font-size:53px}.oasis-scene:after{content:'';position:absolute;bottom:-70px;left:-10%;height:165px;width:120%;background:#eac581;border-radius:50%}.oasis-items{position:relative;z-index:1;display:flex;align-items:end;justify-content:center;gap:13px;flex-wrap:wrap}.oasis-items span{font-size:53px;display:inline-block;filter:drop-shadow(0 10px 4px #9f7b563e)}.scene-donkey{z-index:2;position:absolute;bottom:23px;right:12%;width:120px}.tip{font-size:12px;color:#8b877c;line-height:1.55}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shop-item{background:#fffefa;border:1px solid #e8ddca;padding:18px;border-radius:22px;text-align:center;box-shadow:0 6px 18px #806a4c0b}.shop-item .item-emoji{font-size:54px;display:block;margin:9px auto 8px}.shop-item h3{font-size:15px;margin-bottom:5px}.shop-item p{min-height:34px;font-size:12px;color:#92938b;line-height:1.4;margin-bottom:11px}.item-price{display:flex;justify-content:center;gap:5px;align-items:center;font-weight:900;color:#b17c28;margin:6px 0 13px}.treasure-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.treasure-card{background:#fffdf8;border:1px solid var(--border);border-radius:20px;padding:20px;text-align:center}.treasure-card.lock{filter:grayscale(.95);opacity:.53}.treasure-card .medal{font-size:49px}.treasure-card h3{font-size:15px;margin:10px 0 4px}.treasure-card p{color:#918e85;font-size:12px;margin:0}.profile-box{background:#fffdf9;border:1px solid var(--border);padding:25px;border-radius:22px;max-width:650px}.profile-box label{font-size:12px;font-weight:900;color:#686a64;display:block;margin:16px 0 6px}.text-field{width:100%;padding:13px 14px;border:1px solid #d8d9cc;border-radius:13px;outline:0;background:white;color:#303642}.text-field:focus{border-color:#5aae8f;box-shadow:0 0 0 3px #5aae8f22}.profile-footer{border-top:1px solid var(--border);padding-top:18px;margin-top:22px}.mobile-nav{display:none}.splash{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);display:grid;place-items:center;gap:8px;color:var(--emerald);white-space:nowrap}.splash-icon{font-size:75px}.splash strong{font-weight:900;font-size:23px}.splash small{color:var(--muted)}
/* Modal i lekcje */
#overlay:empty{display:none}.modal-backdrop{position:fixed;inset:0;background:#252d2abb;backdrop-filter:blur(7px);z-index:50;display:flex;justify-content:center;align-items:center;padding:17px;overflow-y:auto}.modal{width:min(100%,570px);max-height:min(95dvh,850px);background:#fffdfa;border-radius:28px;box-shadow:0 25px 100px #121e18aa;overflow-y:auto;position:relative;border:1px solid #f6e9d1}.modal-header{padding:23px 26px 0}.modal-body{padding:22px 27px 27px}.modal .close{position:absolute;right:17px;top:16px;width:35px;height:35px;border:none;border-radius:11px;background:#f4eee1;color:#6c736d;font-size:21px;display:grid;place-items:center;z-index:4}.auth-logo{font-size:54px;margin-bottom:12px}.auth-header h2{font-size:29px;letter-spacing:-1px;margin:0 0 5px}.auth-header p{color:#94928b;margin-bottom:20px;font-size:13px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;border-radius:15px;background:#f3eddf;padding:5px;margin-bottom:13px}.tabs button{border:0;border-radius:12px;padding:10px;background:transparent;font-weight:900;color:#827d71}.tabs button.active{background:#fff;color:#327d61;box-shadow:0 3px 12px #55452e12}.auth-form label{font-weight:900;color:#565b55;font-size:12px;display:block;margin:13px 0 6px}.auth-form .btn{margin-top:20px}.form-error{border-radius:11px;padding:10px 13px;background:#fff1f0;color:#c75448;font-size:13px;margin:12px 0}.demo-banner{background:#ffefca;border:1px solid #efcf90;padding:12px 16px;border-radius:14px;color:#836134;font-size:12px;line-height:1.5;margin-top:14px}.lesson-header{background:linear-gradient(120deg,#237d67,#449d75);color:white;padding:24px 26px 19px;position:relative}.lesson-header .close{background:#ffffff29;color:white}.lesson-head-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lesson-head-top .tag{background:#ffffff2a;border:1px solid #ffffff48;padding:5px 10px;border-radius:50px;font-size:11px;font-weight:900}.lesson-header h2{font-size:22px;margin:13px 30px 6px 0;line-height:1.3}.lesson-header p{font-size:12px;opacity:.88;line-height:1.5;margin-bottom:12px}.phase-track{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:16px}.phase-track span{height:9px;border-radius:10px;background:#ffffff42}.phase-track span.finished{background:#fed478}.phase-track span.active{background:white}.lesson-view{padding:24px 25px 26px}.phase-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.phase-title h3{font-size:19px;margin-bottom:7px}.phase-clock{background:#fbf0dd;border:1px solid #f0dfbb;color:#9d722f;font-weight:900;font-size:11px;padding:7px 10px;border-radius:12px;white-space:nowrap}.phase-desc{color:#7e857d;font-size:13px;line-height:1.6}.edu-panel{border:1px solid #e9dfcf;border-radius:17px;padding:19px;background:#fffaf0;margin:18px 0}.edu-panel.soft{background:#f2f9f1;border-color:#d5e7d5}.edu-panel .panel-kicker{font-weight:900;font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#9b7a40}.edu-panel .edu-fact{font-size:15px;line-height:1.65;margin-top:11px}.hebrew{direction:rtl;unicode-bidi:isolate;font-family:'Times New Roman','Noto Serif Hebrew','David',serif;line-height:1.7}.hebrew-example{display:block;text-align:center;font-size:38px;padding:17px 6px 4px;letter-spacing:1px}.translation{text-align:center;color:#8e846e;font-size:13px;font-weight:800;margin-bottom:5px}.choice-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.choice{border:2px solid #ece4d9;background:#fffdf8;border-radius:15px;min-height:61px;padding:13px;font-weight:900;color:#515851;transition:.15s;font-size:14px}.choice:enabled:hover{background:#f6f6e7;border-color:#bed0bd}.choice.correct{background:#e5f6e8;border-color:#58af80;color:#26714f}.choice.wrong{background:#ffedec;border-color:#e99b93;color:#b54f40}.choice.hebrew{font-size:24px}.answer-note{padding:13px;border-radius:14px;font-size:13px;margin:13px 0;line-height:1.55}.answer-note.ok{background:#e8f4e7;color:#2e7a50}.answer-note.bad{background:#fff0e2;color:#a76724}.question-title{font-size:17px;font-weight:900;line-height:1.45;margin:17px 0 9px}.quiz-kicker{font-size:11px;text-transform:uppercase;color:#9b906e;font-weight:900;letter-spacing:1px}.quiz-counter{display:flex;gap:5px;margin:9px 0 14px}.quiz-counter span{height:7px;border-radius:20px;background:#eee4d4;flex:1}.quiz-counter span.done{background:#5caf88}.quiz-counter span.now{background:#e9a941}.source-note{border-left:4px solid #eab55b;padding:10px 13px;background:#fff4de;color:#726249;font-size:12px;border-radius:0 12px 12px 0;margin:13px 0;line-height:1.55}.source-note strong{display:block;color:#755b37}.self-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.rating{padding:12px 6px;border-radius:13px;background:#fffdf8;border:2px solid #e9e3d8;color:#6d756d;font-size:12px;font-weight:900}.rating.selected{background:#e6f4e9;border-color:#67b78e;color:#227553}.note-area{width:100%;resize:vertical;min-height:95px;padding:13px;border:1px solid #e3dbd0;background:white;border-radius:12px;direction:auto}.source-task{font-size:14px;font-weight:800;line-height:1.6;color:#4e5e50}.letter-tray{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin:16px auto}.letter-pill{width:65px;height:68px;border:2px solid #e4ddcc;border-radius:16px;background:#fff;display:grid;place-items:center;font-size:33px;box-shadow:0 4px 0 #e6d8c5}.letter-pill.active{border-color:#58b087;background:#eaf7ea;box-shadow:0 4px 0 #a0d4ae}.letter-name{display:block;text-align:center;font-size:14px;color:#43785c;font-weight:900;margin:8px 0}.quiz-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:19px}.quiz-footer .btn{flex:1}.source-references{background:#f5f2ed;padding:10px 12px;border-radius:11px;color:#777a72;font-size:11px;font-weight:800;margin-top:12px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#293b31;color:white;padding:12px 20px;border-radius:15px;font-weight:900;font-size:13px;z-index:90;box-shadow:0 15px 55px #0004;max-width:90vw;text-align:center;animation:toastIn .25s ease}@keyframes toastIn{from{opacity:0;transform:translate(-50%,15px)}}.lesson-finish{text-align:center;padding:14px 0}.lesson-finish .trophy{font-size:77px}.lesson-finish h3{font-size:24px;margin:14px 0 7px}.lesson-finish p{color:#7b8279;line-height:1.6}.reward-box{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff2d9;padding:18px;border:1px solid #ead09b;border-radius:17px;font-size:22px;font-weight:1000;color:#a07131;margin:16px 0}.help-line{font-size:11px;color:#928d83;margin-top:12px;text-align:center}.map-guide{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;font-size:10px;color:#8a8b81}.map-guide span{display:flex;gap:5px;align-items:center}.map-guide i{width:11px;height:11px;border-radius:50%;display:inline-block}.empty-card{padding:24px;background:#fffefa;border:1px solid var(--border);border-radius:18px;color:#8c8980}.pill-label{display:inline-flex;gap:6px;align-items:center;font-size:11px;font-weight:900;padding:5px 10px;border-radius:30px;background:#edf4e9;color:#387357}.daily-banner{background:#fffefa;border:1px dashed #e5d6bc;padding:12px 17px;border-radius:16px;margin:15px 0 22px;font-size:12px;color:#88806e;line-height:1.5}.muted{color:#94948b}.reveal{font-weight:900;color:#31775c}.card-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:12px}
@media(min-width:1300px){.main{padding:35px 47px 90px}.path-wrapper{grid-template-columns:minmax(0,1fr) 295px}}
@media(max-width:1050px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:18px 12px}.main{padding:23px 19px 80px}.brand{font-size:15px}.path-wrapper{grid-template-columns:1fr}.map-aside{display:none}.hero{grid-template-columns:1fr 185px}.hero-illustration .donkey-hero{width:160px}.shop-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.shell{display:block}.sidebar{display:none}.main{padding:18px 13px 105px}.topbar{margin-bottom:18px}.topbar h1{font-size:20px}.topbar .eyebrow{font-size:9px}.stats-line{gap:5px}.stat-pill{font-size:11px;padding:7px 8px;border-radius:11px;gap:4px}.stat-pill .si{font-size:15px}.hero{grid-template-columns:minmax(0,1fr) 110px;min-height:233px;border-radius:24px;padding:20px 18px}.hero h2{font-size:24px;letter-spacing:-1px}.hero p{font-size:12px;margin-bottom:13px}.hero-tag{font-size:9px}.hero-illustration .donkey-hero{width:117px}.hero .plant-left{font-size:30px}.hero .plant-right{font-size:29px}.hero .dunes{bottom:-38px}.hero::after{font-size:11px;letter-spacing:7px}.btn{padding:11px 13px;font-size:12px}.overview{gap:8px;margin:13px 0 20px}.overview-card{padding:9px 8px;border-radius:14px;gap:6px;display:block;text-align:center}.overview-icon{font-size:20px;width:33px;height:33px;border-radius:10px;margin:auto auto 4px}.overview strong{font-size:16px}.overview small{font-size:10px}.section-heading h2{font-size:19px}.section-heading p{font-size:12px}.map-guide{display:none}.world-chip{padding:8px 10px;font-size:10px;gap:5px}.world-chip .world-emoji{font-size:16px}.path-list{gap:14px}.region-card{border-radius:23px}.region-head{min-height:113px;padding:16px}.region-title{font-size:18px}.region-icon{font-size:30px}.region-meta{font-size:10px}.step{height:79px}.step-node{width:59px;height:59px;top:9px}.step-caption{font-size:9px;top:27px;left:calc(var(--x) + 31px);width:105px}.step-caption.side-left{right:calc(100% - var(--x) + 31px)}.step-caption b{font-size:10px}.step-node .step-num{font-size:15px}.page-intro{padding:23px 20px;border-radius:20px}.page-intro h2{font-size:22px}.page-intro .big-icon{font-size:65px}.shop-grid{gap:9px}.shop-item{padding:11px;border-radius:15px}.shop-item .item-emoji{font-size:42px}.shop-item h3{font-size:13px}.shop-item p{font-size:11px}.treasure-grid{grid-template-columns:repeat(2,1fr);gap:9px}.treasure-card{padding:14px}.mobile-nav{display:grid;position:fixed;bottom:0;left:0;right:0;background:#fffefaed;border-top:1px solid #e6dece;padding:7px 7px calc(7px + env(safe-area-inset-bottom));z-index:20;grid-template-columns:repeat(5,1fr);backdrop-filter:blur(15px)}.mobile-nav button{border:0;background:transparent;color:#8b8b80;border-radius:13px;padding:7px 0 4px;display:grid;justify-items:center;gap:3px;font-size:9px;font-weight:900}.mobile-nav button span{font-size:23px}.mobile-nav button.active{color:#1c805c;background:#e5f4e7}.modal-backdrop{padding:0;align-items:end}.modal{width:100%;border-radius:24px 24px 0 0;max-height:96dvh}.modal-header{padding:23px 20px 0}.modal-body,.lesson-view{padding:20px 19px 27px}.lesson-header{padding:21px 20px 16px}.lesson-header h2{font-size:19px}.choice-list{gap:8px}.choice{min-height:57px;padding:10px;font-size:12px}.choice.hebrew{font-size:22px}.question-title{font-size:16px}.hebrew-example{font-size:32px}.profile-box{padding:17px}}
@media(max-width:370px){.hero{grid-template-columns:1fr 90px}.hero h2{font-size:21px}.hero-illustration .donkey-hero{width:90px}.stats-line .stat-pill.flame{display:none}.step-caption{width:89px}.region-head .region-complete{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.custom-blocks.karty{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.custom-blocks .edu-panel{border-left:4px solid #845eb2}.custom-blocks.szmaragd .edu-panel{border-color:#398d71}.custom-blocks.bursztyn .edu-panel{border-color:#c38a34}.step-node.available{background:#e0f1dc;color:#265c4e}.stats-line{flex-wrap:wrap}.topbar{flex-wrap:wrap}
html[data-mode=dark]{color-scheme:dark;--paper:#272c31;--bg:#1a2024;--ink:#f0eee7;--muted:#c2c6c6;--border:#4e555a;--mint:#254a3e;--sand:#514733;--lilac:#403a53}
[data-mode=dark] body,[data-mode=dark] :is(.sidebar,.topbar,.mobile-nav,.side-card,.region-card,.steps,.overview-card,.modal,.shop-item,.treasure-card,.profile-box,.edu-panel,.choice,.world-chip,.daily-banner,.source-note,.page-intro,.speech-bubble,.step-caption,.stat-pill,.btn-ghost,.reward-box,.sidebar-story,.sidebar-user,.text-field,.note-area,.letter-pill,.oasis-scene,.rating,.source-references){background:#292f34;color:#f2ede3;border-color:#586064}[data-mode=dark] :is(.hero,.region-head,.lesson-header){color:#202830}
