:root{--bg:#f6f7fb;--surface:#fff;--ink:#141b2e;--muted:#5b6478;--line:#d9dee9;--code:#f1f3f8;--th:#c97b00;--th-soft:#fcefd3;--th-ink:#7a4a00;--fr:#2f4fd8;--fr-soft:#e3e8ff;--fr-ink:#1d33a0;--shadow:#141b2e2e;--t-M:#5b6478;--t-L:#2563c9;--t-H:#0b8f63;--t-F:#c2410c;--t-R:#8a3fd1;--g-m:#2563c9;--g-f:#c23b5a;--f-ui:"Lexend", "IBM Plex Sans Thai Looped", "Leelawadee UI", system-ui, sans-serif;--f-th:"IBM Plex Sans Thai Looped", "Leelawadee UI", Tahoma, sans-serif;--f-ph:"Noto Sans", "Segoe UI", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0b0f1a;--surface:#151b2b;--ink:#e7ebf4;--muted:#98a1b5;--line:#283149;--code:#111727;--th:#f0a53a;--th-soft:#3a2a0e;--th-ink:#ffd089;--fr:#8197ff;--fr-soft:#1c2448;--fr-ink:#c3ceff;--shadow:#00000080;--t-M:#a3abbe;--t-L:#6ea4ff;--t-H:#3ccb97;--t-F:#ff8a5b;--t-R:#c394ff;--g-m:#6ea4ff;--g-f:#ff7e9b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}html[lang=fr]{--acc:var(--th);--acc-soft:var(--th-soft);--acc-ink:var(--th-ink)}html[lang=th]{--acc:var(--fr);--acc-soft:var(--fr-soft);--acc-ink:var(--fr-ink)}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);height:100%;margin:0}body{font:15px/1.5 var(--f-ui);-webkit-tap-highlight-color:transparent;overscroll-behavior:none;font-weight:350}#root{height:100%}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--acc);outline-offset:2px}h1,h2{letter-spacing:-.01em;text-wrap:balance;font-weight:600}.th{font-family:var(--f-th)}.muted{color:var(--muted);font-weight:400;font-family:var(--f-ui)}.page{max-width:520px;min-height:100%;padding:max(16px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));flex-direction:column;gap:12px;margin:0 auto;display:flex}.spacer{flex:1}.center{text-align:center}.col{flex-direction:column;gap:10px;display:flex}.h{margin:8px 0 2px;font-size:28px}.accent{color:var(--acc)}.sub{color:var(--muted);margin:0}.hint{color:var(--muted);text-align:center;font-size:12px}.error{color:#e5484d;text-align:center;font-size:13px}.notice{background:var(--acc-soft);border-radius:14px;margin:0;padding:12px;font-size:13px}.logo{width:72px;height:72px}.btn{background:var(--acc);color:#fff;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:14px 18px;font-weight:550;display:flex}.btn.ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.btn.dashed{border-style:dashed}.btn:disabled{opacity:.45}.g{width:20px;height:20px}input{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:13px 14px}.link{color:var(--muted);background:0 0;border:0;font-size:12.5px;text-decoration:underline}.home{max-width:560px;min-height:100%;padding:max(14px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.home-hd{justify-content:space-between;align-items:center;display:flex}.brand{font-size:18px;font-weight:650}.brand span{font-family:var(--f-th);color:var(--acc)}.dir{border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:8px;padding:6px 6px 6px 10px;font-size:12.5px;font-weight:600;display:flex}.lg{letter-spacing:.04em;border-radius:999px;place-items:center;min-width:30px;height:24px;font-size:11px;display:inline-grid}.lg.from{background:var(--line)}.lg.to{background:var(--acc);color:#fff}.hello{margin:2px 0 0;font-size:26px;line-height:1.2}.levels{background:var(--surface);border:1px solid var(--line);border-radius:999px;gap:4px;padding:4px;display:flex}.levels button{font:inherit;color:inherit;opacity:.7;background:0 0;border:0;border-radius:999px;flex:1;padding:7px 0;font-size:13px;font-weight:600}.levels button.on{background:var(--acc);color:#fff;opacity:1}.cont{background:var(--acc);color:#fff;text-align:left;box-shadow:0 10px 22px -14px var(--acc);border:0;border-radius:20px;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.cont b{font-size:18px;font-weight:600;display:block}.cont small{opacity:.92;font-size:13px}.go{background:#ffffff38;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:20px;display:grid}.lbl{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:4px;font-size:11.5px;font-weight:500}.cats{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;display:grid}.tile{border:1px solid var(--line);background:var(--surface);border-radius:20px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:12px 8px 10px;display:flex;position:relative}.tile .nm{text-align:center;overflow-wrap:anywhere;font-size:13.5px;font-weight:500}.tile .ct{color:var(--muted);font-size:11px}.tile.verbs{background:var(--acc-soft);border-color:#0000}.ring{background:conic-gradient(var(--acc) calc(var(--p) * 1%), var(--line) 0);border-radius:50%;width:16px;height:16px;position:absolute;top:8px;right:8px}.ring:after{content:"";background:var(--surface);border-radius:50%;position:absolute;inset:3.5px}.tile.verbs .ring:after{background:var(--acc-soft)}.tile.done .ct{color:var(--t-H);font-weight:500}.prog{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:20px;gap:6px;padding:12px 14px;display:grid}.prog .lbl{margin:0}.prog .nums{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:14px;font-size:13px;display:flex}.prog .nums b{color:var(--ink);font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.prog .nums .k b{color:var(--acc)}.prog .nums .of{margin-left:auto;font-size:12px}.pbar{background:var(--line);border-radius:6px;height:6px;position:relative;overflow:hidden}.pbar i{border-radius:6px;position:absolute;top:0;bottom:0;left:0}.pbar i.s{background:var(--acc-soft);box-shadow:inset 0 0 0 1px var(--acc);opacity:.7}.pbar i.k{background:var(--acc)}.prog .more{color:var(--acc-ink);font-size:12.5px;font-weight:500}.conjtile{background:var(--ink);color:var(--bg);text-align:left;border:0;border-radius:20px;align-items:center;gap:12px;padding:14px 16px;display:flex}.conjtile .em{background:#7f7f7f40;border-radius:12px;place-items:center;width:40px;height:40px;font-size:22px;display:grid}.conjtile b{font-weight:600;display:block}.conjtile small{opacity:.75;font-size:12.5px}.conjtile .go{margin-left:auto}.culttile{background:var(--acc-soft);color:var(--acc-ink)}.culttile .go{background:#7f7f7f2e}.cq{text-wrap:balance;padding:0 4px;font-size:clamp(20px,6vw,25px);font-weight:500;line-height:1.35}.cq.th{font-family:var(--f-th);font-size:clamp(21px,6.4vw,26px)}.cult{flex:1;align-content:start;gap:8px;min-height:0;margin-top:4px;display:grid;overflow-y:auto}.cbox{background:var(--code);border-radius:14px;padding:9px 12px}.cbox.there{background:var(--acc-soft);color:var(--acc-ink)}.cbox p{margin:3px 0 0;font-size:14.5px;line-height:1.45}.cbox p.th{font-family:var(--f-th);font-size:15.5px}.cbox.there .exl{color:inherit;opacity:.8}.foot{text-align:center;color:var(--muted);margin-top:auto;padding-top:8px;font-size:12px}.pic{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;display:block}.pic.lg{width:min(78vw,300px,46vh);height:auto}.pic.md{width:min(40vw,150px,22vh);height:auto}.pic.sm{width:56px;height:56px}.pic.xs{flex:none;width:40px;height:40px}.pic.emoji.xs{place-items:center;width:40px;height:40px;font-size:28px;display:grid}.pic.emoji{width:auto;height:auto;line-height:1.1}.pic.emoji.lg{font-size:min(40vw,170px,24vh)}.pic.emoji.md{font-size:min(22vw,90px)}.pic.emoji.sm{place-items:center;width:56px;height:56px;font-size:40px;display:grid}.deck{max-width:560px;height:100%;padding:max(8px, env(safe-area-inset-top)) 14px max(8px, env(safe-area-inset-bottom));flex-direction:column;margin:0 auto;display:flex;position:relative}.dtop{flex:none;justify-content:space-between;align-items:center;height:44px;display:flex}.x{background:var(--surface);width:38px;height:38px;box-shadow:0 0 0 1px var(--line);border:0;border-radius:50%;place-items:center;font-size:22px;line-height:1;display:grid}.x.ghost{visibility:hidden}.count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.bar{background:var(--line);border-radius:3px;flex:none;height:3px;margin:2px 4px 12px;overflow:hidden}.bar i{background:var(--acc);border-radius:3px;height:100%;transition:width .2s;display:block}.stage{perspective:1400px;flex:1;min-height:0;position:relative}.swipe{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.swipe.in-right{animation:.26s ease-out inR}.swipe.in-left{animation:.26s ease-out inL}@keyframes inR{0%{opacity:0;transform:translate(36px)scale(.97)}}@keyframes inL{0%{opacity:0;transform:translate(-36px)scale(.97)}}.card{transform-style:preserve-3d;transition:transform .45s cubic-bezier(.3,.7,.2,1);position:absolute;inset:0}.card.flipped{transform:rotateY(180deg)}.face{backface-visibility:hidden;background:var(--surface);box-shadow:0 18px 40px -22px var(--shadow), 0 0 0 1px var(--line);border-radius:28px;flex-direction:column;gap:6px;padding:18px 20px;display:flex;position:absolute;inset:0;overflow:hidden}.face.back{transform:rotateY(180deg)}.chip{letter-spacing:.06em;text-transform:uppercase;color:var(--acc-ink);background:var(--acc-soft);border-radius:999px;align-self:flex-start;padding:4px 10px;font-size:11px;font-weight:550}.mid{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;min-height:0;display:flex}.mid.tight{gap:6px}.tw{overflow-wrap:anywhere;font-size:clamp(38px,12vw,56px);font-weight:500;line-height:1.15}.tw.th{font-family:var(--f-th);font-size:clamp(44px,14vw,64px);line-height:1.35}.tw.sm{font-size:clamp(30px,9vw,40px)}.tw.th.sm{font-size:clamp(34px,10vw,46px)}.art{font-weight:400}.art.g-m{color:var(--g-m)}.art.g-f{color:var(--g-f)}.gnd{color:var(--muted);font-size:13px;font-weight:400}.ph{font-family:var(--f-ph);color:var(--muted);font-size:21px;line-height:1.3}.ph .thp{font-family:var(--f-th);color:var(--ink);font-size:23px}.ph .ipa{margin-left:8px;font-size:15px}.rom span{font-weight:500}.rom.small{font-family:var(--f-ph);font-size:12.5px;display:block}.t-M{color:var(--t-M)}.t-L{color:var(--t-L)}.t-H{color:var(--t-H)}.t-F{color:var(--t-F)}.t-R{color:var(--t-R)}.spk{background:var(--acc-soft);width:48px;height:48px;color:var(--acc-ink);border:0;border-radius:50%;flex:none;place-items:center;display:inline-grid}.spk svg{width:22px;height:22px}.spk.s{width:36px;height:36px}.spk.s svg{width:17px;height:17px}.tap{text-align:center;color:var(--muted);font-size:12px}.nat{font-size:26px;font-weight:500}.nat.th{font-family:var(--f-th)}.nat.sm{color:var(--muted);font-size:18px;font-weight:400}.ex{border-top:1px solid var(--line);text-align:left;gap:3px;padding-top:12px;display:grid}.ex.bottom{margin-top:auto}.exl{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:10.5px}.ext{justify-content:space-between;align-items:center;gap:10px;font-size:17px;font-weight:450;line-height:1.35;display:flex}.ext.th{font-family:var(--f-th);font-size:19px}.exr{font-family:var(--f-ph);font-size:13.5px}.exn{color:var(--muted);font-size:14.5px}.exn.th{font-family:var(--f-th)}.exn.small{font-size:12.5px}.note{background:var(--acc-soft);color:var(--acc-ink);border-radius:12px;padding:8px 10px;font-size:13px;line-height:1.4}.tense{color:var(--acc-ink);background:var(--acc-soft);border-radius:16px;margin-top:6px;padding:10px 18px;font-size:24px;font-weight:600;line-height:1.25}.tense small{opacity:.85;font-size:14px;font-weight:400;font-family:var(--f-th);display:block}.backhd{justify-content:space-between;align-items:center;gap:8px;display:flex}.vb{font-size:15px;font-weight:600}.forms{margin:4px 0;display:grid}.forms>div{border-bottom:1px dashed var(--line);grid-template-columns:64px minmax(0,1fr);align-items:baseline;gap:8px;padding:5px 0;font-size:17px;display:grid}.forms>div:last-child{border-bottom:0}.pr{font-family:var(--f-th);color:var(--muted);font-size:13px}.forms.thl>div{grid-template-columns:minmax(0,1fr) auto}.tl{font-family:var(--f-th);font-size:19px}.gl{color:var(--muted);font-size:12px}.pattern{background:var(--code);border-radius:10px;padding:7px 10px;font-size:14px;font-weight:450}.hintbar{height:34px;color:var(--muted);flex:none;justify-content:center;align-items:center;font-size:12px;display:flex}.toast{left:50%;bottom:calc(52px + env(safe-area-inset-bottom));background:var(--ink);color:var(--bg);white-space:nowrap;text-overflow:ellipsis;z-index:5;pointer-events:none;border-radius:999px;max-width:90%;padding:8px 14px;font-size:13px;animation:2s forwards tst;position:absolute;overflow:hidden;transform:translate(-50%)}@keyframes tst{0%{opacity:0;transform:translate(-50%,8px)}10%,85%{opacity:1;transform:translate(-50%)}to{opacity:0}}.end{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;height:100%;padding:24px;display:flex}.end .big{font-size:64px}.end h2{margin:0;font-size:26px}.end p{color:var(--muted);margin:0}.end .row{gap:10px;display:flex}.conj{max-width:560px;min-height:100%;padding:max(14px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.conjhd{align-items:center;gap:12px;display:flex}.conjhd h1{margin:0;font-size:24px}.help{color:var(--muted);margin:0;font-size:13.5px}.grp{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:10px 12px 12px}.gtitle{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:baseline;gap:8px;width:100%;padding:2px 0 10px;display:flex}.gtitle b{font-size:15px;font-weight:600}.gtitle small{color:var(--acc-ink);white-space:nowrap;font-size:12px;font-weight:500}.chips{flex-wrap:wrap;gap:8px;display:flex}.vchip{border:1px solid var(--acc);background:var(--acc-soft);border-radius:14px;flex-direction:column;align-items:flex-start;padding:6px 12px;line-height:1.25;display:flex}.vchip b{font-size:15px;font-weight:550}.vchip b.th{font-size:17px}.vchip small{color:var(--muted);font-size:11px}.known{max-width:560px;min-height:100%;padding:max(14px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.known .conjhd small{font-size:12.5px;display:block}.alldone{text-align:center;background:var(--acc-soft);color:var(--acc-ink);border-radius:20px;justify-items:center;gap:4px;padding:16px;display:grid}.alldone .big{font-size:40px;line-height:1}.alldone b{font-size:18px;font-weight:600}.alldone span:last-child{font-size:13px}.gtitle .link{white-space:nowrap}.klist{margin:0;padding:0;list-style:none;display:grid}.klist li{border-bottom:1px dashed var(--line);align-items:center;gap:10px;min-width:0;padding:7px 0;display:flex}.klist li:last-child{border-bottom:0}.kw{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.kw b{overflow-wrap:anywhere;font-size:15.5px;font-weight:550}.kw b.th{font-size:18px}.kw .rom.small{font-size:12px;display:inline}.kw small{color:var(--muted);font-size:12.5px}.kbtn{border:1px solid var(--acc);background:var(--acc-soft);color:var(--acc-ink);border-radius:999px;flex:none;padding:5px 11px;font-size:12.5px;font-weight:500}.end .link{font-size:13.5px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
