:root{color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#f5f6f6;color:#16252c;font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.page{max-width:830px;margin:0 auto;padding:24px 16px 42px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:9px 2px 24px}.logo{font-weight:750;letter-spacing:-.035em;font-size:1.12rem}.mark{color:#299884}.tag{font-size:.8rem;color:#6c7980;background:#fff;border:1px solid #e4e9eb;padding:7px 11px;border-radius:99px}
.card{background:white;border:1px solid #e3e9ea;border-radius:22px;padding:clamp(20px,5vw,42px);box-shadow:0 15px 50px rgba(16,43,50,.045);min-height:400px}
.hidden{display:none!important}.progressbar{height:7px;border-radius:99px;background:#e9eff0;overflow:hidden;margin-bottom:15px}.progressbar>div{width:0;height:100%;background:#218b80;transition:width .25s ease}
.meta{display:flex;justify-content:space-between;gap:10px;color:#667980;font-size:.84rem;margin-bottom:30px}.meta span:last-child{color:#138579;font-weight:600}
h1{font-size:clamp(1.4rem,4vw,2.05rem);font-weight:720;line-height:1.3;letter-spacing:-.027em;margin:0 0 17px}.translation{font-size:clamp(.98rem,2.2vw,1.1rem);color:#818b91;line-height:1.6;margin:0 0 34px}
.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.answer{border-radius:13px;border:1px solid #bcd8d3;background:#eaf8f4;padding:20px 12px;color:#136f61;font-size:1.35rem;font-weight:750;min-height:72px;cursor:pointer;transition:transform .08s ease,background .15s ease}
.answer:last-child{background:#f4f6f8;border-color:#d6dfe2;color:#455760}.answer:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.98)}.answer:disabled{cursor:default;opacity:.76}.answer.selected.correct{background:#d9f5e9;border-color:#60bd90;color:#126c4c}.answer.selected.wrong{background:#fde9e7;border-color:#e7aaa6;color:#a83830}
.feedback{margin-top:23px;border:1px solid #f1c5b9;background:#fff7f4;border-radius:14px;padding:18px 20px}.feedback.right{background:#effbf5;border-color:#bbdfc9}.feedback strong{font-size:1.08rem}.feedback p{font-size:.96rem;line-height:1.57;margin:10px 0 0}.feedback p:last-child{color:#68747a}
.next{margin-top:18px;width:100%;border:0;border-radius:13px;min-height:52px;background:#217d70;color:white;font-size:1.03rem;font-weight:700;cursor:pointer}.next:hover:not(:disabled){background:#146658}
.spinner{border:3px solid #e4eeec;border-top-color:#238579;width:34px;height:34px;border-radius:50%;animation:spin 1s linear infinite;margin:52px auto 14px}#loading{text-align:center;color:#72818a;font-size:.92rem}@keyframes spin{to{transform:rotate(360deg)}}
#complete{text-align:center}.complete-symbol{height:68px;width:68px;border-radius:50%;background:#dbf4e7;color:#16794a;font-size:36px;line-height:68px;margin:10px auto 20px}.summary{margin:15px auto;text-align:left;max-width:430px;background:#f6f9f9;border-radius:12px;padding:10px 20px}.summary p{color:#41565e;line-height:1.5}
footer{margin:22px 5px;color:#9aa5aa;font-size:.78rem;display:flex;justify-content:space-between;gap:10px}button:focus-visible{outline:3px solid #4b91d7;outline-offset:3px}
@media(max-width:460px){.page{padding:14px 10px 28px}.topbar{margin-bottom:16px}.card{min-height:390px;padding:24px 19px}.options{gap:10px}.answer{min-height:68px}.meta{margin-bottom:25px}footer{flex-direction:column;align-items:center}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}*,*:before,*:after{transition:none!important}}
