@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');:root{--ink:#171817;--muted:#777a76;--bg:#f8f8f6;--paper:#fff;--line:#e7e6e1;--gold:#c7a56a;--green:#326b55;--terra:#b96748;--blue:#3c6686}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif}.splash{position:fixed;inset:0;z-index:20;background:#151515;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.7s}.splash.hide{opacity:0;visibility:hidden}.brand-mark,.brand>span{display:grid;place-items:center;background:var(--gold);color:#151515;font-weight:800}.brand-mark{width:72px;height:72px;border-radius:22px;font-size:36px;margin-bottom:18px;animation:rise .8s ease}.splash strong{font-size:31px;letter-spacing:7px}.splash span{font-size:11px;letter-spacing:6px;margin:7px 0 45px}.splash small{color:#aaa;letter-spacing:3px;font-size:9px}@keyframes rise{from{opacity:0;transform:translateY(18px) scale(.9)}}.shell{max-width:1180px;margin:auto;padding:0 28px 110px}header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}button{font:inherit}.brand{border:0;background:none;display:flex;align-items:center;gap:11px;cursor:pointer}.brand>span{width:38px;height:38px;border-radius:12px;font-size:19px}.brand b{letter-spacing:1px}.brand i{font-style:normal;font-size:10px;font-weight:700;color:var(--muted);margin-left:4px}.header-stats{display:flex;gap:10px;align-items:center}.header-stats>span{font-size:12px;background:white;border:1px solid var(--line);padding:9px 12px;border-radius:12px}.avatar{border:0;border-radius:50%;width:38px;height:38px;background:#171817;color:white;font-weight:800;cursor:pointer}.view{display:none}.view.active{display:block}.hero{padding:54px 20px 40px;display:flex;justify-content:space-between;align-items:center}.hero small,.section-head small,.academy small,.continue small,.simple-view>small,.game-head small,dialog small{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--muted)}.hero h1,.simple-view h1{font-size:58px;line-height:1.02;letter-spacing:-3px;margin:10px 0 16px}.hero p{color:var(--muted)}.hero-orbit{width:190px;height:190px;border:1px solid #d9d8d1;border-radius:50%;display:grid;place-items:center;position:relative;font-size:50px;color:var(--gold)}.hero-orbit:before{content:"";position:absolute;width:120px;height:120px;border:1px solid #d9d8d1;border-radius:50%}.hero-orbit i,.hero-orbit b{position:absolute;width:18px;height:18px;border-radius:50%;background:var(--terra)}.hero-orbit i{left:6px}.hero-orbit b{right:20px;top:20px;background:var(--blue)}.continue{background:#171817;color:white;border-radius:24px;padding:24px 28px;display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:20px}.continue-icon{width:64px;height:64px;background:var(--gold);color:#171817;border-radius:18px;display:grid;place-items:center;font-size:30px}.continue h2{margin:5px 0 2px}.continue p{margin:0;color:#aaa;font-size:13px}.continue-progress{text-align:right}.continue-progress span{display:block;color:var(--gold);font-size:12px;margin-bottom:8px}.continue button,.primary{border:0;background:var(--gold);color:#171817;border-radius:13px;padding:13px 18px;font-weight:800;cursor:pointer}.section-head{display:flex;justify-content:space-between;align-items:end;margin:48px 0 20px}.section-head h2{font-size:30px;margin:5px 0}.section-head>span{color:var(--muted);font-size:12px}.academy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.academy{text-align:left;border:1px solid var(--line);background:white;border-radius:24px;padding:18px;color:var(--ink);min-height:340px;position:relative}.academy:is(button){cursor:pointer;transition:.2s}.academy:is(button):hover{transform:translateY(-4px);box-shadow:0 15px 40px #2221}.academy-art{height:155px;border-radius:18px;margin-bottom:20px;display:grid;place-items:center;overflow:hidden}.culture .academy-art{background:#e8d4bd}.language .academy-art{background:#d9e6d9}.academy h3{font-size:27px;line-height:1.03;margin:7px 0}.academy p{color:var(--muted);font-size:13px;max-width:360px}.academy em{font-style:normal;font-weight:800;font-size:12px;color:var(--green)}.academy.locked{background:#f0f0ed;min-height:240px}.academy.locked .academy-art{height:90px;background:#e3e2de}.academy.locked em{color:#999}.temple{position:relative}.temple i{width:125px;height:58px;background:#9c573e;clip-path:polygon(18% 0,82% 0,100% 100%,0 100%);position:absolute;bottom:20px}.temple b{width:82px;height:43px;background:#7f4433;position:absolute;bottom:78px}.temple span{z-index:2;color:#f0c66c;font-size:25px;margin-top:-15px}.glyphs{position:relative}.glyphs span,.glyphs i,.glyphs b{position:absolute;font-style:normal;font-weight:800}.glyphs span{font-size:47px}.glyphs i{left:35px;top:25px;color:var(--green)}.glyphs b{right:35px;bottom:24px;color:var(--terra)}.symbols{font-size:35px;color:#888}.game-head{height:82px;display:grid;grid-template-columns:45px 180px 1fr 45px;align-items:center;gap:14px}.back{border:1px solid var(--line);background:white;width:40px;height:40px;border-radius:50%;cursor:pointer}.game-head b{display:block}.game-progress{height:8px;background:#deded9;border-radius:10px;overflow:hidden}.game-progress i{display:block;height:100%;background:var(--gold);width:20%;transition:.35s}.game-head>span{font-size:12px;color:var(--muted)}.game-card{max-width:760px;min-height:640px;background:white;border:1px solid var(--line);border-radius:28px;margin:10px auto;padding:32px;display:flex;flex-direction:column;box-shadow:0 18px 60px #2221}.challenge-label{align-self:flex-start;background:#f1eee8;color:#725f3e;border-radius:99px;padding:8px 12px;font-size:10px;letter-spacing:1.2px;font-weight:800}.question h1{font-size:36px;letter-spacing:-1px;margin:18px 0 5px}.question>p{color:var(--muted);margin:0 0 22px}.visual{height:250px;border-radius:22px;background:#eee7da;display:grid;place-items:center;margin-bottom:20px;position:relative;overflow:hidden}.visual svg{width:180px;height:180px}.visual .big-symbol{font-size:110px;color:#9d5b42}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option{border:2px solid var(--line);border-bottom-width:4px;background:white;border-radius:15px;min-height:60px;text-align:left;padding:12px 15px;font-weight:700;cursor:pointer}.option:hover,.option.selected{border-color:var(--gold);background:#fbf6eb}.option.correct{border-color:#4a9b6e;background:#e8f5ec}.option.wrong{border-color:#cb5b50;background:#fbe8e6}.option kbd{margin-right:10px;border:0;border-radius:7px;background:#eee;padding:5px 8px;color:#777}.primary{margin-top:auto;width:100%;padding:16px}.primary:disabled{background:#d9d9d5;color:#999;cursor:not-allowed}.feedback{margin:15px 0;padding:15px;border-radius:15px;background:#e9f4ec;color:#326b55;font-size:13px}.feedback.bad{background:#f9e7e4;color:#a4433c}.feedback[hidden]{display:none}.feedback b{display:block}.simple-view{padding:55px 10px}.simple-view h1{font-size:48px}.simple-view>p{color:var(--muted)}.course-list,.library-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:25px}.course-item,.library-card{background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.course-item b{display:block;font-size:20px}.course-item span{color:var(--muted);font-size:12px}.course-item i{display:block;height:7px;background:#e8e7e2;border-radius:10px;margin-top:15px}.course-item i:before{content:"";display:block;height:100%;width:var(--p);background:var(--gold);border-radius:10px}.library-tabs{display:flex;gap:8px;margin-top:25px}.library-tabs button{border:1px solid var(--line);background:white;border-radius:99px;padding:9px 14px;cursor:pointer}.library-tabs button.active{background:#171817;color:white}.library-card{display:grid;grid-template-columns:75px 1fr;gap:15px}.library-art{height:75px;border-radius:14px;background:#eee7da;display:grid;place-items:center;font-size:40px}.library-card h3{margin:3px 0}.library-card p{font-size:12px;color:var(--muted);margin:0}.library-card small{color:var(--terra)}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:35px}.profile-grid article{background:white;border:1px solid var(--line);border-radius:20px;padding:25px}.profile-grid span{font-size:25px;color:var(--gold)}.profile-grid b{display:block;font-size:38px;margin:12px 0}.profile-grid small{color:var(--muted)}.reset{margin-top:30px;border:1px solid #d9aaa5;background:white;color:#a4433c;border-radius:12px;padding:12px;cursor:pointer}nav{position:fixed;z-index:10;left:50%;bottom:18px;transform:translateX(-50%);background:#171817;border-radius:20px;padding:8px;display:flex;gap:4px;box-shadow:0 15px 40px #0004}nav button{border:0;background:none;color:#aaa;border-radius:14px;padding:10px 18px;font-size:11px;cursor:pointer}nav button span{display:block;font-size:19px;margin-bottom:2px}nav button.active{background:#333;color:white}dialog{border:0;border-radius:28px;padding:34px;max-width:480px;width:calc(100% - 30px);text-align:center}dialog::backdrop{background:#1119;backdrop-filter:blur(6px)}.result-badge{width:90px;height:90px;border-radius:50%;background:var(--gold);display:grid;place-items:center;font-size:40px;margin:0 auto 20px}dialog h2{font-size:35px;margin:8px}dialog p{color:var(--muted)}.result-row{display:flex;gap:10px;margin:25px 0}.result-row span{flex:1;background:#f1f0ec;padding:14px;border-radius:13px}.result-row b{display:block;font-size:21px}.toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,20px);opacity:0;background:#171817;color:white;padding:12px 18px;border-radius:12px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
.programming .academy-art{background:#dbe5ee}.code-art{position:relative;color:#315a78}.code-art span{font:800 52px monospace}.code-art i,.code-art b{position:absolute;font:800 16px monospace}.code-art i{left:35px;top:28px}.code-art b{right:35px;bottom:27px}.programming em{color:#315a78}.visual .big-symbol{font-family:monospace;font-weight:800;font-size:62px;padding:20px;text-align:center}
@media(min-width:850px){.academy-grid{grid-template-columns:repeat(2,1fr)}.academy-grid .academy:nth-child(n+3){min-height:250px}}@media(max-width:700px){.shell{padding:0 14px 100px}header{height:70px}.brand i,.header-stats>span:nth-child(2){display:none}.hero{padding:38px 5px 28px}.hero h1{font-size:42px}.hero-orbit{display:none}.continue{grid-template-columns:52px 1fr;padding:18px}.continue-icon{width:50px;height:50px}.continue-progress{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.academy-grid,.course-list,.library-grid,.profile-grid{grid-template-columns:1fr}.academy{min-height:315px}.game-card{padding:22px 17px;min-height:650px;margin:0}.game-head{grid-template-columns:40px 1fr 40px}.game-progress{grid-column:1/-1;grid-row:2}.question h1{font-size:29px}.visual{height:220px}.options{grid-template-columns:1fr}.simple-view h1{font-size:39px}.profile-grid{grid-template-columns:1fr 1fr}.profile-grid article:last-child{grid-column:1/-1}nav{width:calc(100% - 20px);justify-content:space-around;bottom:10px}nav button{padding:8px 10px}}
.arts .academy-art{background:#eee3d7}.art-art{position:relative;color:#8c5f4b}.art-art span{font-size:76px}.art-art i,.art-art b{position:absolute;font:800 22px monospace}.art-art i{left:30px;bottom:25px}.art-art b{right:35px;top:25px}.arts em{color:#8c5f4b}.studio-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;padding:18px 0 30px}.art-lesson,.canvas-card{background:white;border:1px solid var(--line);border-radius:26px;padding:26px}.art-lesson>span{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#9b6a53}.art-lesson h1{font-size:36px;line-height:1.05;margin:12px 0}.art-lesson>p{color:var(--muted);font-size:14px;line-height:1.6}.stroke-demo{height:150px;border-radius:18px;background:#f2ede7;margin:24px 0;display:grid;place-items:center;overflow:hidden}.stroke-demo svg{width:90%;height:90%}.tip{border-top:1px solid var(--line);padding-top:18px}.tip b,.tip span{display:block}.tip span{font-size:12px;color:var(--muted);margin-top:5px}.canvas-card{padding:18px;display:flex;flex-direction:column}.canvas-toolbar{display:flex;justify-content:space-between;margin-bottom:14px}.canvas-toolbar button{border:1px solid var(--line);background:white;border-radius:10px;padding:8px 12px;cursor:pointer}.canvas-toolbar .active{background:#171817;color:white}.canvas-wrap{height:450px;background:#fbfaf7;border:1px solid var(--line);border-radius:18px;position:relative;overflow:hidden}.canvas-wrap canvas{width:100%;height:100%;touch-action:none;cursor:crosshair}.canvas-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#aaa;font-size:12px;pointer-events:none}.practice-status{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:12px;margin:15px 0;font-size:12px;color:var(--muted)}.practice-status>i{height:7px;background:#e8e7e2;border-radius:9px;overflow:hidden}.practice-status b{display:block;height:100%;width:0;background:#9b6a53;border-radius:9px;transition:.3s}
@media(max-width:800px){.studio-layout{grid-template-columns:1fr}.art-lesson{padding:20px}.art-lesson h1{font-size:30px}.stroke-demo{height:100px;margin:15px 0}.canvas-wrap{height:390px}.canvas-card{padding:12px}}
/* Visual language: illustrated cards, depth and quiet motion */
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 15% 8%,#eadfce99 0,transparent 28%),radial-gradient(circle at 90% 25%,#dce8e499 0,transparent 25%)}.hero h1{background:linear-gradient(120deg,#171817 30%,#765b45);-webkit-background-clip:text;background-clip:text;color:transparent}.academy{overflow:hidden;isolation:isolate}.academy:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-80px;bottom:-90px;background:currentColor;opacity:.035;z-index:-1}.academy-art{position:relative}.academy-art:after{content:"✦";position:absolute;right:18px;top:14px;color:#fff;font-size:18px;filter:drop-shadow(0 2px 4px #0002);animation:twinkle 3s ease-in-out infinite}.academy:hover .academy-art>*{animation:gentleFloat 2.4s ease-in-out infinite}.academy:hover .academy-art{box-shadow:inset 0 0 0 1px #fff8}.continue{position:relative;overflow:hidden}.continue:after{content:"✦";position:absolute;right:35%;top:-45px;font-size:140px;color:#fff;opacity:.025;transform:rotate(15deg)}.continue-icon{animation:gentleFloat 3s ease-in-out infinite}.header-stats>span{transition:.2s}.header-stats>span:hover{transform:translateY(-2px);box-shadow:0 8px 20px #2221}.question{position:relative}.question-mascot{position:absolute;right:0;top:-7px;width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:#f2eee7;font-size:25px;animation:gentleFloat 3s ease-in-out infinite}.question-mascot i,.question-mascot b{position:absolute;width:5px;height:5px;background:#171817;border-radius:50%;top:31px}.question-mascot i{left:18px}.question-mascot b{right:18px}.visual{background:linear-gradient(145deg,#f1e9dc,#e5ddd2);box-shadow:inset 0 0 0 1px #fff9}.visual:before,.visual:after{content:"";position:absolute;border-radius:50%;background:#fff5}.visual:before{width:190px;height:190px;left:-70px;top:-90px}.visual:after{width:145px;height:145px;right:-40px;bottom:-75px}.visual svg,.visual .big-symbol{z-index:2;filter:drop-shadow(0 18px 14px #4b35251c);animation:gentleFloat 3.5s ease-in-out infinite}.visual-spark{position:absolute;right:20px;top:16px;font-size:28px;z-index:3;animation:softPulse 2.2s ease-in-out infinite}.answer-dot{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#f3f1ec;color:#b29665;font-size:10px;margin-right:4px}.option{position:relative;overflow:hidden;transition:transform .18s,border-color .18s,background .18s}.option:hover{transform:translateY(-2px);box-shadow:0 9px 22px #2221}.option.selected{transform:scale(.985)}.art-options .option svg{width:90px;height:90px;margin:auto;display:block}.game-card{background:linear-gradient(160deg,#fff 50%,#fdfbf7)}.library-card,.course-item{animation:cardIn .45s ease both;animation-delay:var(--delay)}.library-card{position:relative;overflow:hidden;transition:.22s}.library-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px #2221}.library-art{position:relative;overflow:hidden;background:linear-gradient(145deg,#efe7da,#e0ebe5)}.library-art svg{width:65px;height:65px;opacity:.32;transform:translate(14px,13px)}.card-emoji{position:absolute;left:10px;top:8px;font-size:34px;z-index:2;filter:drop-shadow(0 6px 5px #2222);animation:gentleFloat 3s ease-in-out infinite}.mastery{display:inline-block;margin-top:9px;padding:4px 7px;border-radius:99px;background:#e8f4eb;color:#367651;font-size:8px;font-weight:800;letter-spacing:.8px}.course-item{display:grid;grid-template-columns:66px 1fr 25px;gap:15px;align-items:center;transition:.2s}.course-item:hover{transform:translateY(-2px);box-shadow:0 12px 28px #2221}.course-emoji{width:58px;height:58px;border-radius:17px;display:grid;place-items:center;font-size:28px;background:#eee6d9}.course-emoji.language{background:#dce9df}.course-emoji.programming{background:#dce7ef}.course-emoji.arts{background:#eee0d7}.course-item em{font-style:normal;color:var(--gold);font-size:19px}.empty-state{grid-column:1/-1;background:white;border:1px dashed #d8d4ca;border-radius:22px;padding:45px;text-align:center}.empty-state>span{font-size:45px;display:block;animation:softPulse 2s infinite}.empty-state b{display:block;margin:12px}.empty-state p{color:var(--muted);font-size:13px}.profile-grid article{position:relative;overflow:hidden;transition:.2s}.profile-grid article:after{content:"";position:absolute;width:90px;height:90px;background:var(--gold);opacity:.08;border-radius:50%;right:-35px;bottom:-35px}.profile-grid article:hover{transform:translateY(-3px);box-shadow:0 12px 30px #2221}.stroke-demo svg path,.stroke-demo svg ellipse{stroke-dashoffset:120;stroke-dasharray:120;animation:drawDemo 2.8s ease-in-out infinite alternate}.canvas-card{box-shadow:0 18px 55px #2221}.canvas-wrap{background-image:linear-gradient(#00000008 1px,transparent 1px),linear-gradient(90deg,#00000008 1px,transparent 1px);background-size:24px 24px}.result-badge{animation:badgePop .6s cubic-bezier(.2,.8,.2,1)}
@keyframes gentleFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(1deg)}}@keyframes softPulse{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.12);opacity:1}}@keyframes cardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes drawDemo{to{stroke-dashoffset:0}}@keyframes twinkle{0%,100%{transform:scale(.8) rotate(0);opacity:.45}50%{transform:scale(1.15) rotate(25deg);opacity:1}}@keyframes badgePop{0%{transform:scale(.4) rotate(-20deg);opacity:0}70%{transform:scale(1.1) rotate(4deg)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
.rich-feedback{background:linear-gradient(145deg,#e8f4ec,#f3f8ef);border:1px solid #cfe3d4;padding:17px;display:block}.feedback-title{display:flex;align-items:center;gap:11px}.feedback-title>span{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#fff;display:grid;place-items:center;font-size:20px;box-shadow:0 5px 14px #2221}.feedback-title small,.curious small,.source-link small{display:block;font-size:8px;letter-spacing:1.1px;color:#70817a}.feedback-title b{font-size:14px}.feedback p{margin:9px 0;font-size:12px;line-height:1.5}.curious,.source-link{display:flex;align-items:flex-start;gap:10px;background:#fff;border-radius:12px;padding:11px;margin-top:10px}.curious>span,.source-link>span{font-size:17px}.curious b,.source-link b{font-size:11px;line-height:1.45;color:#394a44}.source-link{text-decoration:none;border:1px solid #d8e4da;transition:.2s}.source-link:hover{transform:translateY(-2px);box-shadow:0 8px 20px #2221}.source-link>span{color:#347354}.feedback.bad .feedback-title>span{background:#fff1ef}.feedback.bad p{margin-bottom:0}
.art-source{display:block;margin-top:14px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:#8c5f4b;font-size:9px;font-weight:800;line-height:1.4;background:#fff;transition:.2s}.art-source:hover{transform:translateY(-2px);box-shadow:0 7px 18px #2221}
/* Animated academy selector */
.academy-grid>.academy{animation:cardIn .5s ease both;animation-delay:var(--delay);border-color:#dddcd6;min-height:365px;padding:15px 18px 20px;background:linear-gradient(165deg,#fff 45%,color-mix(in srgb,var(--soft),white 58%));box-shadow:0 8px 28px #2220000a}.academy-grid>.academy:hover{transform:translateY(-7px) scale(1.008);box-shadow:0 24px 55px color-mix(in srgb,var(--tone),transparent 82%);border-color:color-mix(in srgb,var(--tone),white 50%)}.academy-grid .academy-art{height:178px!important;background:var(--soft)!important;border-radius:21px;overflow:hidden;isolation:isolate}.academy-number{position:absolute;right:15px;top:15px;z-index:4;background:#ffffffd9;color:var(--tone);backdrop-filter:blur(8px);border:1px solid #fff;border-radius:99px;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:1px}.academy-scene{position:absolute;inset:0;display:grid;place-items:center}.academy-scene:before{content:"";position:absolute;width:120px;height:120px;border-radius:32px;background:linear-gradient(145deg,#fff8,#ffffff20);transform:rotate(12deg);box-shadow:0 18px 35px #2221}.academy-logo{position:relative;z-index:3;width:82px;height:82px;border-radius:27px;background:linear-gradient(145deg,#fff,#f8f7f2);display:grid;place-items:center;font-size:42px;filter:drop-shadow(0 13px 15px #2222);transition:.35s cubic-bezier(.2,.8,.2,1)}.academy:hover .academy-logo{transform:translateY(-7px) rotate(-4deg) scale(1.08)}.orbit{position:absolute;z-index:4;font-style:normal;width:38px;height:38px;border-radius:13px;background:#ffffffdc;display:grid;place-items:center;font-size:17px;box-shadow:0 8px 18px #2222;animation:academyOrbit 4s ease-in-out infinite}.o1{left:34px;top:25px}.o2{right:30px;top:38px;animation-delay:-1.3s}.o3{right:50px;bottom:20px;animation-delay:-2.4s}.scene-ring{position:absolute;border:1px solid color-mix(in srgb,var(--tone),transparent 60%);border-radius:50%;animation:ringTurn 12s linear infinite}.r1{width:150px;height:110px;transform:rotate(20deg)}.r2{width:105px;height:150px;transform:rotate(-28deg);animation-direction:reverse}.topic-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 15px}.topic-chips span{background:#ffffffb8;border:1px solid color-mix(in srgb,var(--tone),white 72%);color:var(--tone);border-radius:99px;padding:5px 8px;font-size:8px;font-weight:800;letter-spacing:.25px}.academy-grid>.academy em{display:flex;align-items:center;justify-content:space-between;color:var(--tone)}.academy-grid>.academy em:after{content:"→";width:29px;height:29px;border-radius:50%;background:var(--tone);color:white;display:grid;place-items:center;transition:.2s}.academy-grid>.academy:hover em:after{transform:translateX(3px)}.academy-grid>.academy h3{color:#242422}.academy-grid>.academy small{color:var(--tone)}
@keyframes academyOrbit{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(5deg)}}@keyframes ringTurn{to{transform:rotate(380deg)}}
@media(max-width:700px){.academy-grid>.academy{min-height:350px}.academy-grid .academy-art{height:165px!important}.academy-logo{width:76px;height:76px;font-size:38px}.o1{left:25px}.o2{right:24px}}
.academy-logo svg{width:66px;height:66px;fill:none;stroke:var(--tone);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.academy-logo{background:#ffffffea;border:1px solid #fff}.academy-scene:before{width:132px;height:112px;border-radius:42px 42px 34px 34px;transform:rotate(0);background:linear-gradient(155deg,#ffffffb8,#ffffff25)}.orbit{width:auto;min-width:34px;padding:0 8px;height:31px;border-radius:10px;font-size:12px;font-family:Manrope,system-ui,sans-serif;font-weight:800;color:var(--tone);box-shadow:0 6px 16px #22200016}.scene-ring{opacity:.32}.scene-floor{position:absolute;width:150px;height:18px;border-radius:50%;background:var(--tone);opacity:.1;bottom:19px;filter:blur(3px)}.academy:hover .academy-logo svg{animation:iconDraw .7s ease}.academy-grid>.academy:nth-child(3n+2) .academy-scene:before{border-radius:50%;transform:rotate(0)}.academy-grid>.academy:nth-child(3n) .academy-scene:before{clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0;background:#ffffff8f}.academy-grid>.academy:nth-child(4n) .academy-logo{border-radius:50%}@keyframes iconDraw{0%{stroke-dasharray:8 10;stroke-dashoffset:30}100%{stroke-dasharray:100 0;stroke-dashoffset:0}}
.mode-switch{border:1px solid #d9d6cc;background:#fff;border-radius:14px;padding:8px 12px;display:flex;align-items:center;gap:7px;cursor:pointer;color:#34342f}.mode-switch span{font-size:17px}.mode-switch b{font-size:11px}.kids-privacy{display:none}.kids-hidden{display:none!important}.kids-mode{--bg:#fffaf0;--gold:#ffbd45;--green:#237e68;background:linear-gradient(150deg,#fff9e8,#f2fbff 45%,#fff0f5)}.kids-mode .shell{max-width:1080px}.kids-mode header{border-bottom-color:#ecdcae}.kids-mode .brand>span{background:linear-gradient(145deg,#ffd45e,#ff9f67);border-radius:14px}.kids-mode .mode-switch{background:#24231f;color:#fff;border-color:#24231f;box-shadow:0 8px 20px #24231f24}.kids-mode .kids-privacy{display:flex;align-items:center;gap:12px;margin:16px 0 0;padding:13px 16px;border:1px solid #bee2d5;background:#ecfaf4;border-radius:18px;color:#235e50}.kids-privacy>span{font-size:25px}.kids-privacy b,.kids-privacy small{display:block}.kids-privacy small{font-size:11px;margin-top:3px}.kids-mode .hero{padding-top:42px}.kids-mode .hero h1{background:linear-gradient(120deg,#272521,#ef685f 55%,#3d85c6);-webkit-background-clip:text;background-clip:text;color:transparent}.kids-mode .hero-orbit{border:3px dashed #ffbe45;background:#fff7d9}.kids-mode .continue{background:linear-gradient(135deg,#403c6d,#286f77);box-shadow:0 18px 42px #31586f33}.kids-mode .academy-grid{gap:20px}.kids-mode .academy-grid>.academy{border:2px solid color-mix(in srgb,var(--tone),white 73%);border-bottom-width:6px;border-radius:30px;min-height:370px}.kids-mode .academy-grid>.academy:hover{transform:translateY(-6px) rotate(-.35deg)}.kids-mode .academy-logo{width:92px;height:92px;border-radius:31px}.kids-mode .academy h3{font-size:29px}.kids-mode .topic-chips span{font-size:10px;padding:6px 9px}.kids-mode .game-card{border:2px solid #eee1c1;border-radius:32px}.kids-mode .question h1{font-size:39px}.kids-mode .option{min-height:67px;font-size:15px;border-radius:18px}.kids-mode .source-link,.kids-mode .art-source{display:none!important}.kids-mode nav{background:#2b2a27}.kids-mode .profile-grid article:nth-child(3){background:#ecfaf4}.kids-mode .reset{font-size:0}.kids-mode .reset:after{content:'Borrar progreso Kids';font-size:13px}.kids-mode .simple-view>p{max-width:650px}.kids-mode .library-card{border-radius:22px}
@media(max-width:700px){.mode-switch b{display:none}.mode-switch{padding:7px 10px}.kids-mode .header-stats>span{display:none}.kids-mode .kids-privacy{margin-top:10px}.kids-mode .hero h1{font-size:43px}.kids-mode .academy-grid>.academy{min-height:355px}.kids-mode .question h1{font-size:31px}}
.kid-only-visual{display:none}.kid-face{display:none}.kids-mode .kid-only-visual{display:grid;background:linear-gradient(145deg,#dff6ff,#fff1b8 52%,#ffddec)}.kids-mode .kid-scene{font-size:100px;filter:drop-shadow(0 16px 12px #39476125);animation:gentleFloat 2.2s ease-in-out infinite}.kids-mode .kid-only-visual i,.kids-mode .kid-only-visual b,.kids-mode .kid-only-visual em{position:absolute;font-style:normal;font-size:28px;animation:softPulse 1.8s infinite}.kids-mode .kid-only-visual i{left:15%;top:18%;color:#ffb82e}.kids-mode .kid-only-visual b{right:16%;top:22%;color:#5ca7df}.kids-mode .kid-only-visual em{right:20%;bottom:15%;color:#ed6c79}.kids-mode .word-visual{background:linear-gradient(135deg,#e3f8ff,#fff1b9 55%,#ffdbea)}.kids-mode .word-visual .big-symbol{font-size:clamp(46px,9vw,90px);font-weight:800}.kids-mode .kid-face{display:block;position:absolute;left:24px;bottom:16px;font-size:48px;transform:rotate(-8deg);filter:drop-shadow(0 8px 8px #2222)}.kids-mode .visual{border:3px solid #fff;box-shadow:0 12px 0 #eadcae,0 24px 45px #6b54721b}.kids-mode .options{gap:15px}.kids-mode .option:nth-child(1){background:#fff7ce;border-color:#f2c84b}.kids-mode .option:nth-child(2){background:#e5f7ff;border-color:#63afe0}.kids-mode .option:nth-child(3){background:#f3e9ff;border-color:#a980d4}.kids-mode .option:nth-child(4){background:#e7f8e9;border-color:#67bb78}.kids-mode .option:hover,.kids-mode .option.selected{transform:translateY(-3px) scale(1.015);box-shadow:0 10px 0 color-mix(in srgb,currentColor,transparent 87%)}.kids-mode .answer-dot{width:38px;height:38px;font-size:20px;background:#fff;border-radius:13px;flex:0 0 auto}.kids-mode .option{display:flex;align-items:center;gap:8px;padding:12px 14px}.kids-mode .option kbd{display:none}.kids-mode .answer-text{line-height:1.25}.kids-mode .question>p{font-size:15px;font-weight:700;color:#6a665d}.kids-mode .challenge-label{background:#ffe57b;color:#6b5210;font-size:11px}.kids-mode .feedback{border:2px solid #79c999;border-radius:20px;font-size:14px}.kids-mode .feedback.bad{border-color:#f0a18e}.kid-celebration{font-size:28px;letter-spacing:9px;margin-top:10px;animation:softPulse 1s infinite}.kids-mode .curious{margin-top:12px;background:#fff6c9;border-radius:14px;padding:10px}.kids-mode .curious b{font-size:12px;line-height:1.35}.kids-mode .lesson-choice p{display:none}.kids-mode .lesson-choice{border:2px solid #e5d7aa;border-bottom-width:5px;border-radius:22px}.kids-mode .lesson-visual{font-size:34px;background:linear-gradient(145deg,#fff0a9,#dff5ff)}.kids-mode .library-card p{display:none}.kids-mode .library-art{background:linear-gradient(145deg,#fff0a9,#dff5ff 55%,#ffdce8)}.kids-mode .library-art .card-emoji{font-size:41px}.kids-mode .course-item span{font-size:11px}.kids-mode .academy-grid>.academy:nth-child(4n+1){--soft:#ffe8a8!important}.kids-mode .academy-grid>.academy:nth-child(4n+2){--soft:#ccefff!important}.kids-mode .academy-grid>.academy:nth-child(4n+3){--soft:#f0d8ff!important}.kids-mode .academy-grid>.academy:nth-child(4n){--soft:#d4f4da!important}.kids-mode .academy-grid .academy-art:before{content:'●  ✦  ▲';position:absolute;left:15px;bottom:10px;color:#fff;font-size:17px;letter-spacing:8px;z-index:5;opacity:.85}.kids-mode .academy p{display:none}.kids-mode .academy h3{margin-bottom:14px}.kids-mode .primary{background:linear-gradient(135deg,#ffd34e,#ff9f65);border-bottom:5px solid #d9833f;border-radius:18px;font-size:14px}.kids-mode .result-badge{background:linear-gradient(145deg,#ffd44f,#ff8b75);box-shadow:0 12px 0 #e8d9ae}
.progress-dashboard{margin-top:22px}.progress-hero{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:28px;padding:28px;background:linear-gradient(135deg,#202320,#343731);color:#fff;border-radius:26px}.progress-hero h2{font-size:29px;margin:5px 0}.progress-hero p{color:#bbb;margin:6px 0 16px}.progress-hero small,.next-goal small,.progress-title small{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#aaa}.progress-ring{--progress:0;width:132px;height:132px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--gold) calc(var(--progress)*1%),#ffffff18 0);position:relative}.progress-ring:before{content:'';position:absolute;inset:12px;border-radius:50%;background:#242724}.progress-ring span{position:relative;text-align:center}.progress-ring b{display:block;font-size:29px}.progress-ring small{color:#ddd}.profile-badges{display:flex;gap:8px;flex-wrap:wrap}.profile-badges span{background:#ffffff12;border:1px solid #ffffff18;padding:7px 10px;border-radius:99px;font-size:11px}.next-goal{margin-top:14px;padding:18px 20px;border:1px solid var(--line);background:#fff;border-radius:20px;display:grid;grid-template-columns:55px 1fr auto;gap:15px;align-items:center}.next-goal>span{width:52px;height:52px;border-radius:16px;background:#eee8dc;display:grid;place-items:center;font-size:27px}.next-goal b,.next-goal p{display:block;margin:2px 0}.next-goal p{font-size:12px;color:var(--muted)}.next-goal button{border:0;background:var(--gold);padding:11px 15px;border-radius:12px;font-size:11px;font-weight:800;cursor:pointer}.progress-title{display:flex;justify-content:space-between;align-items:end;margin:38px 0 14px}.progress-title h2{margin:4px 0 0}.progress-title>span{font-size:12px;color:var(--muted)}.subject-progress{display:grid;grid-template-columns:1fr 1fr;gap:10px}.subject-row{border:1px solid var(--line);background:#fff;border-radius:18px;padding:15px;display:grid;grid-template-columns:48px 1fr 45px;align-items:center;gap:12px;text-align:left;cursor:pointer;animation:cardIn .4s ease both;animation-delay:var(--delay)}.subject-row:hover{transform:translateY(-2px);box-shadow:0 10px 25px #2221}.subject-icon{width:46px;height:46px;border-radius:14px;background:#eee8dc;display:grid;place-items:center;font-size:23px}.subject-row b,.subject-row small{display:block}.subject-row small{color:var(--muted);font-size:10px;margin:3px 0 8px}.subject-row i{display:block;height:6px;background:#eee;border-radius:10px;overflow:hidden}.subject-row em{display:block;height:100%;background:linear-gradient(90deg,var(--gold),#e4c37f);border-radius:10px}.subject-row strong{text-align:right;font-size:12px;color:var(--green)}.kids-mode .progress-hero{background:linear-gradient(135deg,#6256a5,#338b9a 65%,#39a881);box-shadow:0 12px 0 #e9dbaf}.kids-mode .progress-ring{background:conic-gradient(#ffd64f calc(var(--progress)*1%),#ffffff2e 0)}.kids-mode .progress-ring:before{background:#51498d}.kids-mode .profile-badges span{background:#fff2}.kids-mode .next-goal{border:2px solid #efd58a;border-bottom-width:5px}.kids-mode .next-goal>span,.kids-mode .subject-icon{background:linear-gradient(145deg,#fff0a9,#dff5ff)}.kids-mode .subject-row{border:2px solid #eadcab;border-bottom-width:4px}.kids-mode .subject-row:nth-child(4n+1){background:#fff9d9}.kids-mode .subject-row:nth-child(4n+2){background:#e9f8ff}.kids-mode .subject-row:nth-child(4n+3){background:#f4ebff}.kids-mode .subject-row:nth-child(4n){background:#eaf9ec}.kids-mode .subject-row em{background:linear-gradient(90deg,#ffbd45,#ff7f6c)}
@media(max-width:700px){.progress-hero{grid-template-columns:1fr;text-align:center}.progress-ring{margin:auto}.profile-badges{justify-content:center}.next-goal{grid-template-columns:48px 1fr}.next-goal button{grid-column:1/-1}.subject-progress{grid-template-columns:1fr}.profile-grid{grid-template-columns:1fr 1fr}.profile-grid article:last-child{grid-column:1/-1}}
/* White platform canvas: color lives inside the interactive components. */
:root{--bg:#fff}html,body{background:#fff}body:before{display:none}.kids-mode{--bg:#fff;background:#fff}
/* Editorial course-cover collection generated specifically for APPRND. */
.academy-grid .academy-art{background:#20201e!important}.academy-scene{background-image:linear-gradient(180deg,transparent 42%,#111b 100%),var(--course-image);background-size:300% 200%;background-position:var(--course-x) var(--course-y);background-repeat:no-repeat;transition:transform .55s cubic-bezier(.2,.8,.2,1)}.academy-scene:before,.academy-scene .scene-ring,.academy-scene .scene-floor,.academy-scene .orbit{display:none}.academy-art:after{content:'APPRND · ACADEMY';top:15px;left:16px;right:auto;color:#fff;letter-spacing:1.6px;font-size:8px;background:#1118;border:1px solid #fff4;border-radius:99px;padding:6px 8px;backdrop-filter:blur(8px)}.academy-logo{position:absolute;left:16px;bottom:14px;width:46px;height:46px;border-radius:14px;background:#fffffff0;filter:none;box-shadow:0 9px 25px #0005}.academy-logo svg{width:30px;height:30px;stroke-width:6}.photo-caption{position:absolute;left:72px;bottom:26px;color:#fff;text-transform:uppercase;font-size:9px;font-weight:800;letter-spacing:1.3px;text-shadow:0 2px 8px #000}.academy:hover .academy-scene{transform:scale(1.035)}.academy:hover .academy-logo{transform:none}.academy-number{background:#111b;color:#fff;border-color:#fff4}.kids-mode .academy-grid .academy-art:before{content:'✦';left:auto;right:18px;bottom:14px;color:#ffd85b;font-size:24px}.kids-mode .academy-scene{background-image:linear-gradient(180deg,transparent 35%,#131229c9 100%),var(--course-image);filter:saturate(1.12)}
/* APPRND emblem: the mind supported by classical knowledge. */
.apprnd-logo{width:78%;height:78%;display:block;overflow:visible;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.apprnd-logo .brain path:first-child{fill:currentColor;fill-opacity:.12}.brand-mark{width:82px;height:82px;border-radius:25px}.brand>span{width:44px;height:44px;border-radius:14px}.brand-mark .apprnd-logo{width:64px;height:70px}.brand>span .apprnd-logo{width:34px;height:38px}.kids-mode .brand>span .apprnd-logo{filter:drop-shadow(0 2px 0 #fff5)}
.cerebri-splash-mark{width:190px!important;height:190px!important;margin-bottom:8px!important;border-radius:0!important;background:transparent!important;animation:rise .8s ease,gentleFloat 3s ease-in-out infinite!important}.cerebri-splash-mark img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 26px #0008)}.splash.skip-animation{transition:none}.welcome-logo:has(.apprnd-mascot-welcome-gate){display:flex;align-items:center;gap:8px}.apprnd-mascot-welcome-gate{width:108px;height:108px;filter:drop-shadow(0 14px 22px #0003);animation:gentleFloat 3s ease-in-out infinite}.welcome-logo:has(.apprnd-mascot-welcome-gate) b{font-size:18px;letter-spacing:.16em}@media(max-width:600px){.cerebri-splash-mark{width:150px!important;height:150px!important}.apprnd-mascot-welcome-gate{width:82px;height:82px}}
/* APPRND mascot system: transparent illustrations for learning, feedback and milestones. */
.apprnd-mascot{display:block;object-fit:contain;pointer-events:none;user-select:none;filter:drop-shadow(0 12px 20px rgba(56,35,76,.12))}#home .hero,#continueCard,.curriculum-head,#courses,#profile,.teacher-hero,.library-search-hero,.tree-trunk{position:relative}.apprnd-mascot-home{position:absolute;right:3%;bottom:-10px;width:clamp(132px,20vw,250px);height:88%;z-index:1}#home .hero>div:first-child{position:relative;z-index:2;max-width:70%}.apprnd-mascot-continue{width:92px;height:92px;margin-left:auto;order:3}.apprnd-mascot-section{width:94px;height:94px;margin-left:auto;align-self:center}.apprnd-mascot-corner{position:absolute;right:20px;top:16px;width:112px;height:112px;opacity:.96}.apprnd-mascot-library{position:absolute;right:22px;bottom:-8px;width:128px;height:128px}.library-search-hero>div{padding-right:130px}.apprnd-mascot-route{width:84px;height:84px;margin:0 auto 10px}.apprnd-mascot-lesson{float:right;width:clamp(82px,16vw,138px);height:clamp(82px,16vw,138px);margin:-8px -4px 12px 20px}.apprnd-mascot-feedback{float:left;width:78px;height:78px;margin:-8px 14px 4px -4px;animation:mascot-pop .28s ease-out both}.topic-feedback:has(.apprnd-mascot-feedback),.mastery-feedback:has(.apprnd-mascot-feedback),#feedback:has(.apprnd-mascot-feedback){min-height:84px;overflow:hidden}.apprnd-mascot-achievement{width:132px;height:132px;margin:0 auto 8px;animation:mascot-pop .35s ease-out both}.apprnd-mascot-result{width:142px;height:142px;margin:-74px auto 0}@keyframes mascot-pop{from{opacity:0;transform:translateY(8px) scale(.82)}to{opacity:1;transform:none}}@media(max-width:720px){.apprnd-mascot-home{width:124px;height:58%;right:-4px}.hero-orbit{opacity:.45}#home .hero>div:first-child{max-width:76%}.apprnd-mascot-continue{display:none}.apprnd-mascot-section{width:72px;height:72px}.apprnd-mascot-corner{width:82px;height:82px;right:8px}.apprnd-mascot-library{width:92px;height:92px;right:4px}.library-search-hero>div{padding-right:78px}.apprnd-mascot-feedback{width:64px;height:64px}.apprnd-mascot-result{width:112px;height:112px}}@media(prefers-reduced-motion:reduce){.apprnd-mascot{animation:none!important}}
