*{box-sizing:border-box}body{margin:0;background:#f4f7ff;color:#17254d;font-family:system-ui,-apple-system,Segoe UI,sans-serif}header{display:flex;justify-content:space-between;align-items:center;padding:15px max(16px,calc((100% - 960px)/2));background:#192c67;color:white}.brand{font-weight:900;letter-spacing:.05em}.brand small{display:block;font-size:11px;font-weight:500;color:#c9d8ff}main{max-width:960px;margin:auto;padding:18px}.intro{text-align:center;padding:25px 0}.intro h1{font-size:clamp(28px,6vw,46px);margin:12px 0}.intro p{color:#5a6684}.pill{font-size:12px;background:#dce8ff;color:#214ca5;padding:8px 12px;border-radius:50px;font-weight:800}.panel{background:white;border-radius:22px;box-shadow:0 10px 35px #1a3c8412;padding:24px;margin-bottom:20px}.top{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.top label{font-weight:800}select,button,input{font:inherit}select{padding:12px;border-radius:12px;border:2px solid #d6def0;max-width:100%}button{border:0;background:#e7edff;color:#203a83;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;min-height:44px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e99e00;outline-offset:2px}button:hover{filter:brightness(.96)}.levels,.actions,#choices{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.levels button{flex:1;min-width:125px}.levels .active{background:#314dc3;color:white}#progress{color:#566585;font-weight:700;margin-top:20px}#question{font-size:clamp(22px,4vw,32px);margin:15px 0 8px}#hint{color:#536181;min-height:24px}#stage{min-height:120px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;background:#f6f9ff;border:2px dashed #dce5f8;border-radius:16px;padding:16px;font-size:32px}.tile{background:#fff;border:2px solid #b5c7f4;border-radius:12px;padding:12px 16px;min-width:56px;text-align:center;font-weight:900}.symbol{font-size:36px}.answer{background:#fff1cc;border:2px solid #f5c966;font-size:22px;min-width:75px}.answer:disabled{opacity:.65}.actions #next{background:#314dc3;color:white}#feedback{font-weight:800;min-height:28px}.note{font-size:14px;line-height:1.65}.note h2{font-size:20px}footer{text-align:center;padding:30px;color:#66718b;font-size:13px}input[type=number]{width:145px;padding:12px;font-size:23px;border-radius:12px;border:2px solid #aabbea}@media(max-width:560px){.panel{padding:16px}.levels button{min-width:calc(50% - 5px)}.actions button{flex:1}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}