:root{--bg: #f1f2f4;--surface: #ffffff;--ink: #16171a;--muted: #676b73;--line: #e1e3e8;--soft: #e8eaee;--right: #7ed3c1;--right-edge: #67ad9e;--wrong: #f49b8a;--wrong-edge: #c87f71;--placed-edge: #d9dce2;--wrong-ink: #c0364c;--radius: 32px;--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-hy: "Noto Sans Armenian", "Arial Unicode MS", var(--font);color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.45 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}#app{max-width:560px;min-height:100dvh;margin:0 auto;padding:20px;display:flex;flex-direction:column}[lang=hy]{font-family:var(--font-hy);font-weight:800}h1,h2,h3{margin:0;letter-spacing:-.02em}.title{margin:16px 0 12px;font-size:28px;font-weight:800;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.muted{color:var(--muted)}.center{text-align:center}.note{color:var(--muted);font-size:13px;line-height:1.45}.kicker{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.kicker [lang=hy]{text-transform:none;letter-spacing:0;font-size:15px}.icon-svg{display:inline-flex;width:20px;height:20px;flex:none}.icon-svg svg{width:100%;height:100%}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;padding:0;transition:transform .08s,opacity .15s,background-color .15s,box-shadow .15s}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}button:active:not(:disabled){transform:scale(.98)}.pill{width:100%;height:68px;border-radius:34px;background:var(--ink);color:var(--bg);font-size:17px;font-weight:700;flex:none}.pill.light{background:var(--bg);color:var(--ink)}.pill:disabled{background:var(--line);color:var(--muted)}.pill.small{width:auto;height:44px;padding:0 18px;border-radius:22px;font-size:15px}.pill.ghost{background:transparent;color:var(--ink);font-size:16px;font-weight:600}.round{width:44px;height:44px;border-radius:50%;background:var(--surface);display:inline-flex;align-items:center;justify-content:center;flex:none}.chip-btn{height:40px;padding:0 14px;border-radius:20px;background:var(--surface);font-size:14px;font-weight:700}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}.brand{display:flex;align-items:center;gap:10px}.logo{width:44px;height:44px;flex:none}.logo svg{display:block;width:100%;height:100%;overflow:visible}.wordmark{font-size:22px;font-weight:800;letter-spacing:-.02em}.eyes{display:flex;gap:var(--gap, 7px)}.eyes i{width:var(--eye, 4px);height:var(--eye, 4px);border-radius:50%;background:currentColor}.top-right{display:flex;align-items:center;gap:8px}.streak-chip{height:44px;padding:0 16px 0 12px;border-radius:22px;background:var(--surface);display:inline-flex;align-items:center;gap:6px;font-size:17px;font-weight:800}.streak-chip.off{color:var(--muted)}.flame{display:inline-flex;width:22px;height:22px;flex:none}.flame svg{width:100%;height:100%}.units-wrap{margin:20px -20px 0}.units{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px max(20px,calc(50% - 150px));overscroll-behavior-x:contain}.units::-webkit-scrollbar{display:none}.unit-card{position:relative;flex:none;width:min(300px,calc(100vw - 72px));height:220px;scroll-snap-align:center;border-radius:32px;background:var(--c);color:var(--ink);padding:20px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;text-align:left;transition:opacity .2s}.unit-card:not(.focus){opacity:.85}.unit-card:active:not(:disabled){transform:none}.unit-card.now{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--ink)}.unit-card.locked{background:#e3e5ea;color:var(--muted)}.unit-badge{position:absolute;right:-18px;top:-18px;width:112px;height:112px;border-radius:36%;background:#ffffff80;transform:rotate(-6deg);padding:14px 14px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;--gap: 10px;--eye: 5px}.unit-card.now .unit-badge{border-radius:50% 50% 50% 22%}.unit-card.done .unit-badge{background:var(--ink);color:var(--c)}.unit-card.locked .unit-badge{background:var(--surface)}.unit-badge [lang=hy]{max-width:88px;font-size:24px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unit-kicker{font-size:13px;font-weight:700;opacity:.7}.unit-title{margin-top:2px;max-width:calc(100% - 90px);font-size:28px;line-height:1.2}.unit-bars{margin-top:auto;width:100%;display:flex;gap:4px}.unit-bars i{flex:1;height:8px;border-radius:4px;background:#ffffffa6}.unit-bars i.learning{background:#16171a26}.unit-bars i.check1{background:#16171a59}.unit-bars i.check2{background:#16171a99}.unit-bars i.earned{background:var(--ink)}.unit-foot{margin-top:10px;display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:14px;font-weight:600}.unit-foot .icon-svg{width:14px;height:14px}.unit-dots{display:flex;justify-content:center;gap:5px;margin-top:12px}.unit-dots i{width:7px;height:7px;border-radius:4px;background:#c9cdd4;transition:width .2s,background .2s}.unit-dots i.on{width:22px;background:var(--ink)}.home-actions{display:flex;gap:8px;margin-top:16px}.home-actions .pill{height:60px;border-radius:30px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:10px}.home-actions .start{flex:1;min-width:0}.home-actions .practice{width:auto;padding:0 16px;background:#e0e2e7;color:var(--ink);position:relative;gap:6px;font-size:16px}.home-actions .practice:disabled{color:var(--muted)}.due-badge{position:absolute;top:-4px;right:-2px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--ink);color:var(--bg);font-size:12px;font-weight:800;line-height:22px}.test-out{display:block;width:100%;margin-top:12px;padding:8px;font-size:15px;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-align:center}.test-out[hidden]{display:none}.test-out:disabled{color:var(--muted);text-decoration:none}.sections{margin-top:32px}.sections-head{display:flex;align-items:baseline;justify-content:space-between}.sections-head h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em}.sections-head span{font-size:13px;font-weight:600;color:var(--muted)}.section{margin-top:8px;border-radius:24px;background:var(--surface)}.sections-head+.section{margin-top:12px}.section.open{padding:12px}.section-row{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 16px 12px 12px}.section.open .section-row{min-height:0;padding:0 4px 12px 0}.section-icon{width:48px;height:48px;flex:none;border-radius:16px;background:var(--ink);color:#f7d35c;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}.section-row.locked .section-icon{background:#e3e5ea;color:var(--muted)}.section-name{flex:1;min-width:0;display:flex;flex-direction:column}.section-name span{font-size:13px;font-weight:600;color:var(--muted)}.section-name b{font-size:18px;font-weight:800;line-height:1.25}.section-row.locked .section-name b{color:var(--muted)}.section-count{flex:none;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:var(--muted)}.section-count .icon-svg{width:13px;height:13px}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.unit-tile{border-radius:18px;background:var(--c);color:var(--ink);padding:10px 12px;text-align:left;display:flex;flex-direction:column}.unit-tile.now{box-shadow:inset 0 0 0 2px var(--ink)}.unit-tile.done{background:var(--ink);color:var(--c)}.unit-tile.locked{background:var(--bg);color:var(--muted)}.unit-tile-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:14px}.unit-tile-head b{font-weight:800;white-space:nowrap}.unit-tile-head [lang=hy]{min-width:0;font-size:13px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unit-tile-sub{margin-top:2px;display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600;opacity:.75}.unit-tile-sub .icon-svg{width:12px;height:12px}.unit-tile-bar{height:5px;margin-top:8px;border-radius:3px;background:#fff9;overflow:hidden}.unit-tile.done .unit-tile-bar{background:#fff3}.unit-tile-bar i{display:block;height:100%;background:currentColor}.week{margin-top:16px;border-radius:28px;background:var(--surface);padding:20px 20px 18px}.week-head{display:flex;align-items:flex-end;justify-content:space-between}.week-kicker{margin:0;font-size:13px;font-weight:600;color:var(--muted)}.week-total{margin:2px 0 0;font-size:15px;font-weight:700;color:var(--muted)}.week-total b{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--ink)}.week-today{margin:0;font-size:13px;font-weight:600;color:var(--muted)}.week-today b{font-size:15px;color:var(--ink)}.week-chart{position:relative;height:96px;margin-top:16px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:end}.week-chart:before{content:"";position:absolute;left:0;right:0;bottom:var(--goal);border-top:2px dashed #d0d4db}.week-bar{position:relative;border-radius:10px;background:var(--ink)}.week-bar.empty{height:6px;border-radius:3px;background:#e4e6ea}.week-bar.today:not(.empty){background:var(--c);box-shadow:inset 0 0 0 2px var(--ink)}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:8px;font-size:12px;font-weight:700;color:var(--muted);text-align:center;line-height:22px;text-transform:uppercase}.week-days .today{background:var(--ink);color:var(--bg);border-radius:11px}.week-streak{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:10px;height:6px}.week-streak i{display:block;height:6px}.week-streak i.on{background:#ff8a4c;border-radius:3px}.week-streak i.join-r{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-10px}.week-streak i.join-l{border-top-left-radius:0;border-bottom-left-radius:0}.week-streak i.miss{width:6px;justify-self:center;border-radius:50%;background:#d0d4db}.week-caption{margin:12px 0 0;display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;flex-wrap:wrap}.week-caption .flame{width:20px;height:20px}.week-caption span{font-weight:500;color:var(--muted)}.banner{background:var(--surface);border-radius:18px;padding:12px 16px;margin:12px 0 0;font-size:15px;font-weight:600}.foot-note{margin-top:24px}.onb{--sheet-h: calc(194px + env(safe-area-inset-bottom)) ;--fixed: calc(var(--sheet-h) + 156px);--card-h: clamp(176px, max(min(calc(100dvh - var(--fixed) - 178px), 248px), calc(100dvh - var(--fixed) - 250px)), 340px);--option-h: clamp(72px, calc((100dvh - var(--fixed) - var(--card-h) - 10px) / 2), 120px);--answers-h: calc(2 * var(--option-h) + 10px);flex:1 1 auto;display:flex;flex-direction:column}.onb .title{white-space:normal}.onb .card{width:100%}.onb-card{justify-content:center;gap:14px;padding:16px 20px;text-align:center}.onb-card p{margin:0;font-size:16px;font-weight:500;line-height:22px;color:var(--muted)}.onb-figure{display:flex;justify-content:center;gap:8px;--s: min(112px, calc(var(--card-h) * .45))}.onb-figure .onb-blob{gap:6px;--eye: 9px;--gap: 20px}.onb-figure.row-of-3{--s: min(88px, calc(var(--card-h) * .38))}.onb-figure.row-of-3 .onb-blob{gap:4px;--eye: 7px;--gap: 16px}.onb-blob{position:relative;width:var(--s, 128px);height:var(--s, 128px);flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;--eye: 8px;--gap: 18px}.onb-blob [lang=hy]{font-size:calc(var(--s, 128px) * .42);line-height:1}.onb-choices{flex:none;display:flex;flex-direction:column;gap:10px;margin-top:16px}.onb-choices.two{flex-direction:row}.onb-choices .option{flex:none;width:100%;min-width:0;gap:14px;padding-left:20px;padding-right:20px;font-size:18px}.onb-choices.two .option{flex:1 1 0;height:var(--answers-h);gap:8px;padding-left:10px;padding-right:10px}.onb-choices.three .option{height:max(56px,calc((var(--answers-h) - 20px) / 3))}.onb-big{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;min-width:0}.onb-big b{font-size:26px;font-weight:800;letter-spacing:-.01em}.onb-big small{font-size:14px;font-weight:600;color:var(--muted)}.onb-badge{position:relative;width:56px;height:56px;flex:none;display:grid;place-items:center;font-size:22px}.onb-badge+.onb-big{flex:1;align-items:flex-start;gap:0;text-align:left}.onb-badge+.onb-big b{font-size:20px;letter-spacing:0}.onb-badge+.onb-big small{font-weight:500}.onb-bullets{list-style:none;margin:24px 0 0;padding:0 8px;display:flex;flex-direction:column;gap:16px}.onb-bullets li{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;line-height:21px}.onb-dot{position:relative;width:28px;height:28px;flex:none}.onb-note{margin:12px 4px 0;font-size:14px;line-height:20px;color:var(--muted)}.onb-note[hidden]{display:none}.onb-intro{margin:0 0 16px;font-size:16px;font-weight:500;line-height:22px;color:var(--muted)}.onb-actions{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;gap:8px;text-align:center}.onb input:not([type=radio]):not([type=checkbox]){background:var(--surface);height:60px;border-radius:20px;font-weight:600}.onb form{flex:1 1 auto}.onb form .pill{margin-top:auto}.onb form details.row{border-top:0}.row-value{flex:1;min-width:0;margin:0 8px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.onb-welcome{align-items:center;text-align:center}.onb-welcome .brand{margin-top:16px}.onb-hero{--s: clamp(92px, 15dvh, 128px);display:grid;grid-template-columns:repeat(2,var(--s));gap:12px;margin:clamp(16px,3dvh,32px) 0}.onb-welcome h1{font-size:clamp(28px,4.2dvh,34px);line-height:1.18;font-weight:800;letter-spacing:-.03em;text-wrap:balance}.onb-welcome>p{margin:12px 12px 0;font-size:17px;font-weight:500;line-height:24px;color:var(--muted);text-wrap:balance}.onb-welcome .onb-actions{width:100%}.session{--sheet-h: calc(194px + env(safe-area-inset-bottom)) ;--zone: calc(var(--sheet-h) - 84px);--fixed: calc(var(--sheet-h) + 156px);--card-h: clamp(120px, max(min(calc(100dvh - var(--fixed) - 178px), 248px), calc(100dvh - var(--fixed) - 250px)), 340px);--option-h: clamp(72px, calc((100dvh - var(--fixed) - var(--card-h) - 10px) / 2), 120px);--answers-h: calc(2 * var(--option-h) + 10px);--tile-w: min(52px, calc((min(100vw, 560px) - 56px - (var(--tile-n, 5) - 1) * 6px) / var(--tile-n, 5)));--tile-h: min(60px, calc(var(--option-h) - 16px));flex:1 1 auto;min-height:0;display:flex;flex-direction:column}#app:has(>.session){height:100dvh;min-height:0}.session-top{display:flex;align-items:center;gap:12px;height:44px}.bar{flex:1;height:14px;border-radius:7px;background:var(--line);overflow:hidden}.bar-fill{height:100%;border-radius:7px;background:var(--ink);transition:width .4s ease}.card{flex:none;height:var(--card-h);background:var(--surface);border-radius:var(--radius);overflow:hidden;padding:calc(var(--card-h) * .09) 16px 8px;display:flex;flex-direction:column;align-items:center}.visual{flex:none;height:calc(var(--card-h) * .45);width:100%;display:flex;align-items:center;justify-content:center}.visual>button,.visual>.pic,.visual>.character{position:relative;height:100%;aspect-ratio:1 / 1;display:flex;align-items:center;justify-content:center}.visual img{height:100%;width:auto;aspect-ratio:1 / 1;object-fit:contain;display:block;-webkit-user-select:none;user-select:none}.visual .emoji{font-size:min(96px,12dvh);line-height:1}.card-body{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.blob{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.blob~*{position:relative}.speaker .icon-svg{width:38%;height:38%}.character{flex-direction:column;gap:6px;--eye: 9px;--gap: 22px}.character [lang=hy]{font-size:calc(var(--card-h) * .18);line-height:1}.card-label{margin-bottom:4px;text-align:center}.card-label [lang=hy]{color:var(--ink)}.word{display:flex;align-items:flex-end;justify-content:center;--fs: 50px}.card .word{--fs: clamp(30px, calc(var(--card-h) * .2), 50px)}.word.mid,.card .word.mid{--fs: clamp(26px, calc(var(--card-h) * .15), 38px)}.word.long,.card .word.long{--fs: 30px}.cell{display:flex;flex-direction:column;align-items:center}.cell .box{height:calc(var(--fs) * 1.4);border-radius:calc(var(--fs) / 3);display:flex;align-items:center;justify-content:center}.cell .box [lang=hy]{font-size:var(--fs);line-height:1}.cell .tr{font-size:15px;font-weight:600;color:var(--muted);margin-top:2px;min-height:1.45em;transition:opacity .3s}.cell.slot{margin:0 4px}.cell.slot .box{width:var(--fs);border:2.5px dashed var(--ink);background:var(--tint)}.cell.slot.filled .box{border:0;background:var(--c);animation:pop .3s ease-out}.cell.slot .tr{color:var(--ink);font-weight:800}.length-slots{--s: min(42px, calc(var(--card-h) * .17));display:flex;justify-content:center;gap:6px;width:100%;padding:0 16px}.length-slots i{flex:0 1 calc(var(--s) * .714);min-width:0;height:var(--s);border-radius:10px;border:2.5px dashed var(--line)}.no-audio{margin:6px 0 0;font-size:14px;color:var(--muted);text-align:center}@keyframes pop{0%{transform:scale(.6)}70%{transform:scale(1.1)}to{transform:scale(1)}}.dock{flex:1 1 auto;min-height:0;padding-top:16px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px}.dock>*{flex:none}.dock>.zone{flex:0 1 var(--zone);min-height:0;margin-top:-12px}.dock>.zone:last-child{flex-basis:calc(var(--zone) + 80px)}.dock.pairs{padding-top:0}.dock.pairs>.noodles{--pair-h: min(92px, calc((var(--card-h) + 16px + var(--answers-h) - 30px) / 4))}.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.options>.option:first-child:nth-last-child(2),.options>.option:nth-child(2):last-child{height:var(--answers-h, 84px)}.options>.option:nth-child(3):last-child{grid-column:1 / -1}.option{position:relative;height:var(--option-h, 84px);border-radius:26px;background:var(--surface);box-shadow:inset 0 -4px 0 var(--line);font-size:18px;font-weight:600;display:flex;align-items:center;justify-content:center;padding:0 10px 4px;line-height:1.2}.option.letter [lang=hy]{font-size:40px}.option.hy-word [lang=hy]{display:block;max-width:100%;font-size:30px;white-space:nowrap;overflow:hidden}.option.picture{border-radius:28px;padding:0 0 4px}.option.picture img{height:82%;width:auto;max-width:90%;aspect-ratio:1 / 1;object-fit:contain;-webkit-user-select:none;user-select:none}.option.picture{container-type:size}.option.picture .emoji{font-size:55cqmin;line-height:1}.option .kbd{position:absolute;left:10px;top:10px;width:22px;height:22px;border-radius:7px;border:2px solid var(--line);font-size:11px;color:var(--muted);display:grid;place-items:center}@media (hover: none){.option .kbd{display:none}}.option.selected{box-shadow:inset 0 0 0 3px var(--ink),inset 0 -7px 0 var(--line)}.option.right{background:var(--right);box-shadow:inset 0 0 0 3px var(--ink),inset 0 -7px 0 var(--right-edge)}.option.wrong{background:var(--wrong);box-shadow:inset 0 -4px 0 var(--wrong-edge)}.option.wrong>:not(.kbd){text-decoration:line-through;text-decoration-thickness:3px}.session.answered .option:not(.right):not(.wrong){opacity:.45}.session.answered .dock .check{visibility:hidden}.admin{margin-top:12px}.stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.stat-row b{display:block;font-size:20px;font-weight:800}.stat-row small{display:block;font-size:12px;line-height:1.2;color:var(--muted)}.stat-kind{display:flex;align-items:baseline;gap:8px;font-size:15px}.stat-kind span{flex:1;min-width:0}.stat-kind small{width:40px;text-align:right;color:var(--muted)}.admin-card{display:flex;flex-direction:column;gap:10px}.admin-card.hidden{box-shadow:inset 0 0 0 2px var(--wrong)}.admin-head{display:flex;align-items:center;gap:12px}.admin-head b{display:block;font-size:17px;overflow-wrap:anywhere}.admin-head b [lang=hy]{font-size:22px}.admin-head small{display:block;color:var(--muted);font-size:13px;margin-top:2px}.admin-head .round{flex:none;background:var(--bg)}.admin-head small.status{color:var(--ink);font-weight:700}.admin-card.hidden small.status{color:var(--wrong-ink)}.admin-actions{display:flex;flex-wrap:wrap;gap:8px}.chip{flex:none;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--bg)}.pill.danger{color:var(--wrong-ink, #b42318)}.noodles{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:44px}.noodles>svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}.noodles>svg path{fill:none;stroke:var(--ink);stroke-width:3.5;stroke-linecap:round}.noodles>svg path.temp{stroke-dasharray:2 8}.noodles>svg path.right{stroke:#2a9d86}.noodles>svg path.wrong{stroke:var(--wrong-ink)}.pair-col{display:flex;flex-direction:column;gap:10px}.option.pair-item{height:var(--pair-h, 84px);font-size:18px;touch-action:none;user-select:none;-webkit-user-select:none}.option.pair-item [lang=hy]{display:block;max-width:100%;font-size:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.option.pair-item .icon-svg{width:36px;height:36px}.option.pair-item.selected{box-shadow:inset 0 0 0 3px var(--ink),inset 0 -7px 0 var(--line)}.pair-item .dot{position:absolute;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:var(--line)}.pair-item.side-left .dot{right:-6px}.pair-item.side-right .dot{left:-6px}.pair-item.linked .dot,.pair-item.selected .dot{background:var(--ink)}.pair-hy{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;line-height:1.1}.pair-hy small{font-size:13px;color:var(--muted);font-weight:600}.option.pair-item.wrong>:not(.kbd){text-decoration:none}.tl{font-weight:700;letter-spacing:.02em}.word-gap{height:8px}.option.contrast{height:auto;min-height:var(--option-h, 84px);padding:10px 10px 14px}.contrast-word{display:flex;flex-direction:column;align-items:center;gap:4px}.contrast-word img{width:56px;height:56px;object-fit:contain}.contrast-word .emoji{font-size:40px;line-height:1}.build{height:var(--option-h);display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border-radius:26px;background:var(--surface)}.build .drop{flex:none;width:var(--tile-w);height:var(--tile-h);border-radius:16px;border:2.5px dashed var(--line);display:grid;place-items:center}.build .drop .tile{margin:-2.5px}.build.line .drop.end{width:12px;border-color:transparent}.build .fixed{flex:none;height:var(--tile-h);padding:0 2px;display:grid;place-items:center}.build .fixed+.fixed{margin-left:-6px}.build .fixed [lang=hy]{font-size:min(30px,calc(var(--tile-w) * .62));line-height:1}.sentence{margin:0;font:800 clamp(22px,calc(var(--card-h) * .145),36px)/1.2 var(--font-hy);text-align:center}.sentence.gapped{display:flex;align-items:center;justify-content:safe center;gap:8px;width:100%;padding:0 8px;white-space:nowrap;font-size:clamp(20px,calc(var(--card-h) * .12),30px);line-height:1}.sentence-gap{display:block;width:3em;height:1.8em;border-radius:16px;border:2.5px dashed var(--ink);background:#fff7dd}.sentence-fill{display:inline-flex;align-items:center;height:1.8em;padding:0 .4em;border-radius:16px;background:#f7d35c}.sentence-tr{margin-top:4px;font-size:16px;font-weight:600;color:var(--muted);text-align:center}.word-tile{flex:none;height:var(--tile-h);padding:0 calc(14px * var(--word-k, 1)) 4px;border-radius:16px;background:var(--surface);box-shadow:inset 0 -4px 0 var(--line);display:grid;place-items:center;cursor:pointer}.word-tile [lang=hy]{font-size:calc(24px * var(--word-k, 1));line-height:1;white-space:nowrap}.word-slot{flex:none;display:block;height:var(--tile-h);border-radius:16px;border:2.5px dashed var(--line)}.word-tile.ghost{background:var(--soft);box-shadow:none;opacity:.5}.word-tile.ghost [lang=hy]{visibility:hidden}.build .word-tile.right{background:var(--right);box-shadow:inset 0 -4px 0 var(--right-edge)}.build .word-tile.wrong{background:var(--wrong);box-shadow:inset 0 -4px 0 var(--wrong-edge)}.build-answer .word{height:auto;margin-top:0;--fs: 34px}.tiles{height:var(--option-h);margin-top:-2px;display:flex;align-items:center;justify-content:center;gap:6px}.tile{flex:none;width:var(--tile-w, 52px);height:var(--tile-h, 60px);border-radius:16px;background:var(--surface);box-shadow:inset 0 -4px 0 var(--line);display:grid;place-items:center;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;padding:0 0 4px}.tile [lang=hy]{font-size:min(30px,calc(var(--tile-w, 52px) * .62));line-height:1}.build .tile,.build .word-tile{background:var(--bg);box-shadow:inset 0 -4px 0 var(--placed-edge)}.tile.ghost{background:var(--soft);box-shadow:none;opacity:.5}.tile.ghost [lang=hy]{visibility:hidden}.tile.dragging{opacity:.3}.build .tile.right,.tile.right{background:var(--right);box-shadow:inset 0 -4px 0 var(--right-edge)}.build .tile.wrong,.tile.wrong{background:var(--wrong);box-shadow:inset 0 -4px 0 var(--wrong-edge)}.session.answered .tile{cursor:default}.drag-ghost{position:fixed;z-index:50;pointer-events:none;transform:translate(-50%,-50%) scale(1.08);box-shadow:0 8px 20px #0000002e}@keyframes shake{25%{transform:translate(-6px)}75%{transform:translate(6px)}}.option.picture.intro{gap:10px;padding:0 12px 4px}.option.picture.intro.right{justify-content:flex-start;padding:0 10px 4px 8px}.option.picture.intro.right img{width:48px;height:48px;max-width:none;flex:none}.option.picture.intro.right .emoji{width:48px;font-size:34px;text-align:center;flex:none}.intro-caption{min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;text-align:left}.intro-caption{width:100%}.intro-caption>*{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.intro-caption [lang=hy]{font-size:20px}.intro-caption small{font-size:13px;color:var(--muted);font-weight:600}.option.picture.intro:disabled{opacity:1}.option.picture.intro.wrong{animation:shake .35s}.sheet{position:fixed;left:0;right:0;bottom:0;max-width:560px;margin:0 auto;height:var(--sheet-h);display:flex;flex-direction:column;border-radius:36px 36px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));animation:rise .22s ease-out;z-index:5}.sheet.ok{background:var(--right)}.sheet.bad{background:var(--wrong)}.sheet.neutral{background:var(--surface);box-shadow:0 -6px 24px #16171a14}.sheet-msg{flex:none;height:68px;display:flex;align-items:center;gap:14px}.sheet-msg svg{width:56px;height:56px;flex:none}.sheet-msg strong{display:block;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.1}.sheet-msg p{margin:2px 0 0;font-size:15px;font-weight:500;line-height:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.sheet .pill{margin-top:auto}@keyframes rise{0%{transform:translateY(100%)}to{transform:none}}.earned-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6;background:var(--c);overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:max(48px,8dvh) 20px calc(20px + env(safe-area-inset-bottom))}.earned-screen>*{max-width:520px}.earned-screen .kicker{color:var(--ink)}.earned-tile{margin-top:24px;width:min(200px,26dvh);height:min(200px,26dvh);border-radius:32%;background:var(--ink);color:var(--c);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;transform:rotate(-4deg);animation:pop .5s ease-out;--eye: 16px;--gap: 40px}.earned-tile [lang=hy]{font-size:min(96px,12dvh);line-height:1}.earned-screen h1{margin:28px 0 6px;font-size:34px;font-weight:800;letter-spacing:-.03em;text-align:center}.earned-text{margin:0;font-size:16px;font-weight:500;text-align:center;max-width:300px}.earned-row{margin:24px 0;display:flex;gap:10px;width:100%}.earned-play{flex:none;width:64px;height:64px;border-radius:22px;background:var(--surface);display:flex;align-items:center;justify-content:center}.earned-play .icon-svg{width:26px;height:26px}.earned-row .met-chip{flex:1}.earned-screen .pill{margin-top:auto;width:100%}.done{flex:1;min-height:0;display:flex;flex-direction:column;padding:clamp(4px,2dvh,16px) 0 env(safe-area-inset-bottom);--tile: clamp(56px, 9dvh, 96px)}.poster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(var(--tile) / 8);width:calc(3 * var(--tile) + var(--tile) / 4);max-width:100%;margin:0 auto}.shape{position:relative;height:var(--tile);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;--eye: 7px;--gap: 12px;animation:tile-pop .26s ease-out both}.shape [lang=hy]{font-size:calc(var(--tile) * .4);line-height:1.1}@keyframes tile-pop{0%{transform:scale(.3);opacity:0}40%{transform:scale(1.12);opacity:1}to{transform:scale(1)}}.shape.missed{color:var(--muted)}.test-note{margin:8px 0 0;font-size:16px;color:var(--muted);text-align:center}.done h1{margin:clamp(12px,3dvh,40px) 0 0;font-size:32px;font-weight:800;letter-spacing:-.02em;text-align:center}.score-line{display:flex;align-items:baseline;justify-content:center;gap:8px;margin-top:clamp(0px,1dvh,10px)}.score-line b{font-size:44px;font-weight:800;letter-spacing:-.03em}.score-line b small{font-size:24px;color:var(--muted)}.score-line span{font-size:16px;font-weight:600;color:var(--muted)}.xp-gain{align-self:center;margin:10px 0 0;height:32px;padding:0 14px;border-radius:16px;background:var(--ink);color:#f7d35c;display:inline-flex;align-items:center;font-size:15px;font-weight:800;text-box:trim-both cap alphabetic}.met{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:clamp(10px,2.5dvh,20px) 0 clamp(12px,3dvh,24px)}.met-chip{display:flex;align-items:center;gap:10px;background:var(--surface);border-radius:22px;padding:8px 12px 8px 8px;min-width:0}.met-chip img,.met-chip .emoji{width:48px;height:48px;object-fit:contain;font-size:34px;line-height:48px;text-align:center;flex:none}.met-chip [lang=hy]{display:block;font-size:20px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.met-chip small{display:block;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.done{--sheet-h: calc(194px + env(safe-area-inset-bottom)) ;--zone: calc(var(--sheet-h) - 84px)}#app:has(>.done){height:100dvh;min-height:0}.done>*{flex-shrink:0}.done .grow{flex:1 0 16px}.done .met{margin:0}.done .zone{flex:0 1 var(--zone);min-height:16px}.panel{background:var(--surface);border-radius:28px;padding:16px;margin-top:12px}.panel>.kicker{margin:2px 4px 12px}.seg{display:flex;gap:4px;padding:4px;border-radius:20px;background:var(--bg)}.seg button{flex:1;height:48px;border-radius:16px;font-size:16px;font-weight:600;color:var(--muted)}.seg button span{font-weight:500}.tight .seg button{min-width:0;padding:0 2px;font-size:14px}.seg button[aria-checked=true]{background:var(--surface);color:var(--ink);font-weight:700;box-shadow:inset 0 0 0 2px var(--ink)}.who{display:flex;align-items:center;gap:12px;padding:0 4px 12px}.who .avatar,.admin-head .avatar{width:44px;height:44px;border-radius:16px;background:#c6b0f7;display:flex;align-items:center;justify-content:center;--eye: 5px;--gap: 10px}.who small{display:block;font-size:13px;color:var(--muted)}.who b{font-size:17px}.row-btn{width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px;font-size:17px;font-weight:600;border-top:1px solid var(--soft);text-align:left}.row-btn.danger{color:var(--wrong-ink);border-top:0}.row-btn .icon-svg{color:var(--muted)}details.row{display:block;border-top:1px solid var(--soft)}details.row>summary{list-style:none;min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;font-size:17px;font-weight:600;cursor:pointer}details.row>summary::-webkit-details-marker{display:none}details.row[open]>summary .icon-svg{transform:rotate(90deg)}details.row>form,details.row>.row-body{padding:0 4px 16px}details.row:first-child{border-top:0}details.row.danger>summary{color:var(--wrong-ink)}.row-btn.danger+details.row{border-top:1px solid var(--soft)}.privacy-text p{margin:0 0 10px;font-size:15px;line-height:1.45;color:var(--muted)}.privacy-text p:last-child{margin-bottom:0}.version-note{margin-top:8px}.inbox-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.inbox-stack{margin:0;font-size:12px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.admin-card small{overflow-wrap:anywhere}.stack{display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700}.field small{font-weight:500;color:var(--muted)}input:not([type=radio]):not([type=checkbox]),select{font:inherit;font-size:17px;color:inherit;height:52px;border:0;border-radius:16px;background:var(--bg);padding:0 16px;width:100%;outline:none}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:inset 0 0 0 2px var(--ink)}textarea{font:inherit;font-size:17px;color:inherit;min-height:120px;border:0;border-radius:16px;background:var(--bg);padding:14px 16px;width:100%;outline:none;resize:vertical}.form-error{color:var(--wrong-ink);font-weight:600;font-size:15px;margin:0}.form-error:empty{display:none}.row{display:flex;gap:8px}.row>input{flex:1;min-width:0}.invites{list-style:none;margin:12px 0 0;padding:0;font-size:14px}.invites li{display:flex;justify-content:space-between;gap:12px;padding:8px 4px;border-top:1px solid var(--soft)}.auth{flex:1;display:flex;flex-direction:column}.auth-hero{display:flex;justify-content:center;gap:10px;margin-top:36px;height:100px}.auth-hero div{width:70px;height:78px;border-radius:24px;background:var(--c);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;--eye: 5px;--gap: 10px}.auth-hero [lang=hy]{font-size:36px;line-height:1.1}.auth-tagline{margin:16px 0 24px;text-align:center;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.2}.auth-card{margin-top:auto;background:var(--surface);border-radius:var(--radius);padding:22px 20px 20px}.auth-card h1{font-size:24px;font-weight:800;margin-bottom:14px}.auth-card p{margin:0 0 14px}.auth-card .note{margin:14px 0 0;text-align:center}.report-sheet{border:0;padding:12px 20px calc(24px + env(safe-area-inset-bottom));margin:auto auto 0;width:100%;max-width:560px;border-radius:36px 36px 0 0;background:var(--surface);color:var(--ink);animation:rise .22s ease-out}.report-sheet::backdrop{background:#16171a73}.handle{width:40px;height:5px;border-radius:3px;background:#d0d4db;margin:0 auto 18px}.report-sheet h2{font-size:24px;font-weight:800}.report-sheet .word-line{margin:4px 0 16px;font-size:15px;color:var(--muted)}.report-sheet .word-line [lang=hy]{color:var(--ink)}.reason{width:100%;height:60px;border-radius:22px;background:var(--bg);display:flex;align-items:center;gap:12px;padding:0 18px;font-size:17px;font-weight:600;text-align:left}.reason .icon-svg{width:22px;height:22px}.report-sheet .pill{margin-top:16px}.report-sheet{max-height:92dvh;overflow-y:auto}.report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.round.plain{background:transparent}.report-hint{margin:0 0 14px;font-size:15px;color:var(--muted)}.report-hint.small{margin:8px 0 0;font-size:13px}.reason-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reason-chip{min-height:52px;padding:8px 10px;border-radius:16px;background:var(--bg);border:1.5px solid var(--line);font-size:15px;font-weight:600;line-height:1.2}.reason-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.report-label{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:15px;font-weight:700}.report-note{font:16px/1.4 var(--font);color:var(--ink);background:var(--surface);border:1.5px solid var(--line);border-radius:16px;padding:12px 14px;resize:vertical;min-height:84px}.report-shots{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.report-shots:empty{display:none}.report-shot{position:relative;width:76px;height:76px}.report-shot img{width:100%;height:100%;object-fit:cover;border-radius:14px}.report-shot button{position:absolute;top:-6px;right:-6px;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--bg);display:flex;align-items:center;justify-content:center}.report-shot .icon-svg{width:14px;height:14px}.report-add{width:100%;height:52px;margin-top:8px;border-radius:16px;background:var(--surface);border:1.5px dashed #c9cdd4;font-size:15px;font-weight:600}.admin-note{margin-top:10px;padding:10px 12px;border-radius:14px;background:var(--bg)}.admin-note p{margin:4px 0 0;font-size:15px}.admin-shots{display:flex;gap:6px;margin-top:8px}.admin-shots img{width:64px;height:64px;object-fit:cover;border-radius:10px;display:block}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);background:var(--ink);color:var(--bg);font-weight:600;padding:12px 20px;border-radius:999px;max-width:calc(100vw - 32px);z-index:10}@media (max-height: 700px){#app{padding:12px 16px 14px}.round{width:38px;height:38px}.session-top{height:38px}.title{font-size:22px;margin:8px 0}.card{padding:14px 12px 12px}.card-label{margin-top:8px}.word,.card.compact .word{--fs: 38px;height:76px}.word.long{--fs: 28px}.session{--sheet-h: calc(170px + env(safe-area-inset-bottom)) ;--zone: calc(var(--sheet-h) - 66px);--fixed: calc(var(--sheet-h) + 130px)}.dock>.zone:last-child{flex-basis:calc(var(--zone) + 68px)}.done{--sheet-h: calc(170px + env(safe-area-inset-bottom)) ;--zone: calc(var(--sheet-h) - 66px)}.option{border-radius:22px}.option.letter [lang=hy]{font-size:32px}.option.hy-word [lang=hy]{font-size:26px}.pill{height:56px;border-radius:28px}.sheet{padding:16px 16px calc(14px + env(safe-area-inset-bottom))}.sheet-msg{margin-bottom:12px}.sheet-msg svg{width:48px;height:48px}.sheet-msg strong{font-size:22px}.done h1{font-size:28px}.score-line b{font-size:36px}.score-line b small{font-size:22px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.auth-link{display:block;margin:0 auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:4px 0;font:inherit;font-size:15px;font-weight:500;color:inherit;text-decoration:underline;cursor:pointer}.note.auth-intro{text-align:left;margin:0 0 16px}
