@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700;750;800;900&display=swap');
:root{--bg:#f7f8f4;--surface:#fff;--ink:#21372f;--muted:#78827a;--accent:#176451;--accent-soft:#e9f0e6;--line:#e6e9e1;--hero:#e8efdf;--yellow:#f2edce;--sidebar:244px;--radius:23px;--shadow:0 14px 50px #153e2510;color-scheme:light;font-family:'Golos Text',Arial,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #d19932;outline-offset:4px}button{transition:background .2s,transform .2s,border-color .2s}button:active:not(:disabled){transform:translateY(1px)}.skip{position:fixed;top:-90px;left:20px;z-index:20;padding:15px;background:var(--surface);border-radius:12px}.skip:focus{top:10px}.hidden{display:none!important}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;padding:34px 24px 24px;z-index:5}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:19px;font-weight:750;letter-spacing:-.7px;line-height:1.08;min-height:47px}.brand-mark{font-size:48px;line-height:1;color:var(--accent)}.sidebar-label{font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--muted);margin:59px 12px 18px}.nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;text-align:left;padding:14px;border:0;background:transparent;border-radius:12px;font-size:13px;font-weight:500;color:var(--muted);white-space:nowrap}.nav-item>span:first-child{font-size:24px;line-height:21px;width:23px;color:inherit}.nav-item:hover{background:var(--bg);color:var(--ink)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:650}.nav-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);margin-left:auto}.sidebar-note{margin: auto 0 25px;background:var(--bg);padding:22px 19px 19px;border-radius:18px;overflow:hidden}.sidebar-note strong{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.5px;display:block;margin-top:16px}.sidebar-note p{font-size:11px;color:var(--muted);line-height:1.8;margin:10px 0 17px}.note-orbit{font-family:Georgia,serif;font-size:42px;color:var(--accent);display:block;position:relative;line-height:1;transform:rotate(-12deg);width:80px}.note-orbit span{position:absolute;left:36px;top:4px;font-size:26px;color:#a0ae83;transform:rotate(18deg)}.note-line{width:32px;height:3px;display:block;background:#ccd8b6;border-radius:10px}.local-label{font-size:9px;color:var(--muted);display:flex;gap:6px;align-items:center;justify-content:center}.local-label>span{width:5px;height:5px;border-radius:50%;background:#8caa82}main{margin-left:var(--sidebar);padding:0 45px;max-width:1800px}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:var(--muted)}.topbar-right{display:flex;gap:22px;align-items:center}.today{font-size:11px;color:var(--muted)}.avatar{border:5px solid var(--surface);background:#e6ebdc;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:11px;font-weight:600}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:31px 0 25px}.page-heading h1{font-size:29px;font-weight:650;letter-spacing:-1.2px;margin:0 0 9px}.page-heading p{margin:0;font-size:12px;line-height:1.7;color:var(--muted)}.heading-spark{font-size:47px;color:#bac99c;margin-right:9px;font-weight:400;transform:rotate(-15deg)}.preferences{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.age-control,.level-control{display:flex;align-items:center;gap:15px}.control-label{font-size:11px;color:var(--muted);white-space:nowrap}.segmented{display:flex;background:#ecefe8;padding:4px;border-radius:12px;gap:3px}.segmented button{border:0;background:transparent;padding:9px 13px;border-radius:9px;font-size:11px;font-weight:500;white-space:nowrap;color:var(--muted)}.segmented button span{font-size:9px;opacity:.75;margin-left:5px}.segmented button.selected{background:var(--surface);color:var(--ink);box-shadow:0 2px 6px #28452b09}.level-control select{font-size:11px;padding:12px 34px 12px 13px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);max-width:240px}.feature-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(230px,1.13fr);gap:20px}.hero{background:var(--hero);border-radius:var(--radius);padding:33px 31px;position:relative;display:flex;min-height:322px;overflow:hidden}.hero-copy{width:58%;position:relative;z-index:1}.hero-tag{display:flex;align-items:center;gap:8px;font-size:8px;font-weight:650;letter-spacing:1px;color:var(--accent)}.hero-tag>span:first-child{width:5px;height:5px;background:var(--accent);border-radius:50%}.hero-tag i{font-style:normal;opacity:.4}.hero h2{font-size:33px;line-height:1.15;letter-spacing:-1.3px;font-weight:600;margin:24px 0 14px;max-width:370px}.hero-copy>p{font-size:11px;line-height:1.9;color:#647161;max-width:310px;margin:0 0 22px}.primary{background:var(--accent);color:#fff;border:0;padding:14px 20px;border-radius:11px;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:space-between;gap:27px;min-height:46px}.primary:hover{filter:brightness(1.1);box-shadow:0 5px 15px #1c533421}.primary>span{font-size:20px;line-height:1}.duration{display:block;font-size:9px;color:#7f8c71;margin-top:11px}.hero-art{position:absolute;right:11px;top:8px;width:43%;height:95%}.globe{width:190px;height:190px;border-radius:50%;border:1px solid #8b9b7445;position:absolute;left:50%;top:49%;transform:translate(-50%,-50%) rotate(-18deg);background:radial-gradient(circle at 25% 30%,#eef4e5,#dce6c9);box-shadow:inset -14px -10px 27px #afbd8d2a}.globe-meridian{position:absolute;border:1px solid #8b9b7445;left:50%;top:0;height:100%;width:40%;border-radius:50%;transform:translateX(-50%)}.globe-meridian.m2{width:78%}.globe-latitude{position:absolute;left:0;top:50%;width:100%;height:30%;border-radius:50%;border:1px solid #8b9b7445;transform:translateY(-50%)}.globe-latitude.l2{top:27%;width:88%;left:6%;height:25%}.globe-latitude.l3{top:73%;width:88%;left:6%;height:25%}.globe-orbit{position:absolute;width:260px;height:86px;border:1px solid #9bab7e88;border-radius:50%;left:-35px;top:52px;transform:rotate(-28deg)}.speech{position:absolute;display:flex;align-items:center;gap:20px;font-size:23px;font-weight:550;box-shadow:0 9px 24px #657d4014;letter-spacing:-.8px;border-radius:15px 15px 15px 3px;padding:16px 19px}.speech span{font-size:23px}.hello{top:37px;left:0;background:#fffef4;transform:rotate(-10deg);color:#2c5d45}.nihao{right:-5px;top:132px;background:#176451;color:#fff;transform:rotate(9deg);font-size:25px}.hola{bottom:42px;left:10px;background:#efdb84;color:#65541a;transform:rotate(-6deg);font-size:21px}.art-star{position:absolute;color:#a1af71;font-size:32px}.star-one{right:10px;top:20px}.star-two{left:0;bottom:22px;font-size:18px}.art-dot{position:absolute;right:25px;bottom:59px;background:#b8c68d;width:6px;height:6px;border-radius:50%}.art-caption{position:absolute;bottom:5px;text-align:center;width:100%;font-size:6px;letter-spacing:1.4px;color:#93a078}.daily-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:23px 24px;display:flex;flex-direction:column}.daily-top{display:flex;justify-content:space-between;align-items:center;gap:5px}.daily-top .eyebrow{font-size:7px;letter-spacing:1.2px}.daily-top>span:last-child{font-size:24px;color:#bdad64}.daily-card h3{font-size:21px;font-weight:550;line-height:1.4;letter-spacing:-.7px;margin:12px 0 5px}.daily-progress{position:relative;width:100px;height:100px;align-self:center;margin:3px 0 10px}.daily-progress svg{width:100%;height:100%;transform:rotate(-90deg)}.daily-progress circle{fill:none;stroke-width:5}.ring-track{stroke:var(--accent-soft)}.ring-value{stroke:var(--accent);stroke-dasharray:251.33;stroke-dashoffset:251.33;stroke-linecap:round;transition:stroke-dashoffset .5s}.daily-progress>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}.daily-progress strong{font-size:25px;font-weight:500;letter-spacing:-1px}.daily-progress strong span{color:#aab2a5;font-size:16px;letter-spacing:0}.daily-progress>div>span{font-size:8px;color:var(--muted)}.week{display:flex;justify-content:space-between;gap:4px}.week span{font-size:8px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;color:var(--muted)}.week span.is-today{background:var(--accent-soft);color:var(--accent);outline:1px solid var(--accent)}.week span.done{background:var(--accent);color:#fff}.daily-card>p{font-size:9px;line-height:1.7;color:var(--muted);text-align:center;margin:12px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:29px 0 16px}.section-heading h2{font-size:20px;font-weight:600;letter-spacing:-.6px;margin:0 0 6px}.section-heading p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.quiet-badge{font-size:7px;font-weight:550;letter-spacing:1.1px;color:var(--muted)}.languages-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.language-card{position:relative;display:flex;align-items:center;text-align:left;gap:10px;padding:16px 12px;background:var(--surface);border:1px solid var(--line);border-radius:13px;min-height:76px}.language-card:hover{border-color:#abb99d;transform:translateY(-2px)}.language-card.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent)}.language-code{height:33px;min-width:33px;display:grid;place-items:center;border-radius:50%;background:var(--lang-bg);color:var(--lang-ink);font-size:10px;font-weight:650}.language-name{display:flex;flex-direction:column;gap:6px;min-width:0}.language-name strong{font-weight:550;font-size:10px}.language-name small{color:var(--muted);font-size:8px}.language-check{position:absolute;right:8px;top:5px;font-size:10px;color:var(--accent)}.current-selection{font-size:10px;color:var(--muted)}.formats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.format-card{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:20px 18px;position:relative;display:flex;gap:15px;align-items:flex-start;min-height:128px}.format-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c5d2bc}.format-icon{border-radius:11px;background:#edf0e1;color:#5f794a;min-width:39px;height:43px;display:grid;place-items:center;font-family:Georgia,serif;font-size:19px;position:relative}.format-icon>span{position:absolute;right:-4px;bottom:-4px;font-size:13px;line-height:18px;background:#e4ead0;border:2px solid var(--surface);width:20px;height:20px;border-radius:50%;text-align:center}.format-cards .format-icon{background:#f4e8d7;color:#a87942;font-size:33px}.format-cards .format-icon>span{background:#f1ddbd}.format-game .format-icon{background:#ebe6f4;color:#8973a9;font-size:30px}.format-game .format-icon>span{background:#e7dcf5}.format-text{display:flex;flex-direction:column;gap:9px;padding-top:3px}.format-text strong{font-size:12px;font-weight:600}.format-text>span{font-size:9px;line-height:1.7;color:var(--muted);max-width:175px}.format-text small{font-size:8px;color:#99a090}.format-arrow{margin-left:auto;color:#98a28d;font-size:18px}footer{display:flex;gap:15px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin:34px 0 0;padding:21px 0 24px;font-size:8px;color:var(--muted)}.footer-brand{font-size:9px;display:flex;align-items:center;gap:9px}.footer-brand>span{font-size:18px;color:#a8b791}
dialog{border:1px solid var(--line);padding:0;border-radius:26px;box-shadow:0 40px 120px #102a3840;background:var(--surface);color:var(--ink);width:min(720px,calc(100% - 28px));max-height:calc(100dvh - 34px);overscroll-behavior:contain}dialog::backdrop{background:#173a2b66;backdrop-filter:blur(7px)}.dialog-shell{padding:25px 34px 34px}.activity-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.activity-kicker{font-size:10px;color:var(--muted);line-height:1.8}.icon-button{background:var(--bg);border:0;width:35px;height:35px;border-radius:50%;font-size:25px;line-height:1}.activity-progress{height:5px;background:var(--accent-soft);border-radius:5px;overflow:hidden;margin:5px 0 27px}.activity-progress>span{height:100%;display:block;background:var(--accent);transition:width .25s}.activity-title{font-size:26px;letter-spacing:-.8px;line-height:1.3;margin:10px 0 8px;font-weight:600}.activity-subtitle{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 20px}.question-label{font-size:11px;color:var(--muted);margin-top:25px}.question-term{font-size:36px;font-weight:550;text-align:center;letter-spacing:-.6px;margin:25px 0 8px;overflow-wrap:anywhere;line-height:1.4}.question-reading{text-align:center;color:var(--muted);font-size:12px;min-height:17px;margin-bottom:8px}.speak{background:var(--accent-soft);border:0;color:var(--accent);border-radius:50px;padding:9px 15px;font-size:11px;display:block;margin:12px auto 23px}.speak:disabled{opacity:.5}.answers{display:grid;grid-template-columns:1fr 1fr;gap:11px}.answer{padding:17px 14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);font-size:13px;min-height:65px;line-height:1.5}.answer:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.answer.correct{border-color:#368b53;background:#e9f6e8;color:#205a33}.answer.wrong{border-color:#bc6554;background:#faeeeb;color:#9e4333}.answer.muted{opacity:.55}.feedback{border-radius:12px;padding:15px 17px;background:var(--accent-soft);font-size:12px;line-height:1.8;margin-top:20px}.feedback.error{background:#faeeeb;color:#9e4333}.activity-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px}.activity-bottom>span{font-size:10px;color:var(--muted)}.secondary{background:transparent;border:1px solid var(--line);border-radius:11px;padding:13px 18px;font-size:12px;min-height:43px}.secondary:hover{background:var(--accent-soft);border-color:var(--accent)}.flashcard{background:var(--hero);border:1px solid var(--line);width:100%;min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:20px;padding:27px;position:relative;gap:12px;margin:22px 0 12px}.flashcard .card-term{font-size:34px;font-weight:550;line-height:1.4;overflow-wrap:anywhere;max-width:100%}.flashcard .card-reading{font-size:13px;color:var(--muted)}.flashcard .flip-hint{font-size:10px;color:var(--muted);margin-top:16px}.flashcard.flipped{background:var(--accent-soft)}.card-counter{text-align:center;color:var(--muted);font-size:11px}.memory-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:23px}.memory-column{display:flex;flex-direction:column;gap:9px}.memory-tile{padding:13px 10px;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-size:13px;line-height:1.5;min-height:66px;overflow-wrap:anywhere}.memory-tile:hover:not(:disabled){border-color:var(--accent)}.memory-tile.picked{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--accent-soft)}.memory-tile.matched{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent);opacity:.5}.memory-tile.mismatch{border-color:#bc6554;background:#faeeeb;color:#9e4333}.game-meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:12px 0}.complete{text-align:center;padding:18px 5px 8px}.complete-icon{display:grid;place-items:center;font-size:48px;color:var(--accent);width:94px;height:94px;background:var(--accent-soft);border-radius:50%;margin:0 auto 25px}.complete .activity-subtitle{max-width:420px;margin:15px auto 23px}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px auto 26px;max-width:350px}.result-grid>div{background:var(--bg);border-radius:14px;padding:17px}.result-grid strong{display:block;font-size:26px;font-weight:550;margin-bottom:6px}.result-grid span{font-size:10px;color:var(--muted)}.complete-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.review-list{text-align:left;display:grid;gap:8px;margin-bottom:23px}.review-item{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px 15px;font-size:12px;padding:11px 14px;background:var(--bg);border-radius:9px;line-height:1.5}.review-item>span{color:var(--muted)}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:var(--surface);font-size:12px;line-height:1.7;padding:13px 22px;border-radius:13px;opacity:0;pointer-events:none;z-index:30;transition:opacity .2s,transform .2s;max-width:90%}.toast.visible{opacity:1;transform:translate(-50%,0)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat{padding:27px;background:var(--surface);border:1px solid var(--line);border-radius:17px}.stat strong{font-size:34px;display:block;margin-bottom:10px;font-weight:550}.stat span{font-size:12px;color:var(--muted)}.progress-list{display:grid;gap:12px;margin:22px 0}.progress-row{padding:18px 22px;background:var(--surface);border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.progress-row strong{font-size:13px;font-weight:600}.progress-row p{font-size:11px;color:var(--muted);line-height:1.8;margin:5px 0 0}.progress-row>span{font-size:12px;color:var(--accent);white-space:nowrap}.empty-progress{padding:45px 25px;text-align:center;border:1px dashed #bfccb8;border-radius:17px;line-height:1.9;color:var(--muted);font-size:13px}
html[data-age=kids]{--bg:#fffaf2;--accent:#2c7b5d;--accent-soft:#e4f2de;--hero:#e4f2cf;--line:#ece7db;--radius:28px}html[data-age=kids] .hero-art{transform:rotate(3deg)}html[data-age=kids] .heading-spark{color:#e1aa43}html[data-age=kids] .language-card{border-radius:18px}html[data-age=kids] .hero h2{font-weight:750}html[data-age=teens]{--bg:#171921;--surface:#20232d;--ink:#eceef8;--muted:#a0a5b9;--accent:#baa2ff;--accent-soft:#302a44;--line:#333642;--hero:#302b49;--yellow:#514834;color-scheme:dark}html[data-age=teens] .hero-copy>p{color:#b8b0ce}html[data-age=teens] .primary{color:#241b39}html[data-age=teens] .duration{color:#aaa0c4}html[data-age=teens] .segmented{background:#242631}html[data-age=teens] .avatar{background:#40365d}html[data-age=teens] .sidebar-note{background:#292b37}html[data-age=teens] .globe{background:radial-gradient(circle at 25% 30%,#73628e,#453856);border-color:#baa2ff55}html[data-age=teens] .globe-meridian,html[data-age=teens] .globe-latitude,html[data-age=teens] .globe-orbit{border-color:#c7b0e966}html[data-age=teens] .nihao{background:#b7a0ee;color:#251e34}html[data-age=teens] .art-star,html[data-age=teens] .heading-spark{color:#baa2ff}html[data-age=teens] .art-caption{color:#b2a5c7}html[data-age=teens] .answer.correct{background:#203c31;color:#b7e5bb}html[data-age=teens] .answer.wrong,html[data-age=teens] .feedback.error,html[data-age=teens] .memory-tile.mismatch{background:#4b2d35;color:#ffd1c8}
@media(min-width:1500px){main{padding:0 60px}.hero{padding:37px 39px;min-height:345px}.hero h2{font-size:40px}.hero-copy>p{font-size:12px;max-width:350px}.globe{width:215px;height:215px}.speech{font-size:27px}.language-name strong{font-size:12px}.language-name small{font-size:10px}.language-card{padding:18px}.format-text strong{font-size:14px}.format-text>span{font-size:11px}.format-text small{font-size:10px}.daily-card h3{font-size:24px}.page-heading h1{font-size:34px}}
@media(max-width:1200px){:root{--sidebar:205px}.sidebar{padding:28px 18px 22px}.brand{font-size:16px}.brand-mark{font-size:40px}main{padding:0 27px}.preferences{align-items:flex-end}.age-control{gap:8px;align-items:flex-start;flex-direction:column}.level-control{gap:8px;flex-direction:column;align-items:flex-start}.segmented button{padding:9px 11px}.feature-grid{grid-template-columns:minmax(0,2.5fr) minmax(207px,1fr);gap:15px}.hero{padding:27px 24px}.hero h2{font-size:28px}.hero-copy{width:62%}.hero-art{width:39%;right:8px}.globe{width:150px;height:150px}.globe-orbit{width:206px;left:-28px;top:40px}.speech{font-size:19px;padding:13px 14px;gap:11px}.hello{top:52px}.nihao{top:145px;right:-5px}.hola{bottom:41px;left:-3px;font-size:17px}.daily-card{padding:20px 17px}.daily-card h3{font-size:19px}.languages-grid{gap:9px}.language-card{gap:7px;padding:15px 9px;min-height:75px}.language-code{min-width:27px;height:27px;font-size:9px}.language-name strong{font-size:9px}.language-name small{font-size:8px}.format-card{gap:9px;padding:18px 13px}.format-text strong{font-size:11px}.format-icon{min-width:32px;height:36px}.quiet-badge{font-size:6px}.page-heading h1{font-size:26px}}
@media(max-width:1000px){:root{--sidebar:78px}.sidebar{align-items:center;padding:26px 10px}.brand-name,.sidebar-label,.sidebar-note,.local-label{display:none}.brand-mark{font-size:43px}.nav{margin-top:44px;width:100%;gap:15px}.nav-item{font-size:0;justify-content:center;padding:13px}.nav-item>span:first-child{font-size:26px;width:23px}.nav-dot{display:none}.page-heading h1{font-size:27px}.feature-grid{grid-template-columns:minmax(0,3fr) minmax(200px,1fr)}.hero h2{font-size:31px}.format-text>span{max-width:135px}.quiet-badge{display:none}.language-name strong{font-size:10px}.language-card{flex-direction:column;text-align:center;align-items:center;gap:9px;padding:15px 7px}.language-name{gap:5px}}
@media(max-width:760px){main{padding:0 20px}.topbar{height:74px}.eyebrow{font-size:8px;letter-spacing:1px}.today{display:none}.topbar-right{gap:10px}.page-heading{margin:26px 0 22px}.page-heading h1{font-size:24px;line-height:1.2;max-width:330px}.page-heading p{font-size:11px;max-width:330px}.heading-spark{font-size:36px}.feature-grid{grid-template-columns:1fr}.hero{min-height:320px;padding:28px}.hero h2{font-size:34px}.hero-copy{width:61%}.hero-art{width:38%;right:16px}.daily-card{display:grid;grid-template-columns:1fr 90px;grid-template-rows:auto auto auto;gap:0 20px;padding:20px 24px}.daily-top{grid-column:1;justify-content:flex-start;gap:20px}.daily-card h3{margin:8px 0 12px;font-size:20px}.daily-card h3 br{display:none}.daily-progress{grid-column:2;grid-row:1/4;width:85px;height:85px;margin:0}.week{max-width:260px}.daily-card>p{display:none}.section-heading{margin-top:27px}.formats-grid{grid-template-columns:1fr}.format-card{min-height:100px;gap:18px;align-items:center;padding:20px}.format-icon{min-width:44px;height:47px}.format-text strong{font-size:14px}.format-text>span{font-size:11px;max-width:none}.format-text small{font-size:9px}.format-text{gap:7px;padding:0}.languages-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.language-name strong{font-size:9px}.language-name small{font-size:7px}.current-selection{font-size:8px}.preferences{gap:12px;align-items:stretch}.segmented button{font-size:10px;padding:9px}.segmented button span{display:none}.level-control select{max-width:190px;padding:11px 7px;font-size:10px}.control-label{font-size:10px}footer{flex-direction:column;align-items:flex-start;line-height:1.8;gap:5px}.stats-grid{gap:10px}.stat{padding:20px 15px}.stat strong{font-size:28px}.stat span{font-size:10px}.progress-row{padding:17px 14px}}
@media(max-width:520px){:root{--sidebar:0px}.sidebar{inset:auto 0 0;width:100%;height:66px;padding:0 8px;border:0;border-top:1px solid var(--line);background:var(--surface)}.sidebar>.brand{display:none}.nav{display:flex;align-items:center;justify-content:space-between;margin:0;width:100%;height:100%;gap:3px}.nav-item{font-size:8px;flex-direction:column;gap:3px;flex:1;padding:8px 4px;border-radius:10px}.nav-item>span:first-child{font-size:21px;height:22px}.nav-item.active{background:var(--accent-soft)}main{padding:0 17px 67px}.topbar{height:66px}.topbar .eyebrow{font-size:7px;letter-spacing:1px}.avatar{width:35px;height:35px;border-width:4px;font-size:9px}.page-heading{margin:23px 0}.page-heading h1{font-size:26px;line-height:1.22;max-width:270px}.page-heading p{font-size:11px;max-width:265px}.heading-spark{font-size:33px;margin-right:0}.preferences{margin-bottom:19px;gap:9px}.age-control,.level-control{gap:7px}.segmented{gap:0;padding:3px;border-radius:9px}.segmented button{font-size:9px;padding:10px 8px;border-radius:7px}.level-control select{font-size:9px;padding:12px 4px;max-width:145px;border-radius:9px}.control-label{font-size:9px}.hero{padding:26px 22px;min-height:361px;display:block}.hero-copy{width:83%}.hero-tag{font-size:7px;letter-spacing:.6px;gap:6px}.hero h2{font-size:31px;max-width:260px;margin-top:21px}.hero-copy>p{font-size:11px;max-width:225px;line-height:1.8;margin-bottom:18px}.hero-art{width:125px;height:180px;right:8px;top:auto;bottom:12px;opacity:.9}.globe{width:108px;height:108px;top:50%}.globe-orbit{width:141px;height:44px;left:-17px;top:30px}.speech{font-size:14px;gap:8px;padding:9px 12px;border-radius:9px 9px 9px 2px}.speech span{font-size:14px}.hello{top:15px;left:-3px}.nihao{top:76px;right:0;font-size:15px}.hola{bottom:17px;left:-9px;font-size:13px}.art-caption,.star-one,.art-dot{display:none}.star-two{font-size:14px;left:-4px;bottom:1px}.hero .primary{position:relative;z-index:2;font-size:11px;padding:13px 16px;gap:20px}.duration{font-size:8px;max-width:180px}.daily-card{padding:18px 20px;grid-template-columns:1fr 77px;gap:0 12px}.daily-card h3{font-size:17px;letter-spacing:-.5px}.daily-progress{width:77px;height:77px}.daily-top .eyebrow{font-size:6px}.daily-top>span:last-child{font-size:19px}.week span{width:22px;height:22px;font-size:7px}.section-heading h2{font-size:20px}.section-heading p{font-size:10px;max-width:260px}.languages-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.language-card{flex-direction:row;text-align:left;gap:11px;padding:14px 12px;min-height:70px}.language-name strong{font-size:10px}.language-name small{font-size:8px}.language-code{min-width:31px;height:31px;font-size:9px}.current-selection{display:none}.format-card{padding:19px 16px}.format-text strong{font-size:13px}.format-text>span{font-size:10px}.format-text small{font-size:8px}.dialog-shell{padding:18px 20px 26px}.activity-header{margin-bottom:10px}.activity-title{font-size:23px}.activity-kicker{font-size:9px}.question-term{font-size:29px;margin-top:20px}.answers{gap:9px}.answer{font-size:12px;padding:13px 10px;min-height:68px}.activity-bottom .primary{padding:13px 16px}.activity-bottom>span{font-size:9px}.flashcard{min-height:240px;padding:22px}.flashcard .card-term{font-size:28px}.memory-columns{gap:9px}.memory-tile{padding:10px 7px;font-size:11px;min-height:68px}.activity-subtitle{font-size:11px}.complete .activity-title{font-size:24px}.result-grid strong{font-size:24px}.stats-grid{grid-template-columns:1fr}.stat{display:flex;align-items:center;gap:20px}.stat strong{margin:0}.progress-row{align-items:flex-start}.progress-row strong{font-size:12px}.progress-row>span{font-size:10px}.progress-row p{font-size:10px}.toast{bottom:78px;font-size:11px}.topbar{scroll-margin-top:10px}}
.activity-status{font-size:12px;line-height:1.7;background:var(--accent-soft);padding:12px 15px;border-radius:10px;margin-bottom:18px}.activity-status:empty{display:none}
@media(max-width:520px){.hero{min-height:355px}.hero-copy{width:100%}.hero h2{font-size:28px;max-width:300px}.hero-copy>p{max-width:100%}.hero-art{width:106px;height:140px;bottom:7px;right:6px}.speech{font-size:13px;padding:8px 10px}.nihao{font-size:14px;top:59px}.hello{top:0}.hola{bottom:0}.globe{width:95px;height:95px}.globe-orbit{width:128px;left:-17px;top:27px}.star-two{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.nav-item:not(.active) .nav-dot{display:none}
.sidebar-topic{display:flex;flex-direction:column;gap:8px;margin:0 10px 14px}.sidebar-topic label{color:var(--muted);font-size:10px}.sidebar-topic select{border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:12px;padding:11px 9px;width:100%}.sidebar-label{margin-top:25px!important}.nav-item{white-space:normal;line-height:1.45}.nav-item>span:first-child{flex-shrink:0}.sidebar .nav{flex:0 0 auto}.topic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 22px;border:1px solid var(--line);border-radius:14px;padding:14px 17px;background:var(--surface)}.topic-toolbar>div{display:flex;gap:13px;align-items:center}.topic-toolbar .control-label{font-size:8px;letter-spacing:1px}.topic-toolbar strong{font-size:13px;font-weight:600}.topic-toolbar .secondary{padding:8px 13px;min-height:34px;font-size:10px}.topic-toolbar>#mobile-topic-picker,.mobile-topic-label{display:none}.lesson-step small{max-width:160px}.hero-copy .duration{line-height:1.8;max-width:310px}
@media(max-width:1000px){.sidebar-topic{display:none}.sidebar .nav{gap:4px!important;margin-top:20px!important}.sidebar .nav-item{padding:9px 10px!important}.topic-toolbar .secondary{display:none}.topic-toolbar>#mobile-topic-picker{display:block;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:10px;font-size:12px;width:min(210px,55%)}.topic-toolbar>div>.control-label{display:none}}
@media(max-width:520px){.sidebar .nav{margin-top:0!important;gap:3px!important}.sidebar .nav-item{padding:8px 10px!important;flex:0 0 auto;min-width:74px;font-size:8px;white-space:nowrap}.topic-toolbar{margin-bottom:18px;padding:12px 14px;gap:10px}.topic-toolbar strong{font-size:12px}.topic-toolbar>#mobile-topic-picker{font-size:11px;padding:9px;width:58%}.hero{min-height:365px}.hero h2{font-size:27px}.duration{max-width:190px!important}.lesson-step strong{font-size:11px}}
@media(max-width:520px){.nav{overflow-y:hidden;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}}
.lesson-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.lesson-step{display:flex;gap:12px;align-items:center;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:19px 14px;min-height:90px}.lesson-step-number{min-width:33px;height:33px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:600}.lesson-step>span:nth-child(2){display:flex;flex-direction:column;gap:7px}.lesson-step strong{font-size:12px;font-weight:600}.lesson-step small{font-size:9px;color:var(--muted);line-height:1.5}.lesson-step>span:last-child{margin-left:auto}.lesson-step.is-current{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.lesson-step.is-done{background:var(--accent-soft)}.lesson-step.is-locked{opacity:.55}.lesson-length{display:flex;gap:10px;align-items:center}.lesson-length label{font-size:10px;color:var(--muted)}.lesson-length select{font-size:11px;border:1px solid var(--line);border-radius:10px;padding:11px;background:var(--surface);color:var(--ink)}.sidebar{overflow-y:auto}.nav{gap:4px}.nav-item{padding:10px 13px}.sidebar-label{margin-top:33px;margin-bottom:13px}
@media(max-height:1000px) and (min-width:521px){.sidebar-note{display:none}.local-label{margin-top:auto;padding-top:25px}}
@media(max-width:1000px){.nav-item{padding:10px}.nav{margin-top:30px}.lesson-path{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.lesson-path-section .section-heading{align-items:flex-start;flex-direction:column}.lesson-length{width:100%;justify-content:space-between}.lesson-step{padding:16px 13px}.lesson-step small{font-size:9px}}
@media(max-width:520px){.sidebar{overflow:visible}.nav{margin:0;overflow-x:auto;justify-content:flex-start;gap:3px}.nav-item{flex:0 0 73px;padding:8px 4px}.lesson-step{min-height:90px;gap:9px}.lesson-step strong{font-size:11px}.lesson-step-number{min-width:27px;height:27px;font-size:12px}.lesson-step small{font-size:8px}.lesson-step>span:last-child{display:none}.lesson-length select{font-size:11px}.sidebar-label{display:none}}
