:root{color-scheme:dark;font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f7ff;background:#080b14;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 0%,#17365370,transparent 52%),radial-gradient(ellipse at 0% 65%,#31234c50,transparent 65%);min-height:100dvh}main{max-width:650px;margin:auto;padding:22px 20px calc(30px + env(safe-area-inset-bottom))}header{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#a9b8cc;gap:12px}.home{font-size:18px;font-weight:750;text-decoration:none;color:inherit}h1{font-size:clamp(32px,7vw,48px);line-height:1.06;letter-spacing:-.045em;margin:32px 0 12px;font-weight:760}.intro{color:#a9b8cc;margin:0 0 22px;font-size:16px}nav{display:flex;padding:4px;background:#ffffff09;border:1px solid #ffffff18;border-radius:18px;gap:4px}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;min-height:48px;border:1px solid #ffffff23;border-radius:13px;background:#ffffff09;padding:13px 16px;text-align:left;font-size:16px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8bc9ff;outline-offset:4px}button:disabled{cursor:default;opacity:1}nav button{flex:1;font-size:14px;text-align:center;border-color:transparent;min-height:44px;padding:10px 5px}nav button[aria-pressed=true]{background:#d9eaff;color:#101b2b;font-weight:750;box-shadow:0 2px 8px #0005}.status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 0;color:#b1bfd0;font-size:14px}.quiet{border:0;background:none;font-size:14px;padding:8px;min-height:44px}progress{width:100%;height:5px;appearance:none;border:none;display:block;margin:0 0 20px;border-radius:8px;background:#ffffff15}progress::-webkit-progress-bar{background:#ffffff15;border-radius:8px}progress::-webkit-progress-value{background:#a5cfff;border-radius:8px}progress::-moz-progress-bar{background:#a5cfff}.glass{padding:24px;background:linear-gradient(125deg,#ffffff13,#ffffff05);border:1px solid #ffffff28;border-radius:25px;box-shadow:inset 0 1px 0 #ffffff17,0 16px 40px #0002;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}h2{font-size:23px;line-height:1.3;letter-spacing:-.025em;margin:0 0 23px;font-weight:680}h2:focus{outline:none}.topic{color:#a5cfff;font-size:14px;margin:0 0 12px}#answers{display:grid;gap:10px}#answers button{width:100%;line-height:1.4;min-height:55px;padding:15px}#answers button.correct{border-color:#70e2ad;background:#183c31;color:#c9ffe5}#answers button.wrong{border-color:#ff9ca5;background:#481e2a;color:#ffdae0}#feedback{line-height:1.55;margin-top:20px;padding:16px;border-radius:14px;font-size:15px}#feedback.good{background:#14392d;color:#c9ffe5}#feedback.bad{background:#401f2a;color:#ffdae0}#feedback strong{display:block;margin-bottom:6px}.primary{width:100%;text-align:center;background:#d9eaff;color:#101b2b;font-weight:750;border:0;margin-top:20px;min-height:52px}.secondary{width:100%;text-align:center;margin-top:12px}.small,footer{font-size:13px;line-height:1.6;color:#a9b8cc;margin:20px 0}.score{font-size:54px;letter-spacing:-.05em;margin:10px 0;color:#a5cfff}#cram{margin-top:20px;line-height:1.6}#cram h2{margin-bottom:14px}h3{font-size:19px;margin-top:28px}dl{margin:0}dt{font-weight:730;color:#e2eeff;margin-top:18px}dd{margin:4px 0 0;color:#b9c7da}.reports{display:grid;grid-template-columns:auto 1fr;gap:12px 16px}.reports dt,.reports dd{margin:0}.formula{padding:16px;background:#0003;border-radius:12px;font-size:16px;overflow-wrap:anywhere}summary{cursor:pointer;padding:12px 0;min-height:44px}details p{margin:8px 0 16px}a{color:#b8daff}footer{border-top:1px solid #ffffff18;padding-top:8px}[hidden]{display:none!important}@media(max-width:360px){main{padding:18px 14px 30px}.glass{padding:19px}h2{font-size:21px}header{font-size:12px}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,border-color .12s}}
