:root{--purple:#7460d9;--purple-dark:#5140ac;--ink:#2b2944;--muted:#7e7b90;--line:#eeecf4;--cream:#faf9f6;--green:#248663;--shadow:0 8px 28px #30285606;--radius:24px;font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #b299ff;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(29px,3vw,39px);line-height:1.2;letter-spacing:-1.3px}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:18px}p{line-height:1.65}svg{display:block}.app-shell{display:flex;min-height:100vh}.sidebar{width:240px;flex-shrink:0;background:white;border-right:1px solid var(--line);padding:34px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:800;letter-spacing:-1.1px}.brand-icon{position:relative;display:grid;place-items:center;background:var(--purple);color:#fff;width:43px;height:43px;border-radius:14px;font-size:38px;line-height:1;padding-bottom:9px}.brand-icon span{position:absolute;font-size:20px;right:6px;top:-2px;color:#ffdf86}.brand-kids{font-size:15px;letter-spacing:-.2px;color:var(--purple);margin-left:4px}.sidebar-caption{font-size:8px;font-weight:700;letter-spacing:1.1px;margin:21px 0 35px;color:#aaa5ba}.main-nav{display:flex;flex-direction:column;gap:9px}.main-nav a{padding:14px 15px;border-radius:13px;font-size:14px;font-weight:650;display:flex;align-items:center;gap:13px;color:#807b94}.main-nav a>span{width:21px;text-align:center;font-size:24px;line-height:1}.main-nav a:hover{background:#f7f5fe}.main-nav a.active{background:#eee9fc;color:var(--purple-dark)}.sidebar-bottom{margin-top:auto;padding:22px 14px 0}.little-spark{font-size:38px;color:#efb952;margin-bottom:8px}.sidebar-bottom strong{font-size:13px}.sidebar-bottom p{font-size:12px;color:var(--muted);margin:8px 0 15px}.text-button{padding:0;border:0;background:transparent;color:var(--purple);font-size:12px;font-weight:650;line-height:1.5}.workspace{margin-left:240px;flex:1;min-width:0}.topbar{height:90px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffff99;gap:12px}.topbar-greeting{font-size:13px;font-weight:600;color:#858193}.topbar-greeting span{color:#e9b54f;font-size:20px;margin-left:8px}.topbar-right{display:flex;align-items:center;gap:18px}.free-badge{font-size:11px;color:var(--green);background:#edf6ee;padding:6px 12px;border-radius:20px}.star-wallet{display:flex;gap:7px;align-items:center;background:#fff3da;border:1px solid #f7e5bc;border-radius:12px;padding:8px 13px;font-size:14px;font-weight:700}.star-wallet>span:first-child{color:#d99b26}main{max-width:1300px;margin:auto;padding:34px 5% 25px;min-height:75vh}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:12px}.page-heading h1{margin-bottom:7px}.page-heading p{font-size:14px;color:var(--muted);margin:0}.date-chip{font-size:11px;color:var(--muted);background:white;border:1px solid var(--line);border-radius:10px;padding:9px 12px;white-space:nowrap}.hero{background:#ede7fa;border-radius:var(--radius);padding:35px 36px;display:flex;position:relative;overflow:hidden;align-items:center;min-height:250px;margin-bottom:30px}.hero-copy{z-index:1;width:65%;max-width:530px}.eyebrow{display:block;font-size:10px;letter-spacing:1.7px;color:var(--purple-dark);font-weight:800;margin-bottom:14px}.hero h2{font-size:clamp(26px,2.7vw,36px);line-height:1.2;letter-spacing:-.8px;margin-bottom:14px}.hero p{max-width:370px;font-size:14px;color:#787089;margin-bottom:23px}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:46px;padding:12px 21px;border:0;border-radius:12px;background:var(--purple);color:white;font-size:13px;font-weight:750;box-shadow:0 4px 0 #5b47b9;transition:transform .15s,background .15s}.button:hover{background:#6651c9;transform:translateY(-1px)}.button:active{transform:translateY(2px);box-shadow:none}.button-secondary{background:#f0ecfa;color:var(--purple-dark);box-shadow:none}.button-secondary:hover{background:#e5def6}.button-plain{background:white;box-shadow:none;border:1px solid var(--line);color:var(--ink)}.button-danger{color:#a93e48;background:#fbeeee;box-shadow:none;font-size:12px}.hero-art{position:absolute;width:255px;height:235px;right:24px;bottom:0}.hero-art .mascot{width:100%;height:100%;filter:drop-shadow(0 10px 0 #d9cdeb66)}.hero-spark{position:absolute;font-size:30px;color:#b3a0de;right:22%;top:22px}.hero-dot{position:absolute;border-radius:50%;width:140px;height:140px;right:22px;top:32px;background:#e4daf6}.home-columns{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.section-heading h2{margin:0;font-size:20px}.section-link{font-size:11px;color:var(--purple);font-weight:700}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.lesson-card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:var(--shadow);position:relative;transition:transform .18s,border-color .18s;display:flex;flex-direction:column;min-height:220px}.lesson-card:hover{transform:translateY(-3px);border-color:#d6cbee}.lesson-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.lesson-illustration{width:62px;height:62px;border-radius:19px;display:grid;place-items:center;font-size:34px;background:var(--tint)}.lesson-badge{font-size:10px;font-weight:700;padding:5px 9px;border-radius:7px;background:#f6f5f9;color:#8a8398}.lesson-badge.completed{background:#e8f5ec;color:var(--green)}.lesson-card h3{margin:0 0 5px;font-size:19px}.lesson-card p{font-size:12px;color:var(--muted);margin-bottom:18px}.lesson-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;font-size:10px;color:#8f899e;gap:7px}.circle-arrow{width:30px;height:30px;display:grid;place-items:center;background:var(--tint);border-radius:10px;font-size:17px;color:var(--ink)}.progress-panel,.tip-panel{border:1px solid var(--line);background:white;border-radius:20px;padding:22px}.progress-panel h3{font-size:16px;margin-bottom:20px}.progress-ring{width:133px;height:133px;position:relative;margin:8px auto 19px}.progress-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-center{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.ring-center strong{font-size:28px;letter-spacing:-1px}.ring-center span{font-size:10px;color:var(--muted);margin-top:4px}.stat-line{display:flex;justify-content:space-between;font-size:12px;padding:11px 0;border-bottom:1px solid #f4f2f7}.stat-line:last-of-type{border:0}.stat-line span{color:var(--muted)}.progress-panel .section-link{display:block;margin-top:14px}.tip-panel{margin-top:18px;background:#fdf4e3;border-color:#f8ecd6}.tip-panel .eyebrow{color:#a17834;font-size:9px;margin-bottom:10px}.tip-panel h3{font-size:15px;margin-bottom:8px}.tip-panel p{font-size:12px;color:#9a8467;margin:0}.journey-note{background:#eaf2ea;border-radius:15px;padding:17px 20px;display:flex;align-items:center;gap:14px;margin-top:21px;font-size:12px;color:#65816a}.journey-note span{font-size:23px}.journey-note p{margin:0}.journey-note strong{color:#45674e}footer{padding:20px 5% 25px;font-size:10px;color:#aca5b4;display:flex;justify-content:space-between;gap:12px}.back-link{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:22px}.lesson-header{display:flex;align-items:center;gap:18px;margin-bottom:25px}.lesson-header h1{margin:0 0 7px}.lesson-header p{margin:0;font-size:13px;color:var(--muted)}.lesson-header .lesson-illustration{width:76px;height:76px;font-size:42px;flex-shrink:0}.lesson-tabs{display:flex;gap:8px;background:#f0edf5;border-radius:14px;padding:5px;margin-bottom:28px;max-width:610px}.lesson-tabs button{flex:1;border:0;padding:13px 10px;border-radius:10px;background:transparent;font-size:13px;font-weight:650;color:var(--muted)}.lesson-tabs button.active{color:var(--purple-dark);background:white;box-shadow:0 2px 7px #30285608}.activity{max-width:760px;margin:0 auto}.activity-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;color:var(--muted);margin-bottom:12px}.activity-heading strong{color:var(--ink);font-size:14px}.progress-track{height:6px;background:#e8e3f0;border-radius:10px;overflow:hidden;margin-bottom:22px}.progress-track span{display:block;height:100%;background:var(--purple);border-radius:10px;transition:width .2s}.word-card{border:1px solid var(--line);border-radius:25px;background:white;text-align:center;padding:34px 25px;min-height:315px;box-shadow:var(--shadow)}.word-emoji{display:grid;place-items:center;min-height:92px;font-size:73px;margin-bottom:15px}.word-card h2{font-size:36px;letter-spacing:-1px;margin-bottom:9px}.translation{color:var(--muted);font-size:18px;margin-bottom:24px}.listen-button{display:inline-flex;align-items:center;gap:10px;padding:10px 17px;background:#f0ecfa;color:var(--purple-dark);border:0;border-radius:12px;font-size:13px;font-weight:700}.listen-button:hover{background:#e7dff8}.speech-status{min-height:20px;font-size:12px;margin:12px 0 0;color:var(--muted)}.activity-actions{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:10px}.word-dots{display:flex;gap:6px;justify-content:center;margin-top:20px}.word-dots span{width:7px;height:7px;background:#ddd6eb;border-radius:50%}.word-dots span.active{background:var(--purple);width:20px;border-radius:10px}.question-card{text-align:center;background:white;border:1px solid var(--line);border-radius:24px;padding:26px;margin-bottom:18px}.question-card .eyebrow{color:var(--muted)}.question-card h2{font-size:32px;margin-bottom:15px}.question-card .word-emoji{font-size:50px;min-height:65px;margin-bottom:5px}.question-card p{font-size:14px;color:var(--muted);margin:0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{background:white;border:2px solid #ebe7f1;border-radius:16px;min-height:88px;padding:15px;font-size:16px;font-weight:650;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:14px;transition:border-color .15s,background .15s}.choice:not(:disabled):hover{border-color:var(--purple);background:#f8f5fe}.choice .choice-emoji{font-size:30px}.choice.correct{border-color:#52af82;background:#eaf6ed;color:#28704e}.choice.incorrect{border-color:#dd9190;background:#fbefed;color:#9d4c4b}.feedback{border-radius:15px;padding:17px 20px;margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eaf6ed;color:#28704e;font-size:14px}.feedback.wrong{background:#fff2df;color:#916e37}.feedback p{margin:0}.feedback small{display:block;margin-top:4px;font-size:12px}.result-card{border:1px solid var(--line);border-radius:25px;padding:40px 25px;background:white;text-align:center;max-width:700px;margin:auto}.result-icon{font-size:64px;margin-bottom:15px}.result-card h2{font-size:30px}.result-card p{color:var(--muted);max-width:450px;margin:0 auto 20px;font-size:14px}.result-stars{color:#dda42e;font-size:34px;letter-spacing:9px;margin-bottom:14px}.result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px}.overview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.overview-stat{padding:25px;background:white;border:1px solid var(--line);border-radius:20px}.overview-stat span{font-size:25px}.overview-stat strong{display:block;font-size:32px;margin:15px 0 5px;letter-spacing:-1px}.overview-stat p{font-size:12px;color:var(--muted);margin:0}.progress-list{background:white;border:1px solid var(--line);border-radius:20px;padding:10px 24px}.progress-row{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--line);padding:20px 0}.progress-row:last-child{border-bottom:0}.progress-row .lesson-illustration{width:48px;height:48px;font-size:27px;border-radius:14px}.progress-row h3{font-size:15px;margin:0 0 4px}.progress-row p{font-size:11px;color:var(--muted);margin:0}.progress-row .row-score{margin-left:auto;font-size:13px;color:var(--purple-dark);font-weight:700}.empty-card{text-align:center;padding:45px 25px;border-radius:24px;background:white;border:1px solid var(--line)}.empty-card .word-emoji{font-size:60px}.empty-card p{font-size:14px;color:var(--muted)}.review-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.review-list span{font-size:12px;background:#efe9fa;color:var(--purple-dark);border-radius:20px;padding:7px 12px}.review-explanation{font-size:13px;color:var(--muted);margin-bottom:22px}.review-buttons{display:flex;justify-content:center;gap:10px;margin-top:25px;flex-wrap:wrap}dialog{border:0;border-radius:23px;padding:30px;max-width:520px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #21164030}dialog::backdrop{background:#28213d77;backdrop-filter:blur(4px)}dialog p{color:var(--muted);font-size:13px}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head .eyebrow{margin:0}.icon-button{border:0;background:#f2eef8;color:var(--purple-dark);font-size:24px;border-radius:10px;width:36px;height:36px}.storage-warning{position:fixed;bottom:15px;left:260px;right:20px;background:#fff0ce;border:1px solid #e8cd94;border-radius:12px;padding:15px;font-size:12px;z-index:15}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;background:white;padding:12px;z-index:30}.skip-link:focus{top:10px}[hidden]{display:none!important}
@media(min-width:1500px){.hero-art{right:65px;width:290px;height:250px}.hero{min-height:270px}}
@media(max-width:1100px){.sidebar{width:205px;padding:30px 16px}.workspace{margin-left:205px}.home-columns{grid-template-columns:minmax(0,1fr) 225px;gap:20px}.hero-art{width:210px;right:8px}.hero-copy{width:67%}.hero{padding:30px 26px}.lesson-card{padding:17px}.sidebar-caption{font-size:7px}.progress-panel,.tip-panel{padding:18px}.storage-warning{left:225px}}
@media(max-width:900px){.home-columns{grid-template-columns:1fr}.home-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tip-panel{margin-top:0}.progress-panel .progress-ring{width:105px;height:105px}.hero-copy{width:60%}.hero-art{width:190px}.overview-stats{gap:12px}.overview-stat{padding:20px}}
@media(max-width:650px){.app-shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;padding:14px 16px 8px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:23px}.brand-icon{width:33px;height:33px;font-size:30px;border-radius:11px}.brand-icon span{font-size:16px;right:4px;top:-2px}.brand-kids{font-size:13px}.sidebar-caption,.sidebar-bottom{display:none}.main-nav{flex-direction:row;gap:4px;margin-top:14px;justify-content:space-between}.main-nav a{font-size:10px;gap:5px;padding:10px 8px;white-space:nowrap;border-radius:10px}.main-nav a>span{font-size:19px;width:16px}.workspace{margin-left:0}.topbar{height:58px;padding:0 20px}.topbar-greeting{font-size:10px}.topbar-greeting span{font-size:15px;margin-left:3px}.topbar-right{gap:8px}.free-badge{font-size:9px;padding:5px 8px}.star-wallet{font-size:12px;padding:6px 10px}main{padding:25px 20px 20px}.date-chip{display:none}.page-heading{margin-bottom:20px}.page-heading p{font-size:12px}.hero{padding:25px 22px;min-height:245px;margin-bottom:25px}.hero-copy{width:75%}.hero h2{font-size:27px;max-width:260px}.hero p{font-size:12px;max-width:230px}.hero-art{width:140px;height:150px;right:-29px;bottom:4px;opacity:.8}.hero-dot{width:100px;height:100px;right:-20px;top:35px}.hero-spark{right:18%;font-size:23px;top:17px}.hero .button{font-size:12px;min-height:42px;padding:10px 15px}.lesson-grid{gap:12px}.lesson-card{padding:15px;min-height:208px;border-radius:17px}.lesson-card h3{font-size:16px}.lesson-card p{font-size:11px}.lesson-illustration{width:49px;height:49px;border-radius:15px;font-size:28px}.lesson-card-top{margin-bottom:16px}.lesson-badge{font-size:8px;padding:5px 6px}.lesson-card-bottom{font-size:9px}.home-side{grid-template-columns:1fr}.progress-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:20px}.progress-panel h3{grid-column:1/-1}.progress-panel .progress-ring{grid-row:2/5;grid-column:1;margin:0 auto}.progress-panel .section-link{grid-column:1/-1}.stat-line{padding:8px 0}.tip-panel{padding:20px}.section-heading h2{font-size:18px}.journey-note{font-size:11px;padding:15px}.overview-stats{gap:8px}.overview-stat{padding:15px 12px;border-radius:16px}.overview-stat strong{font-size:26px}.overview-stat p{font-size:10px}.lesson-header{gap:12px}.lesson-header h1{font-size:29px}.lesson-header .lesson-illustration{width:60px;height:60px;font-size:33px}.lesson-tabs button{font-size:12px;padding:12px 7px}.word-card{padding:27px 20px;min-height:300px}.word-card h2{font-size:31px}.choices{gap:10px}.choice{min-height:85px;font-size:14px;gap:8px;padding:12px}.choice .choice-emoji{font-size:24px}.feedback{flex-direction:column;text-align:center}.feedback .button{width:100%}.activity-actions .button{font-size:12px;padding:12px 15px}.question-card{padding:23px 15px}.progress-list{padding:5px 15px}.progress-row{gap:10px}.progress-row .row-score{font-size:11px}.progress-row .lesson-illustration{width:40px;height:40px;font-size:23px}footer{font-size:9px;padding:15px 20px 25px;align-items:center}.storage-warning{left:15px;right:15px}.result-card h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
