@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Kufi Arabic Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-kufi-arabic-arabic-wght-normal-DGgC7XND.woff2)format("woff2-variations");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Noto Kufi Arabic Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-kufi-arabic-math-wght-normal-DQBQnv-a.woff2)format("woff2-variations");unicode-range:U+302-303,U+305,U+307-308,U+310,U+312,U+315,U+31A,U+326-327,U+32C,U+32F-330,U+332-333,U+338,U+33A,U+346,U+34D,U+391-3A1,U+3A3-3A9,U+3B1-3C9,U+3D1,U+3D5-3D6,U+3F0-3F1,U+3F4-3F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE??}@font-face{font-family:Noto Kufi Arabic Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-kufi-arabic-symbols-wght-normal-DD5BxwiP.woff2)format("woff2-variations");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}@font-face{font-family:Noto Kufi Arabic Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-kufi-arabic-latin-ext-wght-normal-BD7-f0yw.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Kufi Arabic Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/noto-kufi-arabic-latin-wght-normal-BFPo14U7.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--red:#d9272e;--red-shadow:#a81b21;--red-text:#b71c22;--red-tint:#fde7e7;--yellow:#febd11;--yellow-shadow:#c98500;--yellow-tint:#fff6d6;--yellow-soft:#ffdd73;--gold:#7a5600;--green:#1e7a3a;--green-dark:#145a2a;--green-tint:#e4f3e8;--green-pale:#eef6f0;--ink:#161a17;--grey:#55605a;--grey-2:#66706a;--line:#e9ecea;--line-2:#d3d8d5;--fill:#f3f5f4;--font:"Bricolage Grotesque Variable", system-ui, sans-serif;--font-ku:"Noto Kufi Arabic Variable", "Noto Kufi Arabic", sans-serif;--safe-top:max(16px, env(safe-area-inset-top));--safe-bottom:max(24px, env(safe-area-inset-bottom))}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--line);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0}h1,h2,p{margin:0}a{color:inherit;-webkit-tap-highlight-color:transparent;text-decoration:none}button{color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-family:inherit}button:disabled{cursor:default}:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.ku{font-family:var(--font-ku)}.grow{flex:1 1 0;min-height:12px}.red{color:var(--red);display:flex}.app{background:#fff;flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex}.page{padding:max(20px, env(safe-area-inset-top)) 0 32px;flex-direction:column;flex:1;display:flex}.screen{min-height:100dvh;padding-top:var(--safe-top);flex-direction:column;flex:1;display:flex}.screen.flush{padding-top:0}.tabbar{padding:10px 8px max(14px, env(safe-area-inset-bottom));border-top:2px solid var(--line);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:sticky;bottom:0}.tab{min-height:48px;color:var(--grey);flex-direction:column;align-items:center;gap:4px;font-size:12px;font-weight:700;display:flex}.tab.on{color:var(--green);font-weight:800}.eyebrow,.section-label{letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.section-label{color:var(--grey)}.btn{border:none;border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;gap:10px;width:100%;height:58px;font-size:18px;font-weight:800;display:flex}.btn:active{transform:translateY(3px)}.btn-green{background:var(--green);box-shadow:0 4px 0 var(--green-dark);color:#fff}.btn-green:active{box-shadow:0 1px 0 var(--green-dark)}.btn-red{background:var(--red);box-shadow:0 4px 0 var(--red-shadow);color:#fff}.btn-red:active{box-shadow:0 1px 0 var(--red-shadow)}.btn-yellow{background:var(--yellow);box-shadow:0 4px 0 var(--yellow-shadow);color:var(--ink)}.btn-yellow:active{box-shadow:0 1px 0 var(--yellow-shadow)}.btn-outline{border:2px solid var(--line-2);height:54px;color:var(--ink);background:#fff;font-size:16px;font-weight:700}.btn-outline:active{background:var(--fill);transform:none}.icon-btn{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.chip-dark{background:var(--ink);color:#fff;border-radius:999px;align-items:center;gap:6px;padding:7px 14px 7px 8px;font-size:15px;font-weight:700;display:flex}.chip-white{color:var(--red-text);background:#fff;border-radius:999px;padding:8px 16px;font-size:15px;font-weight:800}.topbar{align-items:center;gap:12px;min-height:44px;padding:0 20px 0 10px;display:flex}.track{background:#161a172e;border-radius:999px;flex:1;height:12px;overflow:hidden}.track>span{background:var(--ink);border-radius:999px;height:100%;transition:width .3s;display:block}.track.light{background:var(--line)}.track.light>span{background:var(--green)}.count{font-variant-numeric:tabular-nums;font-size:14px;font-weight:800}.page-head{justify-content:space-between;align-items:flex-end;gap:12px;padding:0 20px;display:flex}.page-title{letter-spacing:-.02em;font-size:34px;font-weight:800;line-height:1.05}.page-count{color:var(--grey);padding-bottom:4px;font-size:15px;font-weight:700}.lead{color:var(--grey);text-wrap:pretty;padding:10px 20px 0;font-size:16px;line-height:1.4}.lead.flat{padding:0}.section{flex-direction:column;gap:10px;padding:22px 20px 0;display:flex}.section.center .section-label{text-align:center}.section-empty{color:var(--grey);font-size:16px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:20px 20px 0;display:grid}.stat{background:var(--fill);border-radius:20px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.stat-n{font-variant-numeric:tabular-nums;font-size:26px;font-weight:800}.stat-l{color:var(--grey);font-size:14px;font-weight:600}.weak{align-items:center;gap:14px;display:flex}.weak-tile{background:var(--red-tint);border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;font-size:28px;font-weight:800;display:flex}.weak-label{font-size:18px;font-weight:800}.weak-count{color:var(--grey);font-size:14px}.actions{padding:24px 20px var(--safe-bottom);flex-direction:column;gap:12px;margin-top:auto;transition:opacity .25s;display:flex}.actions.waiting{opacity:.3}.home-head{justify-content:space-between;align-items:center;padding:0 20px;display:flex}.brand{align-items:center;gap:10px;display:flex}.brand h1{letter-spacing:-.02em;font-size:24px;font-weight:800}.brand-logo{flex-shrink:0;margin:-6px 0 -6px -6px}.unit{scroll-margin-top:12px}.unit-banner{background:var(--red);color:#fff;border-radius:28px;flex-direction:column;gap:14px;margin:20px 20px 0;padding:20px;display:flex}.unit-banner-top{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.unit-title{letter-spacing:-.01em;margin-top:4px;font-size:22px;font-weight:800;line-height:1.1}.unit-letters{white-space:nowrap;word-spacing:6px;font-size:34px;font-weight:800;line-height:1.3}.unit-banner-bar{align-items:center;gap:10px;display:flex}.bar{background:#ffffff4d;border-radius:999px;flex:1;height:10px;overflow:hidden}.bar>span{background:var(--yellow);border-radius:999px;height:100%;transition:width .3s;display:block}.bar-count{font-size:13px;font-weight:700}.path{flex-direction:column;gap:14px;padding:24px 20px 12px;display:flex}.node{align-items:center;gap:16px;display:flex}.node-dot{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:68px;height:68px;display:flex}.node-text{flex-direction:column;gap:2px;min-width:0;display:flex}.node-title{font-size:17px;font-weight:700}.node-sub{color:var(--grey);font-size:13px}.node.done .node-dot{background:var(--green);box-shadow:0 5px 0 var(--green-dark);color:#fff}.node.current .node-dot{background:var(--yellow);width:80px;height:80px;box-shadow:0 0 0 4px var(--yellow), 0 7px 0 3px var(--yellow-shadow);color:var(--ink);border:5px solid #fff;margin:4px}.node.current .node-title{font-weight:800}.node.current .node-sub{color:var(--gold);font-weight:700}.node.current:active .node-dot{box-shadow:0 0 0 4px var(--yellow), 0 4px 0 3px var(--yellow-shadow);transform:translateY(3px)}.node.locked .node-dot{background:var(--line);box-shadow:0 5px 0 var(--line-2);color:var(--grey-2)}.node.locked .node-title,.node.locked .node-sub{color:var(--grey-2)}.node-number{font-variant-numeric:tabular-nums;font-size:26px;font-weight:800;line-height:1}.node.current .node-number{font-size:32px}.node.bonus .node-dot{box-shadow:inset 0 0 0 3px var(--red), 0 5px 0 var(--red-shadow);color:var(--red-text);background:#fff}.node.bonus:active .node-dot{box-shadow:inset 0 0 0 3px var(--red), 0 2px 0 var(--red-shadow);transform:translateY(3px)}.unit-row{border:2px solid var(--line);text-align:left;width:calc(100% - 40px);font-size:inherit;background:#fff;border-radius:22px;align-items:center;gap:14px;margin:12px 20px 0;padding:12px 16px;display:flex}.unit-row-dot{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.unit-row.done .unit-row-dot{background:var(--green);color:#fff}.unit-row.locked .unit-row-dot{background:var(--line);color:var(--grey-2)}.unit-row-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.unit-row-title{letter-spacing:.12em;text-transform:uppercase;color:var(--grey);font-size:12px;font-weight:800}.unit-row-sub{font-size:16px;font-weight:700}.unit-row-letters{white-space:nowrap;word-spacing:4px;font-size:22px;font-weight:800}.unit-row.locked .unit-row-sub,.unit-row.locked .unit-row-letters{color:var(--grey-2)}.unit-row-chevron{color:var(--grey);transition:transform .2s;display:flex}.unit-row-chevron.up{transform:rotate(180deg)}.all-done{background:var(--yellow-tint);border-radius:28px;align-items:center;gap:16px;margin:20px 20px 0;padding:16px 20px;display:flex}.all-done-title{font-size:20px;font-weight:800}.all-done-text{color:var(--grey);font-size:15px}.intro{background:var(--yellow)}.intro-hero{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:12px 20px 20px;display:flex}.intro-badge{background:var(--ink);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:84px;height:84px;font-size:42px;font-weight:700;display:flex}.intro-art{width:min(300px,76vw);height:auto}.intro-glyph{margin-top:-.18em;font-size:min(150px,38vw);font-weight:800;line-height:1.75}.keyword{letter-spacing:-.03em;align-items:center;gap:2px;font-size:clamp(40px,14vw,56px);font-weight:800;line-height:1;display:flex}.keyword.long{font-size:clamp(32px,11vw,46px)}.keyword .hit{background:var(--ink);color:var(--yellow);border-radius:14px;padding:2px 12px 8px}.gloss{margin-top:6px;font-size:17px;font-weight:600}.sheet{padding:22px 20px var(--safe-bottom);background:#fff;border-radius:28px 28px 0 0;flex-direction:column;gap:16px;display:flex}.idea-row{align-items:center;gap:14px;display:flex}.sound-chip{background:var(--ink);color:#fff;white-space:nowrap;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;min-width:56px;height:56px;padding:0 14px;font-size:24px;font-weight:800;display:flex}.idea{text-wrap:pretty;font-size:17px;font-weight:600;line-height:1.35}.forms{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.form{background:var(--green-pale);border-radius:16px;flex-direction:column;align-items:center;gap:5px;padding:8px 0 10px;display:flex}.form .ku{margin-top:-6px;font-size:28px;font-weight:700;line-height:1.8}.form-name{color:var(--grey);font-size:12px;font-weight:700}.form-note{color:var(--grey);grid-column:span 2;align-items:center;padding:0 8px;font-size:14px;font-weight:600;line-height:1.3;display:flex}.form-note.wide{margin-top:-6px;padding:0}.lesson{background:var(--yellow);flex:none;height:100dvh;min-height:0;overflow:hidden}.lights{direction:rtl;gap:10px;font-size:22px;font-weight:800;line-height:1.6;display:flex}.lights .ku{transition:opacity .3s}.lesson-stage{flex-direction:column;flex:1;align-items:center;min-height:0;padding:4px 20px 12px;display:flex}.lesson-word{text-align:center;flex-shrink:0}.lesson-word .ku{white-space:nowrap;font-size:clamp(56px,19vw,84px);font-weight:800;line-height:1.75}.lesson-word .ku.long{font-size:clamp(40px,13vw,60px)}.lesson-word .todo{color:#161a1747}.lesson-word .read{color:var(--gold)}.lesson-word.complete .read{color:var(--green-dark)}.lesson-word.complete{animation:.35s ease-out lesson-pop}.lesson-word.shake{animation:.3s ease-in-out lesson-shake}@keyframes lesson-pop{40%{transform:scale(1.08)}}@keyframes lesson-shake{25%{transform:translate(-10px)}75%{transform:translate(10px)}}.lesson-slots{flex-shrink:0;justify-content:center;gap:6px;min-height:44px;display:flex}.lesson-slot{background:#161a171f;border-radius:12px;justify-content:center;align-items:center;min-width:44px;height:44px;padding:0 8px;font-size:20px;font-weight:800;display:flex}.lesson-slot.todo{background:#161a170f}.lesson-slot.now{box-shadow:inset 0 0 0 3px var(--ink);background:#fff}.lesson-read{text-align:center;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;min-height:44px;display:flex}.lesson-read-latin{font-size:24px;font-weight:800;line-height:1.1}.lesson-read-gloss{font-size:15px;font-weight:600}.lesson-hint{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;width:100%;min-height:0;padding-top:10px;display:flex}.lesson-hint-card{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;width:100%;min-height:0;animation:.25s ease-out lesson-hint-in;display:flex}@keyframes lesson-hint-in{0%{opacity:0;transform:translateY(8px)}}.lesson-art{flex:1 1 0;justify-content:center;width:100%;min-height:0;max-height:210px;display:flex}.lesson-art .letter-art{width:auto;max-width:100%;height:100%}.lesson-glyph{margin-top:-.18em;font-size:clamp(64px,13vh,104px);line-height:1.75}.lesson-idea{text-align:center;text-wrap:pretty;max-width:300px;font-size:17px;font-weight:600;line-height:1.35}.lesson-hint .keyword{font-size:clamp(32px,10vw,44px)}.lesson-hint .keyword.long{font-size:clamp(26px,8vw,36px)}.lesson-hint .gloss{margin-top:4px}.lesson-reveal{height:44px;color:var(--ink);background:#161a171f;border:none;border-radius:999px;flex-shrink:0;align-items:center;gap:8px;padding:0 18px;font-size:15px;font-weight:700;display:flex}.drill-prompt{text-align:center;flex-shrink:0}.drill-glyph{margin-top:-.12em;font-size:clamp(72px,24vw,104px);font-weight:800;line-height:1.75;display:block}.drill-sound{letter-spacing:-.02em;font-size:clamp(56px,18vw,80px);font-weight:800;line-height:1.6;display:block}.drill-prompt.complete{color:var(--green-dark);animation:.35s ease-out lesson-pop}.drill-prompt.shake{animation:.3s ease-in-out lesson-shake}.lesson-slot.right{background:var(--green);color:#fff}.lesson-slot .ku{font-size:26px;line-height:1}@media (height<=700px){.lesson-word .ku{font-size:clamp(48px,15vw,60px)}.lesson-word .ku.long{font-size:clamp(36px,11vw,48px)}.lesson-hint .keyword{font-size:32px}.lesson-hint .keyword.long{font-size:26px}.lesson-glyph{font-size:44px}.drill-glyph{font-size:clamp(56px,17vw,72px)}.drill-sound{font-size:clamp(44px,14vw,56px)}.lesson-slots{min-height:38px}.lesson-slot{min-width:38px;height:38px;font-size:18px}.lesson-idea{font-size:15px}}.letter-art{aspect-ratio:300/240;display:block}.letter-art.animate .art-stroke{stroke-dasharray:1;stroke-dashoffset:1px;opacity:0;animation:.8s cubic-bezier(.45,0,.2,1) forwards art-draw}.letter-art.animate .art-dot{transform-box:fill-box;transform-origin:50%;opacity:0;animation:.3s cubic-bezier(.3,1.5,.5,1) forwards art-pop}.letter-art.animate .art-over{opacity:0;animation:.3s ease-out forwards art-fade}@keyframes art-fade{to{opacity:1}}@keyframes art-draw{0%{stroke-dashoffset:1px;opacity:1}to{stroke-dashoffset:0;opacity:1}}@keyframes art-pop{0%{opacity:1;transform:scale(0)}to{opacity:1;transform:scale(1)}}.gallery-link{background:var(--yellow-tint);height:44px;color:var(--ink);border-radius:999px;align-self:center;align-items:center;margin-top:20px;padding:0 20px;font-size:15px;font-weight:700;text-decoration:none;display:flex}.gallery{background:var(--yellow);padding-bottom:32px}.gallery-title{font-size:22px;font-weight:800}.gallery-lead{padding:4px 20px 0;font-size:15px;font-weight:600}.gallery-grid{direction:rtl;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px 12px;padding:16px 20px 0;display:grid}.gallery-cell{direction:ltr;min-width:0}.gallery-cell .letter-art{width:100%;height:auto}.gallery-missing{aspect-ratio:300/240;background:#161a1714;border-radius:16px;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.gallery-row{justify-content:center;align-items:center;gap:10px;display:flex}.gallery-glyph{font-size:34px;font-weight:800;line-height:1.85}.gallery-word{flex-direction:column;font-size:13px;line-height:1.25;display:flex}.gallery-word u{text-underline-offset:3px;text-decoration-thickness:2px}.speed{background:var(--red);color:#fff}.speed.running{-webkit-user-select:none;user-select:none;height:100dvh;overflow:hidden}.speed-input{opacity:0;caret-color:#0000;pointer-events:none;border:0;width:1px;height:1px;padding:0;font-size:16px;position:fixed;top:0;left:0}.speed-keyboard{padding:0 20px var(--safe-bottom)}.speed-top{justify-content:space-between;align-items:center;min-height:44px;padding:0 20px 0 10px;display:flex}.speed-score{font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:22px;font-weight:800;display:flex}.speed-time{text-align:right;font-variant-numeric:tabular-nums;min-width:84px;font-size:22px;font-weight:800}.speed-bar{background:#ffffff47;border-radius:999px;flex-shrink:0;height:12px;margin:12px 20px 0;overflow:hidden}.speed-bar>span{background:var(--yellow);border-radius:999px;height:100%;display:block}.speed-card{min-height:110px;max-height:250px;box-shadow:0 8px 0 var(--red-shadow);color:var(--ink);background:#fff;border-radius:32px;flex:3 1 0;justify-content:center;align-items:center;margin:20px 20px 0;display:flex;position:relative;overflow:hidden}.speed-card .ku{white-space:nowrap;font-size:104px;font-weight:800;line-height:1.5}.speed-card.len-3 .ku{font-size:84px}.speed-card.len-4 .ku{font-size:68px}.flash{pointer-events:none;opacity:0;animation:.35s ease-out flash;position:absolute;inset:0}.flash.bad{background:var(--red)}.flash.good{background:var(--green)}@keyframes flash{0%{opacity:.4}to{opacity:0}}.slots{justify-content:center;gap:10px;padding:28px 20px 0;display:flex}.slot{white-space:nowrap;background:#fff3;border-radius:18px;justify-content:center;align-items:center;width:62px;height:70px;font-size:30px;font-weight:800;display:flex}.slot.todo{background:#ffffff1a}.slot.now{border:3px solid var(--yellow);background:0 0;position:relative}.slot.now:empty:after{content:"";background:var(--yellow);border-radius:2px;width:26px;height:4px;margin-left:-13px;position:absolute;bottom:12px;left:50%}.speed-miss{text-align:center;height:26px;margin-top:12px;font-size:15px;font-weight:700}.speed-miss>span{background:#161a1740;border-radius:999px;padding:2px 12px;animation:2.5s ease-in forwards fade-out;display:inline-block}.speed-miss .ku{font-size:17px}@keyframes fade-out{0%,70%{opacity:1}to{opacity:0}}.keyboard{padding:0 3px calc(var(--safe-bottom) - 4px);direction:ltr;flex-shrink:0;display:grid}.key{height:54px;color:var(--ink);font:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:none;padding:4px 2.5px;display:block}.key-face{height:100%;box-shadow:0 3px 0 var(--yellow-shadow);white-space:nowrap;background:#fff;border-radius:9px;justify-content:center;align-items:center;font-size:clamp(19px,5.4vw,23px);font-weight:800;line-height:1;display:flex}.key-face.two{letter-spacing:-.02em;font-size:clamp(15px,4.3vw,18px)}.key-face.stacked{flex-direction:column;gap:2px;font-size:clamp(14px,3.9vw,16px)}.keyboard.kurdish .key-face{font-size:clamp(19px,5vw,23px);font-weight:700}.key:active .key-face{box-shadow:0 1px 0 var(--yellow-shadow);transform:translateY(2px)}.key.bad .key-face{background:var(--red);color:#fff}.key.good .key-face{background:var(--green);box-shadow:0 3px 0 var(--green-dark);color:#fff}.key.empty .key-face{box-shadow:none;background:#161a1714}@media (height<=700px){.key{height:48px}}.level-chips{justify-content:center;align-items:center;gap:8px;padding:12px 20px 0;display:flex}.level-chip{color:#fff;background:#fff3;border:none;border-radius:50%;width:44px;height:44px;font-size:17px;font-weight:800}.level-chip.on{color:var(--red-text);background:#fff}.level-chip:disabled{opacity:.4}.level-chips-label{margin-left:4px;font-size:15px;font-weight:700}.speed-ready{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:20px 28px;display:flex}.speed-ready h1{letter-spacing:-.02em;font-size:44px;font-weight:800;line-height:1.05}.speed-ready p{text-wrap:balance;font-size:18px;font-weight:600;line-height:1.4}.speed-ready .speed-ready-rules{font-size:15px;font-weight:400}.speed-ready .chip-white{margin-top:8px}.speed-ready-best{font-size:15px;font-weight:700}.speed-start{padding:0 20px var(--safe-bottom)}.contrast{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:8px 10px;padding:4px 20px 16px;display:grid}.contrast-head{text-align:center;flex-direction:column;align-items:center;font-size:15px;font-weight:800;display:flex}.contrast-head .ku{font-size:34px;font-weight:800;line-height:1.5}.contrast-word{text-align:center;background:#fff;border-radius:18px;min-width:0;padding:0 6px 8px}.contrast-word .ku{white-space:nowrap;font-size:28px;font-weight:800;line-height:1.65;display:block}.contrast-word .first,.contrast-latin b{color:var(--red)}.contrast-latin{font-size:17px;font-weight:800;line-height:1.1}.contrast-gloss{color:var(--grey);font-size:13px}.idea .ku{font-size:1.15em;font-weight:700}.result-top,.done-top{background:var(--red);color:#fff;padding:var(--safe-top) 20px 28px 10px;flex-direction:column;display:flex}.result-top{border-radius:0 0 32px 32px}.result-center{text-align:center;flex-direction:column;align-items:center;gap:6px;padding-left:10px;display:flex}.result-score{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:112px;font-weight:800;line-height:.95}.result-sub{font-size:17px;font-weight:700}.result-center .chip-dark{margin-top:10px}.done-top{padding-bottom:150px}.done-top.plain{padding-top:calc(var(--safe-top) + 44px)}.done-title{letter-spacing:-.02em;font-size:34px;font-weight:800;line-height:1.05}.done-sun{flex-shrink:0;margin:-115px auto 0;display:block}.done-sun.small{margin-top:-90px}.words{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.word-card{background:var(--yellow-tint);text-align:center;border-radius:20px;flex-direction:column;align-items:center;min-width:0;padding:6px 6px 14px;display:flex}.word-card .ku{white-space:nowrap;font-size:30px;font-weight:800;line-height:1.7}.word-card .ku.small{font-size:21px;line-height:2.4}.word-latin{font-size:17px;font-weight:800}.word-gloss{color:var(--grey);font-size:13px}.legend{color:var(--grey);gap:18px;padding:12px 20px 0;font-size:13px;font-weight:700;display:flex}.legend i{background:var(--line-2);vertical-align:-1px;border-radius:4px;width:12px;height:12px;margin-right:6px;display:inline-block}.legend i.known{background:var(--green)}.legend i.next{background:var(--yellow)}.alpha-grid{direction:rtl;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:16px 20px 0;display:grid}.alpha-cell{background:var(--fill);height:94px;color:var(--grey);direction:ltr;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;display:flex}.alpha-cell .ku{color:var(--ink);margin:-8px 0 3px;font-size:28px;font-weight:800;line-height:1.85}.alpha-cell small{font-size:13px;font-weight:700}.alpha-cell.known{background:var(--green-tint);color:var(--green-dark)}.alpha-cell.next{background:var(--yellow-soft);color:var(--gold)}.alpha-cell.left .ku{color:var(--grey)}.level-list{flex-direction:column;gap:14px;padding:20px 20px 0;display:flex}.level-card{background:var(--red);box-shadow:0 5px 0 var(--red-shadow);color:#fff;border-radius:24px;align-items:center;gap:16px;padding:16px;display:flex}.level-card:active{box-shadow:0 2px 0 var(--red-shadow);transform:translateY(3px)}.level-card>span:last-child{flex-direction:column;gap:2px;display:flex}.level-num{width:52px;height:52px;color:var(--red-text);background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:24px;font-weight:800;display:flex}.level-name{font-size:19px;font-weight:800}.level-best{font-size:14px;font-weight:600}.level-card.locked{background:var(--line);box-shadow:0 5px 0 var(--line-2);color:var(--grey-2);transform:none}.level-card.locked .level-num{color:var(--grey-2)}.toggle-row{background:var(--fill);border-radius:20px;justify-content:space-between;align-items:center;gap:16px;margin:24px 20px 0;padding:16px;display:flex}.toggle-title{font-size:17px;font-weight:800}.toggle-text{color:var(--grey);font-size:14px}.switch{background:var(--line-2);border:none;border-radius:17px;flex-shrink:0;width:56px;height:34px;padding:3px;transition:background .15s}.switch>span{background:#fff;border-radius:50%;width:28px;height:28px;transition:transform .15s;display:block}.switch.on{background:var(--red)}.switch.on>span{transform:translate(22px)}.streak-card{background:var(--ink);color:#fff;border-radius:28px;align-items:center;gap:16px;margin:20px 20px 0;padding:16px 20px;display:flex}.streak-card svg{flex-shrink:0}.streak-n{font-size:22px;font-weight:800}.streak-text{color:var(--line-2);font-size:14px;line-height:1.35}.best-list{background:var(--fill);border-radius:20px;flex-direction:column;padding:4px 16px;display:flex}.best-row{justify-content:space-between;align-items:center;padding:12px 0;font-size:16px;font-weight:600;display:flex}.best-row+.best-row{border-top:1px solid var(--line-2)}.best-row strong{font-variant-numeric:tabular-nums;font-size:18px;font-weight:800}.confirm{background:var(--red-tint);border-radius:20px;flex-direction:column;gap:14px;padding:16px;display:flex}.confirm p{font-size:16px;font-weight:600;line-height:1.4}.confirm-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.confirm-actions .btn{height:54px;font-size:16px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}.flash{animation:none}.letter-art.animate .art-stroke,.letter-art.animate .art-dot,.letter-art.animate .art-over{stroke-dashoffset:0;opacity:1;animation:none}.lesson-word.complete,.lesson-word.shake,.lesson-hint-card,.speed-miss>span{animation:none}}
