@font-face{font-family:LocalUI;src:local('Arial');font-display:swap}*{box-sizing:border-box} :root{--ink:#263f39;--green:#28685c;--muted:#6e7972;--paper:#f8f7f2;--line:#e4e7de;--sage:#e6eee5;--peach:#f4e1d5;--butter:#f4ecd0;--lilac:#eeebf4;--blue:#e7eff1;--radius:24px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 LocalUI,Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd754f;outline-offset:4px}a{color:var(--green)}button svg{pointer-events:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,4vw,46px);line-height:1.28;letter-spacing:-1.2px}h2{font-size:26px;line-height:1.35;letter-spacing:-.5px}h3{font-size:20px;line-height:1.4}p{color:var(--muted)}.art{width:32px;height:32px;flex:none}.skip{position:fixed;top:-100px;z-index:999;padding:12px;background:white}.skip:focus{top:0}.sidebar{position:fixed;inset:0 0 0 auto;width:224px;background:#fffdf8;border-left:1px solid var(--line);display:flex;flex-direction:column;padding:34px 22px;z-index:10}.brand{display:flex;align-items:center;gap:12px;margin:0 8px 48px}.brand-mark{background:var(--green);color:white;font-size:30px;font-weight:800;border-radius:17px 17px 6px 17px;width:48px;height:48px;display:grid;place-items:center}.brand b{font-size:28px;line-height:1}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.5px}.nav{display:grid;gap:10px}.nav button{text-align:right;display:flex;align-items:center;gap:12px;background:none;border-radius:14px;padding:13px 14px;font-weight:600;font-size:15px}.nav button .art{width:23px;height:23px}.nav button.active{background:var(--sage);color:var(--green)}.nav button:hover{background:#f0f2eb}.sidebar-bottom{margin-top:auto}.local-note{font-size:12px;color:var(--muted);margin:20px 13px 0}.workspace{margin-right:224px;min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:90px;max-width:1240px;margin:auto;padding:0 46px;border-bottom:1px solid var(--line)}.eyebrow{font-size:12px;color:var(--green);font-weight:700;letter-spacing:.8px}.topbar .eyebrow{color:var(--muted)}.profile-switch{display:flex;align-items:center;gap:9px;background:transparent;font-size:14px}.avatar{display:grid;place-items:center;width:42px;height:42px;background:var(--sage);border-radius:50%}.avatar .art{width:29px;height:29px}.main{max-width:1240px;margin:auto;padding:34px 46px 50px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 18px}.section-heading small{color:var(--muted);font-size:14px}.hero{position:relative;border-radius:30px;background:#e9eee4;display:grid;grid-template-columns:1.25fr 1fr;min-height:350px;overflow:hidden;margin:24px 0 28px;border:1px solid #e1e8da}.hero-copy{padding:42px 36px;z-index:1;align-self:center}.hero-copy h1{font-size:clamp(32px,4vw,46px);margin:9px 0 16px}.hero-copy p{max-width:410px;font-size:17px;color:#586f60}.hero-copy .btn{margin-top:25px}.hero-image{position:relative;display:flex;justify-content:center;align-items:flex-end;overflow:hidden}.hero-image::before{content:'';width:285px;height:285px;border-radius:50%;background:#f4ecd3;position:absolute;top:33px;left:calc(50% - 142px)}.hiyush{height:345px;width:270px;object-fit:cover;object-position:top;mix-blend-mode:multiply;position:relative;transform:translateY(38px);filter:saturate(.85)}.hello-bubble{position:absolute;background:#fffdf7;border:1px solid var(--line);border-radius:18px 18px 5px 18px;padding:10px 17px;left:12%;top:29px;font-size:14px;transform:rotate(-4deg)}.hero-doodle{position:absolute;bottom:42px;right:10%;transform:rotate(12deg)}.hero-doodle .art{width:55px;height:55px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:48px;border-radius:13px;padding:11px 22px;background:var(--green);color:white;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent;line-height:1.4}.btn:hover{filter:brightness(.96)}.btn .art{width:22px;height:22px}.btn.secondary{background:#fffdf9;color:var(--ink);border-color:var(--line)}.btn.quiet{background:transparent;color:var(--green)}.btn.small{font-size:14px;padding:9px 15px;min-height:42px}.btn.wide{width:100%}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.muted{color:var(--muted)}.small{font-size:14px}.caption{font-size:12px;color:var(--muted)}.pill{font-size:12px;border:1px solid #dbe4d8;background:#f7faf2;padding:3px 11px;border-radius:30px;white-space:nowrap;color:#4e6d58}.pill.peach{background:#fff0e7;border-color:#eed5c3;color:#8c583c}.card{background:#fffefb;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.today-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.lesson-feature{display:flex;align-items:center;gap:26px}.lesson-feature>.art{width:116px;height:116px;background:var(--butter);border-radius:24px;padding:15px;transform:rotate(-5deg)}.lesson-feature h2{margin:7px 0 6px}.lesson-feature .btn{margin-top:18px}.mini-info{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);margin-top:9px}.mini-info .art{width:17px;height:17px}.side-card{background:#eeeee5;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px}.side-card p{font-size:14px}.side-card>.art{height:36px;width:36px}.path-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.path-item{border:1px solid var(--line);border-radius:19px;background:#fffdf9;padding:18px 12px;text-align:center;position:relative}.path-item .art{width:46px;height:46px;margin-bottom:7px}.path-item b{display:block;font-size:14px}.path-item small{font-size:11px;color:var(--muted)}.path-item:hover{border-color:#aac0b3}.path-item.current{border:2px solid #7d9f8b;background:#f0f4e9}.path-item .num{position:absolute;right:12px;top:8px;font-size:11px;color:var(--muted)}.notice{padding:13px 17px;background:var(--butter);border-radius:13px;font-size:13px;color:#69592f;margin-bottom:20px}.notice.error{background:#f6e1db;color:#914b37}.footer-note{text-align:center;font-size:12px;color:var(--muted);margin-top:30px}.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.profile-card{background:#fffefb;border:1px solid var(--line);padding:32px 22px;border-radius:22px;text-align:center}.profile-card>.art{width:72px;height:72px;background:var(--sage);border-radius:50%;padding:10px}.profile-card h3{margin-top:12px}.profile-card:hover{border-color:var(--green)}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.lesson-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:255px}.lesson-card>.art{width:68px;height:68px;padding:9px;border-radius:18px;background:var(--sage)}.lesson-card .btn{margin-top:auto}.tone-peach>.art{background:var(--peach)}.tone-butter>.art{background:var(--butter)}.tone-blue>.art{background:var(--blue)}.tone-lilac>.art{background:var(--lilac)}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin-bottom:22px}.session-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.progress{height:6px;border-radius:6px;background:#e1e7dc;width:100%;overflow:hidden;margin:12px 0}.progress>span{display:block;height:100%;background:#7b9e83;border-radius:6px}.session-layout{max-width:830px;margin:auto}.activity{min-height:480px;background:#fffefb;border:1px solid var(--line);border-radius:28px;text-align:center;padding:35px 36px;display:flex;align-items:center;flex-direction:column}.activity h1{font-size:30px;margin:7px 0 10px}.activity>p{max-width:580px}.activity-body{width:100%;margin:auto;padding:24px 0}.activity-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px}.activity-tools{display:flex;justify-content:space-between;gap:14px;margin-top:15px}.english{font-family:Arial,sans-serif;direction:ltr;unicode-bidi:isolate;letter-spacing:2px}.word-big{font-size:72px;line-height:1.35;letter-spacing:8px;font-weight:650;color:var(--green)}.letter-pair{display:flex;direction:ltr;justify-content:center;align-items:baseline;gap:35px;font-family:Arial;font-size:100px;line-height:1.3}.letter-pair span:last-child{color:#b4bdad;font-size:75px}.letter-pair span.letter-uppercase{color:#205c46}.letter-pair span.letter-lowercase{color:#a34412}.choice-grid{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin:24px 0 8px;direction:ltr}.choice{background:#f9faf5;border:2px solid var(--line);border-radius:20px;padding:20px;min-height:100px;min-width:108px;display:flex;flex-direction:column;align-items:center;justify-content:center}.choice:hover{border-color:#86a590;background:#f0f5eb}.choice .art{width:95px;height:95px}.choice .english{font-size:45px;font-weight:600}.tiles{display:flex;justify-content:center;gap:12px;direction:ltr;flex-wrap:wrap;margin:22px auto}.tile{border:2px solid #d9dfd3;border-bottom:4px solid #d1d8c9;background:#fffdf6;border-radius:12px;width:66px;height:74px;font-size:37px;font-family:Arial}.tile:hover{background:#eaf0e2}.slot{width:66px;height:74px;border:2px dashed #b9c8b2;background:#f1f5ec;color:var(--green);border-radius:12px;font-size:37px;font-family:Arial}.slot.filled{border-style:solid;background:#e7efdf}.feedback{min-height:36px;border-radius:12px;padding:8px 14px;font-size:16px;margin-top:14px}.feedback.good{background:#e7f0e2;color:#3c6646}.feedback.try{background:#f7ead8;color:#7c5a2c}.hint{padding:12px 18px;margin-top:14px;border-radius:14px;background:var(--butter);font-size:15px}.story-cards{display:flex;justify-content:center;gap:22px;flex-wrap:wrap}.story-card{padding:22px;border:1px solid var(--line);background:#f8f7ef;border-radius:20px;min-width:145px}.story-card .art{width:90px;height:90px;display:block;margin:0 auto 12px}.story-card b{font-size:15px;display:block}.story-card button{margin-top:10px}.notebook{padding:25px;background:repeating-linear-gradient(#fffdf5,#fffdf5 37px,#d6dfdf 38px,#fffdf5 39px);border:1px solid #e4ddd0;border-radius:8px;max-width:450px;margin:auto;transform:rotate(-1deg);min-height:125px}.rhythm-pad{width:150px;height:150px;border-radius:50%;background:var(--peach);border:8px solid #f9eee5;transition:transform .1s;display:grid;place-items:center;margin:20px auto}.rhythm-pad:active{transform:scale(.93)}.rhythm-pad .art{width:80px;height:80px}.summary{text-align:center;max-width:800px;margin:auto}.summary>.art{width:100px;height:100px;padding:15px;border-radius:50%;background:var(--butter);margin:15px}.summary h1{margin:12px 0}.summary p{margin:12px auto;max-width:540px}.mood-row{display:flex;justify-content:center;gap:10px;margin:23px 0}.mood-row button.selected{background:var(--sage);border-color:var(--green)}.extension-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;text-align:right;margin-top:22px}.extension-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.extension-card .art{width:48px;height:48px}.extension-card p{font-size:14px;margin:0}.adult-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.adult-grid .full{grid-column:1/-1}.adult-card h2{font-size:22px;margin-bottom:12px}.adult-card p{font-size:14px;margin-bottom:12px}.field{display:grid;gap:6px;margin-bottom:17px}.field input,.field select{padding:11px 13px;border:1px solid #cdd6c9;border-radius:10px;background:white;width:100%;min-height:47px}.field label{font-size:14px;font-weight:600}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stat{padding:18px;background:#f0f4eb;border-radius:16px}.stat strong{display:block;font-size:29px}.stat span{font-size:12px;color:var(--muted)}.skill-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.skill-row:last-child{border:0}.check-row{padding:14px 0;border-bottom:1px solid var(--line)}.check-row b{font-size:27px}.check-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.check-options button{border:1px solid var(--line);border-radius:9px;padding:8px;background:white;font-size:12px}.check-options button.selected{background:var(--sage);border-color:var(--green)}.backup-preview{background:var(--butter);padding:17px;border-radius:15px;margin:12px 0}.modal-backdrop{position:fixed;inset:0;background:#263f3960;backdrop-filter:blur(5px);z-index:100;display:grid;place-items:center;padding:20px}.modal{background:#fffef9;border:1px solid var(--line);border-radius:25px;padding:30px;max-width:520px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 90px #1b332822}.modal h2{margin-bottom:12px}.modal p{margin-bottom:20px;font-size:15px}.modal .error-text{color:#904930;font-size:14px;margin:10px 0}.icon-pick{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.icon-pick button{width:48px;height:48px;border-radius:50%;background:var(--sage);border:2px solid transparent}.icon-pick button.selected{border-color:var(--green)}#toast{position:fixed;bottom:24px;left:24px;max-width:calc(100vw - 48px);background:var(--ink);color:white;padding:0;border-radius:14px;z-index:200;font-size:14px;box-shadow:0 5px 20px #0001}#toast:not(:empty){padding:12px 20px}.empty{padding:45px 25px;text-align:center}.empty .art{width:65px;height:65px}.empty p{margin:15px 0}.split-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.status-dot{width:7px;height:7px;border-radius:50%;background:#769975;display:inline-block;margin-left:5px}.check-guide{background:#f3f1e7;border-radius:15px;padding:17px;font-size:14px}.size-big .art{width:120px;height:120px}.size-small .art{width:54px;height:54px}.size-choice{width:160px;height:160px}.intro-art{width:130px;height:130px;border-radius:30px;background:var(--butter);padding:19px;margin:5px auto 20px}.demo-note{margin:0;padding:9px 20px;background:#eee9da;color:#786647;font-size:12px;text-align:center}.header-right{display:flex;align-items:center;gap:10px}.danger-link{color:#925039}.source-list{font-size:13px;padding-right:20px}.source-list li{margin-bottom:8px}.save-error{position:sticky;top:0;z-index:30;border-radius:0}.map-choices .choice{direction:rtl}.adult-card details{font-size:14px;margin:14px 0}.adult-card summary{cursor:pointer;font-weight:600}
@media(min-width:1500px){.main{padding-top:48px}.hero{min-height:385px}.hiyush{height:390px;width:295px}.hero-image::before{width:320px;height:320px;left:calc(50% - 160px)}}
@media(max-width:1100px){.sidebar{width:185px;padding:30px 14px}.workspace{margin-right:185px}.main{padding:26px}.topbar{padding:0 26px}.hero-copy{padding:30px 25px}.hero-copy h1{font-size:35px}.today-grid{grid-template-columns:1fr}.side-card{display:none}.library-grid{grid-template-columns:repeat(2,1fr)}.path-strip{gap:8px}.path-item{padding:18px 5px}.path-item b{font-size:12px}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:13px 18px;display:flex;flex-direction:row;align-items:center;border-left:0;border-bottom:1px solid var(--line);gap:15px}.brand{margin:0;margin-left:auto;gap:9px}.brand-mark{width:38px;height:38px;font-size:25px;border-radius:12px}.brand b{font-size:24px}.brand small{display:none}.nav{display:flex;gap:3px}.nav button{font-size:0;padding:10px}.nav button .art{height:25px;width:25px}.sidebar-bottom{margin-top:0}.sidebar-bottom .nav button{font-size:0}.local-note{display:none}.workspace{margin:0}.topbar{height:64px;padding:0 20px}.main{padding:24px 18px}.hero{min-height:300px;grid-template-columns:1.2fr 1fr;margin-top:20px}.hero-copy{padding:25px 20px}.hero-copy h1{font-size:30px}.hero-copy p{font-size:14px}.hiyush{height:290px;width:215px;transform:translateY(42px)}.hero-image::before{width:200px;height:200px;left:calc(50% - 100px);top:60px}.hello-bubble{left:10%;top:20px;padding:6px 10px;font-size:11px}.hero-doodle{display:none}.hero-copy .btn{font-size:14px;padding:10px 14px}.path-strip{grid-template-columns:repeat(3,1fr)}.path-item:nth-child(n+4){display:none}.profile-grid{grid-template-columns:repeat(2,1fr)}.adult-grid{grid-template-columns:1fr}.adult-grid .full{grid-column:auto}.activity{padding:27px 18px;min-height:450px}.activity h1{font-size:26px}.activity-body{padding:22px 0}.activity-tools{flex-wrap:wrap}.choice{min-width:95px;padding:14px}.choice .art{width:73px;height:73px}.session-header{align-items:flex-start}.tile,.slot{width:53px;height:63px;font-size:30px}.tiles{gap:8px}.extension-grid{grid-template-columns:1fr}.stats{gap:6px}.stat{padding:13px}.stat span{font-size:11px}.lesson-feature{gap:18px}.lesson-feature>.art{width:90px;height:90px}.lesson-feature h2{font-size:24px}.mood-row{flex-wrap:wrap}.split-title{align-items:flex-start}.size-choice{width:125px;height:145px;min-width:125px}.size-big .art{width:96px;height:96px}.size-small .art{width:47px;height:47px}}
@media(max-width:430px){.hero{grid-template-columns:1fr .7fr}.hero-copy{padding:24px 17px}.hero-copy h1{font-size:28px}.hero-copy .btn .art{display:none}.hiyush{height:255px;width:174px;transform:translateY(35px)}.hello-bubble{left:1%;top:28px}.library-grid{grid-template-columns:1fr}.lesson-card{min-height:220px}.story-cards{gap:10px}.story-card{padding:16px;min-width:125px}.word-big{font-size:61px}.topbar .eyebrow{font-size:11px}.btn{padding:11px 17px}.lesson-feature>.art{width:72px;height:72px}.lesson-feature{gap:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.hiyush{filter:none}.word-definition{display:flex;align-items:center;justify-content:center;gap:13px;margin:22px 0;padding:16px;background:var(--butter);border-radius:16px;font-size:23px}.word-definition .art{width:50px;height:50px}.word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.word-card{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.word-card>.art{width:76px;height:76px}.word-card h2{font-size:30px}.word-translation{font-size:19px;color:var(--ink)}.pair-board{display:grid;grid-template-columns:1fr 1fr;direction:ltr;gap:22px;max-width:540px;margin:25px auto}.pair-column{display:flex;flex-direction:column;gap:12px}.pair-tile{min-height:69px;border:2px solid var(--line);background:#fffdf5;border-radius:14px;padding:12px;font-size:22px}.pair-tile.selected{border-color:var(--green);background:var(--sage)}.pair-tile.matched{opacity:1;background:#edf3e7;color:#47644c;border-color:#b5c7a9}.pair-column:last-child{direction:rtl}.meaning-options{direction:rtl}.meaning-options .choice{font-size:20px;max-width:200px}.missing-mark{display:inline-block;border-bottom:3px dashed var(--green);color:#a27646;padding:0 5px;margin:0 4px}.story-paper{background:var(--butter);padding:22px;border-radius:18px}.story-paper p{margin:10px 0 15px}.sentence-slots{display:flex;justify-content:center;gap:10px;align-items:center;flex-wrap:wrap;margin:24px 0}.sentence-slot,.sentence-tile{padding:12px 18px;min-width:85px;min-height:64px;border-radius:12px;font:26px Arial;border:2px solid #b6c8b2;background:var(--sage)}.sentence-tile{background:#fffdf3}.summary-words{border:1px solid var(--line);padding:20px;border-radius:20px;margin:25px 0;background:#fffdf8}.summary-words p{line-height:2}.unit-parts{font-size:13px;width:100%;margin-top:8px}.unit-parts summary{cursor:pointer;color:var(--green)}.unit-parts .btn{display:flex;margin-top:6px}.word-review-callout{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f0eadb;margin-top:20px}.word-review-callout h3{margin-bottom:7px}
@media(max-width:1000px){.word-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{gap:6px}.nav button{padding:8px}.nav button .art{width:22px;height:22px}.word-review-callout{align-items:flex-start;flex-direction:column}.pair-board{gap:12px}.pair-tile{font-size:19px}.word-definition{font-size:20px}.word-definition .art{width:42px;height:42px}}
@media(max-width:430px){.word-grid{grid-template-columns:1fr}.word-card{padding:22px}.sentence-slot,.sentence-tile{min-width:67px;font-size:23px;padding:10px 13px}.meaning-options .choice{font-size:18px;min-height:80px}.pair-tile{font-size:18px;padding:9px}}

/* Full v5 figure: never crop or move the feet beyond their frame. */
.hero-image{align-items:center;padding:20px 12px;min-width:0;overflow:visible}
.hero .hiyush{display:block;object-fit:contain;object-position:center;transform:none;width:100%;max-width:285px;height:auto;max-height:410px;mix-blend-mode:multiply}
.hero-image::before{width:230px;height:230px;left:calc(50% - 115px);top:55px}
.hello-bubble{top:14px;left:8%;z-index:2}.hero-doodle{bottom:25px;right:4%}
.companion{display:grid;grid-template-columns:135px minmax(0,1fr);direction:rtl;gap:22px;align-items:center;text-align:right;background:#edf2e9;border:1px solid #dfe8d8;border-radius:24px;padding:16px 22px;margin:0 0 24px;isolation:isolate}
.companion-stage{height:185px;display:flex;align-items:center;justify-content:center;position:relative;min-width:0}
.companion-figure{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transform-origin:50% 90%;filter:none}
.companion-message{color:var(--ink);font-size:18px;line-height:1.75;min-height:55px;margin:6px 0 10px}
.companion-tools{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px}.companion-tools button{background:#fffdf7;border:1px solid #d8e1d2;padding:5px 10px;border-radius:10px;font-size:12px;min-height:36px}.companion-tools button[aria-pressed=true]{background:#dce8d5}.companion-tools details{width:100%;font-size:12px;margin-top:3px}.companion-tools summary{cursor:pointer;color:var(--green)}.companion-tools details .row{gap:7px;margin-top:7px}
.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}
.typed-word{opacity:0;animation:word-appear .15s forwards}.move-hello{animation:hiyush-hello 1.3s ease-in-out}.move-jump{animation:hiyush-jump 1.1s ease-in-out 2}.move-walk{animation:hiyush-walk 2.8s ease-in-out}.move-tap{animation:hiyush-tap .4s ease-in-out 3}
@keyframes word-appear{to{opacity:1}}@keyframes hiyush-hello{0%,100%{transform:rotate(0)}25%{transform:rotate(-4deg)}65%{transform:rotate(4deg)}}
@keyframes hiyush-jump{0%,100%{transform:translateY(0)}40%{transform:translateY(-13px) rotate(-3deg)}70%{transform:translateY(0)}}
@keyframes hiyush-walk{0%,100%{transform:translateX(0)}20%{transform:translate(-9px,-3px)}40%{transform:translate(-17px,0)}60%{transform:translate(-9px,-3px)}80%{transform:translate(0,0)}}
@keyframes hiyush-tap{50%{transform:rotate(3deg)}}
.riddle-note{background:var(--butter);border-radius:22px;padding:26px;font-size:24px;margin-bottom:18px}.memory-shelf{display:flex;justify-content:center;gap:12px;margin:25px 0}.memory-card{flex:1;max-width:160px;min-height:155px;border:2px solid #d8e2d0;background:#f2f6ed;border-radius:20px;padding:16px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.memory-card .art{width:64px;height:64px}.memory-card .english{font-size:25px}.mystery{font-size:60px;color:#8b6846}.sort-word{display:flex;flex-direction:column;align-items:center;font-size:42px;margin:20px 0}.sort-bins{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.sort-bin{display:flex;flex-direction:column;align-items:center;gap:12px;background:var(--butter);border:2px solid #ddd6b7;padding:18px;max-width:170px;min-height:130px;border-radius:18px}.sort-bin .art{width:52px;height:52px}.command-cards{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:22px 0}.command-card{display:flex;flex-direction:column;align-items:center;gap:10px;background:#eef3e8;border:2px solid #cad8bf;border-radius:18px;padding:18px;min-width:120px}.command-card .art{width:52px;height:52px}.command-card .english{font-size:28px}.project-note{background:var(--butter);padding:28px;border-radius:22px;margin-bottom:20px}.project-note .art{width:55px;height:55px;margin-bottom:15px}.project-note p{color:var(--ink);font-size:21px}.summary .companion p{margin:6px 0 10px;max-width:none}
@media(max-width:760px){.hero .hiyush{max-height:330px;max-width:220px}.hero-image::before{width:155px;height:155px;left:calc(50% - 77px);top:70px}.companion{grid-template-columns:92px minmax(0,1fr);gap:14px;padding:14px}.companion-stage{height:150px}.companion-message{font-size:16px}.companion-tools button{font-size:11px}.memory-card .english{font-size:21px}.memory-card .art{width:48px;height:48px}.sort-bin{min-width:100px;max-width:145px;padding:12px}}
@media(max-width:430px){.hero{grid-template-columns:1fr}.hero-image{height:285px;padding:8px 12px 15px}.hero .hiyush{height:100%;width:100%;max-width:210px;max-height:none}.hero-copy{padding-bottom:10px}.hero-image::before{top:38px;left:calc(50% - 80px)}.hello-bubble{left:17%;top:18px}.companion{grid-template-columns:78px minmax(0,1fr);gap:10px}.companion-stage{height:140px}.companion-message{font-size:15px}.companion-tools{gap:5px}.memory-card{min-height:135px}.sort-bin{max-width:126px;font-size:14px}}
.companion.still *{animation:none!important}.companion.still .typed-word{opacity:1}
@media(prefers-reduced-motion:reduce){.companion *{animation:none!important}.typed-word{opacity:1}}

/* Frame animation changes the illustrated hands, stance and face. */
.companion-stage{height:225px;isolation:isolate}.companion{grid-template-columns:160px minmax(0,1fr)}
.hiyush-sprite{display:block;width:150px;height:225px;flex:none;background-image:url('/assets/hiyush-motion-v5.png');background-size:400% 400%;background-repeat:no-repeat;mix-blend-mode:normal;--row:0%;background-position:0% var(--row);animation:sprite-cycle .85s steps(1,end) 3}
.sprite-wave{--row:0%}.sprite-clap{--row:33.333333%;animation-duration:.65s;animation-iteration-count:4}.sprite-dance{--row:66.666667%;animation-duration:1.1s}.sprite-talk{--row:100%;animation-duration:.65s;animation-iteration-count:infinite}
@keyframes sprite-cycle{0%,100%{background-position:0% var(--row)}25%{background-position:33.333333% var(--row)}50%{background-position:66.666667% var(--row)}75%{background-position:100% var(--row)}}
.move-peek{animation:peek-body 3s ease-in-out}.peek-book{position:absolute;font-size:76px;top:20%;left:20%;animation:peek-book 3s ease-in-out forwards;z-index:2;pointer-events:none}
@keyframes peek-body{20%,50%{transform:translateY(10px) rotate(-7deg)}80%{transform:rotate(5deg)}100%{transform:none}}
@keyframes peek-book{0%{opacity:0;transform:translateY(70px)}20%,50%{opacity:1;transform:none}75%,100%{opacity:0;transform:translateY(70px)}}
.breath-ring{position:absolute;inset:25% 0;border:3px solid #7c9f8b;border-radius:50%;z-index:-1;animation:breathing 7s ease-in-out}.move-breathe{animation:breathing-body 7s ease-in-out}
@keyframes breathing{0%,100%{transform:scale(.65);opacity:.3}40%{transform:scale(1.15);opacity:.8}}
@keyframes breathing-body{0%,100%{transform:scale(.98)}40%{transform:scale(1.03)}}
.magic-stars{position:absolute;inset:0;display:grid;place-items:center;color:#b78e3e;font-size:35px;word-spacing:16px;pointer-events:none;animation:magic-stars 2.8s ease-out forwards}
@keyframes magic-stars{0%{opacity:0;transform:scale(.3) translateY(30px)}30%{opacity:1}100%{opacity:0;transform:scale(1.15) translateY(-60px)}}
.companion-tools [data-action="companion-stop"]{border-color:#c7a98b}.companion-tools details .row{gap:8px}
@media(max-width:760px){.companion{grid-template-columns:112px minmax(0,1fr)}.companion-stage{height:180px}.hiyush-sprite{width:112px;height:168px}.peek-book{font-size:57px;left:16%}}
@media(max-width:430px){.companion{grid-template-columns:94px minmax(0,1fr)}.companion-stage{height:155px}.hiyush-sprite{width:94px;height:141px}.peek-book{font-size:48px}}
.companion.still .peek-book,.companion.still .magic-stars{display:none}.companion.still .breath-ring{animation:none;opacity:.4}
@media(prefers-reduced-motion:reduce){.hiyush-sprite,.companion-figure,.peek-book,.magic-stars,.breath-ring{animation:none!important}.peek-book,.magic-stars{display:none}}
/* The illustrated third row is 366 px high; the final row starts at y=1134.
   Use their actual frame bounds so neighboring faces never enter the crop. */
.hiyush-sprite{--sprite-width:150px;width:var(--sprite-width)}
.sprite-dance{height:calc(var(--sprite-width) * 366 / 256);background-size:400% 419.672131%;--row:65.641026%}
.sprite-talk{height:calc(var(--sprite-width) * 402 / 256);background-size:400% 382.089552%}
@media(max-width:760px){.hiyush-sprite{--sprite-width:112px}}
@media(max-width:430px){.hiyush-sprite{--sprite-width:94px}}
/* Focused learning layout: fewer decorations, close controls and natural transparent art. */
.listening-hint{font-size:15px;line-height:1.5;min-height:1.5em;margin:8px auto 0;color:var(--green);max-width:470px}
.listening-control[data-state='error'] .listening-hint,.listening-control[data-state='interrupted'] .listening-hint{color:#80532c}
.listening-control .btn[aria-busy='true']{opacity:1;background:var(--sage);color:var(--ink);cursor:wait}
.hero .hiyush,.companion-figure{mix-blend-mode:normal}
.companion-slot:empty{display:none}
.companion.compact{grid-template-columns:66px minmax(0,1fr);gap:12px;padding:10px 14px;margin-bottom:12px;border-radius:18px}
.companion.compact .companion-stage{height:100px}
.companion.compact .hiyush-sprite{--sprite-width:62px;width:62px;height:93px}
.companion.compact .sprite-dance{height:calc(62px * 366 / 256)}
.companion.compact .sprite-talk{height:calc(62px * 402 / 256)}
.companion.compact .companion-message{font-size:15px;line-height:1.5;min-height:0;margin:4px 0 8px}
.companion.compact .companion-tools button{min-height:36px;font-size:12px}
.companion.compact .companion-tools [data-action='companion-mute'],.companion.compact .companion-tools [data-action='companion-still']{display:none}
.move-listen{animation:listen-lean 1.5s ease-in-out 2}.move-look{animation:look-around 1.5s ease-in-out 2}
@keyframes listen-lean{50%{transform:rotate(-6deg)}}@keyframes look-around{35%{transform:rotate(5deg)}70%{transform:rotate(-5deg)}}
.learning .topbar{height:52px}.learning-main{padding-top:16px}
.learning .session-header{margin-bottom:10px;align-items:center}.learning .session-header h3{display:none}
.learning .progress{margin:8px 0}.learning .activity{min-height:0;padding:18px 22px;border-radius:22px}
.activity-top-tools{width:100%;display:flex;justify-content:flex-start;margin-bottom:4px}
.activity-top-tools .btn{padding:6px 10px;min-height:40px;font-size:14px}
.learning .activity h1{font-size:27px;margin:3px 0 8px}.learning .activity-body{margin:0;padding:10px 0}
.learning .activity-actions{position:sticky;bottom:0;z-index:3;width:100%;padding:10px 0 3px;margin-top:8px;background:#fffefbf5;border-radius:12px;flex-wrap:wrap}
.learning .activity-body .feedback:empty{display:none}.learning .activity-tools{margin-top:8px;font-size:12px}
.learning .intro-art{width:78px;height:78px;padding:12px;margin:0 auto 10px}
.learning .choice-grid{gap:12px;margin:14px 0 4px}.learning .tiles{margin:14px auto;gap:8px}
.learning .choice{padding:12px;min-height:80px;min-width:88px}.learning .choice .art{width:64px;height:64px}
.learning .letter-pair{font-size:72px;line-height:1.1}.learning .letter-pair span:last-child{font-size:54px}
.learning .word-definition{margin:12px 0;padding:10px;font-size:21px}
.learning .story-cards{gap:10px}.learning .story-card{padding:12px;min-width:125px}.learning .story-card .art{width:64px;height:64px}
.learning .pair-board{margin:12px auto;gap:12px}.learning .pair-tile{min-height:52px;font-size:20px;padding:8px 12px}
.learning .project-note{padding:16px;margin-bottom:10px}.learning .project-note p{font-size:18px}
.learning .riddle-note{padding:16px;font-size:21px;margin-bottom:12px}
.instruction-text{padding:10px 14px;background:var(--sage);border-radius:12px;font-size:15px;line-height:1.6}
#audio-status:not(:empty){position:fixed;bottom:12px;left:12px;right:12px;max-width:620px;margin:auto;z-index:210;background:#fff9e9;color:var(--ink);border:1px solid #ceb780;border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;box-shadow:0 5px 20px #0002;font-size:14px}
#audio-status button{background:var(--green);color:white;border-radius:8px;padding:8px 12px;min-height:42px}
@media(max-width:760px){
 .learning .sidebar{padding:8px 12px}.learning .topbar{height:42px;padding:0 12px}.learning .topbar>.eyebrow{display:none}
 .learning-main{padding:12px 10px 20px}.learning .session-header .eyebrow{font-size:11px}.learning .session-header .btn{font-size:12px;min-height:38px;padding:7px 9px}
 .learning .activity{padding:12px 12px 5px}.learning .activity h1{font-size:23px}.learning .activity-body{padding:8px 0}
 .learning .choice .english{font-size:34px}.learning .word-big{font-size:52px;letter-spacing:5px}
 .learning .tiles{gap:6px}.learning .tile,.learning .slot{width:45px;height:50px;font-size:27px}
 .learning .choice-grid{gap:8px}.learning .choice{min-width:78px;padding:9px}.learning .choice .art{width:56px;height:56px}
 .learning .story-card{flex:1;min-width:90px}.learning .story-card .art{width:52px;height:52px}.learning .story-card .btn{font-size:12px;padding:8px;min-height:40px}
 .learning .memory-shelf{margin:12px 0;gap:7px}.learning .memory-card{min-height:112px;padding:10px 5px}
 .learning .sort-word{font-size:34px;margin:10px 0}.learning .sort-bin{padding:10px;min-height:90px;min-width:90px;max-width:130px;gap:7px}
 .learning .sentence-slots{gap:6px;margin:12px 0}.learning .sentence-slot,.learning .sentence-tile{min-width:52px;min-height:48px;padding:8px;font-size:21px}
 .learning .companion:not(.compact){grid-template-columns:92px minmax(0,1fr);padding:12px;gap:10px;margin-bottom:12px}
 .learning .companion:not(.compact) .companion-stage{height:146px}.learning .companion:not(.compact) .hiyush-sprite{--sprite-width:90px;width:90px;height:135px}
 .learning .companion:not(.compact) .sprite-dance{height:calc(90px * 366 / 256)}.learning .companion:not(.compact) .sprite-talk{height:calc(90px * 402 / 256)}
 .learning .companion-message{font-size:15px;min-height:0}.learning .companion-tools button{min-height:38px}
 .learning .activity-actions .btn{min-height:44px;font-size:14px;padding:9px 13px}
}
@media(prefers-reduced-motion:reduce){.move-listen,.move-look{animation:none}}
.games-intro{margin:16px 0 24px;max-width:680px}.game-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.game-card>.art{width:56px;height:56px}.game-card h2{font-size:23px}.game-card .btn{margin-top:auto}
.game-invitation{font-size:14px;margin:12px auto;text-align:center;max-width:640px;color:var(--green)}.game-invitation .btn{font-size:13px;padding:6px 10px;min-height:40px}
.learning .activity:is([data-type="crossword"],[data-type="wordsearch"],[data-type="memoryPairs"],[data-type="bingo"],[data-type="packing"],[data-type="wordChange"]) .activity-actions{position:static}
.flip-grid,.bingo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:470px;margin:18px auto}
.flip-card,.bingo-cell{border:2px solid #c7d5c5;border-radius:15px;background:#f4f6ec;min-height:100px;padding:10px;font-size:32px;display:flex;align-items:center;justify-content:center;position:relative}
.flip-card{background:#27655b;color:white}.flip-card.open{background:#fffdf4;color:var(--ink)}.flip-card .english{font-size:26px}.flip-card .art,.bingo-cell .art{width:64px;height:64px}.flip-card.matched,.bingo-cell.matched{background:#e6efdc;border-color:#80a377;opacity:1}.bingo-cell>span{position:absolute;inset:5px 5px auto auto;font-size:18px;color:#205c46}
.search-grid,.crossword-grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:4px;max-width:360px;margin:20px auto}
.search-cell,.crossword-cell{aspect-ratio:1;font:25px Arial;min-width:0;display:flex;justify-content:center;align-items:center;border:1px solid #b2c4ae;border-radius:6px;background:#fffef5;color:#1e473b;position:relative}
.search-cell.selected,.crossword-cell.selected{outline:2px solid #a34412;outline-offset:-3px}.search-cell.matched{background:#dcebcf}.crossword-cell.blank{background:transparent;border:0}.crossword-cell small{position:absolute;top:2px;left:3px;font:10px Arial;color:#536354}
.game-word-list{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;font-size:22px}.game-word-list .found{color:#205c46;text-decoration:underline}
.clue-list{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px 0}.clue-list .btn{display:flex;gap:6px;align-items:center}.clue-list .art{width:30px;height:30px}.clue-list [aria-pressed=true]{outline:2px solid #a34412}
.game-entry{display:flex;justify-content:center;gap:10px;margin:12px auto;max-width:350px}.game-entry input{min-width:0;width:160px;font:26px Arial;border:2px solid #b2c4ae;border-radius:10px;padding:8px;text-align:center}
.word-change{display:flex;gap:20px;align-items:center;justify-content:center;font-size:42px;margin:20px auto}.reading-options{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.placement-card>.btn{margin-bottom:14px}
@media(max-width:760px){.flip-grid,.bingo-grid{gap:7px;margin:12px auto}.flip-card,.bingo-cell{min-height:80px;padding:6px}.flip-card .art,.bingo-cell .art{width:50px;height:50px}.flip-card .english{font-size:22px}.search-grid,.crossword-grid{max-width:310px}.search-cell,.crossword-cell{font-size:24px}.game-invitation{font-size:13px}.game-card{padding:20px}.reading-options{flex-direction:column}.placement-card .choice .english{font-size:32px}}
@media(max-width:760px){
 .sidebar,.learning .sidebar{display:grid;grid-template-columns:38px minmax(0,1fr) 36px;gap:4px;padding:6px 8px}
 .sidebar>.brand{grid-column:1;grid-row:1}.sidebar>.brand>div:not(.brand-mark){display:none}.sidebar>.brand .brand-mark{width:36px;height:36px;font-size:22px}
 .sidebar>.sidebar-bottom{grid-column:3;grid-row:1}.sidebar>.nav{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%}
 .sidebar>.nav button{width:auto;min-width:0;min-height:48px;font-size:9px;line-height:1.2;padding:4px 1px;display:flex;flex-direction:column;gap:2px;white-space:normal}
 .sidebar>.nav button .art{width:20px;height:20px}.sidebar-bottom .nav button{width:36px;min-height:44px;padding:4px}
 .learning .activity-actions{gap:6px}.learning .activity-actions .btn{padding:8px 10px;font-size:13px;min-height:44px}
}
@media(max-width:760px){
 .learning .command-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
 .learning .command-card{min-width:0;padding:12px 6px;gap:7px}
 .learning .command-card .art{width:42px;height:42px}.learning .command-card .english{font-size:23px}
 .learning .command-card .caption{font-size:13px}
}
/* Compact word collection, with meanings revealed only on request. */
.bank-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.bank-title{display:flex;align-items:center;gap:16px;margin:4px 0 6px}.bank-title h1{margin:0}
.bank-count{background:#e8eee3;border:1px solid #d7e2d1;border-radius:30px;padding:5px 12px;font-size:13px;color:#45664c;white-space:nowrap}
.bank-heading p{font-size:15px;color:var(--muted);max-width:570px}.bank-review{white-space:nowrap;font-size:14px;min-height:44px}
.bank-evidence{display:flex;flex-wrap:wrap;gap:10px 24px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.bank-evidence strong{color:var(--green);font-size:17px;margin-left:4px}
.bank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 12px}.bank-filters{display:flex;gap:7px;flex-wrap:wrap}
.bank-filters .btn{border-radius:30px;font-size:13px;min-height:40px;padding:7px 15px}.bank-filters [aria-pressed="true"]{background:#e8eee3;border-color:#b6cbb9;color:#255749}
.bank-order{font-size:12px;color:var(--muted);white-space:nowrap}
.word-bank .word-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;align-items:start}
.word-bank .word-card{padding:12px 10px 8px;gap:0;border-radius:15px;min-width:0}
.word-bank .word-card h2{font-size:26px;line-height:1.3;color:var(--green);margin:0;min-height:34px;display:grid;align-items:center}
.word-bank .word-card .english{letter-spacing:1px}
.word-meaning-slot{min-height:22px;display:grid;align-items:center;margin:0;width:100%}
.word-bank .word-translation{font-size:15px;line-height:1.4;margin:0;color:#7a583a}.word-bank [hidden]{display:none!important}
.word-bank .word-card .btn{width:100%;min-height:36px;font-size:12px;padding:6px 3px;gap:6px}
.word-bank .word-reveal{color:var(--green);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b5c9b9}
.word-bank .word-audio{background:#fffdf9c9;border-color:#ffffffb3;margin:6px 0 2px}.word-bank .word-audio .art{width:17px;height:17px}
.word-bank [data-tone="0"]{background:var(--sage)}.word-bank [data-tone="1"]{background:var(--peach)}.word-bank [data-tone="2"]{background:var(--butter)}.word-bank [data-tone="3"]{background:var(--blue)}.word-bank [data-tone="4"]{background:var(--lilac)}
.bank-explanation{font-size:12px;color:var(--muted);margin-top:24px}.bank-explanation summary{cursor:pointer}.bank-explanation p{max-width:640px;margin-top:10px}
@media(max-width:1150px){.bank-heading{align-items:flex-start;gap:12px}.bank-heading p{font-size:14px}}
@media(max-width:760px){.bank-heading{flex-direction:column;gap:10px;margin-bottom:12px}.bank-title{gap:12px}.bank-title h1{font-size:31px}.bank-heading .bank-review{min-height:42px}.bank-toolbar{align-items:flex-start;flex-direction:column;gap:6px;margin-top:12px}.bank-filters{gap:5px}.bank-filters .btn{padding:7px 11px;font-size:12px}.bank-evidence{gap:9px 18px;font-size:11px}.bank-evidence strong{font-size:15px}.word-bank .word-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.word-bank .word-card{padding:10px 9px 7px;border-radius:14px}.word-bank .word-card h2{font-size:26px}.word-bank .word-card .btn{min-height:44px}.word-bank .word-translation{font-size:14px}}
/* Free exploration controls are shown only in the temporary demo profile. */
.demo-navigation{padding:12px 16px;margin-bottom:16px;background:#efeee3;border:1px solid #dfdfcf;border-radius:16px;text-align:right}
.demo-step-buttons{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.demo-step-buttons span{font-size:12px;color:var(--muted)}
.demo-navigation label{font-size:12px;display:block;margin-bottom:4px}.demo-navigation select{border:1px solid #cdd6c9;background:#fffefb;border-radius:9px;padding:8px;width:100%;min-height:44px;font-size:14px}
.demo-featured-grid{gap:14px}.demo-featured-card{padding:20px;gap:10px}.demo-featured-card h2{font-size:21px}.demo-featured-card p{font-size:14px}.demo-featured-card .btn{min-width:95px}.demo-game-heading{display:flex;align-items:center;gap:10px}.demo-game-heading>.art{width:43px;height:43px;padding:7px;border-radius:13px;background:var(--sage)}
.tone-peach .demo-game-heading>.art{background:var(--peach)}.tone-butter .demo-game-heading>.art{background:var(--butter)}.tone-blue .demo-game-heading>.art{background:var(--blue)}.tone-lilac .demo-game-heading>.art{background:var(--lilac)}
@media(max-width:760px){.demo-featured-card .btn{min-height:44px}.demo-navigation{padding:10px}.demo-step-buttons .btn{min-height:44px}}
