:root{--midnight:#1c103b;--indigo:#2c1550;--purple:#5a2384;--violet:#934ee0;--orange:#fa7625;--amber:#ffc552;--cream:#fff7df;--ink:#352444;--blue:#0875ec;--mint:#73d9aa;--edge:#e6d3a5}*{box-sizing:border-box}html{min-height:100%;background:#160e30}body{margin:0;font-family:'Trebuchet MS',Verdana,Arial,sans-serif;color:var(--cream);background:radial-gradient(ellipse at 52% 5%,#6932a4 0%,transparent 35%),radial-gradient(circle at 100% 54%,#472262 0%,transparent 29%),linear-gradient(160deg,#241246,#150d2e 80%);min-height:100vh;overscroll-behavior-y:none}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:4px solid #83ccff;outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.5}.app-shell{min-height:100vh;max-width:1440px;margin:auto;padding:18px clamp(14px,3vw,48px) 16px;display:flex;flex-direction:column;position:relative;isolation:isolate}.site-header{display:flex;align-items:center;justify-content:space-between;z-index:5;gap:12px}.brand-card{display:flex;align-items:center;background:#fff3c5;border:3px solid #ffd651;box-shadow:0 6px 0 #180b32,0 8px 20px #11071a77;padding:8px 15px;border-radius:19px;min-width:190px}.brand-logo{display:block;width:105px;max-height:36px;object-fit:contain}.brand-divider{width:1px;height:30px;background:#d7bd86;margin:0 12px}.brand-label{color:#694d77;font-size:9px;line-height:1.15;font-weight:900;letter-spacing:1px}.header-actions{display:flex;align-items:center;gap:9px}.build-tag{font-size:10px;font-weight:900;letter-spacing:1.5px;background:#ffffff11;border:1px solid #ffffff27;padding:9px 12px;border-radius:50px;color:#e1c7f8}.icon-btn{border:2px solid #c69aea66;background:#5b2882;box-shadow:0 3px 0 #200e40;border-radius:14px;color:white;width:42px;height:42px;font-size:23px;display:grid;place-items:center;transition:transform .15s}.icon-btn:hover{transform:translateY(-2px)}#game{flex:1;display:flex;align-items:center;justify-content:center;min-height:560px;outline:none}.footer{z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#c8abe4;font-size:11px;padding:18px 4px 3px}.footer b{color:#ffe968}.fireflies{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.fireflies i{position:absolute;width:6px;height:6px;border-radius:50%;box-shadow:0 0 8px 3px #fce3ad91;background:#fff3ad;animation:twinkle 3s ease-in-out infinite}.fireflies i:nth-child(1){left:5%;top:16%}.fireflies i:nth-child(2){left:24%;top:6%;animation-delay:-.8s}.fireflies i:nth-child(3){left:40%;top:34%;animation-delay:-1s}.fireflies i:nth-child(4){left:65%;top:8%;animation-delay:-.5s}.fireflies i:nth-child(5){left:87%;top:26%;animation-delay:-1.8s}.fireflies i:nth-child(6){left:92%;top:64%;animation-delay:-2.2s}.fireflies i:nth-child(7){left:17%;top:72%;animation-delay:-1.2s}.fireflies i:nth-child(8){left:73%;top:85%;animation-delay:-.3s}.fireflies i:nth-child(9){left:40%;top:89%;animation-delay:-2.5s}@keyframes twinkle{0%,100%{transform:scale(.65);opacity:.45}50%{transform:scale(1.45);opacity:1}}@keyframes hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes slideup{0%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:translateY(0)}}@keyframes wobble{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(3deg)}}@keyframes pulse{0%,100%{box-shadow:0 0 0 0 #ffb64a44}70%{box-shadow:0 0 0 16px #ffb64a00}}
.screen{width:100%;animation:slideup .3s both}.landing{display:grid;grid-template-columns:minmax(340px,.93fr) minmax(370px,1.07fr);gap:0;align-items:center;max-width:1190px;width:100%;padding:14px 0 0}.hero-copy{z-index:3;padding:0 8px 6px 4px}.tiny-pill{display:inline-flex;align-items:center;gap:8px;background:#7031a1;border:2px solid #b16dd1;color:#fff6ce;padding:9px 16px;border-radius:99px;font-weight:900;text-transform:uppercase;letter-spacing:1.6px;font-size:11px;box-shadow:0 4px 0 #1c0c3d}.tiny-pill span{font-size:18px}.hero-title{margin:22px 0 12px;font-weight:1000;line-height:.93;letter-spacing:-2px;filter:drop-shadow(0 6px 0 #2a0944)}.hero-title .smallline{display:block;color:#ffe88d;font-size:clamp(33px,4.2vw,53px);letter-spacing:2px}.hero-title .bigline{display:block;font-size:clamp(51px,6.35vw,90px);color:#ff8631;text-shadow:3px 3px 0 #ffca5a,-2px -2px 0 #ffecc0,3px -2px 0 #ffecc0,-2px 3px 0 #ffecc0,6px 7px 0 #742779;transform:rotate(-2deg);margin:14px 0 8px}.hero-title .lastline{display:block;font-size:clamp(45px,5.7vw,74px);color:#fff8e7;text-shadow:3px 4px 0 #a444cb}.intro-head{font-size:clamp(19px,2.1vw,26px);font-weight:900;margin:27px 0 10px;color:#ffe8a1}.intro-text{font-size:16px;line-height:1.6;color:#e4d4f1;max-width:500px;margin:0 0 24px}.primary-btn{border:3px solid #ffd766;color:#42233f;min-height:65px;min-width:220px;background:linear-gradient(#ffdb74,#ff9d3e);box-shadow:0 7px 0 #bf4518,0 12px 20px #120a2380;border-radius:23px;padding:13px 24px;font-weight:1000;letter-spacing:.3px;font-size:19px;display:inline-flex;align-items:center;gap:12px;justify-content:center;transition:transform .2s,box-shadow .2s;animation:pulse 3s infinite}.primary-btn:hover{transform:translateY(-3px);box-shadow:0 10px 0 #bf4518,0 17px 23px #120a2380}.primary-btn:active{transform:translateY(5px);box-shadow:0 2px 0 #bf4518}.primary-btn .arrow{font-size:23px}.small-features{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;font-weight:700;color:#d8c6e5;font-size:12px}.small-features span{display:flex;align-items:center;gap:5px}.small-features strong{font-size:18px}.art-scene{position:relative;height:min(640px,55vw);min-height:485px;border-radius:50% 47% 8% 8%;overflow:hidden;background:radial-gradient(circle at 55% 18%,#7950b9,transparent 37%),linear-gradient(#35206b 0%,#6a319b 60%,#331450 100%);mask-image:linear-gradient(to bottom,black 0%,black 90%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,black 0%,black 90%,transparent 100%)}.moon{position:absolute;width:185px;height:185px;border-radius:50%;background:#ffe486;box-shadow:0 0 0 15px #ffde8d22,0 0 85px 20px #f8d26769;top:10%;left:53%;transform:translateX(-50%)}.moon::after{content:'';position:absolute;width:162px;height:162px;background:#6641a0;border-radius:50%;top:-13px;right:-40px}.scene-stars{position:absolute;inset:0;background-image:radial-gradient(circle,#fff3bb 0 2px,transparent 3px),radial-gradient(circle,#ffb65d 0 3px,transparent 4px),radial-gradient(circle,#fff 0 1px,transparent 2px);background-size:123px 87px,167px 125px,97px 129px;background-position:27px 13px,55px 67px,7px 2px;opacity:.75}.castle{position:absolute;bottom:23%;left:-3%;height:215px;width:180px;filter:drop-shadow(4px 7px 3px #1a0b2b)}.castle .tower{position:absolute;bottom:0;background:#1a123a;border:3px solid #1c153f}.tower.a{left:0;width:60px;height:155px}.tower.b{left:56px;width:66px;height:192px}.tower.c{left:115px;width:54px;height:128px}.tower:before{content:'';position:absolute;width:0;height:0;border-left:37px solid transparent;border-right:37px solid transparent;border-bottom:58px solid #140e33;top:-58px;left:-9px}.window{position:absolute;background:#ffce58;width:14px;height:27px;border-radius:14px 14px 3px 3px;box-shadow:0 0 13px #ffa837;top:45px;left:17px}.scene-hills{position:absolute;inset:auto -7% 0;height:37%;background:radial-gradient(ellipse at 20% 96%,#1b103a 0 49%,transparent 50%),radial-gradient(ellipse at 79% 114%,#2a1550 0 56%,transparent 57%),linear-gradient(transparent 20%,#240e40 100%)}.scene-path{position:absolute;bottom:-9%;left:34%;height:35%;width:45%;background:radial-gradient(ellipse at bottom,#ffa95533,transparent 66%);transform:rotate(-12deg)}.bat-silhouette{position:absolute;font-size:45px;top:13%;left:15%;filter:brightness(0);transform:rotate(-18deg)}.bat-silhouette.two{left:83%;top:29%;font-size:28px;transform:rotate(20deg)}.character{position:absolute;object-fit:contain;filter:drop-shadow(0 15px 7px #1b0d3275)}.toki-hero{width:57%;max-height:69%;bottom:6%;right:0%;animation:hover 4s ease-in-out infinite}.boo-hero{width:26%;max-height:52%;bottom:20%;left:23%;animation:hover 3.3s ease-in-out infinite reverse}.pumpkin-hero{width:28%;max-height:34%;bottom:3%;left:6%;filter:drop-shadow(0 8px 19px #ff871a66)}.magic-star{position:absolute;top:40%;left:47%;font-size:42px;animation:wobble 2s infinite}.scene-floor{position:absolute;bottom:8%;left:3%;right:3%;height:12%;border-radius:50%;background:#120c2c55;filter:blur(16px)}
/* Common quest layout */.quest{width:min(100%,1120px);margin:auto}.quest-head{display:flex;align-items:center;gap:12px;margin:14px 0 20px;flex-wrap:wrap}.back-btn{color:#ffe3a8;font-weight:900;border:1px solid #cfacff55;background:#47246d;border-radius:12px;padding:11px 14px}.quest-label{font-weight:900;letter-spacing:1.5px;font-size:11px;color:#caa5f8;text-transform:uppercase}.progress-area{flex:1;min-width:150px;display:flex;align-items:center;gap:11px;margin-left:auto;max-width:340px}.progress-track{height:12px;background:#160d2c;border:1px solid #7852ac;border-radius:99px;overflow:hidden;flex:1}.progress-fill{height:100%;background:linear-gradient(90deg,#f5a932,#ffe36c);border-radius:99px;transition:width .3s}.progress-text{font-size:12px;color:#ffe9a8;font-weight:900;white-space:nowrap}.panel{background:#fff8e8;color:#38213f;border:5px solid #ffca62;box-shadow:0 11px 0 #532478,0 22px 39px #0c061f90;border-radius:30px;padding:clamp(18px,3vw,31px);position:relative}.panel:before{position:absolute;inset:7px;border:2px dashed #deb97866;content:'';border-radius:20px;pointer-events:none}.scene-card{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center}.scene-card .visual{background:radial-gradient(circle at 40% 30%,#eed6ff,#b89be3 65%,#8564be);height:380px;border-radius:25px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border:3px solid #e9d3ff}.scene-card .visual:after{content:'✦ ✦ ✧ ✦';position:absolute;top:25px;left:25px;font-size:30px;letter-spacing:42px;color:#fff9c3}.scene-card .visual img{position:relative;z-index:1;max-width:78%;max-height:82%;object-fit:contain;filter:drop-shadow(0 12px 8px #512a674a);animation:hover 3.5s infinite}.scene-card .visual.duo img{position:absolute}.scene-card .visual.duo .first{width:55%;left:4%;bottom:0}.scene-card .visual.duo .second{width:48%;right:5%;top:10%}.stage-hint{font-size:12px;font-weight:1000;letter-spacing:1px;color:#a85536;text-transform:uppercase;margin:0 0 11px}.panel-title{font-size:clamp(26px,3vw,42px);font-weight:1000;letter-spacing:-1px;line-height:1.12;color:#3c2354;margin:0 0 12px}.panel-en{font-size:clamp(20px,2vw,29px);color:#8138aa;font-weight:1000;line-height:1.25;margin:16px 0}.panel-vn{color:#645070;line-height:1.6;font-size:16px}.speech-line{border-radius:20px;background:#fff2d6;border:2px solid #f4dab0;padding:14px 17px}.speak-btn{display:inline-flex;align-items:center;gap:8px;background:#eee0ff;color:#643c92;border:2px solid #d2afe9;border-radius:16px;font-weight:900;padding:10px 14px;margin:16px 0}.speak-btn:hover{background:#e8ccff}.panel-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.primary-btn.compact{font-size:16px;min-height:54px;min-width:auto;padding:10px 20px;border-radius:18px}.secondary-btn{border:2px solid #c19ad9;border-radius:17px;background:#fbf3ff;color:#633a8b;font-weight:900;padding:12px 18px}.stepdots{display:flex;gap:8px;margin:0 0 17px}.stepdots span{width:11px;height:11px;border-radius:50%;background:#d3bde4}.stepdots span.active{background:#ff9e40;width:30px;border-radius:20px}.stepdots span.past{background:#9b67bd}.word-label{font-size:clamp(34px,4vw,60px);font-weight:1000;color:#f2752a;line-height:1;margin:18px 0 7px;text-shadow:2px 2px #f6d4ae}.phonetic{font-size:13px;color:#7c6583;font-weight:700}.learning-chip{display:inline-block;background:#f0e4fa;border:2px solid #dfc9ed;border-radius:99px;padding:7px 12px;color:#714797;font-weight:900;font-size:12px}.word-meaning{font-weight:900;font-size:20px;margin:8px 0 14px}.word-sentence{font-weight:900;font-size:21px;line-height:1.4;color:#542876}.learning-rule{background:#fff1cb;padding:13px 17px;border-radius:15px;font-weight:700;color:#78614d;line-height:1.6;font-size:14px}.challenge-layout{display:grid;grid-template-columns:1fr .92fr;gap:24px;align-items:start}.challenge-panel{min-height:460px}.quest-question{font-weight:1000;font-size:clamp(24px,3vw,38px);color:#50216b;line-height:1.2;margin:8px 0 10px}.quest-instruction{color:#7c6485;font-size:15px;margin:0 0 16px}.question-index{color:#b6652a;font-size:11px;font-weight:1000;letter-spacing:1.2px}.answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}.answer{background:#fff;border:3px solid #ecd1f0;border-radius:19px;min-height:172px;padding:10px;box-shadow:0 4px 0 #d8b9de;transition:transform .15s,border-color .15s;display:flex;align-items:center;flex-direction:column;justify-content:space-around;color:#54315e;position:relative}.answer:hover{transform:translateY(-4px);border-color:#ffb94d}.answer:disabled{cursor:default}.answer img{width:100%;height:116px;object-fit:contain}.answer .word-option{font-size:clamp(16px,2vw,21px);font-weight:1000}.answer.text-only{min-height:110px;background:#fff7f0}.answer.text-only .word-option{font-size:22px}.answer.good{border-color:#40b882;background:#e2ffed}.answer.bad{border-color:#e88477;background:#fff0e7}.challenge-side{background:#432064cc;border:2px solid #a87ace66;border-radius:27px;min-height:465px;position:relative;padding:25px 24px;overflow:hidden}.challenge-side:before{content:'✦ ✧ ✦';font-size:33px;letter-spacing:21px;position:absolute;right:-15px;top:17px;color:#ffc97a69}.challenge-side img{position:relative;z-index:1;width:240px;max-width:90%;height:235px;object-fit:contain;display:block;margin:16px auto 6px;animation:hover 3.7s infinite}.toki-bubble{position:relative;z-index:2;color:#4a2951;background:#fff7dc;border:3px solid #ffbc71;border-radius:20px;padding:15px 17px;font-size:17px;font-weight:900;text-align:center;line-height:1.45;box-shadow:0 5px 0 #25123e}.toki-bubble:after{content:'';position:absolute;border-left:12px solid transparent;border-right:12px solid transparent;border-top:13px solid #ffbc71;left:50%;bottom:-15px}.feedback{margin:18px 0 0;padding:17px;border-radius:20px;background:#e5fff1;border:2px solid #5bc797;color:#17563a;display:flex;align-items:center;justify-content:space-between;gap:14px;animation:slideup .22s}.feedback.wrong{background:#fff0dc;border-color:#efb35b;color:#80512d}.feedback-title{font-size:17px;font-weight:1000;margin-bottom:5px}.feedback-detail{font-size:13px;line-height:1.4}.feedback button{white-space:nowrap}.result-wrap{max-width:840px;margin:auto;text-align:center}.result-toki{height:220px;max-width:290px;object-fit:contain;animation:hover 3.4s infinite}.result-head{font-size:clamp(33px,4.8vw,64px);font-weight:1000;color:#55257b;margin:10px 0}.result-sub{color:#72597e;font-size:17px;line-height:1.5}.achievement{display:inline-flex;align-items:center;gap:10px;font-size:15px;background:#fff0b6;border:2px solid #dca553;padding:10px 16px;border-radius:30px;font-weight:1000;color:#865321;margin:10px 0 15px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:19px 0}.stat{background:#ffebce;border:2px solid #f4cb99;border-radius:18px;padding:16px 10px}.stat strong{display:block;color:#d36a2d;font-size:31px;font-weight:1000}.stat span{color:#735975;font-weight:800;font-size:11px}.word-recapped{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:17px 0}.word-recapped span{background:#f2e5ff;border:1px solid #deb9fc;border-radius:30px;padding:9px 13px;color:#5d2f83;font-size:13px;font-weight:900}.locked{background:#f1e5f6;border-radius:15px;border:2px dashed #c8add7;padding:14px;color:#8b7395;font-weight:700;font-size:13px;margin-top:16px}.small-note{font-size:12px;color:#d6c1e7;line-height:1.6;margin-top:20px}.modal-overlay{position:fixed;inset:0;background:#090418c9;z-index:100;display:grid;place-items:center;padding:15px}.modal{width:min(100%,430px);border-radius:25px;border:4px solid #ffcc77;background:#fff7df;box-shadow:0 24px 70px #0009;padding:24px;color:#3c2254;text-align:center}.modal h2{margin-top:2px}.modal p{line-height:1.6;color:#665678}.modal .panel-actions{justify-content:center}
@media(max-width:900px){.build-tag{display:none}.landing{grid-template-columns:1fr;max-width:600px;gap:0}.hero-copy{text-align:center;order:0;padding-top:12px}.hero-title{margin:19px 0 7px}.hero-title .bigline{font-size:clamp(45px,11vw,85px)}.hero-title .smallline{font-size:clamp(27px,8vw,49px)}.hero-title .lastline{font-size:clamp(40px,9vw,66px)}.intro-head{margin:21px 0 10px}.intro-text{margin:0 auto 18px;font-size:14px}.small-features{justify-content:center;margin-top:24px}.art-scene{height:420px;min-height:0;order:1;width:100%;border-radius:50% 50% 5% 5%;margin-top:-20px}.scene-card{grid-template-columns:1fr}.scene-card .visual{height:240px}.scene-card .visual img{max-height:88%}.panel-title{font-size:29px}.challenge-layout{grid-template-columns:1fr}.challenge-side{min-height:170px;display:flex;align-items:center;gap:12px;padding:12px}.challenge-side img{width:108px;height:140px;margin:0;flex-shrink:0}.toki-bubble{font-size:14px;flex:1}.challenge-side:before{display:none}}@media(max-width:580px){.app-shell{padding:10px 12px 12px}.brand-card{padding:5px 9px;border-radius:13px;min-width:142px;border-width:2px}.brand-logo{width:80px}.brand-divider{height:24px;margin:0 7px}.brand-label{font-size:7px}.site-header{gap:5px}.header-actions{gap:6px}.icon-btn{width:35px;height:35px;font-size:18px;border-radius:12px}.footer{font-size:10px;justify-content:center;text-align:center;flex-direction:column;gap:4px;padding:16px 0 0}#game{min-height:0}.landing{padding:6px 0 0;display:block}.hero-title{margin:12px 0 0}.hero-title .bigline{letter-spacing:-2px;font-size:clamp(44px,10vw,60px);text-shadow:2px 2px 0 #ffca5a,-2px -2px 0 #ffecc0,2px -2px 0 #ffecc0,-2px 2px 0 #ffecc0,4px 5px 0 #742779}.hero-title .smallline{font-size:33px}.hero-title .lastline{font-size:44px}.tiny-pill{padding:6px 12px;font-size:9px}.intro-head{font-size:19px;margin:18px 0 8px}.intro-text{line-height:1.4;font-size:13px;margin-bottom:16px}.primary-btn{min-height:58px;font-size:18px;border-radius:18px;padding:9px 16px}.small-features{font-size:10px;gap:9px;margin-top:19px}.art-scene{height:320px;margin-top:-1px}.moon{width:135px;height:135px}.moon:after{width:120px;height:120px;right:-28px}.castle{transform:scale(.7);transform-origin:bottom left}.toki-hero{width:57%;max-height:65%}.boo-hero{width:27%;max-height:48%;bottom:25%}.quest-head{margin:16px 0 12px;gap:8px}.quest-label{font-size:10px}.progress-area{order:2;flex-basis:100%;width:100%;max-width:none}.panel{padding:18px 16px;border-width:4px;border-radius:23px;box-shadow:0 8px 0 #532478,0 17px 24px #0c061f70}.panel:before{inset:5px;border-radius:15px}.scene-card{gap:15px}.scene-card .visual{height:177px}.panel-title{font-size:25px;margin-bottom:7px}.panel-en{font-size:21px;margin:11px 0}.panel-vn{font-size:14px}.panel-actions{margin-top:12px}.speak-btn{margin:8px 0}.challenge-panel{min-height:0}.quest-question{font-size:25px}.answers{gap:6px}.answer{min-height:134px;padding:5px;border-radius:13px;border-width:2px}.answer img{height:94px}.answer .word-option{font-size:13px}.answer.text-only{min-height:74px}.answer.text-only .word-option{font-size:15px}.challenge-side{min-height:130px}.challenge-side img{width:90px;height:112px}.toki-bubble{padding:10px;font-size:12px}.feedback{flex-direction:column;align-items:stretch}.result-toki{height:135px}.result-head{font-size:32px}.stat strong{font-size:25px}.stats{gap:6px}.stat{padding:9px 5px}.stat span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Full adventure */
.parent-details{max-width:510px;color:#d8c6e5;font-size:12px;line-height:1.6;margin:18px 0;text-align:left}.parent-details summary{cursor:pointer;font-weight:900;color:#ffe5a5}.parent-details p{margin:10px 0}.map-title{text-align:center;margin:24px 0}.map-title h2{font-size:clamp(28px,4vw,44px);color:#ffe4a1;margin:10px 0}.map-title p{color:#dcc4f0;line-height:1.5}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.map-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.map-icon{font-size:44px}.map-card h3{font-size:25px;margin:0;color:#5a297c}.map-card p{margin:0;color:#795b87;line-height:1.5}.map-card .map-words{font-size:13px;min-height:60px}.map-card button{margin-top:auto;font-size:14px}.map-card.is-locked{opacity:.65}.map-bottom{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:32px 0 10px}.center{text-align:center}.center-actions{justify-content:center}.plain-btn{border:0;background:transparent;color:#75428e;text-decoration:underline;font-size:12px;padding:10px 0;min-height:44px;display:block}.audio-note{font-size:12px;color:#775b87;margin:4px 0}.question-picture{height:170px;display:flex;justify-content:center;margin:8px 0 22px}.question-picture img{max-width:260px;max-height:100%;object-fit:contain}.mode-choice{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;margin:24px 0;color:#6b477e}.mode-choice label{background:#f4e5ff;padding:15px;border:2px solid #d3b2e8;border-radius:14px;cursor:pointer}.mode-choice input{accent-color:#8d4bba;width:18px;height:18px;vertical-align:middle}.review-box{text-align:left;border-radius:18px;background:#f6eafd;padding:20px;margin:20px 0}.review-box h3{margin:0;color:#6a3a85}.review-box summary{cursor:pointer;color:#795387;font-size:14px}.answer-review{line-height:1.6;font-size:14px;border-top:1px solid #ddc3e8;padding-top:12px}.fineprint{font-size:12px;line-height:1.6}.dictionary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.dict-card{text-align:center;padding:20px 12px}.dict-card img{height:120px;max-width:100%;object-fit:contain}.dict-card h3{font-size:20px;color:#6f3997;margin:10px 0}.dict-card p{font-size:13px;color:#795b87}.dict-sentence{min-height:40px;line-height:1.5}.name-input{border:2px solid #d1a6e7;border-radius:14px;padding:14px;max-width:100%;width:360px;font:inherit;text-align:center;color:#50325f;background:white}.name-input:focus{outline:3px solid #ffce71}.name-label{display:block;color:#785582;font-size:13px;margin:12px 0}.certificate-preview{margin:25px auto 10px;width:100%;max-width:680px}.certificate-preview canvas{width:100%;height:auto;border-radius:12px;box-shadow:0 6px 20px #3d20522b}.saved-certificate{width:100%;height:auto;margin-top:14px;border-radius:12px}.long-answers{grid-template-columns:1fr}.long-answers .answer{min-height:60px}.long-answers .word-option{font-size:18px}.word-label{overflow-wrap:anywhere;line-height:1.15}.dict-card .speak-btn{font-size:12px}button{touch-action:manipulation}.parent-details summary,.review-box summary{min-height:44px;padding:10px 0}
@media(max-width:900px){.chapter-grid{grid-template-columns:1fr}.map-card{display:grid;grid-template-columns:60px 1fr;gap:4px 12px}.map-icon{grid-row:1/5;align-self:center}.map-card .stage-hint,.map-card h3,.map-card p,.map-card button{grid-column:2}.map-card .map-words{min-height:0;font-size:12px}.map-card button{margin:12px 0 0;justify-self:start}.dictionary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-details{margin-left:auto;margin-right:auto}}
@media(max-width:580px){.map-card h3{font-size:22px}.map-bottom{gap:12px}.map-bottom button{width:100%}.dictionary-grid{gap:10px}.dict-card{padding:16px 9px}.dict-card h3{font-size:17px;overflow-wrap:anywhere}.dict-card img{height:95px}.dict-card .speak-btn{padding:8px}.question-picture{height:135px}.name-input{font-size:16px}.mode-choice{gap:10px}.mode-choice label{width:100%;padding:13px}.quest-label{letter-spacing:.5px}.panel-title{overflow-wrap:anywhere}.achievement{flex-wrap:wrap}}
