/* Kavv — trace the letter */
.trace{text-align:center}
.trace .back{display:block;text-align:start}
.hidden{display:none !important}
.t-head{display:flex;justify-content:center;align-items:center;gap:12px;margin:4px 0 10px}
.t-name{font-family:'Noto Naskh Arabic',serif;font-size:28px;font-weight:700}
.t-say{width:48px;height:48px;border-radius:50%;border:0;background:#f59e0b;color:#fff;font-size:22px;box-shadow:0 3px 0 #d97706}
.t-say:active{transform:translateY(2px);box-shadow:0 1px 0 #d97706}
.t-stars{font-size:22px;min-width:70px}
.t-board{position:relative;width:100%;max-width:420px;aspect-ratio:1/1;margin:0 auto;background:#fff;border-radius:28px;
         box-shadow:0 8px 30px rgba(15,118,110,.12);overflow:hidden;border:3px dashed #e2e8f0}
.t-board canvas{position:absolute;inset:0;width:100%;height:100%}
#t-draw{touch-action:none;cursor:crosshair}
.t-board.ok{border-color:#10b981;border-style:solid}
.t-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:6px}
.t-btns .pg{border:0;font-size:17px;font-family:inherit;cursor:pointer}
.t-btns .pg.alt{background:#fff;color:#0f766e;border:2px solid #0f766e}
.t-btns .pg.next{background:#f59e0b}
.t-picker{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;direction:rtl;margin-top:26px}
.t-pick{width:42px;height:42px;border:0;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06);
        font-family:'Noto Naskh Arabic',serif;font-size:22px;font-weight:700;cursor:pointer}
.t-pick.on{background:#0f766e;color:#fff}
.t-pick.done{box-shadow:inset 0 -4px 0 #10b981,0 2px 8px rgba(0,0,0,.06)}
.fb{min-height:30px;margin:10px 0 4px;font-size:20px;font-weight:800}
.fb.ok{color:#059669}.fb.no{color:#dc2626}
