#view{padding:1rem 0 3rem}
.q-head{text-align:center;padding:1.5rem 0 1rem}
.q-head h1{font-size:clamp(2.6rem,10vw,5rem);line-height:1}
.q-head p{color:var(--muted);margin-top:.5rem}
.qcard{cursor:pointer;text-align:left;font:inherit;color:inherit}
.qcard .meta{display:block;margin-top:.6rem;font-size:.85rem;color:var(--muted)}
.qcard .best{color:var(--lime);font-weight:800}
.empty{text-align:center;color:var(--muted);padding:2rem;border:2px dashed var(--border);border-radius:20px}
.play{max-width:620px;margin:0 auto}
.prog{display:flex;gap:6px;margin:.5rem 0 1rem}
.prog i{flex:1;height:8px;border-radius:99px;background:var(--border);transition:background .2s}
.prog i.done{background:var(--lime)}.prog i.miss{background:#ff3d5a}.prog i.now{background:var(--cyan)}
.stats{display:flex;justify-content:space-between;font-weight:800;margin-bottom:.6rem}
.stats b{color:var(--lime)}
.streak{color:var(--orange)}
.timer{height:10px;border-radius:99px;background:var(--border);overflow:hidden;margin-bottom:1.2rem}
.timer i{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--pink),var(--orange),var(--lime));transform-origin:left;}
.qtext{font-size:clamp(1.4rem,5vw,2rem);font-weight:900;line-height:1.2;margin-bottom:1.2rem;animation:pop .35s}
@keyframes pop{from{transform:translateY(10px) scale(.97);opacity:0}}
.opts{display:grid;gap:.7rem}
.opt{display:flex;align-items:center;gap:.8rem;text-align:left;font:inherit;font-weight:700;font-size:1.05rem;color:var(--fg);padding:1rem 1.1rem;border-radius:18px;border:2px solid var(--border);background:var(--card);cursor:pointer;transition:transform .1s,border-color .15s,background .15s;animation:pop .35s backwards}
.opt:nth-child(2){animation-delay:.05s}.opt:nth-child(3){animation-delay:.1s}.opt:nth-child(4){animation-delay:.15s}
.opt kbd{flex:none;width:2rem;height:2rem;border-radius:10px;display:grid;place-items:center;background:var(--border);font-weight:800;font-size:.9rem}
.opt:hover:not(:disabled){transform:translateY(-2px);border-color:var(--pink)}
.opt:disabled{cursor:default}
.opt.right{background:rgba(198,255,61,.22);border-color:var(--lime)}
.opt.wrong{background:rgba(255,61,90,.2);border-color:#ff3d5a;animation:shake .4s}
.opt.dim{opacity:.45}
.explain{margin-top:1rem;padding:1rem;border-radius:16px;background:var(--card);border:1px solid var(--border);animation:pop .3s}
.next{margin-top:1rem;display:flex;justify-content:flex-end}
.result{text-align:center;padding:2rem 0}
.result .big{font-size:5rem;animation:pop .5s}
.result h2{font-size:clamp(2rem,8vw,3.4rem);margin:.5rem 0}
.score{font-size:3rem;font-weight:900}
.chips{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;margin:1rem 0}
.chip{padding:.4rem .9rem;border-radius:99px;background:var(--card);border:1px solid var(--border);font-weight:700}
.back{background:none;border:0;color:var(--muted);cursor:pointer;font:inherit;margin-bottom:.5rem}
.flash-bad{animation:shake .4s}
