@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,Noto Sans JP,sans-serif;color:#24223d;background:#f8f8fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.app{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#fff;border-right:1px solid #efedf5;padding:31px 18px 23px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 13px 39px;font-size:24px;font-weight:800;letter-spacing:-1.2px;cursor:pointer;line-height:1}.brandicon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#7663e8;color:#fff;font:700 24px Noto Sans JP;box-shadow:0 7px 18px #7663e82d;flex-shrink:0}.branddot{color:#7a65eb}.brand small{display:block;font-size:9px;letter-spacing:2.1px;color:#aaa5bb;margin-top:7px}.sidebar nav{display:grid;gap:8px}.navitem{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:15px;padding:14px 17px;text-align:left;border-radius:12px;font-weight:700;color:#827f99;font-size:14px}.navitem.active{color:#705be2;background:#f0edff}.navdot{width:7px;height:7px;background:#806bf0;border-radius:50%;margin-left:auto}.sidebarbottom{margin-top:auto}.tip{background:#f6f2ff;border-radius:15px;padding:19px 17px;display:flex;flex-direction:column;gap:9px;margin-bottom:19px;color:#7763d7}.tip strong{color:#322a54;font-size:14px}.tip span{font-size:12px;color:#928aa8;line-height:1.6}.main{margin-left:252px;min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:79px;border-bottom:1px solid #eeedf5;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 6%;gap:15px}.toplabel{color:#a4a0b5;font-size:13px;font-weight:600}.toplabel span{color:#8973ee}.topactions{display:flex;align-items:center;gap:15px}.pill{display:flex;align-items:center;gap:6px;background:#fff4ec;color:#e69a63;border-radius:22px;padding:9px 13px;font-weight:700;font-size:12px}.account{border:1px solid #e9e6f1;border-radius:12px;background:#fff;padding:10px 13px;display:flex;gap:9px;align-items:center;color:#5d5476;font-weight:700;font-size:12px}.content{width:min(1110px,88%);margin:40px auto 65px;flex:1}.hero{background:#eee9ff;border-radius:23px;min-height:312px;display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden;position:relative}.heroText{padding:44px 0 42px 49px;position:relative;z-index:2}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#8a78d9}.hero h1{font-size:clamp(32px,4vw,51px);line-height:1.12;letter-spacing:-2.3px;margin:18px 0 13px}.hero h1 em{font-style:normal;color:#7663df}.hero p{max-width:380px;color:#807b9b;font-size:14px;line-height:1.8;margin-bottom:24px}.primary,.secondary{border:0;display:inline-flex;justify-content:center;align-items:center;gap:11px;padding:13px 19px;border-radius:11px;font-size:13px;font-weight:800}.primary{background:#7662e8;color:#fff;box-shadow:0 5px 14px #7762e52e}.primary:hover{background:#6350d5}.secondary{background:#f1effa;color:#6656be}.heroart{position:relative;min-height:300px}.sun{position:absolute;width:320px;height:320px;background:#dcd3ff;border-radius:50%;right:2%;top:27px}.japanese{position:absolute;font:800 clamp(56px,7vw,100px) "Noto Sans JP";color:#8e7af1;right:10%;top:50px;transform:rotate(-10deg);text-shadow:5px 8px 0 #ffffff80}.heroemoji{position:absolute;right:10%;bottom:25px;font-size:80px;transform:rotate(-20deg)}.floating{position:absolute;left:0;bottom:53px;background:#fff;box-shadow:0 12px 35px #6854a324;padding:13px 20px;border-radius:13px;font-size:19px;font-weight:800;transform:rotate(-7deg)}.floating span{display:block;font-size:11px;color:#9b94ad;font-weight:600;margin-top:3px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 46px}.stat{background:#fff;border:1px solid #f0eef6;border-radius:16px;padding:22px;display:flex;gap:16px;align-items:center}.statIcon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center}.lavender{background:#f0ecff;color:#8069e9}.peach{background:#fff0e5;color:#e7a26f}.mint{background:#e5f8f1;color:#56b99b}.stat div{display:flex;flex-direction:column;gap:5px}.stat strong{font-size:26px;line-height:1}.stat strong small{font-size:15px;color:#aaa6b8}.stat div>span{font-size:11px;color:#9995a9;font-weight:600}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:20px}.purple{color:#8871e8}.sectionhead h2,.pageintro h1{letter-spacing:-1px}.sectionhead h2{font-size:25px;margin:8px 0 0}.textbutton{display:flex;align-items:center;gap:4px;background:none;border:0;color:#7965e3;font-weight:800;font-size:12px}.lessonGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.lessonCard{background:#fff;border:1px solid #eeeaf4;border-radius:17px;padding:23px;text-align:left;transition:transform .15s,box-shadow .15s}.lessonCard:hover,.lessonRow:hover{transform:translateY(-2px);box-shadow:0 12px 30px #3b28600c}.lessonTop{display:flex;align-items:start;justify-content:space-between}.lessonEmoji{width:55px;height:55px;display:grid;place-items:center;border-radius:16px;font-size:29px;flex-shrink:0}.e0{background:#f2edff}.e1{background:#ffeef1}.e2{background:#eaf7f4}.lessonNum,.lessonInfo small{color:#aaa3ba;font-size:10px;letter-spacing:1px;font-weight:800}.lessonCard h3{font-size:17px;margin:25px 0 7px}.lessonCard p{font-size:12px;color:#9993a8;margin:0 0 26px}.lessonFoot{border-top:1px solid #f0edf5;padding-top:17px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#aaa3b4}.circleArrow{width:32px;height:32px;display:grid;place-items:center;background:#f0ecff;color:#8069e9;border-radius:50%}.circleArrow.done{background:#e6f8ef;color:#38a778}.pageintro{margin:22px 0 29px}.pageintro h1{font-size:clamp(28px,4vw,40px);margin:12px 0}.pageintro h1 span{color:#9b86ed}.pageintro p{color:#9992aa;font-size:14px}.allLessons{display:grid;gap:13px}.lessonRow{width:100%;background:#fff;border:1px solid #eeeaf4;border-radius:16px;padding:22px;display:flex;gap:22px;align-items:center;text-align:left;transition:.15s}.lessonInfo{flex:1;display:flex;flex-direction:column;gap:6px}.lessonInfo strong{font-size:17px}.lessonInfo>span{font-size:12px;color:#9993a8}.back{background:none;border:0;color:#7765d8;font-weight:700}.progressbar{height:9px;background:#e9e5f5;border-radius:9px;overflow:hidden;margin-top:25px}.progressbar span{height:100%;background:#8d76ec;display:block;transition:width .2s}.studyCard,.practiceCard,.profileCard{background:#fff;border:1px solid #eeeaf4;border-radius:20px;padding:36px;max-width:720px;margin:auto;text-align:center}.jpbig{font:700 clamp(44px,8vw,78px) "Noto Sans JP";margin:30px 0 8px}.reading{color:#a39ab8;font-size:15px}.speak{display:inline-flex;align-items:center;gap:7px;margin:20px 0;background:#f1edff;border:0;border-radius:30px;color:#7962dd;padding:10px 17px;font-weight:700}.studyCard h2{font-size:26px}.example{background:#f8f6ff;padding:20px;border-radius:13px;display:flex;flex-direction:column;gap:9px}.example strong{font:600 20px Noto Sans JP}.example span{font-size:13px;color:#948aa8}.studyActions{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.flashwrap{max-width:620px;margin:0 auto;text-align:center}.flashcount{color:#a39bad;font-size:12px;font-weight:800;letter-spacing:1.2px;margin-bottom:14px}.flashcard{width:100%;min-height:330px;border:2px solid #e8e1ff;background:linear-gradient(135deg,#f1edff,#fff);border-radius:22px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;position:relative;overflow:hidden;color:#403367}.flashcard strong{font:700 clamp(35px,7vw,65px) "Noto Sans JP"}.flashcard>span:nth-of-type(2){color:#9b91b5;font-size:14px}.flashcard.flipped{background:linear-gradient(135deg,#e9f8f1,#fff)}.flashdecor{position:absolute;right:30px;bottom:13px;font-size:100px;color:#d6cafa;opacity:.5}.flashbuttons{display:flex;justify-content:space-between;margin-top:23px}.practiceCard{text-align:left}.practiceCard h2{font-size:18px;margin-top:30px}.question{font-size:26px;font-weight:800;margin:17px 0 25px}.answerBox{min-height:90px;border:2px dashed #d9d0f4;border-radius:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:15px}.answerBox>span{color:#aaa4b8;font-size:13px}.answerBox button,.wordbank button{background:#f1edff;border:1px solid #e3dafb;border-radius:9px;padding:10px 14px;color:#5845a6;font-weight:700}.wordbank{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.wordbank button{background:#fff}.feedback{padding:13px;border-radius:9px;margin-top:18px;font-size:13px;font-weight:700}.correct{background:#e7f8f0;color:#249768}.incorrect{background:#fff0eb;color:#c97955}.profileAvatar{display:grid;place-items:center;width:75px;height:75px;border-radius:50%;background:#f0ecff;color:#7762e8;margin:0 auto 20px}.profileCard p{color:#938da4;font-size:13px;line-height:1.7}.profileStats{display:flex;justify-content:center;gap:40px;margin:28px 0}.profileStats span{display:flex;flex-direction:column;gap:7px;color:#aaa4b6;font-size:12px}.profileStats strong{font-size:27px;color:#332b4c}footer{text-align:center;padding:22px;color:#b3acbf;font-size:11px;border-top:1px solid #eeebf4}.modalBackdrop,.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#18132b80;z-index:50;display:grid;place-items:center;padding:18px}.modal{position:relative;background:#fff;border-radius:22px;width:min(430px,100%);padding:35px;box-shadow:0 25px 90px #15102e33}.modal .brandicon{margin-bottom:18px}.modal h2{margin:0 0 7px;font-size:26px}.modal p{color:#9992aa;font-size:13px;line-height:1.6}.modal form{display:grid;gap:17px;margin-top:26px}.modal label{display:grid;gap:8px;font-size:12px;font-weight:800;color:#5b536f}.modal input{border:1px solid #e4e0ef;border-radius:10px;padding:13px;outline:none}.modal input:focus{border-color:#8069e9}.full{width:100%}.close{position:absolute;right:22px;top:22px;background:none;border:0;color:#9c94aa}.authMessage{background:#f8f3ff;padding:12px;border-radius:9px;color:#705cb8;font-size:12px;line-height:1.5}.switchAuth{text-align:center;font-size:12px;color:#9992aa;margin-top:24px}.switchAuth button{border:0;background:none;color:#745cdd;font-weight:800}.mobileonly{display:none}@media(max-width:1050px){.sidebar{width:210px}.main{margin-left:210px}.content{width:91%}.heroText{padding-left:30px}.stats{gap:10px}.stat{padding:15px;gap:10px}.statIcon{width:40px;height:40px}.lessonCard{padding:17px}}@media(max-width:760px){.sidebar{transform:translate(-100%);transition:transform .2s;width:260px}.sidebar.open{transform:translate(0);z-index:60}.main{margin-left:0}.mobileonly{display:block}.topbar{height:66px;padding:0 5%}.toplabel{font-size:11px}.pill{display:none}.content{width:92%;margin-top:20px}.hero{grid-template-columns:1fr}.heroText{padding:31px 28px 20px}.heroart{min-height:180px}.sun{width:240px;height:240px;right:10%;top:-15px}.japanese{font-size:65px;right:17%;top:15px}.heroemoji{font-size:60px;right:15%;bottom:4px}.floating{left:12%;bottom:22px}.stats{grid-template-columns:1fr;gap:10px;margin-bottom:35px}.stat{padding:14px 18px}.lessonGrid{grid-template-columns:1fr}.sectionhead h2{font-size:21px}.lessonCard h3{margin-top:17px}.lessonCard p{margin-bottom:16px}.studyCard,.practiceCard,.profileCard{padding:23px 18px}.account{font-size:0;gap:0}.account svg{width:20px}.iconbtn{border:0;background:none;color:#7662e8}.lessonRow{padding:15px;gap:12px}.lessonInfo strong{font-size:15px}.lessonInfo>span{font-size:11px}.studyActions{flex-wrap:wrap}.studyActions button{flex:1}}
