:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:#27233e;background:#f6f4ff;font-size:16px;--purple:#5945b7;--muted:#68627e;--text:#27233e;--line:#e2def1}
html{scroll-behavior:smooth;overflow-y:scroll}
*{box-sizing:border-box;line-height:1}
*::-webkit-scrollbar{width:3px;height:3px;background:transparent}
*::-webkit-scrollbar-track,*::-webkit-scrollbar-track-piece,*::-webkit-scrollbar-corner{background:transparent}
*::-webkit-scrollbar-thumb{background:var(--muted);border-radius:0}
*::-webkit-scrollbar-thumb:hover{background:var(--text)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;min-height:100vh}button,select{font:inherit}button{cursor:pointer;border:0;font-weight:750;border-radius:16px;min-height:52px;padding:12px 20px;line-height:1.25}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c77e18;outline-offset:4px}button:disabled{cursor:default;opacity:.75}[hidden]{display:none!important}.top,main,footer{max-width:860px;margin:auto;padding:24px}.top{display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:inherit;display:flex;align-items:center;gap:12px;font-size:24px;font-weight:900}.logo{display:grid;place-items:center;width:48px;height:48px;color:white;background:var(--purple);border-radius:16px;font-size:32px}.brand small{display:block;font-size:12px;font-weight:500;color:var(--muted);line-height:1.5}main{padding-top:8px;min-height:68vh}h1,h2,p{margin:0 0 12px}h1{font-size:clamp(28px,5vw,44px);line-height:1.13}h2{font-size:24px;line-height:1.2}p{line-height:1.55}.hero{background:#5945b7;color:white;border-radius:28px;padding:clamp(24px,5vw,44px);position:relative;overflow:hidden}.hero p{color:#f0edff}.hero .primary{background:#fff;color:#49369e}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:800;text-transform:uppercase}.panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;margin:16px 0}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.primary{background:var(--purple);color:#fff}.ghost{background:#eae5fc;color:#47349b}.danger{background:#fce9e9;color:#8f2929}.age-grid,.stats,.options{display:grid;gap:12px}.age-grid{grid-template-columns:repeat(6,1fr)}.age-grid button,.options button{background:#f8f6ff;border:2px solid #e5e0f7;color:#352b60}.age-grid button.active{border-color:var(--purple);background:#e8e0ff}.stats{grid-template-columns:repeat(3,1fr);margin:16px 0}.stat{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;text-align:center}.stat strong{font-size:30px;display:block;color:var(--purple);margin-bottom:6px}.muted,footer{color:var(--muted);font-size:14px;line-height:1.4}.options{grid-template-columns:repeat(2,1fr);margin:24px 0}.options button{font-size:22px;min-height:76px;overflow-wrap:anywhere}.options button.correct{background:#ddf4e8;border-color:#2a865d;color:#16553a}.options button.incorrect{background:#ffe7e2;border-color:#ce6e60;color:#8d3329}.question{text-align:center;padding:clamp(20px,4vw,38px)}.question h1{font-size:clamp(25px,4vw,35px);margin:24px 0}.visual{font-size:clamp(26px,5vw,48px);color:var(--purple);line-height:1.5;overflow-wrap:anywhere;padding:16px;background:#f5f2ff;border-radius:18px}.track{height:10px;border-radius:20px;background:#e9e5f6;overflow:hidden;margin:14px 0}.track span{display:block;height:100%;background:#6a56ce;border-radius:20px}.feedback{padding:18px;border-radius:16px;background:#f2effc;text-align:left}.feedback p:last-child{margin:0}.full{width:100%}.category{display:inline-block;border-radius:99px;background:#ede8fd;color:#5141a3;padding:6px 12px;font-size:13px;font-weight:700}.history{width:100%;border-collapse:collapse;text-align:left}.history th,.history td{padding:10px 4px;border-bottom:1px solid var(--line);font-size:14px}.skill{margin:12px 0}.skill .track{margin:5px 0;height:8px}footer{text-align:center;padding-bottom:28px}@media(max-width:540px){.top,main,footer{padding:16px}.age-grid{grid-template-columns:repeat(3,1fr)}.stats{gap:8px}.stat{padding:12px 5px}.stat strong{font-size:24px}.panel{padding:18px}.options button{font-size:19px}.brand{font-size:21px}.brand small{font-size:10px}}
