@font-face{font-family:kufi;src:url(fonts/kufi.woff) format('woff');font-display:swap}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%}
body{font-family:kufi,system-ui,sans-serif;background:#fff8e6;color:#283246;direction:rtl;overscroll-behavior:none;user-select:none;-webkit-user-select:none}
#app{max-width:520px;margin:0 auto;min-height:100%;display:flex;flex-direction:column}
header{background:#0e7c7b;color:#fff;text-align:center;padding:12px;font-size:20px;display:flex;align-items:center;justify-content:space-between}
header button{background:none;border:0;color:#fff;font:inherit;font-size:22px;padding:4px 10px}
.prog{height:8px;background:#cfe9e8}.prog i{display:block;height:100%;background:#f48c28;transition:width .3s}
main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:14px;text-align:center}
.big{font-size:min(55vw,230px);line-height:1.1;color:#f48c28;margin:0}
.t1{font-size:30px;margin:0;color:#0e7c7b}.t2{font-size:22px;margin:0}
.btn{background:#0e7c7b;color:#fff;border:0;border-radius:18px;font:inherit;font-size:24px;padding:14px 34px;min-width:60%;box-shadow:0 4px 0 #095a59}
.btn:active{transform:translateY(3px);box-shadow:none}
.btn.o{background:#f48c28;box-shadow:0 4px 0 #b9650f}
.snd{background:#fff;border:3px solid #0e7c7b;color:#0e7c7b;border-radius:50%;width:64px;height:64px;font-size:28px}
.row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;width:100%}
.mk{background:#fff;border:3px solid #283246;border-radius:20px;font:inherit;font-size:64px;padding:6px 18px;color:#283246}
.mk.on{border-color:#f48c28;background:#ffe9cc}.mk.done{border-color:#2f9e44}
.emo{font-size:min(40vw,170px);line-height:1}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}
.card{background:#fff;border:3px solid #0e7c7b;border-radius:20px;font:inherit;font-size:54px;padding:14px 4px;color:#283246}
.card.lock{opacity:.45;border-color:#999}.card.done{border-color:#2f9e44;background:#eaf8ed}
.card small{display:block;font-size:14px;color:#0e7c7b}
.opt{background:#fff;border:4px solid #283246;border-radius:22px;font:inherit;font-size:84px;width:30%;aspect-ratio:1;color:#283246}
.opt.ok{border-color:#2f9e44;background:#d6f5dc}.opt.bad{animation:sh .35s}
@keyframes sh{25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}
canvas{touch-action:none;background:#fff;border:3px solid #0e7c7b;border-radius:20px;width:min(86vw,360px);height:min(86vw,360px)}
.stars{font-size:60px;letter-spacing:6px}.pop{animation:pop .6s both}@keyframes pop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
.small{font-size:15px;color:#6b7380}
