:root{font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif;color:#10245b;background:#f5fbff;font-synthesis:none;text-rendering:optimizeLegibility;--navy: #10245b;--navy-soft: #3d4e76;--blue: #1769ff;--blue-dark: #0752dd;--blue-pale: #eaf5ff;--sky: #f5fbff;--line: #b9d7f7;--mint: #14a96b;--mint-pale: #ecfbf3;--orange: #f5a319;--white: #ffffff;--shadow: 0 18px 45px rgba(31, 92, 166, .12);--soft-shadow: 0 8px 24px rgba(39, 92, 157, .11);--radius-lg: 28px;--radius-md: 19px;--radius-sm: 13px}*{box-sizing:border-box}html{min-width:320px;background:#f5fbff;scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden;background:radial-gradient(circle at 12% 20%,rgba(84,188,255,.12),transparent 24%),radial-gradient(circle at 85% 15%,rgba(97,205,255,.12),transparent 22%),#f5fbff}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible{outline:4px solid rgba(255,178,24,.75);outline-offset:3px}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin-top:0}.app-shell{min-height:100vh}.app-header{position:relative;z-index:10;width:calc(100% - 32px);max-width:1504px;min-height:84px;margin:14px auto 0;padding:11px 16px 11px 25px;display:grid;grid-template-columns:minmax(250px,.9fr) minmax(530px,1.7fr) minmax(180px,.65fr);align-items:center;gap:18px;background:#fffffff5;border:1.5px solid #c6def5;border-radius:28px;box-shadow:0 10px 25px #2b70b51a}.brand-button{width:max-content;padding:0;border:0;background:transparent;cursor:pointer}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--navy);font-size:26px;font-weight:950;letter-spacing:-.02em;white-space:nowrap}.brand--compact{font-size:23px}.brand__mark{position:relative;width:50px;height:50px;display:grid;place-items:center;color:#1769ff;background:#e8f7ff;border:2px solid #54b9ef;border-radius:50%;transform:rotate(-12deg)}.brand--compact .brand__mark{width:42px;height:42px}.brand__dot{position:absolute;top:8px;right:5px;width:9px;height:9px;background:#ffb919;border-radius:50%;box-shadow:0 0 0 3px #fff}.main-nav{display:flex;justify-content:center;gap:5px;padding:5px;border:1.5px solid #d3e3f2;border-radius:21px;background:#fbfdff}.nav-item{position:relative;min-height:48px;padding:0 21px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#4f5d7b;font-size:17px;font-weight:800;border:0;border-radius:15px;background:transparent;cursor:pointer;transition:.18s ease}.nav-item:after{content:"";position:absolute;left:24%;right:24%;bottom:2px;height:3px;border-radius:4px;background:transparent}.nav-item:hover{color:var(--blue);background:#eff7ff}.nav-item.is-active{color:var(--blue);background:#eef6ff}.nav-item.is-active:after{background:var(--blue)}.learner-chip{justify-self:end;min-height:54px;padding:6px 16px 6px 8px;display:inline-flex;align-items:center;gap:10px;color:var(--navy);font-size:16px;font-weight:850;border:1.5px solid #cbdff3;border-radius:18px;background:#fff;cursor:pointer}.learner-avatar{width:40px;height:40px;display:grid;place-items:center;color:#fff;background:#ffac28;border-radius:13px;transform:rotate(-6deg)}.home-view{width:calc(100% - 40px);max-width:1480px;margin:28px auto 0;display:grid;grid-template-columns:minmax(420px,.82fr) minmax(670px,1.35fr);gap:24px;align-items:stretch}.hero-copy{position:relative;min-height:600px;padding:38px 34px 0;overflow:hidden;border-radius:var(--radius-lg);background:radial-gradient(circle at 25% 100%,rgba(40,158,255,.22),transparent 42%),#eef9ff;border:1.5px solid #cbe3f8}.hero-copy:before,.hero-copy:after{content:"✦";position:absolute;color:#ffc132;font-size:20px}.hero-copy:before{top:24px;right:38px}.hero-copy:after{top:175px;left:20px;color:#67b9ff;font-size:13px}.hero-copy__text{position:relative;z-index:2}.hero-copy h1{max-width:520px;margin-bottom:19px;color:#0b2360;font-size:clamp(40px,3.5vw,58px);line-height:1.18;letter-spacing:-.045em}.hero-copy__lead{margin-bottom:19px;color:var(--navy-soft);font-size:21px;font-weight:750;line-height:1.65}.adaptive-message{max-width:495px;padding:13px 16px;display:flex;align-items:flex-start;gap:10px;color:#215498;font-size:16px;font-weight:750;line-height:1.55;background:#ffffffc7;border-left:4px solid #6eafff;border-radius:8px 15px 15px 8px}.adaptive-message svg{flex:0 0 auto;margin-top:2px;color:#ffad13}.primary-button{min-height:54px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:11px;color:#fff;font-size:18px;font-weight:900;letter-spacing:.01em;border:0;border-bottom:4px solid #0643b7;border-radius:17px;background:var(--blue);box-shadow:0 9px 18px #1769ff3b;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button:hover:not(:disabled){background:#0c5ef2;box-shadow:0 12px 24px #1769ff47;transform:translateY(-2px)}.primary-button:active:not(:disabled){transform:translateY(1px);border-bottom-width:2px}.primary-button:disabled{color:#a5b7d5;background:#dfe9f5;border-bottom-color:#c7d6e8;box-shadow:none}.hero-cta{margin-top:22px;min-height:64px;padding-inline:27px;font-size:20px}.mascot-scene{position:absolute;z-index:1;left:0;right:0;bottom:-95px;height:375px}.mascot-image{position:absolute;z-index:2;left:52%;bottom:0;width:300px;height:auto;filter:drop-shadow(0 18px 18px rgba(40,90,148,.18));transform:translate(-50%) rotate(-2deg);animation:mascot-float 4.8s ease-in-out infinite}.scene-orbit{position:absolute;left:50%;bottom:92px;width:410px;height:125px;border:3px dashed rgba(60,151,240,.35);border-radius:50%;transform:translate(-50%) rotate(-12deg)}.scene-star{position:absolute;color:#ffc43a}.scene-star--one{left:14%;bottom:165px;font-size:25px}.scene-star--two{right:15%;bottom:240px;color:#69bdff;font-size:17px}@keyframes mascot-float{0%,to{transform:translate(-50%) translateY(0) rotate(-2deg)}50%{transform:translate(-50%) translateY(-10px) rotate(1deg)}}.learning-journey{min-height:600px;padding:27px 24px 16px;border:1.5px solid #cbe3f8;border-radius:var(--radius-lg);background:radial-gradient(circle at 88% 12%,rgba(206,190,255,.23),transparent 25%),radial-gradient(circle at 8% 90%,rgba(87,191,255,.14),transparent 30%),#f9fdff;overflow:hidden}.journey-heading{min-height:86px;padding:0 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.journey-heading h2{margin-bottom:5px;color:var(--navy);font-size:28px;letter-spacing:-.025em}.journey-heading p{margin-bottom:0;color:#61708d;font-size:16px;font-weight:700}.progress-cluster{min-width:242px;display:grid;grid-template-columns:auto auto minmax(105px,1fr) auto;align-items:center;gap:7px;color:#586681}.progress-cluster strong{color:var(--mint);font-size:30px}.progress-cluster span{font-size:18px;font-weight:800}.progress-track{height:10px;overflow:hidden;background:#d9e6ef;border-radius:99px}.progress-track>span{display:block;height:100%;background:var(--mint);border-radius:inherit;transition:width .5s ease}.journey-track{position:relative;height:450px}.journey-path{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.journey-path path{fill:none;stroke:#a8cbf1;stroke-width:7;stroke-linecap:round;stroke-dasharray:3 18}.lesson-stop{position:absolute;width:164px;padding:0;display:flex;flex-direction:column;align-items:center;color:var(--navy);border:0;background:transparent;cursor:pointer;transition:transform .18s ease,filter .18s ease}.lesson-stop:hover:not(:disabled){transform:translateY(-5px);filter:brightness(1.02)}.lesson-stop--1{left:0%;top:3%}.lesson-stop--2{left:36%;top:0%}.lesson-stop--3{right:0%;top:7%}.lesson-stop--4{left:10%;bottom:0%}.lesson-stop--5{left:44%;bottom:-2%}.lesson-stop--6{right:3%;bottom:1%}.lesson-stop__planet{position:relative;width:104px;height:104px;display:grid;place-items:center;color:#fff;background:var(--lesson-color);border:7px solid #fff;border-radius:50%;box-shadow:0 0 0 3px var(--lesson-color),0 14px 0 -5px #6392c238,0 18px 26px #376ba02e}.lesson-stop__planet:after{content:"";position:absolute;left:-14px;right:-14px;bottom:-10px;height:23px;z-index:-1;border:4px solid rgba(104,164,227,.35);border-radius:50%}.lesson-stop.is-locked{color:#677691}.lesson-stop.is-locked .lesson-stop__planet{color:#7e8da7;background:#d9e2ed;box-shadow:0 0 0 3px #c5d1df,0 14px 0 -5px #6392c224}.lesson-stop.is-complete .lesson-stop__planet{background:var(--mint);box-shadow:0 0 0 3px var(--mint),0 14px 0 -5px #22a46e33,0 18px 26px #22a46e2e}.lesson-stop.is-recommended .lesson-stop__planet{animation:recommended-pulse 2s ease-in-out infinite}@keyframes recommended-pulse{0%,to{box-shadow:0 0 0 3px var(--lesson-color),0 0 0 9px #1769ff14,0 18px 26px #376ba02e}50%{box-shadow:0 0 0 3px var(--lesson-color),0 0 0 15px #1769ff21,0 20px 28px #376ba038}}.recommend-flag{position:absolute;top:-31px;right:8px;color:#f39a18}.lesson-stop__label{margin-top:18px;display:flex;align-items:center;gap:7px;font-size:16px;font-weight:900;white-space:nowrap}.lesson-stop__label b{width:27px;height:27px;display:grid;place-items:center;color:#fff;background:var(--lesson-color);border-radius:50%}.lesson-stop.is-locked .lesson-stop__label b{background:#7b8aa3}.lesson-stop em{margin-top:6px;padding:4px 10px;color:#1769ff;font-size:12px;font-style:normal;font-weight:850;background:#e7f2ff;border-radius:9px}.challenge-preview{grid-column:1 / -1;min-height:278px;padding:25px;display:grid;grid-template-columns:minmax(300px,.8fr) minmax(430px,1.25fr) minmax(260px,.72fr);gap:24px;align-items:stretch;border:1.5px solid #9fc8f4;border-radius:var(--radius-lg);background:#fff;box-shadow:var(--soft-shadow)}.challenge-intro{padding:8px 5px 5px}.challenge-title-line{display:flex;align-items:flex-start;gap:13px}.target-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;color:#fff;font-size:31px;font-weight:900;background:#ef6158;border-radius:15px}.challenge-preview h2{margin-bottom:8px;font-size:27px}.challenge-preview p{color:#364a78;font-size:17px;font-weight:700;line-height:1.6}.star-helper{margin-top:33px;display:flex;align-items:center;gap:14px}.star-character{width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;color:#e79000;font-size:32px;background:#ffcf42;border-radius:18px;transform:rotate(-8deg)}.star-helper p{margin:0;font-size:14px}.mini-editor{overflow:hidden;color:#eff7ff;background:#07172f;border:4px solid #e1eaf4;border-radius:19px}.mini-editor__top,.code-editor__toolbar{height:42px;padding:0 16px;display:flex;align-items:center;gap:8px;color:#d3dfef;font-size:14px;font-weight:750;background:#102748;border-bottom:1px solid #234164}.editor-dot{width:9px;height:9px;background:#37d78a;border-radius:50%}.mini-editor pre{margin:0;padding:20px 22px;font:700 16px/1.65 Cascadia Code,Consolas,monospace;white-space:pre-wrap}.code-purple{color:#e28bf3}.code-green{color:#8ddf6f}.code-blue{color:#52bfff}.code-orange{color:#ffc352}.preview-output{display:flex;flex-direction:column;gap:16px}.preview-output__screen{min-height:133px;padding:17px 20px;display:flex;flex-direction:column;gap:19px;color:#b9c9de;background:#07172f;border:4px solid #e1eaf4;border-radius:19px}.preview-output__screen span{font-size:14px;font-weight:800}.preview-output__screen strong{color:#59eb83;font:800 19px/1.4 Cascadia Code,Consolas,monospace}.preview-output .primary-button{width:100%;min-height:63px}.home-view--map{display:block;max-width:1260px}.home-view--map .learning-journey{min-height:650px}.home-view--map .journey-track{max-width:1080px;height:480px;margin:0 auto}.route-explainer{max-width:1000px;margin:24px auto 0;padding:22px 26px;display:flex;align-items:center;gap:18px;color:#214d8d;background:#eaf5ff;border-left:5px solid var(--blue);border-radius:11px 20px 20px 11px}.route-explainer svg{flex:0 0 auto;color:#ffad18}.route-explainer h3{margin-bottom:4px;font-size:19px}.route-explainer p{margin:0;color:#4f6489;font-size:16px;font-weight:650;line-height:1.6}.practice-view{min-height:100vh;background:radial-gradient(circle at 10% 93%,rgba(120,187,255,.24),transparent 24%),linear-gradient(180deg,#f7fcff,#edf7ff)}.practice-header{min-height:82px;padding:13px 34px;display:grid;grid-template-columns:1fr minmax(320px,.55fr) 1fr;align-items:center;border-bottom:2px solid #b7d8f8;background:#ffffffeb}.lesson-progress{justify-self:center;width:min(100%,390px);display:grid;gap:8px;text-align:center}.lesson-progress strong{font-size:19px}.lesson-progress>span{height:10px;overflow:hidden;background:#d9e6f4;border-radius:99px}.lesson-progress i{display:block;height:100%;background:var(--blue);border-radius:inherit;transition:width .45s ease}.practice-stars{justify-self:end;min-width:92px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:18px;background:#fff7dc;border:1.5px solid #f4d47a;border-radius:16px}.practice-layout{width:calc(100% - 32px);max-width:1510px;min-height:calc(100vh - 105px);margin:16px auto 0;display:grid;grid-template-columns:minmax(330px,.72fr) minmax(650px,1.7fr);border:2px solid #a7ccf4;border-radius:23px 23px 0 0;background:#fff;box-shadow:var(--shadow);overflow:hidden}.lesson-guide{position:relative;min-height:870px;padding:22px 26px 0;overflow:hidden;border-right:2px solid #c1daf4;background:radial-gradient(circle at 40% 100%,rgba(104,172,241,.22),transparent 40%),#f9fdff}.back-button{min-height:45px;padding:0 15px;display:inline-flex;align-items:center;gap:7px;color:#184e98;font-size:16px;font-weight:850;border:2px solid #67a8f1;border-radius:13px;background:#fff;cursor:pointer}.lesson-guide h1{margin:26px 0 10px;color:var(--navy);font-size:clamp(32px,3vw,45px);line-height:1.2}.lesson-prompt{padding-bottom:18px;color:#263f73;font-size:19px;font-weight:750;line-height:1.7;border-bottom:2px dashed #a7cdf3}.step-rail{margin:18px 0 0;padding:0;display:grid;gap:17px;list-style:none}.step-rail li{position:relative;min-height:72px;display:grid;grid-template-columns:49px 28px 1fr;align-items:center;gap:11px;color:#566784}.step-rail li:not(:last-child):after{content:"";position:absolute;left:24px;top:57px;width:2px;height:45px;background:repeating-linear-gradient(to bottom,#8dbbf0,#8dbbf0 5px,transparent 5px,transparent 10px)}.step-rail li>span{width:49px;height:49px;display:grid;place-items:center;color:#7384a2;font-size:20px;font-weight:900;border:3px solid #b7c9df;border-radius:50%;background:#fff}.step-rail li.is-current,.step-rail li.is-done{color:var(--blue)}.step-rail li.is-current>span,.step-rail li.is-done>span{color:#fff;border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 4px #ddecff}.step-rail strong{display:block;font-size:20px}.step-rail small{display:block;margin-top:3px;color:#60708b;font-size:14px;font-weight:650}.guide-mascot{position:absolute;left:-24px;right:15px;bottom:-55px;height:318px}.guide-mascot img{position:absolute;left:-7px;bottom:0;width:250px;filter:drop-shadow(0 18px 16px rgba(53,92,137,.15));transform:rotate(2deg)}.helper-bubble{position:absolute;z-index:2;right:0;top:45px;width:205px;min-height:140px;padding:18px 16px;color:#274879;background:#fff;border:2px solid #8ebdec;border-radius:19px;box-shadow:var(--soft-shadow)}.helper-bubble:before{content:"";position:absolute;left:-14px;top:28px;width:24px;height:24px;background:#fff;border-left:2px solid #8ebdec;border-bottom:2px solid #8ebdec;transform:rotate(45deg)}.helper-bubble svg{color:#f4a619}.helper-bubble p{margin:7px 0 0;font-size:15px;font-weight:700;line-height:1.65}.coding-workspace{padding:23px 25px 35px;background:#fff}.code-editor{overflow:hidden;color:#f3f7fc;background:#06172f;border:4px solid #dbe7f2;border-radius:18px;box-shadow:0 12px 22px #0f244526}.code-editor__safe{margin-left:auto;padding:4px 9px;color:#8fe8bb;font-size:12px;background:#26b9701f;border-radius:7px}.code-editor__body{min-height:333px;padding:18px 0 20px;counter-reset:line}.code-line{min-height:39px;display:grid;grid-template-columns:67px 1fr;align-items:center;font:700 18px/1.45 Cascadia Code,Consolas,monospace}.code-line:hover{background:#ffffff06}.line-number{align-self:stretch;display:grid;place-items:center;color:#7f91ae;background:#0d2d4fd1;-webkit-user-select:none;user-select:none}.code-line code{padding:0 18px;white-space:pre-wrap}.code-line:nth-child(1) code,.code-line:nth-child(2) code{color:#e58af0}.code-blank{min-width:210px;min-height:40px;padding:8px 13px;display:inline-flex;align-items:center;color:#8bb7e4;font-size:14px;border:2px dashed #48b9ff;border-radius:9px;background:#3fb2ff14;vertical-align:middle}.code-blank.is-filled{color:#8ee280;font-size:17px;border-style:solid;background:#58cd791a}.answer-choices{margin-top:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.answer-choice{min-height:104px;padding:16px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--navy);font-size:19px;font-weight:850;border:2px solid #c6d8eb;border-bottom-width:4px;border-radius:16px;background:#fff;cursor:pointer;transition:.16s ease}.answer-choice:hover:not(:disabled){border-color:#75aef3;background:#f4f9ff;transform:translateY(-2px)}.answer-choice.is-selected{color:#0e53c2;border-color:var(--blue);background:#edf5ff;box-shadow:0 0 0 3px #1769ff1a}.answer-choice.is-correct{color:#087844;border-color:var(--mint);background:var(--mint-pale)}.answer-choice code{font-family:Cascadia Code,Consolas,monospace;white-space:pre-wrap}.practice-actions{margin-top:17px;display:flex;align-items:center;gap:14px}.run-button{min-width:245px;min-height:60px}.hint-button{min-width:190px;min-height:56px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#164f9a;font-size:17px;font-weight:850;border:2px solid #6aa6ed;border-radius:16px;background:#fff;cursor:pointer}.hint-button:hover{background:#eff7ff}.pace-label{margin-left:auto;padding:8px 12px;color:#46627f;font-size:13px;font-weight:850;border-radius:10px;background:#edf4fa}.pace-label--challenge{color:#995800;background:#fff2d2}.pace-label--gentle{color:#13704a;background:#e7f9f0}.result-panel{min-height:148px;margin-top:17px;padding:16px;display:grid;grid-template-columns:1.35fr 1fr;gap:18px;align-items:stretch;border:2px solid #c3d9ef;border-radius:18px;background:#fbfdff}.result-panel--idle,.result-panel--wrong{grid-template-columns:1fr}.result-panel--success{border-color:#9edab9;background:#f8fffb}.result-console{padding:12px 16px;color:#49627f;background:#f4f8fc;border-radius:13px}.result-console>span{display:block;margin-bottom:13px;color:var(--navy);font-size:17px;font-weight:900}.result-console p{margin:0;font-size:16px;font-weight:700}.result-console pre{margin:0;color:#11814b;font:850 18px/1.6 Cascadia Code,Consolas,monospace;white-space:pre-wrap}.result-wrong{color:#a55817}.success-feedback{display:flex;align-items:center;gap:16px}.reward-star{width:72px;height:72px;display:grid;place-items:center;flex:0 0 auto;color:#df9000;font-size:42px;background:#ffce43;border-radius:24px;transform:rotate(-7deg);animation:reward-pop .5s cubic-bezier(.3,1.6,.6,1)}@keyframes reward-pop{0%{opacity:0;transform:scale(.4) rotate(-20deg)}to{opacity:1;transform:scale(1) rotate(-7deg)}}.success-feedback h2{margin-bottom:5px;color:#087441;font-size:25px}.success-feedback p{margin-bottom:7px;color:#395d4b;font-size:14px;font-weight:650;line-height:1.5}.success-feedback strong{display:inline-flex;align-items:center;gap:6px;color:#ba6e00}.adaptive-result{margin-top:16px;padding:15px 16px 15px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#1e4d89;border:2px solid #9cc5f2;border-radius:18px;background:#eaf5ff}.adaptive-result>div{display:flex;align-items:flex-start;gap:12px}.adaptive-result svg{flex:0 0 auto;color:#ffad16}.adaptive-result p{margin:0}.adaptive-result p strong,.adaptive-result p span{display:block}.adaptive-result p strong{margin-bottom:4px;font-size:17px}.adaptive-result p span{color:#4b658b;font-size:14px;font-weight:650;line-height:1.5}.next-button{flex:0 0 auto}.gentle-feedback{margin-top:13px;display:flex;align-items:center;gap:8px;color:#52708c;font-size:14px;font-weight:700}.gentle-feedback svg{color:var(--mint)}.achievements-view{width:calc(100% - 40px);max-width:1240px;margin:32px auto 60px}.achievement-hero{min-height:205px;padding:37px 42px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#fff;background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.18),transparent 20%),#1769ff;border-radius:28px;box-shadow:var(--shadow)}.achievement-hero h1{margin-bottom:10px;font-size:40px}.achievement-hero p{max-width:580px;margin-bottom:0;color:#dfebff;font-size:17px;font-weight:650;line-height:1.65}.achievement-summary{display:flex;gap:12px}.achievement-summary>span{min-width:126px;min-height:95px;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:13px;font-weight:750;background:#ffffff1f;border:1px solid rgba(255,255,255,.3);border-radius:17px}.achievement-summary strong{font-size:25px}.mastery-section,.achievement-grid{margin-top:24px;padding:28px 32px;background:#fff;border:1.5px solid #c9dff4;border-radius:24px;box-shadow:var(--soft-shadow)}.section-title-row{margin-bottom:24px;display:flex;align-items:flex-start;justify-content:space-between}.section-title-row h2{margin-bottom:5px;font-size:27px}.section-title-row p{margin:0;color:#66738d;font-size:15px;font-weight:650}.section-title-row>svg{color:#1769ff}.mastery-list{display:grid;gap:18px}.mastery-row{display:grid;grid-template-columns:160px 1fr 55px;align-items:center;gap:16px}.mastery-row__label{display:inline-flex;align-items:center;gap:10px;font-weight:800}.mastery-row__label i{width:13px;height:13px;border-radius:50%}.mastery-bar{height:14px;overflow:hidden;background:#e6eef6;border-radius:99px}.mastery-bar span{display:block;height:100%;border-radius:inherit;transition:width .5s ease}.mastery-row strong{text-align:right}.badge-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.badge-item{position:relative;min-height:182px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#8490a5;text-align:center;border:2px dashed #ccd8e5;border-radius:19px;background:#f7f9fc}.badge-item>span:first-child{width:67px;height:67px;display:grid;place-items:center;color:#91a1b6;background:#e7edf4;border-radius:22px}.badge-item.is-earned{color:var(--navy);border-style:solid;border-color:#f0c461;background:#fffbec}.badge-item.is-earned>span:first-child{color:#d38600;background:#ffdf7c}.badge-item strong{font-size:16px}.badge-item small{font-size:13px;font-weight:650}.badge-lock{font-size:26px;font-weight:900}.badge-check{position:absolute;top:12px;right:12px;color:var(--mint)}.learning-insight{margin-top:24px;padding:23px 28px;display:flex;align-items:flex-start;gap:18px;color:#244f89;background:#eaf5ff;border-left:5px solid var(--blue);border-radius:12px 21px 21px 12px}.learning-insight>svg{flex:0 0 auto;color:#f3a117}.learning-insight h2{margin-bottom:5px;font-size:20px}.learning-insight p{margin-bottom:7px;color:#516886;font-size:15px;font-weight:650;line-height:1.6}.learning-insight strong{color:#0e57be}.reset-zone{margin-top:28px;display:flex;justify-content:center}.text-button{padding:10px 14px;display:inline-flex;align-items:center;gap:8px;color:#62718c;font-size:14px;font-weight:750;border:0;background:transparent;cursor:pointer}.reset-confirm{padding:13px 15px;display:flex;align-items:center;gap:10px;color:#61494c;font-size:14px;font-weight:750;background:#fff6f5;border:1px solid #f1c1bd;border-radius:14px}.reset-confirm button{padding:8px 11px;color:#425674;font-size:13px;font-weight:800;border:1px solid #c8d4e0;border-radius:9px;background:#fff;cursor:pointer}.reset-confirm .reset-danger{color:#fff;border-color:#ca4940;background:#d95c52}.app-footer{width:calc(100% - 40px);max-width:1480px;margin:35px auto 0;padding:20px 4px 28px;display:flex;justify-content:space-between;color:#73809a;font-size:13px;font-weight:650}.app-footer span:first-child{color:#36517e;font-weight:900}@media(max-width:1240px){.app-header{grid-template-columns:auto 1fr auto}.brand{font-size:21px}.brand__mark{width:43px;height:43px}.nav-item{padding-inline:13px;font-size:15px}.learner-chip>span:last-child{display:none}.home-view{grid-template-columns:1fr;max-width:980px}.hero-copy{min-height:540px}.hero-copy h1{max-width:610px}.mascot-image{left:77%;width:330px}.scene-orbit{left:77%}.learning-journey{min-height:630px}.challenge-preview{grid-template-columns:.8fr 1.3fr}.preview-output{grid-column:1 / -1;display:grid;grid-template-columns:1fr .6fr}.practice-layout{grid-template-columns:300px minmax(620px,1fr)}.helper-bubble{width:180px}.guide-mascot img{width:220px;left:-25px}.badge-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:920px){.app-header{min-height:76px;padding:10px 12px 10px 16px;grid-template-columns:1fr auto}.main-nav{position:fixed;z-index:50;left:12px;right:12px;bottom:10px;padding:7px;justify-content:space-around;box-shadow:0 12px 35px #11376640}.nav-item{flex:1;min-width:0;padding-inline:8px}.learner-chip{display:none}.home-view{width:calc(100% - 24px)}.hero-copy{min-height:690px;padding-inline:24px}.hero-copy h1{font-size:43px}.mascot-scene{height:390px}.mascot-image,.scene-orbit{left:50%}.learning-journey{min-height:auto;padding:24px 16px}.journey-heading{display:grid}.progress-cluster{min-width:0}.journey-track,.home-view--map .journey-track{height:auto;margin-top:25px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 18px}.journey-path{display:none}.lesson-stop{position:relative;inset:auto;width:100%;min-height:174px}.challenge-preview{grid-template-columns:1fr}.preview-output{grid-column:auto;display:flex}.practice-header{padding-inline:18px;grid-template-columns:auto 1fr auto;gap:14px}.practice-header .brand span:last-child{display:none}.practice-layout{width:calc(100% - 22px);display:block}.lesson-guide{min-height:auto;padding:20px 22px 22px;border-right:0;border-bottom:2px solid #c1daf4}.lesson-guide h1{margin-top:20px}.step-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.step-rail li{min-height:90px;grid-template-columns:46px 1fr}.step-rail li>svg{display:none}.step-rail li:not(:last-child):after{left:calc(100% - 8px);top:25px;width:28px;height:2px;background:repeating-linear-gradient(to right,#8dbbf0,#8dbbf0 5px,transparent 5px,transparent 9px)}.guide-mascot{position:relative;left:auto;right:auto;bottom:auto;height:176px;margin-top:10px}.guide-mascot img{left:4px;bottom:-18px;width:160px}.helper-bubble{right:auto;left:150px;top:18px;width:calc(100% - 150px);min-height:125px}.code-editor__body{min-height:315px}.achievement-hero{align-items:flex-start;flex-direction:column}.achievement-summary{width:100%}.achievement-summary>span{flex:1}.app-footer{padding-bottom:110px}}@media(max-width:620px){.app-header{width:calc(100% - 20px);margin-top:10px;border-radius:20px}.brand{font-size:20px}.brand__mark{width:40px;height:40px}.main-nav{gap:2px}.nav-item{min-height:53px;gap:3px;flex-direction:column;font-size:11px;border-radius:12px}.nav-item:after{display:none}.home-view{margin-top:16px}.hero-copy{min-height:670px;padding:28px 19px 0;border-radius:22px}.hero-copy h1{font-size:38px}.hero-copy__lead{font-size:18px}.adaptive-message{font-size:14px}.hero-cta{width:100%;padding-inline:16px;font-size:17px}.mascot-image{width:270px}.learning-journey{border-radius:22px}.journey-heading h2{font-size:24px}.progress-cluster{grid-template-columns:auto auto 1fr auto}.journey-track,.home-view--map .journey-track{grid-template-columns:1fr}.lesson-stop{min-height:165px}.challenge-preview{padding:18px;gap:18px;border-radius:22px}.mini-editor pre{font-size:13px}.route-explainer{align-items:flex-start;padding:18px}.practice-header{min-height:74px;padding:10px 12px}.lesson-progress strong{font-size:14px}.practice-stars{min-width:66px;padding:8px}.practice-layout{margin-top:10px;border-radius:18px 18px 0 0}.lesson-guide{padding-inline:16px}.lesson-guide h1{font-size:32px}.lesson-prompt{font-size:17px}.step-rail li{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.step-rail li>span{width:42px;height:42px}.step-rail li:not(:last-child):after{left:78%;top:21px;width:40px}.guide-mascot img{left:-16px;width:150px}.helper-bubble{left:120px;width:calc(100% - 120px);padding:15px 13px}.coding-workspace{padding:14px 12px 30px}.code-editor__body{min-height:300px}.code-line{grid-template-columns:40px 1fr;font-size:13px}.code-line code{padding-inline:10px}.code-blank{min-width:120px;font-size:11px}.code-blank.is-filled{font-size:12px}.answer-choices{grid-template-columns:1fr}.answer-choice{min-height:72px}.practice-actions{display:grid;grid-template-columns:1fr 1fr}.run-button,.hint-button{min-width:0;width:100%;padding-inline:10px;font-size:15px}.pace-label{grid-column:1 / -1;justify-self:start;margin-left:0}.result-panel{grid-template-columns:1fr}.adaptive-result{align-items:stretch;flex-direction:column}.next-button{width:100%}.achievements-view{width:calc(100% - 24px);margin-top:18px}.achievement-hero{padding:28px 20px;border-radius:22px}.achievement-hero h1{font-size:32px}.achievement-summary{flex-direction:column}.achievement-summary>span{min-height:75px;flex-direction:row}.mastery-section,.achievement-grid{padding:23px 17px}.mastery-row{grid-template-columns:1fr 44px}.mastery-bar{grid-column:1 / -1;grid-row:2}.badge-row{grid-template-columns:1fr}.reset-confirm{align-items:stretch;flex-direction:column}.app-footer{align-items:flex-start;flex-direction:column;gap:5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
