@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root .header-reset{background:#fff1e7;color:#a9785f;border:1px solid #f1ded0;border-radius:12px;padding:10px 15px;font-size:12px;font-weight:900}.header-reset:hover{background:#fae6d8}.leaderboard{margin-top:20px;padding:24px 30px;background:#fffdf9;border:1px solid #f0e1d5;border-radius:25px;box-shadow:0 12px 35px #b78c6c14}.leaderboard-head{display:flex;align-items:center;justify-content:space-between}.leaderboard h2{margin:6px 0;font-size:23px}.leaderboard-icon{font-size:32px}.leaders{list-style:none;counter-reset:rank;margin:15px 0 0;padding:0}.leaders li{counter-increment:rank;display:flex;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid #f5eae1;color:#806257;font-weight:800}.leaders li:before{content:counter(rank);display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#fbece1;color:#bd8060;font-size:12px}.leaders li strong{margin-left:auto;color:#c98465;white-space:nowrap}.leaders li span{overflow-wrap:anywhere}.record-form{display:grid;gap:10px;max-width:280px;margin:15px auto}.record-form label{font-size:12px;font-weight:800;color:#a18c80;text-align:left}.record-form input{width:100%;border:2px solid #f0ddcf;border-radius:14px;background:#fffbf7;padding:12px;font:700 16px Nunito,system-ui;color:#604940}.record-form .feedback{margin:0}.leaderboard [hidden]{display:none}
:root{font-family:Nunito,system-ui,sans-serif;color:#543d37;background:#fff8ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 12% 22%,#ffeddd 0,transparent 30%),radial-gradient(circle at 90% 70%,#fae9d9 0,transparent 32%),#fff8ef;min-height:100vh}.app{max-width:1160px;margin:auto;padding:0 32px}.header{height:82px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #efdfd2}.brand{color:#61453d;font-weight:900;text-decoration:none;font-size:17px}.brand-icon{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#f9ddca;margin-right:8px}.header-note{font-size:13px;color:#a99283;font-weight:700}.game{max-width:1010px;margin:auto}.intro{text-align:center;padding:44px 0 31px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:900;color:#cc8e6c}h1{font-size:clamp(31px,4vw,47px);line-height:1.13;letter-spacing:-1.5px;margin:15px 0}h1 em{font-style:normal;color:#d88966}.intro p{color:#9b8579;max-width:510px;margin:0 auto;line-height:1.6;font-size:15px}.layout{display:grid;grid-template-columns:0.9fr 1.1fr;gap:20px}.cat-card,.play-card{background:#fffdf9;border:1px solid #f0e1d5;border-radius:25px;box-shadow:0 12px 35px #b78c6c14}.cat-card{padding:24px}.cat-top{display:flex;justify-content:space-between;align-items:center}.pill,.tag{display:inline-block;background:#fbece1;color:#bd8060;border-radius:20px;padding:7px 11px;font-size:10px;font-weight:900;letter-spacing:1px}.sparkle{color:#e5ad88;font-size:23px}.cat-image{height:200px;display:flex;align-items:center;justify-content:center;overflow:hidden}.cat-image img{width:100%;height:100%;object-fit:contain;border-radius:18px}.speech{position:relative;background:#fff5ec;border-radius:16px;padding:15px;text-align:center;color:#806257;font-weight:800;font-size:14px;line-height:1.5}.goal{margin-top:24px}.goal-heading,.goal-bottom{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:800}.goal-heading strong{color:#ba805e}.progress{height:10px;background:#f5e9df;border-radius:10px;overflow:hidden;margin:11px 0 5px}.progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#efb18a,#dc8d6f);border-radius:10px;transition:width .5s}.goal-bottom{color:#baa99d;font-size:11px}.goal-bottom span:last-child{font-size:20px}.play-card{padding:31px;display:flex;align-items:center;justify-content:center;min-height:440px;text-align:center}.play-card #screen{width:100%}.play-card h2{font-size:25px;letter-spacing:-.5px;margin:14px 0 10px}.muted{color:#a18c80;font-size:14px;line-height:1.6}.start-icon{font-size:49px;display:block;margin:10px}.rules{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px 0}.rule{background:#fff7ef;color:#a47e69;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:800}button{font:inherit;cursor:pointer;border:0}button:focus-visible,input:focus-visible{outline:3px solid #e5a07c;outline-offset:3px}.primary{background:#d98e6d;color:white;border-radius:14px;padding:15px 28px;font-weight:900;box-shadow:0 5px 0 #c87e60;transition:transform .15s}.primary:hover{transform:translateY(-2px)}.secondary{background:#f9eee5;color:#a9785f;border-radius:13px;padding:12px 18px;font-weight:800}.link{background:none;color:#be876c;text-decoration:underline;font-weight:800;padding:10px}.question-top{display:flex;justify-content:space-between;align-items:center;color:#aa9181;font-size:12px;font-weight:900}.timer{color:#c98261;background:#fff1e6;padding:8px 12px;border-radius:11px}.timer-track{height:5px;background:#f7ece4;border-radius:5px;margin:16px 0 24px;overflow:hidden}.timer-track span{display:block;height:100%;background:#e6aa84;transition:width .15s linear}.problem{font-size:clamp(42px,6vw,61px);font-weight:900;letter-spacing:2px;color:#604940;margin:10px 0 18px}.answer-row{display:flex;gap:10px;justify-content:center}.answer-row input{width:125px;border:2px solid #f0ddcf;border-radius:14px;text-align:center;font:900 28px Nunito,system-ui;color:#604940;background:#fffbf7;padding:10px}.answer-row .primary{padding:12px 20px}.feedback{min-height:26px;color:#bc8268;font-size:13px;font-weight:800;margin:14px 0 0}.hint-text{background:#fff5e9;border-radius:16px;padding:17px;color:#806257;line-height:1.6;margin:20px 0}.fact{font-size:32px;font-weight:900;color:#d58b6b}.actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:20px}.result-icon{font-size:48px}footer{text-align:center;padding:28px;color:#bda99a;font-size:12px;font-weight:700}footer span{color:#dd9a80}@media(max-width:700px){.app{padding:0 16px}.header{height:65px}.header-note{display:none}.intro{padding:32px 0 24px}.layout{grid-template-columns:1fr}.cat-card{padding:18px}.cat-image{height:165px}.play-card{min-height:380px;padding:24px}.goal{margin-top:17px}footer{padding:24px}}
