:root{--navy:#082c5c;--blue:#0c5baa;--sky:#edf5ff;--gold:#f4be36;--ink:#122748;--muted:#6d7f98;--line:#dbe6f2}*{box-sizing:border-box}body{margin:0;background:#f4f7fc;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.app-shell{max-width:720px;margin:auto;padding-bottom:96px}.topbar{height:70px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:white}.brand{font-size:22px;font-weight:800;letter-spacing:-1px;color:var(--navy);display:flex;align-items:center;gap:9px}.brand span span{color:var(--gold)}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:linear-gradient(135deg,#0866bd,#063070);color:white;font-size:18px}.sound-toggle,.bottom-nav button,.daily-card button,.back{border:0;background:transparent;cursor:pointer}.sound-toggle{font-size:21px}.hero{padding:40px 25px 31px;background:radial-gradient(circle at 90% 0,#2078c8 0,transparent 32%),linear-gradient(135deg,#0a4b98,#071f49);color:#fff}.eyebrow{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:1.3px;color:#78bdf9}.hero h1{font-size:36px;line-height:1.08;letter-spacing:-1.5px;margin:0 0 13px}.hero em{font-style:normal;color:#ffd35b}.hero>p:not(.eyebrow){font-size:15px;line-height:1.55;max-width:530px;margin:0 0 28px;color:#d9eaff}.progress-line{height:8px;border-radius:9px;background:rgba(255,255,255,.23);overflow:hidden}.progress-line span{display:block;height:100%;background:var(--gold);width:0%;border-radius:9px;transition:.3s}.hero small{display:block;margin-top:10px;color:#cde0f8}.section-heading{padding:27px 21px 14px}.section-heading h2{margin:0;font-size:21px;letter-spacing:-.5px}.lesson-grid{display:grid;gap:13px;padding:0 21px}.lesson{border:1px solid var(--line);border-radius:19px;background:white;padding:17px;display:flex;gap:15px;align-items:center;cursor:pointer;text-align:left;box-shadow:0 7px 17px rgba(31,74,120,.04)}.lesson:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(31,74,120,.11)}.lesson-icon{flex:0 0 46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:23px;background:#eaf4ff}.lesson:nth-child(2) .lesson-icon{background:#fff4d6}.lesson:nth-child(3) .lesson-icon{background:#e7f8f3}.lesson:nth-child(4) .lesson-icon{background:#f2ebff}.lesson h3{font-size:16px;margin:0 0 4px}.lesson p{font-size:13px;color:var(--muted);margin:0;line-height:1.4}.arrow{margin-left:auto;color:var(--blue);font-size:22px}.daily-card{margin:24px 21px 0;padding:16px;border-radius:18px;background:#fff4d8;display:flex;gap:12px;align-items:center}.daily-card>span{font-size:24px;color:#d89100}.daily-card b{font-size:14px}.daily-card p{margin:3px 0 0;font-size:12px;color:#695a39}.daily-card button{margin-left:auto;border-radius:10px;padding:9px 12px;background:#edb32c;color:#1d3450;font-weight:800}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:74px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:center;gap:min(17vw,112px);z-index:2}.bottom-nav button{color:#8192a9;font-weight:700;font-size:21px;padding:9px 15px 6px;display:grid;gap:2px;place-items:center}.bottom-nav span{font-size:10px}.bottom-nav .active{color:var(--blue)}dialog{border:0;padding:0;width:min(720px,100%);height:100%;max-width:none;max-height:none;background:#f4f7fc;color:var(--ink)}dialog::backdrop{background:#f4f7fc}.dialog-top{padding:18px 21px 15px;background:white;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line)}.dialog-top h2{margin:0;font-size:19px}.back{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;font-size:22px;color:var(--navy)}.tabs{display:flex;padding:13px 20px 0;background:#fff;gap:18px}.tab{padding:9px 3px;border:0;border-bottom:3px solid transparent;background:transparent;font-weight:800;color:#8192a9;cursor:pointer}.tab.active{color:var(--blue);border-color:var(--gold)}#learnPanel,#quizPanel{padding:20px 21px 100px}.word-card{border-radius:22px;padding:25px 22px;background:linear-gradient(145deg,#0b4f99,#092a60);color:white;box-shadow:0 10px 24px rgba(14,63,124,.18)}.word-count{font-size:12px;color:#aad6ff;font-weight:800;letter-spacing:1px}.word-term{font-size:31px;line-height:1.13;margin:20px 0 6px;font-weight:800;letter-spacing:-1px}.ipa{color:#ffd567;font-size:16px}.meaning{font-size:16px;margin:22px 0 0;color:#ecf6ff}.speak{margin-top:21px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(255,255,255,.13);color:white;padding:11px 15px;font-weight:800;cursor:pointer}.word-actions{display:flex;gap:11px;margin-top:15px}.word-actions button{flex:1;border-radius:12px;padding:13px;border:1px solid var(--line);font-weight:800;cursor:pointer;background:#fff;color:var(--navy)}.word-actions button:last-child{background:var(--gold);border-color:var(--gold)}.tip{margin-top:19px;padding:15px;border-radius:14px;background:#e9f4ff;color:#305271;font-size:13px;line-height:1.5}.quiz-card{background:white;border:1px solid var(--line);border-radius:20px;padding:22px}.quiz-card .question{font-size:19px;font-weight:800;line-height:1.4;margin:12px 0 20px}.option{width:100%;padding:14px;text-align:left;border:1px solid var(--line);background:white;border-radius:12px;margin:9px 0;cursor:pointer;font-weight:650;color:var(--ink)}.option:hover{border-color:var(--blue)}.option.correct{border-color:#13a66e;background:#e9fff5;color:#08734a}.option.wrong{border-color:#d73b4a;background:#fff0f2;color:#ad2636}.next-quiz{border:0;border-radius:12px;background:var(--gold);padding:13px 17px;font-weight:850;color:var(--ink);cursor:pointer;margin-top:14px}.profile-score{margin:23px 21px;padding:28px;border-radius:20px;background:linear-gradient(135deg,#0b519c,#082b60);color:#fff;text-align:center}.profile-score b{display:block;font-size:48px;line-height:1}.profile-score span{font-size:14px;color:#cae4ff}.profile-row{margin:0 21px;padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.hint{margin:22px;color:var(--muted);font-size:13px}@media(min-width:740px){dialog{width:720px;height:90vh;border-radius:22px;margin:auto}.bottom-nav{width:720px;left:50%;right:auto;transform:translateX(-50%);border-radius:18px 18px 0 0}}
.exam-section{margin-top:18px}.section-heading.compact{padding-bottom:12px}.exam-card{margin:0 21px;width:calc(100% - 42px);border:0;border-radius:19px;padding:18px;background:linear-gradient(135deg,#0b4f99,#09295e);display:flex;gap:14px;align-items:center;text-align:left;color:#fff;cursor:pointer}.exam-card b{display:block;font-size:15px}.exam-card small{display:block;color:#cce4ff;font-size:12px;margin-top:5px}.exam-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:rgba(255,210,85,.2);color:#ffd255;font-size:23px}.exam-card .arrow{color:#ffd255}.exam-timer{margin-left:auto;font-size:14px;color:#8a5d00;background:#fff0c5;padding:7px 9px;border-radius:9px}.exam-progress{height:7px;background:#e3eaf3;border-radius:8px;overflow:hidden;margin:0 0 18px}.exam-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--gold));transition:.2s}.exam-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:800;margin-bottom:9px}.exam-result{text-align:center;padding:35px 10px}.exam-result .grade{font-size:58px;font-weight:900;color:var(--blue);line-height:1}.exam-result h3{font-size:25px;margin:15px 0 6px}.exam-result p{color:var(--muted)}#examPanel{padding:20px 21px 100px}
.gamebar{height:64px}.game-stats{display:flex;gap:10px;color:#31557c;font-size:13px}.game-stats b{background:#f0f6fc;padding:7px 8px;border-radius:11px}.game-hero{padding:25px 24px 27px;display:grid;grid-template-columns:88px 1fr;column-gap:14px}.game-hero .mascot{grid-row:span 2;width:82px;height:82px;display:grid;place-items:center;font-size:42px;background:#ffd657;border-radius:28px;box-shadow:0 7px 0 #d89b13;transform:rotate(-7deg)}.game-hero h1{font-size:30px;margin-bottom:7px}.game-hero>p:not(.eyebrow){margin-bottom:15px;font-size:13px}.game-hero .progress-line,.game-hero small{grid-column:1/-1}.game-heading{padding:27px 24px 9px}.game-heading h2{font-size:23px}.game-heading p:not(.eyebrow){font-size:13px;color:var(--muted);margin:5px 0}.journey{position:relative;padding:10px 24px 0;gap:18px}.journey:before{content:"";position:absolute;left:50%;top:33px;bottom:30px;border-left:5px dashed #d5e6f7}.journey .lesson{width:72px;height:72px;border:0;border-radius:50%;padding:0;display:grid;place-items:center;position:relative;z-index:1;margin-left:calc(50% - 36px);background:#22a56b;box-shadow:0 7px 0 #117e4d;transition:transform .15s}.journey .lesson:nth-child(2){margin-left:calc(50% + 32px);background:#168bd3;box-shadow:0 7px 0 #09689f}.journey .lesson:nth-child(3){margin-left:calc(50% - 104px);background:#f5b930;box-shadow:0 7px 0 #ce8c08}.journey .lesson:nth-child(4){margin-left:calc(50% + 17px);background:#9262d5;box-shadow:0 7px 0 #6540a3}.journey .lesson:hover{transform:translateY(4px);box-shadow:0 3px 0 #117e4d}.journey .lesson-icon{width:72px;height:72px;border-radius:50%;background:transparent!important;color:#fff;font-size:31px}.journey .lesson span:not(.lesson-icon),.journey .arrow{display:none}.journey .lesson:after{content:attr(data-id);position:absolute;top:78px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#60748d;font-size:10px;font-weight:900;text-transform:uppercase}.exam-section{margin-top:27px}.exam-card{border-bottom:6px solid #063b78}.daily-card{border-bottom:5px solid #d89b13}.word-card{border-bottom:7px solid #062352}.speak,.next-quiz,.word-actions button:last-child{border-bottom:4px solid rgba(0,0,0,.19)}.option{border-bottom:3px solid #d2deec}.option:active,.next-quiz:active,.speak:active{transform:translateY(3px);border-bottom-width:1px}
