@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--ink:#17233b;--muted:#718096;--blue:#4f67e8;--line:#e7eaf3}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;padding:36px 18px;background:radial-gradient(circle at 12% 8%,#e9edff,transparent 28rem),#f5f7fc;color:var(--ink);font-family:'DM Sans',sans-serif}.shell{width:min(900px,100%);margin:auto}.top{display:flex;align-items:center;gap:17px;margin-bottom:27px}.logo{display:grid;place-items:center;flex:0 0 58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#667cf1,#4056d7);color:white;font:700 31px 'Space Grotesk';box-shadow:0 10px 24px #4f67e833}.heading{flex:1;min-width:0}.eyebrow{margin:0 0 7px;color:var(--blue);font-size:10px;font-weight:700;letter-spacing:.16em}h1,h2,h3,p{margin-top:0}h1{margin-bottom:5px;font:700 clamp(22px,3.5vw,31px)/1.15 'Space Grotesk';letter-spacing:-.04em}.sub{margin:0;color:var(--muted);font-size:13px}.status{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.hearts{white-space:nowrap;color:#e64d68;font-size:25px;letter-spacing:4px}.hints{display:flex;gap:7px}.hint{border:1px solid #e1e5f4;border-radius:10px;padding:7px 10px;background:white;color:#4b5b8d;font-size:11px;font-weight:700;cursor:pointer}.hint:disabled{opacity:.4;cursor:not-allowed}.card{overflow:hidden;background:white;border:1px solid #dfe4f2;border-radius:24px;box-shadow:0 22px 65px #27376314}.meta{display:flex;justify-content:space-between;padding:23px 30px 14px;color:var(--muted);font-size:12px;font-weight:700}.meta strong{color:var(--ink);font-size:14px}.urgent{color:#c83f51!important;animation:pulse .7s infinite alternate}.track{height:5px;background:#eef0fa}.track div{height:100%;width:0;background:linear-gradient(90deg,#687df2,#72cfc0);transition:width .25s}.center{text-align:center;padding:44px 28px 52px}.math-art{color:#677af0;font:700 clamp(30px,6vw,52px) 'Space Grotesk';letter-spacing:.12em;margin-bottom:23px}.center h2{font:700 clamp(23px,4vw,31px) 'Space Grotesk';letter-spacing:-.035em}.center p{max-width:520px;margin:0 auto 24px;color:var(--muted);line-height:1.7;font-size:14px}.primary{border:0;border-radius:12px;padding:13px 19px;color:white;background:var(--blue);font-weight:700;cursor:pointer;box-shadow:0 8px 18px #4f67e82e}.primary:hover:not(:disabled){background:#3448c5}.primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}#game{padding:30px}#question{margin:0 0 23px;font:700 clamp(21px,3.2vw,28px)/1.35 'Space Grotesk'}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{display:flex;align-items:center;gap:12px;min-height:62px;padding:13px 15px;border:1.5px solid var(--line);border-radius:13px;background:white;color:var(--ink);text-align:left;cursor:pointer;position:relative}.choice:hover:not(:disabled){border-color:#aab5fa;background:#fafaff}.letter{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:9px;background:#f1f3f8;color:#66708b;font-weight:700;font-size:12px}.choice.selected{border-color:var(--blue);background:#f1f3ff}.choice.selected .letter{background:var(--blue);color:white}.choice.correct{border-color:#59bb92;background:#e8f8f0}.choice.correct .letter{background:#15835b;color:white}.choice.wrong{border-color:#ef9aa5;background:#fff0f1}.choice.wrong .letter{background:#c83f51;color:white}.choice:disabled{cursor:default}.choice.cracked{color:#a1a8b8;background:#f6f7fa;border-style:dashed;border-color:#cbd0dc;overflow:hidden}.choice.cracked:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(128deg,transparent 47%,#949cb1aa 48%,transparent 49%),linear-gradient(65deg,transparent 57%,#949cb188 58%,transparent 59%)}.choice.cracked .text{text-decoration:line-through;opacity:.65}.feedback{margin-top:22px;padding:17px 18px;border-radius:13px}.feedback.success{background:#e8f8f0;color:#126849}.feedback.failure{background:#fff0f1;color:#a72f40}.feedback h3{margin:0 0 6px;font:700 20px 'Space Grotesk'}.feedback p{margin:0;color:#47536a;font-size:13px;line-height:1.65}.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.actions p{margin:0;color:var(--muted);font-size:12px}.face{font-size:64px;margin-bottom:15px}#endMessage,#translation{margin-bottom:10px}footer{padding:19px 8px 0;color:#98a1b6;text-align:center;font-size:11px}@keyframes pulse{to{opacity:.5}}@media(max-width:620px){body{padding:20px 12px}.top{flex-wrap:wrap;gap:12px}.logo{flex-basis:46px;height:46px}.heading{width:calc(100% - 60px)}.status{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.meta{padding:18px 19px 12px}#game{padding:23px 18px}.choices{grid-template-columns:1fr;gap:9px}.choice{min-height:55px}.actions{flex-wrap:wrap}.actions p{width:100%}.actions .primary{margin-left:auto}.center{padding:35px 20px 40px}}