*{box-sizing:border-box}body{margin:0;background:#0c111d;color:#eef2ff;font:16px/1.7 system-ui,sans-serif}header,main{max-width:1100px;margin:auto;padding:18px}header{font-size:24px;font-weight:bold}small{color:#4ade80;letter-spacing:1.5px;font-weight:700}aside,section{border:1px solid #2d3d54;border-radius:20px;padding:25px;margin:0 0 18px;background:#141d2c}aside{padding:12px;color:#e9c776;background:#28231a}h1{font-size:clamp(28px,5vw,46px);margin:6px 0}h2{margin:8px 0}p{color:#cbd5e1}button{font:inherit;color:#eaf0ff;background:#223047;border:1px solid #42556f;border-radius:10px;padding:10px 16px;cursor:pointer}button:disabled{opacity:.45;cursor:default}.green{background:#4ade80;color:#082718;font-weight:bold}.languages,.tasks,.actions{display:flex;gap:9px;flex-wrap:wrap}.languages button{flex:1;font-size:24px}.tasks button{flex:1;min-width:120px}.active{border-color:#4ade80}.completed{color:#4ade80}.workspace{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.result{grid-column:1/-1}textarea,pre{font:15px/1.6 monospace;background:#090f19;color:#e1eaff;border:1px solid #30415b;border-radius:10px;padding:14px;width:100%;white-space:pre-wrap;overflow-wrap:anywhere}textarea{resize:vertical;white-space:pre;overflow:auto;tab-size:4}.progress{height:8px;background:#2a3749;border-radius:10px;overflow:hidden;margin:16px 0}.progress:after{content:'';display:block;background:#4ade80;height:100%;width:var(--pct,0%)}.legendary{background:#160e21;border-color:#70459b;text-align:center;color:#dcc1fa}dialog{background:#141d2c;border:1px solid #4ade80;border-radius:22px;padding:35px;color:#eef2ff;text-align:center;width:min(92vw,520px)}dialog::backdrop{background:#080b14df;backdrop-filter:blur(5px)}.medal{font-size:64px;color:#4ade80}.gold{border-color:#eab308;color:#fde68a}#hintText{color:#f6d98a}#log{max-height:340px;overflow:auto} @media(max-width:760px){.workspace{grid-template-columns:1fr}section{padding:16px}.tasks button{min-width:95px}}.progress.p0:after{width:0%}.progress.p1:after{width:20%}.progress.p2:after{width:40%}.progress.p3:after{width:60%}.progress.p4:after{width:80%}.progress.p5:after{width:100%}
.language-link{flex:1;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#eaf0ff;background:#223047;border:1px solid #42556f;border-radius:10px;padding:10px 16px;font-size:24px} .languages bdi{direction:ltr} .language-link:hover{border-color:#4ade80}
