:root{font-family:Inter,system-ui,Arial,sans-serif;color:#18202a;background:#f4f6f8}
*{box-sizing:border-box}
body{margin:0}
button,a{font:inherit}
.topbar{min-height:64px;background:#fff;border-bottom:1px solid #e6e9ed;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;position:sticky;top:0;z-index:2}
.tag{margin-left:10px;font-size:12px;background:#edf2f7;padding:5px 9px;border-radius:999px}
.stats{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.navlink{color:#18202a;text-decoration:none;font-weight:800}
main{max-width:1000px;margin:auto;padding:28px 20px 60px}
.hero{background:#fff;border-radius:20px;padding:28px;box-shadow:0 8px 24px rgba(0,0,0,.05)}
.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:800;color:#667085}
.hero h1{margin:.2em 0}
.progress{height:10px;background:#edf0f3;border-radius:999px;overflow:hidden;margin-top:20px}
.progress div{height:100%;background:#111827;width:0;transition:.25s}
.worlds{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}
.world,.actions button,.footer-actions button{border:0;border-radius:14px;padding:14px 16px;background:#fff;cursor:pointer;font-weight:700}
.world.active,.actions button,#completeBtn{background:#111827;color:white}
.lesson-card{display:grid;grid-template-columns:280px 1fr;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.06)}
.visual{min-height:360px;display:grid;place-items:center;font-size:120px;background:linear-gradient(145deg,#f9fafb,#eef2f6)}
.lesson-body{padding:34px}
.pill{display:inline-block;background:#eef2ff;padding:7px 11px;border-radius:999px;font-size:13px;font-weight:800}
.sound-row{display:flex;gap:18px;align-items:center;margin-top:20px;font-size:30px;font-weight:800}
.sound-row #sound{color:#667085}
.lesson-body h2{font-size:52px;margin:10px 0 0}
.meaning{font-size:20px;color:#667085}
.mouth{min-height:24px}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.feedback{margin-top:18px;padding:16px;border-radius:14px;background:#f7f8fa;min-height:54px}
.sentence-card,.placement-card{margin-top:18px;background:#fff;border-radius:20px;padding:24px}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chips button{border:1px solid #d9dee5;background:white;padding:12px 16px;border-radius:12px;cursor:pointer;font-size:17px}
.answer{margin-top:18px;padding:16px;border-radius:12px;background:#f7f8fa;font-weight:700;min-height:54px}
.answer.good{background:#ecfdf3}
.footer-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px}
.secondary{background:#e8ebef!important;color:#18202a!important}
.placement-meta{display:flex;justify-content:space-between;color:#667085;font-weight:800}
.placement-options{display:grid;gap:10px;margin-top:18px}
.placement-options button{border:1px solid #d9dee5;background:#fff;padding:14px 16px;border-radius:12px;text-align:left;cursor:pointer;font-size:17px}
.placement-options button:hover{background:#f7f8fa}
.path-grid,.mission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.path-card{background:#fff;border-radius:18px;padding:22px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.path-card h2{font-size:30px;margin:.2em 0}
.route-levels{display:flex;gap:8px;flex-wrap:wrap}
.route-node{padding:10px 14px;border-radius:999px;font-weight:800;background:#eef1f4}
.route-node.done{opacity:.45;text-decoration:line-through}
.route-node.current{background:#111827;color:#fff}
.route-node.future{border:1px solid #d9dee5;background:#fff}
.review-item{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #eceff2;align-items:center}
.review-item:last-child{border-bottom:0}
textarea{font:14px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;border:1px solid #d9dee5;border-radius:12px;padding:12px;background:#fbfcfd;color:#18202a}
@media(max-width:720px){
 .topbar{padding:10px 14px;align-items:flex-start}
 .stats{gap:8px}
 .navlink{font-size:13px}
 .tag{display:none}
 .worlds{grid-template-columns:repeat(2,1fr)}
 .lesson-card{grid-template-columns:1fr}
 .visual{min-height:200px;font-size:90px}
 .lesson-body h2{font-size:42px}
 .path-grid,.mission-grid{grid-template-columns:1fr}
 .footer-actions{flex-wrap:wrap}
}