*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f5f8ff;color:#18233a;line-height:1.55}.topbar{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid #dce4f3;box-shadow:0 3px 12px #18335b12}.nav{max-width:1180px;margin:auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:#17233d;font-weight:900}.logo{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#17233d;color:#fff;font-size:13px;box-shadow:0 5px 12px #17233d25}.menu{font-weight:800;font-size:14px}.menu a{color:#2555b5;text-decoration:none}.hero{max-width:1180px;margin:18px auto 0;padding:32px 18px 28px;text-align:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#eaf2ff,#fff6e7);border-radius:24px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1.4px;color:#4764a1}.hero h1{font-size:clamp(28px,5vw,48px);line-height:1.08;margin:8px auto 14px;max-width:900px}.lead{max-width:820px;margin:auto;font-size:17px}.hero-art{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.hero-art span{background:#fff;border:2px solid #d9e4fb;border-radius:16px;padding:8px 14px;font-weight:900;box-shadow:0 8px 18px #19335d12;animation:float 3s ease-in-out infinite}@keyframes float{50%{transform:translateY(-6px) rotate(-2deg)}}.chips{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}.chips span{background:#fff;padding:7px 11px;border-radius:999px;border:1px solid #dbe4f3;font-size:12px;font-weight:800}.panel{max-width:1180px;margin:16px auto;padding:20px;background:#fff;border:1px solid #dce5f4;border-radius:20px;box-shadow:0 8px 24px #18335b0c}.controls h2{margin-top:0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.grid label{font-size:13px;font-weight:800}.grid select,.answer{width:100%;margin-top:5px;padding:11px;border:2px solid #d9e2f1;border-radius:12px;background:#fff;font:inherit}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.actions button,.check,.show{border:0;border-radius:12px;padding:11px 14px;font-weight:900;cursor:pointer;background:#eaf0fb;color:#17233d}.actions .primary{background:#173b7a;color:white}.actions button:hover,.check:hover,.show:hover{transform:translateY(-1px)}.locked{margin-top:12px;padding:12px;border-radius:12px;background:#fff4d9;border:1px solid #f1d68c}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center}.stats div{background:#f6f9ff;border-radius:15px;padding:12px}.stats b{display:block;font-size:20px}.stats small{color:#66738d}.progressWrap{max-width:1180px;margin:12px auto;height:12px;background:#dfe7f4;border-radius:999px;overflow:hidden}.progressWrap div{height:100%;width:0;background:#4f75c8;transition:width .3s}.questions{max-width:1180px;margin:auto}.qcard{background:#fff;border:2px solid #e0e7f3;border-radius:18px;margin:14px 0;padding:17px;box-shadow:0 8px 20px #18335b09}.qcard.correct{border-color:#41aa6a;background:#f2fff6;animation:correct .45s ease}.qcard.wrong{border-color:#d84b55;background:#fff3f4;animation:wrong .4s ease}@keyframes correct{50%{transform:scale(1.012)}}@keyframes wrong{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.qhead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.qnum{font-weight:950}.badge{font-size:11px;padding:4px 8px;border-radius:999px;background:#edf2ff;color:#385aa5;font-weight:900}.qtext{font-size:17px;font-weight:750;margin:10px 0}.parts{padding:10px 12px;background:#f7f9fd;border-radius:12px;margin:8px 0}.choices{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:10px 0}.choice{padding:12px;text-align:left;border:2px solid #d9e2f1;background:#fff;border-radius:12px;cursor:pointer;font-weight:750}.choice.selected{border-color:#315fb7;background:#eef4ff}.choice.correctChoice{border-color:#36a45f;background:#e9fff0}.choice.wrongChoice{border-color:#d94d56;background:#fff0f1}.feedback{margin-top:10px;font-weight:900;padding:9px;border-radius:10px}.feedback.ok{color:#19743b;background:#dcf8e5}.feedback.bad{color:#a92b35;background:#ffe0e3}.hidden{display:none!important}.result{background:#eaf7ff;text-align:center}.result h2{margin-top:0}.guide h2{font-size:28px}.guide h3{margin-bottom:4px}.formula{padding:13px 15px;margin:10px 0;border-left:5px solid #315fb7;background:#edf4ff;border-radius:10px;font-size:17px}footer{text-align:center;padding:28px 12px;color:#66738d}@media(max-width:760px){.nav{padding:8px 12px}.menu{font-size:12px}.hero{border-radius:0;margin-top:0}.grid{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.panel{border-radius:15px;margin:10px 8px;padding:15px}.questions{padding:0 8px}.qtext{font-size:16px}.choices{grid-template-columns:1fr}.actions button{flex:1 1 45%}}@media(max-width:430px){.grid{grid-template-columns:1fr}.brand span:last-child{font-size:14px}.hero h1{font-size:29px}.lead{font-size:15px}.actions button{flex:1 1 100%}}@media print{.topbar,.controls,.stats,.progressWrap,.result,.guide,.actions,.locked,footer{display:none!important}.hero{box-shadow:none;margin:0}.qcard{break-inside:avoid;box-shadow:none}}