@import url('/assets/tailwind.css');
:root{--ink:#23443e;--muted:#6c7b72;--green:#2f7657;--lime:#d8eb9a;--cream:#fffdf7;--border:#e6e9de;--peach:#ffeadb;--shadow:0 8px 25px #29483c07}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:ui-rounded,'Avenir Next',system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled,fieldset:disabled{opacity:.55;cursor:not-allowed}img{max-width:100%;display:block}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d98c49;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em;line-height:1.15;font-weight:750}h1{font-size:48px}h2{font-size:34px}h3{font-size:23px}p{color:var(--muted)}.container{width:min(1180px,calc(100% - 64px));margin:auto}.site-header{border-bottom:1px solid var(--border);background:#fffdf7}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:100px}.logo{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:800;letter-spacing:-.04em;line-height:1.1}.logo small{display:block;font-size:8px;letter-spacing:.21em;margin-top:7px;color:var(--muted)}nav{display:flex;gap:28px;align-items:center}nav a{font-size:14px;font-weight:600;color:#5d6d60}nav a:hover,nav a.active{color:var(--green)}.header-actions{display:flex;align-items:center;gap:8px}.parent-link{border:1px solid #d5dfcb;border-radius:28px;padding:11px 18px;font-size:13px;font-weight:650;white-space:nowrap}.parent-link span{margin-left:13px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:58px 0 45px;gap:20px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.19em;color:var(--green);margin-bottom:15px;display:block}.hero .eyebrow{display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;background:#72a760;border-radius:50%}.hero h1{font-size:64px;line-height:1.1;margin:20px 0 23px}.hero h1 span{color:var(--green);position:relative}.hero h1 span:after{content:'';height:7px;position:absolute;bottom:-3px;left:0;right:0;background:#e8d482;border-radius:50%;z-index:-1;transform:rotate(-2deg)}.hero p{font-size:15px;line-height:1.95}.hero-actions{display:flex;align-items:center;gap:24px;margin:30px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:48px;padding:12px 22px;border:0;border-radius:14px;font-size:14px;font-weight:700;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.primary{background:var(--green);color:white;box-shadow:0 5px 0 #245c46}.dark{background:var(--ink);color:white}.light{background:#edf2df;color:var(--ink)}.danger{background:#f9e0d9;color:#923d30}.text-link{font-size:13px;font-weight:650;color:var(--green)}.hero-note{display:flex;align-items:center;gap:10px;font-size:10px;color:#879080}.mini-check{background:#e7efda;color:#477744;border-radius:50%;padding:0 5px}.hero-art{position:relative}.hero-art>img{width:100%;aspect-ratio:1.14}.art-label{position:absolute;background:white;padding:8px 14px;border:1px solid #ebecdf;border-radius:13px;box-shadow:0 5px 20px #24443e0b;font-size:11px;font-weight:650}.label-top{top:20px;right:22px;transform:rotate(3deg)}.label-bottom{bottom:25px;left:45px;transform:rotate(-4deg)}.label-bottom span{color:#e3a84c;margin-right:6px}.welcome-strip{background:#f1f4e8;border:1px solid #e4ead7;padding:19px 26px;border-radius:17px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.welcome-strip>div{display:flex;gap:14px;align-items:center}.welcome-strip>span{color:#798774;font-size:11px}.welcome-strip b{padding:0 8px;color:#b1bb99}.sun-icon{font-size:25px;color:#9bab5c}.section{padding-top:57px}.section-heading{margin-bottom:25px}.section-heading h2{margin-bottom:10px}.section-heading p{font-size:13px;margin:0}.section-heading .eyebrow{margin-bottom:10px}.row{display:flex;justify-content:space-between;align-items:center;gap:20px}.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.program-card{border:1px solid #d8decf;border-radius:23px;overflow:hidden;transition:transform .2s,box-shadow .2s}.program-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.peach{background:#fff0e5}.mint{background:#eaf2df}.lavender{background:#efedfb}.card-top{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 0}.pill{display:inline-block;background:#ffffff90;border:1px solid #ffffffd0;font-size:10px;border-radius:20px;padding:4px 10px;font-weight:600}.round-arrow{display:grid;place-items:center;border:1px solid #ffffffce;background:#ffffff55;border-radius:50%;width:29px;height:29px}.program-art{height:160px;width:100%;object-fit:contain;padding:4px 25px}.card-copy{padding:8px 25px 24px}.card-copy>small{font-size:9px;letter-spacing:.15em;font-weight:750;color:#748368}.card-copy h3{margin:9px 0 10px;font-size:24px}.card-copy p{font-size:12px;min-height:40px}.card-foot{display:flex;justify-content:space-between;border-top:1px solid #a9b19935;padding-top:14px;font-size:10px;font-weight:650}.lesson-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.lesson-card{border:1px solid var(--border);border-radius:20px;background:white;overflow:hidden;box-shadow:var(--shadow)}.lesson-cover{height:178px;background:#f4f6eb;position:relative;display:grid;place-items:center}.lesson-cover>img{height:140px;width:180px;object-fit:contain}.lesson-cover>.pill{position:absolute;left:15px;bottom:13px;font-size:9px;background:white}.lesson-copy{padding:22px}.lesson-copy>small{font-size:10px;letter-spacing:.06em;color:#94a16e}.lesson-copy>h3{font-size:21px;margin:7px 0 10px}.lesson-copy p{font-size:12px}.lesson-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:14px;gap:8px}.lesson-meta>span{font-size:10px;color:#93a08a}.small-button{border:0;background:#edf2e1;border-radius:10px;padding:8px 12px;color:#3d7255;font-size:11px;font-weight:700;min-height:40px}.parent-banner{background:#f3eee0;border:1px solid #e9e1cd;border-radius:26px;padding:35px 45px;margin-top:60px;display:grid;grid-template-columns:1.2fr 1fr;align-items:center}.parent-banner img{width:100%;max-height:270px}.parent-banner h2{font-size:35px;margin-bottom:15px}.parent-banner p{font-size:13px}.footer{display:flex;align-items:center;justify-content:space-between;padding:36px 0;margin-top:65px;border-top:1px solid var(--border);gap:20px;color:#839178;font-size:10px}.footer .logo{font-size:18px;color:var(--ink)}.footer>a:last-child{color:var(--green)}.page-heading{padding:44px 0 26px}.page-heading h1{font-size:42px;margin-bottom:14px}.filter-bar{display:flex;gap:12px;padding-bottom:25px;align-items:center}.filter-bar input{flex:1}.filter-bar input,.filter-bar select{margin:0;max-width:420px}.empty{padding:45px;border:1px dashed #cdd9be;border-radius:20px;text-align:center;grid-column:1/-1;color:var(--muted)}.auth-card{max-width:460px;margin:50px auto;background:white;border:1px solid var(--border);border-radius:24px;padding:38px}.auth-card h1{font-size:32px}.auth-card>p{font-size:13px}.auth-mascot{width:65px;height:65px;margin-bottom:20px}.auth-card .text-link{display:block;margin-top:22px}label{display:block;font-size:13px;font-weight:600;color:#516453;margin-bottom:17px}input,select,textarea{display:block;width:100%;border:1px solid #dce3d4;background:#fffefa;border-radius:11px;padding:11px 13px;margin-top:7px;color:var(--ink);min-height:45px}input:focus,select:focus,textarea:focus{outline:2px solid #b6cd91}input[type=file]{padding:9px;font-size:12px}label small{font-weight:400;font-size:11px;display:block;margin-top:6px;color:var(--muted)}.checkbox{display:flex;align-items:center;gap:9px}.checkbox input{width:17px;min-height:17px;margin:0}.full{width:100%}.notice{border:1px solid;padding:15px 22px;border-radius:15px;margin-top:25px;font-size:13px}.success{background:#edf5df;border-color:#d3e0bf}.error{background:#ffede4;border-color:#edc9b8;color:#904d39}.notice ul{margin:8px 0}.panel{background:white;border:1px solid var(--border);border-radius:18px;padding:25px;margin-bottom:20px}.panel h2{font-size:24px}.panel p,.panel li{font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.children-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.child-card{background:#f0f5e6;border:1px solid #dce7ce;padding:28px;border-radius:22px}.child-card h2{margin:14px 0;font-size:28px}.child-card p{font-size:12px}.new-child{background:white}.child-card details{margin-top:18px;font-size:12px}summary{cursor:pointer;font-weight:650;min-height:30px;list-style-position:inside}details[open]>summary{margin-bottom:20px}fieldset{border:0;margin:0;padding:0}.admin-nav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid var(--border)}.admin-nav a{background:#edf0e4;padding:7px 11px;border-radius:9px;font-size:11px}.admin-nav a.active{background:var(--green);color:white}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{display:flex;flex-direction:column;border:1px solid var(--border);background:white;padding:20px;border-radius:16px}.stat strong{font-size:34px;color:var(--green)}.stat span{font-size:11px;color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:16px;background:white}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;font-size:10px;letter-spacing:.04em;background:#f1f4e8;color:#7b8a6d}th,td{padding:16px 18px;border-bottom:1px solid var(--border)}td>a{color:var(--green);font-weight:600}.thumb{display:inline-block;width:50px;height:50px;object-fit:contain;vertical-align:middle;margin-right:12px}.pagination{margin-top:25px}.pagination nav{display:flex;justify-content:space-between;font-size:13px}.publication{display:flex;justify-content:space-between;gap:25px;background:#f2f5e9}.word-chips{display:flex;gap:10px;flex-wrap:wrap}.muted{color:var(--muted);font-size:12px}.preview-words{display:flex;flex-wrap:wrap;gap:20px}.preview-word{width:190px;text-align:center;background:#f7f8ef;border-radius:15px;padding:20px}.preview-word img{height:120px;width:100%;object-fit:contain}.preview-word audio{width:150px}.preview-word h3{font-size:21px;margin-top:15px}.player-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0;font-size:12px}.icon-button{border:1px solid #d6dfca;background:#f5f7e9;color:var(--green);border-radius:12px;padding:8px 13px;min-height:44px;font-size:11px}.player{min-height:500px;border:1px solid var(--border);border-radius:28px;background:#f0f5e6;padding:30px;max-width:850px;margin:auto;text-align:center}.player h1{font-size:34px}.player h2{font-size:28px}.player .eyebrow{font-size:10px}.player-feedback{text-align:center;min-height:40px;padding:20px;font-weight:600;color:var(--green)}.player-progress{width:100%;height:7px;background:#dfe8cc;border-radius:10px;overflow:hidden;margin-bottom:25px}.player-progress span{display:block;height:100%;background:#7faa60}.flashcard{background:#fffdf7;border-radius:22px;padding:25px;max-width:470px;margin:20px auto;box-shadow:0 5px 0 #dde6cc}.flashcard img{height:230px;width:100%;object-fit:contain}.flashcard h2{font-size:40px;margin:20px 0 5px}.flashcard p{font-size:14px;margin:5px}.player-controls{display:flex;justify-content:center;gap:15px;margin-top:20px}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px auto;max-width:660px}.choice-card{background:#fffdf7;border:2px solid transparent;border-radius:18px;min-height:130px;padding:15px;color:var(--ink);font-size:34px;font-weight:750;box-shadow:0 4px 0 #dce7cf;transition:transform .15s}.choice-card:hover{transform:translateY(-3px);border-color:#a6c67b}.choice-card img{height:125px;width:100%;object-fit:contain}.choice-card .caption{font-size:16px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;max-width:580px;margin:25px auto}.memory-card{aspect-ratio:1;background:#cddd9b;border:2px solid #bfd287;border-radius:18px;color:#657e43;font-size:30px;display:grid;place-items:center}.memory-card img{height:85px;width:100%;object-fit:contain}.memory-card.matched{background:#fffdfa;border-color:#99bd7b;opacity:.65}.memory-card.flipped{background:#fffdfa}.story-image{height:320px;width:100%;object-fit:contain;border-radius:16px;background:#fffdf7}.story-text{font-size:22px!important;color:var(--ink);max-width:600px;margin:25px auto}.body-board{position:relative;max-width:480px;margin:20px auto}.body-board>img{height:380px;width:100%;object-fit:fill}.body-spot{position:absolute;transform:translate(-50%,-50%);border:3px solid white;box-shadow:0 2px 8px #0002;width:44px;height:44px;border-radius:50%;background:#83b783a0}.body-spot:hover{background:#e4a847}.completion-art{height:180px;margin:20px auto}.loading{padding:140px 0}.daily-reminder{border:1px solid #c4d69e;border-radius:12px;padding:10px;background:#fff5d8;font-size:13px}code{background:#f1f3e6;padding:3px 6px;border-radius:5px;font-size:12px;white-space:normal;overflow-wrap:anywhere}audio{vertical-align:middle;max-width:100%}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(min-width:1400px){.hero{gap:50px}.hero h1{font-size:70px}}@media(max-width:1000px){.container{width:calc(100% - 40px)}.header-inner{gap:15px}nav{gap:16px}.hero h1{font-size:52px}.hero-note{font-size:9px;gap:5px}.hero-actions{gap:15px}.hero-actions .text-link{font-size:11px}.program-grid,.lesson-grid{gap:15px}.card-copy{padding:8px 18px 20px}.welcome-strip>span{display:none}.children-grid{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.container{width:calc(100% - 32px)}.header-inner{flex-wrap:wrap;padding:15px 0;gap:15px;min-height:0}.logo{font-size:23px}.logo img{width:35px;height:35px}.header-inner nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px}.header-inner nav a{font-size:12px}.parent-link{font-size:10px;padding:9px 11px}.parent-link span{margin-left:3px}.hero{grid-template-columns:1fr;padding-top:35px;gap:0}.hero h1{font-size:49px;margin:15px 0 22px}.hero p{font-size:13px}.hero-art{max-width:440px;margin:auto;width:100%}.hero-art>img{max-height:340px}.label-top{top:12px;right:10px;font-size:9px}.label-bottom{bottom:10px;left:30px;font-size:9px}.hero-actions{flex-wrap:wrap;margin:25px 0}.hero-note{font-size:9px}.welcome-strip{padding:16px;font-size:11px}.program-grid,.lesson-grid{grid-template-columns:1fr}.program-card{display:grid;grid-template-columns:40% 60%;position:relative}.card-top{position:absolute;top:0;left:0;right:0;padding:13px}.program-art{height:190px;padding:25px 15px 0}.card-copy{padding:52px 15px 20px}.card-copy h3{font-size:21px}.card-copy p{font-size:11px;min-height:0}.card-copy>small{font-size:7px}.card-foot{font-size:9px}.section{padding-top:40px}.section-heading h2{font-size:28px}.section-heading.row{align-items:flex-start}.section-heading.row .text-link{font-size:10px;white-space:nowrap;margin-top:35px}.lesson-card{display:grid;grid-template-columns:36% 64%}.lesson-cover{height:100%;min-height:200px}.lesson-cover>img{height:110px;width:110px}.lesson-cover>.pill{font-size:7px;left:8px;bottom:12px}.lesson-copy{padding:18px 14px}.lesson-copy h3{font-size:18px}.lesson-copy p{font-size:11px}.lesson-meta{align-items:flex-start;flex-direction:column}.parent-banner{grid-template-columns:1fr;padding:27px;margin-top:40px}.parent-banner h2{font-size:31px}.parent-banner img{margin-top:20px;max-height:220px}.footer{flex-wrap:wrap;margin-top:40px;padding:28px 0}.footer>span{order:3;width:100%;font-size:9px}.page-heading h1{font-size:32px}.page-heading{padding-top:35px}.filter-bar{flex-wrap:wrap}.filter-bar input,.filter-bar select{width:100%;max-width:100%;flex:1 1 100%}.children-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat{padding:16px}.stat strong{font-size:29px}.form-grid{grid-template-columns:1fr}.publication{flex-direction:column}.auth-card{padding:25px;margin:30px 0}.auth-card h1{font-size:28px}.panel{padding:20px}.player-heading{flex-wrap:wrap;font-size:10px}.player-heading>span{order:3;flex:1 1 100%;text-align:center}.player{padding:18px 12px;min-height:440px}.player h1{font-size:27px}.flashcard{padding:20px}.flashcard img{height:180px}.flashcard h2{font-size:34px}.choice-grid{grid-template-columns:repeat(2,1fr);gap:12px}.choice-card img{height:100px}.choice-card{font-size:30px;min-height:110px}.memory-grid{gap:9px;grid-template-columns:repeat(3,1fr)}.memory-card img{height:70px}.story-image{height:250px}.story-text{font-size:18px!important}.preview-word{width:140px}.row{flex-wrap:wrap}.player-controls .button{padding:11px 15px;font-size:12px}.body-board>img{height:330px}}

.matching-board{display:flex;gap:50px;justify-content:center;margin:25px auto}.matching-column{display:grid;grid-template-columns:1fr 1fr;gap:12px}.matching-card{border:2px solid #d4e0be;background:#fffdf7;padding:12px;border-radius:15px;min-width:85px}.matching-card img{height:85px;width:95px;object-fit:contain}.matching-card.selected{border-color:#d99e52;background:#fff1d2}@media(max-width:760px){.matching-board{gap:20px}.matching-column{grid-template-columns:1fr}.matching-card img{height:70px;width:90px}}

.speaking-consent{max-width:470px;margin:25px auto;text-align:left;background:#fffdf7;padding:16px;border-radius:15px}.speaking-consent p{font-size:11px}.speaking-consent summary{font-size:12px}.speaking-consent label{font-size:11px}

.program-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.story-video{width:100%;aspect-ratio:16/9;border:0;border-radius:20px;background:#152d24;margin:16px 0}.story-text{white-space:pre-wrap;overflow-wrap:anywhere}

/* Discovery redesign: clear pictures, playful movement, compact learning controls. */
:root{--ink:#243b53;--green:#217b69;--muted:#697a86;--cream:#fffcf6;--border:#e6e9e9;--shadow:0 12px 35px #253b5310}
body{background:var(--cream)}h1,h2,h3{letter-spacing:-.035em}.site-header{background:#fffdf9;border:0}.header-inner{min-height:88px}.logo small{color:#67818c}.button{border-radius:18px;transition:transform .18s,box-shadow .18s}.button:hover{transform:translateY(-2px)}.button.primary{background:#217b69;box-shadow:0 4px 0 #175c50;color:white}.button.light{background:#edf6f4;color:#276856}.page-heading{padding:42px 0 22px}.page-heading h1{font-size:44px;margin-bottom:12px}.program-tabs{padding:7px;background:#f0f3f5;border-radius:22px;width:max-content;max-width:100%;gap:5px}.program-tabs .button{box-shadow:none;padding:12px 24px}.program-tabs .light{background:transparent;color:#64778b}.filter-bar{background:#fff;border-radius:22px;padding:14px;border:1px solid var(--border)}.lesson-card{border-radius:26px;box-shadow:0 8px 28px #29483c08;transition:transform .2s}.lesson-card:hover{transform:translateY(-5px)}.lesson-cover{background:#fff}.lesson-cover img{padding:18px;object-fit:contain}.lesson-copy h3{font-size:22px}.lesson-copy p{font-size:14px}.panel{border-radius:24px;box-shadow:var(--shadow)}
.intro-hero{display:grid;grid-template-columns:1.04fr 1fr;gap:48px;align-items:center;min-height:610px;padding:45px 0 60px}.intro-badge{display:inline-block;padding:8px 15px;background:#fff0d0;border-radius:40px;color:#926722;font-size:12px;font-weight:700}.intro-copy h1{font-size:clamp(38px,4.4vw,63px);line-height:1.1;margin:24px 0}.intro-copy h1 span{color:#217b69}.intro-copy>p{max-width:465px;font-size:17px;line-height:1.8}.intro-note{margin-top:23px;font-size:12px;color:#7c8a95}.discovery-world{height:490px;position:relative;background:radial-gradient(ellipse at 60% 42%,#e8f8ff 0,#edf7ff 57%,transparent 58%);border-radius:50%}.world-orbit{position:absolute;inset:40px 18px 35px;border:2px dashed #b4d9d6;border-radius:50%;transform:rotate(-18deg)}.world-animal{position:absolute;width:47%;aspect-ratio:1;border-radius:50%;background:white;box-shadow:0 16px 30px #264e5520;overflow:hidden}.world-animal img{width:100%;height:100%;object-fit:contain;padding:16px}.animal-cat{right:4%;top:75px;animation:float-soft 6s ease-in-out infinite}.animal-dog{left:1%;top:145px;animation:float-soft 5s ease-in-out infinite reverse}.world-mit,.world-kem{position:absolute;width:100px;height:120px;object-fit:contain;z-index:3}.world-mit{left:35%;bottom:50px;animation:mascot-bounce 5s ease-in-out infinite}.world-kem{right:10%;bottom:40px;animation:mascot-bounce 5s ease-in-out 1s infinite}.world-sun{position:absolute;right:20%;top:0;color:#f4ba44;font-size:73px;animation:slow-turn 22s linear infinite}.world-star{position:absolute;color:#f5a468;font-size:38px}.star-one{left:10%;top:40px}.star-two{right:0;top:290px}.world-bubble{position:absolute;background:white;border-radius:30px;padding:10px 20px;font-size:12px;font-weight:750;box-shadow:var(--shadow);z-index:4}.bubble-hello{left:8%;top:105px;transform:rotate(-8deg)}.bubble-count{right:6%;bottom:12px;background:#fff0cf;transform:rotate(5deg)}.world-grass{position:absolute;bottom:30px;left:16%;width:70%;height:55px;background:#ccebcf;border-radius:50%;z-index:-1}.intro-programs{padding:25px 0 75px;scroll-margin-top:25px}.program-pair{display:grid;grid-template-columns:1fr 1fr;gap:26px}.language-door{display:flex;gap:20px;align-items:center;padding:36px;border-radius:32px;transition:transform .2s}.language-door:hover{transform:translateY(-5px)}.door-en{background:#e7f4ff}.door-vi{background:#fff0db}.language-door h3{font-size:30px;margin:12px 0}.language-door p{font-size:14px;max-width:320px}.language-door>img{width:100px;max-height:170px;animation:float-soft 6s ease-in-out infinite}.language-mark{font-size:13px;font-weight:800;letter-spacing:.18em;color:#5b7dab}.door-vi .language-mark{color:#bf8249}.door-link{display:flex;justify-content:space-between;gap:18px;font-size:13px;font-weight:700}.door-link b{font-size:26px}.discovery-steps{padding:30px 0 70px}.experience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}.experience{text-align:center}.experience-art{height:180px;position:relative;display:flex;justify-content:center;align-items:center;margin-bottom:24px;border-radius:90px}.experience-art>img{height:155px;width:155px;object-fit:contain;border-radius:50%}.experience-look .experience-art{background:#eff5ee}.experience-look .experience-art span{position:absolute;right:40px;top:5px;color:#f1b84a;font-size:36px}.experience-count .experience-art{background:#fff0e8}.experience-story .experience-art{background:#edf1fe}.experience-story .experience-art>img{width:210px;border-radius:20px}.apple-parade>img{width:90px;height:100px;animation:float-soft 3s ease-in-out infinite}.apple-parade>img:nth-child(2){animation-delay:.4s}.apple-parade>img:nth-child(3){animation-delay:.8s}.experience h3{font-size:24px}.experience p{font-size:14px;max-width:290px;margin:auto}.together-banner{display:grid;grid-template-columns:.8fr 1fr;align-items:center;gap:60px;background:#eaf6ed;padding:45px 60px;border-radius:36px;margin:35px 0 70px}.together-banner>img{width:100%;max-height:300px}.together-banner h2{font-size:40px;margin:15px 0}.together-banner p{max-width:430px}.footer{border-top:1px solid var(--border)}
.learning-page .site-header,.learning-page .footer{display:none}.learning-page{background:radial-gradient(circle at 0 0,#e8f4ff,transparent 45%),radial-gradient(circle at 100% 100%,#fff0d6,transparent 40%),#f6fafb;min-height:100vh}.learning-page main{width:min(1020px,calc(100% - 40px))}.player-heading{padding:18px 0;font-size:13px}.player-heading>span{font-weight:700;color:#637789}.player{background:#fff;border:0;box-shadow:0 14px 45px #26405d0a;border-radius:32px;padding:22px 34px;max-width:920px;min-height:480px}.player-progress{height:6px;margin-bottom:18px;background:#edf1f7}.player-progress span{background:#62c5ae;transition:width .4s}.player h1{font-size:29px;margin:13px 0 10px}.player .eyebrow{color:#8795a5;font-size:10px}.flashcard{box-shadow:none;background:white;border-radius:24px;padding:12px;max-width:530px;margin:12px auto}.flashcard>img{height:265px;padding:0}.flashcard h2{font-size:38px;color:#2b4965;margin:10px 0 4px}.flashcard p{font-size:14px}.flashcard .ipa{font-size:13px;color:#93a0aa}.player-controls{display:flex;justify-content:center;align-items:flex-start;gap:28px;margin:16px 0}.sound-control{display:flex;align-items:center;flex-direction:column;gap:7px;width:90px;border:0;background:transparent;color:#3a627d;box-shadow:none;cursor:pointer;font-size:13px;font-weight:750;padding:0}.sound-control svg{width:70px;height:70px;padding:19px;background:#e2f1ff;border:2px solid #c8e3fc;border-radius:24px;stroke:#357eb1;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}.sound-control:hover svg{transform:translateY(-3px) rotate(-3deg)}.sound-control.mic svg{background:#fff0e7;border-color:#ffdfcb;stroke:#d98a57}.sound-control.recording svg{background:#ffded6;stroke:#bd5146;animation:mic-pulse 1s infinite}.next-controls{border-top:1px solid #edf1f4;margin:20px auto 0;padding-top:16px;display:flex;align-items:center;justify-content:space-between;max-width:640px;gap:15px}.next-controls>span{font-size:12px;color:#8999a6}.next-button{font-size:14px;padding:12px 25px}.activity-instruction{font-size:17px;margin:12px auto 18px;max-width:560px}.choice-grid{max-width:720px;gap:16px;margin:20px auto}.choice-card{border:2px solid #edf1f4;background:white;box-shadow:0 5px 0 #e8eef5;border-radius:24px;min-height:160px;padding:16px}.choice-card img{height:150px}.choice-card:hover{border-color:#a4d5ef;transform:translateY(-3px)}.answer-correct{border-color:#54ba8b!important;background:#e7f9ef!important;animation:happy-pop .4s}.answer-retry{border-color:#efbc80!important;background:#fff6e8!important;animation:gentle-wiggle .4s}.player-feedback{max-width:650px;margin:15px auto;padding:12px 22px;border-radius:22px;color:#29816c;min-height:45px;font-size:15px}.player-feedback:not(:empty){background:#e3f5eb}.player-feedback.retry{background:#fff0dc;color:#a77942}.number-big{font-size:65px;line-height:1;color:#3b81b0;font-weight:800;margin:10px}.counting-objects{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:570px;margin:24px auto}.count-object{position:relative;border:2px solid #eef0ed;border-radius:20px;padding:5px;background:white;transition:transform .18s;width:88px;height:88px}.count-object img{width:100%;height:100%;object-fit:contain}.count-object.counted{border-color:#58bc91;transform:translateY(-6px)}.count-badge{position:absolute;right:-7px;top:-9px;background:#238568;color:white;width:27px;height:27px;border-radius:50%;line-height:27px;font-size:15px;font-weight:800}.count-status{font-size:14px;color:#648797}.number-choices{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:24px 0}.number-choice{border:2px solid #c7dfee;background:#eef7fd;border-radius:19px;width:70px;height:70px;color:#357dae;font-size:32px;font-weight:800;box-shadow:0 4px 0 #d5e7f2}.voice-playback{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;padding:12px;margin-top:15px;background:#fff4e8;border-radius:18px;font-size:12px}.mic-dialog{border:0;border-radius:28px;max-width:470px;width:calc(100% - 40px);padding:30px;color:var(--ink);box-shadow:0 25px 80px #213b5350}.mic-dialog::backdrop{background:#1d394b66;backdrop-filter:blur(4px)}.mic-dialog h2{font-size:27px}.mic-dialog p{font-size:14px;line-height:1.7}.mic-dialog .button{margin:8px 8px 0 0}
@keyframes float-soft{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes mascot-bounce{0%,70%,100%{transform:translateY(0) rotate(-3deg)}80%{transform:translateY(-12px) rotate(5deg)}90%{transform:translateY(-3px)}}@keyframes slow-turn{to{transform:rotate(360deg)}}@keyframes mic-pulse{50%{box-shadow:0 0 0 7px #f5c8bd55}}@keyframes happy-pop{50%{transform:scale(1.04)}}@keyframes gentle-wiggle{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}}
@media(max-width:900px){.intro-hero{gap:20px}.intro-copy h1{font-size:44px}.discovery-world{height:400px}.world-mit,.world-kem{width:75px}.animal-cat{top:65px}.animal-dog{top:120px}.language-door{padding:25px}.language-door>img{width:70px}.together-banner{gap:30px;padding:35px}.together-banner h2{font-size:34px}.experience-grid{gap:18px}}
@media(max-width:640px){.intro-hero{grid-template-columns:1fr;padding:28px 0 30px;gap:0}.intro-copy h1{font-size:42px}.intro-copy>p{font-size:15px}.discovery-world{height:350px;max-width:380px;width:100%;margin:25px auto 0}.world-animal{width:43%}.world-sun{font-size:55px}.world-bubble{font-size:10px;padding:8px 12px}.bubble-count{bottom:0}.animal-dog{top:110px}.world-mit,.world-kem{bottom:25px;width:75px;height:95px}.intro-programs{padding:15px 0 40px}.program-pair{grid-template-columns:1fr;gap:16px}.language-door h3{font-size:27px}.experience-grid{grid-template-columns:1fr;gap:35px}.experience-art{max-width:320px;width:100%;margin:0 auto 16px;height:170px}.experience p{max-width:320px}.discovery-steps{padding:20px 0 30px}.together-banner{grid-template-columns:1fr;gap:10px;padding:25px;margin:25px 0 40px}.together-banner>img{max-height:180px}.together-banner h2{font-size:31px}.page-heading h1{font-size:33px}.program-tabs .button{padding:10px 17px}.learning-page main{width:calc(100% - 20px)}.player{padding:18px 12px;border-radius:24px}.player h1{font-size:24px}.player-heading>span{order:3;flex:1 1 100%;font-size:12px}.flashcard>img{height:220px}.flashcard h2{font-size:34px}.sound-control svg{width:65px;height:65px;padding:17px}.sound-control{width:80px}.choice-grid{gap:12px;grid-template-columns:repeat(2,1fr)}.choice-card{padding:10px;min-height:145px}.choice-card img{height:120px}.count-object{width:68px;height:68px}.number-choice{width:55px;height:60px;font-size:28px}.next-controls{margin-top:15px}.player-feedback{font-size:13px;padding:10px}.intro-copy .button{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.illustration{display:block;aspect-ratio:1;background-repeat:no-repeat;flex-shrink:0}.lesson-cover>.illustration{height:200px;width:200px;margin:auto}.flashcard>.illustration{height:265px;width:265px;max-width:100%;margin:auto}.choice-card>.illustration{height:150px;width:150px;max-width:100%;margin:auto}.world-animal>.illustration{width:100%;height:100%}.experience-art>.illustration{width:155px;height:155px;border-radius:50%}.apple-parade>.illustration{width:90px;height:90px;animation:float-soft 3s ease-in-out infinite}.apple-parade>.illustration:nth-child(2){animation-delay:.4s}.apple-parade>.illustration:nth-child(3){animation-delay:.8s}.count-object>.illustration{width:100%;height:100%}.memory-card>.illustration{height:90px;width:90px;max-width:100%;margin:auto}.matching-card>.illustration{height:110px;width:110px;max-width:100%;margin:auto}.story-image.illustration{width:300px;height:300px;margin:auto}
@media(max-width:640px){.flashcard>.illustration{width:220px;height:220px}.choice-card>.illustration{width:120px;height:120px}.memory-card>.illustration{height:70px;width:70px}.matching-card>.illustration{width:80px;height:80px}.lesson-cover>.illustration{height:180px;width:180px}}
.lesson-cover>.illustration,.flashcard>.illustration,.choice-card>.illustration,.memory-card>.illustration,.matching-card>.illustration,.world-animal>.illustration{height:auto;max-width:100%;aspect-ratio:1}.illustration{overflow:hidden}body{overflow-x:clip}
.illustration[style*="body-parts.png"]{clip-path:inset(0 0 6% 0)}
.number-big{font-size:clamp(110px,15vw,170px);font-weight:900;line-height:1.05;color:#2475bd;text-shadow:0 6px 0 #d7edff;margin:6px auto 15px}.symbol-prompt{font-size:clamp(32px,6vw,56px)!important}.symbol-choice{font-size:clamp(64px,10vw,100px);font-weight:900;color:#287abc;background:#eef7ff;min-height:160px}.joy-burst{position:fixed;left:50%;top:45%;z-index:50;pointer-events:none}.joy-clap{font-size:75px;animation:clap-joy .8s ease-in-out}.joy-particle{position:absolute;left:0;top:0;font-size:25px;color:var(--color);animation:burst-joy 1.3s ease-out forwards}.world-mit,.world-kem{animation:mascot-bounce 3s ease-in-out infinite;transform-origin:bottom center}.world-kem{animation-delay:.6s}@keyframes burst-joy{0%{opacity:0;transform:rotate(var(--angle)) translateX(0) scale(.3)}20%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) scale(1.1)}}@keyframes clap-joy{0%,100%{transform:scale(.6);opacity:0}30%,70%{transform:scale(1.2);opacity:1}50%{transform:scale(.95);opacity:1}}@keyframes mascot-bounce{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-12px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.joy-particle,.joy-clap,.world-mit,.world-kem{animation:none}.joy-clap{font-size:50px}}@media(max-width:640px){.symbol-choice{min-height:130px}.number-big{font-size:110px}}
.logo>.illustration{width:44px;height:44px;flex-shrink:0}.world-mit.illustration,.world-kem.illustration{height:auto;width:110px;mix-blend-mode:multiply}.auth-mascot.illustration{width:65px;height:auto}@media(max-width:640px){.world-mit.illustration,.world-kem.illustration{width:85px}}
.child-card>.illustration{width:80px;height:auto}
.letter-big{font-size:clamp(170px,25vw,250px);font-weight:900;color:#216db0;line-height:1.05;text-shadow:0 7px 0 #dbeeff}.letter-choice{font-size:90px;font-weight:900;color:#216db0}
.topic-symbol{font-size:70px;font-weight:900;color:#2475bd;letter-spacing:4px;text-shadow:0 5px 0 #dbeeff}
.group-caption{display:block;font-size:21px;font-weight:800;margin-top:12px}
.auth-friends{display:flex;justify-content:center;gap:18px;margin-bottom:20px}.auth-friends .auth-mascot{width:100px;height:100px;object-fit:contain}.pagination{flex-wrap:wrap;justify-content:center;gap:8px}.pagination a,.pagination .page-current,.media-pages button{display:inline-grid;place-items:center;min-width:42px;min-height:42px;padding:8px;border-radius:12px;border:1px solid #dce5ec;background:white}.pagination .page-current,.media-pages [aria-current]{background:#207d6e;color:white}.media-picker{border:1px solid #dce5ec;border-radius:16px;padding:16px;min-width:0}.media-picker summary{font-weight:750;cursor:pointer}.media-current{display:flex;align-items:center;gap:12px;margin:12px 0}.media-current img,.media-current .illustration{width:100px;height:100px;object-fit:contain}.media-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.media-option{display:flex;align-items:center;flex-direction:column;border:2px solid #e2eaf0;border-radius:12px;padding:8px;text-align:center;cursor:pointer;font-size:12px!important;gap:4px}.media-option[hidden]{display:none}.media-option:has(input:checked){border-color:#207d6e;background:#ecf8f3}.media-option input{width:18px!important;height:18px}.media-option img,.media-option .illustration{width:100%;height:80px;object-fit:contain}.media-pages{display:flex;flex-wrap:wrap;gap:5px}.media-pages button{min-width:32px;min-height:32px;font-size:12px}.letter-choice{font-size:clamp(40px,8vw,75px)}@media(max-width:640px){.media-options{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-big{font-size:clamp(115px,23vw,180px)}}

.logo-friends{display:flex;align-items:center;gap:2px;flex-shrink:0}.logo-friends .illustration,.logo-friends img{width:42px;height:48px;object-fit:contain}.footer .logo-friends .illustration,.footer .logo-friends img{width:32px;height:36px}@media(max-width:760px){.logo-friends .illustration,.logo-friends img{width:32px;height:37px}}

.lesson-card{position:relative;cursor:pointer}.lesson-card .lesson-start{position:static}.lesson-card .lesson-start::after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:1}.lesson-card:focus-within{outline:3px solid #217b69;outline-offset:4px}.group-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:8px}.group-examples img,.group-examples .illustration{height:85px!important;width:100%!important;object-fit:contain}.group-caption{display:block;margin:10px 0}
.vocabulary-picker,.activity-config{grid-column:1/-1;border:1px solid #dce5ec;border-radius:18px;padding:18px}.vocabulary-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.vocabulary-option{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px;border:2px solid #e3eaf0;border-radius:14px;cursor:pointer;gap:4px}.vocabulary-option input{width:18px;height:18px}.vocabulary-option img,.vocabulary-option .illustration{width:100%;height:90px;object-fit:contain}.vocabulary-option:has(input:checked){background:#eaf8f2;border-color:#207d6e}.vocabulary-option small{font-weight:400}.vocabulary-pages{display:flex;flex-wrap:wrap;gap:5px}.vocabulary-pages button{min-width:35px;min-height:35px;border:1px solid #dce5ec;border-radius:10px;background:white}.vocabulary-pages [aria-current]{background:#207d6e;color:white}.word-config{border:1px solid #dce5ec;padding:12px;border-radius:12px;margin:10px 0}.word-config>div{display:flex;flex-wrap:wrap;gap:12px}.body-config-board{position:relative;width:300px;max-width:100%;margin:15px auto;cursor:crosshair}.body-config-board>img,.body-config-board>.illustration{width:100%;height:380px;object-fit:fill}.body-config-marker{position:absolute;width:20px;height:20px;background:#f05252;border:3px solid white;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.selected-point{background:#207d6e;color:white}.admin-content-form [hidden],.activity-editor [hidden]{display:none!important}@media(max-width:640px){.vocabulary-options{grid-template-columns:repeat(2,minmax(0,1fr))}.vocabulary-picker,.activity-config{padding:12px}}
.vocabulary-selected{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.vocabulary-selected button{border:1px solid #9dcebb;background:#eaf8f2;color:#245a49;border-radius:10px;padding:7px 10px;font-size:13px}
.media-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}.media-library-card{background:white;border:1px solid #dce5ec;border-radius:20px;padding:15px;min-width:0}.media-library-card img,.media-library-card .illustration{width:100%;height:160px;object-fit:contain}.media-library-card h3{font-size:18px;margin:12px 0 6px;overflow-wrap:anywhere}.media-library-card p{font-size:13px}.media-tags{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.media-tags .pill{font-size:11px}.media-group-fields{grid-column:1/-1;margin:16px 0}.tag-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto;border:1px solid #dce5ec;border-radius:14px;padding:12px;margin:10px 0 18px}.tag-options label{font-size:13px;margin:0;align-items:center}.media-picker-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.media-picker-filters select{width:auto;flex:1 1 140px}.media-edit-preview{grid-column:1/-1;display:flex;justify-content:center}.media-edit-preview img,.media-edit-preview .illustration{width:250px;height:250px;object-fit:contain}@media(max-width:760px){.media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tag-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.filter-bar{flex-wrap:wrap}.filter-bar input,.filter-bar select{flex:1 1 200px;min-width:180px;width:auto}

.meaning-controls{display:flex;justify-content:center;margin:10px 0}.meaning-controls .sound-control{font-size:13px}.meaning-controls .sound-control svg{width:44px;height:44px;padding:9px;border-radius:15px;background:#e9f6ed;border-color:#c9e4d4;stroke:#2b8060}.meaning-controls .sound-control:disabled{opacity:.5}

.meaning-controls{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:6px 7px 6px 16px;margin:10px auto 0;border:1px solid #dfebe5;border-radius:999px;background:#f5faf7;max-width:100%;text-align:left}.meaning-text{font-size:15px;color:#577466;line-height:1.4;overflow-wrap:anywhere}.meaning-controls .sound-control{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;padding:0;margin:0;gap:0;border-radius:50%;background:transparent}.meaning-controls .sound-control svg{width:36px;height:36px;padding:8px;border:0;border-radius:50%;background:#e2f0e8;stroke:#347d5f}.meaning-controls .sound-control>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.meaning-controls .sound-control:hover svg{transform:none;background:#d4eade}.flashcard:has(.meaning-controls){margin-bottom:4px}.player-controls{gap:24px;margin-top:12px}
