.tqg-quiz{max-width:740px;margin:1.6rem auto;padding:clamp(1rem,3vw,2rem);border:1px solid #dcd9f7;border-radius:20px;background:#f5f5ff;color:#19263d;box-shadow:0 10px 30px #19263d0a}
.tqg-quiz #tqg-progress{font-size:.9rem;font-weight:700;color:#372697}
.tqg-quiz .tqg-question{border:0;margin:1.5rem 0 1rem;padding:0;min-width:0}
.tqg-quiz legend{font-size:clamp(1.15rem,2.5vw,1.5rem);font-weight:750;line-height:1.35;margin-bottom:1rem}
.tqg-options{display:grid;gap:.7rem}
.tqg-option,.tqg-button{font:inherit;border-radius:12px;min-height:48px;padding:.8rem 1rem;cursor:pointer}
.tqg-option{background:#fff;color:#19263d;border:2px solid #ccc6ed;text-align:left}
.tqg-option:not(:disabled):hover{border-color:#5746c8;background:#f0edff}
.tqg-option:disabled{opacity:1;cursor:default}
.tqg-option.tqg-correct{background:#dcf5e6;border-color:#25734a;color:#16452c}
.tqg-option.tqg-incorrect{background:#ffebe7;border-color:#af3c30;color:#77261e}
.tqg-button{border:2px solid #5746c8;background:#5746c8;color:#fff;font-weight:700}
.tqg-button:hover{background:#372697}
.tqg-quiz button:focus-visible{outline:3px solid #19263d;outline-offset:3px}
.tqg-feedback{line-height:1.5;font-weight:600}
.tqg-feedback:empty{display:none}
.tqg-result{font-size:1.35rem;font-weight:800}
@media(max-width:420px){.tqg-quiz{margin:1rem -0.5rem}.tqg-option,.tqg-button{width:100%}}
